]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
HPPA: Use <bits/fcntl-linux.h>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e2211bed
DM
12012-10-25 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5 of strtoull.
6
f303f97c
DM
7 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8 ifunc-impl-list.c
9 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12 file.
13
1e9d84cd
RM
142012-10-25 Roland McGrath <roland@hack.frob.com>
15
16 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18 __getdirentries.
19
df381762
JM
202012-10-25 Joseph Myers <joseph@codesourcery.com>
21 Jim Blandy <jimb@codesourcery.com>
22
23 * scripts/cross-test-ssh.sh: New file.
24 * manual/install.texi (Configuring and compiling): Document use of
25 cross-test-ssh.sh.
26 * INSTALL: Regenerated.
27
bff64913
PT
282012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29
30 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31 EOPNOTSUPP.
32
25fe8932
JM
332012-10-25 Joseph Myers <joseph@codesourcery.com>
34
35 * Makeconfig (run-program-prefix): Fix comment.
36
cc1290d0
JM
372012-10-24 Joseph Myers <joseph@codesourcery.com>
38 Jim Blandy <jimb@codesourcery.com>
39
40 * Makeconfig (test-wrapper): New variable,
41 (test-wrapper-env): Likewise.
42 [$(cross-compiling) = yes && $(test-wrapper) != ""]
43 (run-built-tests): Define to yes.
44 (run-program-prefix): Use $(test-wrapper).
45 (built-program-cmd): Likewise.
46 * Rules (make-test-out): Use $(test-wrapper-env) and
47 $(host-built-program-cmd).
48 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50 tst-pathopt.sh.
51 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52 $(test-wrapper-env) to tst-rtld-load-self.sh.
53 ($(objpfx)order2.out): Use $(test-wrapper).
54 ($(objpfx)tst-initorder.out): Likewise.
55 ($(objpfx)tst-initorder2.out): Likewise.
56 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58 (test_wrapper_env): New variable. Use it to run ld.so.
59 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60 Use it to run ld.so.
61 (test_wrapper_env): Likewise.
62 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
63 $(test-wrapper) to run-iconv-test.sh.
64 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65 (ICONV): Use $test_wrapper.
66 * posix/Makefile ($(objpfx)globtest.out): Pass
67 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68 globtest.sh, not $(run-program-prefix).
69 * posix/globtest.sh (run_via_rtld_prefix): New variable.
70 (test_wrapper): Likewise.
71 (test_wrapper_env): Likewise. Use it to run globtest with HOME
72 set together with run_via_rtld_prefix.
73 (run_program_prefix): Define in terms of test_wrapper and
74 run_via_rtld_prefix.
75
6e6249d0
RM
762012-10-24 Roland McGrath <roland@hack.frob.com>
77
78 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
79 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
80 Targets removed.
81
82 [BZ #14743]
83 * include/time.h: Remove librt_hidden_proto (clock_gettime).
84 Declare __clock_getres, __clock_gettime, __clock_settime,
85 __clock_nanosleep, and __clock_getcpuclockid.
86 * rt/clock_gettime.c: Define __clock_gettime as an alias.
87 Remove librt_hidden_def (clock_gettime).
88 * sysdeps/unix/clock_gettime.c: Likewise.
89 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
90 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
91 * rt/clock_getres.c: Define __clock_getres as an alias.
92 * sysdeps/posix/clock_getres.c: Likewise.
93 * rt/clock_settime.c: Define __clock_settime as an alias.
94 * sysdeps/unix/clock_settime.c: Likewise.
95 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
96 * sysdeps/unix/clock_nanosleep.c: Likewise.
97 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
98 * rt/clock-compat.c: New file.
99 * rt/Makefile (librt-routines): Add clock-compat and move
100 $(clock-routines) to ...
101 (routines): ... here, new variable.
102 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
103 Don't add get_clockfreq here.
104 * rt/Versions (libc: GLIBC_2.17): New version set.
105 Add clock_* symbols here.
106 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
107 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
108 (GLIBC_2.17): Add clock_* symbols.
109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
113 Likewise.
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
115 Likewise.
116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
120 * NEWS: Mention the move.
121
122 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
123 Use __open, __read, __close rather than their public counterparts.
124 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
125 (__get_clockfreq_via_cpuinfo): Likewise.
126 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
127 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
128
129 * config.h.in (HAVE_IFUNC): New #undef.
130 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
131 was successful.
132 * configure: Regenerated.
133
0cae3f4b
MF
1342012-10-24 Mike Frysinger <vapier@gentoo.org>
135
136 * configure.in: Move READELF check to start of file.
137 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
138 libc_cv_asm_gnu_indirect_function in the process.
139 * configure: Regenerated.
140
8175a253
MF
1412012-10-24 Mike Frysinger <vapier@gentoo.org>
142
143 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
144 send the output to /dev/null.
145 (libc_cv_cc_with_libunwind): Likewise.
146 (libc_cv_as_noexecstack): Likewise.
147 * configure: Regenerate.
148
0708a7d1
JM
1492012-10-24 Joseph Myers <joseph@codesourcery.com>
150
10b40d85
JM
151 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
152
0708a7d1
JM
153 * posix/globtest.sh (TMPDIR): Do not set.
154 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
155 (testout): Likewise.
156
9fddec1a
AJ
1572012-10-24 Andreas Jaeger <aj@suse.de>
158
3a8db22f
AJ
159 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
160 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
161 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
162 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
163 posix_fadvise64, posix_fallocate64.
164
9fddec1a
AJ
165 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
166 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
167 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
168 Likewise.
169 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
170 Likewise.
171 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
172
173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
174 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
175 <bits/fcntl-linux.h>.
176 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
177
178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
179 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
180 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
181 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
182 [__WORDSIZE != 64]: Likewise.
183
ebfd1bbd
JM
1842012-10-23 Joseph Myers <joseph@codesourcery.com>
185
03ac099f
JM
186 * Makeconfig (run-built-tests): New variable.
187 * Rules [$(cross-compiling) = yes]: Change condition to
188 [$(run-built-tests) = no].
189 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
190 to [$(run-built-tests) = yes].
191 * elf/Makefile [$(cross-compiling) = no]: Likewise
192 * grp/Makefile [$(cross-compiling) = no]: Likewise.
193 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
194 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
195 * intl/Makefile [$(cross-compiling) = no]: Likewise.
196 * io/Makefile [$(cross-compiling) = no]: Likewise.
197 * libio/Makefile [$(cross-compiling) = no]: Likewise.
198 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
199 * misc/Makefile [$(cross-compiling) = no]: Likewise.
200 * posix/Makefile [$(cross-compiling) = no]: Likewise.
201 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
202 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
203 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
204 * string/Makefile [$(cross-compiling) = no]: Likewise.
205
ebfd1bbd
JM
206 * posix/Makefile ($(objpfx)globtest.out): Pass
207 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
208 $(rtld-installed-name).
209 * posix/globtest.sh (elf_objpfx): Remove variable.
210 (rtld_installed_name): Likewise.
211 (library_path): Likewise.
212 (run_program_prefix): New variable. Use for running globtest
213 binary.
214
166bca24
JB
2152012-10-23 Jim Blandy <jimb@codesourcery.com>
216 Joseph Myers <joseph@codesourcery.com>
217
218 * Makeconfig (host-built-program-cmd): New variable.
219 * elf/Makefile (tst-stackguard1-ARGS): Use
220 $(host-built-program-cmd).
221 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
222 (tst-spawn-ARGS): Likewise.
223 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
224
88866099
JM
2252012-10-23 Joseph Myers <joseph@codesourcery.com>
226 Jim Blandy <jimb@codesourcery.com>
227
228 * Makeconfig (run-via-rtld-prefix): New variable.
229 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
230 (built-program-cmd): Likewise.
231
b4b4c296
AJ
2322012-10-22 Andreas Jaeger <aj@suse.de>
233
234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
235 __O_RSYNC if it exists, otherwise to O_SYNC.
236
6fb54a22
JB
2372012-10-22 Jim Blandy <jimb@codesourcery.com>
238 Joseph Myers <joseph@codesourcery.com>
239
240 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
241 /dev/null.
242 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
243 from /dev/null
244 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
245 /dev/null.
246
481b90b9
AJ
2472012-10-22 Andreas Jaeger <aj@suse.de>
248
2a0e2669
AJ
249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
250 Define always.
251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
252
76e38f9a
AJ
253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
254 bits/fcntl-linux.h.
255
7cd37b43
AJ
256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
257 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
258
481b90b9
AJ
259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
260 to __O_LARGEFILE.
261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
262 to __O_LARGEFILE.
263
aba75984
JB
2642012-10-21 Jim Blandy <jimb@codesourcery.com>
265 Joseph Myers <joseph@codesourcery.com>
266
267 * config.make.in (NM): New variable.
268
88d4247f
AJ
2692012-10-21 Andreas Jaeger <aj@suse.de>
270
271 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
272 definitions and declarations that are provided by
273 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
274
f2eed205
L
2752012-10-20 H.J. Lu <hongjiu.lu@intel.com>
276
277 [BZ #14683]
278 * elf/Makefile (tests-static): Add tst-leaks1-static.
279 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
280 ($(objpfx)tst-leaks1-static): New rule.
281 ($(objpfx)tst-leaks1-static-mem): Likewise.
282 (tst-leaks1-static-ENV): New macro.
283 * elf/dl-open.c (dl_open_worker): Check the main application
284 only if SHARED is defined.
285 * elf/tst-leaks1-static.c: New file.
286
335e6931
AJ
2872012-10-20 Andreas Jaeger <aj@suse.de>
288
289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
290 generic values for Linux.
291 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
292 and declarations that are provided by <bits/fcntl-linux.h> and
293 include <bits/fcntl-linux.h>.
294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
296
ac5c94d3
RM
2972012-10-20 Roland McGrath <roland@hack.frob.com>
298
299 * io/fcntl.h: Move include of <bits/types.h> to the top and
300 include it unconditionally.
301
de54b33a
L
3022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
303
228cfb01
L
304 * wcsmbs/Makefile (tests-ifunc): New variable.
305 (tests): Add $(tests-ifunc).
306 * wcsmbs/test-wcschr-ifunc.c: New file.
307 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
308 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
309 * wcsmbs/test-wcslen-ifunc.c: Likewise.
310 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
311 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
312
69f07e5f
L
313 * string/Makefile (tests-ifunc): New variable.
314 (tests): Add $(tests-ifunc).
315 * string/test-memccpy.c (TEST_NAME): New macro.
316 * string/test-memchr.c (TEST_NAME): Likewise.
317 * string/test-memcmp.c (TEST_NAME): Likewise.
318 * string/test-memcpy.c (TEST_NAME): Likewise.
319 * string/test-memmem.c (TEST_NAME): Likewise.
320 * string/test-memmove.c (TEST_NAME): Likewise.
321 * string/test-memset.c (TEST_NAME): Likewise.
322 * string/test-rawmemchr.c (TEST_NAME): Likewise.
323 * string/test-stpcpy.c (TEST_NAME): Likewise.
324 * string/test-stpncpy.c (TEST_NAME): Likewise.
325 * string/test-strcasecmp.c (TEST_NAME): Likewise.
326 * string/test-strcasestr.c (TEST_NAME): Likewise.
327 * string/test-strcat.c (TEST_NAME): Likewise.
328 * string/test-strchr.c (TEST_NAME): Likewise.
329 * string/test-strcmp.c(TEST_NAME): Likewise.
330 * string/test-strcpy.c (TEST_NAME): Likewise.
331 * string/test-strcspn.c (TEST_NAME): Likewise.
332 * string/test-strlen.c (TEST_NAME): Likewise.
333 * string/test-strncasecmp.c (TEST_NAME): Likewise.
334 * string/test-strncmp.c (TEST_NAME): Likewise.
335 * string/test-strncpy.c (TEST_NAME): Likewise.
336 * string/test-strnlen.c (TEST_NAME): Likewise.
337 * string/test-strpbrk.c (TEST_NAME): Likewise.
338 * string/test-strrchr.c (TEST_NAME): Likewise.
339 * string/test-strspn.c (TEST_NAME): Likewise.
340 * string/test-strstr.c (TEST_NAME): Likewise.
341 * string/test-bcopy-ifunc.c: New file.
342 * string/test-bzero-ifunc.c: Likewise.
343 * string/test-memccpy-ifunc.c: Likewise.
344 * string/test-memchr-ifunc.c: Likewise.
345 * string/test-memcmp-ifunc.c: Likewise.
346 * string/test-memcpy-ifunc.c: Likewise.
347 * string/test-memmem-ifunc.c: Likewise.
348 * string/test-memmove-ifunc.c: Likewise.
349 * string/test-mempcpy-ifunc.c: Likewise.
350 * string/test-memset-ifunc.c: Likewise.
351 * string/test-rawmemchr-ifunc.c: Likewise.
352 * string/test-stpcpy-ifunc.c: Likewise.
353 * string/test-stpncpy-ifunc.c: Likewise.
354 * string/test-strcasecmp-ifunc.c: Likewise.
355 * string/test-strcasestr-ifunc.c: Likewise.
356 * string/test-strcat-ifunc.c: Likewise.
357 * string/test-strchr-ifunc.c: Likewise.
358 * string/test-strchrnul-ifunc.c: Likewise.
359 * string/test-strcmp-ifunc.c: Likewise.
360 * string/test-strcpy-ifunc.c: Likewise.
361 * string/test-strcspn-ifunc.c: Likewise.
362 * string/test-strlen-ifunc.c: Likewise.
363 * string/test-strncasecmp-ifunc.c: Likewise.
364 * string/test-strncat-ifunc.c: Likewise.
365 * string/test-strncmp-ifunc.c: Likewise.
366 * string/test-strncpy-ifunc.c: Likewise.
367 * string/test-strnlen-ifunc.c: Likewise.
368 * string/test-strpbrk-ifunc.c: Likewise.
369 * string/test-strrchr-ifunc.c: Likewise.
370 * string/test-strspn-ifunc.c: Likewise.
371 * string/test-strstr-ifunc.c: Likewise.
372
de54b33a
L
373 * debug/Makefile (tests-ifunc): New variable.
374 (tests): Add $(tests-ifunc).
375 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
376 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
377 * debug/test-stpcpy_chk-ifunc.c: New file.
378 * debug/test-strcpy_chk-ifunc.c: Likewise.
379
88481c16
SP
3802012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
381
382 [BZ #13601]
383 * elf/dl-load.c (open_verify): Retry read if the entire ELF
384 header is not read in.
385
135948bd
JM
3862012-10-19 Joseph Myers <joseph@codesourcery.com>
387
89f1c388
JM
388 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
389 script to $(SHELL) as $<. Pass $(common-objpfx) to script
390 directly. Pass built executable to script as
391 $(built-program-cmd).
392 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
393 $testprogram without using LD_LIBRARY_PATH and $ldso.
394
e40a0d21
JM
395 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
396 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
397 $(rtld-installed-name).
398 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
399 (rtld_installed_name): Likewise.
400 (library_path): Likewise.
401 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
402 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
403 $(run-program-prefix) to tst-tables.sh.
404 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
405 it to run tst-table-from and tst-table-to.
406 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
407 Pass it to tst-table.sh.
408 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
409 $(run-program-prefix) to tst-gettext.sh.
410 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
411 tst-translit.sh.
412 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
413 tst-gettext2.sh.
414 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
415 to run tst-gettext.
416 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
417 to run tst-gettext2.
418 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
419 to run tst-translit.
420 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
421 $(run-program-prefix) to tst-mtrace.sh.
422 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
423 to run tst-mtrace.
424 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
425 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
426 $(rtld-installed-name).
427 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
428 (rtld_installed_name): Likewise.
429 (run_program_prefix): New variable. Use it to run wordexp-test.
430
728e272a
JM
431 * Makeconfig (ARCH): Remove all definitions.
432 (machine): Likewise.
433 [ARCH]: Remove conditional code.
434 [!objdir]: Give error.
435 [!objdir] (objpfx): Remove.
436 [!objdir] (common-objpfx): Likewise.
437 [!objdir] (common-objdir): Likewise.
438 * configure.in (config_makefile): Remove. Hardcode Makefile in
439 AC_CONFIG_FILES call.
440 * configure: Regenerated.
441
d528cdcf
JM
442 [BZ #13888]
443 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
444 or TMPDIR.
445 (testout): Likewise.
446
135948bd
JM
447 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
448 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
449 $(rtld-installed-name).
450 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
451 (rtld_installed_name): Likwise.
452 (runit): Remove function.
453 (run_getconf): New variable, Use it for running getconf binary.
454
38c78296
L
4552012-10-18 H.J. Lu <hongjiu.lu@intel.com>
456
457 [BZ #14716]
458 * string/test-memmem.c (check_result): New function.
459 (do_one_test): Use it.
460 (check1): New function.
461 (test_main): Use it.
462
d077f65f
MT
4632012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
464
465 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
466
ced52c71
JM
4672012-10-18 Joseph Myers <joseph@codesourcery.com>
468
469 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
470 (_G_LSEEK64): Likewise.
471 (_G_MMAP64): Likewise.
472 (_G_FSTAT64): Likewise.
473 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
474 (_G_LSEEK64): Likewise.
475 (_G_MMAP64): Likewise.
476 (_G_FSTAT64): Likewise.
477 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
478 unconditional. Call __mmap64 directly.
479 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
480 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
481 __lseek64 directly.
482 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
483 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
484 __mmap64 directly.
485 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
486 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
487 __lseek64 directly.
488 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
489 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
490 __lseek64 directly.
491 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
492 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
493 __lseek64 directly.
494 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
495 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
496 __fxstat64 directly.
497 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
498 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
499 unconditional.
500 (freopen64) [!_G_OPEN64]: Remove conditional code.
501 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
502 unconditional.
503 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
504 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
505 unconditional.
506 (ftello64) [!_G_LSEEK64]: Remove conditional code.
507 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
508 unconditional.
509 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
510 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
511 unconditional.
512 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
513 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
514 unconditional.
515 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
516 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
517 unconditional.
518 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
519 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
520 unconditional.
521 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
522
b741de23
SP
5232012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
524
525 [BZ #12140]
526 * manual/memory.texi (Malloc Tunable Parameters): Add note
527 about free list pointers overwriting some perturb bytes.
528 Wording suggested by Roland McGrath.
529
f9b9d9c9
JM
5302012-10-17 Joseph Myers <joseph@codesourcery.com>
531
532 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
533 (lgamma_test): Likewise.
534 (tgamma_test): Likewise.
535
172a631a
FW
5362012-10-16 Florian Weimer <fweimer@redhat.com>
537
538 [BZ #14700]
539 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
540 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
541
e9f37252
MK
5422012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
543
544 * NEWS: Mention BZ #14716.
545 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
546 when removing AVAILABLE1_USES_J macro.
547
d394eb74
L
5482012-10-12 H.J. Lu <hongjiu.lu@intel.com>
549
550 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
551 (__bswap_64): __uint64_t for unsigned 64-bit int.
552
ca38dc17
AS
5532012-10-12 Andreas Schwab <schwab@linux-m68k.org>
554
555 * include/string.h (memmem): Declare libc hidden alias.
556 * string/memmem.c (memmem): Define libc hidden alias.
557 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
558 __read, __close instead of open, read, close.
559
9a387d1f
L
5602012-10-11 H.J. Lu <hongjiu.lu@intel.com>
561
ac49ecaf
L
562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
563 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
564 global and hidden.
565 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
566 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
567 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
568 Likewise.
569 (__rawmemchr_sse2): Likewise.
570 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
571 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
572 (__strchr_sse2): Likewise.
573 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
574 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
575 (__strcasecmp_sse2): Likewise.
576 (__strncasecmp_sse2): Likewise.
577 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
578 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
579 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
580 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
581 (__strrchr_sse2): Likewise.
582 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
583 ifunc-impl-list.c.
584 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
585 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
586 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
587 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
588 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
589 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
590 * sysdeps/x86_64/multiarch/memset.S: Likewise.
591 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
592 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
593 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
594 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
595 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
596 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
597 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
598 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
599 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
600 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
601 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
602 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
603 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
604 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
605 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
606 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
607 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
608 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
609 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
610 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
611 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
612 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
613 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
614
b090e8ea
L
615 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
616 global and hidden.
617 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
618 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
619 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
620 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
621 Likewise.
622 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
623 Likewise.
624 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
625 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
626 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
627 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
628 ifunc-impl-list.c.
629 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
630 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
631 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
632 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
633 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
634 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
635 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
636 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
637 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
638 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
639 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
640 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
641 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
642 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
643 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
644 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
645 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
646 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
647 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
648 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
649 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
650 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
651 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
652 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
653 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
654 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
655 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
656 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
657 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
658 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
659 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
660 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
661 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
662 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
663 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
664 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
665 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
666 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
667 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
668 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
669 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
670
11dd4af6
L
671 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
672 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
673 * include/ifunc-impl-list.h: New file.
674 * misc/ifunc-impl-list.c: Likewise.
675 * misc/Makefile (routines): Add ifunc-impl-list.
676 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
677 * string/test-string.h: Include <ifunc-impl-list.h>.
678 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
679 impl_array): New variables.
680 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
681 are defined.
682 (test_init): Call __libc_ifunc_impl_list to initialize
683 func_list if TEST_IFUNC and TEST_NAME are defined.
684
9a387d1f
L
685 * string/Makefile (strop-tests): Add bcopy and bzero.
686 * string/test-bcopy.c: New file.
687 * string/test-bzero.c: Likewise.
688 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
689 defined.
690 * string/test-memset.c: Support bzero test if TEST_BZERO is
691 defined.
692 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
693 __libc_memmove.
694 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
695 __libc_memset.
696 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
697 of memset.
698
472371b9
JM
6992012-10-10 Joseph Myers <joseph@codesourcery.com>
700
1e4a9536
JM
701 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
702 * configure: Regenerated.
703
d173d12e
JM
704 * Makeconfig (+link-static-before-libc): Don't include
705 $(link-static-libc).
706
472371b9
JM
707 * libio/libio.h (_IO_pos_t): Remove.
708
89a3ad0b
AO
7092012-10-10 Alexandre Oliva <aoliva@redhat.com>
710
711 * NEWS: Add note about FIPS mode. Wording suggested by Roland
712 McGrath.
713
e7451425
AO
7142012-10-10 Alexandre Oliva <aoliva@redhat.com>
715
716 * crypt/crypt-entry.c: Include fips-private.h.
717 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
718 * crypt/md5c-test.c (main): Tolerate disabled MD5.
719 * sysdeps/unix/sysv/linux/fips-private.h: New file.
720 * sysdeps/generic/fips-private.h: New file, dummy fallback.
721
4ba74a35
AO
7222012-10-10 Alexandre Oliva <aoliva@redhat.com>
723
724 * crypt/crypt-private.h: Include stdbool.h.
725 (_ufc_setup_salt_r): Return bool.
726 * crypt/crypt-entry.c: Include errno.h.
727 (__crypt_r): Return NULL with EINVAL for bad salt.
728 * crypt/crypt_util.c (bad_for_salt): New.
729 (_ufc_setup_salt_r): Check that salt is long enough and within
730 the specified alphabet.
731 * crypt/badsalttest.c: New file.
732 * crypt/Makefile (tests): Add it.
733 ($(objpfx)badsalttest): New.
734
f96f1242
MK
7352012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
736
737 * NEWS: Add entry for BZ #14602.
738
0e8e0c1c
JM
7392012-10-09 Joseph Myers <joseph@codesourcery.com>
740
741 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
742 type-generic.
743 * math/libm-test.inc: Update comment listing what functions and
744 macros are tested.
745 (isgreater_test): New function.
746 (isgreaterequal_test): Likewise.
747 (isless_test): Likewise.
748 (islessequal_test): Likewise.
749 (islessgreater_test): Likewise.
750 (isunordered_test): Likewise.
751 (main): Call the new functions.
752
273edc5e
RM
7532012-10-09 Roland McGrath <roland@hack.frob.com>
754
b8493de0
RM
755 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
756 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
757 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
758 * sysdeps/i386/configure: Regenerated.
759 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
760 * sysdeps/mach/configure: Regenerated.
761 * sysdeps/mach/hurd/configure: Regenerated.
762 * sysdeps/powerpc/configure: Regenerated.
763 * sysdeps/powerpc/powerpc32/configure: Regenerated.
764 * sysdeps/powerpc/powerpc64/configure: Regenerated.
765 * sysdeps/s390/s390-32/configure: Regenerated.
766 * sysdeps/s390/s390-64/configure: Regenerated.
767 * sysdeps/sh/configure: Regenerated.
768 * sysdeps/sparc/configure: Regenerated.
769 * sysdeps/unix/sysv/linux/configure: Regenerated.
770 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
771 * sysdeps/x86_64/configure: Regenerated.
772
273edc5e
RM
773 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
774 defined. Don't check if MAP is NULL.
775
c8450f70
JM
7762012-10-09 Joseph Myers <joseph@codesourcery.com>
777
778 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
779 (_G_stat64): Likewise.
780 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
781 (_G_stat64): Likewise.
782 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
783 instead of struct _G_stat64.
784 * libio/fileops.c (mmap_remap_check): Likewise.
785 (decide_maybe_mmap): Likewise.
786 (_IO_new_file_seekoff): Likewise.
787 (_IO_file_stat): Likewise.
788 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
789 _G_off64_t.
790 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
791 instead of struct _G_stat64.
792 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
793
57e605ba
MK
7942012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
795
796 [BZ #14602]
797 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
798 Replace with ...
799 (CHECK_EOL): New macro.
800 (two_way_short_needle): Check beginning of haystack for EOL. Use
801 CHECK_EOL.
802 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
803 Replace with CHECK_EOL.
804 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
805 Replace with CHECK_EOL.
806
ef1bb361
JM
8072012-10-08 Joseph Myers <joseph@codesourcery.com>
808
809 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
810 type-generic.
811 * math/libm-test.inc: Update comment listing what functions and
812 macros are tested.
813 (finite_test): New function.
814 (isinf_test): Likewise.
815 (isnan_test): Likewise.
816 (fpclassify_test): Test subnormal input.
817 (isfinite_test): Likewise.
818 (isnormal_test): Likewise.
819 (main): Call the new functions.
820
55f11534
JN
8212012-10-08 Jonathan Nieder <jrnieder@gmail.com>
822
823 [BZ #14660]
824 * Makerules (%.dynsym): Force C locale when running
825 $(OBJDUMP) --dynamic-syms.
826
1ab29350
AS
8272012-10-08 Andreas Schwab <schwab@linux-m68k.org>
828
829 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
830 <stdint.h>.
831
f1ecb7ef
DM
8322012-10-06 David S. Miller <davem@davemloft.net>
833
834 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
835 upper 32-bits of the length value in %o2 since we use branch-on-register
836 tests which consider the entire 64-bit register.
837
5d41d91a
L
8382012-10-06 H.J. Lu <hongjiu.lu@intel.com>
839
840 * string/test-strstr.c (check2): Add a test for page boundary.
841
3baddb72
DM
8422012-10-05 David S. Miller <davem@davemloft.net>
843
844 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
845 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
846 file.
847 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
848 sysdep_routines.
849 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
850 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
851 and bzero when HWCAP_SPARC_CRYPTO is present.
852
9cee5585
L
8532012-10-05 H.J. Lu <hongjiu.lu@intel.com>
854
d7e0dab9
L
855 [BZ #14602]
856 * string/test-strstr.c (check2): New function.
857 (test_main): Call check2.
858
03759f47
L
859 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
860 and bug-strchr1.
861 * string/bug-strcasestr1.c (do_test): Moved to ...
862 * string/test-strcasestr.c (check1): Here. New function.
863 (do_one_test): Break out result checking code into ...
864 (check_result): This. New function.
865 (do_one_test): Call check_result.
866 (test_main): Call check1.
867 * string/bug-strchr1.c (do_test): Moved to ...
868 * string/test-strchr.c (check1): Here. New function.
869 (do_one_test): Break out result checking code into ...
870 (check_result): This. New function.
871 (do_one_test): Call check_result.
872 (test_main): Call check1.
873 * string/bug-strstr1.c (main): Moved to ...
874 * string/test-strchr.c (check1): Here. New function.
875 (do_one_test): Break out result checking code into ...
876 (check_result): This. New function.
877 (do_one_test): Call check_result.
878 (test_main): Call check1.
879 * string/bug-strcasestr1.c: Removed.
880 * string/bug-strchr1.c: Likewise.
881 * string/bug-strstr1.c: Likewise.
882
53cea63e
L
883 * elf/Makefile (dl-routines): Add hwcaps.
884 * elf/dl-support.c (_dl_important_hwcaps): Removed.
885 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
886 (_dl_important_hwcaps): Moved to ...
887 * elf/dl-hwcaps.c: Here. New file.
888 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
889
9cee5585 890 [BZ #14557]
bb859b06
L
891 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
892 if IS_IN_rtld isn't defined.
893
9cee5585
L
894 * elf/dl-support.c (_dl_sysinfo_map): New.
895 Include "get-dynamic-info.h" and "setup-vdso.h".
896 (_dl_non_dynamic_init): Call setup_vdso.
897 * elf/dynamic-link.h: Don't include <assert.h>.
898 (elf_get_dynamic_info): Moved to ...
899 * elf/get-dynamic-info.h: Here. New file.
900 * elf/dynamic-link.h: Include "get-dynamic-info.h".
901 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
902 * elf/setup-vdso.h: Here. New file.
903 * elf/rtld.c: Include "setup-vdso.h".
904 (dl_main): Call setup_vdso.
905
23c31b76
JM
9062012-10-05 Joseph Myers <joseph@codesourcery.com>
907
28234b07
JM
908 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
909 creal in comment listing functions tested. List finite, isinf,
910 isnan, isless, islessequal, isgreater, isgreaterequal,
911 islessgreater, isunordered, lgamma_r and pow10 as functions and
912 macros not tested. Mention which functions not tested are aliases
913 for other functions. Fix typo. Note that signs of NaNs are not
914 tested.
915
23c31b76
JM
916 * scripts/config.guess: Update from config.git.
917 * scripts/config.sub: Likewise.
918
9043e228
RM
9192012-10-04 Roland McGrath <roland@hack.frob.com>
920
921 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
922 * misc/madvise.c (madvise): Renamed to __madvise.
923 Make madvise a weak alias.
924 * include/sys/mman.h: Declare __madvise.
925 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
926 * sysdeps/unix/syscalls.list
927 (madvise): Make __madvise the strong name, and madvise a weak alias.
928 * sysdeps/unix/sysv/linux/syscalls.list
929 (madvise, mmap): Remove redundant entries.
930 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
931 * malloc/malloc.c (mtrim): Likewise.
932 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
933
f57f8055
RM
9342012-10-03 Roland McGrath <roland@hack.frob.com>
935
936 * sysdeps/mach/hurd/dl-cache.c: File removed.
937 * config.h.in (USE_LDCONFIG): New #undef.
938 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
939 * configure: Regenerated.
940 * elf/Makefile (dl-routines): Add dl-cache only under
941 [$(use-ldconfig) = yes].
942 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
943 cache on [USE_LDCONFIG].
944 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
945 [USE_LDCONFIG].
946 * elf/rtld.c (dl_main): Likewise.
947
5bb0c10a
PT
9482012-10-03 Pino Toscano <toscano.pino@tiscali.it>
949
950 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
951 _SC_LEVEL4_CACHE_LINESIZE.
952
010188c6
RM
9532012-10-03 Roland McGrath <roland@hack.frob.com>
954
955 * sysdeps/unix/bsd/confstr.h: File removed.
956
b6c5ec07
AO
9572012-10-02 Alexandre Oliva <aoliva@redhat.com>
958
959 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
960 sys/sdt-config.h.
961
408223d4
RM
9622012-10-02 Roland McGrath <roland@hack.frob.com>
963
964 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
965 Make 'mapoff' field ElfW(Off) rather than off_t.
966
bb9510dc
DL
9672012-10-02 Dmitry V. Levin <ldv@altlinux.org>
968
fc997c6e
DL
969 * nscd/Makefile: Remove nscd-cflags and all its users.
970 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
971 (CFLAGS-nonlib): Add compiler flags for nscd modules.
972
bb9510dc
DL
973 [BZ #10631]
974 * malloc.c (malloc_printerr): Clarify error message.
975
05699367
L
9762012-10-02 H.J. Lu <hongjiu.lu@intel.com>
977
978 [BZ #14648]
979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
980 Set bit_FMA_Usable if FMA is supported.
981 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
982 macro.
983 (bit_FMA4_Usable): Updated.
984 (index_FMA_Usable): New macro.
985 (CPUID_FMA): Likewise
986 (HAS_FMA): Defined with bit_FMA_Usable.
987
51367701
RM
9882012-10-01 Roland McGrath <roland@hack.frob.com>
989
990 * bits/types.h (__swblk_t): Type removed.
991 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
992 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
994 (__SWBLK_T_TYPE): Likewise.
995 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
996 (__SWBLK_T_TYPE): Likewise.
997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
998 (__SWBLK_T_TYPE): Likewise.
999 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1000 (__SWBLK_T_TYPE): Likewise.
1001
4d57bf63 10022012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1003 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1004
1005 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1006 (xdr_mapname): Use YPMAXMAP as maxsize.
1007 (xdr_peername): Use YPMAXPEER as maxsize.
1008 (xdr_keydat): Use YPAXRECORD as maxsize.
1009 (xdr_valdat): Use YPMAXRECORD as maxsize.
1010
93c65d43
RM
10112012-10-01 Roland McGrath <roland@hack.frob.com>
1012
497a03d6
RM
1013 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1014
93c65d43
RM
1015 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1016 * csu/init-first.c: ... here.
1017 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1018 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1019 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1020 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1021 * sysdeps/i386/init-first.c: File removed.
1022 * sysdeps/sh/init-first.c: File removed.
1023
bec749fd
JM
10242012-10-01 Joseph Myers <joseph@codesourcery.com>
1025
1026 [BZ #14645]
1027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1028 if x * y might underflow to zero and z is zero.
1029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1031 * math/libm-test.inc (min_subnorm_value): New variable.
1032 (fma_test): Add more tests.
1033 (fma_test_towardzero): Likewise.
1034 (fma_test_downward): Likewise
1035 (fma_test_upward): Likewise.
1036 (initialize): Set min_subnorm_value.
1037
8ec5b013
JM
10382012-09-29 Joseph Myers <joseph@codesourcery.com>
1039
1040 [BZ #14638]
1041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1042 0 + 0.
1043 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1044 mode for addition resulting in exact zero.
1045 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1047 exact 0 + 0.
1048 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1050 * math/libm-test.inc (fma_test): Add more tests.
1051 (fma_test_towardzero): New function.
1052 (fma_test_downward): Likewise.
1053 (fma_test_upward): Likewise.
1054 (main): Call the new functions.
1055
b1fa802e
DM
10562012-09-28 David S. Miller <davem@davemloft.net>
1057
1058 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1059
d3b9fd9e
RM
10602012-09-28 Roland McGrath <roland@hack.frob.com>
1061
ea4d37b3
RM
1062 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1063 instead of SIGALRM.
1064
ac51c949
RM
1065 * sysdeps/gnu/_G_config.h: Moved to ...
1066 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1067 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1068 * sysdeps/generic/_G_config.h: ... here.
1069
28c195f7
RM
1070 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1071
848917f9
RM
1072 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1073
6bacf05b
RM
1074 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1075 Conditionalize target on [libnss_test1.so-version].
1076
91363dbb
RM
1077 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1078
cc87f7d8
RM
1079 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1080 (elfobjdir): Move out of conditionals.
1081
b1c608fe
RM
1082 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1083 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1084 (__nss_lookup_function): Conditionalize label remove_from_tree on
1085 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1086
1d9a6d96
DM
10872012-09-28 David S. Miller <davem@davemloft.net>
1088
1089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1091 file.
1092 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1093 sysdep_routines.
1094 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1095 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1096 when HWCAP_SPARC_CRYPTO is present.
1097
72581615
PT
10982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1099
1100 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1101
715a900c
JL
11022012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1103
1104 [BZ #6530]
1105 * stdio-common/vfprintf.c (process_string_arg): Revert
1106 2000-07-22 change.
1107
11082011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1109
1110 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1111 for testcase.
1112 * stdio-common/tst-sprintf.c: Include <locale.h>
1113 (main): Test sprintf's handling of incomplete multibyte
1114 characters.
1115
9bac1d86
L
11162012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1117
1118 * elf/dl-runtime.c (VERSYMIDX): Removed.
1119 * elf/dl-version.c (VERSYMIDX): Likewise.
1120 * elf/do-rel.h (VERSYMIDX): Likewise.
1121 (VALIDX): Likewise.
1122 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1123 * elf/rtld.c (VALIDX): Likewise.
1124 (ADDRIDX): Likewise.
9bac1d86
L
1125 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1126 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1127 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1128 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1129 (VALIDX): Likewise.
1130 (ADDRIDX): Likewise.
9bac1d86 1131
b31606c0
PT
11322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1133
1134 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1135
11541177
JL
11362012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1137
1138 [BZ #11438]
1139 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1140 to global scope.
1141 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1142 addresses are in the same scope as 192.0.2/24.
1143 * posix/gai.conf: Document new scope table defaults.
1144
adb26fae
SP
11452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1146
1147 [BZ #5298]
1148 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1149 for ftell. Compute offsets from write pointers instead.
1150 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1151
4573c6b0
SP
11522012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1153
1154 [BZ #14543]
1155 * libio/Makefile (tests): New test case tst-fseek.
1156 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1157 combination works in wide mode.
1158 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1159 state when the external buffer state changes.
1160
aa9bbfe6
DM
11612012-09-27 David S. Miller <davem@davemloft.net>
1162
1163 [BZ #14376]
1164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1165 pass reloc->r_addend in as the 'high' argument to
1166 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1167
784421e7
DM
1168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1169
c39bc8b8
PT
11702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1171
1172 * rt/tst-aio2.c: Include <pthread.h>.
1173 * rt/tst-aio3.c: Likewise.
1174
1ccc2399
SE
11752012-09-27 Steve Ellcey <sellcey@mips.com>
1176
1177 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1178
31ed4153
L
11792012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1180
25f5f885
L
1181 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1182 contents on [SHARED].
31ed4153 1183
b7bfe116
MP
11842012-09-26 Marek Polacek <polacek@redhat.com>
1185
1186 [BZ #14530]
1187 [BZ #13741]
1188 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1189 for C++ and GCC <4.3 as well as for non GCC compilers.
1190
43c4edba
MT
11912012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1192
1193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1194
6a1bf82f
RM
11952012-09-25 Roland McGrath <roland@hack.frob.com>
1196
1197 * Makefile.in (all, install): Declare with .PHONY.
1198 Reported by Michael Hope <michael.hope@linaro.org>.
1199
8ad11b9a
TMQMF
12002012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1201
1202 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1203 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1204 system header.
1205 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1206 Likewise.
1207 (sydep_routines): Add the new and the internal functions.
1208 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1209 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1211 (GLIBC_2.17): Add the new function.
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1213 (GLIBC_2.17): Likewise.
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1215 (GLIBC_2.17): Likewise.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1217 (GLIBC_2.17): Likewise.
1218 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1219
7e2fca8d
AM
12202012-09-25 Alan Modra <amodra@gmail.com>
1221
1222 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1223 Add release barrier before setting once_control to say
1224 initialisation is done. Add hints on lwarx. Use macro in
1225 place of isync.
1226 (clear_once_control): Add release barrier.
1227
b87c4b24
JM
12282012-09-25 Joseph Myers <joseph@codesourcery.com>
1229
d032e0d2
JM
1230 [BZ #13629]
1231 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1232 specially.
1233 * math/s_clog10.c (__clog10): Likewise.
1234 * math/s_clog10f.c (__clog10f): Likewise.
1235 * math/s_clog10l.c (__clog10l): Likewise.
1236 * math/s_clogf.c (__clogf): Likewise.
1237 * math/s_clogl.c (__clogl): Likewise.
1238 * math/Makefile (libm-calls): Add x2y2m1.
1239 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1240 (__x2y2m1): Likewise.
1241 (__x2y2m1l): Likewise.
1242 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1243 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1244 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1245 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1246 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1247 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1248 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1249 * sysdeps/i386/fpu/libm-test-ulps: Update.
1250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1251
b87c4b24
JM
1252 [BZ #14621]
1253 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1254 int as type of variable DEPTH.
1255 (glob): Use size_t instead of int as type of variables NEWCOUNT
1256 and OLD_PATHC.
1257
6d3bf199
LD
12582012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1259
22bf5c17
LD
1260 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1261 Add s_sincosf-sse2.
1262 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1263 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1264 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1265 macros for using routine as __sincosf_ia32.
1266 Use macro for function declaration and weak_alias.
1267 * sysdeps/i386/fpu/libm-test-ulps: Update.
1268
1269 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1271
1272 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1273 subnormal argument.
1274 * math/s_cexpf.c (__cexpf): Likewise.
1275 * math/s_csinf.c (__csinf): Likewise.
1276 * math/s_csinhf.c (__csinhf): Likewise.
1277 * math/s_ctanf.c (__ctanf): Likewise.
1278 * math/s_ctanhf.c (__ctanhf): Likewise.
1279 * math/s_ccosh.c (__ccoshf): Likewise.
1280 * math/s_cexp.c (__cexpl): Likewise.
1281 * math/s_csin.c (__csin): Likewise.
1282 * math/s_csinh.c (__csinh): Likewise.
1283 * math/s_ctan.c (__ctan): Likewise.
1284 * math/s_ctanh.c (ctanh): Likewise.
1285 * math/s_ccoshl.c (__ccoshl): Likewise.
1286 * math/s_cexpl.c (__cexpl): Likewise.
1287 * math/s_csinl.c (__csinl): Likewise.
1288 * math/s_csinhl.c (__csinhl): Likewise.
1289 * math/s_ctanl.c (__ctanl): Likewise.
1290 * math/s_ctanhl.c (__ctanhl): Likewise.
1291
203e5603
JM
12922012-09-25 Joseph Myers <joseph@codesourcery.com>
1293
1294 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1295 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1296 (_IO_off_t): Define to __off_t, not _G_off_t.
1297 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1298 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1299 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1300 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1301 type of __dummy and __dummy2 fields.
1302 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1303 (_G_ssize_t): Likewise.
1304 (_G_off_t): Likewise.
1305 (_G_pid_t): Likewise.
1306 (_G_uid_t): Likewise.
1307 (_G_wchar_t): Likewise.
1308 (_G_wint_t): Likewise.
1309 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1310 (_G_ssize_t): Likewise.
1311 (_G_off_t): Likewise.
1312 (_G_pid_t): Likewise.
1313 (_G_uid_t): Likewise.
1314 (_G_wchar_t): Likewise.
1315 (_G_wint_t): Likewise.
1316 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1317 (_G_ssize_t): Likewise.
1318 (_G_off_t): Likewise.
1319 (_G_pid_t): Likewise.
1320 (_G_uid_t): Likewise.
1321 (_G_wchar_t): Likewise.
1322 (_G_wint_t): Likewise.
1323
9fab36eb
SP
13242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1325
1326 * malloc/arena.c: Include malloc-sysdep.h.
1327 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1328 is sufficient to shrink the heap or an unmap is needed.
1329 * sysdeps/generic/malloc-sysdep.h: New file. Define
1330 new function check_may_shrink_heap.
1331 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1332 new function check_may_shrink_heap.
1333
2b4f00d1
SP
13342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1335
1336 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1337 comments.
1338
9a9028b1
DL
13392012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1340
57c69bef
DL
1341 * catgets/test-gencat.sh: Add "set -e".
1342 * elf/tst-pathopt.sh: Likewise.
1343 * grp/tst_fgetgrent.sh: Likewise.
1344 * iconvdata/run-iconv-test.sh: Likewise.
1345 * intl/tst-gettext.sh: Likewise.
1346 * intl/tst-gettext2.sh: Likewise.
1347 * intl/tst-gettext4.sh: Likewise.
1348 * intl/tst-gettext6.sh: Likewise.
1349 * intl/tst-translit.sh: Likewise.
1350 * io/ftwtest-sh: Likewise.
1351 * libio/test-freopen.sh: Likewise.
1352 * malloc/tst-mtrace.sh: Likewise.
1353 * posix/globtest.sh: Likewise.
1354 * posix/tst-getconf.sh: Likewise.
1355 * posix/wordexp-tst.sh: Likewise.
1356 * stdio-common/tst-printf.sh: Likewise.
1357 * stdio-common/tst-unbputc.sh: Likewise.
1358 * stdlib/tst-fmtmsg.sh: Likewise.
1359 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1360 * catgets/Makefile: Do not specify -e option when running
1361 testsuite shell scripts.
1362 * elf/Makefile: Likewise.
1363 * grp/Makefile: Likewise.
1364 * iconvdata/Makefile: Likewise.
1365 * intl/Makefile: Likewise.
1366 * io/Makefile: Likewise.
1367 * libio/Makefile: Likewise.
1368 * malloc/Makefile: Likewise.
1369 * posix/Makefile: Likewise.
1370 * stdio-common/Makefile: Likewise.
1371 * stdlib/Makefile: Likewise.
1372 * sysdeps/x86_64/Makefile: Likewise.
1373
9a9028b1
DL
1374 * io/ftwtest-sh: Add copyright header.
1375 * posix/globtest.sh: Likewise.
1376 * posix/tst-getconf.sh: Likewise.
1377 * posix/wordexp-tst.sh: Likewise.
1378 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1379
ced6f16e
L
13802012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1381
94b32c39
L
1382 [BZ #13679]
1383 * Makeconfig (+link): Defined as $(+link-static) if
1384 $(build-shared) isn't yes.
1385 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1386 isn't yes.
1387 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1388
189e935b
L
1389 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1390
ced6f16e
L
1391 [BZ #14562]
1392 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1393 new chunk size with MALLOC_ALIGN_MASK.
1394
a9f8e53a
JM
13952012-09-24 Joseph Myers <joseph@codesourcery.com>
1396
1397 [BZ #5044]
1398 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1399 <rounding-mode.h>.
1400 (__printf_fphex): Determine rounding using get_rounding_mode and
1401 round_away.
1402 * stdio-common/tst-printf-round.c (struct hex_test): New
1403 structure.
1404 (hex_tests): New variable.
1405 (test_hex_in_one_mode): New function.
1406 (do_test): Also run tests for hex float output.
1407
43153109
JM
14082012-09-21 Joseph Myers <joseph@codesourcery.com>
1409
1410 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1411 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1412 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1413 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1414 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1415 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1416 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1417 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1418
8a26625d
JM
14192012-09-20 Joseph Myers <joseph@codesourcery.com>
1420
1421 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1422 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1423 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1424 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1425
f3fd569c
DL
14262012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1427
1428 [BZ #14579]
1429 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1430 mode only.
1431 * elf/tst-rtld-load-self.sh: New test.
1432 * elf/Makefile: Run it.
1433
63bbedd4
JM
14342012-09-18 Joseph Myers <joseph@codesourcery.com>
1435
1436 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1437 (tst-writev-ENV): Remove.
1438 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1439
626f8b6a
CM
14402012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1441
1442 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1443
b7aaa4d6
JM
14442012-09-17 Joseph Myers <joseph@codesourcery.com>
1445
1446 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1447 unconditional.
1448 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1449 Likewise.
1450 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1451 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1452 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1453 Likewise.
1454
65513990
L
14552012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 [BZ #14587]
1458 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1459 * config.make.in (have-cpp-asm-debuginfo): Removed.
1460 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1461 * configure: Regenerated.
1462
784761be
JM
14632012-09-14 Joseph Myers <joseph@codesourcery.com>
1464
1465 [BZ #5044]
1466 * stdio-common/printf_fp.c: Include <stdbool.h> and
1467 <rounding-mode.h>.
1468 (___printf_fp): Determine rounding using get_rounding_mode and
1469 round_away.
1470 * stdio-common/tst-printf-round.c: New file.
1471 * stdio-common/Makefile (tests): Add tst-printf-round.
1472 (link-libm): New variable.
1473 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1474
9503345f
L
14752012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1476
1477 [BZ #14576]
1478 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1479 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1480 Likewise.
1481 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1482 Likewise.
1483
ad35fc00
JM
14842012-09-13 Joseph Myers <joseph@codesourcery.com>
1485
1486 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1487 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1488 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1489 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1490
6c9b0f68
JM
14912012-09-12 Joseph Myers <joseph@codesourcery.com>
1492
1493 [BZ #14518]
1494 * include/rounding-mode.h: New file.
1495 * sysdeps/generic/get-rounding-mode.h: Likewise.
1496 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1497 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1498 (MAX_VALUE): New macro.
1499 (MIN_VALUE): Likewise.
1500 (overflow_value): New function.
1501 (underflow_value): Likewise.
1502 (round_and_return): Use overflow_value and underflow_value to
1503 determine return values in overflow and underflow cases. Use
1504 round_away to determine rounding depending on rounding mode.
1505 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1506 determine return values in overflow and underflow cases.
1507 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1508 (struct test_results): New structure.
1509 (struct test): Use struct test_results to store expected results
1510 for all rounding modes.
1511 (TEST): Include expected results for all rounding modes.
1512 (test_in_one_mode): New function.
1513 (do_test): Use test_in_one_mode to compute and check results.
1514 Check results for all rounding modes.
1515 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1516 $(link-libm).
1517
19fcedd5
AM
15182012-12-09 Allan McRae <allan@archlinux.org>
1519
1e9d84cd 1520 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1521
8bbfd2f1
JM
15222012-09-11 Joseph Myers <joseph@codesourcery.com>
1523
1524 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1525 (_G_int32_t): Likewise.
1526 (_G_uint16_t): Likewise.
1527 (_G_uint32_t): Likewise.
1528 (_G_HAVE_BOOL): Likewise.
1529 (_G_HAVE_ATEXIT): Likewise.
1530 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1531 (_G_HAVE_IO_FILE_OPEN): Likewise.
1532 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1533 (_G_int32_t): Likewise.
1534 (_G_uint16_t): Likewise.
1535 (_G_uint32_t): Likewise.
1536 (_G_HAVE_BOOL): Likewise.
1537 (_G_HAVE_ATEXIT): Likewise.
1538 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1539 (_G_HAVE_IO_FILE_OPEN): Likewise.
1540 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1541 (_G_int32_t): Likewise.
1542 (_G_uint16_t): Likewise.
1543 (_G_uint32_t): Likewise.
1544 (_G_HAVE_BOOL): Likewise.
1545 (_G_HAVE_ATEXIT): Likewise.
1546 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1547 (_G_HAVE_IO_FILE_OPEN): Likewise.
1548
b1dc5912
L
15492012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1550
1551 * csu/libc-tls.c: Update copyright years.
1552
0e886ef9
JM
15532012-09-10 Joseph Myers <joseph@codesourcery.com>
1554
28361c5e
JM
1555 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1556 [!_G_USING_THUNKS]: Remove conditional code.
1557 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1558 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1559
0e886ef9
JM
1560 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1561 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1562 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1563 (_G_VTABLE_LABEL_PREFIX): Likewise.
1564 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1565 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1566 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1567 (_G_VTABLE_LABEL_PREFIX): Likewise.
1568 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1569 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1570 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1571 (_G_VTABLE_LABEL_PREFIX): Likewise.
1572 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1573
bcba7aa2
L
15742012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 * libio/Makefile: Include ../Makeconfig before tests.
1577 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1578 only if $(build-shared) is yes.
1579
06585ee8
L
1580 * iconv/gconv_db.c: Update copyright years.
1581
80ccd52c
LD
15822012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1583
1584 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1585 unwind info if defined PIC. Fix special cases description.
1586 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1587
1588 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1589 DP_HI_MASK entry.
1590 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1591
691bc9c1
L
15922012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1593
3d9b46b3
L
1594 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1595
de2139a9
L
1596 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1597 is NULL.
1598
5ca78dd0
L
1599 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1600 (LDLIBS-tst-chk4): This.
1601 (LDFLAGS-tst-chk5): Renamed to ...
1602 (LDLIBS-tst-chk5): This.
1603 (LDFLAGS-tst-chk6): Renamed to ...
1604 (LDLIBS-tst-chk6): This.
1605 (LDFLAGS-tst-lfschk4): Renamed to ...
1606 (LDLIBS-tst-lfschk4): This.
1607 (LDFLAGS-tst-lfschk5): Renamed to ...
1608 (LDLIBS-tst-lfschk5): This.
1609 (LDFLAGS-tst-lfschk6): Renamed to ...
1610 (LDLIBS-tst-lfschk6): This.
1611
691bc9c1
L
1612 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1613 on $(common-objpfx)soversions.mk.
1614
65cafb1c
JM
16152012-09-07 Joseph Myers <joseph@codesourcery.com>
1616
1617 [BZ #10014]
1618 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1619 example host name.
1620
c78ab094
SP
16212012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1622
1623 * malloc/arena.c (arena_get_retry): New function that gets
1624 another arena for the caller to try its request on.
1625 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1626 current arena cannot fulfill the request.
1627 (__libc_memalign): Likewise.
1628 (__libc_memalign): Likewise.
1629 (__libc_pvalloc): Likewise.
1630 (__libc_calloc): Likewise.
1631
01f49f59
JT
16322012-09-05 John Tobey <john.tobey@gmail.com>
1633
1634 [BZ #13542]
1635 * manual/arith.texi (Operations on Complex): Fix description
1636 of carg branch cut.
1637
4c23fed5
JM
16382012-09-06 Joseph Myers <joseph@codesourcery.com>
1639
1d3c8572
JM
1640 [BZ #10014]
1641 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1642 host name.
1643
4c23fed5
JM
1644 [BZ #10038]
1645 * manual/memory.texi (Memory): Make order of menu items match
1646 order of sections.
1647
04570aaa
L
16482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1651 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1652 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1653
b80af2f4
L
16542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1655
1656 * csu/libc-tls.c (static_dtv): Renamed to ...
1657 (_dl_static_dtv): This. Make it global.
1658 (_dl_initial_dtv): Removed.
1659 (__libc_setup_tls): Updated.
1660 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1661 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1662 DL_INITIAL_DTV.
1663
2abe9f15
PM
16642012-09-06 Petr Machata <pmachata@redhat.com>
1665
1666 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1667 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1668 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1669 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1670
0948c3af
L
16712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1672
1673 [BZ #14545]
1674 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1675 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1676 freeing dtv[-1].
1677
a5055ad1
L
16782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1679
1680 [BZ #14544]
1681 * Makeconfig (link-static-before-libc): Replace $(+prector)
1682 with $(+prectorT).
1683 (link-static-after-libc): Replace $(+postctor) with
1684 $(+postctorT).
1685 (link-bounded): Replace $(+prector)/$(+postctor) with
1686 $(+prectorT)/$(+postctorT).
1687 (+prectorT): New macro.
1688 (+postctorT): Likewise.
1689
ed8c2ecd
JM
16902012-09-06 Joseph Myers <joseph@codesourcery.com>
1691
1692 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1693 (round_str): Handle values above the maximum for IBM long double
1694 as inexact.
1695 * stdlib/tst-strtod-round.c (tests): Regenerated.
1696
14c996c8
AK
16972012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1698
1699 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1700 assembler flag.
1701 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1702 zarch_nohighgprs around the zarch optimized routines.
1703 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1704 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1705 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1706 for zarch.
1707
430d6ce6
DM
17082012-09-05 David S. Miller <davem@davemloft.net>
1709
1710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1711
ff04dda4
DM
1712 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1713 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1714 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1715 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1716 entries.
1717
24d4e01b
AO
17182012-09-05 Alexandre Oliva <aoliva@redhat.com>
1719
1720 * malloc/arena.c: Fold copyright years.
1721 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1722
61d58174
AO
17232012-09-05 Alexandre Oliva <aoliva@redhat.com>
1724
1725 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1726
20196a5e
AO
17272012-09-05 Alexandre Oliva <aoliva@redhat.com>
1728
1729 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1730
5c447383
AO
17312012-09-05 Alexandre Oliva <aoliva@redhat.com>
1732
1733 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1734 change internal state upon failure.
1735
fad64255
AO
17362012-09-05 Alexandre Oliva <aoliva@redhat.com>
1737
1738 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1739 * malloc/memusage.c (mmap): Likewise.
1740 (mmap64, mremap): Likewise. Adjust name in comment.
1741
1ffb8c90
SP
17422012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1743
1744 * libio/fileops.c: Fix typos in comments.
1745 * libio/oldfileops.c: Likewise.
1746 * libio/wfileops.c: Likewise.
1747
6ef9cc37
SP
17482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1749
1750 [BZ #1349]
1751 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1752 (tst-malloc-usable-ENV): Set environment for test case.
1753 * malloc/hooks.c (malloc_check_get_size): New function to get
1754 requested size.
1755 * malloc/malloc.c (musable): Use malloc_check_get_size.
1756 * malloc/tst-malloc-usable.c: New test case.
1757
4d038ae3
AS
17582012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1759
1760 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1761
c4e85184
AM
17622012-09-05 Allan McRae <allan@archlinux.org>
1763
b9dafc56 1764 [BZ #13966]
c4e85184
AM
1765 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1766 determine header location.
1767 * configure: Regenerated.
1768
e1343020
AS
17692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1770
1771 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1772 float format.
1773 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1774 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1775 format.
e1343020
AS
1776 (test): Regenerate.
1777
0a9f1987
DM
17782012-09-04 David S. Miller <davem@davemloft.net>
1779
1780 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1781 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1782 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1783
29237804
FW
17842012-09-04 Florian Weimer <fweimer@redhat.com>
1785
1786 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1787 failures.
1788
edb3cb88
FW
1789 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1790
60160d83
JM
17912012-09-04 Joseph Myers <joseph@codesourcery.com>
1792
1793 [BZ #9914]
1794 * libio/iogetdelim.c: Include <limits.h>.
1795 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1796 + len + 1 would overflow.
1797
bcd6c8dc
AJ
17982012-09-03 Andreas Jaeger <aj@suse.de>
1799
1800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1801 * sysdeps/i386/fpu/libm-test-ulps: Update.
1802
4ffffbd2
LD
18032012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1804
1805 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1806 Add s_sinf-sse2, s_conf-sse2.
1807
1808 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1809 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1810 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1811 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1812
1813 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1814 for using routine as __sinf_ia32.
1815 Use macro for function declaration and weak_alias.
1816 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1817 for using routine as __cosf_ia32.
1818 Use macro for function declaration and weak_alias.
1819
1820 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1821 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1822
1823 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1824 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1826
1827 * math/libm-test.inc (cos_test): Add more test cases.
1828 (sin_test): Likewise.
1829 (sincos_test): Likewise.
1830
511fa286
AK
18312012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1832
1833 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1834 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1835 hidden.
1836 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1837
5f30cfec
L
18382012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1839
1840 [BZ #14538]
1841 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1842 first element of the GOT.
1843 (elf_machine_load_address): Return the difference between
1844 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1845
0786794f
AM
18462012-09-01 Allan McRae <allan@archlinux.org>
1847
5f30cfec
L
1848 [BZ #13412]
1849 * configure.in (AWK): Require gawk version 3.0 or later.
1850 * configure: Regenerated.
0786794f 1851
26889eac
JM
18522012-09-01 Joseph Myers <joseph@codesourcery.com>
1853
1854 * sysdeps/unix/sysv/linux/kernel-features.h
1855 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1856 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1857 [__NR_clock_getres]: Make code unconditional.
1858 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1859 (clock_getcpuclockid): Remove code left unreachable by removal of
1860 conditionals.
1861 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1862 code unconditional.
1863 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1864 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1865 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1866 Make code unconditional.
1867 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1868 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1869 * sysdeps/unix/sysv/linux/clock_settime.c
1870 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1871 conditional code.
1872 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1873 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1874
d22e28b0
L
18752012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1876
1877 [BZ #14476]
1878 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1879 scripts/test-installation.pl.
1880
1881 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1882 and $ld_so_version if it is set.
1883
050af9c4
SP
18842012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1885
1886 [BZ #14516]
1887 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1888 failure if reading from procfs failed.
1889 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1890
ad845c0b
JM
18912012-08-27 Joseph Myers <joseph@codesourcery.com>
1892
1893 * sysdeps/unix/sysv/linux/kernel-features.h
1894 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1895 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1896 Remove conditional code.
1897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1898 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1899 Remove conditional code.
1900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1901 * sysdeps/unix/sysv/linux/i386/fxstat.c
1902 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1904 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1905 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1907 * sysdeps/unix/sysv/linux/i386/lxstat.c
1908 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1910 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1911 Remove conditional code.
1912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1913 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1914 Remove conditional code.
1915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1916 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1917 <kernel-features.h>.
1918 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1919 Remove.
1920 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1921 Remove conditional code.
1922 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1923 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1924 Remove conditional.
1925
5dbf56af
MF
19262012-08-27 Mike Frysinger <vapier@gentoo.org>
1927
1928 [BZ #5400]
1929 * NEWS: Add fixed bug number.
1930
d6e70f43
JM
19312012-08-27 Joseph Myers <joseph@codesourcery.com>
1932
7efb4737
JM
1933 [BZ #14519]
1934 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1935 underflowing exponent in case of negative sign.
1936 * stdlib/tst-strtod-round-data: Add more tests.
1937 * stdlib/tst-strtod-round.c (tests): Regenerated.
1938
af92131a
JM
1939 [BZ #3479]
1940 * stdlib/strtod_l.c (NDIG): Remove.
1941 (HEXNDIG): Likewise.
1942 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1943 smallest representable value.
1944 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1945 lie within an exact representation of 1/2 ulp of the result.
1946 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1947 unconditionally.
1948 (TENS_P9_IDX): Define unconditionally.
1949 (TENS_P9_SIZE): Likewise.
1950 (TENS_P10_IDX): Likewise.
1951 (TENS_P10_SIZE): Likewise.
1952 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1953 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1954 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1955 entries for 10^2^13 and 10^2^14.
1956 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1957 (TENS_P13_IDX): Define.
1958 (TENS_P13_SIZE): Likewise.
1959 (TENS_P14_IDX): Likewise.
1960 (TENS_P14_SIZE): Likewise.
1961 (_fpioconst_pow10): Change array size to
1962 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1963 unconditional.
1964 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1965 1024]: Add entries for 10^2^13 and 10^2^14.
1966 [LAST_POW10 > _LAST_POW10]: Remove #error.
1967 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1968 (_fpioconst_pow10): Change array size to
1969 FPIOCONST_POW10_ARRAY_SIZE.
1970 * stdlib/gen-fpioconst.c: New file.
1971 * stdlib/gen-tst-strtod-round.c: Likewise.
1972 * stdlib/tst-strtod-round-data: Likewise.
1973 * stdlib/tst-strtod-round.c: Likewise.
1974 * stdlib/Makefile (tests): Add tst-strtod-round.
1975
d6e70f43
JM
1976 [BZ #14459]
1977 * stdlib/strtod_l.c: Include <stdint.h>.
1978 (NDEBUG): Do not define.
1979 (round_and_return): Change EXPONENT parameter to type intmax_t.
1980 Rearrange calculations to avoid internal overflow possibilities.
1981 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1982 Rearrange calculations to avoid internal overflow possibilities.
1983 Assert that number fits inside MPNSIZE limbs.
1984 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1985 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1986 calculations and add assertions to avoid internal overflow
1987 possibilities. Add casts to avoid signed/unsigned operations.
1988 * stdlib/tst-strtod-overflow.c: New file.
1989 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1990
1f529f7d
MP
19912012-08-25 Marek Polacek <polacek@redhat.com>
1992
1993 * time/time.h: Fix some typos in comments.
1994
59a629f1
RM
19952012-08-23 Roland McGrath <roland@hack.frob.com>
1996
1997 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1998 * posix/tst-rfc3484-2.c: Likewise.
1999 * posix/tst-rfc3484-3.c: Likewise.
2000
d3bafbc9
SM
20012012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2002
2003 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2004 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2005
4efcc022
JM
20062012-08-23 Joseph Myers <joseph@codesourcery.com>
2007
2008 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2009 #include of fxstatat64.c.
2010
3cc3ef96
RM
20112012-08-22 Roland McGrath <roland@hack.frob.com>
2012
f04e2132
RM
2013 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2014 * shadow/getspent_r.c: Likewise.
2015 * shadow/getspnam.c: Likewise.
2016 * shadow/getspnam_r.c: Likewise.
2017 * gshadow/getsgent.c: Likewise.
2018 * gshadow/getsgent_r.c: Likewise.
2019 * gshadow/getsgnam.c: Likewise.
2020 * gshadow/getsgnam_r.c: Likewise.
2021 * inet/getnetbyad.c: Likewise.
2022 * inet/getnetbyad_r.c: Likewise.
2023 * inet/getnetbynm.c: Likewise.
2024 * inet/getnetbynm_r.c: Likewise.
2025 * inet/getnetent.c: Likewise.
2026 * inet/getnetent_r.c: Likewise.
2027 * inet/getproto.c: Likewise.
2028 * inet/getproto_r.c: Likewise.
2029 * inet/getprtent.c: Likewise.
2030 * inet/getprtent_r.c: Likewise.
2031 * inet/getprtname.c: Likewise.
2032 * inet/getprtname_r.c: Likewise.
2033 * inet/getrpcbyname.c: Likewise.
2034 * inet/getrpcbyname_r.c: Likewise.
2035 * inet/getrpcbynumber.c: Likewise.
2036 * inet/getrpcbynumber_r.c: Likewise.
2037 * inet/getrpcent.c: Likewise.
2038 * inet/getrpcent_r.c: Likewise.
2039 * inet/getaliasent.c: Likewise.
2040 * inet/getaliasent_r.c: Likewise.
2041 * inet/getaliasname.c: Likewise.
2042 * inet/getaliasname_r.c: Likewise.
2043 * nscd/getgrgid_r.c: Likewise.
2044 * nscd/getgrnam_r.c: Likewise.
2045 * nscd/gethstbyad_r.c: Likewise.
2046 * nscd/gethstbynm3_r.c: Likewise.
2047 * nscd/getpwnam_r.c: Likewise.
2048 * nscd/getpwuid_r.c: Likewise.
2049 * nscd/getsrvbynm_r.c: Likewise.
2050 * nscd/getsrvbypt_r.c: Likewise.
2051 * nscd/gai.c: Likewise.
2052
c53d909c
RM
2053 * configure.in (build_nscd): New substituted variable, set
2054 by --disable-build-nscd and defaults to $use_nscd.
2055 * configure: Regenerated.
2056 * config.make.in (build-nscd): New substituted variable.
2057 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2058 Change conditional to require [$(build-nscd) = yes] as well.
2059 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2060
3cc3ef96
RM
2061 [BZ# 13696]
2062 * configure.in (use_nscd): New substituted variable, set by
2063 --disable-nscd. If enabled, define USE_NSCD.
2064 * configure: Regenerated.
2065 * config.h.in: Add USE_NSCD.
2066 * config.make.in (use-nscd): New substituted variable.
2067 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2068 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2069 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2070 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2071 (CFLAGS-getgrnam_r.c): Likewise.
2072 (CFLAGS-initgroups.c): Likewise.
2073 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2074 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2075 Variables removed.
2076 * inet/getnetgrent_r.c
2077 (nscd_setnetgrent): New function, broken out of ...
2078 (setnetgrent): ... here. Call it.
2079 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2080 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2081 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2082 * nscd/Makefile (routines, aux): Move definitions after include of
2083 Makeconfig. Conditionalize on [$(use-nscd) != no].
2084 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2085 Conditionalize on [USE_NSCD].
2086 (is_nscd, nscd_init_cb): Likewise.
2087 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2088 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2089 * nss/nss_db/db-init.c: Likewise.
2090 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2091 [USE_NSCD].
2092 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2093 (make_request): Use it.
2094 (cache_valid_p): New function.
2095 (__check_pf): Use it.
2096 * NEWS: Add item for --disable-nscd.
2097
07e51550
DL
20982012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2099
2100 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2101 to support sed >= 4.2.1-20-ga9bf076.
2102 * configure: Regenerated.
2103
35a5b08b
RM
21042012-08-22 Roland McGrath <roland@hack.frob.com>
2105
2106 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2107 Conditionalize whole body on [IREL].
2108
8479f23a
JL
21092012-08-22 Jeff Law <law@redhat.com>
2110
2111 [BZ #14505]
2112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2113 if the family is PF_UNSPEC.
2114
48da0b21
MF
21152012-08-22 Mike Frysinger <vapier@gentoo.org>
2116
2117 * Makerules (lib-version): Rename from V.
2118 (install-lib-nosubdir): Change V to lib-version.
2119
15d0da8c
WS
21202012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2121
2122 [BZ #14252]
2123 * powerpc32/power6/wcschr.c: New file.
2124 * powerpc32/power6/wcscpy.c: New file.
2125 * powerpc32/power6/wcsrchr.c: New file.
2126 * powerpc64/power6/wcschr.c: New file.
2127 * powerpc64/power6/wcscpy.c: New file.
2128 * powerpc64/power6/wcsrchr.c: New file.
2129
bcca0895
MK
21302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2131
2132 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2133 (two_way_short_needle): Use it.
5a4aaa33
RM
2134 * string/strstr.c (AVAILABLE1_USES_J): Define.
2135 * string/strcasestr.c: Likewise.
99677e57
MK
2136
2137 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2138 array references.
2139 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2140
400726de
MK
2141 [BZ #11607]
2142 * NEWS: Add an entry.
2143 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2144 define their defaults.
2145 (two_way_short_needle): Detect end-of-string on-the-fly.
2146 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2147 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2148 * string/bug-strcasestr1.c: New test.
2149 * string/Makefile: Run it.
2150
20a71f2c
MK
21512012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2152
2153 [BZ #11607]
2154 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2155 the first character.
2156
21ad0558
RM
21572012-08-21 Roland McGrath <roland@hack.frob.com>
2158
2159 * csu/elf-init.c (__libc_csu_irel): Function removed.
2160 * csu/libc-start.c (apply_irel): New function.
2161 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2162
0e1d9911
JM
21632012-08-21 Joseph Myers <joseph@codesourcery.com>
2164
2165 * sysdeps/unix/sysv/linux/kernel-features.h
2166 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2167 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2168 <kernel-features.h>.
2169 [__NR_fadvise64_64]: Make code unconditional.
2170 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2171 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2172 !__NR_fadvise64_64)]: Likewise.
2173 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2174 !__NR_fadvise64_64))]: Likewise.
2175 [__NR_fadvise64]: Make code unconditional.
2176 [!__NR_fadvise64]: Remove conditional code.
2177 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2178 <kernel-features.h>.
2179 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2180 unconditional.
2181 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2182 conditional code.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2184 not include <kernel-features.h>.
2185 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2186 unconditional.
2187 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2188 conditional code.
2189 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2190 include <kernel-features.h>.
2191 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2192 unconditional.
2193 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2194 conditional code.
2195
14a50c9d
WS
21962012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2197
2198 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2199 slight instruction rearrangements per scrollpipe analysis.
2200 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2201
c0f4faf0
RM
22022012-08-20 Roland McGrath <roland@hack.frob.com>
2203
696da859
RM
2204 * manual/syslog.texi (syslog; vsyslog, closelog):
2205 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2206 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2207
c0f4faf0
RM
2208 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2209 DSOCAPS to match condition on defining it.
2210
348363b2
JM
22112012-08-20 Joseph Myers <joseph@codesourcery.com>
2212
a35cbf28
JM
2213 * sysdeps/unix/sysv/linux/kernel-features.h
2214 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2216 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2217 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2219 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2220 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2222 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2223 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2224
445f7ecd
JM
2225 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2226 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2227
348363b2
JM
2228 * sysdeps/unix/sysv/linux/kernel-features.h
2229 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2230 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2231 unconditional.
2232 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2233 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2234 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2235 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2236 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2237 Make code unconditional.
2238 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2239 (__mmap64) [!__NR_mmap2]: Likewise.
2240 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2241 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2242 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2243 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2244 [__NR_mmap2]: Make code unconditional.
2245 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2246 (__mmap64) [!__NR_mmap2]: Likewise.
2247
bc5bc0e5
AK
22482012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2249
2250 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2251
88d506de
AJ
22522012-08-18 Andreas Jaeger <aj@suse.de>
2253
2254 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2255
493387d2
MF
22562012-08-18 Mike Frysinger <vapier@gentoo.org>
2257
2258 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2259 * include/unistd.h (__have_sock_cloexec): Likewise.
2260 (__have_pipe2): Likewise.
2261 (__have_dup3): Likewise.
2262
a277af22
MF
22632012-08-18 Mike Frysinger <vapier@gentoo.org>
2264
2265 [BZ #9685]
2266 * include/unistd.h (__have_pipe2): Change define into an extern int.
2267 (__have_dup3): Likewise.
2268 * socket/have_sock_cloexec.c: Include fcntl.h.
2269 (__have_pipe2): New variable.
2270 (__have_dup3): Likewise.
2271
fdab8fd3
MF
22722012-08-17 Mike Frysinger <vapier@gentoo.org>
2273
2274 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2275
31035e80
MP
22762012-08-17 Marek Polacek <polacek@redhat.com>
2277
2278 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2279 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2280
3bd9e993
RM
22812012-08-17 Roland McGrath <roland@hack.frob.com>
2282
c91c505f
RM
2283 * configure.in: Add AC_SUBST for sysheaders.
2284 * configure: Regenerated.
2285 * config.make.in (sysheaders): New substituted variable.
2286
7c6f9d53
RM
2287 * sysdeps/unix/mkfifo.c: Moved ...
2288 * sysdeps/posix/mkfifo.c: ... here.
2289 * sysdeps/unix/mkfifoat.c: Moved ...
2290 * sysdeps/posix/mkfifoat.c: ... here.
2291
2292 * sysdeps/unix/utime.c: Moved ...
2293 * sysdeps/posix/utime.c: ... here.
2294
2295 * sysdeps/unix/time.c: Moved ...
2296 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2297 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2298 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2299
2300 * sysdeps/unix/nice.c: Moved ...
2301 * sysdeps/posix/nice.c: ... here.
2302
2303 * sysdeps/unix/alarm.c: Moved ...
2304 * sysdeps/posix/alarm.c: ... here.
2305
3bd9e993
RM
2306 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2307
d1f09384
JL
23082012-08-17 Jeff Law <law@redhat.com>
2309
2310 * intl/Makefile (codeset_mo): New variable.
2311 ($(codeset_mo)): New target.
2312 (tst-codeset.out): Depend on that. Remove explicit rule.
2313 (tst-gettext3.out, tst-gettext5.out): Likewise.
2314 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2315 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2316 * intl/tst-codeset.sh: Remove.
2317 * intl/tst-gettext3.sh: Likewise.
2318 * intl/tst-gettext5.sh: Likewise.
2319
2ae1ae5c
RM
23202012-08-17 Roland McGrath <roland@hack.frob.com>
2321
c31fdb83
RM
2322 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2323 * sysdeps/unix/syscalls.list: ... here.
2324
a0844057
RM
2325 * sysdeps/posix/getaddrinfo.c
2326 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2327 (gaiconf_init, gaiconf_reload): Use them.
2328 [!_STATBUF_ST_NSEC]
2329 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2330 Define using time_t rather than struct timespec.
2331
750c1f2a
RM
2332 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2333 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2334 Macros removed.
2335 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2336 [!NO_THREADS].
2337 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2338 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2339 Likewise.
2340
2ae1ae5c
RM
2341 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2342 __libc_cleanup_push argument.
2343
e66a42f5
RM
2344 * bits/param.h: New file.
2345 * misc/sys/param.h: New file.
2346 * include/sys/param.h: New file.
2347 * misc/Makefile (headers): Add bits/param.h.
2348 * sysdeps/generic/sys/param.h: File removed.
2349 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2350 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2351 * sysdeps/mach/hurd/bits/param.h: New file.
2352 * sysdeps/mach/hurd/sys/param.h: New file.
2353
b7c08a66
RM
2354 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2355 last change.
2356
b2e1c562
RM
2357 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2358 [_IO_MTSAFE_IO].
2359 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2360 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2361 New macros.
2362
c75ccd4c
RM
2363 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2364 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2365 rather than -D_IO_MTSAFE_IO conditionally.
2366 * stdio-common/Makefile (CPPFLAGS): Likewise.
2367 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2368 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2369 Use $(libio-mtsafe).
2370 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2371 of -D_IO_MTSAFE_IO.
2372 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2373 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2374 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2375 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2376 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2377 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2378 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2379 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2380 (CFLAGS-fread_u_chk.c): Likewise.
2381 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2382 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2383 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2384 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2385 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2386 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2387 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2388 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2389 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2390
2391 * libio/Makefile: Test [$(libc-reentrant) = yes]
2392 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2393
2394 * Makeconfig
2395 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2396 * sysdeps/pthread/configure: File removed.
2397 * sysdeps/pthread/Makeconfig: New file.
2398 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2399 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2400
d9195db8
GB
24012012-08-16 Gary Benson <gbenson@redhat.com>
2402
2403 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2404 unmapping the first object in a namespace.
2405
86466cd9
RM
24062012-08-16 Roland McGrath <roland@hack.frob.com>
2407
2408 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2409 (__internal_setnetgrent): ... this. Add internal_function to
2410 definition. Add libc_hidden_def.
2411 (setnetgrent): Update caller.
2412 (internal_endnetgrent): Renamed to ...
2413 (__internal_endnetgrent): ... this. Add internal_function to
2414 definition. Add libc_hidden_def.
2415 (endnetgrent): Update caller.
2416 (internal_getnetgrent_r): Renamed to ...
2417 (__internal_getnetgrent_r): ... this. Add internal_function to
2418 definition. Add libc_hidden_def.
2419 (__getnetgrent_r): Update caller.
2420 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2421
c3c8283c
JM
24222012-08-16 Joseph Myers <joseph@codesourcery.com>
2423
2424 * stdlib/longlong.h: Update from GCC.
2425
db1ee0a8
RM
24262012-08-16 Roland McGrath <roland@hack.frob.com>
2427
2428 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2429 on _QL, which is set by umul_ppmm but never used.
2430 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2431 variables, which are set by GMP macros but never used.
2432 * stdio-common/_itowa.c (_itowa): Likewise.
2433 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2434 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2435
30f69637
CD
24362012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2437
2438 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2439 struct La_sh_regs is not constant.
2440 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2441 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2442 and struct La_sparc64_regs are not constant.
2443
93a78ac4
JM
24442012-08-16 Joseph Myers <joseph@codesourcery.com>
2445
2446 * sysdeps/unix/sysv/linux/kernel-features.h
2447 (__ASSUME_POSIX_TIMERS): Remove.
2448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2449 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2450 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2451 Make code unconditional.
2452 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2453 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2454 Make code unconditional.
2455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2456 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2457 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2459 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2460 Make code unconditional.
2461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2462 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2463 (__libc_missing_posix_timers): Remove.
2464
dd924cd7
RM
24652012-08-15 Roland McGrath <roland@hack.frob.com>
2466
4b4f2771
RM
2467 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2468 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2469
601c888b
RM
2470 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2471
176790a7
RM
2472 * elf/dl-sym.c: Include <stdlib.h>.
2473
329bc018
RM
2474 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2475 constants, which avoids warnings in 32-bit builds.
2476
e04e272d
RM
2477 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2478 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2479
952bf94a
RM
2480 * misc/lseek.c: File moved to ...
2481 * io/lseek.c: ... here.
2482
7c99b50a
RM
2483 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2484
dd924cd7
RM
2485 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2486 shifting LEN more than 31 bits at once.
2487
b3f479a8
LD
24882012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2489
2490 [BZ #14195]
8c4ae0d4
RM
2491 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2492 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2493 * string/test-strncasecmp.c (check1): Renamed to...
2494 (bz12205): ...this.
2495 (bz14195): Add new testcase for two empty input strings and N > 0.
2496 (test_main): Call new testcase, adapt for renamed function.
2497
9c55864e
AJ
24982012-08-15 Andreas Jaeger <aj@suse.de>
2499
2500 [BZ #14090]
2501 * crypt/md5test2.c: New test, based on test supplied by Serge
2502 Belyshev <belyshev@depni.sinp.msu.ru>.
2503 * crypt/Makefile (xtests): Add md5test-giant..
2504 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2505
02dcb6c5
PE
25062012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2507
2508 [BZ #14090]
2509 * crypt/md5.c (md5_process_block): Don't assume the buffer
2510 length is less than 2**32.
2511 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2512 length is less than 2**64.
2513
a3f95dcc
RM
25142012-08-15 Roland McGrath <roland@hack.frob.com>
2515
be75d758
RM
2516 * string/str-two-way.h: Include <sys/param.h>.
2517 (MAX): Macro removed.
2518
7312ca90
RM
2519 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2520 Move #define and #undef of memmove to just before and after
2521 including <string.h>.
2522
9a0a5486
RM
2523 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2524 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2525 and after including <string.h>. Move declarations of
2526 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2527 to before #include "string/memmove.c".
2528
67cc348d
RM
2529 * include/dirent.h: Declare __getdirentries.
2530
a3f95dcc
RM
2531 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2532 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2533
ca98e171
MF
25342012-08-14 Mike Frysinger <vapier@gentoo.org>
2535
2536 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2537 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2538 * sysdeps/i386/configure: Regenerated.
2539 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2540 STABS_CURRENT_FILE, and STABS_FUN.
2541 (END): Remove call to STABS_FUN_END.
2542 (STABS_CURRENT_FILE1): Delete.
2543 (STABS_CURRENT_FILE): Likewise.
2544 (STABS_FUN): Likewise.
2545 (STABS_FUN_END): Likewise.
2546 (STABS_FUN2): Likewise.
2547 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2548 * sysdeps/x86_64/configure: Regenerated.
2549
5908bf46
RM
25502012-08-14 Roland McGrath <roland@hack.frob.com>
2551
2552 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2553 * elf/dl-lookup.c: Likewise.
5908bf46 2554
f2c05b9e
JM
25552012-08-14 Joseph Myers <joseph@codesourcery.com>
2556
2557 * sysdeps/unix/sysv/linux/kernel-features.h
2558 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2559 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2560 unconditionally.
2561 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2562 unconditionally.
2563 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2564 condition on __ASSUME_CLONE_THREAD_FLAGS.
2565
e11f5155
AJ
25662012-08-14 Andreas Jaeger <aj@suse.de>
2567
2568 * sysdeps/i386/fpu/libm-test-ulps: Update.
2569
51a9ba86
MK
25702012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2571
2fdd4f78
AJ
2572 * include/atomic.h (atomic_exchange_and_add): Split into ...
2573 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2574 New atomic macros.
51a9ba86 2575
ba6cba9e
MT
25762012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2577
2578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2579
42443a47
JL
25802012-08-13 Jeff Law <law@redhat.com>
2581
2582 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2583 null byte in the output string.
2584
121dce05
JM
25852012-08-10 Joseph Myers <joseph@codesourcery.com>
2586
2587 * sysdeps/unix/sysv/linux/kernel-features.h
2588 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2589 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2590 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2591 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2592 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2593 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2594 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2595
bf51f568
JL
25962012-08-09 Jeff Law <law@redhat.com>
2597
2598 [BZ #13939]
2599 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2600 When avoid_arena is set, don't retry in the that arena. Pick the
2601 next one, whatever it might be.
2602 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2603 (arena_lock): Pass in new parameter to arena_get2.
2604 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2605 arena_get2.
2606 (__libc_malloc): Unify retrying after main arena failure with
2607 __libc_memalign version.
2608 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2609
f85fa270
L
26102012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2611
2612 [BZ #14166]
2613 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2614 to __redirect_strstr.
2615 (__strstr_sse42): Use typeof __redirect_strstr.
2616 (__strstr_ia32): Likewise.
2617 (__libc_strstr): New prototype.
2618 (strstr): Renamed to ...
2619 (__libc_strstr): This.
2620 (strstr): New strong alias of __libc_strstr.
2621 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2622 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2623 __redirect_time.
2624 Include <time.h>.
2625 (__libc_time): New prototype.
2626 (time_ifunc): Replace time with __libc_time.
2627 (time): New strong alias and hidden definition of __libc_time.
2628 (__GI_time): Remove strong alias.
2629 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2630 Include <stddef.h>.
2631 (memmove): Redefined to __redirect_memmove.
2632 (__memmove_sse2): Use typeof __redirect_memmove.
2633 (__memmove_ssse3): Likewise.
2634 (__memmove_ssse3_back): Likewise.
2635 (__libc_memmove): New prototype.
2636 (memmove): Renamed to ...
2637 (__libc_memmove): This.
2638 (memmove): New strong alias of __libc_memmove.
2639
33b4a91e
MS
26402012-08-08 Mark Salter <msalter@redhat.com>
2641
2642 * elf/elf.h
2643 (R_MN10300_TLS_GD): Define.
2644 (R_MN10300_TLS_LD): Likewise.
2645 (R_MN10300_TLS_LDO): Likewise.
2646 (R_MN10300_TLS_GOTIE): Likewise.
2647 (R_MN10300_TLS_IE): Likewise.
2648 (R_MN10300_TLS_LE): Likewise.
2649 (R_MN10300_TLS_DTPMOD): Likewise.
2650 (R_MN10300_TLS_DTPOFF): Likewise.
2651 (R_MN10300_TLS_TPOFF): Likewise.
2652 (R_MN10300_SYM_DIFF): Likewise.
2653 (R_MN10300_ALIGN): Likewise.
2654 (R_MN10300_NUM): Update.
2655
b36137f1
JM
26562012-08-08 Joseph Myers <joseph@codesourcery.com>
2657
2658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2659 Remove.
2660
cdd915fd
RM
26612012-08-08 Roland McGrath <roland@hack.frob.com>
2662
a2433aac
RM
2663 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2664
cdd915fd
RM
2665 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2666 sysdeps/unix -> sysdeps/posix move.
2667 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2668
bf9b740a
AM
26692012-08-07 Allan McRae <allan@archlinux.org>
2670
2671 [BZ #14303]
2672 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2673 (SUNOS_CPP): Likewise.
2674 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2675 not found.
2676 (open_input): Call CPP using execvp.
2677
93df14ee
JM
26782012-08-07 Joseph Myers <joseph@codesourcery.com>
2679
2680 * sysdeps/unix/sysv/linux/kernel-features.h
2681 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2682 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2683 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2684 (__ASSUME_WAITID_SYSCALL): Likewise.
2685 * sysdeps/unix/sysv/linux/dl-execstack.c
2686 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2687 code unconditional.
2688 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2689 conditional code.
2690 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2691 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2692 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2693 code.
2694 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2695 unconditional.
2696 [__ASSUME_WAITID_SYSCALL]: Likewise.
2697 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2698
d34689de
RM
26992012-08-07 Roland McGrath <roland@hack.frob.com>
2700
a281decc
RM
2701 * sysdeps/unix/closedir.c: Renamed to ...
2702 * sysdeps/posix/closedir.c: ... here.
2703 * sysdeps/unix/dirfd.c: Renamed to ...
2704 * sysdeps/posix/dirfd.c: ... here.
2705 * sysdeps/unix/dirstream.h: Renamed to ...
2706 * sysdeps/posix/dirstream.h: ... here.
2707 * sysdeps/unix/fdopendir.c: Renamed to ...
2708 * sysdeps/posix/fdopendir.c: ... here.
2709 * sysdeps/unix/opendir.c: Renamed to ...
2710 * sysdeps/posix/opendir.c: ... here.
2711 * sysdeps/unix/readdir.c: Renamed to ...
2712 * sysdeps/posix/readdir.c: ... here.
2713 * sysdeps/unix/readdir_r.c: Renamed to ...
2714 * sysdeps/posix/readdir_r.c: ... here.
2715 * sysdeps/unix/rewinddir.c: Renamed to ...
2716 * sysdeps/posix/rewinddir.c: ... here.
2717 * sysdeps/unix/seekdir.c: Renamed to ...
2718 * sysdeps/posix/seekdir.c: ... here.
2719 * sysdeps/unix/telldir.c: Renamed to ...
2720 * sysdeps/posix/telldir.c: ... here.
2721 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2722 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2723 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2724 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2725
22895b47
RM
2726 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2727 * bits/fcntl.h: ... here.
2728
707a53b6
RM
2729 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2730 not 0.
2731 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2732 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2733 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2734 (struct flock): Move l_start, l_len to the beginning.
2735 Use __pid_t for l_pid.
2736 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2737 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2738 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2739 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2740 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2741 [__USE_LARGEFILE64] (struct flock64): New type.
2742 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2743
f0bd3e25
RM
2744 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2745 * bits/dirent.h: ... here.
2746
d34689de
RM
2747 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2748 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2749
6dad2c06
JM
27502012-08-07 Joseph Myers <joseph@codesourcery.com>
2751
2752 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2753 Change from 2.6.0 to 2.6.16.
2754 * sysdeps/unix/sysv/linux/configure: Regenerated.
2755 * sysdeps/unix/sysv/linux/kernel-features.h
2756 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2757 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2758 version.
2759 (__ASSUME_UTIMES): Likewise.
2760 (__ASSUME_CLONE_STOPPED): Remove.
2761 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2762 architectures, not kernel version.
2763 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2764 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2765 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2766 (__ASSUME_WAITID_SYSCALL): Likewise.
2767 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2768 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2769 * README: State 2.6.16 as minimum Linux kernel version. Do not
2770 refer to older versions.
2771
03af9520
RM
27722012-08-06 Roland McGrath <roland@hack.frob.com>
2773
8e49df1d
RM
2774 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2775 Define alphasort64 as an alias.
2776 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2777 Define versionsort64 as an alias.
2778 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2779 Define scandir64 as an alias.
2780 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2781 Define scandirat64 as an alias.
2782 * dirent/alphasort64.c (alphasort64):
2783 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2784 * dirent/versionsort64.c: Likewise.
2785 * dirent/scandir64.c: Likewise.
2786 * dirent/scandirat64.c: Likewise.
2787 * sysdeps/wordsize-64/alphasort.c: File removed.
2788 * sysdeps/wordsize-64/alphasort64.c: File removed.
2789 * sysdeps/wordsize-64/scandir.c: File removed.
2790 * sysdeps/wordsize-64/scandir64.c: File removed.
2791 * sysdeps/wordsize-64/scandirat.c: File removed.
2792 * sysdeps/wordsize-64/scandirat64.c: File removed.
2793 * sysdeps/wordsize-64/versionsort.c: File removed.
2794 * sysdeps/wordsize-64/versionsort64.c: File removed.
2795 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2796 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2797 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2798 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2799 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2800 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2801 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2802 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2803
2804 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2806 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2808 [defined __arch64__ || defined __sparcv9]
2809 (__INO_T_MATCHES_INO64_T): New macro.
2810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2811 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2812 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2813 * sysdeps/unix/sysv/linux/bits/dirent.h
2814 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2815 (_DIRENT_MATCHES_DIRENT64): New macro.
2816
03af9520
RM
2817 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2818 Define lockf64 as an alias.
2819 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2820 Define fseeko64 as an alias.
2821 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2822 Define ftello64 as an alias.
2823 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2824 Define _IO_fgetpos64 and fgetpos64 as aliases.
2825 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2826 Define _IO_fsetpos64 and fsetpos64 as aliases.
2827 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2828 Conditionalize body on this.
2829 * libio/fseeko64.c: Likewise.
2830 * libio/ftello64.c: Likewise.
2831 * libio/iofgetpos64.c: Likewise.
2832 * libio/iofsetpos64.c: Likewise.
2833 * sysdeps/wordsize-64/lockf.c: File removed.
2834 * sysdeps/wordsize-64/lockf64.c: File removed.
2835 * sysdeps/wordsize-64/fseeko.c: File removed.
2836 * sysdeps/wordsize-64/fseeko64.c: File removed.
2837 * sysdeps/wordsize-64/ftello.c: File removed.
2838 * sysdeps/wordsize-64/ftello64.c: File removed.
2839 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2840 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2841 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2842 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2843 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2844 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2845 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2846 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2847 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2848 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2849 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2850 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2851 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2852 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2853
2854 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2856 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2858 [defined __arch64__ || defined __sparcv9]
2859 (__OFF_T_MATCHES_OFF64_T): New macro.
2860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2861 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2863 (__OFF_T_MATCHES_OFF64_T): New macro.
2864
c5757acd
L
28652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2866
2867 * stdlib/secure-getenv.c (__secure_getenv): Replace
2868 GLIBC_2_16 with GLIBC_2_17.
2869
3a31811e
L
28702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2871
2872 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2874
faa2bccb
DM
28752012-08-03 David S. Miller <davem@davemloft.net>
2876
2877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2878
85fe1997
JM
28792012-08-03 Joseph Myers <joseph@codesourcery.com>
2880
2881 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2882 Remove.
2883 (__ASSUME_CORRECT_SI_PID): Likewise.
2884 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2885 (__ASSUME_TMPFS_NAME): Likewise.
2886 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2887 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2888 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2889 (HAVE_AUX_SECURE): Make definition unconditional.
2890 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2891 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2892
4f75b7a0
RM
28932012-08-03 Roland McGrath <roland@hack.frob.com>
2894
2895 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2896 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2897 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2898 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2899 __eloop_threshold instead of SYMLOOP_MAX.
2900
2901 * sysdeps/generic/eloop-threshold.h: New file.
2902 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2903 of MAXSYMLINKS.
2904 * elf/chroot_canon.c (chroot_canon): Likewise.
2905
7aab07e4
JM
29062012-08-03 Joseph Myers <joseph@codesourcery.com>
2907
2908 [BZ #13717]
2909 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2910 Change to 2.6.0 everywhere.
2911 * sysdeps/unix/sysv/linux/configure: Regenerated.
2912 * sysdeps/unix/sysv/linux/kernel-features.h
2913 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2914 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2915 kernel versions.
2916 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2917 (__ASSUME_FUTEX_REQUEUE): Remove.
2918 (__ASSUME_STATFS64): Define unconditionally.
2919 (__ASSUME_AT_SECURE): Likewise.
2920 (__ASSUME_CORRECT_SI_PID): Likewise.
2921 (__ASSUME_TGKILL): Define without depending on kernel version for
2922 i386.
2923 (__ASSUME_UTIMES): Likewise.
2924 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2925 kernel version.
2926 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2927 (__ASSUME_TMPFS_NAME): Likewise.
2928 * README: Update reference to Linux kernel versions.
2929
b67e9372
MP
29302012-08-02 Marek Polacek <polacek@redhat.com>
2931
1f529f7d 2932 [BZ# 14150]
b67e9372
MP
2933 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2934 libc_cv_asm_type_prefix with %.
2935 * configure: Regenerated.
d2441631
RM
2936 * include/libc-symbols.h: Remove comment about
2937 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2938 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2939 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2940 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2941 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2942 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2943 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2944 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2945 * elf/tst-unique2mod1.c: Likewise.
2946 * elf/tst-unique1mod2.c: Likewise.
2947 * elf/tst-unique1mod1.c: Likewise.
2948 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2949 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2950 Replace ASM_TYPE_DIRECTIVE with .type.
2951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2952 * sysdeps/i386/sysdep.h: Likewise.
2953 * sysdeps/x86_64/sysdep.h: Likewise.
2954 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2956 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2957 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2958 * sysdeps/powerpc/powerpc32/sysdep.h:
2959 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2960 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2961 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2962 * sysdeps/i386/fpu/e_powf.S: Likewise.
2963 * sysdeps/i386/fpu/e_expl.S: Likewise.
2964 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2965 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2966 * sysdeps/i386/fpu/e_pow.S: Likewise.
2967 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2968 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2969 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2970 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2971 * sysdeps/i386/fpu/e_log2.S: Likewise.
2972 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2973 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2974 * sysdeps/i386/fpu/e_powl.S: Likewise.
2975 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2976 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2977 * sysdeps/i386/fpu/e_logl.S: Likewise.
2978 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2979 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2980 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2981 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2982 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2983 * sysdeps/i386/fpu/e_log.S: Likewise.
2984 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2985 * sysdeps/i386/fpu/e_logf.S: Likewise.
2986 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2987 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2988 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2989 * sysdeps/i386/fpu/e_log10.S: Likewise.
2990 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2991 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2992 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2993 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2994 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2995 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2996 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2997 * sysdeps/i386/i686/strtok.S: Likewise.
2998 * sysdeps/i386/i386-mcount.S: Likewise.
2999 * sysdeps/i386/strtok.S: Likewise.
3000 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3001 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3003 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3004 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3005 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3006 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3007 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3008 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3009 * sysdeps/x86_64/_mcount.S: Likewise.
3010 * sysdeps/x86_64/strtok.S: Likewise.
3011 * sysdeps/sh/_mcount.S: Likewise.
3012
2747bf9a
RM
30132012-08-01 Roland McGrath <roland@hack.frob.com>
3014
3015 * libio/iofopen.c: Include <fcntl.h>.
3016 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3017 (_IO_fopen64, fopen64): Define as aliases.
3018 * libio/iofopen64.c: Include <fcntl.h>.
3019 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3020 Conditionalize body on this.
3021 * sysdeps/wordsize-64/iofopen.c: File removed.
3022 * sysdeps/wordsize-64/iofopen64.c: File removed.
3023
3fb791b8
MP
30242012-08-01 Marek Polacek <polacek@redhat.com>
3025
3026 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3027 Use dlfcn directly instead of a variable.
3028 (binfmt-subdir): Do not define.
3029 (dlfcn): Likewise.
3030
a9f1039f
JM
30312012-08-01 Joseph Myers <joseph@codesourcery.com>
3032
23bddc06
JM
3033 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3034 Remove all definitions.
3035 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3036 <kernel-features.h>.
3037 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3038 (miss_F_GETOWN_EX): Remove all definitions.
3039 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3040 macro definition.
3041 [!__ASSUME_FCNTL64]: Remove conditional code.
3042 [__ASSUME_FCNTL64]: Make code unconditional.
3043 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3044 <kernel-features.h>.
3045 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3046 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3047 (lockf64) [__NR_fcntl64]: Make code unconditional.
3048 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3049
a9f1039f
JM
3050 * sysdeps/unix/sysv/linux/kernel-features.h
3051 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3052 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3053 Make code unconditional.
3054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3057 [__NR_vfork]: Make code unconditional.
3058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3061 [__NR_vfork]: Make code unconditional.
3062 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3063 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3064
09c0ee5f
RM
30652012-08-01 Roland McGrath <roland@hack.frob.com>
3066
48aec5b9
RM
3067 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3068 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3069
cd97c966
RM
3070 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3071 Define mkstemp64 as an alias.
3f55550c
RM
3072 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3073 Define mkstemps64 as an alias.
cd97c966
RM
3074 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3075 Define mkostemp64 as an alias.
b8625cfc
RM
3076 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3077 Define mkostemps64 as an alias.
cd97c966
RM
3078 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3079 Conditionalize body on this.
3080 * misc/mkostemp64.c: Likewise.
b8625cfc 3081 * misc/mkostemps64.c: Likewise.
3f55550c 3082 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3083 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3084 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3085 * sysdeps/wordsize-64/mkostemp.c: File removed.
3086 * sysdeps/wordsize-64/mkstemp.c: File removed.
3087 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3088 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3089 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3090 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3091
09c0ee5f
RM
3092 [BZ #14138]
3093 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3094 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3095 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3096 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3097
3098 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3099 compat_symbol macros from <shlib-compat.h> rather than the underlying
3100 default_symbol_version and symbol_version macros, so that DEFAULT
3101 lines in shlib-versions are respected.
3102 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3103
7e66ee51
FW
31042012-08-01 Florian Weimer <fweimer@redhat.com>
3105
3106 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3107 Declare with warn_unused_result.
3108 (setgid, setregid, setegid, setresgid): Likewise.
3109 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3110 Likewise.
3111 * WUR-REPORT: Remove set*id functions.
3112
d2a54255
PT
31132012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3114
3115 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3116
7ecdb005
RM
31172012-07-31 Roland McGrath <roland@hack.frob.com>
3118
789bd351
RM
3119 * include/sys/socket.h (__libc_accept, __libc_accept4):
3120 Add attribute_hidden.
3121 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3122
40ce302d
RM
3123 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3124 use of PTR_MANGLE.
3125 * inet/getnetgrent_r.c (setup): Likewise.
3126
7ecdb005
RM
3127 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3128
e2eabb2c
DM
31292012-07-31 David S. Miller <davem@davemloft.net>
3130
3131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3132
d0419dbf
JM
31332012-07-31 Joseph Myers <joseph@codesourcery.com>
3134
3135 [BZ #13629]
3136 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3137 value between 1.0 and 2.0 and smaller part has absolute value less
3138 than 1.0.
3139 * math/s_clog10.c (__clog10): Likewise.
3140 * math/s_clog10f.c (__clog10f): Likewise.
3141 * math/s_clog10l.c (__clog10l): Likewise.
3142 * math/s_clogf.c (__clogf): Likewise.
3143 * math/s_clogl.c (__clogl): Likewise.
3144 * math/libm-test.inc (clog_test): Add more tests.
3145 (clog10_test): Likewise.
3146 * sysdeps/i386/fpu/libm-test-ulps: Update.
3147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3148
2bc13872
FW
31492012-07-31 Florian Weimer <fweimer@redhat.com>
3150
3151 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3152 Exit with zero in case no suitable GID is found, and write a
3153 message to standard error.
3154
bea9b193
RM
31552012-07-30 Roland McGrath <roland@hack.frob.com>
3156
3157 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3158 rather than to 1.
3159 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3160 (MAXPATHLEN): Removed.
3161 (NOGROUP, NODEV): New macros.
3162 (setbit, clrbit, isset, isclr): New macros.
3163 (howmany, roundup, powerof2): New macros.
3164 (DEV_BSIZE): New macro.
3165
3166 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3167 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3168
3169 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3170 definition on [!__NO_LONG_DOUBLE_MATH].
3171
3172 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3173 PTR_MANGLE and PTR_DEMANGLE.
3174
3175 * socket/accept4.c (accept4): Rename to __libc_accept4.
3176 Define accept4 as a weak alias.
3177
3178 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3179 on [_DIRENT_HAVE_D_TYPE].
3180 * io/ftw.c (ftw_dir): Likewise.
3181
3182 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3183
3184 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3185
3186 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3187 Use the BSD numbers rather than the arbitrary ones we had.
3188 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3189 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3190 (SIGXCPU, SIGXFSZ): New macros.
3191 (_NSIG): Now 32.
3192
3193 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3194 initializer on [_LIBC_REENTRANT].
3195
3196 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3197 definitions inside [_POSIX_MAPPED_FILES].
3198
3199 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3200
3201 * dirent/opendir.c: Include <fcntl.h>.
3202
3203 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3204 (__libc_getspecific): Likewise.
3205 (__libc_key_create): Likewise.
3206
3207 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3208 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3209 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3210 (tmpfile64): Define as alias.
3211 * sysdeps/wordsize-64/tmpfile.c: File removed.
3212 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3213 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3214 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3215
3216 * stdio-common/vfscanf.c: Include <stdbool.h>.
3217 * nss/makedb.c: Likewise.
3218 * stdio-common/_i18n_number.h: Likewise.
3219 * argp/argp-help.c: Likewise.
3220 * posix/wordexp.c: Likewise.
3221 * sysdeps/posix/spawni.c: Likewise.
3222 * nss/nss_files/files-initgroups.c: Likewise.
3223 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3224 * nss/nss_files/files-initgroups.c: Likewise.
3225 * nss/nss_db/db-netgrp.c: Likewise.
3226 * nss/nss_db/db-initgroups.c: Likewise.
3227 * io/fchmodat.c: Include <sys/stat.h>.
3228
3229 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3230 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3231
3232 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3233 [HAVE_MMAP].
3234
3235 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3236 Add multiple inclusion protection.
3237
e5abc686
DM
32382012-07-27 David S. Miller <davem@davemloft.net>
3239
3240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3241
815e6fa3
GB
32422012-07-27 Gary Benson <gbenson@redhat.com>
3243
3244 [BZ #14298]
3245 * elf/rtld.c: Include <stap-probe.h>.
3246 (dl_main): Added static probes "init_start" and "init_complete".
3247 * elf/dl-load.c: Include <stap-probe.h>.
3248 (lose): Take new parameter "nsid".
3249 Added static probe "map_failed".
3250 (_dl_map_object_from_fd): Pass namespace id to lose.
3251 Added static probe "map_start".
3252 (open_verify): Pass namespace id to lose.
3253 * elf/dl-open.c: Include <stap-probe.h>.
3254 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3255 and "reloc_complete".
3256 * elf/dl-close.c: Include <stap-probe.h>.
3257 (_dl_close_worker): Added static probes "unmap_start" and
3258 "unmap_complete".
3259 * elf/rtld-debugger-interface.txt: New file documenting the above.
3260
9f98c16c
RM
32612012-07-26 Roland McGrath <roland@hack.frob.com>
3262
3263 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3264 rather than a string variable.
3265 * sunrpc/rpc_main.c (h_output): Likewise.
3266 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3267
f3c22df3
PT
32682012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3269
3270 * inet/check_native.c: New file.
3271
3129cfc6
JM
32722012-07-26 Joseph Myers <joseph@codesourcery.com>
3273
da865e95
JM
3274 [BZ #13629]
3275 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3276 if larger part has absolute value 1.0.
3277 * math/s_clog10.c (__clog10): Likewise.
3278 * math/s_clog10f.c (__clog10f): Likewise.
3279 * math/s_clog10l.c (__clog10l): Likewise.
3280 * math/s_clogf.c (__clogf): Likewise.
3281 * math/s_clogl.c (__clogl): Likewise.
3282 * math/libm-test.inc (clog_test): Add more tests.
3283 (clog10_test): Likewise.
3284 * sysdeps/i386/fpu/libm-test-ulps: Update.
3285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3286
3129cfc6
JM
3287 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3288 (pltexit): Likewise.
3289 (La_regs): Likewise.
3290 (La_retval): Likewise.
3291 (int_retval): Likewise.
3292 Update #error for removed macros to refer only to definitions in
3293 tst-audit.h.
3294 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3295 macro.
3296 (pltexit): Likewise.
3297 (La_regs): Likewise.
3298 (La_retval): Likewise.
3299 (int_retval): Likewise.
3300 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3301 macro.
3302 (pltexit): Likewise.
3303 (La_regs): Likewise.
3304 (La_retval): Likewise.
3305 (int_retval): Likewise.
3306 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3307 macro.
3308 (pltexit): Likewise.
3309 (La_regs): Likewise.
3310 (La_retval): Likewise.
3311 (int_retval): Likewise.
3312 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3313 macro.
3314 (pltexit): Likewise.
3315 (La_regs): Likewise.
3316 (La_retval): Likewise.
3317 (int_retval): Likewise.
3318 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3319 macro.
3320 (pltexit): Likewise.
3321 (La_regs): Likewise.
3322 (La_retval): Likewise.
3323 (int_retval): Likewise.
3324 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3325 macro.
3326 (pltexit): Likewise.
3327 (La_regs): Likewise.
3328 (La_retval): Likewise.
3329 (int_retval): Likewise.
3330 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3331 macro definitions in tst-audit.h.
3332 * sysdeps/i386/tst-audit.h: New file.
3333 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3334 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3335 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3336 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3337 * sysdeps/sh/tst-audit.h: Likewise.
3338 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3339 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3340 * sysdeps/x86_64/tst-audit.h: Likewise.
3341
bfc07087
AJ
33422012-07-26 Andreas Jaeger <aj@suse.de>
3343
b1b2aaf8
AJ
3344 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3345 ptrace.
3346
3347 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3348 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3349 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3350 PTRACE_O_MASK.
3351 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3352 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3354
bfc07087
AJ
3355 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3356 value.
3357
3358 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3359 _sigsys.
3360 (si_call_addr, si_syscall, si_arch): Define new macro.
3361 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3362 _sigsys.
3363 (si_call_addr, si_syscall, si_arch): Define new marcro.
3364 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3365 _sigsys.
3366 (si_call_addr, si_syscall, si_arch): Define new macro.
3367 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3368 _sigsys.
3369 (si_call_addr, si_syscall, si_arch): Define new macro.
3370
89b4b02f
JM
33712012-07-25 Joseph Myers <joseph@codesourcery.com>
3372
3373 [BZ #13717]
3374 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3375 Change to 2.4.21 where previously 2.4.1.
3376 * sysdeps/unix/sysv/linux/configure: Regenerated.
3377 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3378 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3379 Linux kernel version.
3380 (__ASSUME_STD_AUXV): Remove.
3381 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3382 kernel version.
3383 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3384 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3385 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3386 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3387 (__ASSUME_NETLINK_SUPPORT): Likewise.
3388 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3389 (__no_netlink_support): Remove conditional definition.
3390 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3391 Remove.
3392 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3393 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3394 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3395 (if_nameindex_ioctl): Remove.
3396 (if_nameindex_netlink): Do not handle __no_netlink_support.
3397 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3398 code.
3399 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3400 Remove conditional code.
3401 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3402 code.
3403 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3404 unconditional.
3405 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3406 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3407 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3408 Remove.
3409 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3410 [!__ASSUME_STD_AUXV]: Remove conditional code.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3412 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3413 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3415 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3416 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3417 code.
3418 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3420 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3421 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3422 conditional code.
3423 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3425 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3426 code.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3428 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3429 conditional code.
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3431 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3432 code unconditional.
3433 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3434 conditional code.
3435 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3436 unconditional.
3437 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3438 conditional code.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3440 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3441 unconditional.
3442 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3443 conditional code.
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3445 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3446 code unconditional.
3447 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3448 conditional code.
3449 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3450 unconditional.
3451 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3452 conditional code.
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3454 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3455 code unconditional.
3456 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3457 conditional code.
3458 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3459 unconditional.
3460 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3461 conditional code.
3462
842a39cd
AS
34632012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3464
3465 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3466 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3467 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3468 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3469 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3470 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3471 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3472 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3473 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3474 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3475 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3476 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3477 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3478 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3479 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3480 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3481 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3482 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3483 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3485 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3486 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3488
84b3fd84
FW
34892012-07-25 Florian Weimer <fweimer@redhat.com>
3490
3491 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3492 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3493 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3494 Introduce __libc_secure_getenv.
0c7936d5
FW
3495 * stdlib/Versions (2.17): Add secure_getenv
3496 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3497 * stdlib/secure-getenv.c: Rename __secure_getenv to
3498 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3499 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3500 * stdlib/tst-secure-getenv.c: New.
3501 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3502 * manual/startup.texi (Environment Access): Document
3503 secure_getenv.
84b3fd84
FW
3504 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3505 __libc_secure_getenv.
3506 * inet/ruserpass.c (ruserpass): Likewise.
3507 * malloc/mtrace.c (mtrace): Likewise.
3508 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3509 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3510 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3511 * sysdeps/posix/tempname.c: Likewise. Evaluate
3512 HAVE_SECURE_GETENV.
3513 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3514 __secure_getenv to __libc_secure_getenv.
84b3fd84 3515 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3517 Likewise.
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3519 Likewise.
3520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3527
56e49b71
JM
35282012-07-25 Joseph Myers <joseph@codesourcery.com>
3529
3530 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3531 (struct La_i86_retval): Likewise.
3532 (struct La_x86_64_regs): Likewise.
3533 (struct La_x86_64_retval): Likewise.
3534 (struct La_x32_regs): Likewise.
3535 (struct La_x32_retval): Likewise.
3536 (struct La_ppc32_regs): Likewise.
3537 (struct La_ppc32_retval): Likewise.
3538 (struct La_ppc64_regs): Likewise.
3539 (struct La_ppc64_retval): Likewise.
3540 (struct La_sh_regs): Likewise.
3541 (struct La_sh_retval): Likewise.
3542 (struct La_s390_32_regs): Likewise.
3543 (struct La_s390_32_retval): Likewise.
3544 (struct La_s390_64_regs): Likewise.
3545 (struct La_s390_64_retval): Likewise.
3546 (struct La_sparc32_regs): Likewise.
3547 (struct La_sparc32_retval): Likewise.
3548 (struct La_sparc64_regs): Likewise.
3549 (struct La_sparc64_retval): Likewise.
3550 (struct audit_ifaces): Remove architecture-specific pltenter and
3551 pltexit members.
3552 * sysdeps/i386/ldsodefs.h: New file.
3553 * sysdeps/powerpc/ldsodefs.h: Likewise.
3554 * sysdeps/s390/ldsodefs.h: Likewise.
3555 * sysdeps/sh/ldsodefs.h: Likewise.
3556 * sysdeps/sparc/ldsodefs.h: Likewise.
3557 * sysdeps/x86_64/ldsodefs.h: Likewise.
3558
354691b7
MP
35592012-07-25 Marek Polacek <polacek@redhat.com>
3560
3561 [BZ #6808]
3562 * math/libm-test.inc (yn_test): Add another test.
3563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3564 to ERANGE when the result is +-Inf.
3565 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3566 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3567 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3568 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3569
bf9e2071
JM
35702012-07-24 Joseph Myers <joseph@codesourcery.com>
3571
3572 * conform/data/time.h-data (NULL): Use macro-constant. Require
3573 equal to 0.
3574 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3575 clock_t.
3576 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3577
57633811
TS
35782012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3579
3580 * configure.in <sysdeps resolving>: Correct printing
3581 Implies_before.
3582 * configure: Regenerate.
3583
c23c33b0
TS
35842012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3585
3586 * math/w_ilogb.c: Include <limits.h>.
3587 * math/w_ilogbl.c: Likewise.
3588
b5982523
JM
35892012-07-20 Joseph Myers <joseph@codesourcery.com>
3590
3591 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3592 va_copy. Document allowing for unavailable va_copy only as
3593 pre-C99 compatibility.
3594 * manual/string.texi (Copying and Concatenation): Use va_copy
3595 instead of __va_copy in concat example.
3596
ac4ea442
PT
35972012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3598
3599 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3600 (__sendto): Use create_address_port. Initialize APORT and deallocate
3601 it if not null.
3602
f98eafbd
PT
3603 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3604 with O_NOLINK passed to __file_name_lookup.
3605
898c7aab
PT
3606 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3607 with O_NOLINK passed to __file_name_lookup.
3608
0ced335a
PT
3609 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3610 negative N or less than NGIDS.
3611
b3404dbd
PT
3612 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3613 type to string_t. Set ERANGE as errno and return it if NAME is not big
3614 enough. Use memcpy instead of strncpy.
3615
0f48659e
JM
36162012-07-20 Joseph Myers <joseph@codesourcery.com>
3617
3618 * elf/Makefile (check-data): Remove.
3619 (localplt.data): New vpath directive.
3620 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3621 instead of $(check-data).
3622 * scripts/data/localplt-generic.data: Move to ...
3623 * sysdeps/generic/localplt.data: ... here.
3624 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3625 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3626 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3628 ... here.
3629 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3631 ... here.
3632 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3634 ... here.
3635 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3637 ... here.
3638 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3640 ... here.
3641 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3643 ... here.
3644
d37cbdaa
AZ
36452012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3646
3647 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3648 PPC32 and PPC64 files.
3649 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3650 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3651
46f85fc2
AK
36522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3653
3654 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3655 __makecontext_ret to ...
3656 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3657 ... here and call exit if uc_link is NULL. New file.
3658 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3659 __makecontext_ret.S.
3660 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3661 __makecontext_ret to ...
3662 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3663 ... here and call exit if uc_link is NULL. New file.
3664 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3665 __makecontext_ret.S.
3666
08f43f9b
AK
36672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3668
3669 * elf/elf.h (R_390_IRELATIVE): New definition.
3670 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3671 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3672 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3673 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3674 (elf_machine_lazy_rel): Likewise.
3675 * sysdeps/s390/dl-irel.h: New file.
3676 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3677 * sysdeps/s390/s390-64/memset.S: New asm code.
3678 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3679 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3680 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3681 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3682 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3683 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3684 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3685 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3686 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3687 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3688 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3689 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3690 * sysdeps/s390/s390-32/memset.S: New asm code.
3691 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3692
3b05db33
MP
36932012-07-17 Marek Polacek <polacek@redhat.com>
3694
3695 [BZ #14349]
3696 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3697 * sysdeps/s390/s390-64/configure.in: Likewise.
3698 * sysdeps/sparc/configure.in: Likewise.
3699 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3700 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3701 * sysdeps/i386/configure.in: Likewise.
3702 * sysdeps/x86_64/configure.in: Likewise.
3703 * sysdeps/sh/configure.in: Likewise.
3704 * sysdeps/s390/s390-32/configure: Regenerated.
3705 * sysdeps/s390/s390-64/configure: Likewise.
3706 * sysdeps/x86_64/configure: Likewise.
3707 * sysdeps/sh/configure: Likewise.
3708 * sysdeps/powerpc/powerpc64/configure: Likewise.
3709 * sysdeps/powerpc/powerpc32/configure: Likewise.
3710 * sysdeps/sparc/configure: Likwise.
3711 * sysdeps/i386/configure: Likewise.
3712
a66877c6
MP
3713 * elf/dl-open.c: Comment fixes.
3714
cfc82fd8
JM
37152012-07-17 Joseph Myers <joseph@codesourcery.com>
3716
bd29910a
JM
3717 * Makefile [CXX] (check-data): Remove.
3718 [CXX] (c++-types.data): New vpath directive.
3719 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3720 vpath. Do not allow for C++ type data being missing.
3721 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3722 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3723 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3724 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3725 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3726 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3727 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3729 ... here.
3730 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3732 ... here.
3733 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3735 ... here.
3736 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3738 ... here.
3739 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3741 ... here.
3742 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3744 ... here.
3745 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3747 ... here.
3748 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3750
cfc82fd8
JM
3751 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3752 definitions to architecture-specific files.
3753 (TLS_IE): Likewise.
3754 (TLS_LD): Likewise.
3755 (TLS_GD): Likewise.
3756 * sysdeps/i386/tls-macros.h: New file.
3757 * sysdeps/powerpc/tls-macros.h: Likewise.
3758 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3759 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3760 * sysdeps/sh/tls-macros.h: Likewise.
3761 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3762 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3763 * sysdeps/x86_64/tls-macros.h: Likewise.
3764
f7db3170
TS
37652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3766
07cbfc23
TS
3767 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3768 zero value for regular exit case.
3769
f7db3170
TS
3770 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3771 (__start_context): Preserve zero value for regular exit case.
3772
dc97c227
TS
37732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3774 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3775
3776 * manual/setjmp.texi (setcontext): Clarify normal process
3777 termination when uc_link is the null pointer.
3778 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3779 exit call.
3780
d0cd7d02
AS
37812012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3782
3783 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3784 preprocessor. Test for each exception mask separately.
3785
dd318934
AJ
37862012-07-16 Andreas Jaeger <aj@suse.de>
3787
3788 * po/ru.po: Update from translation team.
3789
8048311a
JM
37902012-07-15 Joseph Myers <joseph@codesourcery.com>
3791
3792 * conform/data/string.h-data (NULL): Use macro-constant. Require
3793 equal to 0.
3794 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3795 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3796 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3797 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3799
b637d46e
AJ
38002012-07-13 Andreas Jaeger <aj@suse.de>
3801
3802 * po/fr.po: Update from translation team.
3803
541428fe
MP
38042012-07-12 Marek Polacek <polacek@redhat.com>
3805
3806 [BZ #14173]
3807 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3808 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3809 loop condition.
3810
ec332e94
JM
38112012-07-12 Joseph Myers <joseph@codesourcery.com>
3812
3813 [BZ #13717]
3814 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3815 Change to 2.4.1 where previously 2.4.0.
3816 * sysdeps/unix/sysv/linux/configure: Regenerated.
3817 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3818 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3819 version.
3820 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3821 (__ASSUME_AT_CLKTCK): Remove.
3822 (__ASSUME_AT_PAGESIZE): Likewise.
3823 (__ASSUME_AT_XID): Likewise.
3824 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3825 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3826 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3827 unconditionally.
3828 (HAVE_AUX_PAGESIZE): Likewise.
3829 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3830 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3831 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3832
7b6e99be
JB
38332012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3834
3835 [BZ #14307]
3836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3837 the temporary buffer used to invoke __gethostbyname2_r,
3838 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3839 host_data / struct gaih_addrtuple.
3840 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3841 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3842 header file nss/nsswitch.h.
3843 * nss/nsswitch.h (global scope): Add definition of implementation
3844 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3845 resolv/nss_dns/dns-host.c).
3846
608404eb
AJ
38472012-07-11 Andreas Jaeger <aj@suse.de>
3848
3849 * po/fr.po: Update from translation team.
3850
71220aca
AJ
3851 * po/sv.po: Update from translation team
3852 * po/fr.po: Another update from translation team.
3853
28cfe843
AZ
38542012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3855
3856 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3857 for subnormals or multiply small sinh result by itself.
3858 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3860
6b90f981
DM
38612012-07-11 David S. Miller <davem@davemloft.net>
3862
3863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3864
c6825772
AS
38652012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3866
3867 [BZ #14347]
3868 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3869 (INTERNAL_MARK): Shift it here.
3870
7b8e0d49
MP
38712012-07-10 Marek Polacek <polacek@redhat.com>
3872
3873 [BZ #14151]
3874 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3875 libc_cv_asm_global_directive with .globl.
3876 * configure: Regenerated.
3877 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3878 with .globl.
3879 * sysdeps/i386/configure: Regenerated.
3880 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3881 with .globl.
3882 * sysdeps/x86_64/configure: Regenerated.
3883 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3884 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3885 * elf/tst-unique2mod2.c: Likewise.
3886 * elf/tst-unique2mod1.c: Likewise.
3887 * elf/tst-unique1mod2.c: Likewise.
3888 * elf/tst-unique1mod1.c: Likewise.
3889 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3890 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3891 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3892 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3893 * sysdeps/mach/sysdep.h: Likewise.
3894 * sysdeps/i386/sysdep.h: Likewise.
3895 * sysdeps/i386/i386-mcount.S: Likewise.
3896 * sysdeps/x86_64/_mcount.S: Likewise.
3897 * sysdeps/x86_64/sysdep.h: Likewise.
3898 * sysdeps/sh/_mcount.S: Likewise.
3899 * sysdeps/sh/sysdep.h: Likewise.
3900 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3901 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3902 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3903 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3904 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3906 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3907 * locale/localeinfo.h: Likewise.
3908 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3909 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3910
6c55cda3
RM
39112012-07-09 Roland McGrath <roland@hack.frob.com>
3912
3913 [BZ #14336]
3914 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3915 system".
3916 * manual/message.texi (The Uniforum approach): Likewise.
3917 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3918 (glibc iconv Implementation): Likewise.
3919
638a572e
JM
39202012-07-09 Joseph Myers <joseph@codesourcery.com>
3921
3922 [BZ #14337]
3923 * math/s_clog.c (__clog): Avoid scaling a value down where that
3924 could result in underflow.
3925 * math/s_clog10.c (__clog10): Likewise.
3926 * math/s_clog10f.c (__clog10f): Likewise.
3927 * math/s_clog10l.c (__clog10l): Likewise.
3928 * math/s_clogf.c (__clogf): Likewise.
3929 * math/s_clogl.c (__clogl): Likewise.
3930 * math/libm-test.inc (clog_test): Add more tests.
3931 (clog10_test): Likewise.
3932 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3934
261f4859
AS
39352012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3936
0abaf3e4
AS
3937 [BZ #14283]
3938 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3939 by 7 not 8 to examine high bit of fractional part.
3940
261f4859
AS
3941 [BZ #14042]
3942 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3943 for call to __mcount_internal.
3944 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3945 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3946 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3947
f17ac40d
JM
39482012-07-06 Joseph Myers <joseph@codesourcery.com>
3949
9ad63c23
JM
3950 [BZ #14154]
3951 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3952 approximation for values within 0x1p-13f of an odd multiple of
3953 pi/4.
3954 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3955 exception. Add more tests.
3956 * sysdeps/i386/fpu/libm-test-ulps: Update.
3957
f17ac40d
JM
3958 [BZ #6778]
3959 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3960 inputs and return -1 for them. Do not check for +Inf in case not
3961 reachable for +Inf.
3962 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3963 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3964 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3965 and return -1 for them. Do not check for +Inf in case not
3966 reachable for +Inf.
3967 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3968 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3973 spurious underflow.
3974 * sysdeps/i386/fpu/libm-test-ulps: Update.
3975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3976
fb21f89b
MF
39772012-07-06 Mike Frysinger <vapier@gentoo.org>
3978
3979 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3980
cdfe2c5e
JM
39812012-07-05 Joseph Myers <joseph@codesourcery.com>
3982
3983 [BZ #14157]
3984 [BZ #14331]
3985 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3986 could result in spurious underflow. Scale down values above
3987 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3988 * math/s_csqrtf.c (__csqrtf): Likewise.
3989 * math/s_csqrtl.c (__csqrtl): Likewise.
3990 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3991 spurious underflow.
3992 * sysdeps/i386/fpu/libm-test-ulps: Update.
3993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3994
70d35b67
AS
39952012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3996
704bc459
AS
3997 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3998 xopen-msg.sed.
3999 * catgets/xopen-msg.awk: New file.
4000 * catgets/xopen-msg.sed: Removed.
4001
70d35b67
AS
4002 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4003 po2text.sed.
4004 * intl/po2test.awk: New file.
4005 * intl/po2test.sed: Removed.
4006
ca61cf32
JM
40072012-07-04 Joseph Myers <joseph@codesourcery.com>
4008
4009 [BZ #14328]
4010 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4011 or multiply small sinh result by itself.
4012 * math/s_ctanf.c (__ctanf): Likewise.
4013 * math/s_ctanh.c (__ctanh): Likewise.
4014 * math/s_ctanhf.c (__ctanhf): Likewise.
4015 * math/s_ctanhl.c (__ctanhl): Likewise.
4016 * math/s_ctanl.c (__ctanl): Likewise.
4017 * math/libm-test.inc (ctan_test_tonearest): New function.
4018 (ctan_test_towardzero): Likewise.
4019 (ctan_test_downward): Likewise.
4020 (ctan_test_upward): Likewise.
4021 (ctanh_test_tonearest): Likewise.
4022 (ctanh_test_towardzero): Likewise.
4023 (ctanh_test_downward): Likewise.
4024 (ctanh_test_upward): Likewise.
4025 (main): Call these new functions.
4026 * sysdeps/i386/fpu/libm-test-ulps: Update.
4027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4028
ca48a46a
MF
40292012-07-03 Mike Frysinger <vapier@gentoo.org>
4030
4031 * .gitignore: Delete /ports entry.
4032
9d63d37d
AJ
40332012-07-03 Andreas Jaeger <aj@suse.de>
4034
4035 * po/bg.po: Update from translation team.
4036 * po/cs.po: Likewise.
4037 * po/de.po: Likewise.
4038 * po/hr.po: Likewise.
4039 * po/nl.pl: Likewise.
4040 * po/pl.po: Likewise.
4041 * po/vi.po: Likewise.
4042
370ca3d2
JM
40432012-07-03 Joseph Myers <joseph@codesourcery.com>
4044
95f5a9a8
JM
4045 * Makeconfig [!+link] (+link-before-libc): New variable.
4046 [!+link] (+link-after-libc): Likewise.
4047 [!+link] (+link-tests): Likewise.
4048 [!+link] (+link): Define in terms of $(+link-before-libc) and
4049 $(+link-after-libc).
4050 [!+link-static] (+link-static-before-libc): New variable.
4051 [!+link-static] (+link-static-after-libc): Likewise.
4052 [!+link-static] (+link-static-tests): Likewise.
4053 [!+link-static] (+link-static): Define in terms of
4054 $(+link-static-before-libc) and $(+link-static-after-libc).
4055 [build-shared] (link-libc-before-gnulib): New variable.
4056 [build-shared] (link-libc-tests): Likewise.
4057 [build-shared] (link-libc): Define in terms of
4058 $(link-libc-before-gnulib).
4059 [!build-shared] (link-libc-tests): New variable.
4060 (link-libc-static-tests): New variable.
4061 [!gnulib] (gnulib-arch): New variable.
4062 [!gnulib] (gnulib-tests): Likewise.
4063 [!gnulib] (static-gnulib-arch): Likewise.
4064 [!gnulib] (static-gnulib-tests): Likewise.
4065 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4066 Define with "=" instead of ":=".
4067 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4068 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4069 * Rules (binaries-all-notests): New variable.
4070 (binaries-all-tests): Likewise.
4071 (binaries-static-notests): Likewise.
4072 (binaries-static-tests): Likewise.
4073 (binaries-all): Define using $(binaries-all-notests) and
4074 $(binaries-all-tests).
4075 (binaries-static): Define using $(binaries-static-notests) and
4076 $(binaries-static-tests).
4077 (binaries-shared-tests): New variable.
4078 (binaries-shared-notests): Likewise.
4079 (binaries-shared): Remove variable.
4080 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4081 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4082 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4083 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4084 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4085 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4086 * elf/Makefile (sln-modules): New variable.
4087 (extra-objs): Add $(sln-modules:=.o).
4088 (ldconfig-modules): Add static-stubs.
4089 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4090 * elf/static-stubs.c: New file.
4091
7a845b2c
JM
4092 [BZ #14283]
4093 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4094 by 7 not 8 to examine high bit of fractional part. Use volatile
4095 variables when splitting into final array of floats if
4096 __FLT_EVAL_METHOD__ != 0.
4097 * math/libm-test.inc (cos_test): Add another test.
4098 (sin_test): Likewise.
4099 * sysdeps/i386/fpu/libm-test-ulps: Update.
4100
e2283f38
JM
4101 [BZ #14273]
4102 * math/libm-test.inc (cosh_test): Add more tests.
4103
370ca3d2
JM
4104 * version.h (RELEASE): Set to "development".
4105 (VERSION): Set to "2.16.90".
4106
ee9247c3
CD
41072012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4108
4109 * NEWS: Update copyright. Remove last-updated date.
4110 Mention math library bug fixes and timezone data changes.
4111 * README: Mention GNU/Hurd, x32, and HPPA support status.
4112
4648c381
TS
41132012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4114
4115 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4116
aac78a43
AJ
41172012-06-27 Andreas Jaeger <aj@suse.de>
4118
4119 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4120
ed3dbfad
AJ
41212012-06-25 Andreas Jaeger <aj@suse.de>
4122
4123 * sysdeps/s390/fpu/libm-test-ulps: Update.
4124
4d0ee855
AS
41252012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4126 Thomas Schwinge <thomas@codesourcery.com>
4127
4128 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4129 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4131 fanotify_mark.
4132
af1bce34
TS
41332012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4134
a9fa33ba
TS
4135 * sysdeps/mach/start.c: Remove file.
4136 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4137 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4138 * sysdeps/sh/init-first.c: Likewise.
4139
58f902b8
TS
4140 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4141 registers for frame unwinding purposes, add CFI directives.
4142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4143 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4144 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4145 Likewise.
4146
1518f58b
TS
4147 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4148 __fortify_fail returning.
4149 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4150
db9b5059
TS
4151 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4152 sysdeps/sh/____longjmp_chk.S.
4153 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4154 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4155 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4156 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4157
967705fe
TS
4158 * sysdeps/sh/abort-instr.h: New file.
4159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4160 process in case exit returns.
4161
a9def8c4
TS
4162 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4163 initialize the GOT register before use.
4164
2a649725
TS
4165 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4166 calculation of ARGC > 4.
4167
af1bce34
TS
4168 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4169 meaningful names to some local labels.
4170
d230f50a
KK
41712012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4172 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4173
4174 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4175 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4176 (__arch_compare_and_exchange_val_16_acq): Likewise.
4177 (__arch_compare_and_exchange_val_32_acq): Likewise.
4178 (atomic_exchange_and_add): Fix gUSA sequence.
4179 (atomic_add): Likewise.
4180 (atomic_add_negative): Likewise.
4181 (atomic_add_zero): Likewise.
4182 (atomic_bit_test_set): Likewise.
4183
0479b305
AS
41842012-06-22 Andreas Schwab <schwab@redhat.com>
4185
4186 [BZ #13579]
4187 * include/link.h (struct link_map): Add l_free_initfini.
4188 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4189 l_initfini.
4190 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4191 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4192 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4193 set.
4194
0e3933b9
CD
41952012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4196
4197 * configure.in: Use AC_LANG_SOURCE.
4198 * configure: Regenerate.
4199
4248b1b1
RM
42002012-06-22 Roland McGrath <roland@hack.frob.com>
4201
4202 * configure.in (libc_cv_localstatedir): New substituted variable.
4203 * configure: Regenerated.
4204 * config.make.in (localstatedir): New variable, substituted from
4205 libc_cv_localstatedir.
4206 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4207 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4208 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4209 * sysdeps/gnu/configure: Regenerated.
4210
006dd861
JL
42112012-06-21 Jeff Law <law@redhat.com>
4212
4213 [BZ #14277]
4214 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4215 free. Simplify list management for _LIBC case.
4216
79662d42
JM
42172012-06-21 Joseph Myers <joseph@codesourcery.com>
4218
b7abb4bf
JM
4219 [BZ #14273]
4220 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4221 Clear sign bit of 64-bit integer value before comparing against
4222 overflow value.
4223
79662d42
JM
4224 * sysdeps/mach/configure: Regenerated.
4225
1f150908
L
42262012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4227
4228 [BZ #14278]
4229 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4230
28363bbf
JL
42312012-06-21 Jeff Law <law@redhat.com>
4232
4233 [BZ #13882]
4234 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4235 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4236 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4237 * elf/dl-open.c (dl_open_worker): Likewise.
4238
09615db4
CD
42392012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4240
4241 * scripts/list-sources.sh: Scan PORTS for translations.
4242 * po/libc.pot: Regenerated.
4243
2174c6dd
AJ
42442012-06-21 Andreas Jaeger <aj@suse.de>
4245
4246 [BZ #12194]
4247 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4248 warning.
4249 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4250 * bits/byteswap-16.h (__bswap_16): Likewise.
4251 * bits/byteswap.h (__bswap_constant_16): Likewise.
4252
3ee947b1
L
42532012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4254
4255 [BZ #14117]
a2f34833
L
4256 * sysdeps/i386/fpu_control.h: Removed.
4257 * sysdeps/x86_64/fpu_control.h: Moved to ...
4258 * sysdeps/x86/fpu_control.h: Here.
4259
3ee947b1
L
4260 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4261 (_FPU_SETCW): Likewise.
4262
ed1825f8
L
42632012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4264
25f1282a
L
4265 [BZ #14117]
4266 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4267 * sysdeps/x86/fpu/bits/mathinline.h: This.
4268 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4269
ed1825f8
L
4270 [BZ #14050]
4271 [BZ #14117]
4272 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4273 functions if __x86_64__ is defined.
4274
36d54b74
CLT
42752012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4276
4277 * string/endian.h: Add !__ASSEMBLER__ condition for including
4278 conversion interfaces.
4279
10285c21
JM
42802012-06-15 Joseph Myers <joseph@codesourcery.com>
4281
4282 [BZ #14241]
4283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4284 of ABS(x) in calculating zero to negative powers other than odd
4285 integers.
4286 * math/libm-test.inc (pow_test): Add more tests.
4287
06c5abbd
AJ
42882012-06-15 Andreas Jaeger <aj@suse.de>
4289
4290 * manual/contrib.texi (Contributors): Update entry of Liubov
4291 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4292 Machado Filho.
4293
a3aeac40
CH
42942012-06-15 Cyril Hrubis <metan@ucw.cz>
4295
4296 * string/string.h: Add __wur to GNU version of strerror_r.
4297
49bdf4c1
L
42982012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4299
4300 [BZ #14229]
4301 * string/Makefile (tests): Add tst-strtok_r.
4302 * string/tst-strtok_r.c: New file.
4303 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4304 RAX_LP/RDX_LP on SAVE_PTR.
4305
834f9b8d
RM
43062012-06-14 Roland McGrath <roland@hack.frob.com>
4307
4308 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4309
75fa1921
JM
43102012-06-14 Joseph Myers <joseph@codesourcery.com>
4311
4312 * libm_test.inc (csqrt_test): Allow more spurious underflow
4313 exceptions.
4314 (j0_test): Likewise.
4315 (j1_test): Likewise.
4316 (y0_test): Likewise.
4317 (y1_test): Likewise.
4318
771766df
CD
43192012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4320
4321 * po/Makefile (libc.pot): Use UTF-8 charset.
4322
ceb9e56b
PP
43232012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4324
4325 [BZ #14210]
4326 Suppress sign-conversion warning from FD_SET.
4327 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4328 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4329 not unsigned long int.
4330 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4331
ddb28975
L
43322012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4333
4334 [BZ #14050]
4335 [BZ #14117]
4336 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4337 __extern_always_inline instead of __extern_inline.
4338 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4339 (__signbit): Likewise.
4340 (__signbitl): Support C++ namespace.
4341 (lrintf): New inline function.
4342 (lrint): Likewise.
4343 (llrintf): Likewise.
4344 (llrint): Likewise.
4345 (fmaxf): Likewise.
4346 (fmax): Likewise.
4347 (fminf): Likewise.
4348 (fmin): Likewise.
4349 (rint): Likewise.
4350 (rintf): Likewise.
4351 (ceil): Likewise.
4352 (ceilf): Likewise.
4353 (floor): Likewise.
4354 (floorf): Likewise.
4355 (nearbyint): Likewise.
4356 (nearbyintf): Likewise.
4357
d7b4fb26
TS
43582012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4359
4360 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4361 non-default versions.
4362
eb55f5c2
RM
43632012-06-11 Roland McGrath <roland@hack.frob.com>
4364
4365 [BZ #14218]
4366 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4367
366af02c
TS
43682012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4369
99ff6e5c
TS
4370 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4371 (FE_UPWARD, FE_DOWNWARD): Don't define.
4372 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4374
366af02c
TS
4375 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4376 reading it.
4377 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4378 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4379
793ea851
KK
43802012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4381
4382 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4384 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4385 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4386
a728a38f
L
43872012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4388
4389 [BZ #14117]
c08010c7
L
4390 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4391 * sysdeps/i386/fpu/Implies: New file.
4392 * sysdeps/x86_64/fpu/Implies: Likewise.
4393 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4394 * sysdeps/x86/fpu/bits/fenv.h: This.
4395
a728a38f
L
4396 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4397 __SSE_MATH__.
4398
6e230d11
SP
43992012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4400
4401 [BZ #14134]
4402 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4403 character 0xffff that matches the last element of the
4404 conversion table.
4405
1b671feb
AZ
44062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4407
4408 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4409 fmodl commit.
4410
6043738b
AZ
44112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4412
4413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4414 values higher than 25.6283.
4415
34ae0b32
AZ
44162012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4417
4418 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4419 subnormal exponent extraction and add some __builtin_expect.
4420 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4421 Fix for subnormal mantissa calculation.
4422
1214ec8f
MF
44232012-06-04 Mike Frysinger <vapier@gentoo.org>
4424
4425 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4426 cpu2 is -1 and errno is not ENOSYS.
4427
f3d1f93c
L
44282012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4429
4430 [BZ #14117]
0e4a3cd7
L
4431 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4432 * sysdeps/x86/bits/string.h: This.
4433 * sysdeps/x86_64/bits/string.h: Removed.
4434
6704c645
L
4435 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4436 if not compiling for x86-64, but compiling for >= i486.
4437
48495318
L
4438 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4439 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4440
14adcbfc
L
4441 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4442 New macro from Linux kernel 3.4.0.
4443 (FP_XSTATE_MAGIC2): Likewise.
4444 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4445 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4446 (struct _fpx_sw_bytes): New struct.
4447 (struct _xsave_hdr): Likewise.
4448 (struct _ymmh_state): Likewise.
4449 (struct _xstate): Likewise.
4450
68e408ab
L
4451 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4452 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4453 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4454 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4455 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4456 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4457
f3d1f93c
L
4458 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4459 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4460 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4461 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4462 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4463 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4464
d9dc34cd
TMQMF
44652012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4466
4467 [BZ #13743]
4468 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4469 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4470 (sysdep_headers): Include sys/platform/ppc.h.
4471 * sysdeps/powerpc/test-gettimebase.c: Test for
4472 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4473 * manual/Makefile (appendices): Include platform.texi.
4474 * manual/contrib.texi (Contributors): Update @node pointers.
4475 * manual/maint.texi (Maintenance): Likewise.
4476 (Platform): New node.
4477 * manual/platform.texi: New file. Document the new features.
4478
4af3879c
SP
44792012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4480 Jakub Jelinek <jakub@redhat.com>
4481
4482 [BZ #14188]
4483 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4484 where __builtin_expect is unavailable.
4485
2fd6ff13
DM
44862012-06-03 David S. Miller <davem@davemloft.net>
4487
4488 * stdlib/longlong.h: Updated from GCC.
4489
173f7220
AS
44902012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4491
4492 [BZ #14042]
4493 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4494 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4495 __mcount_internal.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4497 (GLIBC_2.16): Likewise.
4498
f34a1c6f
L
44992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4500
4501 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4502
88a4576f
JM
45032012-06-01 Joseph Myers <joseph@codesourcery.com>
4504
ea32bcdd
JM
4505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4506 (default-abi): New variable.
4507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4508 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4509 variable.
4510 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4511 Likewise.
4512 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4513 Likewise.
4514 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4515 Likewise.
4516
88a4576f
JM
4517 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4518 definition. Document in comment.
4519
402fe938
DM
45202012-06-01 David S. Miller <davem@davemloft.net>
4521
4522 * stdlib/longlong.h: Updated from GCC.
4523
3553723f
L
45242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4525
4526 [BZ #14117]
3bd872c4
L
4527 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4528 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4529 sys/debugreg.h sys/io.h here.
4530 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4531 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4532 sys/io.h.
4533 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4534 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4535 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4536 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4537 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4538 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4539
3553723f
L
4540 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4541 Define only if __x86_64__ is defined.
4542
4842e4fe
JM
45432012-06-01 Joseph Myers <joseph@codesourcery.com>
4544
c5bfe3d5
JM
4545 [BZ #14048]
4546 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4547 Use int64_t for variable i.
4548 * math/libm-test.inc (fmod_test): Add more tests.
4549
4842e4fe
JM
4550 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4551 z computation is not scheduled after fetestexcept.
4552 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4553 Use math_force_eval instead of asm to ensure calculation scheduled
4554 before exception test.
4555 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4556 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4557
efb73488
AJ
45582012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4559
4560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4561 computation is not scheduled after fetestexcept.
4562
29bcce7c
L
45632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4564
4565 [BZ #14117]
4566 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4567 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4568
73a68f94
AZ
45692012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4570
4571 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4572 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4573
67b6df78
L
45742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4575
edf2933a 4576 [BZ #14117]
ebc64a18
L
4577 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4578 <bits/wordsize.h>.
4579 (__WCHAR_MIN): Support __WORDSIZE == 64.
4580 (__WCHAR_MAX): Likewise.
4581
edf2933a
L
4582 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4583 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4584
57c6cf40
L
4585 [BZ #14183]
4586 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4587 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4588
67b6df78 4589 [BZ #14117]
8eb6281e
L
4590 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4591 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4592
aac639f4
L
4593 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4594 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4595
67b6df78
L
4596 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4597 Defined to 1 if __x86_64__ isn't defined.
4598 (_STAT_VER_LINUX_OLD): New.
4599 (st_atime): Remove duplicate.
4600 (st_mtime): Likewise.
4601 (st_ctime): Likewise.
4602
1c2cfe81
DM
46032012-05-31 David S. Miller <davem@davemloft.net>
4604
4605 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4606 entries.
4607
5be8418c
AS
46082012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4609
e7725326
AS
4610 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4611 gen-libm-test.pl.
4612
5be8418c
AS
4613 [BZ #14132]
4614 * elf/dl-reloc.c: Include <_itoa.h>.
4615 (_dl_reloc_bad_type): Remove use of INTUSE.
4616 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4617 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4618 * stdio-common/psiginfo.c (psiginfo): Likewise.
4619 * stdio-common/psignal.c (psignal): Likewise.
4620 * string/strsignal.c (strsignal): Likewise.
4621 * include/signal.h (_sys_siglist): Declare hidden proto.
4622 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4623 INTVARDEF with libc_hidden_data_def.
4624 * stdio-common/itoa-udigits.c: Likewise.
4625 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4626 (_itoa_lower_digits_internal): Remove declaration.
4627 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4628 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4629 (_sys_sigabbrev_internal): Remove aliases.
4630 (_sys_siglist): Define hidden alias.
4631
507352f1
MT
46322012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4633
4634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4635 bits/sysctl.h.
4636
42bbb1c3
L
46372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4638
4639 [BZ #14117]
6bd784b6
L
4640 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4641 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4642
8bca20f0
L
4643 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4644 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4645 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4646 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4647 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4648 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4649
f9e890a9
L
4650 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4651 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4652 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4653
471101a1
L
4654 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4655 with __addr.
4656 (insw): Likewise.
4657 (insl): Likewise.
4658 (outsb): Likewise.
4659 (outsw): Likewise.
4660 (outsl): Likewise.
4661
6451c862
L
4662 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4664 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4665
a254b8c9
L
4666 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4667 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4668 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4669 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4670 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4671 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4672
b8dfdd92
L
4673 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4674 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4675
578cd270
L
4676 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4677 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4678
de662f5f
L
4679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4681 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4682
25653439
L
4683 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4684 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4685 to ...
4686 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4687
6bad24a0
L
4688 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4689 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4690 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4691
42bbb1c3
L
4692 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4693 for x86-64.
4694 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4695
2d10d547
JM
46962012-05-31 Joseph Myers <joseph@codesourcery.com>
4697
4698 * math/math.h (M_El): Use two more decimal places.
4699 (M_LOG2El): Likewise.
4700 (M_LOG10El): Likewise.
4701 (M_LN2l): Likewise.
4702 (M_LN10l): Likewise.
4703 (M_PIl): Likewise.
4704 (M_PI_2l): Likewise.
4705 (M_PI_4l): Likewise.
4706 (M_1_PIl): Likewise.
4707 (M_2_PIl): Likewise.
4708 (M_2_SQRTPIl): Likewise.
4709 (M_SQRT2l): Likewise.
4710 (M_SQRT1_2l): Likewise.
4711
f230c29b
DM
47122012-05-31 David S. Miller <davem@davemloft.net>
4713
4714 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4715 values between float registers.
4716 * sysdeps/sparc/sparc64/memset.S: Likewise.
4717 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4718
fed806c3
MF
47192012-05-31 Mike Frysinger <vapier@gentoo.org>
4720
4721 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4722 -D_FORTIFY_SOURCE=1.
4723 (CPPFLAGS-tst-longjmp_chk.c): Define.
4724 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4725 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4726 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4727 CFLAGS-tst-wchar-h.c.
4728
30917259
MP
47292012-05-31 Marek Polacek <polacek@redhat.com>
4730
4731 [BZ #14132]
4732 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4733 __endmntent_internal): Remove declaration.
4734 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4735 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4736 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4737
1c58d5dc
DM
47382012-05-30 David S. Miller <davem@davemloft.net>
4739
4740 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4741 (___Q_simulate_exceptions): Use real FP ops rather than writing
4742 into the %fsr.
4743 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4744 Likewise.
4745
7dc00e0d
L
47462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 [BZ #14117]
0bd53985
L
4749 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4750 * sysdeps/x86/bits/xtitypes.h: This.
4751
3a257e66
L
4752 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4753 * sysdeps/x86/bits/wordsize.h: This.
4754
62f62904
L
4755 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4756 * sysdeps/x86/bits/huge_vall.h: This.
4757
404fe9d9
L
4758 * sysdeps/i386/bits/select.h: Removed.
4759 * sysdeps/x86_64/bits/select.h: Renamed to ...
4760 * sysdeps/x86/bits/select.h: This.
4761
d48d0446
L
4762 * sysdeps/i386/bits/setjmp.h: Removed.
4763 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4764 * sysdeps/x86/bits/setjmp.h: This.
4765
7dc00e0d
L
4766 * sysdeps/i386/bits/mathdef.h: Removed.
4767 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4768 * sysdeps/x86/bits/mathdef.h: This.
4769
03277f8f
AS
47702012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4771
4772 [BZ #14132]
4773 * include/sys/socket.h (__connect_internal)
4774 (__libc_sa_len_internal): Remove declaration.
4775 (__connect, __libc_sa_len): Declare hidden_proto.
4776 (SA_LEN): Remove use of INTUSE.
4777 * socket/connect.c: Add libc_hidden_def.
4778 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4779 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4780 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4781 alias.
4782 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4783 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4784 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4785 of adding _internal alias.
4786
13764867
L
47872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4788
4789 [BZ #14117]
6bd97696
L
4790 * sysdeps/i386/bits/link.h: Removed.
4791 * sysdeps/i386/bits/linkmap.h: Likewise.
4792 * sysdeps/x86_64/bits/link.h: Renamed to ...
4793 * sysdeps/x86/bits/link.h: This.
4794 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4795 * sysdeps/x86/bits/linkmap.h: This.
4796
f726f0bb
L
4797 * sysdeps/i386/bits/endian.h: Removed.
4798 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4799 * sysdeps/x86/bits/endian.h: This.
4800
13764867
L
4801 * sysdeps/i386/bits/byteswap.h: Removed.
4802 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4803 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4804 * sysdeps/x86/bits/byteswap.h: This.
4805 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4806 * sysdeps/x86/bits/byteswap-16.h: This.
4807 * sysdeps/i386/Implies: Add x86.
4808 * sysdeps/x86_64/Implies: Likewise.
4809
ae251b0b
DM
48102012-05-30 David S. Miller <davem@davemloft.net>
4811
4812 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4813 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4814 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4815 (FP_TRAPPING_EXCEPTIONS): Define.
4816 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4817 (FP_TRAPPING_EXCEPTIONS): Define.
4818 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4819 subnormals only when inexact has been signalled or underflow
4820 exceptions are enabled.
4821 (_FP_PACK_CANONICAL): Likewise.
4822
d5c90867
L
48232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4824
4825 [BZ #14183]
4826 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4827 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4828
63f1549e
RH
48292012-05-30 Richard Henderson <rth@twiddle.net>
4830
8d8f2279
RH
4831 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4832 with #ifndef NOT_IN_libc.
4833
63f1549e
RH
4834 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4835 marked to avoid plt entry.
4836
0ab0291b
L
48372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4838
4839 [BZ #14112]
4840 * Makeconfig (default-abi): New macro.
4841 (abi-includes): Likewise.
4842 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4843 $(abi-$(default-abi)-lib-soname) for soname if defined.
4844 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4845 abi-variants.
4846 * Makefile (installed-stubs): Likewise.
4847 * include/stubs-biarch.h: Removed.
4848 * scripts/lib-names.awk: Only handle one library at a time.
4849 * scripts/soversions.awk: Remove WORDSIZE support.
4850 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4851 entries.
4852 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4853 Removed.
4854 (syscall-list-default-condition): Likewise.
4855 (syscall-list-default-condition): Likewise.
4856 (syscall-list-includes): Likewise.
4857 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4858 syscall-list-* with abi-*. Handle undefined abi-variants.
4859 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4860 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4861 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4862 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4863 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4864 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4865 Removed.
4866 (syscall-list-32-options): Likewise.
4867 (syscall-list-32-condition): Likewise.
4868 (syscall-list-64-options): Likewise.
4869 (syscall-list-64-condition): Likewise.
4870 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4871 macro.
4872 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4873 Renamed to ...
4874 (abi-*): This.
4875 (abi-64-ld-soname): New macro.
4876 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4877 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4878 Renamed to ...
4879 (abi-*): This.
4880 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4881 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4882
4da0431d
JM
48832012-05-30 Joseph Myers <joseph@codesourcery.com>
4884
3a85279c
JM
4885 * sysdeps/unix/sysv/linux/kernel-features.h
4886 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4887 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4888 include <kernel-features.h>.
4889 [!__NR_ftruncate64]: Remove conditional code.
4890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4891 [__NR_ftruncate64]: Make code unconditional.
4892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4893 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4894 include <kernel-features.h>.
4895 [!__NR_ftruncate64]: Remove conditional code.
4896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4897 [__NR_ftruncate64]: Make code unconditional.
4898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4900 include <kernel-features.h>.
4901 [!__NR_ftruncate64]: Remove conditional code.
4902 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4903 [__NR_ftruncate64]: Make code unconditional.
4904 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4906 include <kernel-features.h>.
4907 [!__NR_ftruncate64]: Remove conditional code.
4908 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4909 [__NR_ftruncate64]: Make code unconditional.
4910 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4911
4da0431d
JM
4912 * configure.in (libc_cv_fpie): Weaken to a compile test using
4913 LIBC_TRY_CC_OPTION.
4914 * configure: Regenerated.
4915
11ef492c
AK
49162012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4917
4918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4922 Refreshed.
4923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4929 Refreshed.
4930
d66ef399
DM
49312012-05-27 David S. Miller <davem@davemloft.net>
4932
4933 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4934 (___Q_zero): New.
4935 (__Q_simulate_exceptions): Return void. Change to simulate
4936 exceptions by writing into the %fsr.
4937 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4938 (__Qp_handle_exceptions): Likewise.
4939 (numbers): Delete.
4940 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4941 __Qp_handle_exceptions.
4942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4943 __Qp_handle_exceptions.
4944 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4945 as unused and give dummy FP_RND_NEAREST initializer.
4946 (FP_INHIBIT_RESULTS): Define.
4947 (___Q_simulate_exceptions): Update declaration.
4948 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4949 formatting.
4950 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4951 as unused and give dummy FP_RND_NEAREST initializer.
4952 (__Qp_handle_exceptions): Update declaration.
4953 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4954 formatting.
4955
04fb54b5
TS
49562012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4957
4958 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4959 the temporary FPU control word.
4960 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4961 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4962 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4963 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4964 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4965 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4966 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4967 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4968 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4969 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4970 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4971
3f99608f
KK
49722012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4973
4974 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4975 fields.
4976
65a4de4e
CLT
49772012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4978
4979 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4980 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4981 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4982 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4983 Likewise.
4984 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4985 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4986 Likewise.
4987
15749d40
UD
49882012-05-27 Ulrich Drepper <drepper@gmail.com>
4989
4990 * po/h.po: Update from translation team.
4991
25dbcb27
AS
49922012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4993
3d3f8e55
AS
4994 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4995
25dbcb27
AS
4996 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4997 handling of denormals.
4998 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4999 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5000 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5001 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5005 Likewise.
5006
7ad47a80 50072012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5008
5009 [BZ #14152]
5010 * math/libm-test.inc (fma_test): Don't always expect underflow
5011 exception.
5012
9c6ea9fa
SP
50132012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5014
5015 [BZ #12416]
5016 * elf/tst-execstack.c: Include stackinfo.h.
5017 (do_test): Adjust test case to ensure that pthread_getattr_np
5018 behaviour remains the same after marking stack executable.
5019
a8239222
JM
50202012-05-25 Joseph Myers <joseph@codesourcery.com>
5021
5022 * sysdeps/unix/sysv/linux/kernel-features.h
5023 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5024 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5025 kernel-features.h.
5026 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5027 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5028 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5029 kernel-features.h.
5030 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5031 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5032
918b5606
L
50332012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5034
5035 * configure.in: Define the default includes to being none.
5036 * configure: Regenerated.
5037
3a097cc7
RM
50382012-05-25 Roland McGrath <roland@hack.frob.com>
5039
8422c9a5
RM
5040 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5041 * sysdeps/x86_64/setjmp.S: Likewise.
5042 * sysdeps/i386/bsd-setjmp.S: Likewise.
5043 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5044 * sysdeps/i386/setjmp.S: Likewise.
5045 * sysdeps/i386/__longjmp.S: Likewise.
5046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5047 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5048
3a097cc7
RM
5049 * include/stap-probe.h: New file.
5050 * configure.in: Handle --enable-systemtap.
5051 * configure: Regenerated.
5052 * config.h.in (USE_STAP_PROBE): New #undef.
5053 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5054 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5055 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5056
21708942
JM
50572012-05-25 Joseph Myers <joseph@codesourcery.com>
5058
5059 [BZ #13717]
5060 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5061 to 2.4.0 where earlier.
5062 * sysdeps/unix/sysv/linux/configure: Regenerated.
5063 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5064 <kernel-features.h>.
5065 [__ASSUME_32BITUIDS]: Make code unconditional.
5066 [!__ASSUME_32BITUIDS]: Remove conditional code.
5067 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5068 <kernel-features.h>.
5069 [__ASSUME_32BITUIDS]: Make code unconditional.
5070 [!__ASSUME_32BITUIDS]: Remove conditional code.
5071 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5072 [__ASSUME_32BITUIDS]: Make code unconditional.
5073 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5074 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5075 <kernel-features.h>.
5076 [__ASSUME_32BITUIDS]: Make code unconditional.
5077 [!__ASSUME_32BITUIDS]: Remove conditional code.
5078 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5079 <kernel-features.h>.
5080 [__ASSUME_32BITUIDS]: Make code unconditional.
5081 [!__ASSUME_32BITUIDS]: Remove conditional code.
5082 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5083 <kernel-features.h>.
5084 [__ASSUME_32BITUIDS]: Make code unconditional.
5085 [!__ASSUME_32BITUIDS]: Remove conditional code.
5086 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5087 <kernel-features.h>.
5088 [__ASSUME_32BITUIDS]: Make code unconditional.
5089 [!__ASSUME_32BITUIDS]: Remove conditional code.
5090 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5091 <kernel-features.h>.
5092 [__ASSUME_32BITUIDS]: Make code unconditional.
5093 [!__ASSUME_32BITUIDS]: Remove conditional code.
5094 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5095 <kernel-features.h>.
5096 [__ASSUME_32BITUIDS]: Make code unconditional.
5097 [!__ASSUME_32BITUIDS]: Remove conditional code.
5098 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5099 <kernel-features.h>.
5100 [__ASSUME_32BITUIDS]: Make code unconditional.
5101 [!__ASSUME_32BITUIDS]: Remove conditional code.
5102 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5103 <kernel-features.h>.
5104 [__ASSUME_32BITUIDS]: Make code unconditional.
5105 [!__ASSUME_32BITUIDS]: Remove conditional code.
5106 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5107 <kernel-features.h>.
5108 [__ASSUME_32BITUIDS]: Make code unconditional.
5109 [!__ASSUME_32BITUIDS]: Remove conditional code.
5110 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5111 <kernel-features.h>.
5112 [__ASSUME_32BITUIDS]: Make code unconditional.
5113 [!__ASSUME_32BITUIDS]: Remove conditional code.
5114 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5115 <kernel-features.h>.
5116 [__NR_setresgid] (__setresgid): Do not declare.
5117 [__ASSUME_32BITUIDS]: Make code unconditional.
5118 [!__ASSUME_32BITUIDS]: Remove conditional code.
5119 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5120 <kernel-features.h>.
5121 [__NR_setresuid] (__setresuid): Do not declare.
5122 [__ASSUME_32BITUIDS]: Make code unconditional.
5123 [!__ASSUME_32BITUIDS]: Remove conditional code.
5124 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5125 <kernel-features.h>.
5126 [__ASSUME_32BITUIDS]: Make code unconditional.
5127 [!__ASSUME_32BITUIDS]: Remove conditional code.
5128 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5129 <kernel-features.h>.
5130 [__ASSUME_32BITUIDS]: Make code unconditional.
5131 [!__ASSUME_32BITUIDS]: Remove conditional code.
5132 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5133 <kernel-features.h>.
5134 [__ASSUME_32BITUIDS]: Make code unconditional.
5135 [!__ASSUME_32BITUIDS]: Remove conditional code.
5136 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5137 <kernel-features.h>.
5138 [__ASSUME_32BITUIDS]: Make code unconditional.
5139 [!__ASSUME_32BITUIDS]: Remove conditional code.
5140 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5141 <kernel-features.h>.
5142 [__ASSUME_32BITUIDS]: Make code unconditional.
5143 [!__ASSUME_32BITUIDS]: Remove conditional code.
5144 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5145 <kernel-features.h>.
5146 [__ASSUME_32BITUIDS]: Make code unconditional.
5147 [!__ASSUME_32BITUIDS]: Remove conditional code.
5148 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5149 <kernel-features.h>.
5150 [__ASSUME_32BITUIDS]: Make code unconditional.
5151 [!__ASSUME_32BITUIDS]: Remove conditional code.
5152 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5153 <kernel-features.h>.
5154 [__ASSUME_32BITUIDS]: Make code unconditional.
5155 [!__ASSUME_32BITUIDS]: Remove conditional code.
5156 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5157 <kernel-features.h>.
5158 [__ASSUME_32BITUIDS]: Make code unconditional.
5159 [!__ASSUME_32BITUIDS]: Remove conditional code.
5160 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5161 <kernel-features.h>.
5162 [__ASSUME_32BITUIDS]: Make code unconditional.
5163 [!__ASSUME_32BITUIDS]: Remove conditional code.
5164 * sysdeps/unix/sysv/linux/kernel-features.h
5165 (__ASSUME_SETRESUID_SYSCALL): Remove.
5166 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5167 (__ASSUME_32BITUIDS): Likewise.
5168 (__ASSUME_LDT_WORKS): Likewise.
5169 (__ASSUME_O_DIRECTORY): Likewise.
5170 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5171 architecture but not kernel version.
5172 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5173 (__ASSUME_MMAP2_SYSCALL): Likewise.
5174 (__ASSUME_STAT64_SYSCALL): Likewise.
5175 (__ASSUME_IPC64): Likewise.
5176 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5177 <kernel-features.h>.
5178 [__ASSUME_32BITUIDS]: Make code unconditional.
5179 [!__ASSUME_32BITUIDS]: Remove conditional code.
5180 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5181 <kernel-features.h>.
5182 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5183 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5184 132096]: Remove conditional code.
5185 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5186 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5187 <kernel-features.h>.
5188 [__ASSUME_32BITUIDS]: Make code unconditional.
5189 [!__ASSUME_32BITUIDS]: Remove conditional code.
5190 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5191 <kernel-features.h>.
5192 [__ASSUME_32BITUIDS]: Make code unconditional.
5193 [!__ASSUME_32BITUIDS]: Remove conditional code.
5194 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5195 <kernel-features.h>.
5196 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5197 unconditional.
5198 (__setresgid): Do not declare.
5199 [__ASSUME_32BITUIDS]: Make code unconditional.
5200 [!__ASSUME_32BITUIDS]: Remove conditional code.
5201 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5202 <kernel-features.h>.
5203 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5204 unconditional.
5205 (__setresuid): Do not declare.
5206 [__ASSUME_32BITUIDS]: Make code unconditional.
5207 [!__ASSUME_32BITUIDS]: Remove conditional code.
5208 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5209 <kernel-features.h>.
5210 [__ASSUME_32BITUIDS]: Make code unconditional.
5211 [!__ASSUME_32BITUIDS]: Remove conditional code.
5212 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5213 <kernel-features.h>.
5214 [__ASSUME_32BITUIDS]: Make code unconditional.
5215 [!__ASSUME_32BITUIDS]: Remove conditional code.
5216
a386f1cc
RH
52172012-05-25 Richard Henderson <rth@twiddle.net>
5218
5219 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5220 dl_hwcap to ifunc resolver.
5221 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5222 elf_ifunc_invoke.
5223 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5224 dl_hwcap to ifunc resolver.
5225 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5226
b6550497
JM
52272012-05-24 Joseph Myers <joseph@codesourcery.com>
5228
5229 [BZ #14153]
5230 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5231 for |x| <= 2**-26, not 2**-57.
5232 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5233 exception.
5234
b0bc23a1
JL
52352012-05-24 Jeff Law <law@redhat.com>
5236
5237 * stdio-common/Makefile (tests): Add bug25.
5238 * stdio-common/bug25.c: New test.
5239
347c92e9
L
52402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5241
5242 [BZ #13576]
5243 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5244 multiple of MALLOC_ALIGNMENT in size.
5245 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5246
6bcc8b3f
JM
52472012-05-24 Joseph Myers <joseph@codesourcery.com>
5248
5249 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5250 Require >= 256.
5251 (FILENAME_MAX): Use macro-int-constant.
5252 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5253 (_IOFBF): Use macro-int-constant.
5254 (_IOLBF): Likewise.
5255 (_IONBF): Likewise.
5256 (SEEK_CUR): Likewise.
5257 (SEEK_END): Likewise.
5258 (SEEK_SET): Likewise.
5259 (TMP_MAX): Likewise.
5260 (EOF): Use macro-int-constant. Require < 0.
5261 (NULL): Use macro-constant. Require == 0.
5262 (stdin): Require type to be FILE *.
5263 (stdout): Likewise.
5264 (stderr): Likewise.
5265 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5266 macro-int-constant.
5267 (EXIT_SUCCESS): Likewise.
5268 (NULL): Use macro-constant. Require == 0.
5269 (RAND_MAX): Use macro-int-constant.
5270 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5271 [C99-based standards] (strtof): Require function.
5272 [C99-based standards] (strtold): Likewise.
5273 [C99-based standards] (strtoll): Likewise.
5274 [C99-based standards] (strtoull): Likewise.
5275 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5276 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5277 [ISO || ISO99 || ISO11] (math.h): Likewise.
5278 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5279 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5281
d18ea0c5
AS
52822012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5283
5284 [BZ #14132]
56d25bb8
AS
5285 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5286 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5287 * intl/dgettext.c (DCGETTEXT): Likewise.
5288 * intl/gettext.c (DCGETTEXT): Likewise.
5289 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5290 * posix/regex_internal.h (gettext): Likewise.
5291 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5292 Remove declaration.
5293 * include/argz.h (__argz_count_internal)
5294 (__argz_stringify_internal): Remove declaration.
5295 (__argz_count, __argz_stringify): Declare hidden proto.
5296 * intl/dcgettext.c: Remove use of INTDEF.
5297 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5298 * string/argz-stringify.c: Likewise.
5299 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5300 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5301 Declare hidden proto.
d18ea0c5
AS
5302 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5303 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5304 Declare hidden proto.
5305 * include/stdio.h (__asprintf_internal): Don't declare.
5306 (__asprintf): Don't define as macro. Declare hidden proto.
5307 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5308 (__fsetlocking): Declare hidden proto.
5309 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5310 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5311 hidden proto.
5312 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5313 (_IO_setlinebuf): Remove use of INTUSE.
5314 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5315 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5316 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5317 Remove declaration.
5318 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5319 (_IO_do_flush): Remove use of INTUSE.
5320 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5321 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5322 (_IO_adjust_column, _IO_least_wmarker)
5323 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5324 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5325 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5326 (_IO_default_doallocate, _IO_wdefault_doallocate)
5327 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5328 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5329 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5330 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5331 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5332 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5333 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5334 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5335 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5336 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5337 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5338 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5339 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5340 proto.
5341 (_IO_flush_all_internal, _IO_adjust_column_internal)
5342 (_IO_default_uflow_internal, _IO_default_finish_internal)
5343 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5344 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5345 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5346 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5347 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5348 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5349 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5350 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5351 (_IO_file_close_internal, _IO_file_close_it_internal)
5352 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5353 (_IO_file_init_internal, _IO_file_attach_internal)
5354 (_IO_file_fopen_internal, _IO_file_read_internal)
5355 (_IO_file_sync_internal, _IO_file_seek_internal)
5356 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5357 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5358 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5359 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5360 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5361 (_IO_list_all_internal, _IO_link_in_internal)
5362 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5363 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5364 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5365 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5366 (_IO_do_write_internal, _IO_padn_internal)
5367 (_IO_getline_info_internal, _IO_getline_internal)
5368 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5369 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5370 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5371 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5372 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5373 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5374 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5375 with libc_hidden_ver, remove use of INTUSE.
5376 * libio/genops.c: Likewise.
5377 * libio/freopen.c: Likewise.
5378 * libio/freopen64.c: Likewise.
5379 * libio/iofclose.c: Likewise.
5380 * libio/iofdopen.c: Likewise.
5381 * libio/iofflush.c: Likewise.
5382 * libio/iofflush_u.c: Likewise.
5383 * libio/iofgets.c: Likewise.
5384 * libio/iofgets_u.c: Likewise.
5385 * libio/iofopen.c: Likewise.
5386 * libio/iofopncook.c: Likewise.
5387 * libio/iofread.c: Likewise.
5388 * libio/iofread_u.c: Likewise.
5389 * libio/ioftell.c: Likewise.
5390 * libio/iofwrite.c: Likewise.
5391 * libio/iogetline.c: Likewise.
5392 * libio/iogets.c: Likewise.
5393 * libio/iogetwline.c: Likewise.
5394 * libio/iopadn.c: Likewise.
5395 * libio/iopopen.c: Likewise.
5396 * libio/ioseekoff.c: Likewise.
5397 * libio/ioseekpos.c: Likewise.
5398 * libio/iosetbuffer.c: Likewise.
5399 * libio/iosetvbuf.c: Likewise.
5400 * libio/ioungetc.c: Likewise.
5401 * libio/ioungetwc.c: Likewise.
5402 * libio/iovdprintf.c: Likewise.
5403 * libio/iovsprintf.c: Likewise.
5404 * libio/iovsscanf.c: Likewise.
5405 * libio/memstream.c: Likewise.
5406 * libio/obprintf.c: Likewise.
5407 * libio/oldfileops.c: Likewise.
5408 * libio/oldiofclose.c: Likewise.
5409 * libio/oldiofdopen.c: Likewise.
5410 * libio/oldiofopen.c: Likewise.
5411 * libio/oldiopopen.c: Likewise.
5412 * libio/oldstdfiles.c: Likewise.
5413 * libio/putc.c: Likewise.
5414 * libio/setbuf.c: Likewise.
5415 * libio/setlinebuf.c: Likewise.
5416 * libio/stdfiles.c: Likewise.
5417 * libio/strops.c: Likewise.
5418 * libio/vasprintf.c: Likewise.
5419 * libio/vscanf.c: Likewise.
5420 * libio/vsnprintf.c: Likewise.
5421 * libio/vswprintf.c: Likewise.
5422 * libio/wfiledoalloc.c: Likewise.
5423 * libio/wfileops.c: Likewise.
5424 * libio/wgenops.c: Likewise.
5425 * libio/wmemstream.c: Likewise.
5426 * libio/wstrops.c: Likewise.
5427 * libio/__fpurge.c: Likewise.
5428 * libio/__fsetlocking.c: Likewise.
5429 * assert/assert.c: Likewise.
5430 * debug/fgets_chk.c: Likewise.
5431 * debug/fgets_u_chk.c: Likewise.
5432 * debug/fread_chk.c: Likewise.
5433 * debug/fread_u_chk.c: Likewise.
5434 * debug/gets_chk.c: Likewise.
5435 * debug/obprintf_chk.c: Likewise.
5436 * debug/vasprintf_chk.c: Likewise.
5437 * debug/vdprintf_chk.c: Likewise.
5438 * debug/vsnprintf_chk.c: Likewise.
5439 * debug/vsprintf_chk.c: Likewise.
5440 * malloc/mtrace.c: Likewise.
5441 * misc/error.c: Likewise.
5442 * misc/syslog.c: Likewise.
5443 * stdio-common/asprintf.c: Likewise.
5444 * stdio-common/fxprintf.c: Likewise.
5445 * stdio-common/getw.c: Likewise.
5446 * stdio-common/isoc99_fscanf.c: Likewise.
5447 * stdio-common/isoc99_scanf.c: Likewise.
5448 * stdio-common/isoc99_vfscanf.c: Likewise.
5449 * stdio-common/isoc99_vscanf.c: Likewise.
5450 * stdio-common/isoc99_vsscanf.c: Likewise.
5451 * stdio-common/printf-prs.c: Likewise.
5452 * stdio-common/printf_fp.c: Likewise.
5453 * stdio-common/printf_fphex.c: Likewise.
5454 * stdio-common/printf_size.c: Likewise.
5455 * stdio-common/putw.c: Likewise.
5456 * stdio-common/scanf.c: Likewise.
5457 * stdio-common/sprintf.c: Likewise.
5458 * stdio-common/tmpfile.c: Likewise.
5459 * stdio-common/vfprintf.c: Likewise.
5460 * stdio-common/vfscanf.c: Likewise.
5461 * stdlib/strfmon_l.c: Likewise.
5462 * sunrpc/openchild.c: Likewise.
5463 * sunrpc/xdr_stdio.c: Likewise.
5464 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5465 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5466
d6c33fda
RM
54672012-05-24 Roland McGrath <roland@hack.frob.com>
5468
c1487492
RM
5469 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5470
5471 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5472 in the third column, to generate for the shared library an IFUNC
5473 that uses _dl_vdso_vsym.
5474 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5475 * Makeconfig (object-suffixes-noshared): New variable.
5476
5477 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5478 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5479 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5480 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5481
d6c33fda
RM
5482 [BZ #14132]
5483 * include/sys/time.h (__gettimeofday): Remove macro.
5484 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5485 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5486 Remove INTDEF.
5487 (__gettimeofday): Add libc_hidden_def.
5488 (gettimeofday): Add libc_hidden_weak.
5489 * sysdeps/mach/gettimeofday.c: Likewise.
5490 * sysdeps/posix/gettimeofday.c: Likewise.
5491 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5492 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5493 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5494 (__gettimeofday_internal): Remove strong_alias.
5495 (__gettimeofday): Add libc_hidden_def.
5496 (gettimeofday): Add libc_hidden_weak.
5497 * sysdeps/unix/syscalls.list (gettimeofday):
5498 Remove __gettimeofday_internal alias.
5499
b5a2bbe6
L
55002012-05-24 Daniel Jacobowitz <drow@false.org>
5501 H.J. Lu <hongjiu.lu@intel.com>
5502
5503 [BZ #12495]
5504 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5505 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5506 (largebin_index_32_big): New.
5507 (largebin_index): Use it for 16-byte alignment.
5508 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5509 correction with front_misalign.
5510
cfba4fda
L
55112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5512
7f907421
L
5513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5515 Likewise.
5516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5517 Likewise.
5518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5519 Likewise.
5520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5521 Likewise.
5522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5523 Likewise.
5524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5525 Likewise.
5526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5527 Likewise.
5528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5529 Likewise.
5530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5531 Likewise.
5532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5533 Likewise.
5534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5535 Likewise.
5536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5537 Likewise.
5538
cfba4fda
L
5539 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5540 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5541
80bad0cc
JM
55422012-05-24 Joseph Myers <joseph@codesourcery.com>
5543
7a25eb06
JM
5544 [BZ #10846]
5545 [BZ #14036]
5546 * math/libm-test.inc (exp_test): Add test from bug 14036.
5547 (pow_test): Add test from bug 10846.
5548
795405f9
JM
5549 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5550 and other flags.
5551 (special_function): Do not include flags in test name.
5552 (parse_args): Likewise.
5553 * sysdeps/i386/fpu/libm-test-ulps: Update.
5554 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5555 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5556 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5558
80bad0cc
JM
5559 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5560 exceptions.
5561 * math/libm-test.inc ("Philosophy"): Update comment about
5562 exception testing.
5563 (UNDERFLOW_EXCEPTION): New macro.
5564 (UNDERFLOW_EXCEPTION_OK): Likewise.
5565 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5566 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5567 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5568 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5569 (INVALID_EXCEPTION_OK): Update value.
5570 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5571 (OVERFLOW_EXCEPTION_OK): Likewise.
5572 (IGNORE_ZERO_INF_SIGN): Likewise.
5573 (test_exceptions): Handle underflow exceptions.
5574 (acos_test): Update for underflow exception expectations.
5575 (cexp_test): Likewise.
5576 (clog_test): Likewise.
5577 (clog10_test): Likewise.
5578 (csqrt_test): Likewise.
5579 (ctan_test): Likewise.
5580 (ctanh_test): Likewise.
5581 (exp_test): Likewise.
5582 (exp10_test): Likewise.
5583 (exp2_test): Likewise.
5584 (expm1_test): Likewise.
5585 (fma_test): Likewise.
5586 (j0_test): Likewise.
5587 (jn_test): Likewise.
5588 (nexttoward_test): Likewise.
5589 (pow_test): Likewise.
5590 (scalbn_test): Likewise.
5591 (scalbln_test): Likewise.
5592 (tan_test): Likewise.
5593 (y1_test): Likewise.
5594 * sysdeps/i386/fpu/libm-test-ulps: Update.
5595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5596
9e0e3d0b
DM
55972012-05-23 David S. Miller <davem@davemloft.net>
5598
5599 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5600 (__libc_sigaction): Remove unused local variables.
5601
ccd0a08f
L
56022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5603
5604 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5605
62bdf9a6
PE
56062012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5607
f8591f80
PE
5608 mktime: avoid signed integer overflow
5609 * time/mktime.c (__mktime_internal): Do not mishandle the case
5610 where diff == INT_MIN.
5611
94c7d826
PE
5612 mktime: simplify computation of average
5613 * time/mktime.c (ranged_convert): Use new time_t_avg function
5614 instead of rolling our own (probably-slower) code.
5615
ce73d683
PE
5616 mktime: do not assume signed right shift propagates sign bit
5617 * time/mktime.c (isdst_differ): New static function.
5618 (__mktime_internal): No need to normalize tm_isdst now.
5619 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5620 tm_isdst values.
5621
72a22e59
PE
5622 mktime: merge another wrapv change from gnulib
5623 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5624 from some compilers.
5625
68605433
PE
5626 mktime: remove incorrect attempt at unusual arithmetics
5627 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5628 The code didn't really work on such machines anyway.
5629 (TYPE_MINIMUM): Assume two's complement.
5630 (twos_complement_arithmetic): Verify that long_int and time_t
5631 are two's complement (or unsigned, in the latter case).
5632
03cf7fe3
PE
5633 mktime: check signed shifts on long_int and time_t, too
5634 * time/mktime.c (SHR): Check that shifts work as desired
5635 on the types long_int and time_t too, as SHR is used on
5636 such types.
5637
f04dfbc2
PE
5638 mktime: do not assume 'long' is wide enough
5639 * time/mktime.c (verify): Move decl up.
5640 (long_int): New type.
5641 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5642 to remove assumption in the code that 'long' is wide enough to
5643 store year values. This assumption is not true on x32 and on
5644 some non-glibc platforms.
5645
62bdf9a6
PE
5646 mktime: merge wrapv change from gnulib
5647 * time/mktime.c (WRAPV): New macro.
5648 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5649 (guess_time_tm, __mktime_internal): Do not assume that signed
5650 integer overflow wraps around; modern compilers generate code
5651 where this assumption is no longer valid.
5652
5e292e4f
L
56532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5654
5655 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5656 Replace "jmp L(pseudo_end)" with "ret".
5657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5658 Likewise.
5659
8caf8c87
AJ
56602012-05-23 Andreas Jaeger <aj@suse.de>
5661
5662 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5663 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5664
1a09dc56
AJ
56652012-05-23 Andreas Jaeger <aj@suse.de>
5666 Maximilian Attems <max@stro.at>
5667
5668 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5669 New macros.
5670
1c87aba0
L
56712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5672
5673 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5674 code so that pseudo_end is just ret and the stack pointer is
5675 correct also for static library in error case.
5676
40e45bd5
JM
56772012-05-23 Joseph Myers <joseph@codesourcery.com>
5678
c2670533
JM
5679 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5680 move to syscalls.list.
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5685
40e45bd5
JM
5686 * manual/install.texi (Running make install): Do not mention Linux
5687 kernel version for which pt_chown is not needed.
5688 (Linux): Do not mention problems with nscd with 2.0 kernels.
5689 * INSTALL: Regenerated.
5690
be08eda5
AJ
56912012-05-23 Andreas Jaeger <aj@suse.de>
5692
5693 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5694 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5695 macro.
5696 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5697 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5698 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5699 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5700 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5701 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5704 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5705 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5706 * sysdeps/unix/sysv/linux/bits/in.h
5707 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5708
a6a056bb
RM
57092012-05-22 Roland McGrath <roland@hack.frob.com>
5710
5711 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5712 (PREPARE_VERSION): Just use assert instead, it will be elided
5713 under [NDEBUG] anyway.
5714
c9009328
L
57152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5716
5717 * sysdeps/unix/sysv/linux/Makefile: Include
5718 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5719 (sysdep_routines): Remove sysctl.
c9009328
L
5720 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5721 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5722 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5723 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5724 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5725
73338355
AJ
57262012-05-22 Andreas Jaeger <aj@suse.de>
5727
5728 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5729 that pseudo_end is just ret and the stack pointer is correct also
5730 for static library in error case.
5731
d44638b0
PP
57322012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5733
5734 [BZ #14122]
5735 * nss/nsswitch.c (defconfig_entries): New variable.
5736 (__nss_database_lookup): Don't leak defconfig entries.
5737 (nss_parse_service_list): Don't leak on error paths.
5738 (free_database_entries): New function.
5739 (free_defconfig): New function.
5740 (free_mem): Move common code to free_database_entries.
5741
31a39bd8
L
57422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5743
da0331a8
L
5744 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5745 Add arch_prctl.
5746 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5747
31a39bd8
L
5748 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5749 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5751 New macro.
5752 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5753 (INTERNAL_SYSCALL_TYPES): Likewise.
5754 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5755 (LOAD_REGS_TYPES_[1-6]): Likewise.
5756 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5757 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5758
45470df3
AZ
57592012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5760
5761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5762 copysignl for GLIBC_2_0.
5763 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5764 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5766 logbl for GLIBC_2_0.
5767 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5768 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5769
98a61bcb
L
57702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5771
a4f6e481
L
5772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5773 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5774
f63d5db6
L
5775 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5776 Use "neg %eax".
5777
98a61bcb
L
5778 * time/mktime.c: Update copyright years.
5779
95770f14
PE
57802012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5781
6226efbd
PE
5782 mktime: merge comment-quoting-style change from gnulib
5783 * time/mktime.c: Quote 'like this' in comments.
5784 The GNU coding standards suggest that we no longer quote `like this',
5785 as "`" and "'" are typically rendered asymmetrically nowadays.
5786 The typical gnulib style is to quote 'like this' when quoting
5787 code, and "like this" when quoting English.
5788
b99e4f78
PE
5789 * time/mktime.c (compile-command): Add "-I.".
5790
643e01e6
PE
5791 mktime: merge mktime-internal.h change from gnulib
5792 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5793
2554247d
PE
5794 mktime: merge time_r change from gnulib
5795 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5796
826dd0ab
PE
5797 mktime: merge DEBUG change from gnulib
5798 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5799 case system <time.h> has a #define.
5800
bd83aabe
PE
5801 mktime: merge <sys/types.h> change from gnulib
5802 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5803 since <time.t> is now guaranteed to define time_t.
5804
95770f14
PE
5805 mktime: merge HAVE_CONFIG_H change from gnulib
5806 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5807
5e1a27a9
L
58082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5809
0e44a77e
L
5810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5811 Use "neg %eax".
5812
5e1a27a9
L
5813 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5814 __rlim_t cast.
5815 (struct rusage): Use anonymous union to pad each field to
5816 __syscall_slong_t.
5817
46259bec
DM
58182012-05-21 David S. Miller <davem@davemloft.net>
5819
5820 * Makefules (o-iterator): Remove .s cases.
5821 (compile-command.s): Delete.
5822 (COMPILE.s): Delete.
5823 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5824
59f0c22e
JM
58252012-05-21 Joseph Myers <joseph@codesourcery.com>
5826
5827 * configure.in (libc_cv_predef_stack_protector): Only consider
5828 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5829 * configure: Regenerated.
5830
20c07380
L
58312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5832
bbb3154b
L
5833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5834 New macro. Use R*LP on int and pointer.
5835 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5836 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5837 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5838 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5839
20c07380
L
5840 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5841 [__WORDSIZE_TIME64_COMPAT32] instead of
5842 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5843 (struct utmp): Likewise.
5844 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5845 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5846 Renamed to ...
5847 (__WORDSIZE_TIME64_COMPAT32): This.
5848 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5849 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5850 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5851 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5852 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5853 (__WORDSIZE_TIME64_COMPAT32): New macro.
5854
d8d1017e
AJ
58552012-05-21 Andreas Jaeger <aj@suse.de>
5856
5857 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5858 only if [SHARED]. Add prototype for __wcschr_ia32.
5859
6c7fb145
RM
58602012-05-21 Roland McGrath <roland@hack.frob.com>
5861
5862 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5863 of %rbp unmolested in the jmp_buf while mangling the low bits.
5864 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5865 unmolested high bits of %rbp while demangling the low bits.
5866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5867
66274218
AJ
58682012-05-21 Andreas Jaeger <aj@suse.de>
5869
07c58f8f
AJ
5870 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5871 * sunrpc/svc_simple.c: Use it for registerrpc.
5872 * sunrpc/xcrypt.c: Use it for passwd2des.
5873
66274218
AJ
5874 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5875
61f65140
L
58762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5877
5878 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5879 Don't define if [__SYSCALL_WORDSIZE != 32].
5880 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5881 New macro.
5882
5fefb436
AJ
58832012-05-21 Bruno Haible <bruno@clisp.org>
5884 Andreas Jaeger <aj@suse.de>
5885
5886 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5887 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5888 inptr and inend for must_buffer_ch.
5889 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5890 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5891 * stdio-common/Makefile (tests): Remove bug15.
5892 (bug15-ENV): Remove macro.
5893 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5894 anymore.
5895
d8e272ab
AJ
58962012-05-19 Andreas Jaeger <aj@suse.de>
5897 Roland McGrath <roland@hack.frob.com>
5898
5899 * manual/contrib.texi: Completely rewritten. It contains now an
5900 alphabetical list of contributors and their contributions.
5901
4a56a162
RH
59022012-05-21 Richard Henderson <rth@twiddle.net>
5903
5904 * misc/getauxval.c (__getauxval): Use unsigned long int.
5905 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5906 (getauxval): Use unsigned long int.
5907
d024d23c
L
59082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5909
5910 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5911
cbc00a03
RM
59122012-05-21 Roland McGrath <roland@hack.frob.com>
5913
5914 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5915 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5916 __alignof__ (long double).
5917
478143fa
AZ
59182012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5919
5920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5921
c7683a6d
RH
59222012-05-20 Richard Henderson <rth@twiddle.net>
5923
5924 * misc/getauxval.c: New file.
5925 * misc/sys/auxv.h: New file.
5926 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5927 (routines): Add getauxval.
5928 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5929 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5930 * elf/dl-sysdep.c (_dl_auxv): Remove.
5931 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5932 * elf/dl-support.c (_dl_auxv): New variable.
5933 (_dl_aux_init): Initialize it.
5934 * manual/startup.texi (Auxiliary Vector): New node.
5935 * sysdeps/generic/bits/hwcap.h: New file.
5936 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5937 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5938 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5939 * sysdeps/sparc/sysdep.h: ... here. Include it.
5940 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5941 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5943 Update.
c7683a6d
RH
5944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5952
a6f1845d
AZ
59532012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5954
5955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5956
cbcbe830
DM
59572012-05-19 David S. Miller <davem@davemloft.net>
5958
5959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5960
e0b16cc2
JM
59612012-05-19 Joseph Myers <joseph@codesourcery.com>
5962
5963 [BZ #14123]
5964 * math/s_ccosh.c: Include <float.h>
5965 (__ccosh): Avoid internal overflow calculating sinh and cosh
5966 values before multiplying by sin and cos values.
5967 * math/s_ccoshf.c: Likewise.
5968 * math/s_ccoshl.c: Likewise.
5969 * math/s_csin.c: Likewise.
5970 * math/s_csinf.c: Likewise.
5971 * math/s_csinl.c: Likewise.
5972 * math/s_csinh.c: Likewise.
5973 * math/s_csinhf.c: Likewise.
5974 * math/s_csinhl.c: Likewise.
5975 * math/libm-test.inc (ccos_test): Add more tests.
5976 (ccosh_test): Likewise.
5977 (csin_test): Likewise.
5978 (csinh_test): Likewise.
5979 * sysdeps/i386/fpu/libm-test-ulps: Update.
5980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5981
6ad13e08
L
59822012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5983
f66f0ce8
L
5984 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5985 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5986
6ad13e08
L
5987 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5988
b1d072a7
JM
59892012-05-19 Joseph Myers <joseph@codesourcery.com>
5990
5991 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5992 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5993 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5994 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5995 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5996 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5997 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5998 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5999 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6000 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6001 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6002 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6003 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6004 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6005 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6006 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6007 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6008 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6009 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6010 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6011 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6012 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6013 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6014 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6015 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6016 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6017 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6018 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6019 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6020 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6021 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6022
9eae47cb
AJ
60232012-05-18 Andreas Jaeger <aj@suse.de>
6024
6025 * csu/.gitignore: Delete.
6026
bb07f69f
L
60272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6028
6029 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6030 (timex): Use __syscall_slong_t.
6031
e6bdb741
AJ
60322012-05-18 Andreas Jaeger <aj@suse.de>
6033 Carlos O'Donell <carlos_odonell@mentor.com>
6034
6035 * manual/install.texi (Configuring and compiling): Update
6036 description about files modified in the source directory.
d6c33fda 6037 * INSTALL: Regenerated.
e6bdb741 6038
1b74487e
L
60392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6040
6041 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6042 value. Use "or" to set return value to -1.
6043 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6044 negate return value.
6045
a88b64b9
TMQMF
60462012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6047
6048 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6049 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6050 failure if the compiler has Graphite support disabled.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6052 Likewise.
6053 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6054 CFLAGS-memmove.c): Likewise.
6055 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6056 Likewise.
6057
3707636e
L
60582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6059
610b8622
L
6060 * sysdeps/x86_64/x32/_itoa.h: New file.
6061
7cd195df
L
6062 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6063 getdents system call only if kernel and user dirents have the
6064 same d_ino and d_off.
6065
94b07d20
L
6066 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6067 LLONG_MAX != LONG_MAX.
6068 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6069 (_fitoa_word): Likewise.
6070
18298070
L
6071 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6072 years.
6073 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6074 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6075 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6076
553c7ea4
L
6077 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6078 include <bits/wordsize.h>. Check __x86_64__ instead of
6079 __WORDSIZE.
6080 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6081 if __x86_64__ is defined. Use anonymous union on fpstate.
6082
3707636e
L
6083 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6084 anonymous union.
6085
b53ef01a
AS
60862012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6087
37fb1dc0
AS
6088 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6089 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6090 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6091 Refer to _rtld_local_ro instead of _rtld_global_ro.
6092 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6093 Likewise.
6094 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6095 Likewise.
6096 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6097 Likewise.
6098 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6099 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6100 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6101
b53ef01a
AS
6102 * sysdeps/powerpc/powerpc32/dl-machine.c
6103 (__elf_machine_runtime_setup) [PROF]: Don't reference
6104 _dl_prof_resolve.
6105
7a185db2
AJ
61062012-05-18 Andreas Jaeger <aj@suse.de>
6107
6108 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6109 function only available for GCCs before 3.4 since GCC 3.4
6110 introduced a builtin.
6111 (lrint): Likewise.
6112 (llrintf): Likewise.
6113 (llrint): Likewise.
6114 (fmaxf): Likewise.
6115 (fmax): Likewise.
6116 (fminf): Likewise.
6117 (fmin): Likewise.
6118 (rint): Likewise.
6119 (rintf): Likewise.
6120 (nearbyint): Likewise.
6121 (nearbyintf): Likewise.
6122 (ceil): Likewise.
6123 (ceilf): Likewise.
6124 (floor): Likewise.
6125 (floorf): Likewise.
6126
3e5aef87
L
61272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6128
428bd707
L
6129 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6130 on both fields and cast pointer to __syscall_ulong_t.
6131
3e5aef87
L
6132 * bits/types.h (__fsword_t): New type.
6133 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6134 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6136 (__FSWORD_T_TYPE): Likewise.
6137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6138 (__FSWORD_T_TYPE): Likewise.
6139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6140 (__FSWORD_T_TYPE): Likewise.
6141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6142 (__FSWORD_T_TYPE): Likewise.
6143 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6144 __SWORD_TYPE with __fsword_t.
6145 (statfs64): Likewise.
6146
1ba7c3dc
DM
61472012-05-17 David S. Miller <davem@davemloft.net>
6148
6149 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6150
59910343
AJ
61512012-05-17 Andreas Jaeger <aj@suse.de>
6152
6153 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6154 warning.
6155
2e4c1e9e
L
61562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6157
6158 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6159
de7f5ce7
AJ
61602012-05-17 Andreas Jaeger <aj@suse.de>
6161
6162 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6163 when it is used.
6164
286abc3d
CM
61652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6166
6167 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6168
477cc68e
L
61692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6170
6171 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6172 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6173
1a0994f5
CD
61742012-05-17 Andreas Jaeger <aj@suse.de>
6175 Carlos O'Donell <carlos_odonell@mentor.com>
6176
6177 [BZ #14059]
6178 * sysdeps/x86_64/multiarch/init-arch.h
6179 (bit_YMM_Usable): Rename to...
6180 (bit_AVX_Usable): ... this.
6181 (bit_FMA4_Usable): New macro.
6182 (bit_XMM_state): New macro.
6183 (bit_YMM_state): New macro.
6184 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6185 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6186 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6187 (CPUID_OSXSAVE): New macro.
6188 (CPUID_AVX): New macro.
6189 (CPUID_FMA4): New macro.
6190 (index_YMM_Usable): Rename to...
6191 (index_AVX_Usable): ... this.
6192 (HAS_AVX): Use HAS_ARCH_FEATURE.
6193 (HAS_FMA4): Likewise.
6194 (HAS_YMM_USABLE): Remove.
6195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6196 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6197 are present.
6198 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6199 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6200 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6201 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6202 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6203
0af797de
CM
62042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6205
6206 * math/libm-test.c: Support platforms without multiple rounding modes.
6207 * math/bug-nextafter.c: Support platforms without FP exceptions.
6208 * math/bug-nexttoward.c: Likewise.
6209 * math/test-fenv.c: Likewise.
6210 * math/test-misc.c: Likewise.
6211 * stdlib/bug-getcontext.c: Likewise.
6212
e39745ff
AJ
62132012-05-17 Andreas Jaeger <aj@suse.de>
6214
6215 * manual/examples/search.c (critter_cmp): Change signature to
6216 avoid warnings.
6217 * manual/string.texi (Collation Functions): Likewise.
6218
48970aba
L
62192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6220
6221 * bits/types.h: Fold copyright years.
6222 * bits/typesizes.h: Likewise.
6223 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6224 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6227 * time/time.h: Likewise.
6228
bedee953
PP
62292012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6230
6231 [BZ #208]
6232 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6233 in instead of returning them. Return void.
6234 (__libc_mallinfo): Accumulate over all arenas.
6235 (__malloc_stats): Adjust for change in int_mallinfo interface.
6236
61653dfb
RM
62372012-05-16 Roland McGrath <roland@hack.frob.com>
6238
30b99d79
RM
6239 [BZ #10375]
6240 * configure.in (NM): Add AC_CHECK_TOOL for it.
6241 (libc_extra_cflags): New substituted variable.
6242 Check for -fstack-protector being used implicitly.
6243 * configure: Regenerated.
6244 * config.make.in (config-extra-cflags): New variable,
6245 gets @libc_extra_cflags@.
6246 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6247
61653dfb
RM
6248 [BZ #10375]
6249 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6250 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6251 * configure: Regenerated.
6252 * config.make.in (CPPUNDEFS): New substituted variable.
6253 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6254 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6255 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6256
661768bb
L
62572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6258
6259 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6260 (mq_attr): Use __syscall_slong_t.
6261
d4261567
L
62622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6263
6264 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6265 Check __x86_64__ instead of __WORDSIZE.
6266 (_STAT_VER_LINUX): Likewise.
6267 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6268 __syscall_ulong_t and __syscall_slong_t.
6269 (stat64): Likewise.
6270
cf3ff365
L
62712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6274
76cf3e4d
L
62752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6276
6277 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6278
a637753a
L
62792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6280
6281 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6282 __syscall_ulong_t.
6283
d5e05119
L
6284 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6285 include <bits/wordsize.h>. Check __x86_64__ instead of
6286 __WORDSIZE.
6287 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6288 defined.
6289 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6290
f62ee380
L
6291 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6292 include <bits/wordsize.h>. Check __x86_64__ instead of
6293 __WORDSIZE.
6294 (user_regs_struct): Use "__extension__ unsigned long long"
6295 instead of "unsigned long" if __x86_64__ is defined.
6296 (user): Likewise. Pad after pointer field if __ILP32__ is
6297 defined.
6298
4e124ced
JM
62992012-05-16 Joseph Myers <joseph@codesourcery.com>
6300
6a3951a0
JM
6301 * configure.in (makeinfo): Require version 4.5 or later. Allow
6302 versions 5 to 9.
6303 * configure: Regenerated.
6304 * manual/install.texi (texinfo): Increase version requirement to
6305 4.5 or later.
6306 * INSTALL: Regenerated.
6307
4e124ced
JM
6308 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6309
953ca31a
L
63102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6311
6312 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6313
617aca05
L
6314 * sysdeps/x86_64/x32/ffs.c: New file.
6315
5762f7ae
L
6316 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6317 __syscall_ulong_t.
6318 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6319 defined. Use __syscall_ulong_t.
6320 (shminfo): Use __syscall_ulong_t.
6321 (shm_info): Likewise.
6322
a26b6856
L
6323 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6324 __syscall_ulong_t.
6325
cb2b9ef7
L
6326 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6327 <bits/wordsize.h>.
6328 (msgqnum_t): Use __syscall_ulong_t.
6329 (msglen_t): Likewise.
6330 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6331 __syscall_ulong_t.
6332
34683bb0
L
6333 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6334 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6335
84a68786
L
6336 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6337
48baa5f1
L
6338 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6339 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6340
180be88b
L
6341 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6342 __syscall_slong_t.
6343
5e90c8ad
L
6344 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6345 include <bits/wordsize.h>. Check __x86_64__ instead of
6346 __WORDSIZE.
6347
23dfb58b
L
6348 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6349 "unsigned long long int" if __x86_64__ is defined.
6350 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6351
ce5d54b0
L
6352 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6353 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6354 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6355
13dc9eac
L
6356 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6357 <stdint.h>.
6358 (GET_PC): Cast to uintptr_t first.
6359 (GET_FRAME): Likewise.
6360 (GET_STACK): Likewise.
6361
a7895d15
L
6362 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6363 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6364 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6365 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6366 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6367 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6368 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6369 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6370 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6371 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6372 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6373 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6374 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6375 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6376 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6377 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6378 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6379 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6380 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6381 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6382 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6383 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6384 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6385 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6386 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6387 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6388 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6389 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6390 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6391
656416c9
AS
63922012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6393
5bd66283
AS
6394 * Makerules (+depfiles): Also collect depfiles from .oS in
6395 $(extra-objs).
6396 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6397 .oS, $(libnldbl-routines)).
6398
656416c9
AS
6399 * Makerules (native-compile-mkdep-flags): Define.
6400 * sunrpc/Makefile (extra-objs): Add $(addprefix
6401 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6402 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6403 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6404 calling $(make-target-directory).
6405
a46f2169
L
64062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 * bits/types.h (__snseconds_t): Removed.
6409 * time/time.h (struct timespec): Replace __snseconds_t with
6410 __syscall_slong_t.
6411 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6412 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6413 Likewise.
6414 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6415 (__SNSECONDS_T_TYPE): Likewise.
6416 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6417 (__SNSECONDS_T_TYPE): Likewise.
6418 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6419 (__SNSECONDS_T_TYPE): Likewise.
6420
6af6528b
L
64212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6422
6423 * sysdeps/mach/hurd/bits/typesizes.h
6424 (__SYSCALL_SLONG_TYPE): New macro.
6425 (__SYSCALL_ULONG_TYPE): Likewise.
6426
de986b56
L
64272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6428
6429 * bits/types.h (__syscall_slong_t): New type.
6430 (__syscall_ulong_t): Likewise.
6431
6432 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6433 (__SYSCALL_ULONG_TYPE): Likewise.
6434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6435 (__SYSCALL_SLONG_TYPE): Likewise.
6436 (__SYSCALL_ULONG_TYPE): Likewise.
6437 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6438 (__SYSCALL_SLONG_TYPE): Likewise.
6439 (__SYSCALL_ULONG_TYPE): Likewise.
6440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6441 (__SYSCALL_SLONG_TYPE): Likewise.
6442 (__SYSCALL_ULONG_TYPE): Likewise.
6443
85736dc7
L
64442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6445
6446 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6447 Add sigaltstack-offsets.sym.
6448 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6449 <sigaltstack-offsets.h>.
6450 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6451 longjmp_msg pointer.
6452 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6453 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6454 signal stack.
6455 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6456
cc03b296
JM
64572012-05-15 Joseph Myers <joseph@codesourcery.com>
6458
a9538892
JM
6459 * elf/stackguard-macros.h: Remove file.
6460 * sysdeps/generic/stackguard-macros.h: New file.
6461 * sysdeps/i386/stackguard-macros.h: Likewise.
6462 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6463 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6464 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6465 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6466 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6467 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6468 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6469 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6470 <elf/stackguard-macros.h>.
6471
cc03b296
JM
6472 [BZ #14109]
6473 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6474 __aligned__ in attribute.
6475 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6476 (gregset_t): Likewise.
6477
93171016
L
64782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6479
6480 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6481 * sysdeps/x86_64/64/Implies-after: Here. New file.
6482 * sysdeps/x86_64/x32/Implies-after: New file.
6483
d86813a0
L
64842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6485
6486 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6487 and access return value for _dl_profile_fixup. Use R10_LP to
6488 load frame size.
6489
2953ec75
L
64902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6491
6492 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6493
3b550e9e
L
64942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6495
6496 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6497 * sysdeps/x86_64/x32/sysdep.h: New file.
6498
eda41706
L
64992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6500
6501 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6502 * sysdeps/x86_64/setjmp.S: Likewise.
6503
9ea01d93
AZ
65042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6505
6506 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6507 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6508 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6509 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6510 remove unused global constant.
6511
02a91938
CM
65122012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6513
6514 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6515 include of <not-cancel.h>.
6516
6540185f
RM
65172012-05-15 Roland McGrath <roland@hack.frob.com>
6518
6519 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6520
509072a0
AJ
65212012-05-15 Jeff Law <law@redhat.com>
6522 Andreas Jaeger <aj@suse.de>
6523
6524 [BZ #13594]
6525 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6526 out from...
6527 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6528 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6529 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6530 code changing __hst_map_handle.map.
6531
ba75122d
RM
65322012-05-15 Roland McGrath <roland@hack.frob.com>
6533
6534 * configure.in (sysnames): Look for Implies-before and Implies-after
6535 files.
6536 * configure: Regenerated.
6537
890d8bd8
L
65382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6539
6540 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6541 8-byte data alignment with LP_SIZE alignment.
6542
f6ee6623
L
65432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6544
6545 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6546 into R10_LP.
6547
ea2626f6
L
65482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6549
6550 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6551
085f715e
L
65522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6553
6554 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6555 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6556 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6557 Likewise.
6558 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6559
be8498fc
L
65602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6561
6562 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6563 (stackinfo_sub_sp): Likewise.
6564
70bc83b9
L
65652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6566
6567 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6568 RAX_LP.
6569
9bc0b730
L
65702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6571
6572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6573 into R*_LP.
6574
6d2850e7
L
65752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6578 sizes into R*_LP.
6579
3cb84561
L
65802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6581
6582 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6583
54e2ed81
L
65842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6585
6586 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6587 into R11_LP and load __x86_64_shared_cache_size_half into
6588 R8_LP.
6589
8a17f349
L
65902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6591
6592 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6593 R8_LP.
6594
777b1eea
AZ
65952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6596
6597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6598 logb for POWER7.
6599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6600 logbf for POWER7.
6601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6602 logbl for POWER7.
6603 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6604 powerpc32/power7/fpu/s_logb.c via #include.
6605 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6606 powerpc32/power7/fpu/s_logbf.c via #include.
6607 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6608 powerpc32/power7/fpu/s_logbl.c via #include.
6609
d20d4ac2
JM
66102012-05-15 Joseph Myers <joseph@codesourcery.com>
6611
6612 * README.libm: Remove file.
6613
6cdef1ab
L
66142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6615
6616 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6617 count for x32. Use R*_LP and omit operand-size suffix.
6618
0b254d8f
L
66192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6620
6621 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6622 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6623 * sysdeps/x86_64/x32/shlib-versions: New file.
6624
ceb809dc
RM
66252012-05-14 Roland McGrath <roland@hack.frob.com>
6626
6627 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6628 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6629 Use _dl_fatal_printf instead.
6630
37f1abd4
JM
66312012-05-14 Joseph Myers <joseph@codesourcery.com>
6632
6633 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6634 set if not set by the user. Do not allow for being unset.
6635 * sysdeps/unix/sysv/linux/configure: Regenerated.
6636
11de3a33
L
66372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6638
6639 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6640 the `q' suffix from lea and replace .quad with ASM_ADDR.
6641
e02f153a
L
66422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6643
6644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6645 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6646 instead of $17.
6647 (PTR_DEMANGLE): Likewise.
6648
520ae0fd
L
66492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6650
6651 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6652 (LP_OP): Likewise.
6653 (ASM_ADDR): Likewise.
6654 (RAX_LP): Likewise.
6655 (RBP_LP): Likewise.
6656 (RBX_LP): Likewise.
6657 (RCX_LP): Likewise.
6658 (RDI_LP): Likewise.
6659 (RSI_LP): Likewise.
6660 (RSP_LP): Likewise.
6661 (R8_LP): Likewise.
6662 (R9_LP): Likewise.
6663 (R10_LP): Likewise.
6664 (R10_LP): Likewise.
6665 (R11_LP): Likewise.
6666 (R12_LP): Likewise.
6667 (R13_LP): Likewise.
6668 (R14_LP): Likewise.
6669 (R15_LP): Likewise.
6670
b985be81
L
66712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6672
6673 * sysdeps/x86_64/x32/dl-machine.h: New file.
6674
6a4888ff
AJ
66752012-05-14 Andreas Jaeger <aj@suse.de>
6676
6677 * manual/Makefile (subdir): Remove export of subdir.
6678 (all): Remove target.
6679 (.PHONY): Remove all from list.
6680 (mkinstalldirs): Remove.
6681 (.PHONY): Remove installdirs from list.
6682 ($(inst_infodir)/libc.info): Use make-target-directory.
6683 (installdirs): Remove.
6684 (subdir_%): Remove.
6685 (glibc-targets): Remove.
6686 (lib): Remove.
6687 (stubs): Remove.
6688 ($(objpfx)stubs ../po/manual.pot): Remove.
6689 ($(objpfx)stamp%): Remove.
6690 (make-target-directory): Remove.
6691 (subdir_install): Remove.
6692 (routines): Remove.
6693 (aux): Remove.
6694 (sources): Remove.
6695 (objects): Remove.
6696 (headers): Remove.
6697
6698 [BZ #13750]
6699 * manual/.gitignore: Remove, it's not needed anymore.
6700 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6701 all files in it.
6702 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6703 directory.
6704 (texis): Renamed to $(objpfx)texis.
6705 (texis-path): New, contains path to generated files.
6706 (chapters.%): Use texis-path for complete path, add extra argument
6707 libc-texinfo.sh.
6708 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6709 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6710 (summary,texi, stamp-summary): Use complete path of
6711 files. Generate files in build dir.
6712 (dir-add.texi): Build in build dir.
6713 (libm-err.texi,stamp-libm-err): Likewise.
6714 (version.texi, stamp-version): Likewise.
6715 (.%c.texi): Likewise.
6716 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6717 (mostlyclean): Remove target.
6718 (realclean): Remove target.
6719 (generated): Add new variable with contents from mostlyclean and
6720 realclean, remove entries duplicated in common-mostlyclean, add
6721 stamp-libm-err and stamp-version.
6722 (generated-dirs): Add libc directory.
6723 ($(inst_infodir)/libc.info): Install files from build dir.
6724
6725 * manual/install.texi (Configuring and compiling): Adjust since
6726 the info files are not part of the tar ball anymore.
6727
7ac77294
AJ
67282012-05-14 Andreas Jaeger <aj@suse.de>
6729
6730 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6731 variable.
6732
ffb7875d
JM
67332012-05-14 Joseph Myers <joseph@codesourcery.com>
6734
6735 [BZ #13717]
6736 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6737 to 2.2.0 where earlier.
6738 * sysdeps/unix/sysv/linux/configure: Regenerated.
6739 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6740 Remove conditional code.
6741 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6742 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6743 Remove conditional code.
6744 [!__NR_lchown]: Likewise.
6745 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6746 [__NR_lchown]: Likewise.
6747 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6748 comment referencing __ASSUME_LCHOWN_SYSCALL.
6749 * sysdeps/unix/sysv/linux/i386/sigaction.c
6750 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6751 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6752 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6753 Remove conditional code.
6754 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6755 (__protocol_available): Remove #if 0 code.
6756 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6757 conditional code.
6758 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6759 * sysdeps/unix/sysv/linux/kernel-features.h
6760 (__ASSUME_GETCWD_SYSCALL): Don't define.
6761 (__ASSUME_REALTIME_SIGNALS): Likewise.
6762 (__ASSUME_PREAD_SYSCALL): Likewise.
6763 (__ASSUME_PWRITE_SYSCALL): Likewise.
6764 (__ASSUME_POLL_SYSCALL): Likewise.
6765 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6766 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6767 non-SPARC.
6768 (__ASSUME_SIOCGIFNAME): Don't define.
6769 (__ASSUME_MSG_NOSIGNAL): Likewise.
6770 (__ASSUME_SENDFILE): Define unconditionally.
6771 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6772 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6773 conditional code.
6774 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6775 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6776 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6777 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6778 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6779 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6780 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6797 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6803 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6805 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6806 Remove conditional code.
6807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6808 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6809 Remove conditional code.
6810 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6811 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6812 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6813 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6814 Remove conditional code.
6815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6816 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6817 Remove conditional code.
6818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6819 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6820 Remove conditional code.
6821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6822 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6823 Remove conditional code.
6824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6825 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6826 Remove conditional code.
6827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6828 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6829 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6831 * sysdeps/unix/sysv/linux/sigaction.c
6832 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6833 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6834 * sysdeps/unix/sysv/linux/sigpending.c
6835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6837 * sysdeps/unix/sysv/linux/sigprocmask.c
6838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6840 * sysdeps/unix/sysv/linux/sigsuspend.c
6841 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6842 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6843 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6844 (__libc_missing_rt_sigs): Remove.
6845 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6846 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6847 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6848 Remove conditional code.
6849 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6850 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6851 return 1.
6852 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6853 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6854 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6855 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6856
1bfb7291
AJ
68572012-05-14 Andreas Jaeger <aj@suse.de>
6858
caae5a81
AJ
6859 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6860 it's not used in glibc.
6861 (__coshm1): Likewise.
6862 (__acosh1p): Likewise.
6863 (__sgn): Likewise.
6864
1bfb7291
AJ
6865 * manual/string.texi (Copying and Concatenation): Add missing
6866 variable in concat example.
6867 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6868
c044d724
L
68692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6870
144c5467 6871 [BZ #14103]
c044d724
L
6872 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6873 __builtin_clzl with __builtin_clzll.
6874
2523c62b
L
68752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6876
6877 [BZ #14104]
6878 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6879 libc_freeres_ptr.
6880
d7bb4c42
LD
68812012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6882
6883 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6884 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6885 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6886 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6887
9dc4e1fb
MF
68882012-05-14 Mike Frysinger <vapier@gentoo.org>
6889
6890 * NEWS: Update ia64 info.
6891
c7df0112
AS
68922012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6893
6894 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6895 used as bcopy.
6896
dc70356c
TS
68972012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6898
6899 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6900 * sysdeps/unix/syscalls.list (dup3): Likewise.
6901 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6902 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6903
9fb1a21f
L
69042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6905
6906 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6907 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6908
4822a2a5
L
69092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6910
6911 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6912 thread pointer.
6913 (TLS_IE): Use mov/add instead of movq/addq to load thread
6914 pointer.
6915 (TLS_GD_PREFIX): New.
6916 (TLS_GD): Use it.
6917
842b81d6
DM
69182012-05-11 David S. Miller <davem@davemloft.net>
6919
6920 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6921 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6922 (_FPU_SETCW): Likewise.
6923
1cf463cd
L
69242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6925
6926 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6927 is 32-byte aligned.
6928
60cc4a18
AS
69292012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6930
6931 [BZ #11837]
6932 * iconvdata/gb18030.c: Update tables.
6933 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6934 characters specially.
6935 (BODY for TO_LOOP): Add encoding of missing ranges.
6936
febb44a4
TS
69372012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6938
6939 [BZ #13673]
6940 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6941 * sysdeps/mach/hurd/dup3.c: Likewise.
6942 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6943 * sysdeps/powerpc/memmove.c:: Likewise.
6944
0a10fb9e
L
69452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6946
6947 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6948 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6949
df8a552f
L
69502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6951
6952 * elf/elf.h (R_X86_64_RELATIVE64): New.
6953 (R_X86_64_NUM): Updated.
6954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6955 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6956 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6957 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6958 tst-quad1pie tst-quad2pie
6959 (modules-names): Add tst-quadmod1 tst-quadmod2.
6960 ($(objpfx)tst-quad1): New dependency.
6961 ($(objpfx)tst-quad2): Likewise.
6962 ($(objpfx)tst-quad1pie): Likewise.
6963 ($(objpfx)tst-quad2pie): Likewise.
6964 * sysdeps/x86_64/tst-quad1.c: New file.
6965 * sysdeps/x86_64/tst-quad1pie.c: New file.
6966 * sysdeps/x86_64/tst-quad2.c: Likewise.
6967 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6968 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6969 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6970 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6971 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6972
f34d6f84
ST
69732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6974
f42d41d1
ST
6975 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6976 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6977 * streams/stropts.h (t_scalar_t): Define type.
6978
3c3571fc
ST
6979 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6980 (_PATH_PRESERVE): Set to "/var/lib".
6981 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6982
61f06bd3
ST
6983 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6984 instead of int.
6985
918d4d71
ST
6986 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6987 if __dir_mkfile succeeded.
6988
f34d6f84
ST
6989 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6990 checking for _hurd_dtablesize. Unlock it right after having
6991 finished _hurd_dtable allocation.
6992
10589b4a
TS
69932012-05-10 Thomas Schwinge <thomas@schwinge.name>
6994
674cdbc7
TS
6995 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6996 * sysdeps/mach/hurd/configure: Regenerated.
6997 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6998 special-casing to...
6999 * sysdeps/gnu/configure.in: ... this new file.
7000 * sysdeps/unix/sysv/linux/configure: Regenerated.
7001 * sysdeps/gnu/configure: New generated file.
7002
8e41b99f
TS
7003 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7004 for Linux: use nsec instead of usec, as well as:
7005 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7006 members of type struct timespec.
7007 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7008 New macros.
7009 (struct stat64): Likewise.
7010 (_STATBUF_ST_NSEC): New macro.
7011 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7012
10589b4a
TS
7013 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7014 __strtoul_internal rather than strtoul.
7015
63643c85
PT
70162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7017
7018 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7019 and reject them.
7020
3faebe6a
ST
70212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7022
7023 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7024 which preserves existing values.
7025 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7026
c6474b07
PT
70272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7028
7029 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7030 TIMEOUT values. Return EINVAL for NFDS values either negative or
7031 greater than FD_SETSIZE.
7032
1043890b
ST
70332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7034
7035 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7036 allocated, call __vm_protect to finish enabling the existing space, and
7037 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7038 allocate the remainder.
7039
37ed8b9b
PT
70402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7041
7042 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7043 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7044
db653660
ST
70452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7046
37ed8b9b
PT
7047 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7048 sysdeps/mach/hurd/readlink.c.
b29d4053 7049
db653660
ST
7050 * posix/tst-sysconf.c (posix_options): Only use
7051 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7052 _POSIX_SYNCHRONIZED_IO when they are defined
7053 * sysdeps/mach/hurd/bits/posix_opt.h:
7054 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7055 (_XOPEN_REALTIME): Undefine macro.
7056 (_XOPEN_REALTIME_THREADS): Undefine macro.
7057 (_XOPEN_SHM): Undefine macro.
7058 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7059 macro to -1.
7060 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7061 macro to -1.
7062 (_POSIX_ASYNC_IO): Undefine macro.
7063 (_POSIX_PRIORITIZED_IO): Undefine macro.
7064 (_POSIX_SPIN_LOCKS): Define macro to -1.
7065
ee16e894
ST
7066 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7067 SA_NODEFER, SA_RESETHAND.
7068 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7069 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7070 F_DUPFD_CLOEXEC.
7071
6103ae3b
TS
70722012-05-10 Thomas Schwinge <thomas@schwinge.name>
7073
7074 * elf/Makefile (pldd-modules): Define unconditionally.
7075
80b4e5f3
TS
70762012-05-10 Thomas Schwinge <thomas@schwinge.name>
7077
7078 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7079
edadcbd6
ST
70802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7081
7082 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7083 Return ENOENT when name is empty.
7084 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7085
80694780
TS
70862012-05-10 Thomas Schwinge <thomas@schwinge.name>
7087
1792c087
TS
7088 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7089
80694780
TS
7090 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7091
6b645f0d
ST
70922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7093
80694780
TS
7094 Fix mlock in all cases except non-readable pages.
7095 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7096 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7097
6b645f0d
ST
7098 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7099 (__mkdir): When path is `/', just fail with EEXIST.
7100 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7101
e468f8a3
TS
71022012-05-10 Thomas Schwinge <thomas@schwinge.name>
7103
7104 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7105 <sys/uio.h> (for writev).
7106 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7107 and <sys/param.h> (for MIN).
7108
a4186cff
PT
71092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7110
7111 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7112 REQUESTED_TIME. Properly set the remaining time and return EINTR
7113 if interrupted.
7114
510bbf14
TS
71152012-05-10 Thomas Schwinge <thomas@schwinge.name>
7116
7117 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7118 Depend on against $(link-rpcuserlibs).
7119
5d5722e8
ST
71202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7121
a4186cff
PT
7122 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7123 (__libc_stack_end): Do not use attribute_relro.
7124 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7125 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7126 to libthread-provided value.
a4186cff
PT
7127 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7128 attribute_relro.
5d5722e8 7129
37233df9
TS
71302012-05-10 Thomas Schwinge <thomas@schwinge.name>
7131
be971a2b
TS
7132 [BZ #3748]
7133 * bits/libc-lock.h (__libc_once_get): New macro.
7134 * sysdeps/mach/bits/libc-lock.h: Likewise.
7135 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7137 instead of using implementation details.
7138
37233df9
TS
7139 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7140 * libio/freopen.c: Likewise.
7141 * libio/freopen64.c: Likewise.
7142 * misc/syslog.c: Likewise.
7143 * nscd/connections.c: Likewise.
7144 * nscd/netgroupcache.c: Likewise.
7145 * sysdeps/posix/getcwd.c: Likewise.
7146
38de94a5
RM
71472012-05-10 Roland McGrath <roland@hack.frob.com>
7148
7149 * math/w_ilogbf.c: Add #include <limits.h>.
7150
67530489
ST
71512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7152
a4186cff 7153 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7154 path instead of returning without unlocking.
7155
67530489
ST
7156 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7157 immediate-write ioctls.
7158 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7159
5aa3a74a
TS
71602012-05-10 Thomas Schwinge <thomas@schwinge.name>
7161
18bad2ae
TS
7162 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7163 __builtin_frame_address instead of making assumptions about the
7164 location of the return address relative to DATA. Force early load of
7165 the return address.
7166 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7167 __builtin_frame_address.
7168
5aa3a74a
TS
7169 dup3 for GNU Hurd.
7170 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7171 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7172 implement dup3 and do some further code clean-ups.
7173 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7174 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7175
ecd0de9a
ST
71762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7177
cd9fa985
ST
7178 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7179
a4186cff
PT
7180 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7181 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7182 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7183 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7184 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7185 d->port.lock.
802ca5a5 7186
a4186cff
PT
7187 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7188 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7189 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7190
bcf55240
TS
71912012-05-10 Thomas Schwinge <thomas@schwinge.name>
7192
6960eb42
TS
7193 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7194 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7195 definitions.
7196
eb43375f
TS
7197 accept4 for GNU Hurd.
7198 * include/sys/socket.h (__libc_accept4): New prototype.
7199 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7200 to implement __libc_accept4.
7201 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7202 __libc_accept4.
7203 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7204
bcf55240
TS
7205 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7206 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7207 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7208 signal-defines.sym.
7209
6178c55b
ST
72102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7211
a4186cff 7212 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7213
6f080c2f
TS
72142012-05-10 Thomas Schwinge <thomas@schwinge.name>
7215
7216 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7217 assertion on O_CLOEXEC flag.
7218 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7219 * hurd/intern-fd.c: Likewise.
7220 * hurd/port2fd.c: Likewise.
7221
bcfe3a54
ST
72222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7223
7224 [BZ #3906]
7225 * bits/in.h (IPV6_PKTINFO): Define new macro.
7226 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7227
89c9aa49
AZ
72282012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7229
7230 [BZ #13954]
7231 [BZ #13955]
7232 [BZ #13956]
7233 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7235 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7236 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7237 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7238 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7239 * math/libm-test.inc (logb_test) : Additional logb tests.
7240
021db4be
AJ
72412012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7242 Andreas Jaeger <aj@suse.de>
7243
7244 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7245 * configure: Regenerated.
7246 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7247 * config.make.in (link-obsolete-rpc): New substituted variable.
7248 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7249 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7250 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7251 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7252 so that libc.a contains the symbols.
7253 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7254 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7255 * sunrpc/auth_none.c: Likewise.
7256 * sunrpc/auth_unix.c: Likewise.
7257 * sunrpc/authdes_prot.c: Likewise.
7258 * sunrpc/authuxprot.c: Likewise.
7259 * sunrpc/clnt_gen.c: Likewise.
7260 * sunrpc/clnt_perr.c: Likewise.
7261 * sunrpc/clnt_raw.c: Likewise.
7262 * sunrpc/clnt_simp.c: Likewise.
7263 * sunrpc/clnt_tcp.c: Likewise.
7264 * sunrpc/clnt_udp.c: Likewise.
7265 * sunrpc/clnt_unix.c: Likewise.
7266 * sunrpc/des_crypt.c: Likewise.
7267 * sunrpc/des_soft.c: Likewise.
7268 * sunrpc/get_myaddr.c: Likewise.
7269 * sunrpc/key_call.c: Likewise.
7270 * sunrpc/key_prot.c: Likewise.
7271 * sunrpc/netname.c: Likewise.
7272 * sunrpc/pm_getmaps.c: Likewise.
7273 * sunrpc/pm_getport.c: Likewise.
7274 * sunrpc/pmap_clnt.c: Likewise.
7275 * sunrpc/pmap_prot.c: Likewise.
7276 * sunrpc/pmap_prot2.c: Likewise.
7277 * sunrpc/pmap_rmt.c: Likewise.
7278 * sunrpc/publickey.c: Likewise.
7279 * sunrpc/rpc_cmsg.c: Likewise.
7280 * sunrpc/rpc_common.c: Likewise.
7281 * sunrpc/rpc_dtable.c: Likewise.
7282 * sunrpc/rpc_prot.c: Likewise.
7283 * sunrpc/rpc_thread.c: Likewise.
7284 * sunrpc/rtime.c: Likewise.
7285 * sunrpc/svc.c: Likewise.
7286 * sunrpc/svc_auth.c: Likewise.
7287 * sunrpc/svc_raw.c: Likewise.
7288 * sunrpc/svc_run.c: Likewise.
7289 * sunrpc/svc_tcp.c: Likewise.
7290 * sunrpc/svc_udp.c: Likewise.
7291 * sunrpc/svc_unix.c: Likewise.
7292 * sunrpc/svcauth_des.c: Likewise.
7293 * sunrpc/xcrypt.c: Likewise.
7294 * sunrpc/xdr.c: Likewise.
7295 * sunrpc/xdr_array.c: Likewise.
7296 * sunrpc/xdr_float.c: Likewise.
7297 * sunrpc/xdr_intXX_t.c: Likewise.
7298 * sunrpc/xdr_mem.c: Likewise.
7299 * sunrpc/xdr_rec.c: Likewise.
7300 * sunrpc/xdr_ref.c: Likewise.
7301 * sunrpc/xdr_sizeof.c: Likewise.
7302 * sunrpc/xdr_stdio.c: Likewise.
7303
b5c086a2
RM
73042012-05-10 Roland McGrath <roland@hack.frob.com>
7305
7306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7307 change. Update copyright years.
7308
6d74dd09
JM
73092012-05-10 Joseph Myers <joseph@codesourcery.com>
7310
7311 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7312
28e72501
MK
73132012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7314 Joseph Myers <joseph@codesourcery.com>
7315 Paul Pluzhnikov <ppluzhnikov@google.com>
7316
7317 [BZ #14012]
7318 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7319 requiring rpcgen.
7320 [cross-compiling] (extra-libs): Likewise.
7321 [cross-compiling] (extra-libs-others): Likewise.
7322 [cross-compiling] (librpcsvc-routines): Likewise.
7323 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7324 [cross-compiling] (omit-deps): Likewise.
7325 (sunrpc-CPPFLAGS): New variable.
7326 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7327 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7328 (cross-rpcgen-objs): New variable.
7329 (extra-objs): Append $(cross-rpcgen-objs).
7330 ($(cross-rpcgen-objs)): New rule.
7331 ($(objpfx)cross-rpcgen): Likewise.
7332 (rpcgen-cmd): Define to use $(built-program-file). Expand
7333 comment.
7334 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7335 ($(objpfx)x%.stmp): Likewise.
7336 * sunrpc/proto.h [IS_IN_build] (_): Define.
7337 [IS_IN_build] (_libc_intl_domainname): Likewise.
7338
c8c59454
L
73392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7340
7341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7342 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7343 and R_X86_64_TPOFF64.
7344
6f27cd16
JM
73452012-05-10 Joseph Myers <joseph@codesourcery.com>
7346
7347 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7348 sysdeps/unix/sysv/syscalls.list.
7349 (stime): Likewise.
7350 (utime): Likewise.
7351 * sysdeps/unix/sysv/syscalls.list: Remove file.
7352
02467e1c
PE
73532012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7354
7355 [BZ #3440]
7356 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7357 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7358 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7359 (__LC_IDENTIFICATION): Make these macros useful in #if
7360 expressions, as required by C99.
7361
da392631
AS
73622012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7363
7364 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7365 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7366 after this.
7367
8115f29b
L
73682012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7369
7370 * stdlib/longlong.h: Updated from GCC.
7371
bdd74070
AJ
73722012-05-09 Andreas Jaeger <aj@suse.de>
7373
edfe0dbe
AJ
7374 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7375 default is first entry.
7376 (run_mode): Set type.
7377 (main): Remove informal message about syslog.
7378 (options): Fix typo.
7379
bcfe3a54
ST
7380 [BZ #14053]
7381 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7382 to asm.
bcfe3a54
ST
7383 (lrint): Likewise.
7384 (llrintf): Likewise.
7385 (llrint): Likewise.
7386 (rint): Likewise.
7387 (rintf): Likewise.
7388 (nearbyint): Likewise.
7389 (nearbyintf): Likewise.
bdd74070 7390
91d8d69e
AJ
73912012-05-09 Andreas Jaeger <aj@suse.de>
7392 Pedro Alves <palves@redhat.com>
7393
7394 * nscd/nscd.c (run_mode): Use enum.
7395 (main): Cleanup coding style issue.
7396
bb90b80b
AJ
73972012-05-09 Alexandre Oliva <aoliva@redhat.com>
7398 Andreas Jaeger <aj@suse.de>
7399
bcfe3a54
ST
7400 * nscd/nscd.c (go_background): Replaced with...
7401 (run_mode): ... this.
bb90b80b 7402 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7403 (options): Add -F --foreground.
7404 (main): Implement it.
7405 (parse_opt): Parse it.
bb90b80b 7406
1a4b75a1
AJ
74072012-05-09 Andreas Jaeger <aj@suse.de>
7408
7409 [BZ #14083]
7410 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7411 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7412 -Wconversion warning.
7413 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7414 Likewise.
7415
b1cc2472
JM
74162012-05-09 Joseph Myers <joseph@codesourcery.com>
7417
7418 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7419 == 0.
7420 (LC_ALL): Use macro-int-constant.
7421 (LC_COLLATE): Likewise.
7422 (LC_CTYPE): Likewise.
7423 (LC_MESSAGES): Likewise.
7424 (LC_MONETARY): Likewise.
7425 (LC_NUMERIC): Likewise.
7426 (LC_TIME): Likewise.
7427 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7428 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7430 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7431 Specify type.
7432 [C99-based standards] (float_t): Expect type.
7433 [C99-based standards] (double_t): Expect type.
7434 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7435 type.
7436 [C99-based standards] (HUGE_VALL): Likewise.
7437 [C99-based standards] (INFINITY): Likewise.
7438 [C99-based standards] (NAN): Likewise.
7439 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7440 [C99-based standards] (FP_NAN): Likewise.
7441 [C99-based standards] (FP_NORMAL): Likewise.
7442 [C99-based standards] (FP_SUBNORMAL): Likewise.
7443 [C99-based standards] (FP_ZERO): Likewise.
7444 [C99-based standards] (FP_FAST_FMA): Use
7445 optional-macro-int-constant. Specify type. Require == 1.
7446 [C99-based standards] (FP_FAST_FMAF): Likewise.
7447 [C99-based standards] (FP_FAST_FMAL): Likewise.
7448 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7449 [C99-based standards] (FP_ILOGBNAN): Likewise.
7450 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7451 Specify type.
7452 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7453 [C99-based standards] (math_errhandling): Specify type.
7454 [ISO99 || ISO11] (signgam): Do not allow.
7455 [non-C99-based standards] (copysignf): Do not allow.
7456 [non-C99-based standards] (exp2f): Likewise.
7457 [non-C99-based standards] (log2f): Likewise.
7458 [non-C99-based standards] (modff): Allow.
7459 [non-C99-based standards] (erff): Do not allow.
7460 [non-C99-based standards] (erfcf): Likewise.
7461 [non-C99-based standards] (gammaf): Likewise.
7462 [non-C99-based standards] (hypotf): Likewise.
7463 [non-C99-based standards] (j0f): Likewise.
7464 [non-C99-based standards] (j1f): Likewise.
7465 [non-C99-based standards] (jnf): Likewise.
7466 [non-C99-based standards] (lgammaf): Likewise.
7467 [non-C99-based standards] (tgammaf): Likewise.
7468 [non-C99-based standards] (y0f): Likewise.
7469 [non-C99-based standards] (y1f): Likewise.
7470 [non-C99-based standards] (ynf): Likewise.
7471 [non-C99-based standards] (isnanf): Likewise.
7472 [non-C99-based standards] (acoshf): Likewise.
7473 [non-C99-based standards] (asinhf): Likewise.
7474 [non-C99-based standards] (atanhf): Likewise.
7475 [non-C99-based standards] (cbrtf): Likewise.
7476 [non-C99-based standards] (expm1f): Likewise.
7477 [non-C99-based standards] (ilogbf): Likewise.
7478 [non-C99-based standards] (log1pf): Likewise.
7479 [non-C99-based standards] (logbf): Likewise.
7480 [non-C99-based standards] (nextafterf): Likewise.
7481 [non-C99-based standards] (remainderf): Likewise.
7482 [non-C99-based standards] (rintf): Likewise.
7483 [non-C99-based standards] (scalbf): Likewise.
7484 [non-C99-based standards] (copysignl): Likewise.
7485 [non-C99-based standards] (exp2l): Likewise.
7486 [non-C99-based standards] (log2l): Likewise.
7487 [non-C99-based standards] (modfl): Allow.
7488 [non-C99-based standards] (erfl): Do not allow.
7489 [non-C99-based standards] (erfcl): Likewise.
7490 [non-C99-based standards] (gammal): Likewise.
7491 [non-C99-based standards] (hypotl): Likewise.
7492 [non-C99-based standards] (j0l): Likewise.
7493 [non-C99-based standards] (j1l): Likewise.
7494 [non-C99-based standards] (jnl): Likewise.
7495 [non-C99-based standards] (lgammal): Likewise.
7496 [non-C99-based standards] (tgammal): Likewise.
7497 [non-C99-based standards] (y0l): Likewise.
7498 [non-C99-based standards] (y1l): Likewise.
7499 [non-C99-based standards] (ynl): Likewise.
7500 [non-C99-based standards] (isnanl): Likewise.
7501 [non-C99-based standards] (acoshl): Likewise.
7502 [non-C99-based standards] (asinhl): Likewise.
7503 [non-C99-based standards] (atanhl): Likewise.
7504 [non-C99-based standards] (cbrtl): Likewise.
7505 [non-C99-based standards] (expm1l): Likewise.
7506 [non-C99-based standards] (ilogbl): Likewise.
7507 [non-C99-based standards] (log1pl): Likewise.
7508 [non-C99-based standards] (logbl): Likewise.
7509 [non-C99-based standards] (nextafterl): Likewise.
7510 [non-C99-based standards] (remainderl): Likewise.
7511 [non-C99-based standards] (rintl): Likewise.
7512 [non-C99-based standards] (scalbl): Likewise.
7513 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7514 [non-C99-based standards] (FP_*): Do not allow.
7515 [C99-based standards] (FP_*): Change to
7516 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7517 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7518 allow.
7519 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7520 (SIG_ERR): Likewise.
7521 [X/Open-based standards] (SIG_HOLD): Likewise.
7522 (SIG_IGN): Likewise.
7523 (SIGABRT): Use macro-int-constant. Specify type. Require
7524 positive value.
7525 (SIGFPE): Likewise.
7526 (SIGILL): Likewise.
7527 (SIGINT): Likewise.
7528 (SIGSEGV): Likewise.
7529 (SIGTER): Likewise.
7530 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7531 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7532 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7533 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7534 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7535 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7536 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7537 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7538 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7539 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7540 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7541 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7542 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7543 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7544 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7545 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7546 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7547 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7548 [X/Open-based standards] (SIGTRAP): Likewise.
7549 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7550 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7551 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7552 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7553 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7554 allow.
7555
b9f1922d
IW
75562012-05-08 Ian Wienand <ianw@vmware.com>
7557
7558 [BZ #14080]
7559 * time/tzset.c (__tzset_parse_tz): Update default rules for
7560 daylight time changes in the Energy Policy Act of 2005.
7561
1db86e88
AJ
75622012-05-09 Andreas Jaeger <aj@suse.de>
7563
7564 [BZ #13983]
7565 * elf/ldconfig.c (parse_conf): Change string to make clear that
7566 ldconfig only issued a warning if ld.so.conf does not exist.
7567
dee4a4e3
DM
75682012-05-08 David S. Miller <davem@davemloft.net>
7569
ee0db190
DM
7570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7571 movxtod instead of popping the value on the stack.
7572
dee4a4e3
DM
7573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7574
6a43ec98
CD
75752012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7576
7577 * config.h.in: Add HAVE_ARM_PCS_VFP.
7578
05c2c961
RMG
75792012-05-08 Roland Mc Grath <roland@hack.frob.com>
7580
bcfe3a54
ST
7581 [BZ #13979]
7582 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7583 checking but the checks are disabled for any reason.
05c2c961 7584
4b30f61a
L
75852012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7586
7587 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7588 and ELF64_R_TYPE with ELFW(R_TYPE).
7589
eee2bc67
JM
75902012-05-08 Joseph Myers <joseph@codesourcery.com>
7591
7ea5391a
JM
7592 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7593 (ulimit): Likewise.
7594
eee2bc67
JM
7595 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7596 (settimeofday): Likewise.
7597
abb66a67
MF
75982012-05-08 Mike Frysinger <vapier@gentoo.org>
7599
7600 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7601 a struct th_u2 inside the union, and move tu_block/tu_code into
7602 a new th_u3 union of tu_block/tu_code inside of that. Move
7603 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7604 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7605 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7606 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7607 (th_stuff): Change to th_u1.tu_stuff.
7608 (th_data): Define.
7609 (th_msg): Change to th_u1.th_u2.tu_data.
7610
7f18b530
DM
76112012-05-07 David S. Miller <davem@davemloft.net>
7612
05760585
DM
7613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7614
7f18b530
DM
7615 [BZ #14074]
7616 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7617 (SETUP_PIC_REG): Use it.
7618 (SETUP_PIC_REG_LEAF): Use it.
7619
495fd99f
JM
76202012-05-07 Joseph Myers <joseph@codesourcery.com>
7621
7622 [BZ #13885]
7623 [BZ #13923]
7624 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7625 USE_AS_EXPM1L.
7626 (EXPL_FINITE): Likewise.
7627 (FLDLOG): Likewise.
7628 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7629 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7630 e_expl.S.
7631 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7632 USE_AS_EXPM1L.
7633 (EXPL_FINITE): Likewise.
7634 (FLDLOG): Likewise.
7635 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7636 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7637 e_expl.S.
7638 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7639 test of -max_value argument for long double.
7640 * sysdeps/i386/fpu/libm-test-ulps: Update.
7641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7642
6693d694
DM
76432012-05-06 David S. Miller <davem@davemloft.net>
7644
7645 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7646 quad soft-float symbols whose references which are compiler
7647 generated.
7648 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7649
6c23e11c
JM
76502012-05-06 Joseph Myers <joseph@codesourcery.com>
7651
d8b82cad
JM
7652 [BZ #13884]
7653 [BZ #13914]
7654 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7655 USE_AS_EXP10L.
7656 (EXPL_FINITE): Likewise.
7657 (FLDLOG): Likewise.
7658 (c0): Likewise.
7659 (c1): Likewise.
7660 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7661 Adjust comments for base varying.
7662 (__expl_finite): Change alias to EXPL_FINITE.
7663 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7664 e_expl.S.
7665 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7666 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7667 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7668 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7669 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7670 USE_AS_EXP10L.
7671 (EXPL_FINITE): Likewise.
7672 (FLDLOG): Likewise.
7673 (c0): Likewise.
7674 (c1): Likewise.
7675 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7676 Adjust comments for base varying.
7677 (__expl_finite): Change alias to EXPL_FINITE.
7678 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7679 tests for bugs.
7680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7681
6c23e11c
JM
7682 [BZ #14064]
7683 * math/libm-test.inc (check_float_internal): Correct ulp
7684 calculation for subnormal expected results.
7685
29ba805c
AJ
76862012-05-06 Andreas Jaeger <aj@suse.de>
7687
7688 * Makeconfig (+math-flags): New, set to -frounding-math.
7689 (+cflags): Add +math-flags so that all of glibc gets compiled with
7690 it.
7691
7692 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7693
7b17aeda
JM
76942012-05-05 Joseph Myers <joseph@codesourcery.com>
7695
5779f134
JM
7696 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7697 Disable one test.
7698
41498f4d
JM
7699 [BZ #13787]
7700 [BZ #13922]
7701 [BZ #14036]
7702 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7703 (__ieee754_expl): Allow for and saturate large arguments.
7704 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7705 (u_threshold): Likewise.
7706 (__exp): Call __ieee754_exp before checking for overflow and
7707 underflow.
7708 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7709 (u_threshold): Likewise.
7710 (__expf): Call __ieee754_expf before checking for overflow and
7711 underflow.
7712 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7713 (u_threshold): Likewise.
7714 (__expl): Call __ieee754_expl before checking for overflow and
7715 underflow.
7716 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7717 (__ieee754_expl): Allow for and saturate large arguments.
7718 * math/libm-test.inc (exp_test): Add another test. Do not allow
7719 missing overflow exception on overflow.
7720 (expm1_test): Do not allow missing overflow exception on overflow.
7721
6698b8bf
JM
7722 * sysdeps/i386/fpu/e_expl.c: Move to ...
7723 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7724 rather than using inline asm.
7725 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7726 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7727 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7728
7b17aeda
JM
7729 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7730 (nice): Likewise.
7731 (poll): Likewise.
7732 (signal): Likewise.
7733 (time): Likewise.
7734 (times): Likewise.
7735
f7c85819
JM
77362012-05-04 Joseph Myers <joseph@codesourcery.com>
7737
7738 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7739 sysdeps/unix/common/syscalls.list.
7740 (fchmod): Likewise.
7741 (fchown): Likewise.
7742 (ftruncate): Likewise.
7743 (getrusage): Likewise.
7744 (gettimeofday): Likewise.
7745 (setpgid): Likewise.
7746 (setregid): Likewise.
7747 (setreuid): Likewise.
7748 (sigaction): Likewise.
7749 (truncate): Likewise.
7750 (vhangup): Likewise.
7751 * sysdeps/unix/common/syscalls.list: Remove file.
7752 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7753 * sysdeps/unix/sysv/linux/Implies: Likewise.
7754
336270d0
L
77552012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7756
7757 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7759 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7760 Moved to ...
7761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7762 Here.
7763 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7764 to ...
7765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7766 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7767 to ...
7768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7769 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7770 to ...
7771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7772 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7773 to ...
7774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7775 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7776 to ...
7777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7778 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7779 to ...
7780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7781 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7782 to ...
7783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7784 Here.
7785 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7786 to ...
7787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7788 Here.
7789 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7790 to ...
7791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7792 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7793 Moved to ...
7794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7795 Here.
7796 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7797 to ...
7798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7799
d128e450
JM
78002012-05-04 Joseph Myers <joseph@codesourcery.com>
7801
fa8ee516
JM
7802 * sysdeps/unix/common/bits/dirent.h: Remove file.
7803 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7804
d128e450
JM
7805 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7806 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7807 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7808 * sysdeps/unix/bsd/isatty.c: Likewise.
7809 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7810 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7811 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7812
ff8faaf0 78132012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7814
62881be4 7815 [BZ #13563]
31dc8730
AZ
7816 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7817 long double comparison inaccuracies.
7818 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7820
6fef930c
AS
78212012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7822
7823 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7825
8f203e6c
JM
78262012-05-04 Joseph Myers <joseph@codesourcery.com>
7827
7828 [BZ #14049]
7829 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7830 nonzero digits before rounding a hex value.
7831 * stdlib/tst-strtod.c (tests): Add another test.
7832
5197d9c2
AK
78332012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7834
7835 * sysdeps/s390/fpu/libm-test-ulps: Update.
7836
f0c1dedf
AJ
78372012-05-03 Andreas Jaeger <aj@suse.de>
7838
7839 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7840 does not get optimized out.
7841 (malloc_opt_barrier): New.
7842
a65ef2ae 78432012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7844 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7845
2b942cb7 7846 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7847 intermediate file deletion.
2b942cb7 7848 (generated): Add .symlist files.
a65ef2ae 7849
54b71e02
JM
78502012-05-03 Joseph Myers <joseph@codesourcery.com>
7851
7852 [BZ #13775]
7853 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7854 Redirect under this condition.
7855 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7856 [__USE_GNU] (__dprintf_chk): Not under this condition.
7857 [__USE_GNU] (__vdprintf_chk): Likewise.
7858 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7859 under this condition.
7860 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7861 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7862 [__USE_XOPEN2K8] (vdprintf): Likewise.
7863 [__USE_GNU] (__dprintf_chk): Not under this condition.
7864 [__USE_GNU] (__vdprintf_chk): Likewise.
7865 [__USE_GNU] (dprintf): Likewise.
7866 [__USE_GNU] (vdprintf): Likewise.
7867
d3dfcc41
RM
78682012-05-03 Roland McGrath <roland@hack.frob.com>
7869
7870 * elf/Makefile (common-generated): Set this instead of generated for
7871 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7872 $(all-built-dso)-derived lists.
7873
7ac30cc5
AJ
78742012-05-03 Andreas Jaeger <aj@suse.de>
7875
0c51e550
AJ
7876 * sysdeps/i386/fpu/libm-test-ulps: Update.
7877
7ac30cc5
AJ
7878 * FAQ: Removed.
7879 * FAQ.in: Likewise.
7880 * scripts/gen-FAQ.pl: Likewise.
7881 * manual/install.texi (Installation): Point to online location of
7882 FAQ.
7883 * Makefile (files-for-dist): Remove FAQ.
7884 (FAQ): Remove.
7885
d4c2917f
AM
78862012-05-02 Allan McRae <allan@archlinux.org>
7887
7888 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7889 (LDFLAGS-reldepmod5.so): Likewise.
7890 (LDFLAGS-reldep6mod1.so): Likewise.
7891 (LDFLAGS-reldep6mod4.so): Likewise.
7892 (LDFLAGS-reldep8mod3.so): Likewise.
7893 (LDFLAGS-unload4mod1.so): Likewise.
7894 (LDFLAGS-unload4mod2.so): Likewise.
7895 (LDFLAGS-tst-initorder): Likewise.
7896 (LDFLAGS-tst-initordera2.so): Likewise.
7897 (LDFLAGS-tst-initordera3.so): Likewise.
7898 (LDFLAGS-tst-initordera4.so): Likewise.
7899 (LDFLAGS-tst-initorderb2.so): Likewise.
7900 (LDFLAGS-noload): Likewise.
7901 (LDFLAGS-next): Likewise.
7902 (LDFLAGS-order2mod1.so): Likewise.
7903 (LDFLAGS-order2mod2.so): Likewise.
7904 (LDFLAGS-tst-initorder2): Likewise.
7905 (LDFLAGS-tst-initorder2a.so): Likewise.
7906 (LDFLAGS-tst-initorder2b.so): Likewise.
7907 (LDFLAGS-tst-initorder2c.so): Likewise.
7908 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7909
d77f993f
DM
79102012-05-02 David S. Miller <davem@davemloft.net>
7911
7912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7913
171a70b4
PP
79142012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7915
7916 [BZ #14055]
7917 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7918
0be196ad
AJ
79192012-05-02 Andreas Jaeger <aj@suse.de>
7920
7921 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7922 since we manipulate rounding mode.
7923 (CPPFLAGS-test-idouble.c): Likewise.
7924 (CPPFLAGS-test-ifloat.c): Likewise.
7925 (CFLAGS-test-ldouble.c): Likewise.
7926 (CFLAGS-test-double.c): Likewise.
7927 (CFLAGS-test-float.c): Likewise.
7928 (CFLAGS-test-misc.c): Likewise.
7929 (CFLAGS-test-test-fenv.c): Likewise.
7930
4f9d04aa
AZ
79312012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7932
2b942cb7
RM
7933 [BZ #2550]
7934 [BZ #2570]
7935 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7936 comparisons to determine direction to adjust input.
4f9d04aa 7937
82a79e7d
RM
79382012-05-01 Roland McGrath <roland@hack.frob.com>
7939
f5a01ca9
RM
7940 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7941 output to the target.
7942
90fe4186
RM
7943 * scripts/localplt.awk: New file.
7944 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7945 (check-localplt-CFLAGS): Variable removed.
7946 ($(all-built-dso:=.jmprel)): New static pattern rule.
7947 (generated): Add those targets.
7948 (localplt-built-dso): New variable.
7949 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7950
7951 * elf/check-localplt.c: File removed.
7952
82397ed6
RM
7953 * scripts/check-execstack.awk: New file.
7954 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7955 (check-execstack-CFLAGS): Variable removed.
7956 ($(objpfx)check-execstack.h): Target removed.
7957 ($(objpfx)execstack-default): New target.
7958 (generated): Add that instead of check-execstack.h.
7959 ($(all-built-dso:=.phdr)): New static pattern rule.
7960 (generated): Add those targets.
7961 * elf/check-execstack.c: File removed.
7962
82a79e7d
RM
7963 * scripts/check-textrel.awk: New file.
7964 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7965 (check-textrel-CFLAGS): Variable removed.
7966 (all-built-dso): Use := to define.o
7967 ($(all-built-dso:=.dyn)): New static pattern rule.
7968 (generated): Add those targets.
7969 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7970 * config.make.in (READELF): New substituted variable.
7971 * elf/check-textrel.c: File removed.
7972
62fde54f 79732012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7974
615605c9
JM
7975 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7976 allow.
7977 * conform/data/ctype.h-data [C99-based standards] (isblank):
7978 Expect function.
7979 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7980 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7981 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7982 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7983 Specify type. Require positive value.
7984 (EILSEQ): Likewise.
7985 (ERANGE): Likewise.
7986 [ISO || POSIX] (EILSEQ): Do not expect.
7987 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7988 Specify type. Require positive value.
7989 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7990 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7991 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7992 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7993 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7994 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7995 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7996 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7997 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7998 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7999 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8000 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8001 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8002 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8003 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8004 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8005 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8006 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8007 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8008 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8009 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8010 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8011 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8012 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8013 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8014 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8015 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8016 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8017 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8018 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8019 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8020 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8021 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8022 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8023 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8024 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8025 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8026 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8027 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8028 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8029 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8030 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8031 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8032 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8033 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8034 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8035 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8036 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8037 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8038 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8039 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8040 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8041 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8042 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8043 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8044 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8045 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8046 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8047 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8048 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8049 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8050 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8051 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8052 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8053 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8054 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8055 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8056 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8057 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8058 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8059 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8060 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8061 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8062 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8063 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8064 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8065 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8066 Require >= 2.
8067 (FLT_ROUNDS): Expect as macro, not constant.
8068 (FLT_MANT_DIG): Use macro-int-constant.
8069 (DBL_MANT_DIG): Likewise.
8070 (LDBL_MANT_DIG): Likewise.
8071 (FLT_DIG): Likewise.
8072 (DBL_DIG): Likewise.
8073 (LDBL_DIG): Likewise.
8074 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8075 (DBL_MIN_EXP): Likewise.
8076 (LDBL_MIN_EXP): Likewise.
8077 (FLT_MAX_EXP): Use macro-int-constant.
8078 (DBL_MAX_EXP): Likewise.
8079 (LDBL_MAX_EXP): Likewise.
8080 (FLT_MAX_10_EXP): Likewise.
8081 (DBL_MAX_10_EXP): Likewise.
8082 (LDBL_MAX_10_EXP): Likewise.
8083 (FLT_MAX): Use macro-constant.
8084 (DBL_MAX): Likewise.
8085 (LDBL_MAX): Likewise.
8086 (FLT_EPSILON): Use macro-constant. Give upper bound.
8087 (DBL_EPSILON): Likewise.
8088 (LDBL_EPSILON): Likewise.
8089 (FLT_MIN): Likewise.
8090 (DBL_MIN): Likewise.
8091 (LDBL_MIN): Likewise.
8092 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8093 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8094 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8095 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8096 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8097 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8098 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8099 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8100 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8101 [ISO11] (FLT_TRUE_MIN): Likewise.
8102 [ISO11] (LDBL_TRUE_MIN): Likewise.
8103 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8104 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8105 (SCHAR_MIN): Use macro-int-constant. Specify type.
8106 (SCHAR_MAX): Likewise.
8107 (UCHAR_MAX): Likewise.
8108 (CHAR_MIN): Likewise.
8109 (CHAR_MAX): Likewise.
8110 (MB_LEN_MAX): Use macro-int-constant.
8111 (SHRT_MIN): Use macro-int-constant. Specify type.
8112 (SHRT_MAX): Likewise.
8113 (USHRT_MAX): Likewise.
8114 (INT_MAX): Likewise.
8115 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8116 bound negative.
8117 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8118 bound with "U".
8119 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8120 bound with "L".
8121 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8122 bound negative. Suffix upper bound with "L".
8123 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8124 bound with "UL".
8125 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8126 Specify type.
8127 [C99-based standards] (LLONG_MAX): Likewise.
8128 [C99-based standards] (ULLONG_MAX): Likewise.
8129 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8130 == 0.
8131 [ISO11] (max_align_t): Require type.
8132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8133
c9140a62
JM
8134 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8135 from $CFLAGS, without defining away __attribute__ calls.
8136 (checknamespace): Use $CFLAGS_namespace.
8137
9af0bf29
JM
8138 * conform/conformtest.pl (@keywords): Only include C99 keywords
8139 for standards based on C99 or C11.
8140
343222a2
JM
8141 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8142 Disable tests.
8143 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8144 UNIX98]: Likewise.
8145
661f8cf0
JM
8146 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8147 usability of symbols in #if.
8148
ee74b9cb
JM
8149 * conform/conformtest.pl: If macro or constant types start
8150 "promoted:", expect the symbol to be of the following type
8151 promoted by the integer promotions.
62fde54f 8152
aafc49b3
JM
8153 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8154 in one place. Also handle "macro-constant".
8155
fefdf574
JM
8156 * conform/conformtest.pl: Only accept expected macro values with
8157 "==". Parse all "macro" lines in one place.
8158 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8159
f2d922fe
JM
8160 * conform/conformtest.pl: Handle braced types on "constant" lines
8161 instead of handling "typed-constant".
8162 * conform/data/signal.h-data: Use "constant" instead of
8163 "typed-constant".
8164
d22956c9
JM
8165 * conform/conformtest.pl: Handle "optional-" at start of lines in
8166 one place rather than duplicating several cases. Handle each
8167 format of "macro" line with initial "optional-".
8168
028e2e38
JM
8169 * conform/conformtest.pl: Only accept expected constant or
8170 optional-constant values with "==". Parse all "constant" lines in
8171 one place. Parse all "optional-constant" lines in one place.
8172 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8173 * conform/data/fmtmsg.h-data: Likewise.
8174 * conform/data/netinet/in.h-data: Likewise.
8175 * conform/data/tar.h-data: Likewise.
8176 * conform/data/limits.h-data: Use "==" form on "constant" and
8177 "optional-constant" lines.
8178
1b8f2850
JM
8179 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8180 Use -std=c99 for XOPEN2K.
8181 (@knownproblems): Remove.
8182 (newtoken): Don't check %isknown.
8183
a05a144b
JM
8184 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8185 Do not expect macro.
8186 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8187 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8188 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8189 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8190 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8191 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8192 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8193 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8194 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8195 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8196 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8197 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8198 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8199 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8200 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8201 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8202 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8203 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8204 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8205 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8206 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8207 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8208 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8209 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8210 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8211 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8212 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8213 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8214 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8215 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8216 [XPG3] (acosh): Likewise.
8217 [XPG3] (asinh): Likewise.
8218 [XPG3] (atanh): Likewise.
8219 [XPG3] (cbrt): Likewise.
8220 [XPG3] (expm1): Likewise.
8221 [XPG3] (ilogb): Likewise.
8222 [XPG3] (log1p): Likewise.
8223 [XPG3] (logb): Likewise.
8224 [XPG3] (nextafter): Likewise.
8225 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8226 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8227 [XPG3] (remainder): Likewise.
8228 [XPG3] (rint): Likewise.
8229 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8230 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8231 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8232 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8233 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8234 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8235 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8236 [UNIX98 || XOPEN2K] (scalb): Expect.
8237 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8238 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8239 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8240 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8241 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8242 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8243 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8244 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8245 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8246 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8247 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8248 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8249 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8250 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8251 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8252 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8253 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8254 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8255 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8256 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8257 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8258 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8259 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8260 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8261 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8262 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8263 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8264 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8265 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8266 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8267 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8268 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8269 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8270 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8271 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8272 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8273 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8274 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8275 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8276 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8277 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8278 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8279 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8280 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8281 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8282 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8283 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8284 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8285 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8286 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8287 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8288 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8289 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8290 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8291 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8292 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8293 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8294 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8295 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8296 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8297 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8298 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8299 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8300 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8301 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8302 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8303 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8304 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8305 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8306 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8307 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8308 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8309 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8310 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8311 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8312 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8313 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8314 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8315 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8316 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8317 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8318 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8319 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8320 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8321 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8322 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8323 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8324 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8325 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8326 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8327 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8328 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8329 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8330 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8331 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8332 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8333 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8334 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8335 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8336 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8337 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8338 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8339 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8340 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8341 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8342 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8343 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8344 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8345 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8346 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8347 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8348 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8349 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8350 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8351 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8352 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8353 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8354 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8355 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8356 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8357 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8358 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8359 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8360 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8361 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8362 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8363 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8364 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8365 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8366 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8367 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8368 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8369 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8370 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8371 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8372 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8373 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8374
73c5ebe3
JM
8375 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8376 _XOPEN_SOURCE_EXTENDED for XPG4.
8377
39c33b6c
JM
8378 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8379
62fde54f
JM
8380 * Makeconfig (localtime): Remove variable.
8381 (inst_localtime-file): Likewise.
8382
0741d64c
AS
83832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8384
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8386 Update.
8387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8388 Update.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8390 Update.
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8392 Update.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8394 Update.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8396 Update.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8398 Update.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8400 Update.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8402 Update.
8403
7cb029ee
JM
84042012-05-01 Joseph Myers <joseph@codesourcery.com>
8405
8406 [BZ #2550]
8407 [BZ #2570]
8408 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8409 comparisons to determine direction to adjust input.
8410 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8411 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8412 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8413 Likewise.
8414 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8415 Likewise.
8416 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8417 Likewise.
8418 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8419 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8420 Likewise.
8421 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8422 Likewise.
8423 * math/libm-test.inc (nexttoward_test): Add more tests.
8424
412bd966
AS
84252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8426
8427 [BZ #14040]
8428 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8429 in version GLIBC_2.1, not GLIBC_2.0.
8430 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8431 Likewise.
8432
9568c0c2
JM
84332012-04-30 Joseph Myers <joseph@codesourcery.com>
8434
adfbc8ac
JM
8435 [BZ #13942]
8436 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8437 (1 - x) * (1 + x).
8438 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8439 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8440 * math/libm-test.inc (acos_test): Add more tests.
8441 (asin_test): Likewise.
8442 * sysdeps/i386/fpu/libm-test-ulps: Update.
8443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8444
5ba3cc69
JM
8445 [BZ #14034]
8446 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8447 of square root.
8448 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8449 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8450 * math/libm-test.inc (acos_test_tonearest): New function.
8451 (acos_test_towardzero): Likewise.
8452 (acos_test_downward): Likewise.
8453 (acos_test_upward): Likewise.
8454 (asin_test_tonearest): Likewise.
8455 (asin_test_towardzero): Likewise.
8456 (asin_test_downward): Likewise.
8457 (asin_test_upward): Likewise.
8458 (main): Call the new functions.
8459 * sysdeps/i386/fpu/libm-test-ulps: Update.
8460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8461
9568c0c2
JM
8462 [BZ #13884]
8463 [BZ #13924]
8464 * math/e_exp10.c: Include <float.h>.
8465 (__ieee754_exp10): Handle underflow here rather than multiplying
8466 large negative argument by M_LN10.
8467 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8468 of __ieee754_expf.
8469 * math/e_exp10l.c: Include <float.h>.
8470 (__ieee754_exp10l): Handle underflow here rather than multiplying
8471 large negative argument by M_LN10l.
8472 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8473 spurious overflow exception on underflow.
8474
5ac3ea17
MP
84752012-04-29 Marek Polacek <polacek@redhat.com>
8476
8477 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8478 (__fortify_function): New macro.
8479 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8480 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8481 __extern_always_inline.
8482 * libio/bits/stdio2.h: Likewise.
8483 * libio/bits/stdio.h: Likewise.
8484 * string/string.h: Likewise.
8485 * string/bits/string3.h: Likewise.
8486 * include/stdio.h: Likewise.
8487 * stdlib/bits/stdlib.h: Likewise.
8488 * stdlib/stdlib.h: Likewise.
8489 * rt/bits/mqueue2.h: Likewise.
8490 * rt/mqueue.h: Likewise.
8491 * posix/bits/unistd.h: Likewise.
8492 * posix/unistd.h: Likewise.
8493 * io/bits/poll2.h: Likewise.
8494 * io/bits/fcntl2.h: Likewise.
8495 * io/fcntl.h: Likewise.
8496 * io/sys/poll.h: Likewise.
8497 * misc/bits/syslog.h: Likewise.
8498 * misc/bits/syslog-ldbl.h: Likewise.
8499 * misc/sys/syslog.h: Likewise.
8500 * socket/bits/socket2.h: Likewise.
8501 * socket/sys/socket.h: Likewise.
8502 * debug/tst-chk1.c: Likewise.
8503 * wcsmbs/bits/wchar2.h: Likewise.
8504 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8505 * wcsmbs/wchar.h: Likewise.
8506
ecf0ebfb
AJ
85072012-04-29 Andreas Jaeger <aj@suse.de>
8508
8509 * Makerules (tests): Remove enable-check-abi protection.
8510 (check-abi-warn): Remove.
8511 (check-abi-%): Remove check-abi-warn usage.
8512
8513 * configure.in: Remove check-abi configure option.
8514 * configure: Regenerated.
8515 * config.make.in (enable-check-abi): Remove.
8516
6d5c57fa
AS
85172012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8518
24c5d07e 8519 [BZ #14033]
ded5180a
AS
8520 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8521 double functions to double *_finite functions.
8522
7e0d315d
AS
8523 [BZ #13941]
8524 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8525 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8526 LDBL_MIN_EXP.
8527 * stdio-common/Makefile (tests): Add tst-sprintf3.
8528 * stdio-common/tst-sprintf3.c: New file.
8529
6d5c57fa
AS
8530 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8531 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8532
0749ff8b
JM
85332012-04-28 Joseph Myers <joseph@codesourcery.com>
8534
8535 * conform/conformtest.pl: Remove duplicate typed-constant
8536 handling.
8537
8dbd5d7b
DM
85382012-04-28 David S. Miller <davem@davemloft.net>
8539
8540 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8541 (check-abi-%): Remove AWK script prerequisite and explicit
8542 abilist directory.
8543 (check-abi): Rewrite to just diff the symlist with the abilist.
8544 (config-tls, config-abi-config): Delete, no longer used.
8545 (update-abi-%): Remove AWK script and explicit abilist directory.
8546 (update-abi): Rewrite to simply compare and conditionally copy the
8547 symlist and the sysdep abilist file. Remove update-abi-config
8548 checks.
8549 * abilist/ld.abilist: Remove.
8550 * abilist/libBrokenLocale.abilist: Remove.
8551 * abilist/libanl.abilist: Remove.
8552 * abilist/libcrypt.abilist: Remove.
8553 * abilist/libdl.abilist: Remove.
8554 * abilist/librt.abilist: Remove.
8555 * abilist/libthread_db.abilist: Remove.
8556 * abilist/libutil.abilist: Remove.
8557 * scripts/extract-abilist.awk: Remove.
8558 * scripts/merge-abilist.awk: Remove.
8559 * sysdeps/generic/libcidn.abilist: New file.
8560 * sysdeps/generic/libnss_compat.abilist: New file.
8561 * sysdeps/generic/libnss_db.abilist: New file.
8562 * sysdeps/generic/libnss_dns.abilist: New file.
8563 * sysdeps/generic/libnss_files.abilist: New file.
8564 * sysdeps/generic/libnss_hesiod.abilist: New file.
8565 * sysdeps/generic/libnss_nis.abilist: New file.
8566 * sysdeps/generic/libnss_nisplus.abilist: New file.
8567 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8568 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8569 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8570 file.
8571 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8572 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8573 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8574 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8575 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8576 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8577 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8578 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8579 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8580 file.
8581 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8582 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8583 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8584 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8585 file.
8586 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8587 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8588 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8589 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8590 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8591 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8592 file.
8593 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8594 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8595 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8596 file.
8597 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8599 New file.
8600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8601 New file.
8602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8603 New file.
8604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8605 New file.
8606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8607 New file.
8608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8609 New file.
8610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8611 New file.
8612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8613 New file.
8614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8615 New file.
8616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8617 New file.
8618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8619 New file.
8620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8621 New file.
8622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8623 New file.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8625 file.
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8627 New file.
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8629 New file.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8631 file.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8633 New file.
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8635 New file.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8637 file.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8639 New file.
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8641 New file.
8642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8643 New file.
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8645 New file.
8646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8647 New file.
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8649 New file.
8650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8652 file.
8653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8654 New file.
8655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8656 file.
8657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8658 file.
8659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8660 file.
8661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8662 file.
8663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8664 file.
8665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8666 New file.
8667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8668 file.
8669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8670 file.
8671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8672 New file.
8673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8674 file.
8675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8677 file.
8678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8679 New file.
8680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8681 file.
8682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8683 file.
8684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8685 file.
8686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8687 file.
8688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8689 file.
8690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8691 New file.
8692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8693 file.
8694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8695 file.
8696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8697 New file.
8698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8699 file.
8700 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8701 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8702 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8703 file.
8704 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8705 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8706 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8707 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8708 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8709 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8710 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8711 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8712 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8713 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8716 file.
8717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8718 New file.
8719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8720 file.
8721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8722 file.
8723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8724 file.
8725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8726 file.
8727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8728 file.
8729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8730 New file.
8731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8732 New file.
8733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8734 file.
8735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8736 New file.
8737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8738 file.
8739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8741 file.
8742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8743 New file.
8744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8745 file.
8746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8747 file.
8748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8749 file.
8750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8751 file.
8752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8753 file.
8754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8755 New file.
8756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8757 New file.
8758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8759 file.
8760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8761 New file.
8762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8763 file.
8764
41d73a1b
JM
87652012-04-28 Joseph Myers <joseph@codesourcery.com>
8766
8767 * conform/conformtest.pl: Fix typo in handling typed-constant from
8768 allow-header.
8769
28aeeda4
JM
87702012-04-27 Joseph Myers <joseph@codesourcery.com>
8771
adae8f5e
JM
8772 * README: Cut down references to pre-2.6 Linux kernels and
8773 Linuxthreads. Update lists of configurations in libc and ports
8774 and sort alphabetically. Say "or newer" with Linux kernel version
8775 requirements.
8776
28aeeda4
JM
8777 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8778
a462cb63
RA
87792012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8780
8781 [BZ #887]
8782 * math/libm-test.inc (logb_test_downward): New test to expose
8783 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8784 rounding mode.
8785
6ad3493e
JM
87862012-04-27 Joseph Myers <joseph@codesourcery.com>
8787
8788 [BZ #14027]
8789 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8790 to be done.
8791 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8792 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8793
2ce4f015
JM
87942012-04-26 Joseph Myers <joseph@codesourcery.com>
8795
5aeb141a
JM
8796 * sysdeps/unix/i386/brk.S: Remove file.
8797 * sysdeps/unix/i386/dl-brk.S: Likewise.
8798 * sysdeps/unix/i386/pipe.S: Likewise.
8799 * sysdeps/unix/i386/sigreturn.S: Likewise.
8800 * sysdeps/unix/i386/syscall.S: Likewise.
8801 * sysdeps/unix/i386/vfork.S: Likewise.
8802 * sysdeps/unix/i386/wait.S: Likewise.
8803
7143acae
JM
8804 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8805 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8806
2ce4f015
JM
8807 * configure.in (arm*-none*): Do not allow without
8808 --enable-hacker-mode.
8809 (netbsd*): Remove case setting base_os.
8810 (386bsd*): Likewise.
8811 (freebsd*): Likewise.
8812 (bsdi*): Likewise.
8813 (osf*): Likewise.
8814 (sunos*): Likewise.
8815 (ultrix*): Likewise.
8816 (newsos*): Likewise.
8817 (dynix*): Likewise.
8818 (*bsd*): Likewise.
8819 (sysv*): Likewise.
8820 (isc*): Likewise.
8821 (esix*): Likewise.
8822 (sco*): Likewise.
8823 (minix*): Likewise.
8824 (irix4*): Likewise.
8825 (irix6*): Likewise.
8826 (solaris[2-9]*): Likewise.
8827 (none): Likewise.
8828 * configure: Regenerated.
8829
0ac229c8
AZ
88302012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8831
8832 [BZ #11521]
8833 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8834 overflow or cancellation in calculating denominator.
8835 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8837 down expression to avoid unexpected rounding in newer GCCs.
8838 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8839
33f244f4
DM
88402012-04-26 David S. Miller <davem@davemloft.net>
8841
8842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8843 long-double compat symbols.
8844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8857
cfa1f3e8
DM
88582012-04-25 David S. Miller <davem@davemloft.net>
8859
8860 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8861 HWCAP_* values only after the memory barriers have been defined.
8862 (atomic_full_barrier): Define.
8863 (atomic_read_barrier): Define.
8864 (atomic_write_barrier): Define.
8865
6e236b92
SP
88662012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8867
8868 * shlib-versions: Add libgcc_s version information.
8869 * sysdeps/generic/libgcc_s.h: Remove.
8870 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8871 libgcc_s.h.
8872 * sysdeps/gnu/unwind-resume.c: Likewise.
8873 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8874
aab39a09
DM
88752012-04-25 David S. Miller <davem@davemloft.net>
8876
8877 * sysdeps/unix/sparc/brk.S: Delete.
8878 * sysdeps/unix/sparc/dl-brk.S: Delete.
8879 * sysdeps/unix/sparc/pipe.S: Delete.
8880 * sysdeps/unix/sparc/sysdep.S: Delete.
8881 * sysdeps/unix/sparc/sysdep.h: Delete.
8882 * sysdeps/unix/sparc/vfork.S: Delete.
8883 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8884 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8885 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8886 ret_ERRVAL, r0, r1, MOVE): Define.
8887 (JUMPTARGET): Remove.
8888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8889 sysdeps/unix/sparc/sysdep.h
8890 (ENTRY, END): Remove.
8891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8892
a3cc4f48
JM
88932012-04-25 Joseph Myers <joseph@codesourcery.com>
8894
2ed8cda2
JM
8895 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8896 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8897 -DIS_IN_build.
8898
35d76d59
JM
8899 * timezone/README: Update upstream location and email address for
8900 tzcode and tzdata.
8901 * timezone/zdump.c: Update from tzcode 2012b.
8902 * timezone/zic.c: Likewise.
8903
a3cc4f48
JM
8904 * configure.in (libc_cv_as_needed): Remove test.
8905 * configure: Regenerated.
8906 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8907 conditional definition.
8908 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8909 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8910 * config.make.in (have-as-needed): Remove variable.
8911
ceab42c3
SP
89122012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8913 Paul Pluzhnikov <ppluzhnikov@google.com>
8914
8915 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8916 strings correctly.
8917
3ce2865f
CLT
89182012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8919
8920 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8921 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8922 * sysdeps/sh/strlen.S: Likewise.
8923
f37e0d68
JM
89242012-04-24 Joseph Myers <joseph@codesourcery.com>
8925
ae186e9a
JM
8926 * sysdeps/unix/fork.S: Remove file.
8927 * sysdeps/unix/i386/fork.S: Likewise.
8928 * sysdeps/unix/sparc/fork.S: Likewise.
8929
b96914af
JM
8930 * sysdeps/unix/system.c: Remove file.
8931 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8932
f37e0d68
JM
8933 * sysdeps/unix/getegid.S: Remove file.
8934 * sysdeps/unix/geteuid.S: Likewise.
8935
87ef29ca
RM
89362012-04-24 Roland McGrath <roland@hack.frob.com>
8937
83bcd236
RM
8938 * scripts/check-localplt.awk: New file.
8939 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8940 of diff.
8941 * scripts/data/localplt-generic.data: Add a comment.
8942
87ef29ca
RM
8943 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8944 NODE when __dir_mkfile failed.
8945 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8946 Reported by Ludovic Courtès <ludo@gnu.org>.
8947
e5a6e567
AJ
89482012-04-24 Andreas Jaeger <aj@suse.de>
8949
8950 * Makerules (common-clean): Also remove gen-as-const-headers
8951 files.
8952
c1820385
JM
89532012-04-24 Joseph Myers <joseph@codesourcery.com>
8954
8955 * Makerules (native-compile): Do not change working directory for
8956 build. Use $(OUTPUT_OPTION) in command.
8957 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8958
94e02fc4
AZ
89592012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8960
8961 [BZ #13886]
8962 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8963 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8964 * math/libm-test.inc (floor_test): Add more tests.
8965 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8966
3a533ca3
JM
89672012-04-24 Joseph Myers <joseph@codesourcery.com>
8968
940ab4b3
JM
8969 * sysdeps/unix/getdents.c: Remove file.
8970 * sysdeps/unix/sysv/getdents.c: Likewise.
8971 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8972
90e037bd
JM
8973 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8974 sysdeps/unix/mman/syscalls.list.
8975 (mmap): Likewise.
8976 (mprotect): Likewise.
8977 (msync): Likewise.
8978 (munmap): Likewise.
8979 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8980 * sysdeps/unix/mman/syscalls.list: Remove.
8981 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8982
3a533ca3
JM
8983 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8984 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8985 * configure: Regenerated.
8986 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8987 $(libgcc_s_suffix).
8988 * config.make.in (libgcc_s_suffix): Remove variable.
8989
1ad743de
JM
89902012-04-23 Joseph Myers <joseph@codesourcery.com>
8991
4ad451e2
JM
8992 * sysdeps/unix/sysv/gethostname.c: Move to ...
8993 * sysdeps/posix/gethostname.c: ... here.
8994
5e37ce39
JM
8995 * sysdeps/unix/execve.S: Remove file.
8996
1ad743de
JM
8997 * sysdeps/unix/_exit.S: Remove file.
8998
4e681b5b
AJ
89992012-04-23 Andreas Jaeger <aj@suse.de>
9000
9001 [BZ #13739]
9002 * manual/Makefile: Remove make dist support, there's no
9003 need for a stand-alone documentation tar ball.
9004 (TEXI2DVI): Define always, it's not in Makeconfig.
9005 (dist): Removed.
9006 (tar-it): Removed.
9007 (edition): Removed.
9008 (glibc-doc-$(edition).tar): Removed
9009 (%.Z): Removed.
9010 (%.gz): Removed.
9011 (%.uu): Removed.
9012 (ETAGS): Remove, it's in Makeconfig.
9013 (move-if-change): Remove, it's in Makeconfig.
9014
c0baea34
PE
90152013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9016
9017 [BZ #13970]
9018 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9019 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9020 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9021 (strtod_l, strtof_l, strtold_l): Remove __wur.
9022 It is not necessarily an error to ignore strtol's return value.
9023 One can reliably look at the stored endptr to decide whether
9024 the number had valid syntax.
9025
7c0616fa
AJ
90262012-04-21 Andreas Jaeger <aj@suse.de>
9027
803cb6b7 9028 [BZ #13739]
7c0616fa
AJ
9029 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9030
b0fe253f
JM
90312012-04-21 Joseph Myers <joseph@codesourcery.com>
9032
9033 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9034 * sysdeps/unix/sysv/Versions: Remove file.
9035
8280f22d
MT
90362012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9037
9038 [BZ #13927]
9039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9040
75ce411f 90412012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9042
9043 [BZ #7064]
9044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9045 version from __vm86.
9046
097d59fa
JM
90472012-04-20 Joseph Myers <joseph@codesourcery.com>
9048
a90f3bcb
JM
9049 * sysdeps/unix/common/lxstat.c: Remove file.
9050 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9051
edc7ea78
JM
9052 * sysdeps/unix/sysv/Makefile: Remove file.
9053
cb78c221
JM
9054 * sysdeps/unix/sysv/direct.h: Remove file.
9055
efa6a45f
JM
9056 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9057 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9058 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9059 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9060 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9061 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9062 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9063
9c9f2d0c
JM
9064 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9065
4541c83b
JM
9066 * sysdeps/unix/xmknod.c: Remove file.
9067 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9068
f5d153a0
JM
9069 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9070
aa746595
JM
9071 * sysdeps/unix/sysv/i386/time.S: Remove file.
9072
cce5905e
JM
9073 * sysdeps/unix/fxstat.c: Remove file.
9074 * sysdeps/unix/xstat.c: Likewise.
9075 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9076
37fa3841
JM
9077 * sysdeps/unix/sysv/sigaction.c: Remove file.
9078
ff1962a3
JM
9079 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9080 (sysdep_headers): Remove variable.
9081 [termio.h not in sysdep_headers] (generated): Likewise.
9082 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9083 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9084 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9085 * sysdeps/unix/sysv/tcflow.c: Likewise.
9086 * sysdeps/unix/sysv/tcflush.c: Likewise.
9087 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9088 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9089 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9090 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9091 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9092
e7740d31
JM
9093 * sysdeps/unix/siglist.c: Remove file.
9094
ee06f18b
JM
9095 * sysdeps/unix/getppid.S: Remove file.
9096
097d59fa
JM
9097 * sysdeps/unix/mkdir.c: Remove file.
9098 * sysdeps/unix/rmdir.c: Likewise.
9099
ff3d51ec
AS
91002012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9101
9102 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9103 ERR_MAX value.
9104 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9105 errlist-compat value.
9106
50f81fd7
DM
91072012-04-18 David S. Miller <davem@davemloft.net>
9108
9109 * sysdeps/generic/memcopy.h (reg_char): Delete.
9110 * debug/strcat_chk.c: Use char, not reg_char.
9111 * debug/strcpy_chk.c: Likewise.
9112 * debug/strncat_chk.c: Likewise.
9113 * debug/strncpy_chk.c: Likewise.
9114 * string/memchr.c: Likewise.
9115 * string/memrchr.c: Likewise.
9116 * string/rawmemchr.c: Likewise.
9117 * string/strcat.c: Likewise.
9118 * string/strchr.c: Likewise.
9119 * string/strchrnul.c: Likewise.
9120 * string/strcmp.c: Likewise.
9121 * string/strcpy.c: Likewise.
9122 * string/strncat.c: Likewise.
9123 * string/strncmp.c: Likewise.
9124 * string/strncpy.c: Likewise.
9125
8ff41c46
WS
91262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9127
9128 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9129 __builtin_memcopy is called when src and dest ranges are known to not
9130 overlap.
9131
6b652f46
WS
91322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9133
9134 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9135 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9136 fwd_align_merge macro call.
9137 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9138 bwd_align_merge macro call.
9139 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9140
b282631e
WS
91412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9142
9143 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9144 bwd_align_merge macros.
9145 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9146 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9147 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9148
95aa737c
DM
91492012-04-18 David S. Miller <davem@davemloft.net>
9150
9151 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9152
7a99a614
AJ
91532012-04-18 Andreas Jaeger <aj@suse.de>
9154
9155 [BZ# 6794]
9156 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9157 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9158 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9159
9160 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9161 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9162 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9163
9164 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9165 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9166 Adjust for changed ldbl-128 files.
9167
9168 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9169 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9170 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9171
e5270c23
DM
91722012-04-17 David S. Miller <davem@davemloft.net>
9173
9174 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9175
fb5e92c9
AS
91762012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9177
9178 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9179 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9180 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9181 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9182 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9183 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9184
76da7265
AZ
91852012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9186
9187 [BZ #6794]
9188 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9189 * math/libm-test.inc: Add ilogb errno and exception tests.
9190 * math/w_ilogb.c: New file: ilogb wrapper.
9191 * math/w_ilogbf.c: New file: ilogbf wrapper.
9192 * math/w_ilogbl.c: New file: ilogbl wrapper.
9193 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9194 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9195 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9196 exception being thrown with 0.0 as argument.
9197 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9198 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9199 exception being thrown with 0.0 as argument.
9200 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9201 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9202 exception being thrown with 0.0 as argument.
9203 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9204 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9205 exception being thrown with 0.0 as argument.
9206 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9207 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9208 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9209 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9210 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9211 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9212 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9213 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9214 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9215
0396e69d
PB
92162012-04-17 Petr Baudis <pasky@ucw.cz>
9217
9218 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9219 with altivec.
9220
750b5926
MP
92212012-04-16 Marek Polacek <polacek@redhat.com>
9222
9223 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9224
751728a1
MP
92252012-04-16 Marek Polacek <polacek@redhat.com>
9226
9227 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9228 operands of fdivp instruction.
9229
34a27407
L
92302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9231
9232 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9233 * elf/tst-auditmod3b.c: Likewise.
9234 * elf/tst-auditmod4b.c: Likewise.
9235 * elf/tst-auditmod5b.c: Likewise.
9236 * elf/tst-auditmod6b.c: Likewise.
9237 * elf/tst-auditmod6c.c: Likewise.
9238 * elf/tst-auditmod7b.c: Likewise.
9239 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9240 * sysdeps/x86_64/preconfigure.in: Likewise.
9241 * sysdeps/x86_64/preconfigure: Regenerated.
9242
7e73e17d
L
92432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9244
9245 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9246 __ILP32__.
9247
c7a6ab72
AB
92482012-04-13 Antoine Balestrat <merkil33@gmail.com>
9249
9250 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9251 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9252
a9e8e0e0
CL
92532012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9254
9255 [BZ #13973]
9256 * locale/iso-639.def: Fix gl language name. Spotted by
9257 Yaron Shahrabani.
9258
ec98af7d
RM
92592012-04-12 Roland McGrath <roland@hack.frob.com>
9260
9261 [BZ #2074]
9262 * libio/libio.h (__io_write_fn): Update comment.
9263
247c3ede
PB
92642012-04-12 Petr Baudis <pasky@ucw.cz>
9265
9266 [BZ #2074]
9267 * stdio.texi (Hook Functions): The user provided writer function
9268 is not allowed to return -1.
9269
55939d6d
DM
92702012-04-11 David S. Miller <davem@davemloft.net>
9271
9272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9273
90020f5a
MF
92742012-04-11 Mike Frysinger <vapier@gentoo.org>
9275
9276 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9277 Add a leading slash to rtkaio.
9278
288f9098
JM
92792012-04-11 Jim Meyering <meyering@redhat.com>
9280
90020f5a
MF
9281 [BZ #11959]
9282 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9283 It is not necessarily an error to ignore fwrite's return
9284 value. One can reliably use ferror to test for errors after
9285 the fact.
288f9098 9286
4be2b570
L
92872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9288
9289 * bits/types.h (__snseconds_t): New type.
9290 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9291
9292 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9294 (__SNSECONDS_T_TYPE): Likewise.
9295 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9296 (__SNSECONDS_T_TYPE): Likewise.
9297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9298 (__SNSECONDS_T_TYPE): Likewise.
9299
288f9098 93002012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9301
9302 [BZ #2636]
9303 * manual/time.texi (Processor Time): Return type of times is
9304 elapsed real time since an arbitrary point in the past.
9305 (CPU Time): Move CLK_TCK from here...
9306 (Processor Time): ...to here. Correct description.
9307 * manual/conf.texi (Constants for Sysconf): Correct description of
9308 _SC_CLK_TCK.
9309
d7dd4413
DM
93102012-04-10 David S. Miller <davem@davemloft.net>
9311
9312 [BZ #13967]
9313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9314 where the is a gap between DT_REL(A) and DT_JMPREL.
9315
b46068fc
L
93162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9317
9318 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9319 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9320 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9321
73d65cc3
SP
93222012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9323
9324 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9325 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9326 (dl_main): Handle --inhibit-cache.
9327 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9328 _dl_inhibit_cache.
9329 * elf/dl-load.c (_dl_map_object): Use it.
9330 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9331
bcc8d661
JM
93322012-04-09 Joseph Myers <joseph@codesourcery.com>
9333
8f9a2fae
JM
9334 [BZ #13872]
9335 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9336 (__ieee754_powl): Saturate large exponents rather than testing for
9337 overflow of y*log2(x).
9338 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9339 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9340 exceptions.
9341
bcc8d661
JM
9342 [BZ #11521]
9343 * math/s_ctan.c: Include <float.h>.
9344 (__ctan): Avoid internal overflow or cancellation in calculating
9345 denominator.
9346 * math/s_ctanf.c: Likewise.
9347 * math/s_ctanl.c: Likewise.
9348 * math/s_ctanh.c: Likewise.
9349 * math/s_ctanhf.c: Likewise.
9350 * math/s_ctanhl.c: Likewise.
9351 * math/libm-test.inc (ctan_test): Add more tests.
9352 (ctanh_test): Likewise.
9353 * sysdeps/i386/fpu/libm-test-ulps: Update.
9354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9355
823fbbb4
AJ
93562012-04-09 Andreas Jaeger <aj@suse.de>
9357
03879793
AJ
9358 [BZ #6894]
9359 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9360 is an optional BSD extension.
9361
823fbbb4
AJ
9362 [BZ #10254]
9363 * manual/stdio.texi (Opening Streams): Document additional fopen
9364 parameters.
9365
8de131cb
RM
93662012-04-09 Roland McGrath <roland@hack.frob.com>
9367
9368 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9369 %eax without telling the compiler.
9370
c0ed9d7d
CD
93712012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9372
9373 [BZ # 13963]
9374 * manual/install.texi: Use sourceware.org.
9375
c483f6b4
JM
93762012-04-09 Joseph Myers <joseph@codesourcery.com>
9377
d7dd9453
JM
9378 [BZ #13873]
9379 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9380 (__ieee754_pow): Generate overflow and underflow using huge*huge
9381 and tiny*tiny rather than just returning constant infinity or zero
9382 for large exponents.
9383 * math/libm-test.inc (pow_test): Require overflow exceptions for
9384 applicable cases of large exponents.
9385
c483f6b4
JM
9386 [BZ #706]
9387 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9388 (__ieee754_pow): Use iterative multiplication algorithm only for
9389 integer exponents with absolute value below 1024. Check for odd
9390 integer exponents when using algorithm for real exponents.
9391 * math/libm-test.inc (pow_test): Add more tests.
9392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9393
d2de7579
JM
93942012-04-08 Joseph Myers <joseph@codesourcery.com>
9395
9396 [BZ #13705]
9397 * math/libm-test.inc (exp_test): Do not allow overflow exception
9398 on underflow test.
9399
f77f1232
AJ
94002012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9401
9402 [BZ #13705]
9403 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9404 instead of __kernel_standard_f.
9405
3884932b
MF
94062012-04-08 Mike Frysinger <vapier@gentoo.org>
9407
9408 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9409 * sysdeps/x86_64/memset_chk.S: Likewise.
9410
54472e9c
AJ
94112012-04-08 Andreas Jaeger <aj@suse.de>
9412
6ab0fbfc
AJ
9413 [BZ #10153]
9414 * manual/startup.texi (Environment Access): Describe return value
9415 for putenv and setenv.
9416
61efba8c
AJ
9417 [BZ #6895]
9418 * manual/filesys.texi (Directory Entries): Add description for
9419 DT_LNK.
9420
95c3f29a
AJ
9421 [BZ #6890]
9422 * manual/filesys.texi (Directory Entries): Clarify that it's file
9423 system not operating system in the description of DT_UNKNOWN.
9424
54472e9c
AJ
9425 [BZ #6578]
9426 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9427
624254b1
SC
94282012-04-08 Stephen Compall <s11@member.fsf.org>
9429
9430 [BZ #6649]
9431 * manual/llio.texi (Opening and Closing Files): Add cross
9432 reference to explain mode argument.
9433
1e4920e0
MF
94342012-04-07 Mike Frysinger <vapier@gentoo.org>
9435
9436 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9437 * sysdeps/x86_64/memset_chk.S: Likewise.
9438
5ed848f3
DM
94392012-04-07 David S. Miller <davem@davemloft.net>
9440
9441 * elf/elf.h (R_SPARC_WDISP10): Define.
9442 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9443 R_SPARC_SIZE32.
9444 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9445 R_SPARC_SIZE64 and R_SPARC_H34.
9446
96154cd8
CD
94472012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9448
9449 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9450 conditions and remove no longer applicable assertion.
9451
9904dc47
L
94522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9453
9454 * bits/byteswap.h: Include <features.h>.
9455 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9456 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9457
f8887d0a
L
94582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9459
9460 * bits/byteswap.h (__bswap_16): Removed.
9461 Include <bits/byteswap-16.h> to get __bswap_16.
9462 * sysdeps/i386/bits/byteswap.h: Likewise.
9463 * sysdeps/s390/bits/byteswap.h: Likewise.
9464 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9465 * bits/byteswap-16.h: New file.
9466 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9467 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9468 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9469 * string/Makefile (headers): Add bits/byteswap-16.h.
9470
62470f60
PP
94712012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9472
9473 [BZ #13895]
9474 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9475 extra indirection.
9476 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9477 * nss/tst-nss-static.c: New.
9478
4dad7bab
RM
94792012-04-06 Robert Millan <rmh@gnu.org>
9480
9481 [BZ #6486]
9482 * manual/llio.texi (File Position Primitive): lseek
9483 refers to WHENCE when it really means OFFSET.
9484
e9142a17
AJ
94852012-04-06 Andreas Jaeger <aj@suse.de>
9486
2c040eff
AJ
9487 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9488 strncmp declarations.
9489
e9142a17
AJ
9490 * abilist/libc.abilist: Add __poll and __ppoll.
9491
ff9f1c5f
DM
94922012-04-05 David S. Miller <davem@davemloft.net>
9493
dcd2ae90
DM
9494 * scripts/check-local-headers.sh: Accept a host triplet in the
9495 path matched by the exclude regexp.
9496
993eb054
DM
9497 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9498 definition.
9499 * sysdeps/powerpc/powerpc32/dl-machine.h
9500 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9501 * sysdeps/s390/s390-32/dl-machine.h
9502 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9503 * sysdeps/sparc/sparc32/dl-machine.h
9504 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9505 * sysdeps/sparc/sparc64/dl-machine.h
9506 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9507
ff9f1c5f
DM
9508 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9509 lazy binding.
48e2e132 9510 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9511 undefined symbol errors.
9512
48e2e132 9513 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9514 DT_NEEDED entries.
9515
e80d6f94
MM
95162012-04-05 Michael Matz <matz@suse.de>
9517
9518 [BZ #13592]
9519 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9520
349fa79f
AJ
95212012-04-05 Andreas Jaeger <aj@suse.de>
9522
9523 [BZ #13908]
9524 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9525 comment.
9526
f402708f
KK
95272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9528
9529 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9530 which ROUND is no valid rounding mode.
9531
2ecccfc9
KK
95322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9533
9534 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9535 read again.
9536 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9537
8a53f50f
KK
95382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9539
9540 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9541 an exception using FPU order intentionally.
9542
95432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9544
9545 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9546 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9547 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9548 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9549
d653abb7
SJ
95502012-04-05 Simon Josefsson <simon@josefsson.org>
9551
9552 [BZ #12340]
9553 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9554 EINVAL when BUFLEN is too smal.
9555
c3b1bf7d
TS
95562012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9557
9558 [BZ #13553]
9559 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9560 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9561
b1aa60f3
AJ
95622012-04-03 Andreas Jaeger <aj@suse.de>
9563
c3b1bf7d 9564 [BZ #13938]
67f60a26
AJ
9565 * manual/setjmp.texi (System V contexts): Fix sentence.
9566
b1aa60f3
AJ
9567 [BZ #13926]
9568 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9569 New macro for this case.
9570 [!__GNUC__] (__bswap_64): New inline function for this case.
9571 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9572 * bits/byteswap.h: Likewise.
9573 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9574 ull, guard with __GLIBC_HAVE_LONG_LONG.
9575
9576 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9577 __GLIBC_HAVE_LONG_LONG.
9578
9579 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9580 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9581
39c59c35
TMQMF
95822012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9583
9584 [BZ #13691]
9585 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9586 inptr and inend, rather than using last_ch.
9587
135ffda8
DM
95882012-04-02 David S. Miller <davem@davemloft.net>
9589
9590 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9591 * stdio-common/printf-parse.h (read_int): Change return type to
9592 'int', return -1 on INT_MAX overflow.
9593 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9594 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9595 overflows INT_MAX. Check for overflow of in-format-string precision
9596 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9597 SIZE_MAX not INT_MAX for integer overflow test.
9598 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9599 skip the construct in the format string but do not record anything.
9600 * stdio-common/bug22.c: Adjust to test both width/prevision
9601 INT_MAX overflow as well as total length INT_MAX overflow. Check
9602 explicitly for proper errno values.
9603
228c019e
TS
96042012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9605
302cadd3
TS
9606 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9607 CHAR_MAX.
9608 * string/test-strcmp.c [! WIDE]: Likewise.
9609 * time/tst-mktime2.c: Likewise for INT_MAX.
9610 * string/test-string.h: #include <sys/param.h> for MIN.
9611
228c019e
TS
9612 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9613 * sysdeps/i386/init-first.c (init): Likewise.
9614 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9615 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9616 * sysdeps/sh/init-first.c (init): Likewise.
9617
cfa633f5
UD
96182012-04-01 Ulrich Drepper <drepper@gmail.com>
9619
9620 * po/ru.po: Update from translation team.
d1635ef8 9621 * po/vi.po: Likewise.
cfa633f5 9622
6cd0a5ea
SP
96232012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9624
9625 * resolv/nss_dns/dns-host.c: Merge copyright years.
9626
4b43400f
LD
96272012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9628
9629 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9630 Optimize memcpy with prefetch if
9631 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9632 src, dst pointers have unequal 16 byte alignments.
9633
48c41d04
SP
96342012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9635
9636 [BZ #13928]
9637 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9638 from a CNAME entry and return the minimum ttl for the query.
9639 (gaih_getanswer_slice): Likewise.
9640
b8dc394d
JL
96412012-03-30 Jeff Law <law@redhat.com>
9642
9643 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9644 due to long keys.
9645 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9646 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9647
2f5a5ed0
JL
9648 * resolv/nss_dns/dns-host.c: Update copyright year.
9649
1d39e359
UD
96502012-03-30 Ulrich Drepper <drepper@gmail.com>
9651
c030f70c 9652 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9653 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9654
1d39e359
UD
9655 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9656 comments for sendmmsg.
9657
96582012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9659
9660 [BZ #13691]
9661 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9662 with only 1 character between 0x0041 and 0x01b0.
9663 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9664 * wcsmbs/tst-mbsnrtowcs.c: New file.
9665
20fde227
DM
96662012-03-29 David S. Miller <davem@davemloft.net>
9667
9668 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9669 small copies by hand.
9670
984a4237
JL
96712012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9672
9673 [BZ #13761]
9674 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9675 _nss_compat_initgroups_dyn): Fall back to malloc/free
9676 for large group memberships.
9677
18c9d62b
DM
96782012-03-28 David S. Miller <davem@davemloft.net>
9679
88d85d4f
DM
9680 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9681 that branches into memcpy.
9682 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9683 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9685 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9687 bits.
9688 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9689 implementation too.
9690 * sysdeps/sparc/mempcpy.S: New file.
9691
e5aa83e1
DM
9692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9693 the IFUNC routine in the libc case.
9694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9695
88570753
DM
9696 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9697 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9698 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9699 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9700 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9701 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9702 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9703 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9704
249d7567
DM
9705 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9706 loop to 256 bytes instead of 64 bytes and fix test signedness.
9707
18c9d62b
DM
9708 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9709 * sysdeps/sparc/sparc32/Makefile: rather than here...
9710 * sysdeps/sparc/sparc64/Makefile: and here.
9711
05f3d1f6
UD
97122012-03-28 Ulrich Drepper <drepper@gmail.com>
9713
9714 * malloc/mallocbug.c: Avoid warnings about unused variables.
9715
86ae07a8
JL
97162012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9717
9718 [BZ #13760]
9719 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9720 in the right place. Discard and retry query if response is
9721 larger than input buffer size.
9722
41bf21a1
JM
97232012-03-28 Joseph Myers <joseph@codesourcery.com>
9724
d6270972
JM
9725 [BZ #369]
9726 [BZ #2678]
9727 [BZ #3866]
9728 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9729 x for large integer exponent.
9730 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9731 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9732 sign of result as needed afterwards.
9733 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9734 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9735 result for underflowing pow the same as for overflow.
9736 (__kernel_standard_l): Handle powl overflow and underflow here
9737 rather than calling __kernel_standard.
9738 * math/libm-test.inc (pow_test): Add more tests.
9739
414fca03 9740 [BZ #3868]
41bf21a1
JM
9741 [BZ #13879]
9742 [BZ #13910]
9743 [BZ #13911]
9744 [BZ #13912]
9745 [BZ #13913]
9746 [BZ #13915]
9747 [BZ #13916]
9748 [BZ #13917]
9749 [BZ #13918]
9750 [BZ #13919]
9751 [BZ #13920]
9752 [BZ #13921]
9753 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9754 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9755 (__kernel_standard_l): New function.
9756 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9757 __kernel_standard.
9758 * math/w_acosl.c (__acosl): Likewise.
9759 * math/w_asinl.c (__asinl): Likewise.
9760 * math/w_atan2l.c (__atan2l): Likewise.
9761 * math/w_atanhl.c (__atanhl): Likewise.
9762 * math/w_coshl.c (__coshl): Likewise.
9763 * math/w_exp10l.c (__exp10l): Likewise.
9764 * math/w_exp2l.c (__exp2l): Likewise.
9765 * math/w_fmodl.c (__fmodl): Likewise.
9766 * math/w_hypotl.c (__hypotl): Likewise.
9767 * math/w_j0l.c (__j0l, __y0l): Likewise.
9768 * math/w_j1l.c (__j1l, __y1l): Likewise.
9769 * math/w_jnl.c (__jnl, __ynl): Likewise.
9770 * math/w_lgammal.c (__lgammal): Likewise.
9771 * math/w_log10l.c (__log10l): Likewise.
9772 * math/w_log2l.c (__log2l): Likewise.
9773 * math/w_logl.c (__logl): Likewise.
9774 * math/w_powl.c (__powl): Likewise.
9775 * math/w_remainderl.c (__remainderl): Likewise.
9776 * math/w_scalbl.c (sysv_scalbl): Likewise.
9777 * math/w_sinhl.c (__sinhl): Likewise.
9778 * math/w_sqrtl.c (__sqrtl): Likewise.
9779 * math/w_tgammal.c (__tgammal): Likewise.
9780 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9781 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9782 * math/libm-test.inc (acos_test): Add more tests.
9783 (acosh_test): Likewise.
9784 (asin_test): Likewise.
9785 (atanh_test): Likewise.
9786 (exp_test): Likewise.
9787 (exp10_test): Likewise.
9788 (exp2_test): Likewise.
9789 (expm1_test): Likewise.
9790 (lgamma_test): Likewise.
9791 (log_test): Likewise.
9792 (log10_test): Likewise.
9793 (log1p_test): Likewise.
9794 (log2_test): Likewise.
9795 (pow_test): Do not allow some spurious overflow exceptions.
9796 (sqrt_test): Add more tests.
9797 (tgamma_test): Likewise.
9798 (y0_test): Likewise.
9799 (y1_test): Likewise.
9800 (yn_test): Likewise.
9801
dd62fda6
AB
98022012-03-27 Anton Blanchard <anton@samba.org>
9803
9804 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9805 MAP_HUGETLB.
9806 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9809
1e3cdfda
AJ
98102012-03-27 David S. Miller <davem@davemloft.net>
9811
b855ab85
DM
9812 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9813
1e3cdfda
AJ
9814 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9815 have-as-vis3 check.
9816
98172012-03-27 Andreas Jaeger <aj@suse.de>
9818
9819 * sysdeps/x86_64/elf/configure.in: Moved to ...
9820 * sysdeps/x86_64/configure.in: ... here.
9821 * sysdeps/x86_64/elf/start.S: Moved to ...
9822 * sysdeps/x86_64/start.S: ... here.
9823 * sysdeps/x86_64/elf/configure: Delete.
9824
9825 * sysdeps/x86_64/configure.in: Merge contents from
9826 sysdeps/i386/configure.in (without i686 check).
9827
9828 * sysdeps/i386/elf/Versions: Merge into ...
9829 * sysdeps/i386/Versions: ... this.
9830 * sysdeps/i386/elf/Versions: Delete file.
9831 * sysdeps/i386/elf/start.S: Moved to ...
9832 * sysdeps/i386/start.S: ...here.
9833 * sysdeps/i386/elf/configure.in: Merge into...
9834 * sysdeps/i386/configure.in: ...here.
9835 * sysdeps/i386/elf/configure.in: Delete file.
9836 * sysdeps/i386/elf/configure: Delete file.
9837
9838 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9839 * debug/backtracesyms.c: ... here.
9840 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9841 * debug/backtracesymsfd.c: ... here.
9842 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9843 * sysdeps/generic/ifunc-sel.h: ... here.
9844
9845 * sysdeps/unix/i386/start.c: Delete file.
9846 * sysdeps/unix/sparc/start.c: Delete file.
9847 * sysdeps/unix/start.c: Delete file.
9848
9849 * sysdeps/sh/elf/configure.in: Moved to ...
9850 * sysdeps/sh/configure.in: ... here.
9851 * sysdeps/sh/elf/start.S: Moved to ...
9852 * sysdeps/sh/start.S: ... here.
9853 * sysdeps/sh/elf/configure: Delete file.
9854
9855 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9856 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9857 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9858 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9859 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9860 * sysdeps/powerpc/powerpc64/start.S: here.
9861 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9862 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9863 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9864 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9865 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9866
9867 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9868 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9869 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9870 * sysdeps/powerpc/powerpc32/start.S: ... here.
9871 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9872 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9873 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9874
9875 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9876 * sysdeps/powerpc/ifunc-sel.h: ... here.
9877 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9878 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9879
9880 * sysdeps/sparc/elf/configure.in: Moved to ...
9881 * sysdeps/sparc/configure.in: ... here.
9882 * sysdeps/sparc/elf/configure: Delete file.
9883 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9884 * sysdeps/sparc/sparc32/start.S: ... here.
9885 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9886 * sysdeps/sparc/sparc64/start.S: ... here.
9887 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9888 * sysdeps/sparc/sparc32/Makefile: ... this.
9889 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9890 * sysdeps/sparc/sparc64/Makefile: ... this.
9891
9892 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9893 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9894 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9895 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9896 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9897 * sysdeps/s390/s390-32/setjmp.S: ... here.
9898 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9899 * sysdeps/s390/s390-32/configure.in: ... here.
9900 * sysdeps/s390/s390-32/elf/configure: Delete file.
9901 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9902 * sysdeps/s390/s390-32/start.S: ... here.
9903
9904 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9905 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9906 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9907 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9908 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9909 * sysdeps/s390/s390-64/setjmp.S: ... here.
9910 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9911 * sysdeps/s390/s390-64/configure.in: ... here
9912 * sysdeps/s390/s390-64/elf/configure: Delete file.
9913 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9914 * sysdeps/s390/s390-64/start.S: ... here.
9915 * sysdeps/s390/s390-64/elf/configure: Delete.
9916
9917 * configure.in: Remove support for elf directories in sysdeps.
9918
9919 * configure: Regenerated.
9920 * sysdeps/i386/configure: Regenerated.
9921 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9922 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9923 * sysdeps/s390/s390-32/configure: Regenerated.
9924 * sysdeps/s390/s390-64/configure: Regenerated.
9925 * sysdeps/sh/configure: Regenerated.
9926 * sysdeps/sparc/configure: Regenerated.
9927 * sysdeps/x86_64/configure: Regenerated.
9928
a3f61311
AS
99292012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9930
c876e002
AS
9931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9932
a3f61311
AS
9933 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9934 denormal result into account.
9935
ac4c54f0
RM
99362012-03-25 Roland McGrath <roland@hack.frob.com>
9937
9938 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9939 Reported by Allan McRae <allan@archlinux.org>.
9940
6a9b9c02
JL
99412012-03-23 Jeff Law <law@redhat.com>
9942
9943 * nss/getnssent.c (__nss_getent): Fix typo.
9944
4c42a0c1
DM
99452012-03-23 David S. Miller <davem@davemloft.net>
9946
9947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9948
1532c7ac
L
99492012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9950
9951 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9952 to pad to uint64_t for each field.
9953 (dl_tls_index): Replace unsigned long with uint64_t.
9954
3ff42526
PP
99552012-03-23 Daniel Jacobowitz <dmj@google.com>
9956 Paul Pluzhnikov <ppluzhnikov@google.com>
9957
9958 [BZ #6528]
9959 * grp/Makefile (otherlibs): Don't set it.
9960 * inet/Makefile (otherlibs): Likewise.
9961 * login/Makefile (otherlibs): Likewise.
9962 * nscd/Makefile (otherlibs): Likewise.
9963 * posix/Makefile (otherlibs): Likewise.
9964 * pwd/Makefile (otherlibs): Likewise.
9965 * rt/Makefile (otherlibs): Likewise.
9966 * sunrpc/Makefile (otherlibs): Likewise.
9967 * nss/Makefile (otherlibs): Likewise.
9968 Add libnss_files to routines and static-only-routines.
9969 ($(objpfx)getent): Remove rule.
9970 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9971 static-only-routines.
9972
7c69cd14
JM
99732012-03-22 Joseph Myers <joseph@codesourcery.com>
9974
9975 [BZ #13892]
9976 * math/s_cexp.c: Include <float.h>.
9977 (__cexp): Handle exp result overflowing not necessarily
9978 overflowing both real and imaginary parts of result.
9979 * math/s_cexpf.c: Likewise.
9980 * math/s_cexpl.c: Likewise.
9981 * math/libm-test.inc (cexp_test): Add more tests.
9982 * sysdeps/i386/fpu/libm-test-ulps: Update.
9983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9984
81b035fe
L
99852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 * include/link.h (ELFW): New macro.
9988 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9989 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9990
1da7940c
L
99912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9992
9993 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9994 with uint64_t.
9995
b749dbb9
L
99962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9997
9998 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9999 declaration.
10000 (struct La_x32_retval): Likewise.
10001
2ff87f3f
L
100022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10003
10004 * sysdeps/x86_64/preconfigure.in: New file.
10005 * sysdeps/x86_64/preconfigure: New generated file.
10006
c0df8e69
JM
100072012-03-22 Joseph Myers <joseph@codesourcery.com>
10008
48e44791
JM
10009 [BZ #13824]
10010 * math/e_exp2l.c: Include <float.h>.
10011 (__ieee754_exp2l): Handle overflow and underflow cases
10012 separately. Only pass fractional part of argument to
10013 __ieee754_expl.
10014 * math/libm-test.inc (exp2_test): Add more tests.
10015
c0df8e69
JM
10016 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10017 negating x to take absolute value.
10018 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10019 Likewise.
10020 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10021 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10022 Likewise.
10023 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10024 computing low part if x was negated.
10025 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10026
c8e43ba7
L
100272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10028
10029 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10030 la_x32_gnu_pltexit.
10031 (pltexit): Cast int_retval to ptrdiff_t.
10032 * elf/tst-auditmod3b.c: Likewise.
10033 * elf/tst-auditmod4b.c: Likewise.
10034 * elf/tst-auditmod5b.c: Likewise.
10035 * elf/tst-auditmod6b.c: Likewise.
10036 * elf/tst-auditmod6c.c: Likewise.
10037 * elf/tst-auditmod7b.c: Likewise.
10038
10039 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10040 and x32_gnu_pltexit.
10041
10042 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10043 __ELF_NATIVE_CLASS.
10044 (La_x32_regs): New macro.
10045 (La_x32_retval): Likewise.
10046 (la_x32_gnu_pltenter): New function prototype.
10047 (la_x32_gnu_pltexit): Likewise.
10048
7998fa78
AS
100492012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10050
dcb33988
AS
10051 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10052 exponent.
10053
233fc563
AS
10054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10055
7998fa78
AS
10056 * configure.in (libc_cv_cc_nofma): Check for option to disable
10057 generation of FMA instructions.
10058 * configure: Regenerate.
10059 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10060 * sysdeps/ieee754/dbl-64/Makefile: New file.
10061 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10062 Remove brandred-fma4.
10063 (CFLAGS-brandred-fma4.c): Remove.
10064 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10065 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10066 define.
10067 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10068 define.
10069
8e95c99a
L
100702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10071
10072 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10073 LLONG_MAX != LONG_MAX.
10074 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10075 (_fitoa_word): Likewise.
10076 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10077 LLONG_MAX != LONG_MAX.
10078 * stdio-common/_itowa.h: Include <_itoa.h>.
10079 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10080 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10081 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10082 only if not defined.
10083 (_ITOA_WORD_TYPE): Likewise.
10084 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10085 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10086
6f4db457
DM
100872012-03-21 David S. Miller <davem@davemloft.net>
10088
10089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10090
7785fe5a
L
100912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10092
10093 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10094 of x86_64 when setting libc_cv_slibdir, libdir and
10095 libc_cv_localedir.
10096 * sysdeps/unix/sysv/linux/configure: Regenerated.
10097
4535cd55
JM
100982012-03-21 Joseph Myers <joseph@codesourcery.com>
10099
10100 * manual/lang.texi (Old Varargs): Remove section.
10101 (How Variadic): Update menu.
10102 (va_start): Do not mention varargs.h.
10103
17228132
TS
101042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10105 Joseph Myers <joseph@codesourcery.com>
10106
10107 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10108 link test.
10109 * configure: Regenerated.
10110
8149f976
TS
101112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10112
05f3d1f6
UD
10113 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10114 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10115 conformtest.pl
8149f976 10116
1a4ac776
JM
101172012-03-21 Joseph Myers <joseph@codesourcery.com>
10118
be22ce65
JM
10119 * NOTES: Remove.
10120 * Makefile (files-for-dist): Remove NOTES.
10121 (NOTES): Remove rule.
10122 * README: Don't refer to NOTES.
10123 * manual/creature.texi: Don't include macros.texi.
10124 * manual/intro.texi (creature.texi): Remove comment referring to
10125 NOTES.
10126
40b601fb
JM
10127 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10128 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10129 * configure: Regenerated.
10130 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10131 LIBC_TRY_CC_OPTION.
10132 (libc_cv_as_i686): Likewise.
10133 (libc_cv_cc_avx): Likewise.
10134 (libc_cv_cc_sse2avx): Likewise.
10135 (libc_cv_cc_fma4): Likewise.
10136 (libc_cv_cc_novzeroupper): Likewise.
10137 * sysdeps/i386/configure: Regenerated.
10138
1a4ac776
JM
10139 [BZ #13883]
10140 * sysdeps/i386/fpu/s_cexp.S: Remove.
10141 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10142 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10143 * math/libm-test.inc (cexp_test): Add more tests.
10144 * sysdeps/i386/fpu/libm-test-ulps: Update.
10145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10146
a458e7fe
AM
101472012-03-21 Allan McRae <allan@archlinux.org>
10148
10149 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10150
0cb7efc5
JM
101512012-03-21 Joseph Myers <joseph@codesourcery.com>
10152
10153 [BZ #13871]
10154 * math/w_exp2.c: Do not include <float.h>.
10155 (o_threshold, u_threshold): Remove.
10156 (__exp2): Calculate result before checking finiteness and calling
10157 __kernel_standard.
10158 * math/w_exp2f.c: Likewise.
10159 * math/w_exp2l.c: Likewise.
10160 * math/libm-test.inc (exp2_test): Require overflow exception for
10161 1e6 input.
2460d3aa
JM
10162
10163 [BZ #3866]
10164 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10165 range of signed 64-bit integers before using fistpll. Remove
10166 checks for whether integers fit in mantissa bits.
10167 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10168 the range of signed 32-bit integers before using fistpl. Remove
10169 checks for whether integers fit in mantissa bits.
10170 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10171 (__ieee754_powl): Test for y outside the range of signed 64-bit
10172 integers before using fistpll. Reduce 64-bit values to 63-bit
10173 ones as needed.
10174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10175 divide-by-zero is raised for zero to large negative powers.
10176 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10177 (__ieee754_powl): Test for y outside the range of signed 64-bit
10178 integers before using fistpll. Reduce 64-bit values to 63-bit
10179 ones as needed.
10180 * math/libm-test.inc (pow_test): Add more tests.
10181
eb96ffb0
L
101822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10183
10184 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10185 <stdio-common/_itoa.h>.
10186 * debug/segfault.c: Likewise.
10187 * elf/dl-cache.c: Likewise.
10188 * elf/dl-minimal.c: Likewise.
10189 * elf/dl-misc.c: Likewise.
10190 * elf/dl-sysdep.c: Likewise.
10191 * elf/dl-version.c: Likewise.
10192 * elf/rtld.c: Likewise.
10193 * hurd/hurdsock.c: Likewise.
10194 * hurd/lookup-retry.c: Likewise.
10195 * malloc/malloc.c: Likewise.
10196 * malloc/mtrace.c: Likewise.
10197 * nscd/nscd_getgr_r.c: Likewise.
10198 * nscd/nscd_getpw_r.c: Likewise.
10199 * nscd/nscd_getserv_r.c: Likewise.
10200 * posix/getopt_init.c: Likewise.
10201 * posix/wordexp.c: Likewise.
10202 * stdio-common/_itoa.c: Likewise.
10203 * stdio-common/printf_fphex.c: Likewise.
10204 * stdio-common/vfprintf.c: Likewise.
10205 * string/_strerror.c: Likewise.
10206 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10207 * sysdeps/i386/i686/hp-timing.h: Likewise.
10208 * sysdeps/mach/_strerror.c: Likewise.
10209 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10210 * sysdeps/mach/hurd/sethostid.c: Likewise.
10211 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10212 * sysdeps/mach/xpg-strerror.c: Likewise.
10213 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10214 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10215 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10216 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10217 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10218 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10219 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10220 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10221 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10222 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10223 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10224 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10225 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10226 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10227 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10228 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10229 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10230 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10231 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10232 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10233 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10234
10235 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10236
10237 * stdio-common/_itoa.h: Moved to ...
10238 * sysdeps/generic/_itoa.h: Here.
10239
10240 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10241
10242 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10243 instead of "_itoa.h" and "_itowa.h".
10244 * stdio-common/vfprintf.: Likewise.
10245
d1af992d
L
102462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10249 <bits/wordsize.h>.
10250 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10251 (__signbit): Likwise.
10252 (llrintf): Likwise.
10253 (llrint): Likwise.
10254
114883e0
L
102552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10256
10257 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10258 __WORDSIZE != 64.
10259
c135cc1b
JM
102602012-03-20 Joseph Myers <joseph@codesourcery.com>
10261
10262 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10263 OVERFLOW_EXCEPTION_OK.
10264 * math/libm-test.inc ("Philosophy"): Update comment about
10265 exception testing.
10266 (OVERFLOW_EXCEPTION): Define.
10267 (OVERFLOW_EXCEPTION_OK): Likewise.
10268 (INVALID_EXCEPTION_OK): Renumber.
10269 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10270 (IGNORE_ZERO_INF_SIGN): Likewise.
10271 (test_exceptions): Handle FE_OVERFLOW.
10272 (exp10_test): Expect overflow exceptions.
10273 (exp2_test): Likewise.
10274 (expm1_test): Likewise.
10275 (nextafter_test): Likewise.
10276 (pow_test): Likewise.
10277 (scalbn_test): Likewise.
10278 (scalbln_test): Likewise.
10279
95443d88
L
102802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10281
10282 * sysdeps/x86_64/bits/atomic.h
10283 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10284 64bit integer.
10285 (atomic_exchange_acq): Likewise.
10286 (__arch_exchange_and_add_body): Likewise.
10287 (__arch_add_body): Likewise.
10288 (atomic_add_negative): Likewise.
10289 (atomic_add_zero): Likewise.
10290
490df6c4
L
102912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10292
c2722551 10293 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10294 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10295
5e52b189
L
102962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10297
10298 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10299 Check __x86_64__ instead of __WORDSIZE.
10300
a9879d4c
L
103012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10302
10303 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10304
5df98260
DM
103052012-03-19 David S. Miller <davem@davemloft.net>
10306
e1497744
DM
10307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10308
5df98260
DM
10309 * sysdeps/sparc/fpu/fenv_private.h: New file.
10310 * sysdeps/sparc/fpu/math_private.h: Use it.
10311 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10312 Remove.
10313 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10314 (libc_feholdexcept_setroundl): Remove.
10315 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10316 Remove.
10317 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10318 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10319
b4c35121
L
103202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10321
10322 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10323 int64_t instead of long int.
10324 (INSERT_WORDS64): Likwise.
10325
56965fd7
L
103262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10327
10328 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10329 _Unwind_GetCFA return to _Unwind_Ptr first.
10330
83d1aec8
JM
103312012-03-19 Joseph Myers <joseph@codesourcery.com>
10332
1897ad44
JM
10333 [BZ #13629]
10334 * math/s_clog.c: Include <float.h>.
10335 (__clog): Scale large or subnormal inputs.
10336 * math/s_clogf.c: Likewise.
10337 * math/s_clogl.c: Likewise.
10338 * math/s_clog10.c: Include <float.h>.
10339 (M_LOG10_2): Define.
10340 (__clog10): Scale large or subnormal inputs.
10341 * math/s_clog10f.c: Likewise.
10342 * math/s_clog10l.c: Likewise.
10343 * math/libm-test.inc (clog_test): Add more tests.
10344 (clog10_test): Likewise.
10345 * sysdeps/i386/fpu/libm-test-ulps: Update.
10346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10347
7726d6a9
JM
10348 [BZ #11451]
10349 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10350 x and y.
10351 * math/libm-test.inc (atan2_test): Add another test.
10352
83d1aec8
JM
10353 * Makerules (common-objdir-compile): Remove.
10354 * sysdeps/unix/Makefile (config-generated): Do not add
10355 $(unix-generated) to variable.
10356 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10357 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10358 Remove rule.
10359 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10360 Likewise.
10361 [generic bits/local_lim.h] (before-compile): Do not append to
10362 variable.
10363 [generic bits/local_lim.h] (common-generated): Likewise.
10364 [generic sys/param.h] (before-compile): Do not append to variable.
10365 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10366 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10367 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10368 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10369 include.
10370 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10371 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10372 [generic sys/param.h] ($(addprefix
10373 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10374 [generic sys/param.h] (common-generated): Do not append to
10375 variable.
10376 [generic sys/param.h] (sysdep_headers): Likewise.
10377 [generic bits/errno.h] (before-compile): Do not append to
10378 variable.
10379 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10380 rule.
10381 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10382 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10383 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10384 [generic bits/errno.h] (common-generated): Do not append to
10385 variable.
10386 [generic bits/ioctls.h] (before-compile): Do not append to
10387 variable.
10388 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10389 rule.
10390 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10391 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10392 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10393 rule.
10394 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10395 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10396 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10397 [generic bits/ioctls.h] (common-generated): Do not append to
10398 variable.
10399 [generic sys/syscall.h] (syscall.h): Remove variable.
10400 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10401 rule.
10402 [generic sys/syscall.h] (before-compile): Do not append to
10403 variable.
10404 [generic sys/syscall.h] (common-generated): Likewise.
10405 * sysdeps/unix/errnos-tmpl.c: Remove file.
10406 * sysdeps/unix/errnos.awk: Likewise.
10407 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10408 * sysdeps/unix/ioctls.awk: Likewise.
10409 * sysdeps/unix/mk-local_lim.c: Likewise.
10410 * sysdeps/unix/snarf-ioctls: Likewise.
10411
4851a949
RH
104122012-03-19 Richard Henderson <rth@twiddle.net>
10413
bd37f2ee
RH
10414 * sysdeps/i386/fpu/fenv_private.h: New file.
10415 * sysdeps/i386/fpu/math_private.h: Use it.
10416 (math_opt_barrier, math_force_eval): Remove.
10417 (libc_feholdexcept_setround_53bit): Remove.
10418 (libc_feupdateenv_53bit): Remove.
10419 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10420 (math_opt_barrier, math_force_eval): Remove.
10421 (libc_feholdexcept): Remove.
10422 (libc_feholdexcept_setround): Remove.
10423 (libc_fetestexcept, libc_fesetenv): Remove.
10424 (libc_feupdateenv_test): Remove.
10425 (libc_feupdateenv, libc_feholdsetround): Remove.
10426 (libc_feresetround): Remove.
10427
d0adc922
RH
10428 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10429 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10430
0fe0f1f8
RH
10431 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10432 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10433 (libc_feupdateenv_testl): New.
10434 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10435 (libc_feupdateenv_testf): New.
10436 (libc_feupdateenv): Use libc_feupdateenv_test.
10437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10438 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10439
eb92c487
RH
10440 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10441 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10442 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10443 (libc_feresetround_noex): New.
10444 (libc_feresetround_noexf): New.
10445 (libc_feresetround_noexl): New.
10446 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10447 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10448 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10449 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10450 SET_RESTORE_ROUND.
10451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10452 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10453 (__cos): Likewise.
10454 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10455 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10456 SET_RESTORE_ROUND_NOEX.
10457 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10458 SET_RESTORE_ROUND_NOEXF.
10459 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10460 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10461 (libc_feholdsetroundf): New.
10462 (libc_feresetround, libc_feresetroundf): New.
10463
7d2e8012
RH
10464 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10465 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10466 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10467
b4dabbb4
RH
10468 * sysdeps/generic/math_private.h: Include <fenv.h>.
10469 (default_libc_feholdexcept): New.
10470 (default_libc_feholdexcept_setround): New.
10471 (default_libc_fesetenv, default_libc_feupdateenv): New.
10472 (libc_feholdexcept): Only define if undefined.
10473 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10474 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10475 (libc_feholdexcept_setroundl): Likewise.
10476 (libc_feholdexcept_setround_53bit): Likewise.
10477 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10478 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10479 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10480 (libc_feupdateenv_53bit): Likewise.
10481 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10482 (libc_feholdexcept): Convert from macro to inline function.
10483 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10484 (libc_fesetenv, libc_feupdateenv): Likewise.
10485
4851a949
RH
10486 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10487 not previously defined.
10488 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10489 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10490 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10491 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10492 * sysdeps/ieee754/flt-32/math_private.h: New file.
10493 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10494 math_private.h below SET_FLOAT_WORD.
10495 (__isnan, __isinf_ns, __finite): Remove.
10496 (__isnanf, __isinf_nsf, __finitef): Remove.
10497
e79d442e
AS
104982012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10499
10500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10501
90b80344
DM
105022012-03-17 David S. Miller <davem@davemloft.net>
10503
10504 [BZ #6471]
10505 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10506 for 2.16.
10507
edc21804
DM
105082012-03-16 David S. Miller <davem@davemloft.net>
10509
77e927af
DM
10510 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10511 warnings.
10512
374976dd
DM
10513 [BZ #6471]
10514 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10515 properly.
10516 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10517 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10518 sysdep_routines when subdir is sysvipc.
10519 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10520 __getshmlba helper.
10521
edc21804
DM
10522 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10523
473c3ef3
L
105242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10527 [__LP64__].
10528
eb0f39b6
L
105292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10530
10531 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10532 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10533 (__lround): Renamed to ...
10534 (__llround): This. Replace long int with long long int.
10535 Define lround functions as aliases of llround functions.
10536 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10537
6b6cd74b
L
105382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10539
10540 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10541 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10542 adresses to uintptr_t. Replace "long int" and "unsigned long
10543 int" with "greg_t" on va_arg.
10544
f1a77b01
L
105452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10546
10547 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10548 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10549
10550 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10551 Move e_machine check before EI_CLASS check. Handle x32
10552 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10553 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10554 SKIP_EM_IA_64 and include
10555 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10556
10557 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10558 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10559 (add_system_dir): New macro.
10560
10561 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10562 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10563
11b90b9f
JM
105642012-03-16 Joseph Myers <joseph@codesourcery.com>
10565
c36e1d23
JM
10566 [BZ #2551]
10567 [BZ #2552]
10568 [BZ #2553]
10569 [BZ #2554]
10570 [BZ #2562]
10571 [BZ #2563]
10572 [BZ #2565]
10573 [BZ #2566]
10574 [BZ #2576]
10575 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10576 (y0): Likewise.
10577 * math/w_j0f.c (j0f): Likewise.
10578 (y0f): Likewise.
10579 * math/w_j0l.c (__j0l): Likewise.
10580 (__y0l): Likewise.
10581 * math/w_j1.c (j1): Likewise.
10582 (y1): Likewise.
10583 * math/w_j1f.c (j1f): Likewise.
10584 (y1f): Likewise.
10585 * math/w_j1l.c (__j1l): Likewise.
10586 (__y1l): Likewise.
10587 * math/w_jn.c (jn): Likewise.
10588 (yn): Likewise.
10589 * math/w_jnf.c (jnf): Likewise.
10590 (ynf): Likewise.
10591 * math/w_jnl.c (__jnl): Likewise.
10592 (__ynl): Likewise.
10593 * math/libm-test.inc (j0_test): Add more tests.
10594 (j1_test): Likewise.
10595 (jn_test): Likewise. Add trailing semicolon to existing test.
10596 (y0_test): Likewise.
10597 (y1_test): Likewise.
10598 * sysdeps/i386/fpu/libm-test-ulps: Update.
10599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10600
11b90b9f
JM
10601 [BZ #13851]
10602 [BZ #13854]
10603 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10604 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10605 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10606 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10607 (__tanl): Set errno for infinite argument.
10608 * sysdeps/i386/fpu/mptan.c: Remove.
10609 * sysdeps/i386/fpu/s_tan.S: Likewise.
10610 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10611 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10612 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10613 * math/libm-test.inc (tan_test): Add more tests and enable more
10614 tests for double and long double.
10615 * sysdeps/i386/fpu/libm-test-ulps: Update.
10616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10617
6a1bd2a1
JK
106182012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10619
10620 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10621 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10622
10a803e0
RM
106232012-03-16 Roland McGrath <roland@hack.frob.com>
10624
10625 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10626 * configure.in: Use it for both main tree and add-ons.
10627 * configure: Regenerated.
10628
f196c7f7
L
106292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10630
10631 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10632
8848d99d
JM
106332012-03-16 Joseph Myers <joseph@codesourcery.com>
10634
96cbe7f4
JM
10635 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10636 in comment.
10637
8848d99d
JM
10638 [BZ #13851]
10639 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10640 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10641 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10642 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10643 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10644 infinite argument.
10645 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10647 != 0 for prec == 2.
10648 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10649 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10650 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10651 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10652 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10653 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10654 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10655 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10656 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10657 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10658 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10659 * math/libm-test.inc (cos_test): Add more tests and enable more
10660 tests for long double.
10661 (sin_test): Likewise.
10662 (sincos_test): Likewise.
10663 * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10665
dd7f4703
DM
106662012-03-16 David S. Miller <davem@davemloft.net>
10667
10668 * sysdeps/sparc/fpu/math_private.h: New file.
10669
006f1daa
DM
106702012-03-15 David S. Miller <davem@davemloft.net>
10671
c0c83bc8
DM
10672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10673 file.
e6a62e18 10674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10676 file.
e6a62e18
DM
10677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10683 sysdep routines.
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10685
88cb87d9
DM
10686 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10687 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10688
006f1daa 10689 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10691 sparc-ifunc.h
006f1daa 10692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10694 Likewise.
10695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10696 Likewise.
006f1daa
DM
10697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10701 Likewise.
006f1daa
DM
10702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10707 Likewise.
10708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10709 Likewise.
006f1daa
DM
10710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10732 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10734
11e0098e
AS
107352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10736
10737 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10738 scaling.
10739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10740
e85b09d0
AJ
107412012-03-15 Andreas Jaeger <aj@suse.de>
10742
10743 [BZ #13852]
10744 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10745 ieee754/flt-32 implementation for sin, cos and sincos.
10746 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10747 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10748 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10749 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10750 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10751 ieee754/flt-32 implementation for tan.
10752
10753 * math/libm-test.inc (cos_test): Enable some large input tests for
10754 float as well
10755 (sin_test): Likewise.
10756 (sincos_test): Likewise.
10757 (tan_test): Add tests for large input.
10758
10759 * sysdeps/i386/fpu/libm-test-ulps: Update.
10760
81c64153
AJ
107612012-03-15 Andreas Jaeger <aj@suse.de>
10762
10763 [BZ #13658]
10764 * math/libm-test.inc (cos_test): Add more test cases.
10765 (sin_test): Likewise.
10766 (sincos_test): Likewise.
10767
7bbfa5c6
AJ
107682012-03-15 Andreas Jaeger <aj@suse.de>
10769
10770 [BZ #13837]
10771 * math/libm-test.inc (cos_test): Add a test case for large input
10772 value.
10773 (sin_test): Likewise.
10774 (sincos_test): Likewise.
10775
107762012-03-15 Andreas Jaeger <aj@suse.de>,
10777 Joseph Myers <joseph@codesourcery.com>
10778
10779 [BZ #13658]
0671f479 10780 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10781 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10782 * sysdeps/i386/fpu/branred.c: Likewise.
10783 * sysdeps/i386/fpu/dosincos.c: Likewise.
10784 * sysdeps/i386/fpu/mpa.c: Likewise.
10785 * sysdeps/i386/fpu/s_cos.S: Likewise.
10786 * sysdeps/i386/fpu/s_sin.S: Likewise.
10787 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10788 * sysdeps/i386/fpu/sincos32.c: Likewise.
10789
10790 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10791 Define.
10792 (libc_feupdateenv_53bit): Define.
10793 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10794 Define.
10795 (libc_feupdateenv_53bit): Define.
10796
10797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10798 53 bit (without extend i386 double precision).
10799
10800 * math/libm-test.inc (sincos_test): Add tests for large input.
10801 (sin): Likewise.
10802 (cos): Likewise.
10803
10804 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10805
9cad04ea
AS
108062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10807
10808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10809
f7062b9a
DM
108102012-03-15 David S. Miller <davem@davemloft.net>
10811
10812 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10813 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10814 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10815 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10828 file.
f7062b9a 10829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10831 file.
f7062b9a 10832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10834 file.
f7062b9a 10835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10837 file.
f7062b9a
DM
10838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10839 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10840 fmin/fmax sysdep routines.
10841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10842
7bd951ff
DM
108432012-03-14 David S. Miller <davem@davemloft.net>
10844
559398ab
DM
10845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10874 routines.
10875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10876 file.
559398ab 10877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10879 file.
559398ab 10880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10882 file.
559398ab 10883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10885 file.
559398ab 10886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10888 file.
559398ab 10889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10891 file.
10892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10893 file.
10894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10895 file.
10896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10897 file.
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10899 New file.
10900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10901 file.
10902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10903 file.
559398ab 10904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10906 file.
559398ab 10907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10909 file.
559398ab 10910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10912 file.
559398ab 10913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10915 VIS3 routines.
559398ab
DM
10916
10917 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10918 New file.
10919
5a1c1e32
DM
10920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10921
eae47a36
DM
10922 * sysdeps/sparc/configure.in: New file.
10923 * sysdeps/sparc/configure: Generate.
10924 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10925 * configure: Regenerate.
10926 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10927 * config.make.in (have-as-vis3): New.
10928 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10929 available use -Av9d instead of -Av9a.
10930 * sysdeps/sparc/sparc64/Makefile: Likewise.
10931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10933 New file.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10935 file.
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10937 New file.
10938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10939 file.
eae47a36
DM
10940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10945
c0c83bc8
DM
10946 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10947 fzeros/fnegs to load 0x80000000 into a float register instead of
10948 using the stack.
7bd951ff
DM
10949 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10950
bd951ccb
JM
109512012-03-14 Joseph Myers <joseph@codesourcery.com>
10952
10953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10954 bits/syscall.h.
10955 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10956 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10957 ($(inst_includedir)/bits/syscall.h): Remove rule.
10958 ($(objpfx)bits/syscall.d): Include instead of
10959 $(objpfx)syscall-list.d.
10960 (generated): Change syscall-list.h and syscall-list.d to
10961 bits/syscall.h and bits/syscall.d.
10962
bb4e6db2
RM
109632012-03-14 Roland McGrath <roland@hack.frob.com>
10964
10965 [BZ #13846]
10966 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10967
aa4a2ae1
JM
109682012-03-14 Joseph Myers <joseph@codesourcery.com>
10969
e456826d
JM
10970 [BZ #13841]
10971 * math/s_csqrt.c: Include <float.h>.
10972 (__csqrt): Scale large or subnormal inputs.
10973 * math/s_csqrtf.c: Likewise.
10974 * math/s_csqrtl.c: Likewise.
10975 * math/libm-test.inc (csqrt_test): Add more tests.
10976 * sysdeps/i386/fpu/libm-test-ulps: Update.
10977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10978
aa4a2ae1
JM
10979 [BZ #13840]
10980 * math/libm-test.inc (hypot_test): Add more tests.
10981
7c10fd35
DM
109822012-03-13 David S. Miller <davem@davemloft.net>
10983
10984 [BZ #13840]
10985 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10986 double-precision for the calculation instead of scaling.
10987
f453b98b
JM
109882012-03-13 Joseph Myers <joseph@codesourcery.com>
10989
10990 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10991 manipulate bits before adding and subtracting TWO52[sx].
10992 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10993 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10994 Likewise.
10995 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10996
09a3453f
DM
109972012-03-13 David S. Miller <davem@davemloft.net>
10998
8e59da90
DM
10999 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11000 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11002 rtld-global-offsets.h
11003 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11004
2a8ab7f2
DM
11005 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11006 large parameters.
11007
10f62770
DM
11008 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11009
5f0bdb18
DM
11010 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11011 'err' in the ifdef scope in which it is actually used.
11012
09a3453f
DM
11013 * nss/nss_db/db-init.c: Include string.h
11014
b4b2eb5e
DM
110152012-03-12 David S. Miller <davem@davemloft.net>
11016
98bb2f1c
DM
11017 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11018 masking out of the most significant byte of random value used.
11019 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11020 Fix coding style in previous change.
11021
b4b2eb5e
DM
11022 * sysdeps/unix/sysv/linux/kernel-features.h
11023 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11024 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11025 expression.
11026 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11027 later.
11028
6e226b09
DM
110292012-03-11 David S. Miller <davem@davemloft.net>
11030
a1bcbd40
DM
11031 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11032 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11033 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11034 for 'resultvar' otherwise things get truncated on 64-bit.
11035
cb9d6174
DM
11036 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11037 Fix masking out of the most significant byte of random value used.
11038
6e226b09
DM
11039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11040
058c132d
AS
110412012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11042
11043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11044
2d2cd515
DM
110452012-03-09 David S. Miller <davem@davemloft.net>
11046
11047 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11048 variables with appropriate CPP guards.
11049 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11050 frame pointer, not the stack pointer. Correct layout comments. Fix test
11051 on resulting framesize and the management of the outregs buffer for pltexit.
11052 Preserve floating point return values across _dl_call_pltexit call.
11053 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11054 framesize and the management of the outregs buffer for pltexit.
11055 Preserve floating point return values across _dl_call_pltexit
11056 call.
11057 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11058 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11059 (print_exit): Fix format string for return register value.
11060
9a07f9d0
JM
110612012-03-10 Joseph Myers <joseph@codesourcery.com>
11062
11063 * sunrpc/Makefile (others): Add rpcgen.
11064 ($(objpfx)rpcgen): Remove special build rule and dependency on
11065 libc.
11066 * sunrpc/rpcgen.c: New file.
11067
547b5e30
PE
110682012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11069
c524201a
PE
11070 [BZ #13673]
11071 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11072 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11073 * sysdeps/i386/crti.S: Likewise.
11074 * sysdeps/i386/crtn.S: Likewise.
11075 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11076 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11077 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11078 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11079 * sysdeps/sh/crti.S: Likewise.
11080 * sysdeps/sh/crtn.S: Likewise.
11081 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11082
7b6235f2
PE
11083 [BZ #13673]
11084 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11085 with URL.
11086 * locale/programs/locfile-kw.gperf: Likewise.
11087 * locale/programs/charmap-kw.h: Regenerated.
11088 * locale/programs/locfile-kw.h: Likewise.
11089
547b5e30
PE
11090 [BZ #13673]
11091 * intl/plural.y: Replace FSF snail mail address with URL.
11092 * intl/plural.c: Regenerated.
11093
5f0a5dae
RH
110942012-03-09 Richard Henderson <rth@twiddle.net>
11095
11096 * include/math_private.h: Remove file.
11097 * math/math_private.h: Move file ...
11098 * sysdeps/generic/math_private.h: ... here.
11099
b8c03620
RH
11100 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11101 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11102 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11103
4e234f5d 11104 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11105 and <math_private.h>.
11106 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11107 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11108 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11109 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11110 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11114 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11131 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11132 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11133 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11137 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11189 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11193 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11194 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11195 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11196 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11197 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11198 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11199 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11200 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11201 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11202 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11203 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11204 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11205 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11206 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11207 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11208 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11209 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11210 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11211 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11212 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11213 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11214 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11215 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11216 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11217 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11218 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11219 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11220 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11221 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11222 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11223 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11224 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11225 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11226 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11227 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11228 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11229 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11230 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11231 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11232 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11233 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11234 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11235 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11236 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11237 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11238 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11239 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11240 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11241 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11242 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11243 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11244 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11245 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11246 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11247 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11248 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11249 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11250 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11251 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11252 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11253 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11254 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11255 * sysdeps/ieee754/k_standard.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11371 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11375 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11376 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11378 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11397 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11398 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11399 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11402 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11403 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11404 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11405 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11406 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11407 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11408 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11409 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11410 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11411 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11412 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11413 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11414 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11415 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11416 * sysdeps/ieee754/s_lib_version.c: Likewise.
11417 * sysdeps/ieee754/s_matherr.c: Likewise.
11418 * sysdeps/ieee754/s_signgam.c: Likewise.
11419 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11420 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11421 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11422 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11423 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11424 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11425 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11426 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11427 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11428 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11429 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11430 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11431 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11432 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11433 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11434 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11435 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11436 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11437 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11438 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11440
1991fa03
JM
114412012-03-09 Joseph Myers <joseph@codesourcery.com>
11442
11443 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11444 * sunrpc/rpc_main.c: Likewise.
11445 * sunrpc/rpc_svcout.c: Likewise.
11446
60d6f5a6
DM
114472012-03-09 David S. Miller <davem@davemloft.net>
11448
11449 * include/math_private.h: New file.
11450
4962050e
JM
114512012-03-09 Joseph Myers <joseph@codesourcery.com>
11452
02a6f887
JM
11453 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11454 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11455 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11456 from <bits/socket_type.h>.
11457 (enum __socket_type): Don't define here.
11458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11460 bits/socket_type.h.
11461
c6e013c1
JM
11462 [BZ #13566]
11463 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11464 checking __USE_GNU.
11465
4962050e
JM
11466 * Makerules ($(inst_includedir)/%.h): New rule.
11467 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11468 (install-others): Remove variable setting.
11469 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11470
38842f45
RH
114712012-03-08 Richard Henderson <rth@twiddle.net>
11472
67bb6da6
RH
11473 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11474 from macro to inline function; merge with the
11475 !__LIBC_INTERNAL_MATH_INLINES version.
11476 (__ieee754_sqrtf): Likewise.
11477
15194b4b
RH
11478 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11479 to inline function.
11480 (__rintf, __floor, __floorf): Likewise.
11481
64e21ede
RH
11482 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11483 macro to inline function.
11484 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11485
38842f45
RH
11486 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11487 not <math/math_private.h>.
11488
c64bf5fe
DM
114892012-03-08 David S. Miller <davem@davemloft.net>
11490
11491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11492 copyright year.
11493 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11494
82d86f28
TS
114952012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11496
11497 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11498 normalization.
11499 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11500 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11501
aea5d727
UD
115022012-03-08 Ulrich Drepper <drepper@gmail.com>
11503
11504 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11505 be defined individually, they must be defined as a block. Define
11506 S for printing a string instead of hidint the different by using a
11507 macro for adding the 'l'.
11508 * stdio-common/tst-fphex-wide.c: Adjust.
11509
70bca0a3
MP
115102012-03-07 Marek Polacek <polacek@redhat.com>
11511
11512 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11513
65b81130
MP
115142012-03-08 Marek Polacek <polacek@redhat.com>
11515
11516 [BZ #13806]
11517 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11518 * stdio-common/tst-fphex.c: Define a few macros to make the
11519 test reusable. Use them.
11520 * stdio-common/tst-fphex-wide.c: New file.
11521
07037eeb
JM
115222012-03-08 Joseph Myers <joseph@codesourcery.com>
11523
a7a93d50
JM
11524 [BZ #6911]
11525 * manual/macros.texi (gnusystems): New macro.
11526 (nongnusystems): Likewise.
11527 (gnulinuxhurdsystems): Likewise.
11528 (gnuhurdsystems): Likewise..
11529 (gnulinuxsystems): Likewise.
11530 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11531 variants of the GNU system, not "GNU system".
11532 * manual/conf.texi: Likewise.
11533 * manual/errno.texi: Likewise. Update example of errno macro
11534 expansion.
11535 * manual/filesys.texi: Likewise.
11536 (getumask): Document as specific to GNU/Hurd.
11537 * manual/install.texi: Likewise. Reword some references to
11538 GNU/Linux.
11539 * manual/intro.texi: Likewise.
11540 * manual/io.texi: Likewise.
11541 (File Name Portability): Detail which constraints are inapplicable
11542 to all GNU systems and which are only inapplicable to GNU/Hurd.
11543 * manual/job.texi: Likewise.
11544 * manual/llio.texi: Likewise.
11545 (O_NOCTTY): Document as present on GNU/Linux.
11546 * manual/maint.texi: Likewise.
11547 * manual/memory.texi: Likewise.
11548 * manual/pattern.texi: Likewise.
11549 * manual/pipe.texi: Likewise.
11550 * manual/process.texi: Likewise.
11551 * manual/resource.texi: Likewise.
11552 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11553 child on GNU/Hurd.
11554 * manual/setjmp.texi: Likewise.
11555 * manual/signal.texi: Likewise.
11556 * manual/startup.texi: Likewise.
11557 * manual/stdio.texi: Likewise.
11558 * manual/terminal.texi: Likewise.
11559 (ONLCR): Document as POSIX.
11560 (OXTABS): Document availability on GNU/Linux as XTABS.
11561 (ONOEOT): Document availability separately from other bits.
11562 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11563 * manual/time.texi: Likewise.
11564 * manual/users.texi: Likewise.
11565 * INSTALL: Regenerated.
11566 * sysdeps/gnu/errlist.c: Regenerated.
11567
07037eeb
JM
11568 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11569 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11570 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11571 puts.
11572 * configure: Regenerated.
11573
d1d3431a
JM
115742012-03-07 Joseph Myers <joseph@codesourcery.com>
11575
af6a1e37
JM
11576 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11577 default includes instead of AC_HEADER_CHECK.
11578 * sysdeps/i386/configure: Regenerated.
11579
d1d3431a
JM
11580 [BZ #10716]
11581 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11582 * math/s_cacoshf.c (__cacoshf): Likewise.
11583 * math/s_cacoshl.c (__cacoshl): Likewise.
11584 * math/s_casinh.c (__casinh): Set signs of result from argument.
11585 * math/s_casinhf.c (__casinhf): Likewise.
11586 * math/s_casinhl.c (__casinhl): Likewise.
11587 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11588 (casinh_test): Add more tests.
11589 * sysdeps/i386/fpu/libm-test-ulps: Update.
11590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11591
482ff4da
UD
115922012-03-07 Ulrich Drepper <drepper@gmail.com>
11593
872fda05
UD
11594 * po/zh_TW.po: Update from translation team.
11595
a4300c7a
UD
11596 * login/Makefile (distribute): Remove variable.
11597 * catgets/Makefile: Likewise.
11598 * mach/Makefile: Likewise.
11599 * malloc/Makefile: Likewise.
11600 * misc/Makefile: Likewise.
11601 * iconv/Makefile: Likewise.
11602 * nscd/Makefile: Likewise.
11603 * hurd/Makefile: Likewise.
11604 * manual/Makefile: Likewise.
11605 * locale/Makefile: Likewise.
11606 * intl/Makefile: Likewise.
11607 * conform/Makefile: Likewise.
11608 * nss/Makefile: Likewise.
11609 * time/Makefile: Likewise.
11610 * soft-fp/Makefile: Likewise.
11611 * dirent/Makefile: Likewise.
11612 * gmon/Makefile: Likewise.
11613 * po/Makefile: Likewise.
11614 * rt/Makefile: Likewise.
11615 * socket/Makefile: Likewise.
11616 * math/Makefile: Likewise.
11617 * signal/Makefile: Likewise.
11618 * debug/Makefile: Likewise.
11619 * elf/Makefile: Likewise.
11620 * timezone/Makefile: Likewise.
11621 * stdlib/Makefile: Likewise.
11622 * iconvdata/Makefile: Likewise.
11623 * sunrpc/Makefile: Likewise.
11624 * io/Makefile: Likewise.
11625 * argp/Makefile: Likewise.
11626 * inet/Makefile: Likewise.
11627 * hesiod/Makefile: Likewise.
11628 * grp/Makefile: Likewise.
11629 * csu/Makefile: Likewise.
11630 * wctype/Makefile: Likewise.
11631 * crypt/Makefile: Likewise.
11632 * libio/Makefile: Likewise.
11633 * string/Makefile: Likewise.
11634 * nis/Makefile: Likewise.
11635 * resolv/Makefile: Likewise.
11636 * stdio-common/Makefile: Likewise.
11637 * wcsmbs/Makefile: Likewise.
11638 * dlfcn/Makefile: Likewise.
11639 * posix/Makefile: Likewise.
11640
3b7c4e74 11641 [BZ #6959]
482ff4da
UD
11642 * timezone/Makefile: Don't install timezone files, just the programs
11643 and scripts.
11644
f72ed77d
UD
116452012-03-06 Ulrich Drepper <drepper@gmail.com>
11646
a000466f
UD
11647 * nss/databases.def: Add missing gshadow entry.
11648
f72ed77d
UD
11649 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11650
a53b7a4e
MP
116512012-03-06 Marek Polacek <polacek@redhat.com>
11652
11653 [BZ #13726]
11654 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11655 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11656 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11657 * stdio-common/tst-long-dbl-fphex.c: New file.
11658
e9258400
DM
116592012-03-06 David S. Miller <davem@davemloft.net>
11660
11661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11662 (set_obp_int): New function.
11663 (get_obp_int): New function.
11664 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11666 Avoid unused variable warnings on 'val' and use builtin_expect.
11667 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11668 __builtin_expect.
e9258400
DM
11669 (INLINE_CLONE_SYSCALL): Likewise.
11670
3bd2c723
DM
116712012-03-05 David S. Miller <davem@davemloft.net>
11672
11673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11674
bbb78d03
AS
116752012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11676
884c5db4
AS
11677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11678
bbb78d03
AS
11679 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11680 only for |x| >= 40.
11681 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11682
1c9f702a 116832012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11684
11685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11686 Replace gettimeofday with __vdso_gettimeofday.
11687
7be16f82
RM
11688 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11689 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11690 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11691
11692 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11693 time with __vdso_time.
11694
ed58a00f
JM
116952012-03-05 Joseph Myers <joseph@codesourcery.com>
11696
11697 * manual/lang.texi (size_t): Note types to which size_t may be
11698 equivalent with the GNU C Library, but do not describe when
11699 differences between them are significant.
11700
30ee4ced
AJ
117012012-03-05 Andreas Jaeger <aj@suse.de>
11702
11703 * sysdeps/i386/fpu/libm-test-ulps: Update.
11704
b7cd39e8
JM
117052012-03-05 Joseph Myers <joseph@codesourcery.com>
11706
11707 [BZ #3976]
11708 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11709 (__ieee754_pow): Save and restore rounding mode and use
11710 round-to-nearest for main computations.
11711 * math/libm-test.inc (pow_test_tonearest): New function.
11712 (pow_test_towardzero): Likewise.
11713 (pow_test_downward): Likewise.
11714 (pow_test_upward): Likewise.
11715 (main): Call the new functions.
11716 * sysdeps/i386/fpu/libm-test-ulps: Update.
11717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11718
11719 [BZ #3976]
11720 * math/libm-test.inc (cosh_test_tonearest): New function.
11721 (cosh_test_towardzero): Likewise.
11722 (cosh_test_downward): Likewise.
11723 (cosh_test_upward): Likewise.
11724 (sinh_test_tonearest): Likewise.
11725 (sinh_test_towardzero): Likewise.
11726 (sinh_test_downward): Likewise.
11727 (sinh_test_upward): Likewise.
11728 (main): Call the new functions.
11729 * sysdeps/i386/fpu/libm-test-ulps: Update.
11730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11731
6c6a98c9
TV
117322012-03-05 Tom de Vries <tom@codesourcery.com>
11733
11734 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11735 default stack guard is set in last bytes.
11736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11737
21bb2d2e 117382012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11739
21bb2d2e 11740 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11741
21bb2d2e
AJ
11742 [BZ #13656]
11743 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11744 possibly allocate from heap instead of stack.
11745 * stdio-common/bug-vfprintf-nargs.c: New file.
11746 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11747
c6922934
AS
117482012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11749
11750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11751
bc957d53
MP
117522012-03-03 Marek Polacek <polacek@redhat.com>
11753
11754 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11755 * math/math_private.h: Likewise.
11756 * stdlib/tst-strtod.c: Likewise.
11757 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11758 * sysdeps/x86_64/bits/atomic.h: Likewise.
11759
6358490d
DM
117602012-03-02 David S. Miller <davem@davemloft.net>
11761
11762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11766 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11767 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11768 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11769 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11770
01ae168d
RM
117712012-03-02 Roland McGrath <roland@hack.frob.com>
11772
d9a17c07
RM
11773 [BZ #13792]
11774 * manual/examples/README: New file, says the example source files
11775 can be used under GPL>=2.
11776 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11777 line containing just "*/".
11778 * manual/examples/add.c: Add copyright header (GPL>=2).
11779 * manual/examples/argp-ex1.c: Likewise.
11780 * manual/examples/argp-ex2.c: Likewise.
11781 * manual/examples/argp-ex3.c: Likewise.
11782 * manual/examples/argp-ex4.c: Likewise.
11783 * manual/examples/atexit.c: Likewise.
11784 * manual/examples/db.c: Likewise.
11785 * manual/examples/dir.c: Likewise.
11786 * manual/examples/dir2.c: Likewise.
11787 * manual/examples/execinfo.c: Likewise.
11788 * manual/examples/filecli.c: Likewise.
11789 * manual/examples/filesrv.c: Likewise.
11790 * manual/examples/fmtmsgexpl.c: Likewise.
11791 * manual/examples/genpass.c: Likewise.
11792 * manual/examples/inetcli.c: Likewise.
11793 * manual/examples/inetsrv.c: Likewise.
11794 * manual/examples/isockad.c: Likewise.
11795 * manual/examples/longopt.c: Likewise.
11796 * manual/examples/memopen.c: Likewise.
11797 * manual/examples/memstrm.c: Likewise.
11798 * manual/examples/mkfsock.c: Likewise.
11799 * manual/examples/mkisock.c: Likewise.
11800 * manual/examples/mygetpass.c: Likewise.
11801 * manual/examples/pipe.c: Likewise.
11802 * manual/examples/popen.c: Likewise.
11803 * manual/examples/rprintf.c: Likewise.
11804 * manual/examples/search.c: Likewise.
11805 * manual/examples/select.c: Likewise.
11806 * manual/examples/setjmp.c: Likewise.
11807 * manual/examples/sigh1.c: Likewise.
11808 * manual/examples/sigusr.c: Likewise.
11809 * manual/examples/stpcpy.c: Likewise.
11810 * manual/examples/strdupa.c: Likewise.
11811 * manual/examples/strftim.c: Likewise.
11812 * manual/examples/strncat.c: Likewise.
11813 * manual/examples/subopt.c: Likewise.
11814 * manual/examples/swapcontext.c: Likewise.
11815 * manual/examples/termios.c: Likewise.
11816 * manual/examples/testopt.c: Likewise.
11817 * manual/examples/testpass.c: Likewise.
11818 * manual/examples/timeval_subtract.c: Likewise.
11819
01ae168d
RM
11820 [BZ #13792]
11821 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11822 function to ...
11823 * manual/timeval_subtract.c.texi: ... here, new file.
11824
49efa33d
DM
118252012-03-02 David S. Miller <davem@davemloft.net>
11826
11827 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11828
28afd92d
JM
118292012-03-02 Joseph Myers <joseph@codesourcery.com>
11830
804360ed
JM
11831 [BZ #3976]
11832 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11833 (__sin): Save and restore rounding mode and use round-to-nearest
11834 for all computations.
11835 (__cos): Save and restore rounding mode and use round-to-nearest
11836 for all computations.
11837 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11838 <fenv.h>.
11839 (tan): Save and restore rounding mode and use round-to-nearest for
11840 all computations.
11841 * math/libm-test.inc (cos_test_tonearest): New function.
11842 (cos_test_towardzero): Likewise.
11843 (cos_test_downward): Likewise.
11844 (cos_test_upward): Likewise.
11845 (sin_test_tonearest): Likewise.
11846 (sin_test_towardzero): Likewise.
11847 (sin_test_downward): Likewise.
11848 (sin_test_upward): Likewise.
11849 (tan_test_tonearest): Likewise.
11850 (tan_test_towardzero): Likewise.
11851 (tan_test_downward): Likewise.
11852 (tan_test_upward): Likewise.
11853 (main): Call the new functions.
11854 * sysdeps/i386/fpu/libm-test-ulps: Update.
11855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11856
a6d06d7b
JM
11857 [BZ #10135]
11858 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11859 small n, then large n, before computing and testing k+n.
11860 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11862 Likewise.
11863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11864 Likewise.
11865 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11866 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11868 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11869 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11870 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11871 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11872 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11873 * math/libm-test.inc (scalbn_test): Add more tests.
11874 (scalbln_test): Likewise.
11875
07e12bb3
JM
11876 * manual/filesys.texi (mode_t): Describe constraints on size and
11877 signedness, not exact equivalence to a particular type.
11878 (ino_t): Likewise.
11879 (ino64_t): Likewise.
11880 (dev_t): Likewise.
11881 (nlink_t): Likewise.
11882 (blkcnt_t): Likewise.
11883 (blkcnt64_t): Likewise.
11884 * manual/llio.texi (off_t): Likewise.
11885
28afd92d
JM
11886 [BZ #3976]
11887 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11888 (__ieee754_exp): Save and restore rounding mode and use
11889 round-to-nearest for all computations.
11890 * math/libm-test.inc (exp_test_tonearest): New function.
11891 (exp_test_towardzero): Likewise.
11892 (exp_test_downward): Likewise.
11893 (exp_test_upward): Likewise.
11894 (main): Call the new functions.
11895 * sysdeps/i386/fpu/libm-test-ulps: Update.
11896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11897
b1eeb65d
CD
118982012-03-01 Chris Demetriou <cgd@google.com>
11899
11900 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11901 have predictable order.
11902
53362a4b
DM
119032012-03-01 David S. Miller <davem@davemloft.net>
11904
3c969083
DM
11905 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11906
759707de
DM
11907 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11908 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11909 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11910 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11911
dfdb8ff2
DM
11912 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11913 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11914 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11916 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11917 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11918 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11919 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11920 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11921
ead89f96
DM
11922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11923
7f66bd07
DM
11924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11925 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11926 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11927
53362a4b
DM
11928 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11929 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11930 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11931 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11932 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11933 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11935 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11936 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11937 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11938 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11939 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11941 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11942 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11944 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11945 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11946 * sysdeps/sparc/elf/configure: Regenerated.
11947
7b1902cb
JM
119482012-03-01 Joseph Myers <joseph@codesourcery.com>
11949
bec039bc
JM
11950 * configure.in (AS, LD): Require binutils 2.20 or later.
11951 * configure: Regenerated.
11952 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11953 as required minimum version.
11954 * INSTALL: Regenerated.
11955
7b1902cb
JM
11956 [BZ #2541]
11957 [BZ #4108]
11958 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11959 before squaring exponent.
11960 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11961 bottom long double and 27 bits of top long double before squaring
11962 exponent.
11963 * math/libm-test.inc (erfc_test): Add more tests.
11964 * sysdeps/i386/fpu/libm-test-ulps: Update.
11965 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11967
f775c276
KT
119682012-03-01 Kai Tietz <ktietz@redhat.com>
11969
11970 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11971 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11972 containing bit-fields.
11973 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11974 * soft-fp/single.h (_FP_UNION_S): Likewise.
11975 * soft-fp/double.h (_FP_UNION_D): Likewise.
11976
5b8a4d4a
JM
119772012-02-29 Joseph Myers <joseph@codesourcery.com>
11978
0bab47b6
JM
11979 [BZ #13786]
11980 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11981 not include ../strcmp.S.
11982 [USE_AS_STRNCASECMP_L]: Likewise.
11983 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11984 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11985 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11986 (__strncasecmp_l_ia32): Define as alias to
11987 __strncasecmp_l_nonascii.
11988
0fcad3e2
JM
11989 [BZ #5794]
11990 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11991 * sysdeps/i386/fpu/libm-test-ulps: Update.
11992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11993
5b8a4d4a
JM
11994 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11996
8fdceb2e
JL
119972012-02-29 Jeff Law <law@redhat.com>
11998
11999 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12000 out of bounds read.
12001
1f393a11
MP
120022012-02-29 Marek Polacek <polacek@redhat.com>
12003
12004 [BZ #13706]
12005 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12006 * elf/Makefile: Add rules to run tst-unused-dep.out.
12007
8847f037
DM
120082012-02-28 David S. Miller <davem@davemloft.net>
12009
12010 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12011 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12012 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12014 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12015 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12016
169d7f11
JM
120172012-02-29 Joseph Myers <joseph@codesourcery.com>
12018
12019 * math/libm-test.inc (llround_test): Move one test from
12020 lround_test. Use TEST_f_L in moved test.
12021 (lround_test): Move misplaced test to llround_test. Add testcase
12022 from bug 2561.
12023
39adf059
UD
120242012-02-28 Ulrich Drepper <drepper@gmail.com>
12025
12026 * sysdeps/x86_64/fpu/e_expf.S: New file.
12027 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12028
71b5d1c5
SB
120292012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12030
12031 [BZ #13637]
12032 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12033 of remain_len that may cause incomplete multi-byte character and
12034 false match.
12035 * posix/bug-regex33.c: New file.
12036 * posix/Makefile (tests): Add bug-regex33.
12037
1f77f049
JM
120382012-02-28 Joseph Myers <joseph@codesourcery.com>
12039
12040 * manual/macros.texi: New file.
12041 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12042 * manual/libc.texinfo: Include macros.texi.
12043 * manual/creatute.texi: Likewise.
12044 * manual/install.texi: Likewise.
12045 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12046 @glibcadj{} in references to the GNU C Library.
12047 * manual/charset.texi: Likewise.
12048 * manual/conf.texi: Likewise.
12049 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12050 when not using those macros.
12051 * manual/creature.texi: Likewise.
12052 * manual/crypt.texi: Likewise.
12053 * manual/errno.texi: Likewise.
12054 * manual/filesys.texi: Likewise.
12055 * manual/header.texi: Likewise.
12056 * manual/install.texi: Likewise.
12057 * manual/intro.texi: Likewise.
12058 * manual/io.texi: Likewise.
12059 * manual/job.texi: Likewise.
12060 * manual/lang.texi: Likewise.
12061 * manual/libc.texiinfo: Likewise.
12062 * manual/llio.texi: Likewise.
12063 * manual/locale.texi: Likewise.
12064 * manual/maint.texi: Likewise.
12065 * manual/math.texi: Likewise.
12066 * manual/memory.texi: Likewise.
12067 * manual/message.texi: Likewise.
12068 * manual/nss.texi: Likewise.
12069 * manual/pattern.texi: Likewise.
12070 * manual/process.texi: Likewise.
12071 * manual/resource.texi: Likewise.
12072 * manual/search.texi: Likewise.
12073 * manual/setjmp.texi: Likewise.
12074 * manual/signal.texi: Likewise.
12075 * manual/socket.texi: Likewise.
12076 * manual/startup.texi: Likewise.
12077 * manual/stdio.texi: Likewise.
12078 * manual/string.texi: Likewise.
12079 * manual/sysinfo.texi: Likewise.
12080 * manual/syslog.texi: Likewise.
12081 * manual/terminal.texi: Likewise.
12082 * manual/time.texi: Likewise.
12083 * manual/users.texi: Likewise.
12084 * INSTALL: Regenerated.
12085 * NOTES: Regenerated.
d40c5d54 12086 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12087
450bf206
AS
120882012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12089
12090 * include/dirent.h: Include <dirstream.h> before
12091 <dirent/dirent.h>.
12092
741a235b
DM
120932012-02-28 David S. Miller <davem@davemloft.net>
12094
12095 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12096 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12097 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12098 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12099
d6b5aa58
DM
121002012-02-27 David S. Miller <davem@davemloft.net>
12101
1aff59a3
DM
12102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12104 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12105 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12106
d6b5aa58
DM
12107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12108 frame pointer instead of stack pointer relative arg slot.
12109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12110 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12111 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12112
433f48bf
CD
121132012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12114
12115 [BZ #3992]
12116 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12117
d674b76d
DM
121182012-02-27 David S. Miller <davem@davemloft.net>
12119
12120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12124 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12125 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12126 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12127 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12128
0e7727f7
JM
121292012-02-27 Joseph Myers <joseph@codesourcery.com>
12130
12131 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12132 later. Allow versions 5-9.
43be4ca2 12133 * configure: Regenerated.
0e7727f7
JM
12134 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12135 required minimum version and 4.6 as recommended version. Do not
12136 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12137 * INSTALL: Regenerated.
0e7727f7 12138
a78bc654
DM
121392012-02-27 David S. Miller <davem@davemloft.net>
12140
428d5830
DM
12141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12145 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12146 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12147 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12148 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12149
a78bc654
DM
12150 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12151 manipulate bits before adding and subtracting TWO112[sx].
12152 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12153
4579f81c
RM
121542012-02-27 Roland McGrath <roland@hack.frob.com>
12155
36c8acb4
RM
12156 [BZ #13775]
12157 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12158 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12159 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12160 being in POSIX, because they are in 1003.1-2008.
12161
84ad622b
RM
12162 * rt/tst-aio.c: Include <fcntl.h>.
12163 * rt/tst-aio7.c: Likewise.
12164 * rt/tst-aio64.c: Likewise.
12165
4579f81c
RM
12166 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12167
abd923db
JM
121682012-02-27 Joseph Myers <joseph@codesourcery.com>
12169
12170 * manual/install.texi (--with-headers): Describe headers as
12171 interface headers, not private headers.
12172 (Specific advice for GNU/Linux systems): Describe use of headers
12173 from "make headers_install", not private headers from older
12174 kernels.
43be4ca2 12175 * INSTALL: Regenerated.
abd923db
JM
12176 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12177 Change to 2.6.19.
12178 * sysdeps/unix/sysv/linux/configure: Regenerated.
12179
6664049b
JM
12180 * manual/llio.texi (fclean): Remove documentation.
12181
bb8b6697
JM
12182 * manual/Makefile (libc-texi-generated): New variable. Include
12183 version.texi.
12184 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12185 $(libc-texi-generated), not duplicated list of files.
12186 (version.texi, stamp-version): New rules.
12187 (realclean): Remove $(libc-texi-generated), not individual files
12188 from that list. Do not remove dir-add.texinfo.
12189 * manual/libc.texinfo: Comment out uses of edition numbers and
12190 references to printed manual. Remove last-updated dates.
12191 (EDITION): Comment out.
12192 (ISBN): Likewise.
12193 (VERSION, UPDATED): Remove.
12194 (version.texi): Include.
12195
12e5c3b9
AS
121962012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12197
12198 * sysdeps/posix/spawni.c: Include <signal.h>.
12199 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12200 * sysdeps/pthread/aio_fsync.c: Likewise.
12201
4efeffc1 122022012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12203
ba63ba08
UD
12204 * conform/Makefile (tests): Run only when not cross-compiling and
12205 when fast-check is not defined.
12206
d94a4670
UD
12207 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12208 * conform/data/limits.h-data: Fixes for POSIX2008.
12209 * conform/run-conformtest.sh: Run all tests.
12210 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12211 headers.
12212 * include/bits/dlfcn.h: Likewise.
12213 * include/langinfo.h: Likewise.
12214 * include/monetary.h: Likewise.
12215 * include/sys/poll.h: Likewise.
12216
12217 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12218 for __USE_GNU.
12219 * posix/spawn.h: Define __need_sigset_t.
12220 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12221 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12222 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12223 to get sigevent_t only.
12224 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12225 only for __USE_GNU.
12226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12227 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12228 process_vm_writev only for __USE_GNU.
12229 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12230
12231 * conform/Makefile: For now ignore errors from run-conformtest.
12232 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12233 POSIX to avoid namespace pollution. Don't prepend headers.
12234 * conform/data/aio.h-data: Fixes for POSIX testing.
12235 * conform/data/fcntl.h-data: Likewise.
12236 * conform/data/glob.h-data: Likewise.
12237 * conform/data/grp.h-data: Likewise.
12238 * conform/data/pthread.h-data: Likewise.
12239 * conform/data/pwd.h-data: Likewise.
12240 * conform/data/signal.h-data: Likewise.
12241 * conform/data/spawn.h-data: Likewise.
12242 * conform/data/stdio.h-data: Likewise.
12243 * conform/data/stdlib.h-data: Likewise.
12244 * conform/data/stropts.h-data: Likewise.
12245 * conform/data/sys/mman.h-data: Likewise.
12246 * conform/data/sys/stat.h-data: Likewise.
12247 * conform/data/sys/types.h-data: Likewise.
12248 * conform/data/sys/wait.h-data: Likewise.
12249 * conform/data/time.h-data: Likewise.
12250 * conform/data/unistd.h-data: Likewise.
12251 * conform/data/utime.h-data: Likewise.
12252
12253 * io/sys/stat.h: fchmod was always in POSIX.
12254 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12255 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12256 * rt/aio.h: Define __need_timespec before including <time.h>.
12257 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12258 struct. Add forward declaration of pthread_attr_t and use it in
12259 sigevent.
12260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12262 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12263 always remove CLK_TCK definition.
12264
c20105c3
AS
122652012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12266
12267 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12268
7a270350
UD
122692012-02-25 Ulrich Drepper <drepper@gmail.com>
12270
31341567
UD
12271 * conform/run-conformtest.sh: New file.
12272 * conform/Makefile: Run run-conformtest for tests.
12273 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12274 support.
12275
12276 * conform/data/uchar.h-data: New file.
12277 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12278 * conform/data/arpa/inet.h-data: Likewise.
12279 * conform/data/assert.h-data: Likewise.
12280 * conform/data/complex.h-data: Likewise.
12281 * conform/data/cpio.h-data: Likewise.
12282 * conform/data/ctype.h-data: Likewise.
12283 * conform/data/dirent.h-data: Likewise.
12284 * conform/data/dlfcn.h-data: Likewise.
12285 * conform/data/errno.h-data: Likewise.
12286 * conform/data/fcntl.h-data: Likewise.
12287 * conform/data/float.h-data: Likewise.
12288 * conform/data/fmtmsg.h-data: Likewise.
12289 * conform/data/fnmatch.h-data: Likewise.
12290 * conform/data/ftw.h-data: Likewise.
12291 * conform/data/glob.h-data: Likewise.
12292 * conform/data/grp.h-data: Likewise.
12293 * conform/data/iconv.h-data: Likewise.
12294 * conform/data/inttypes.h-data: Likewise.
12295 * conform/data/langinfo.h-data: Likewise.
12296 * conform/data/libgen.h-data: Likewise.
12297 * conform/data/limits.h-data: Likewise.
12298 * conform/data/locale.h-data: Likewise.
12299 * conform/data/math.h-data: Likewise.
12300 * conform/data/monetary.h-data: Likewise.
12301 * conform/data/mqueue.h-data: Likewise.
12302 * conform/data/ndbm.h-data: Likewise.
12303 * conform/data/net/if.h-data: Likewise.
12304 * conform/data/netdb.h-data: Likewise.
12305 * conform/data/netinet/in.h-data: Likewise.
12306 * conform/data/nl_types.h-data: Likewise.
12307 * conform/data/poll.h-data: Likewise.
12308 * conform/data/pthread.h-data: Likewise.
12309 * conform/data/pwd.h-data: Likewise.
12310 * conform/data/regex.h-data: Likewise.
12311 * conform/data/sched.h-data: Likewise.
12312 * conform/data/search.h-data: Likewise.
12313 * conform/data/semaphore.h-data: Likewise.
12314 * conform/data/setjmp.h-data: Likewise.
12315 * conform/data/signal.h-data: Likewise.
12316 * conform/data/spawn.h-data: Likewise.
12317 * conform/data/stdarg.h-data: Likewise.
12318 * conform/data/stdio.h-data: Likewise.
12319 * conform/data/stdlib.h-data: Likewise.
12320 * conform/data/string.h-data: Likewise.
12321 * conform/data/strings.h-data: Likewise.
12322 * conform/data/stropts.h-data: Likewise.
12323 * conform/data/sys/ipc.h-data: Likewise.
12324 * conform/data/sys/mman.h-data: Likewise.
12325 * conform/data/sys/msg.h-data: Likewise.
12326 * conform/data/sys/resource.h-data: Likewise.
12327 * conform/data/sys/select.h-data: Likewise.
12328 * conform/data/sys/sem.h-data: Likewise.
12329 * conform/data/sys/shm.h-data: Likewise.
12330 * conform/data/sys/socket.h-data: Likewise.
12331 * conform/data/sys/stat.h-data: Likewise.
12332 * conform/data/sys/statvfs.h-data: Likewise.
12333 * conform/data/sys/time.h-data: Likewise.
12334 * conform/data/sys/timeb.h-data: Likewise.
12335 * conform/data/sys/times.h-data: Likewise.
12336 * conform/data/sys/types.h-data: Likewise.
12337 * conform/data/sys/uio.h-data: Likewise.
12338 * conform/data/sys/un.h-data: Likewise.
12339 * conform/data/sys/utsname.h-data: Likewise.
12340 * conform/data/sys/wait.h-data: Likewise.
12341 * conform/data/syslog.h-data: Likewise.
12342 * conform/data/tar.h-data: Likewise.
12343 * conform/data/termios.h-data: Likewise.
12344 * conform/data/utime.h-data: Likewise.
12345 * conform/data/utmpx.h-data: Likewise.
12346 * conform/data/varargs.h-data: Likewise.
12347 * conform/data/wchar.h-data: Likewise.
12348 * conform/data/wctype.h-data: Likewise.
12349 * conform/data/wordexp.h-data: Likewise.
12350
12351 * include/stropts.h: New file.
12352 * include/uchar.h: New file.
12353 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12354 * include/assert.h: Likewise.
12355 * include/ctype.h: Likewise.
12356 * include/dirent.h: Likewise.
12357 * include/dlfcn.h: Likewise.
12358 * include/fcntl.h: Likewise.
12359 * include/fnmatch.h: Likewise.
12360 * include/glob.h: Likewise.
12361 * include/grp.h: Likewise.
12362 * include/libio.h: Likewise.
12363 * include/locale.h: Likewise.
12364 * include/math.h: Likewise.
12365 * include/net/if.h: Likewise.
12366 * include/netdb.h: Likewise.
12367 * include/netinet/in.h: Likewise.
12368 * include/pthread.h: Likewise.
12369 * include/pwd.h: Likewise.
12370 * include/regex.h: Likewise.
12371 * include/sched.h: Likewise.
12372 * include/search.h: Likewise.
12373 * include/setjmp.h: Likewise.
12374 * include/signal.h: Likewise.
12375 * include/stdio.h: Likewise.
12376 * include/stdlib.h: Likewise.
12377 * include/string.h: Likewise.
12378 * include/sys/cdefs.h: Likewise.
12379 * include/sys/mman.h: Likewise.
12380 * include/sys/msg.h: Likewise.
12381 * include/sys/resource.h: Likewise.
12382 * include/sys/select.h: Likewise.
12383 * include/sys/socket.h: Likewise.
12384 * include/sys/stat.h: Likewise.
12385 * include/sys/statvfs.h: Likewise.
12386 * include/sys/time.h: Likewise.
12387 * include/sys/times.h: Likewise.
12388 * include/sys/uio.h: Likewise.
12389 * include/sys/utsname.h: Likewise.
12390 * include/sys/wait.h: Likewise.
12391 * include/termios.h: Likewise.
12392 * include/time.h: Likewise.
12393 * include/ulimit.h: Likewise.
12394 * include/unistd.h: Likewise.
12395 * include/utime.h: Likewise.
12396 * include/wchar.h: Likewise.
12397 * include/wctype.h: Likewise.
12398 * include/wordexp.h: Likewise.
12399
12400 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12401
7a270350
UD
12402 * time/time.h: TIME_UTC must be a macro.
12403 Make timespec_get available for ISO C11 only as well.
12404
7724defc
UD
124052012-02-24 Ulrich Drepper <drepper@gmail.com>
12406
12407 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12408 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12409
6b1d1d46
JM
124102012-02-24 Joseph Myers <joseph@codesourcery.com>
12411
12412 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12413
0f8bbd69
JM
124142012-02-24 Joseph Myers <joseph@codesourcery.com>
12415
12416 * manual/texinfo.tex: Update to version 2012-01-19.16.
12417
66ab80bc
JM
124182012-02-24 Joseph Myers <joseph@codesourcery.com>
12419
12420 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12421
74981cc5
RM
124222012-02-24 Roland McGrath <roland@hack.frob.com>
12423
ee968201
RM
12424 [BZ #13738]
12425 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12426 * manual/fdl-1.3.texi: New file.
12427 * manual/fdl-1.1.texi: File removed.
12428
74981cc5
RM
12429 [BZ #13738]
12430 * manual/libc.texinfo (FDL_VERSION): New @set.
12431 Use it for mention of FDL in cover text.
12432 (Documentation License): Use it in @include file name.
12433
7bb764bc
JM
124342012-02-22 Joseph Myers <joseph@codesourcery.com>
12435 Roland McGrath <roland@hack.frob.com>
12436
12437 [BZ #5461]
12438 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12439 not LONG_LONG_MAX and LONG_LONG_MIN.
12440 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12441 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12442 name.
12443 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12444
6cbeae47
JM
124452012-02-22 Joseph Myers <joseph@codesourcery.com>
12446
12447 [BZ #2547]
12448 [BZ #11365]
12449 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12450 manipulate bits before adding and subtracting TWO23[sx].
12451 * math/libm-test.inc (nearbyint_test): Add more tests.
12452
fe45ce09
JM
124532012-02-22 Joseph Myers <joseph@codesourcery.com>
12454
12455 [BZ #2548]
12456 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12457 bits before adding and subtracting TWO23[sx].
12458 * math/libm-test.inc (rint_test): Add more tests.
12459 (rint_test_tonearest): Likewise.
12460 (rint_test_towardzero): Likewise.
12461 (rint_test_downward): Likewise.
12462 (rint_test_upward: Likewise.
12463
ff3b3d82
JM
124642012-02-22 Joseph Myers <joseph@codesourcery.com>
12465
12466 [BZ #10110]
12467 * include/stdc-predef.h: New file. Extracted from features.h.
12468 * include/features.h: Include stdc-predef.h.
12469 * Makefile (headers): Add stdc-predef.h.
12470 * CONFORMANCE (Compiler limitations): Update.
12471
ef0aab35
JM
124722012-02-22 Joseph Myers <joseph@codesourcery.com>
12473
12474 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12475
58639409
DM
124762012-02-21 David S. Miller <davem@davemloft.net>
12477
12478 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12479 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12480
c0e70b25
DM
124812012-02-20 David S. Miller <davem@davemloft.net>
12482
12483 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12484 using a normal save/restore sequence, rather than allocating a
12485 dummy stack frame just to store a frame pointer and restore.
12486 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12487
fb06851d
JM
124882012-02-21 Joseph Myers <joseph@codesourcery.com>
12489
12490 * manual/install.texi: Fix stray word in line-wrapped comment.
12491
7a8b71c3
DM
124922012-02-20 David S. Miller <davem@davemloft.net>
12493
d510c123
DM
12494 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12495 both binutils and gcc support GOTDATA.
12496
0722d7c2
DM
12497 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12498 "rd %pc" in the PIC register setup sequences.
12499
3d2b3019
DM
12500 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12501 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12502 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12503 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12504 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12506 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12507 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12509 (SYSCALL_ERROR_HANDLER): Likewise.
12510 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12511 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12512 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12513 (SYSCALL_ERROR_HANDLER): Likewise.
12514
c80098a9
DM
12515 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12516 (HAVE_GCC_GOTDATA): New.
12517 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12518 relocation support in both binutils and gcc.
12519 * sysdeps/sparc/elf/configure: Regenerate.
12520
3a2545a0
DM
12521 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12522 * sysdeps/sparc/sparc32/elf/configure: Delete.
12523 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12524 * sysdeps/sparc/sparc64/elf/configure: Delete.
12525 * sysdeps/sparc/elf/configure.in: New file.
12526 * sysdeps/sparc/elf/configure: Generate.
12527
7a8b71c3
DM
12528 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12529 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12530 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12531 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12532 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12533
f1e86fca
JM
125342012-02-21 Joseph Myers <joseph@codesourcery.com>
12535
12536 * manual/install.texi: Do not mention specific glibc version
12537 numbers.
12538 * manual/libc.texinfo (VERSION, UPDATED): Update.
12539 (@copying): Use @copyright{} and range of years.
12540
0e7dfaef
JM
125412012-02-21 Joseph Myers <joseph@codesourcery.com>
12542
12543 [BZ #13695]
12544 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12545 [crti.S not in sysdirs] (generated): Do not append.
12546 [crti.S not in sysdirs] (omit-deps): Likewise.
12547 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12548 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12549 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12550 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12551 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12552 Likewise.
12553 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12554 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12555 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12556 * csu/defs.awk: Remove file.
12557 * sysdeps/generic/initfini.c: Likewise.
12558 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12559 variable.
12560 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12561 Likewise.
12562
599af3ca
JM
125632012-02-20 Joseph Myers <joseph@codesourcery.com>
12564
12565 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12566 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12567 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12568 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12569 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12570 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12571 <bits/epoll.h>.
12572 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12573 (__EPOLL_PACKED): Define to empty if not defined by
12574 <bits/epoll.h>.
12575 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12577 bits/epoll.h.
12578
0e499750
JM
125792012-02-20 Joseph Myers <joseph@codesourcery.com>
12580
12581 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12582 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12583 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12584 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12585 <bits/timerfd.h>.
12586 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12588 bits/timerfd.h.
12589
5ad91f6e
JM
125902012-02-20 Joseph Myers <joseph@codesourcery.com>
12591
12592 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12593 in C locale.
12594 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12595 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12596 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12598
06b99b02
AJ
125992012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12600
12601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12602 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12603
7638c0fd
AS
126042012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12605
12606 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12607 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12608 defined.
12609 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12610 Likewise.
12611 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12612 entry for 2.16.
12613
92221550
AJ
126142012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12615
12616 * math/w_acos.c: Use non-signaling floating-point comparisons.
12617 * math/w_acosf.c: Likewise.
12618 * math/w_acosh.c: Likewise.
12619 * math/w_acoshf.c: Likewise.
12620 * math/w_acoshl.c: Likewise.
12621 * math/w_acosl.c: Likewise.
12622 * math/w_asin.c: Likewise.
12623 * math/w_asinf.c: Likewise.
12624 * math/w_asinl.c: Likewise.
12625 * math/w_atanh.c: Likewise.
12626 * math/w_atanhf.c: Likewise.
12627 * math/w_atanhl.c: Likewise.
12628 * math/w_exp2.c: Likewise.
12629 * math/w_exp2f.c: Likewise.
12630 * math/w_exp2l.c: Likewise.
12631 * math/w_j0.c: Likewise.
12632 * math/w_j0f.c: Likewise.
12633 * math/w_j0l.c: Likewise.
12634 * math/w_j1.c: Likewise.
12635 * math/w_j1f.c: Likewise.
12636 * math/w_j1l.c: Likewise.
12637 * math/w_jn.c: Likewise.
12638 * math/w_jnf.c: Likewise.
12639 * math/w_log.c: Likewise.
12640 * math/w_log10.c: Likewise.
12641 * math/w_log10f.c: Likewise.
12642 * math/w_log10l.c: Likewise.
12643 * math/w_log2.c: Likewise.
12644 * math/w_log2f.c: Likewise.
12645 * math/w_log2l.c: Likewise.
12646 * math/w_logf.c: Likewise.
12647 * math/w_logl.c: Likewise.
12648 * math/w_sqrt.c: Likewise.
12649 * math/w_sqrtf.c: Likewise.
12650 * math/w_sqrtl.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12653 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12654 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12655 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12656
ebaf36eb
JM
126572012-02-19 Joseph Myers <joseph@codesourcery.com>
12658
12659 [BZ #9739]
12660 * manual/string.texi (strnlen): Use correct parameter name in
12661 equivalent expression.
12662
71c254a6
JM
126632012-02-19 Joseph Myers <joseph@codesourcery.com>
12664
12665 [BZ #11174]
12666 * manual/users.texi (seteuid): Consistently use neweuid for
12667 argument name.
12668
16d2c631
JM
126692012-02-19 Joseph Myers <joseph@codesourcery.com>
12670
12671 [BZ #13704]
12672 * manual/nss.texi (Services in the NSS configuration): Correct
12673 list of services in example configuration file.
12674
cd837b09
NB
126752012-02-19 Nick Bowler <nbowler@draconx.ca>
12676
12677 [BZ #11322]
12678 * manual/arith.texi: Remove statements about negative zero
12679 behaving identically to zero.
12680
02c4bbad
JM
126812012-02-18 Joseph Myers <joseph@codesourcery.com>
12682
12683 [BZ #5993]
12684 * manual/install.texi: Do not document upgrading from libc5.
12685
366842e7
JM
126862012-02-18 Joseph Myers <joseph@codesourcery.com>
12687
12688 [BZ #4596]
12689 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12690
dd54084d
DM
126912012-02-18 David S. Miller <davem@davemloft.net>
12692
12693 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12694 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12695 %o7 across the call.
12696 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12697 instead.
12698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12699 SETUP_PIC_REG_LEAF.
12700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12701 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12702 * sysdeps/sparc/crtn.S: Likewise.
12703
2bcc53a3
UD
127042012-02-17 Ulrich Drepper <drepper@gmail.com>
12705
12706 * aout/Makefile: Remove.
12707
09c093b5
RK
127082012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12709
12710 [BZ #13058]
12711 * manual/examples/argp-ex1.c (main): Format definition in GNU
12712 style.
12713 * manual/examples/argp-ex2.c (main): Likewise.
12714 * manual/examples/argp-ex3.c (main): Likewise.
12715 * manual/examples/argp-ex4.c (main): Likewise.
12716 * manual/examples/longopt.c (main): Use new-style prototype
12717 definition.
12718 * manual/examples/strncat.c (main): Specify return type and use
12719 (void) for arguments.
12720 * manual/examples/subopt.c (main): Use char **argv argument.
12721
2ee633a2
JM
127222012-02-17 Joseph Myers <joseph@codesourcery.com>
12723
12724 [BZ #5077]
12725 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12726 rounding modes.
12727
0520adde
FB
127282012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12729
12730 [BZ #6907]
12731 * manual/string.texi (strchr): Change when strchrnul is
12732 recommended.
12733
3f4081cd
DGM
127342012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12735
12736 [BZ #174]
12737 * manual/locale.texi (setlocale): Document LOCPATH.
12738
d1b10e78
JM
127392012-02-17 Joseph Myers <joseph@codesourcery.com>
12740
12741 [BZ #10210]
12742 * manual/process.texi (execle): Move @dots{} before last argument.
12743
79c6869c
PB
127442012-02-17 Paul Bolle <pebolle@tiscali.nl>
12745
12746 [BZ #12047]
12747 * manual/charset.texi (Generic Charset Conversion): Fix typo
12748 (LC_TYPE -> LC_CTYPE).
12749
cc6e48bc
NB
127502012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12751
12752 [BZ #5805]
12753 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12754 (scalbnf): Likewise.
12755 (scalbnl): Likewise.
12756 (scalbln): Likewise.
12757 (scalblnf): Likewise.
12758 (scalblnl): Likewise.
12759 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12760 (vwarnx): Likewise.
12761 (verr): Likewise.
12762 (verrx): Likewise.
12763 * manual/filesys.texi (telldir): Use braces around return type.
12764 * manual/llio.texi (mmap): Add space after comma.
12765 (mmap64): Likewise.
12766 * manual/math.texi (jn): Use @var{} on parameter names.
12767 (jnf): Likewise.
12768 (jnl): Likewise.
12769 (yn): Likewise.
12770 (ynf): Likewise.
12771 (ynl): Likewise.
12772 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12773 line.
12774 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12775 "...".
12776 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12777 (sched_get_priority_max): Likewise.
12778 * manual/signal.texi (sigvec): Add space after comma.
12779 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12780 names.
12781 (if_indextoname): Likewise.
12782 (if_freenameindex): Likewise.
12783 (sendto): Use ',' instead of '.' in prototype.
12784 * manual/startup.texi (syscall): Use @dots{} instead of literal
12785 "...".
12786 * manual/stdio.texi (__fpending): Separate initial words of
12787 paragraph from @deftypefun line.
12788 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12789 "...".
12790 (vsyslog): Use @var{} on parameter names.
12791 * manual/terminal.texi (stty): Use @var{} on parameter names.
12792 * manual/users.texi (getutmp): Use @var{} on parameter names.
12793 (getutmpx): Likewise.
12794
5b23062f
JM
127952012-02-17 Joseph Myers <joseph@codesourcery.com>
12796
12797 [BZ #6884]
12798 * manual/stdio.texi (fopen): Fix typos in description of
12799 ",ccs=STRING".
12800
8dee4833
AJ
128012012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12802
12803 [BZ #4026]
12804 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12805 get clock_id definition.
12806
9078ce93
TS
128072012-02-17 Thomas Schwinge <thomas@schwinge.name>
12808
12809 [BZ #4822]
12810 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12811 (madvise): Cast every argument to void on its own.
12812
3835c55f
JM
128132012-02-17 Joseph Myers <joseph@codesourcery.com>
12814
12815 [BZ #9902]
12816 * manual/startup.texi (Exit Status): Fix typo.
12817
35c47e37
JM
128182012-02-17 Joseph Myers <joseph@codesourcery.com>
12819
12820 [BZ #10140]
12821 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12822 * manual/examples/argp-ex2.c: Likewise.
12823 * manual/examples/argp-ex3.c: Likewise.
12824
e3b69ca7
RH
128252012-02-16 Richard Henderson <rth@redhat.com>
12826
12827 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12828 * sysdeps/s390/s390-32/initfini.c: Remove.
12829 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12830 * sysdeps/s390/s390-64/initfini.c: Remove.
12831
df83af67
KK
128322012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12833
12834 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12835 compiler output for sysdeps/generic/initfini.c.
12836 * sysdeps/sh/elf/initfini.c: Remove file.
12837
f63f3380
DM
128382012-02-16 David S. Miller <davem@davemloft.net>
12839
fb59b3a4
DM
12840 [BZ #11494]
12841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12842
f63f3380
DM
12843 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12844 * sysdeps/sparc/crti.S: New file.
12845 * sysdeps/sparc/crtn.S: New file.
12846 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12847 * sysdeps/sparc/sparc64/Makefile: Likewise.
12848
df6a4a4a
MF
128492012-02-15 Mike Frysinger <vapier@gentoo.org>
12850
6dd8f3dc 12851 [BZ #3335]
df6a4a4a
MF
12852 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12853
1cac7236
RM
128542012-02-15 Roland McGrath <roland@hack.frob.com>
12855
d2c736f8
RM
12856 [BZ #4822]
12857 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12858
1cac7236
RM
12859 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12860 (write, read, close): Likewise.
12861 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12862
8e475601
JM
128632012-02-15 Joseph Myers <joseph@codesourcery.com>
12864
12865 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12866 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12867 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12868 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12869 <bits/signalfd.h>.
12870 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12872 bits/signalfd.h.
12873
ed656b40
MP
128742012-02-14 Marek Polacek <polacek@redhat.com>
12875
12876 * sysdeps/x86_64/crti.S: New file.
12877 * sysdeps/x86_64/crtn.S: New file.
12878 * sysdeps/x86_64/elf/initfini.c: Remove file.
12879
2a979d3a
JM
128802012-02-13 Joseph Myers <joseph@codesourcery.com>
12881
12882 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12883 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12884 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12885 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12886 <bits/inotify.h>.
12887 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12889 bits/inotify.h.
12890
2a418ac3
JM
128912012-02-13 Joseph Myers <joseph@codesourcery.com>
12892
12893 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12894 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12895 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12896 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12897 <bits/eventfd.h>.
12898 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12900 bits/eventfd.h.
12901
fb779be7
TS
129022012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12903
e19e83c5
RM
12904 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12905 __feraiseexcept instead of feraiseexcept.
7c35ffed 12906
fb779be7
TS
12907 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12908 nanosleep invocations.
12909 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12910 strings, and add error checking for a nanosleep invocations.
12911
59ba27a6
PE
129122012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12913
12914 Replace FSF snail mail address with URLs, as per GNU coding standards.
12915 Most of the snail mail addresses were wrong anyway, and omitting
12916 them makes the source code easier to maintain. Almost all of the
12917 changes are to license notices and to locale LC_IDENTIFICATION
12918 addresses, except for this one:
12919 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12920 not its snail mail address.
12921
57b957eb
RH
129222012-02-09 Richard Henderson <rth@twiddle.net>
12923
af850b1c
RH
12924 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12925 of kernel-features.h.
12926
57b957eb
RH
12927 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12928
6b73181a
MP
129292012-02-08 Marek Polacek <polacek@redhat.com>
12930
12931 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12932 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12933 * sysdeps/gnu/_G_config.h: Likewise.
12934 * sysdeps/generic/_G_config.h: Likewise.
12935
26ecc33a
AS
129362012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12937
6c6dbc63
AS
12938 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12939 tests.
12940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12941
e216c012
AS
12942 * sysdeps/powerpc/powerpc32/crti.S: New file.
12943 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12944 * sysdeps/powerpc/powerpc64/crti.S: New file.
12945 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12946
26ecc33a
AS
12947 * Makeconfig (have-initfini): Don't set.
12948 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12949 * configure.in (nopic_initfini): Don't substitute.
12950 * config.h.in (HAVE_INITFINI): Don't #undef.
12951 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12952 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12953
3add8e13
JM
129542012-02-08 Joseph Myers <joseph@codesourcery.com>
12955
12956 Support crti.S and crtn.S provided directly by architectures.
12957 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12958 [crti.S in sysdirs] (omit-deps): Likewise.
12959 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12960 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12961 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12962 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12963 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12964 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12965 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12966 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12967 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12968 compiler output for sysdeps/generic/initfini.c.
12969 * sysdeps/i386/elf/Makefile: Remove file.
12970 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12971
a22f12b4
MP
129722012-02-07 Marek Polacek <polacek@redhat.com>
12973
12974 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12975 * sysdeps/gnu/_G_config.h: Likewise.
12976 * sysdeps/mach/hurd/_G_config.h: Likewise.
12977
148cf100
MP
129782012-02-07 Marek Polacek <polacek@redhat.com>
12979
12980 * math/Makefile (tests): Add tst-CMPLX2.
12981 * math/tst-CMPLX2.c: New file.
12982
cfdc0dd7
AS
129832012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12984
84ba42c4
AS
12985 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12986
cfdc0dd7
AS
12987 * math/libm-test.inc (jn_test): Add missing L suffix.
12988
622c86f4
MP
129892012-02-06 Marek Polacek <polacek@redhat.com>
12990
12991 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12992 * sysdeps/i386/fpu/e_powf.S: Likewise.
12993 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12994 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12995 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12996 * sysdeps/i386/fpu/e_pow.S: Likewise.
12997 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12998 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12999 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13000 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13001 * sysdeps/i386/fpu/e_log2.S: Likewise.
13002 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13003 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13004 * sysdeps/i386/fpu/e_powl.S: Likewise.
13005 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13006 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13007 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13008 * sysdeps/i386/fpu/e_logl.S: Likewise.
13009 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13010 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13011 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13012 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13013 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13014 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13015 * sysdeps/i386/fpu/e_log.S: Likewise.
13016 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13017 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13018 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13019 * sysdeps/i386/fpu/e_logf.S: Likewise.
13020 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13021 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13022 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13023 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13024 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13025 * sysdeps/i386/fpu/e_log10.S: Likewise.
13026 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13027 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13028 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13029 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13030 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13031 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13032 * sysdeps/i386/asm-syntax.h: Likewise.
13033 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13034 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13035 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13036 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13037 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13038 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13039 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13040 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13041 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13042 * sysdeps/powerpc/sysdep.h: Likewise.
13043 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13044 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13045
d4a54ac6
JM
130462012-02-06 Joseph Myers <joseph@codesourcery.com>
13047
13048 [BZ #411]
13049 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13050
314054ea
JM
130512012-02-06 Joseph Myers <joseph@codesourcery.com>
13052
13053 * sysdeps/i386/sysdep.h: Include <features.h>.
13054 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13055 version.
13056
d8e0ca50
JM
130572012-02-05 Joseph Myers <joseph@codesourcery.com>
13058
13059 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13060 Define.
13061 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13062 LOAD_PIC_REG_STR.
13063
b1da7dd9
JM
130642012-02-03 Joseph Myers <joseph@codesourcery.com>
13065
13066 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13067 (SETUP_PIC_REG): Use GET_PC_THUNK.
13068 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13069 macro.
13070
9a1d9254
JM
130712012-02-03 Joseph Myers <joseph@codesourcery.com>
13072
13073 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13074 for non-PIC compilation.
13075 (SETUP_PIC_REG): Add .p2align directive.
13076 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13077 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13078 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13079 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13080 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13081 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13083 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13084 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13085 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13086 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13087 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13088 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13089 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13090 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13091 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13092 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13093 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13094 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13095 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13097 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13098 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13099 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13100 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13102 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13103 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13104 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13105 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13106 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13107 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13108 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13109 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13110 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13111 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13112 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13113 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13114 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13115 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13116 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13117
65dc3b75
JM
131182012-02-03 Joseph Myers <joseph@codesourcery.com>
13119
13120 * math/tst-CMPLX.c: Include <stdio.h>.
13121
d55bf177
JM
131222012-01-31 Joseph Myers <joseph@codesourcery.com>
13123
13124 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13125 float.
13126 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13127 * sysdeps/sparc/bits/mathdef.h: Likewise.
13128
69db4f8f
MP
131292012-01-31 Marek Polacek <polacek@redhat.com>
13130
13131 * libio/libio.h: Don't define _PARAMS.
13132 * locale/programs/config.h: Don't define PARAMS.
13133 * stdlib/strtol_l.c: Likewise.
13134 (__strtol_l): Remove PARAMS from the prototype.
13135
41b81892
UD
131362012-01-31 Ulrich Drepper <drepper@gmail.com>
13137
3b49edc0
UD
13138 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13139 names. Just use the correct names. Remove unnecessary wrapper
13140 functions.
13141 * malloc/arena.c: Likewise.
13142 * malloc/hooks.c: Likewise.
13143
41b81892
UD
13144 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13145 ARENA_TEST says not to. Simplify test for creation of a new arena.
13146 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13147
27a25b6e
UD
131482012-01-30 Ulrich Drepper <drepper@gmail.com>
13149
13150 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13151 into tail calls.
13152 (update_get_addr): New function.
13153 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13154 GET_ADDR_MODULE parameter.
13155
c8a89e7d
JM
131562012-01-30 Joseph Myers <joseph@codesourcery.com>
13157
13158 * crypt/cert.c: Remove __STDC__ conditionals.
13159 * crypt/crypt-entry.c: Likewise.
13160 * crypt/crypt_util.c: Likewise.
13161 * libio/filedoalloc.c: Likewise.
13162 * libio/fileops.c: Likewise.
13163 * libio/genops.c: Likewise.
13164 * libio/iofclose.c: Likewise.
13165 * libio/iofdopen.c: Likewise.
13166 * libio/iofopen.c: Likewise.
13167 * libio/iofopen64.c: Likewise.
13168 * libio/iogetdelim.c: Likewise.
13169 * libio/iopopen.c: Likewise.
13170 * libio/obprintf.c: Likewise.
13171 * libio/oldfileops.c: Likewise.
13172 * libio/oldiofclose.c: Likewise.
13173 * libio/oldiofdopen.c: Likewise.
13174 * libio/oldiofopen.c: Likewise.
13175 * libio/oldiopopen.c: Likewise.
13176 * libio/wfiledoalloc.c: Likewise.
13177 * libio/wgenops.c: Likewise.
13178 * locale/programs/xmalloc.c: Likewise.
13179 * misc/syslog.c: Likewise.
13180 * stdio-common/xbug.c: Likewise.
13181 * string/memchr.c: Likewise.
13182 * string/memcmp.c: Likewise.
13183 * string/memrchr.c: Likewise.
13184 * string/rawmemchr.c: Likewise.
13185 * sysdeps/posix/getcwd.c: Likewise.
13186 * time/strftime_l.c: Likewise.
13187
3b100462
JM
131882012-01-30 Joseph Myers <joseph@codesourcery.com>
13189
13190 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13191 * config.make.in (config-cflags-sse2avx): Define.
13192 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13193 Fix typo.
13194
607998af
CM
131952012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13196
13197 * scripts/config.guess: Update from upstream config git repository.
13198 * scripts/config.sub: Likewise.
13199
3601428f
CM
132002012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13201
3ac8b282
CM
13202 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13203 (EM_NUM): Update.
13204 (R_TILEPRO_*, R_TILEGX_*): New macros.
13205
e034841e
CM
13206 * scripts/firstversions.awk: Fix bug in version range handling.
13207
540d7568
CM
13208 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13209
3601428f
CM
13210 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13211
463de862
CM
13212 * include/sys/epoll.h: New file.
13213 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13214 libc_hidden_def.
13215
73139a76
UD
132162012-01-28 Ulrich Drepper <drepper@gmail.com>
13217
96bc5b45
UD
13218 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13219 Avoid unnecessary __WORDSIZE == 64 test.
13220 (fmaxf): Use VEX format if possible.
13221 (fmax): Likewise.
13222 (fminf): Likewise.
13223 (fmin): Likewise.
13224
56f6f6a2
UD
13225 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13226 * math/math_private.h: Remove libc_fegetround* and
13227 libc_fesetround*.
13228 * sysdeps/i386/configure.in: Check for -msse2avx.
13229 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13230 also if SSE2AVX is defined.
13231 Remove libc_fegetround* and libc_fesetround*.
13232 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13233 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13235 of HAS_YMM_USABLE.
13236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13237 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13238 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13239 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13240 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13241
73139a76
UD
13242 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13243
d73f93a4
AZ
132442012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13245
13246 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13247 size is not set.
13248 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13249
6ee65ed6
UD
132502012-01-27 Ulrich Drepper <drepper@gmail.com>
13251
13252 [BZ #13618]
13253 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13254 relocation.
13255 * Makeconfig (libm): Define.
13256 * elf/Makefile: Add rules to build and run tst-relsort1.
13257 * elf/tst-relsort1.c: New file.
13258 * elf/tst-relsort1mod1.c: New file.
13259 * elf/tst-relsort1mod2.c: New file.
13260
8db21882
JM
132612012-01-27 Joseph Myers <joseph@codesourcery.com>
13262
13263 * math/s_ldexp.c: Remove __STDC__ conditionals.
13264 * math/s_ldexpf.c: Likewise.
13265 * math/s_ldexpl.c: Likewise.
13266 * math/s_nextafter.c: Likewise.
13267 * math/s_nexttowardf.c: Likewise.
13268 * math/s_significand.c: Likewise.
13269 * math/s_significandf.c: Likewise.
13270 * math/s_significandl.c: Likewise.
13271 * math/w_jnl.c: Likewise.
13272 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13273 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13274 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13275 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13276 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13277 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13278 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13279 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13280 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13287 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13291 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13292 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13293 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13294 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13295 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13296 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13297 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13298 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13299 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13300 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13301 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13302 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13303 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13304 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13305 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13306 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13307 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13308 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13309 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13310 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13311 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13312 * sysdeps/ieee754/k_standard.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13374 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13379 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13387 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13388 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13392 * sysdeps/ieee754/s_matherr.c: Likewise.
13393 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13394 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13395 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13396 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13397
965a54a4
JM
133982012-01-26 Joseph Myers <joseph@codesourcery.com>
13399
13400 * crypt/md5.h: Remove __STDC__ conditionals.
13401 * libio/libioP.h: Likewise.
13402 * locale/programs/config.h: Likewise.
13403 * sysdeps/generic/sysdep.h: Likewise.
13404 * sysdeps/i386/asm-syntax.h: Likewise.
13405 * sysdeps/s390/asm-syntax.h: Likewise.
13406 * sysdeps/unix/sysdep.h: Likewise.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13409
7071ad79
JM
134102012-01-26 Joseph Myers <joseph@codesourcery.com>
13411
13412 * libio/libio.h: Remove __STDC__ conditionals.
13413 * malloc/obstack.h: Likewise.
13414 * math/complex.h: Likewise.
13415 * math/math.h: Likewise.
13416 * sysdeps/generic/_G_config.h: Likewise.
13417 * sysdeps/gnu/_G_config.h: Likewise.
13418 * sysdeps/mach/hurd/_G_config.h: Likewise.
13419 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13420 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13421 * sysdeps/sparc/bits/mathdef.h: Likewise.
13422
afc5ed09
UD
134232012-01-26 Ulrich Drepper <drepper@gmail.com>
13424
13425 [BZ #13583]
13426 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13427 Clean up HAS_* macros.
afc5ed09 13428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13429 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13430 possible.
13431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13432 HAS_AVX.
13433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13434 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13435 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13436 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13437 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13438
bdb6de1d
JM
134392012-01-25 Joseph Myers <joseph@codesourcery.com>
13440
13441 * elf/tst-unique3.cc (gets): Remove declaration.
13442 * elf/tst-unique3lib.cc (gets): Likewise.
13443 * elf/tst-unique3lib2.cc (gets): Likewise.
13444 * elf/tst-unique4.cc (gets): Likewise.
13445
b15549e6
UD
134462012-01-24 Ulrich Drepper <drepper@gmail.com>
13447
13448 * include/stdio.h: Add C++ protection. Add gets declarations and
13449 definitions.
13450 * debug/tst-chk1.c: Don't declare gets here.
13451 * stdio-common/tst-gets.c: Likewise.
13452
a037381f
JM
134532012-01-24 Joseph Myers <joseph@codesourcery.com>
13454
13455 * posix/glob: Remove directory.
13456
f1d4aa75
JM
134572012-01-24 Joseph Myers <joseph@codesourcery.com>
13458
13459 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13460
81c0c964
PT
134612012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13462
13463 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13464 of the non-standard EPFNOSUPPORT.
13465
0ea698ae
ST
134662011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13467
13468 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13469 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13470 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13471
d220b117
UD
134722012-01-21 Ulrich Drepper <drepper@gmail.com>
13473
13474 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13475
3e1aa84e
UD
134762012-01-20 Ulrich Drepper <drepper@gmail.com>
13477
13478 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13479 transient errors.
13480 * nscd/grpcache.c (cache_addgr): Likewise.
13481 * nscd/hstcache.c (cache_addhst): Likewise.
13482 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13483 * nscd/pwdcache.c (cache_addpw): Likewise.
13484 * nscd/servicescache.c (cache_addserv): Likewise.
13485
400aa020
UD
134862012-01-16 Ulrich Drepper <drepper@gmail.com>
13487
d77e7869
UD
13488 * malloc/malloc.c: Various cleanups.
13489 * malloc/hooks.c: Likewise.
13490
400aa020
UD
13491 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13492 * stdlib/bug-fmtmsg1.c: New file.
13493
13494 * stdlib/fmtmsg.c (init): Add missing unlock.
13495 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13496
e0a309cf
MP
134972012-01-12 Marek Polacek <polacek@redhat.com>
13498
13499 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13500 and _GNU_SOURCE.
13501
929d11c7
WS
135022012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13503
13504 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13505 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13506 macro to ensure uniqueness of label name.
13507 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13508 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13509
41d0e869
UD
135102012-01-11 Ulrich Drepper <drepper@gmail.com>
13511
0cc5ed3b
UD
13512 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13513
41d0e869
UD
13514 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13515 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13516 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13518
a47a831a
UD
135192012-01-10 Ulrich Drepper <drepper@gmail.com>
13520
daa891c0
UD
13521 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13522
13523 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13524 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13525 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13526
e58ef0f2
UD
13527 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13528
a47a831a 13529 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13530 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13531 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13533
13534 * math/bits/math-finite.h: Add ldexp support.
13535
a0bfc9c7
MP
135362012-01-10 Marek Polacek <polacek@redhat.com>
13537
13538 * locale/programs/localedef.h (show_archive_content): Add noreturn
13539 attribute.
13540
d6e97a1d
UD
135412012-01-09 Ulrich Drepper <drepper@gmail.com>
13542
13543 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13544
d5835c26
UD
135452012-01-08 Ulrich Drepper <drepper@gmail.com>
13546
e5f484c6
UD
13547 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13548
d5835c26
UD
13549 * io/Makefile (headers): Add bits/poll2.h.
13550
d1f741e9
WS
135512011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13552
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13554 typo #include statement.
13555
ec09c1c4
UD
135562012-01-08 Ulrich Drepper <drepper@gmail.com>
13557
13558 * include/sys/cdefs.h: Define __attribute_alloc_size.
13559 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13560 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13561 * elf/pldd.c: Likewise.
13562 * iconv/iconv_charmap.c: Likewise.
13563 * iconv/iconvconfig.c: Likewise.
13564 * iconv/strtab.c: Likewise.
13565 * locale/programs/locale.c: Likewise.
13566 * locale/programs/localedef.h: Likewise.
13567 * locale/programs/simple-hash.c: Likewise.
13568 * nscd/nscd.h: Likewise.
13569 * nss/makedb.c: Likewise.
13570 * sysdeps/generic/ldconfig.h: Likewise.
13571 * locale/programs/localedef.c: Remove xmalloc prototype.
13572 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13573
20b38e03
PP
135742012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13575
13576 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13577 appropriate.
13578
a0da5fe1
UD
135792012-01-08 Ulrich Drepper <drepper@gmail.com>
13580
1d5a644a 13581 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13582 * math/tst-CMPLX.c: New file.
1d5a644a 13583
8784a6db
UD
13584 * math/complex.h (CMPLXL): Fix typo.
13585
d9a216c0
UD
13586 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13587 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13588 GLIBC_2.16.
13589 * debug/tst-chk1.c: Add poll and ppoll tests.
13590 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13591 * include/sys/poll.h: Add hidden proto for ppoll.
13592 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13593 * sysdeps/mach/hurd/ppoll.c: Likewise.
13594 * io/ppoll.c: Likewise.
13595 * debug/poll_chk.c: New file.
13596 * debug/ppoll_chk.c: New file.
13597 * include/bits/poll2.h: New file.
13598 * io/bits/poll2.h: New file.
13599
ac097f5c
UD
13600 [BZ #1350]
13601 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13602
2119dcfa
UD
13603 * configure.in: static is always set to yes. Remove.
13604 * config.make.in: Don't set build-static.
13605 * Makeconfig: Remove use of build-static.
13606 * dlfcn/Makefile: Likewise.
13607 * elf/Makefile: Likewise.
13608 * math/Makefile: Likewise.
13609 * misc/Makefile: Likewise.
13610 * nptl/Makefile: Likewise.
13611 * sysdeps/mach/hurd/Makefile: Likewise.
13612
121766a9
UD
13613 * configure.in: PWD_P is not used anymore.
13614 * config.make.in: Remove PWD_P entry.
13615
51a1d39c 13616 * configure.in: Remove last remnants of RANLIB.
8720d066 13617 No need to check for signed size_t anymore.
215f4bdc
UD
13618 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13619 and IA-64.
3857022a 13620 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13621 * aclocal.m4: Likewise.
13622
d3ed7225
UD
13623 * wcsmbs/mbrtoc16.c: Implement using towc function.
13624 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13625 * wcsmbs/wcsmbsload.c: Likewise.
13626 * iconv/gconv_simple.c: Likewise.
13627 * iconv/gconv_int.h: Likewise.
13628 * iconv/gconv_builtin.h: Likewise.
13629 * iconv/iconv_prog.c: Remove CHAR16 handling.
13630
13631 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13632
13633 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13634
a0da5fe1
UD
13635 * configure.in: Remove --with-elf and --enable-bounded options.
13636 Dont set base_machine for ia64. More non-ELF conditions removed.
13637 Remove testing and setting of leading underscore information.
13638 * config.make.in (build-bounded): Set to no.
13639 * config.h.in: Remove NO_UNDERSCORES entry.
13640 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13641 them.
13642 * csu/start.c: Remove !NO_UNDERSCORE code.
13643 * locale/localeinfo.h: Likewise.
13644 * sysdeps/generic/machine-gmon.h: Likewise.
13645 * sysdeps/generic/sysdep.h: Likewise.
13646 * sysdeps/i386/sysdep.h: Likewise.
13647 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13648 * sysdeps/mach/sysdep.h: Likewise.
13649 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13650 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13651 * sysdeps/sh/sysdep.h: Likewise.
13652 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13653 * sysdeps/unix/i386/sysdep.S: Likewise.
13654 * sysdeps/unix/sparc/start.c: Likewise.
13655 * sysdeps/unix/sparc/sysdep.S: Likewise.
13656 * sysdeps/unix/sparc/sysdep.h: Likewise.
13657 * sysdeps/unix/start.c: Likewise.
13658 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13659 * sysdeps/x86_64/sysdep.h: Likewise.
13660
df78418a
UD
136612012-01-07 Ulrich Drepper <drepper@gmail.com>
13662
a784e502
UD
13663 [BZ #13553]
13664 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13665 for non-gcc.
13666 * argp/argp-fmtstream.h: Use const instead __const.
13667 * argp/argp.h: Likewise.
13668 * assert/assert.h: Likewise.
13669 * bits/fenv.h: Likewise.
13670 * bits/sched.h: Likewise.
13671 * bits/sigset.h: Likewise.
13672 * bits/sigthread.h: Likewise.
13673 * catgets/nl_types.h: Likewise.
13674 * conform/data/pthread.h-data: Likewise.
13675 * crypt/crypt-private.h: Likewise.
13676 * crypt/crypt.h: Likewise.
13677 * crypt/crypt_util.c: Likewise.
13678 * ctype/ctype.h: Likewise.
13679 * debug/execinfo.h: Likewise.
13680 * debug/mbsnrtowcs_chk.c: Likewise.
13681 * debug/mbsrtowcs_chk.c: Likewise.
13682 * debug/wcsnrtombs_chk.c: Likewise.
13683 * debug/wcsrtombs_chk.c: Likewise.
13684 * debug/wcstombs_chk.c: Likewise.
13685 * dirent/dirent.h: Likewise.
13686 * dlfcn/dlfcn.h: Likewise.
13687 * elf/neededtest4.c: Likewise.
13688 * grp/grp.h: Likewise.
13689 * gshadow/gshadow.h: Likewise.
13690 * iconv/gconv.h: Likewise.
13691 * iconv/gconv_int.h: Likewise.
13692 * iconv/gconv_simple.c: Likewise.
13693 * iconv/iconv.h: Likewise.
13694 * iconv/loop.c: Likewise.
13695 * iconv/skeleton.c: Likewise.
13696 * include/aio.h: Likewise.
13697 * include/aliases.h: Likewise.
13698 * include/argz.h: Likewise.
13699 * include/arpa/inet.h: Likewise.
13700 * include/assert.h: Likewise.
13701 * include/dirent.h: Likewise.
13702 * include/dlfcn.h: Likewise.
13703 * include/execinfo.h: Likewise.
13704 * include/fcntl.h: Likewise.
13705 * include/fenv.h: Likewise.
13706 * include/glob.h: Likewise.
13707 * include/grp.h: Likewise.
13708 * include/libintl.h: Likewise.
13709 * include/mntent.h: Likewise.
13710 * include/netdb.h: Likewise.
13711 * include/pwd.h: Likewise.
13712 * include/rpc/netdb.h: Likewise.
13713 * include/sched.h: Likewise.
13714 * include/search.h: Likewise.
13715 * include/shadow.h: Likewise.
13716 * include/signal.h: Likewise.
13717 * include/stdio.h: Likewise.
13718 * include/stdlib.h: Likewise.
13719 * include/string.h: Likewise.
13720 * include/sys/socket.h: Likewise.
13721 * include/sys/stat.h: Likewise.
13722 * include/sys/statfs.h: Likewise.
13723 * include/sys/statvfs.h: Likewise.
13724 * include/sys/syslog.h: Likewise.
13725 * include/sys/time.h: Likewise.
13726 * include/sys/uio.h: Likewise.
13727 * include/time.h: Likewise.
13728 * include/unistd.h: Likewise.
13729 * include/utmp.h: Likewise.
13730 * include/wchar.h: Likewise.
13731 * include/wctype.h: Likewise.
13732 * inet/aliases.h: Likewise.
13733 * inet/arpa/inet.h: Likewise.
13734 * inet/netinet/ether.h: Likewise.
13735 * inet/netinet/in.h: Likewise.
13736 * intl/libintl.h: Likewise.
13737 * io/bits/fcntl2.h: Likewise.
13738 * io/fcntl.h: Likewise.
13739 * io/ftw.h: Likewise.
13740 * io/sys/poll.h: Likewise.
13741 * io/sys/stat.h: Likewise.
13742 * io/sys/statfs.h: Likewise.
13743 * io/sys/statvfs.h: Likewise.
13744 * io/utime.h: Likewise.
13745 * libio/bits/stdio.h: Likewise.
13746 * libio/bits/stdio2.h: Likewise.
13747 * libio/libio.h: Likewise.
13748 * libio/libioP.h: Likewise.
13749 * libio/stdio.h: Likewise.
13750 * locale/lc-ctype.c: Likewise.
13751 * locale/locale.h: Likewise.
13752 * login/utmp.h: Likewise.
13753 * malloc/arena.c: Likewise.
13754 * malloc/malloc.c: Likewise.
13755 * malloc/malloc.h: Likewise.
13756 * malloc/mcheck.c: Likewise.
13757 * malloc/mtrace.c: Likewise.
13758 * math/bits/mathcalls.h: Likewise.
13759 * math/fenv.h: Likewise.
13760 * math/math_private.h: Likewise.
13761 * misc/bits/error.h: Likewise.
13762 * misc/bits/syslog.h: Likewise.
13763 * misc/err.h: Likewise.
13764 * misc/error.h: Likewise.
13765 * misc/fstab.h: Likewise.
13766 * misc/mntent.h: Likewise.
13767 * misc/regexp.h: Likewise.
13768 * misc/search.h: Likewise.
13769 * misc/sgtty.h: Likewise.
13770 * misc/sys/mman.h: Likewise.
13771 * misc/sys/syslog.h: Likewise.
13772 * misc/sys/uio.h: Likewise.
13773 * misc/sys/xattr.h: Likewise.
13774 * misc/ttyent.h: Likewise.
13775 * nis/rpcsvc/ypclnt.h: Likewise.
13776 * nss/nss.h: Likewise.
13777 * posix/bits/unistd.h: Likewise.
13778 * posix/fnmatch.h: Likewise.
13779 * posix/glob.h: Likewise.
13780 * posix/sched.h: Likewise.
13781 * posix/spawn.h: Likewise.
13782 * posix/sys/wait.h: Likewise.
13783 * posix/unistd.h: Likewise.
13784 * posix/wordexp.h: Likewise.
13785 * pwd/pwd.h: Likewise.
13786 * resolv/netdb.h: Likewise.
13787 * resource/sys/resource.h: Likewise.
13788 * rt/aio.h: Likewise.
13789 * rt/bits/mqueue2.h: Likewise.
13790 * rt/mqueue.h: Likewise.
13791 * shadow/shadow.h: Likewise.
13792 * signal/signal.h: Likewise.
13793 * socket/send.c: Likewise.
13794 * socket/sendto.c: Likewise.
13795 * socket/sys/socket.h: Likewise.
13796 * stdio-common/printf.h: Likewise.
13797 * stdlib/bits/stdlib.h: Likewise.
13798 * stdlib/fmtmsg.h: Likewise.
13799 * stdlib/monetary.h: Likewise.
13800 * stdlib/stdlib.h: Likewise.
13801 * stdlib/ucontext.h: Likewise.
13802 * streams/stropts.h: Likewise.
13803 * string/argz.h: Likewise.
13804 * string/bits/string2.h: Likewise.
13805 * string/string.h: Likewise.
13806 * string/strings.h: Likewise.
13807 * sunrpc/rpc/auth.h: Likewise.
13808 * sunrpc/rpc/auth_des.h: Likewise.
13809 * sunrpc/rpc/clnt.h: Likewise.
13810 * sunrpc/rpc/netdb.h: Likewise.
13811 * sunrpc/rpc/pmap_clnt.h: Likewise.
13812 * sunrpc/rpc/xdr.h: Likewise.
13813 * sysdeps/generic/inttypes.h: Likewise.
13814 * sysdeps/generic/net/if.h: Likewise.
13815 * sysdeps/generic/sys/swap.h: Likewise.
13816 * sysdeps/gnu/net/if.h: Likewise.
13817 * sysdeps/gnu/utmpx.h: Likewise.
13818 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13819 * sysdeps/i386/i486/bits/string.h: Likewise.
13820 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13821 * sysdeps/s390/bits/string.h: Likewise.
13822 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13823 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13824 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13825 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13826 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13827 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13828 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13829 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13830 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13831 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13832 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13833 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13834 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13835 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13836 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13837 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13838 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13840 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13843 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13844 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13845 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13846 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13847 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13848 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13849 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13850 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13851 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13852 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13853 * sysvipc/sys/ipc.h: Likewise.
13854 * sysvipc/sys/msg.h: Likewise.
13855 * sysvipc/sys/sem.h: Likewise.
13856 * sysvipc/sys/shm.h: Likewise.
13857 * termios/termios.h: Likewise.
13858 * time/sys/time.h: Likewise.
13859 * time/time.h: Likewise.
13860 * wcsmbs/bits/wchar2.h: Likewise.
13861 * wcsmbs/uchar.h: Likewise.
13862 * wcsmbs/wchar.h: Likewise.
13863 * wctype/wctype.h: Likewise.
13864
0269750c
UD
13865 [BZ #13551]
13866 * Makeconfig: Remove all but ELF support including AIX support.
13867 * Makerules: Likewise.
13868 * config.h.in: Likewise.
13869 * config.make.in: Likewise.
13870 * configure: Likewise.
13871 * configure.in: Likewise.
13872 * csu/Makefile: Likewise.
13873 * csu/version.c: Likewise.
13874 * debug/Makefile: Likewise.
13875 * dlfcn/Makefile: Likewise.
13876 * elf/Makefile: Likewise.
13877 * extra-lib.mk: Likewise.
13878 * iconv/Makefile: Likewise.
13879 * include/libc-symbols.h: Likewise.
13880 * include/shlib-compat.h: Likewise.
13881 * resolv/Makefile: Likewise.
13882 * resolv/res_libc.c: Likewise.
13883 * rt/Makefile: Likewise.
13884 * sysdeps/i386/asm-syntax.h: Likewise.
13885 * sysdeps/i386/sysdep.h: Likewise.
13886 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13887 * sysdeps/mach/sysdep.h: Likewise.
13888 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13889 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13890 * sysdeps/s390/asm-syntax.h: Likewise.
13891 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13892 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13893 * sysdeps/sh/sysdep.h: Likewise.
13894 * sysdeps/unix/sparc/sysdep.h: Likewise.
13895 * sysdeps/wordsize-32/divdi3.c: Likewise.
13896 * sysdeps/x86_64/sysdep.h: Likewise.
13897
00bbd29b
UD
13898 * argp/Versions: Remove _argp_unlock_xxx.
13899
13900 [BZ #13559]
13901 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13902 * abilist/libBrokenLocale.abilist: Likewise.
13903 * abilist/libanl.abilist: Likewise.
13904 * abilist/libc.abilist: Likewise.
13905 * abilist/libcrypt.abilist: Likewise.
13906 * abilist/libdl.abilist: Likewise.
13907 * abilist/libm.abilist: Likewise.
13908 * abilist/libnsl.abilist: Likewise.
13909 * abilist/libpthread.abilist: Likewise.
13910 * abilist/libresolv.abilist: Likewise.
13911 * abilist/librt.abilist: Likewise.
13912 * abilist/libthread_db.abilist: Likewise.
13913 * abilist/libutil.abilist: Likewise.
13914 * abilist/libnss_db.abilist: New file.
13915
13916 * scripts/abilist.awk: Add support for indirect functions.
13917
a2693a0e
UD
13918 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13919
3f05895f
UD
13920 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13921
ecb6fb48
UD
13922 * shlib-versions: Remove entries for ports architectures.
13923
664f8cb9
UD
13924 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13925 files in ports.
13926 * elf/stackguard-macros.h: Remove support for IA-64.
13927 * elf/tst-auditmod1.c: Likewise.
13928 * sysdeps/generic/ldsodefs.h: Likewise.
13929
7ae81d88
UD
13930 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13931 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13932 configure files.
13933
bdeba135
UD
13934 [BZ #13552]
13935 * configure.in: Remove --enable-omitfp support.
13936 * FAQ.in: Adjust.
13937 * config.make.in: Likewise.
13938 * Makeconfig: Likewise.
13939 * manual/install.texi: Likewise.
13940
d75a0a62
UD
13941 In case anyone cares, the IA-64 architecture could move to ports.
13942 * sysdeps/ia64/*: Removed.
13943 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13944 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13945
dcc9756b
UD
13946 [BZ #13555]
13947 * configure.in: Remove entries for unsupported architectures.
13948
d3761ebc 13949 [BZ #13533]
9954432e
UD
13950 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13951 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13952 routines.
13953 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13954 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13955 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13956 fall back to using wcrtomb.
13957 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13958 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13959 renaming.
13960 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13961 * wcsmbs/tst-c16c32-1.c: New file.
13962
13963 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13964 local variable.
13965
c3a87236
UD
13966 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13967
28926a1b
UD
13968 * elf/tst-unique3.cc: Add explicit declaration of gets.
13969 * elf/tst-unique3lib.cc: Likewise.
13970 * elf/tst-unique3lib2.cc: Likewise.
13971 * elf/tst-unique4.cc: Likewise.
13972
df78418a
UD
13973 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13974
8ecd6b2a
JM
139752012-01-06 Joseph Myers <joseph@codesourcery.com>
13976
13977 [BZ #13566]
13978 * assert/assert.h (static_assert): Don't define for C++.
13979 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13980 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13981
9f115170
UD
139822012-01-03 Ulrich Drepper <drepper@gmail.com>
13983
5e0d0300
UD
13984 * iconv/loop.c (single loop): Fix assertion in storing of
13985 remaining bytes.
13986
9f115170
UD
13987 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13988
81fb02b0
UD
139892012-01-01 Ulrich Drepper <drepper@gmail.com>
13990
13991 * posix/getconf.c: Update copyright year.
13992 * nss/getent.c: Likewise.
a316c1f6 13993 * nss/makedb.c: Likewise.
81fb02b0
UD
13994 * iconv/iconvconfig.c: Likewise.
13995 * iconv/iconv_prog.c: Likewise.
13996 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13997 * elf/pldd.c: Likewise.
13998 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13999 * catgets/gencat.c: Likewise.
14000 * csu/version.c: Likewise.
14001 * elf/ldd.bash.in: Likewise.
14002 * elf/sprof.c (print_version): Likewise.
14003 * locale/programs/locale.c: Likewise.
14004 * locale/programs/localedef.c: Likewise.
a316c1f6 14005 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14006 * nscd/nscd.c (print_version): Likewise.
14007 * debug/xtrace.sh: Likewise.
14008 * malloc/memusage.sh: Likewise.
14009 * malloc/mtrace.pl: Likewise.
14010 * debug/catchsegv.sh: Likewise.
14011
2ba92745
JJ
140122011-12-30 Jakub Jelinek <jakub@redhat.com>
14013
14014 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14015 pure attribute.
14016
dadebdae
UD
140172011-12-24 Ulrich Drepper <drepper@gmail.com>
14018
d3761ebc 14019 [BZ #13533]
db6af3eb
UD
14020 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14021 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14022 transformations.
14023 * iconv/gconv_int.h: Likewise.
14024 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14025 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14026 from libc for GLIBC_2.16.
14027 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14028 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14029 * wcsmbs/uchar.h: Really define mbstate_t.
14030 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14031 * wcsmbs/c16rtomb.c: New file.
14032 * wcsmbs/mbrtoc16.c: New file.
14033 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14034 for C/POSIX locale.
14035 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14036 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14037
dadebdae
UD
14038 * wcsmbs/wchar.h: Add missing __restrict.
14039
67371b56
UD
140402011-12-23 Ulrich Drepper <drepper@gmail.com>
14041
74033a25
UD
14042 [BZ #13532]
14043 * time/Makefile (routines): Add timespec_get.
14044 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14045 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14046 timespec for ISO C11.
14047 * time/timespec_get.c: New file.
14048 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14049 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14050
380d7e87
UD
14051 [BZ #13531]
14052 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14053 * stdlib/stdlib.h: Declare aligned_alloc.
14054 * Versions.def: Add GLIBC_2.16 for libc.
14055 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14056
4e9e7a35
UD
14057 [BZ 13527]
14058 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14059 ISO C11.
14060
380d7e87 14061 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14062 code.
14063
03a71829
UD
14064 [BZ #13528]
14065 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14066
839e283e
UD
14067 [BZ #13529]
14068 * assert/assert.h (static_assert): Define.
14069
ce5294e2 14070 * version.h: Update for 2.16 development version.
90fa7312 14071
8d44e150 14072 [BZ #13526]
d7809905
UD
14073 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14074 _ISOC11_SOURCE.
14075
c0da14cd
UD
14076 * version.h (RELEASE): Bump for 2.15 release.
14077 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14078
530a3249
MP
14079 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14080 Patch by Marek Polacek <mpolacek@redhat.com>.
14081
67371b56
UD
14082 * bits/byteswap.h: Protect long long constants with __extension__.
14083 * sysdeps/i386/bits/byteswap.h: Likewise.
14084 * sysdeps/ia64/bits/byteswap.h: Likewise.
14085 * sysdeps/s390/bits/byteswap.h: Likewise.
14086 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14087
15db4de1
LD
140882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14089
14090 [BZ #13540]
bbe315ea
LD
14091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14092 destination buffer.
15db4de1
LD
14093 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14094
2b2596b1
MP
140952011-12-23 Marek Polacek <polacek@redhat.com>
14096
14097 * elf/dl-addr.c (determine_info): Add inline keyword.
14098 * elf/tst-auditmod4b.c (check_avx): Likewise.
14099 * elf/tst-auditmod6b.c (check_avx): Likewise.
14100 * elf/tst-auditmod6c.c (check_avx): Likewise.
14101 * elf/tst-auditmod7b.c (check_avx): Likewise.
14102
70c6c246
UD
141032011-12-23 Ulrich Drepper <drepper@gmail.com>
14104
14105 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14106 !__SSE_MATH__.
14107
c044cf14
LD
141082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14109
15db4de1 14110 [BZ #13540]
c044cf14
LD
14111 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14112 processing for last bytes.
14113
6b13d9d9
BH
141142011-08-06 Bruno Haible <bruno@clisp.org>
14115
d455f537
BH
14116 [BZ #13061]
14117 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14118 U+0385, not to U+1FEE.
14119
6b13d9d9
BH
14120 [BZ #13062]
14121 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14122 entry for U+00A5 U+0301.
14123
db910efd
UD
141242011-12-22 Ulrich Drepper <drepper@gmail.com>
14125
27deeafc
UD
14126 [BZ #13166]
14127 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14128 buffer for the output is too small.
14129
aed9d171
UD
14130 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14131 optimization.
14132
db910efd
UD
14133 [BZ #13185]
14134 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14135 SSE flags if possible.
14136
2bd779ae
LD
141372011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14138
e7f9dac3 14139 [BZ #13540]
2bd779ae
LD
14140 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14141 processing for last bytes.
14142
154bfc16
JM
141432011-12-22 Joseph Myers <joseph@codesourcery.com>
14144
14145 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14146 (syscall-list-default-options, syscall-list-default-condition)
14147 (syscall-list-includes): Define.
14148 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14149 list of ABIs and options and #if conditions for each ABI. Do not
14150 handle common syscalls between ABIs specially.
14151 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14152 Remove.
14153 (syscall-list-variants, syscall-list-32bit-options)
14154 (syscall-list-32bit-condition, syscall-list-64bit-options)
14155 (syscall-list-64bit-condition): Define.
14156 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14157 (syscall-list-variants, syscall-list-32bit-options)
14158 (syscall-list-32bit-condition, syscall-list-64bit-options)
14159 (syscall-list-64bit-condition): Define.
14160 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14161 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/x86_64/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
21eaf3a5
UD
141712011-12-22 Ulrich Drepper <drepper@gmail.com>
14172
16c6f992
UD
14173 * locale/iso-639.def: Add brx entry.
14174
41043168
UD
14175 [BZ #13328]
14176 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14177 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14178
21eaf3a5
UD
14179 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14180 __feraiseexcept_renamed.
14181
e3a851a2
UD
141822011-12-21 Ulrich Drepper <drepper@gmail.com>
14183
4920765e
UD
14184 [BZ #13538]
14185 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14186 EPOLLET with unsigned values.
14187 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14188 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14189
e3a851a2
UD
14190 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14191 to large cancellation.
14192 * math/s_cacoshf.c: Likewise.
14193 * math/s_cacoshl.c: Likewise.
14194
b27e24b8
RK
141952011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14196
14197 [BZ #13305]
aebefeee 14198 [BZ #12786]
b27e24b8
RK
14199 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14200 * math/s_cacoshf.c: Likewise.
14201 * math/s_cacoshl.c: Likewise.
14202
ee190f67
UD
142032011-12-21 Ulrich Drepper <drepper@gmail.com>
14204
14205 [BZ #13439]
14206 * iconv/gconv.h: Define __GCONV_SWAP.
14207 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14208 * iconvdata/utf-16.c: Likewise.
14209 * iconvdata/utf-32.c: Likewise.
14210
707f25df
AS
142112011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14212
14213 [BZ #13524]
14214 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14215 numerator after shifting it by one limb.
14216
d2daaa1e
RÁE
142172011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14218
14219 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14220 under [__USE_EXTERN_INLINES].
14221
a4647e72
UD
142222011-12-17 Ulrich Drepper <drepper@gmail.com>
14223
14224 [BZ #13446]
14225 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14226
f0b264f1
AZ
142272011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14228
14229 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14230 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14231 optimized code.
14232 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14233 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14234 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14235 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14236 for strncasecmp/strncasecmp_l compilation.
14237 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14238 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14239
8ef4f244
MP
142402011-12-08 Marek Polacek <mpolacek@redhat.com>
14241
14242 [BZ #13484]
14243 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14244 of __asm__.
14245
97ac2654
UD
142462011-12-17 Ulrich Drepper <drepper@gmail.com>
14247
14248 [BZ #13506]
14249 * time/tzfile.c (__tzfile_read): Check values from file header.
14250
91d2a845
WS
142512011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14252
14253 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14254 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14255 * powerpc/powerpc32/dl-start.S: Likewise.
14256 * powerpc/powerpc32/elf/start.S: Likewise.
14257 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14258 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14259 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14260 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14261 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14262 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14263 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14264 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14265 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14266 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14267 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14268 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14269 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14270 * powerpc/powerpc32/memset.S: Likewise.
14271 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14272 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14273 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14274 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14275 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14276 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14277 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14278 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14279 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14280 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14281 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14282 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14283 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14284
a1267ba1
AZ
142852011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14286
14287 * math/libm-test.inc: Added more nearbyint tests.
14288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14289 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14292
ad8ac1bd
RL
142932011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14294
14295 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14296 FD_CLOEXEC.
14297
1d3e4b61
UD
142982011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14299
14300 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14301 Add wcscpy-ssse3 wcscpy-c.
14302 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14303 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14304 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14305 * sysdeps/x86_64/wcschr.S: New file.
14306 * sysdeps/x86_64/wcsrchr.S: New file.
14307 * string/test-strcmp.c: Remove checking of wcscmp function for
14308 wrong alignments.
14309 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14310 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14311 wcsrchr-sse2 wcsrchr-c.
14312 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14313 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14314 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14315 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14316 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14317 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14318 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14319 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14320 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14321 * wcsmbc/wcschr.c (WCSCHR): New macro.
14322
5b330a2d
UD
143232011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14324
14325 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14326 * wcsmbs/test-wcsrchr.c: New file.
14327 * string/test-strrchr.c: Add wcsrchr support.
14328 (WIDE): New macro.
14329 * wcsmbs/test-wcscpy.c: New file.
14330 * string/test-strcpy.c: Add wcscpy support.
14331 (WIDE): New macro.
26428b7c 14332
f039c043
UD
143332011-12-10 Ulrich Drepper <drepper@gmail.com>
14334
14335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14336 the inner loop.
14337
850fb039
AS
143382011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14339
14340 [BZ #13472]
14341 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14342
4efbd5cb
UD
143432011-12-04 Ulrich Drepper <drepper@gmail.com>
14344
52ff5dd0 14345 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14346 Minor optimizations.
52ff5dd0 14347
4efbd5cb
UD
14348 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14349 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14350 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14351
8a426e12
UD
143522011-12-03 Ulrich Drepper <drepper@gmail.com>
14353
aff2453d
UD
14354 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14355 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14356 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14357 for gcc to avoid warnings.
14358 * inet/Makefile (tests): Add tst-checks.
14359 * inet/tst-checks.c: New file.
14360
14361 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14362 warning.
14363
14364 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14365 __wmemcmp_sse2.
14366
14367 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14368 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14369
8a426e12
UD
14370 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14371
9bea3473
UD
143722011-12-02 Ulrich Drepper <drepper@gmail.com>
14373
3a965496
UD
14374 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14375 problem.
14376
9bea3473
UD
14377 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14378
f101631b
UD
143792011-11-29 Joseph Myers <joseph@codesourcery.com>
14380
14381 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14382 conditional on GCC version.
14383 (__arch_compare_and_exchange_val_8_acq)
14384 (__arch_compare_and_exchange_val_16_acq)
14385 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14386 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14387 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14388
a98275aa
UD
143892011-12-02 Joseph Myers <joseph@codesourcery.com>
14390
14391 * sysdeps/sh/backtrace.c: New file.
14392
d4cc29a2
AS
143932011-12-02 Andreas Schwab <schwab@redhat.com>
14394
14395 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14396 parenthesis.
14397
6257af2d
AS
143982011-12-01 Andreas Schwab <schwab@redhat.com>
14399
14400 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14401 falling back to utime.
14402
b5f44c1a
AS
144032011-11-30 Andreas Schwab <schwab@redhat.com>
14404
14405 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14406 expectations for float.
14407
f3a6cc0a
AS
144082011-11-29 Andreas Schwab <schwab@redhat.com>
14409
14410 * locale/weight.h (findidx): Add parameter len.
14411 * locale/weightwc.h (findidx): Likewise.
14412 * posix/fnmatch_loop.c (FCT): Adjust caller.
14413 * posix/regcomp.c (build_equiv_class): Likewise.
14414 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14415 * posix/regexec.c (check_node_accept_bytes): Likewise.
14416 * string/strcoll_l.c (STRCOLL): Likewise.
14417 * string/strxfrm_l.c (STRXFRM): Likewise.
14418
9d65ea3a
UD
144192011-11-17 Ulrich Drepper <drepper@gmail.com>
14420
14421 * Makefile.in: Remove CVSOPT handling.
14422 * configure.in: Remove use of AC_REVISION.
14423 * iconvdata/Makefile (distribute): No need to filter out CVS.
14424 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14425 handling.
14426
5583a086
AS
144272011-11-16 Andreas Schwab <schwab@redhat.com>
14428
14429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14430 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14431 [USE_AS_STRNCASECMP_L]: Likewise.
14432 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14433 NO_TLS_DIRECT_SEG_REFS.
14434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14435 Fix argument offsets for non-PIC.
14436 [USE_AS_STRNCASECMP_L]: Likewise.
14437 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14438 NO_TLS_DIRECT_SEG_REFS.
14439
d62a8200
UD
144402011-11-15 Ulrich Drepper <drepper@gmail.com>
14441
9d65ea3a 14442 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14443 O_CLOEXEC.
14444 * locale/loadlocale.c (_nl_load_locale): Likewise.
14445
09f93bd3
AS
144462011-11-15 Andreas Schwab <schwab@redhat.com>
14447
446514f9
AS
14448 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14449 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14450 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14451 (SYSCALL_GETTIME): Set errno on error.
14452
09f93bd3
AS
14453 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14454 count references to noai6ai_cached.
14455
312be3f9
UD
144562011-11-15 Ulrich Drepper <drepper@gmail.com>
14457
14458 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14459
14460 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14461 FD_CLOEXEC for /proc/self/maps.
14462
14463 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14464 FD_CLOEXEC for /proc/meminfo.
14465
14466 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14467 gai.conf.
14468
14469 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14470 FD_CLOEXEC for given file.
14471
14472 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14473
14474 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14475 FD_CLOEXEC for /etc/hosts.
14476 (_gethtent): Likewise.
14477
14478 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14479
14480 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14481 cancellation and set FD_CLOEXEC for /etc/netgroup.
14482
14483 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14484 reading /etc/publickey.
14485
14486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14487 allow cancellation when reading /etc/group.
14488
14489 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14490 cancellation.
14491 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14492
14493 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14494 when using data file.
14495
14496 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14497
14498 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14499 (write_nis_obj): Use "c" and "e" in fopen.
14500
14501 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14502
14503 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14504
14505 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14506
14507 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14508
14509 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14510 locale.alias.
14511
14512 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14513
14514 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14515
14516 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14517
14518 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14519 file parsing and set FD_CLOEXEC.
14520
82af0fa8
UD
145212011-11-14 Ulrich Drepper <drepper@gmail.com>
14522
14523 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14524
a5fb313c
AS
145252011-11-14 Andreas Schwab <schwab@redhat.com>
14526
14527 * malloc/arena.c (arena_get2): Don't call reused_arena when
14528 _int_new_arena failed.
14529
6abf3465
UD
145302011-11-14 Ulrich Drepper <drepper@gmail.com>
14531
14532 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14533 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14535 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14536 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14538 to compile strcasecmp and strncasecmp.
14539 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14540 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14541
14542 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14543
76e3966e
UD
145442011-11-13 Ulrich Drepper <drepper@gmail.com>
14545
14546 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14547 locale-defines.sym to gen-as-const-headers.
14548 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14549 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14551 to compile strcasecmp and strncasecmp.
14552 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14553 strcasecmp_l and strncasecmp_l.
14554 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14555 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14556 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14557 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14558 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14559 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14560 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14561 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14562 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14563 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14564 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14565
ab26144e
UD
145662011-11-12 Ulrich Drepper <drepper@gmail.com>
14567
7edb22ef
UD
14568 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14569 result of SYSDEP_GETTIME_CPU to retval.
14570 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14571 parameter list to macro. Remove trailing semicolon. Adjust users.
14572
9694fc44
UD
14573 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14574 variable.
14575
8ad89ef8
UD
14576 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14577 mantissa words.
14578 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14579
0c822ef9
UD
14580 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14581 from unused variable.
14582
874e0564
UD
14583 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14584 DWARF definitions.
14585 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14586 for assembling.
14587
3a2edc79
UD
14588 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14589 over namespaces.
14590
f3c2577f
UD
14591 * sunrpc/rpc_prot.c (rejected): Fix case value.
14592
294ce126
UD
14593 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14594 unsigned long long int to avoid warnings in shift.
14595
5e2b63c6
UD
14596 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14597 of use of trans.
14598 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14599 variable tmp.
14600
e7f4b08e
UD
14601 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14602 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14603 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14604
ab26144e
UD
14605 * nis/nis_table.c (nis_list): Use variable of correct type for
14606 result of __follow_path call.
14607
8a6d5255
AZ
146082011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14609
14610 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14611 of math functions ceil, trunc, floor, round, and sqrt, when
14612 avaliable on the platform.
14613 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14614 name clash.
14615 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14616 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14617 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14618
aaddc98c
MP
146192011-10-30 Marek Polacek <mpolacek@redhat.com>
14620
14621 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14622 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14623
95b7042b
RM
146242011-11-11 Roland McGrath <roland@hack.frob.com>
14625
14626 * include/unistd.h: Fix __readlink return type.
14627 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14628
57769839
UD
146292011-11-11 Ulrich Drepper <drepper@gmail.com>
14630
14631 * stdlib/ucontext.h: Undo last change for makecontext.
14632
edc5984d
AS
146332011-11-11 Andreas Schwab <schwab@redhat.com>
14634
98591e58
AS
14635 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14636
edc5984d
AS
14637 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14638 * setjmp/setjmp.h: Mark functions as non-leaf.
14639 * setjmp/bits/setjmp2.h: Likewise.
14640 * stdlib/ucontext.h: Likewise.
14641
77cdc054
AS
146422011-11-10 Andreas Schwab <schwab@redhat.com>
14643
14644 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14645 (reused_arena): Don't check arena limit.
14646 (arena_get2): Atomically check arena limit.
14647
fe72eebd
UD
146482011-11-08 Ulrich Drepper <drepper@gmail.com>
14649
5f078c32
UD
14650 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14651 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14652
fe72eebd
UD
14653 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14654 instructions.
14655
ae1bc2fa
AS
146562011-11-07 Andreas Schwab <schwab@redhat.com>
14657
7583a88d
AS
14658 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14659 handler when locking.
14660
ae1bc2fa
AS
14661 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14662 Fix size of allocated buffer.
14663
10fb0bfa
AS
146642011-11-04 Andreas Schwab <schwab@redhat.com>
14665
998832a4
AS
14666 [BZ #10103]
14667 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14668 declarations for long double functions.
14669 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14670
10fb0bfa
AS
14671 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14672
3d7ba52b
AS
146732011-11-03 Andreas Schwab <schwab@redhat.com>
14674
a9ae54a1
AS
14675 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14676 installed.
14677
3d7ba52b
AS
14678 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14679 is disabled.
14680
bc8db248
ST
146812011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14682
14683 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14684
45b96dd6
AS
146852011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14686
647776f6
AS
14687 * include/alloca.h (stackinfo_alloca_round): Define.
14688 (extend_alloca): Use it.
14689 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14690 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14691 here.
14692
d91a8b93
AS
14693 * scripts/check-local-headers.sh: Ignore libaudit.h.
14694
45b96dd6
AS
14695 * nscd/Makefile (extra-objs): Make recursively expanded.
14696
432d41ce
UD
146972011-11-01 Ulrich Drepper <drepper@gmail.com>
14698
34372fc6
UD
14699 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14700 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14701
fadb59f8
UD
14702 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14703 * posix/tst-rfc3484-2.c: Likewise.
14704 * posix/tst-rfc3484-3.c: Likewise.
14705
78239589
UD
14706 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14707 process_vm_writev.
14708 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14709 process_vm_writev.
14710 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14711 process_vm_writev from libc using GLIBC_2.15 version.
14712
432d41ce
UD
14713 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14714
02f9c6cf
PP
147152011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14716
14717 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14718 stack usage.
14719
3a2c0242
UD
147202011-10-31 Ulrich Drepper <drepper@gmail.com>
14721
f4ec4833
UD
14722 [BZ #13367]
14723 * nss/getent.c (initgroups_keys): Show error message in case no group
14724 names are given.
14725
3a2c0242
UD
14726 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14727 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14728 __bump_nl_timestamp.
14729 * nscd/connections (nscd_init): When host database is served open
14730 netlink socket and request notification about configuration changes.
14731 (main_loop_poll): Track netlink file descriptor and bump timestamp
14732 in case data becomes available.
14733 (main_loop_epoll): Likewise.
14734 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14735 (database_pers_head): Add extra_data fileds.
14736 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14737 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14738 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14739 Adjust caller.
14740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14741 in6ai data, call __free_in6ai.
14742 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14743 Add -DHAVE_NETLINK.
14744 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14745 interface information. Reuse previous data if netlink timestamp
14746 is not changed.
14747 (__bump_nl_timestamp): New function.
14748 (__free_in6ai): New function.
14749
636064eb
UD
147502011-10-30 Ulrich Drepper <drepper@gmail.com>
14751
14752 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14753 close_not_cancel_no_status here.
14754 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14755
9beb2334
UD
147562011-10-29 Ulrich Drepper <drepper@gmail.com>
14757
6ef76f3b
UD
14758 [BZ #13276]
14759 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14760 return value.
14761
0ffc4f3e 14762 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14763 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14764 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14765
cb95113e
UD
147662011-07-03 Andreas Jaeger <aj@suse.de>
14767
14768 [BZ #10709]
14769 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14770 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14771 * math/libm-test.inc (sin_test): Add test case.
14772
a1b560ff
UD
147732011-10-29 Ulrich Drepper <drepper@gmail.com>
14774
c9aaface
UD
14775 [BZ #13337]
14776 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14777 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14778
d272e7f1
UD
14779 * elf/chroot_canon.c (chroot_canon): Cleanups.
14780
1bc33071
UD
14781 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14782
1760874d
TJ
14783 [BZ #13335]
14784 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14785 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14786
51d91b18
UD
14787 * string/test-strchr.c: Make usable for strchrnul testing.
14788 * string/test-strchrnul.c: New file.
14789 * string/Makefile (strop-tests): Add strchrnul.
14790
a1b560ff 14791 * po/it.po: Update from translation team.
b611fb81 14792 * po/es.po: Likewise.
a1b560ff 14793
a5b81e1f
UD
147942011-10-28 Ulrich Drepper <drepper@gmail.com>
14795
fd52bc6d
UD
14796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14797 the three constants needed as parameters. Drop the others.
14798 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14799 __m128i_strloadu_tolower.
52e4b9eb
UD
14800 Create and initialize variable zero and use it in all the places
14801 where _mm_setzero_si128 was used.
fd52bc6d 14802
a5b81e1f
UD
14803 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14804 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14805 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14806 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14807 anymore.
14808 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14809 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14810 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14811 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14812 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14813 __mpranred, __mptan.
14814 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14815 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14816 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14817 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14818 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14819 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14820 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14821 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14822 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14823
b4343346
AS
148242011-10-28 Andreas Schwab <schwab@redhat.com>
14825
0c92d8a8
AS
14826 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14827 redefine if SHARED.
14828 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14829
b4343346
AS
14830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14831 wide char related routines to wcsmbs subdir.
14832
3871f58f
AS
148332011-10-27 Andreas Schwab <schwab@redhat.com>
14834
14835 [BZ #13344]
14836 * misc/sys/cdefs.h (__THROWNL): Define.
14837 * posix/unistd.h: Use __THREADNL instead of __THREAD
14838 for memory synchronization functions.
14839
94d44d9f
RM
148402011-10-26 Roland McGrath <roland@hack.frob.com>
14841
21b64b15 14842 [BZ #13349]
94d44d9f
RM
14843 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14844 doesn't exist.
14845 * manual/stdio.texi (Obstack Streams): Node removed.
14846
f6ce9294
AS
148472011-10-26 Andreas Schwab <schwab@redhat.com>
14848
80479147
AS
14849 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14850 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14851 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14852
f6ce9294
AS
14853 * math/math_private.h (math_force_eval): Allow non-addressable
14854 arguments.
14855 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14856
618280a1
UD
148572011-10-25 Ulrich Drepper <drepper@gmail.com>
14858
e0016b11
UD
14859 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14860 file is not needed.
14861
14862 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14869 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14870 Add AVX variants.
14871 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14872 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14873 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14874 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14875 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14876 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14877 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14878 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14879 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14880 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14881 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14882 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14883 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14884 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14885 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14886 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14887 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14888 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14889 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14890
14891 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14892 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14893
618280a1
UD
14894 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14895 place. Use VEX encoding when compiling for AVX.
14896
37822576
AS
148972011-10-25 Andreas Schwab <schwab@redhat.com>
14898
1f1e1947
AS
14899 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14900 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14901
37822576
AS
14902 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14903
31ea014d
UD
149042011-10-25 Ulrich Drepper <drepper@gmail.com>
14905
d7826aa1 14906 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14907 useless if() expression.
d7826aa1
UD
14908 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14910 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14912 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14913 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14914 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14917 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14919 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14920 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14922 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14923 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14924 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14926 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14927
31ea014d
UD
14928 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14929
16437fec
AS
149302011-10-25 Andreas Schwab <schwab@redhat.com>
14931
14932 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14933 condition.
14934 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14935
31d3cc00
UD
149362011-10-25 Ulrich Drepper <drepper@gmail.com>
14937
14938 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14939 .text section. Avoid duplicate constants.
14940 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14944 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14950 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14952 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14953 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14954 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14955 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14956 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14957 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14958 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14960 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14961 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14962 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14963 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14964 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14965 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14966 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14967 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14968 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14969 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14970 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14971 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14972 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14973 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14974 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14975 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14976 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14977 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14978 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14979 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14980 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14981 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14982 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14983 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14984 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14985
58985aa9
UD
149862011-10-24 Ulrich Drepper <drepper@gmail.com>
14987
202c9deb
UD
14988 * sysdeps/x86_64/dla.h: Move to ...
14989 * sysdeps/x86_64/fpu/dla.h: ...here.
14990 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14991 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14992
af968f62
UD
14993 * config.make.in: Add have-mfma4 entry.
14994 * configure.in: Substitute libc_cv_cc_fma4.
14995 * math/Makefile (dbl-only-routines): Add sincostab.
14996 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14997 Use __sincostab not sincos.
14998 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14999 name is a macro.
15000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15004 using __copysign.
15005 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15006 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15007 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15008 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15009 and __inv.
15010 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15011 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15012 __copysign.
15013 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15014 define aliases when function name is a macro.
15015 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15016 sysdeps/ieee754/dbl-64/sincos.tbl.
15017 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15018 fma4-enabled routines.
15019 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15020 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15021 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15022 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15023 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15024 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15025 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15026 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15027 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15028 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15029 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15030 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15031 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15032 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15033 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15034 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15035 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15036 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15037 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15038 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15039 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15040 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15041 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15042 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15043 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15044 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15045 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15046 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15047 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15048 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15049
58985aa9
UD
15050 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15051 rename.
15052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15060
a201fbcf
AS
150612011-10-24 Andreas Schwab <schwab@redhat.com>
15062
15063 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15064
fc2ee42a
LD
150652011-10-23 Ulrich Drepper <drepper@gmail.com>
15066
bb3129bd
UD
15067 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15068
0275fff8
UD
15069 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15070 prediction.
15071 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15072
2fa2ae85
UD
15073 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15074 Remove unused variable magic_bits.
15075 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15076
fc2ee42a
LD
15077 * string/strnlen.c: Define and use STRNLEN macro.
15078 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15079 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15080 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15081 * wcsmbs/wcslen.c: Define and use WCSLEN.
15082 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15083 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15084 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15085 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15086 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15087 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15088 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15089
ce7dd29f
LD
150902011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15091
15092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15093 strnlen-sse2-no-bsf.
15094 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15095 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15096 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15097 Add strnlen support.
15098 (USE_AS_STRNLEN): New macro.
15099 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15100 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15101 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15102 * sysdeps/x86_64/wcslen.S: New file.
15103
979c70a3
MZ
151042011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15105
15106 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15107 XMM-moves are used for copying on small sizes.
15108
2d09f82f
LD
151092011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15110
15111 * wcsmbs/Makefile (strop-tests): Add wcschr.
15112 * wcsmbs/test-wcschr.c: New file.
15113 * string/test-strchr.c: Update.
15114 Add wcschr support.
15115 (WIDE): New macro.
15116
619fccca
LD
151172011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15118
2d09f82f 15119 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15120 * wcsmbs/test-wcslen.c: New file.
15121 * string/test-strlen.c: Update.
15122 Add wcslen support.
15123 (WIDE): New macro.
15124
09f699ea
UD
151252011-10-23 Ulrich Drepper <drepper@gmail.com>
15126
15127 * po/it.po: Update from translation team.
15128
95584d3b
LD
151292011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15130
15131 * sysdeps/x86_64/wcscmp.S: Update.
15132 Fix wrong comparison semantics.
15133 wcscmp shall use signed comparison not unsigned.
15134 Don't use substraction to avoid overflow bug.
15135 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15136 * wcsmbc/wcscmp.c: Likewise.
15137 * string/test-strcmp.c: Likewise.
15138 Add new tests to check cases with negative values.
15139
c8b3296b
UD
151402011-10-23 Ulrich Drepper <drepper@gmail.com>
15141
15142 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15143 * sysdeps/x86_64/dla.h: ...here. New file.
15144 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15153
246ad57a
AS
151542011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15155
15156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15157 __ynl_finite aliases.
15158
a1a87169
UD
151592011-10-22 Ulrich Drepper <drepper@gmail.com>
15160
0d355eb7
UD
15161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15162
a1a87169
UD
15163 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15164 define DLA_FMA.
15165 [DLA_FMA] (EMULV): Use DLA_FMA.
15166 [DLA_FMA] (MUL12): Use EMULV.
15167 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15168 that are not needed.
15169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15176
ee2aafe0
AS
151772011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15178
15179 * math/s_nan.c: Undef __nan.
15180 * math/s_nanf.c: Undef __nanf.
15181 * math/s_nanl.c: Undef __nanl.
15182 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15183 "math_private.h".
15184
bc62c2fb
UD
151852011-10-22 Ulrich Drepper <drepper@gmail.com>
15186
77425c63
UD
15187 * math/s_catan.c: Add branch predictions.
15188 * math/s_catanf.c: Likewise.
15189 * math/s_catanh.c: Likewise.
15190 * math/s_catanhf.c: Likewise.
15191 * math/s_catanhl.c: Likewise.
15192 * math/s_catanl.c: Likewise.
15193 * math/s_cexp.c: Likewise.
15194 * math/s_cexpf.c: Likewise.
15195 * math/s_cexpl.c: Likewise.
15196 * math/s_clog.c: Likewise.
15197 * math/s_clog10.c: Likewise.
15198 * math/s_clog10f.c: Likewise.
15199 * math/s_clog10l.c: Likewise.
15200 * math/s_clogf.c: Likewise.
15201 * math/s_clogl.c: Likewise.
15202 * math/s_csqrt.c: Likewise.
15203 * math/s_csqrtf.c: Likewise.
15204 * math/s_csqrtl.c: Likewise.
15205 * math/s_ctanf.c: Likewise.
15206 * math/s_ctanh.c: Likewise.
15207 * math/s_ctanhf.c: Likewise.
15208 * math/s_ctanhl.c: Likewise.
15209 * math/s_ctanl.c: Likewise.
15210
bc62c2fb
UD
15211 * math/math_private.h: Define __nan, __nanf, __nanl.
15212 * math/s_cacosh.c: Include <math_private.h>.
15213 * math/s_cacoshl.c: Likewise.
15214 * math/s_casinh.c: Likewise.
15215 * math/s_casinhf.c: Likewise.
15216 * math/s_casinhl.c: Likewise.
15217 * math/s_ccos.c: Rely entire on ccosh.
15218 * math/s_ccosf.c: Rely entire on ccoshf.
15219 * math/s_ccosl.c: Rely entirely on ccoshl.
15220 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15221 Remove tests for FE_INVALID.
15222 * math/s_ccoshf.c: Likewise.
15223 * math/s_ccoshl.c: Likewise.
15224 * math/s_csin.c: Likewise.
15225 * math/s_csinf.c: Likewise.
15226 * math/s_csinh.c Likewise.
15227 * math/s_csinhf.c: Likewise.
15228 * math/s_csinhl.c: Likewise.
15229 * math/s_csinl.c: Likewise.
15230 * math/s_ctan.c: Likewise.
15231 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15232 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15233 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15234
8ec250a4
UD
152352011-10-21 Ulrich Drepper <drepper@gmail.com>
15236
c196fed8
UD
15237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15238 compilation problems.
15239
8ec250a4
UD
15240 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15241 __builtin_expect.
15242
8d4f46c6
UD
152432011-10-20 Ulrich Drepper <drepper@gmail.com>
15244
ed72b654
UD
15245 * sysdeps/i386/configure.in: Test for -mfma4 option.
15246 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15247 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15248 COMMON_CPUID_INDEX_80000001.
15249 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15250 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15251 use it if FMA3 is not supported.
15252 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15253
8d4f46c6
UD
15254 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15255 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15256
d45c60c2
AS
152572011-10-20 Andreas Schwab <schwab@redhat.com>
15258
15259 [BZ #12892]
15260 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15261 it would create a cycle with a link time dependency.
15262
d9a4d2ab
UD
152632011-10-19 Ulrich Drepper <drepper@gmail.com>
15264
855d1560
UD
15265 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15266 instruction.
15267 * string/Makefile (strop-tests): Add rawmemchr.
15268 * string/test-rawmemchr.c: New file.
15269
d9a4d2ab
UD
15270 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15271 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15272 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15273 when compiling str{,n}casecmp and when AVX is available. Hook up
15274 new optimized code in initializers.
15275
8f3b1ffe
AS
152762011-10-19 Andreas Schwab <schwab@redhat.com>
15277
15278 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15279 __feraiseexcept instead of feraiseexcept.
15280
d38f1dba
UD
152812011-10-18 Ulrich Drepper <drepper@gmail.com>
15282
d9a8d0ab
UD
15283 * math/math_private.h: Define defaults for libc_fetestexcept and
15284 libc_feupdateenv.
15285 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15286 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15287 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15288 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15289 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15290 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15291 libc_fetestexcept and libc_feupdateenv.
15292
4855e3dd
UD
15293 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15294 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15295 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15296 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15297 libc_feholdexcept_setround.
15298
581d30e3
UD
15299 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15300 Add s_nearbyint-c and s_nearbyintf-c.
15301 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15302 nearbyintf inlines.
15303 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15304 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15305 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15306 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15307
d38f1dba
UD
15308 * math/math_private.h: Define defaults for libc_fegetround,
15309 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15310 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15311 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15313 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15314 standard functions.
15315 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15316 Remove comments and hacks for old compiler versions.
15317 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15318 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15319 libc_feholdexceptl.
15320
caa6c9d8
AS
153212011-10-18 Andreas Schwab <schwab@redhat.com>
15322
15323 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15324 (__feraiseexcept_renamed): Add __NTH.
15325 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15326 namespace violations.
15327
97c066e6
UD
153282011-10-17 Ulrich Drepper <drepper@gmail.com>
15329
99ce7b04
UD
15330 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15331
1004d182
UD
15332 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15333
228a984d
UD
15334 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15335 recently added interfaces.
15336 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15337
c8553a6a
UD
15338 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15339 about macro parameter expansion.
15340
ed22dcf6
UD
15341 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15342 __NO_MATH_INLINES is defined. Cleanups.
15343
15344 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15345 and __floorf is target has SSE4.1.
15346 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15347 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15348 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15349 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15350
b171c137
UD
15351 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15352 name.
15353 (floorf): Likewise.
15354
97c066e6
UD
15355 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15356
629f62ef
AS
153572011-10-17 Andreas Schwab <schwab@redhat.com>
15358
49a43d80
AS
15359 * misc/sys/cdefs.h: Fix last change.
15360
629f62ef
AS
15361 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15362 database lookup.
15363
e453f6cd
UD
153642011-10-16 Ulrich Drepper <drepper@gmail.com>
15365
aa78043a
UD
15366 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15367
ad0f5cad
UD
15368 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15369 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15371 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15374 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15375 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15376 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15377 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15378 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15379 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15380 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15381 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15382 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15383 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15384 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15385 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15386 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15387 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15388 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15389 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15390
15391 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15392 ceil, ceilf, floor, floorf.
15393
15394 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15395 Perform IRELATIVE relocations last.
15396
e453f6cd
UD
15397 * elf/do-rel.h: Add another parameter nrelative, replacing the
15398 local variable with the same name. Change name of the function
15399 to end in Rel or Rela (uppercase).
15400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15401 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15402 elf_dynamic_do_##reloc function.
15403
fd5bdc09
UD
154042011-10-15 Ulrich Drepper <drepper@gmail.com>
15405
79b195b5
UD
15406 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15407 is sufficient, at least on modern CPUs.
15408
d4a28569
UD
15409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15410
b61099b5
UD
15411 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15412 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15413
bcf01e6d
UD
15414 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15415 __expl_finite.
15416 * math/bits/math-finite.h: Add entries for exp.
15417 * math/e_expl.c: Add __*_finite alias.
15418 * sysdeps/i386/fpu/e_exp.S: Likewise.
15419 * sysdeps/i386/fpu/e_expf.S: Likewise.
15420 * sysdeps/i386/fpu/e_expl.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15422 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15423 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15426 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15427 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15428
ba1a0d59
UD
15429 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15430 is sufficient, at least on modern CPUs.
15431
fd5bdc09
UD
15432 * ctype/ctype-info.c (__ctype_init): Define.
15433 * include/ctype.h (__ctype_init): Declare.
15434 (__ctype_b_loc): The variable is always initialized.
15435 (__ctype_toupper_loc): Likewise.
15436 (__ctype_tolower_loc): Likewise.
15437 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15438 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15439
7872cfb0
AS
154402011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15441
b468825a
AS
15442 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15443
7872cfb0
AS
15444 * configure.in: Also look in $cxxmachine/include for C++ system
15445 headers.
15446
be13f7bf
LD
154472011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15448
15449 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15450 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15451 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15452 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15453 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15454 (USE_AS_WMEMCMP): New macro.
15455 Fixing indents.
15456 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15457 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15458 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15459 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15461 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15462 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15464 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15465 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15466 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15467 (USE_AS_WMEMCMP): New macro.
15468 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15469 * sysdeps/string/test-memcmp.c: Update.
15470 Fix simple_wmemcmp.
15471 Add new tests.
15472 * wcsmbs/wmemcmp.c: Update.
15473 (WMEMCMP): New macro.
15474 Fix overflow bug.
15475
556a2007
AJ
154762011-10-12 Andreas Jaeger <aj@suse.de>
15477
15478 [BZ #13268]
15479 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15480
538faaa7
UD
154812011-10-15 Ulrich Drepper <drepper@gmail.com>
15482
ab6737ff
UD
15483 * libio/iofwide.c (do_length): Avoid warning.
15484
538faaa7
UD
15485 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15486
396a21b1
UD
154872011-10-14 Ulrich Drepper <drepper@gmail.com>
15488
cdf2901f
UD
15489 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15490
38ad40ce
UD
15491 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15492 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15493 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15494 * sysdeps/i386/i686/fpu/e_log.S: New file.
15495 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15496 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15497
396a21b1
UD
15498 * ctype/ctype.h: Add support for inlined isXXX functions when
15499 compiling C++ code.
15500
6b1f68c9
AS
155012011-10-14 Andreas Schwab <schwab@redhat.com>
15502
349290c0
AS
15503 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15504
6b1f68c9
AS
15505 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15506
f2282d42
RM
155072011-10-13 Roland McGrath <roland@hack.frob.com>
15508
15509 [BZ #13291]
15510 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15511
5298ffa8
AS
155122011-10-13 Andreas Schwab <schwab@redhat.com>
15513
714fad23
AS
15514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15515 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15516 feraiseexcept.
15517
81dcc7fb
AS
15518 * sysdeps/x86_64/memrchr.S: Check for zero size.
15519
5298ffa8
AS
15520 * string/stratcliff.c: Add memrchr tests.
15521
951fbcec
LD
155222011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15523
15524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15525 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15526 rawmemchr-sse2 rawmemchr-sse2-bsf.
15527 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15528 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15529 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15530 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15531 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15532 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15533 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15534 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15535 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15536 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15537 * string/memrchr.c (MEMRCHR): New macro.
15538
0ac5ae23
UD
155392011-10-12 Ulrich Drepper <drepper@gmail.com>
15540
15541 Add integration with gcc's -ffinite-math-only and optimize wrapper
15542 functions in libm.
15543 * Versions.def: Define GLIBC_2.15 version for libm.
15544 * math/Makefile (headers): Add bits/math-finite.h.
15545 * math/bits/math-finite.h: New file.
15546 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15547 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15548 * math/e_acoshl.c: Add __*_finite alias.
15549 * math/e_acosl.c: Likewise.
15550 * math/e_asinl.c: Likewise.
15551 * math/e_atan2l.c: Likewise.
15552 * math/e_atanhl.c: Likewise.
15553 * math/e_coshl.c: Likewise.
15554 * math/e_exp10.c: Likewise.
15555 * math/e_exp10f.c: Likewise.
15556 * math/e_exp10l.c: Likewise.
15557 * math/e_exp2l.c: Likewise.
15558 * math/e_fmodl.c: Likewise.
15559 * math/e_gammal_r.c: Likewise.
15560 * math/e_hypotl.c: Likewise.
15561 * math/e_j0l.c: Likewise.
15562 * math/e_j1l.c: Likewise.
15563 * math/e_jnl.c: Likewise.
15564 * math/e_lgammal_r.c: Likewise.
15565 * math/e_log10l.c: Likewise.
15566 * math/e_log2l.c: Likewise.
15567 * math/e_logl.c: Likewise.
15568 * math/e_powl.c: Likewise.
15569 * math/e_sinhl.c: Likewise.
15570 * math/e_sqrtl.c: Likewise.
15571 * math/e_scalb.c: Completely rewritten and optimized.
15572 * math/e_scalbf.c: Likewise.
15573 * math/e_scalbl.c: Likewise.
15574 * math/w_acos.c: Likewise.
15575 * math/w_acosf.c: Likewise.
15576 * math/w_acosl.c: Likewise.
15577 * math/w_acosh.c: Likewise.
15578 * math/w_acoshf.c: Likewise.
15579 * math/w_acoshl.c: Likewise.
15580 * math/w_asin.c: Likewise.
15581 * math/w_asinf.c: Likewise.
15582 * math/w_asinl.c: Likewise.
15583 * math/w_atan2.c: Likewise.
15584 * math/w_atan2f.c: Likewise.
15585 * math/w_atan2l.c: Likewise.
15586 * math/w_atanh.c: Likewise.
15587 * math/w_atanhf.c: Likewise.
15588 * math/w_atanhl.c: Likewise.
15589 * math/w_exp10.c: Likewise.
15590 * math/w_exp10f.c: Likewise.
15591 * math/w_exp10l.c: Likewise.
15592 * math/w_fmod.c: Likewise.
15593 * math/w_fmodf.c: Likewise.
15594 * math/w_fmodl.c: Likewise.
15595 * math/w_j0.c: Likewise.
15596 * math/w_j0f.c: Likewise.
15597 * math/w_j0l.c: Likewise.
15598 * math/w_j1.c: Likewise.
15599 * math/w_j1f.c: Likewise.
15600 * math/w_j1l.c: Likewise.
15601 * math/w_jn.c: Likewise.
15602 * math/w_jnf.c: Likewise.
15603 * math/w_log.c: Likewise.
15604 * math/w_logf.c: Likewise.
15605 * math/w_logl.c: Likewise.
15606 * math/w_log10.c: Likewise.
15607 * math/w_log10f.c: Likewise.
15608 * math/w_log10l.c: Likewise.
15609 * math/w_log2.c: Likewise.
15610 * math/w_log2f.c: Likewise.
15611 * math/w_log2l.c: Likewise.
15612 * math/w_pow.c: Likewise.
15613 * math/w_powf.c: Likewise.
15614 * math/w_powl.c: Likewise.
15615 * math/w_remainder.c: Likewise.
15616 * math/w_remainderf.c: Likewise.
15617 * math/w_remainderl.c: Likewise.
15618 * math/w_scalb.c: Likewise.
15619 * math/w_scalbf.c: Likewise.
15620 * math/w_scalbl.c: Likewise.
15621 * math/w_sqrt.c: Likewise.
15622 * math/w_sqrtf.c: Likewise.
15623 * math/w_sqrtl.c: Likewise.
15624 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15625 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15626 used.
15627 * math/math_private.h: Declare __kernel_standard_f.
15628 * math/w_cosh.c: Remove cruft and optimize a bit.
15629 * math/w_coshf.c: Likewise.
15630 * math/w_coshl.c: Likewise.
15631 * math/w_exp2.c: Likewise.
15632 * math/w_exp2f.c: Likewise.
15633 * math/w_exp2l.c: Likewise.
15634 * math/w_hypot.c: Likewise.
15635 * math/w_hypotf.c: Likewise.
15636 * math/w_hypotl.c: Likewise.
15637 * math/w_lgamma.c: Likewise.
15638 * math/w_lgamma_r.c: Likewise.
15639 * math/w_lgammaf.c: Likewise.
15640 * math/w_lgammaf_r.c: Likewise.
15641 * math/w_lgammal.c: Likewise.
15642 * math/w_lgammal_r.c: Likewise.
15643 * math/w_sinh.c: Likewise.
15644 * math/w_sinhf.c: Likewise.
15645 * math/w_sinhl.c: Likewise.
15646 * math/w_tgamma.c: Likewise.
15647 * math/w_tgammaf.c: Likewise.
15648 * math/w_tgammal.c: Likewise.
15649 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15651 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15652 Minor optimizations. Pretty printing. Remove cruft.
15653 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15654 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15655 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15656 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15657 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15658 * sysdeps/i386/fpu/e_asin.S: Likewise.
15659 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15660 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15661 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15662 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15663 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15664 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15665 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15666 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15667 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15668 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15669 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15670 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15671 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15672 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15673 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15674 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15675 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15676 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15677 * sysdeps/i386/fpu/e_log.S: Likewise.
15678 * sysdeps/i386/fpu/e_log10.S: Likewise.
15679 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15680 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15681 * sysdeps/i386/fpu/e_log2.S: Likewise.
15682 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15683 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15684 * sysdeps/i386/fpu/e_logf.S: Likewise.
15685 * sysdeps/i386/fpu/e_logl.S: Likewise.
15686 * sysdeps/i386/fpu/e_pow.S: Likewise.
15687 * sysdeps/i386/fpu/e_powf.S: Likewise.
15688 * sysdeps/i386/fpu/e_powl.S: Likewise.
15689 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15690 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15691 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15692 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15693 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15694 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15695 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15696 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15697 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15698 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15699 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15701 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15702 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15703 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15704 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15705 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15706 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15707 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15709 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15711 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15712 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15718 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15719 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15720 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15721 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15722 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15723 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15724 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15725 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15726 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15727 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15728 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15729 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15730 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15731 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15732 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15733 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15734 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15735 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15736 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15737 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15738 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15739 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15778 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15781 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15784 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15786 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15789 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15791 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15792 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15793 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15794 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15795 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15796 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15797 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15798 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15799 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15800 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15801 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15802 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15803 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15804 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15805 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15806 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15807 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15808 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15809 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15810 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15811 (__isnanf): Likewise.
15812 (__isinf_ns): Likewise.
15813 (__isinf_nsf): Likewise.
15814 (__finite): Likewise.
15815 (__finitef): Likewise.
15816 (__ieee754_sqrt): Define as macro.
15817 (__ieee754_sqrtf): Define as macro.
15818 (__ieee754_sqrtl): Define as macro.
15819 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15820 inlined copy.
15821 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15822 __FINITE_MATH_ONLY__ consistent.
15823 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15824
12cc2fcd
AS
158252011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15826
a843a204
AS
15827 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15828 of rawmemchr.
15829
12cc2fcd
AS
15830 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15831
c853acd5
UD
158322011-10-09 Ulrich Drepper <drepper@gmail.com>
15833
15834 * po/ja.po: Update from translation team.
15835
c658d255
RM
158362011-10-08 Roland McGrath <roland@hack.frob.com>
15837
110946e4
RM
15838 * locale/programs/locarchive.c (prepare_address_space): New function.
15839 (create_archive, enlarge_archive, open_archive): Use it.
15840
50604220
RM
15841 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15842 inside [SHARED], where it is used.
15843
c658d255
RM
15844 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15845
15846 * nss/getent.c (netgroup_keys): Remove unused variable.
15847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15848
6a621eb7
UD
158492011-10-08 Ulrich Drepper <drepper@gmail.com>
15850
7edb55ce
UD
15851 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15852 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15854 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15855 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15856 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15857 * math/Makefile (libm-calls): Add s_isinf_ns.
15858 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15859 * math/multc3.c: Likewise.
15860 * math/s_casin.c: Likewise.
15861 * math/s_casinf.c: Likewise.
15862 * math/s_casinl.c: Likewise.
15863 * math/s_ccos.c: Likewise.
15864 * math/s_ccosf.c: Likewise.
15865 * math/s_ccosl.c: Likewise.
15866 * math/s_ctan.c: Likewise.
15867 * math/s_ctanf.c: Likewise.
15868 * math/s_ctanh.c: Likewise.
15869 * math/s_ctanhf.c: Likewise.
15870 * math/s_ctanhl.c: Likewise.
15871 * math/s_ctanl.c: Likewise.
15872 * math/w_fmod.c: Likewise.
15873 * math/w_fmodf.c: Likewise.
15874 * math/w_fmodl.c: Likewise.
15875 * math/w_remainder.c: Likewise.
15876 * math/w_remainderf.c: Likewise.
15877 * math/w_remainderl.c: Likewise.
15878 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15879 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15880 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15882 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15883 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15884 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15885 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15886
187da0ae
UD
15887 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15888 of the number.
15889 * stdio-common/printf_fphex.c: Likewise.
15890 * stdio-common/printf_size.c: Likewise.
15891
9277c064
UD
15892 * math/e_exp10.c: Include math_private.h using <...> not "...".
15893 * math/e_exp10f.c: Likewise.
15894 * math/e_exp10l.c: Likewise.
15895 * math/e_exp2l.c: Likewise.
15896 * math/e_j0l.c: Likewise.
15897 * math/e_j1l.c: Likewise.
15898 * math/e_jnl.c: Likewise.
15899 * math/e_lgammal_r.c: Likewise.
15900 * math/e_rem_pio2l.c: Likewise.
15901 * math/e_scalb.c: Likewise.
15902 * math/e_scalbf.c: Likewise.
15903 * math/e_scalbl.c: Likewise.
15904 * math/k_cosl.c: Likewise.
15905 * math/k_sinl.c: Likewise.
15906 * math/k_tanl.c: Likewise.
15907 * math/s_cacoshf.c: Likewise.
15908 * math/s_catan.c: Likewise.
15909 * math/s_catanf.c: Likewise.
15910 * math/s_catanh.c: Likewise.
15911 * math/s_catanhf.c: Likewise.
15912 * math/s_catanhl.c: Likewise.
15913 * math/s_catanl.c: Likewise.
15914 * math/s_ccosh.c: Likewise.
15915 * math/s_ccoshf.c: Likewise.
15916 * math/s_ccoshl.c: Likewise.
15917 * math/s_cexp.c: Likewise.
15918 * math/s_cexpf.c: Likewise.
15919 * math/s_cexpl.c: Likewise.
15920 * math/s_clog.c: Likewise.
15921 * math/s_clog10.c: Likewise.
15922 * math/s_clog10f.c: Likewise.
15923 * math/s_clog10l.c: Likewise.
15924 * math/s_clogf.c: Likewise.
15925 * math/s_clogl.c: Likewise.
15926 * math/s_csin.c: Likewise.
15927 * math/s_csinf.c: Likewise.
15928 * math/s_csinh.c: Likewise.
15929 * math/s_csinhf.c: Likewise.
15930 * math/s_csinhl.c: Likewise.
15931 * math/s_csinl.c: Likewise.
15932 * math/s_csqrt.c: Likewise.
15933 * math/s_csqrtf.c: Likewise.
15934 * math/s_csqrtl.c: Likewise.
15935 * math/s_ctan.c: Likewise.
15936 * math/s_ctanf.c: Likewise.
15937 * math/s_ctanh.c: Likewise.
15938 * math/s_ctanhf.c: Likewise.
15939 * math/s_ctanhl.c: Likewise.
15940 * math/s_ctanl.c: Likewise.
15941 * math/s_ldexp.c: Likewise.
15942 * math/s_ldexpf.c: Likewise.
15943 * math/s_ldexpl.c: Likewise.
15944 * math/s_significand.c: Likewise.
15945 * math/s_significandf.c: Likewise.
15946 * math/s_significandl.c: Likewise.
15947 * math/w_acos.c: Likewise.
15948 * math/w_acosf.c: Likewise.
15949 * math/w_acosh.c: Likewise.
15950 * math/w_acoshf.c: Likewise.
15951 * math/w_acoshl.c: Likewise.
15952 * math/w_acosl.c: Likewise.
15953 * math/w_asin.c: Likewise.
15954 * math/w_asinf.c: Likewise.
15955 * math/w_asinl.c: Likewise.
15956 * math/w_atan2.c: Likewise.
15957 * math/w_atan2f.c: Likewise.
15958 * math/w_atan2l.c: Likewise.
15959 * math/w_atanh.c: Likewise.
15960 * math/w_atanhf.c: Likewise.
15961 * math/w_atanhl.c: Likewise.
15962 * math/w_cosh.c: Likewise.
15963 * math/w_coshf.c: Likewise.
15964 * math/w_coshl.c: Likewise.
15965 * math/w_dremf.c: Likewise.
15966 * math/w_exp10.c: Likewise.
15967 * math/w_exp10f.c: Likewise.
15968 * math/w_exp10l.c: Likewise.
15969 * math/w_exp2.c: Likewise.
15970 * math/w_exp2f.c: Likewise.
15971 * math/w_fmod.c: Likewise.
15972 * math/w_fmodf.c: Likewise.
15973 * math/w_fmodl.c: Likewise.
15974 * math/w_hypot.c: Likewise.
15975 * math/w_hypotf.c: Likewise.
15976 * math/w_hypotl.c: Likewise.
15977 * math/w_j0.c: Likewise.
15978 * math/w_j0f.c: Likewise.
15979 * math/w_j0l.c: Likewise.
15980 * math/w_j1.c: Likewise.
15981 * math/w_j1f.c: Likewise.
15982 * math/w_j1l.c: Likewise.
15983 * math/w_jn.c: Likewise.
15984 * math/w_jnf.c: Likewise.
15985 * math/w_jnl.c: Likewise.
15986 * math/w_lgamma.c: Likewise.
15987 * math/w_lgamma_r.c: Likewise.
15988 * math/w_lgammaf.c: Likewise.
15989 * math/w_lgammaf_r.c: Likewise.
15990 * math/w_lgammal.c: Likewise.
15991 * math/w_lgammal_r.c: Likewise.
15992 * math/w_log.c: Likewise.
15993 * math/w_log10.c: Likewise.
15994 * math/w_log10f.c: Likewise.
15995 * math/w_log10l.c: Likewise.
15996 * math/w_log2.c: Likewise.
15997 * math/w_log2f.c: Likewise.
15998 * math/w_log2l.c: Likewise.
15999 * math/w_logf.c: Likewise.
16000 * math/w_logl.c: Likewise.
16001 * math/w_pow.c: Likewise.
16002 * math/w_powf.c: Likewise.
16003 * math/w_powl.c: Likewise.
16004 * math/w_remainder.c: Likewise.
16005 * math/w_remainderf.c: Likewise.
16006 * math/w_remainderl.c: Likewise.
16007 * math/w_scalb.c: Likewise.
16008 * math/w_scalbf.c: Likewise.
16009 * math/w_scalbl.c: Likewise.
16010 * math/w_sinh.c: Likewise.
16011 * math/w_sinhf.c: Likewise.
16012 * math/w_sinhl.c: Likewise.
16013 * math/w_sqrt.c: Likewise.
16014 * math/w_sqrtf.c: Likewise.
16015 * math/w_sqrtl.c: Likewise.
16016 * math/w_tgamma.c: Likewise.
16017 * math/w_tgammaf.c: Likewise.
16018 * math/w_tgammal.c: Likewise.
16019
6a621eb7
UD
16020 * po/ja.po: Update from translation team.
16021
bf582445
AJ
160222011-09-29 Andreas Jaeger <aj@suse.de>
16023
f9efbf3a
AJ
16024 [BZ #13179]
16025 * sunrpc/netname.c (netname2host): Fix logic.
16026
bf582445
AJ
16027 [BZ #6779]
16028 [BZ #6783]
16029 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16030 correctly.
16031 * math/w_remainder.c (__remainder): Likewise.
16032 * math/w_remainderf.c (__remainderf): Likewise.
16033 * math/libm-test.inc (remainder_test): Add test cases.
16034
48693bea
AK
160352011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16036
16037 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16038 sdiv_qrnnd.
16039
42622229
LD
160402011-10-07 Ulrich Drepper <drepper@gmail.com>
16041
16042 * string/test-memcmp.c: Avoid unncessary #defines.
16043 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16044
093ecf92
LD
160452011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16046
16047 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16048 Use new sse2 version for core i3 - i7 as it's faster
16049 than sse42 version.
16050 (bit_Prefer_PMINUB_for_stringop): New.
16051 * sysdeps/x86_64/rawmemchr.S: Update.
16052 Replace with faster SSE2 version.
16053 * sysdeps/x86_64/memrchr.S: New file.
16054 * sysdeps/x86_64/memchr.S: Update.
16055 Replace with faster SSE2 version.
16056
fde56e5c
MP
160572011-09-12 Marek Polacek <mpolacek@redhat.com>
16058
16059 * elf/dl-load.c (lose): Add cast to avoid warning.
16060
21fd49a9
UD
160612011-10-07 Ulrich Drepper <drepper@gmail.com>
16062
5a06e643
UD
16063 * po/ca.po: Update from translation team.
16064
684ae515
UD
16065 * inet/getnetgrent_r.c: Hook up nscd.
16066 * nscd/Makefile (routines): Add nscd_netgroup.
16067 (nscd-modules): Add netgroupcache.
16068 (CFLAGS-netgroupcache.c): Define.
16069 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16070 (cache_search): Add const to second parameter.
16071 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16072 INNETGR.
16073 (dbs): Add netgrdb entry.
16074 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16075 (verify_persistent_db): Handle netgrdb.
16076 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16077 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16078 GETFDNETGR.
16079 (netgroup_response_header): Define.
16080 (innetgroup_response_header): Define.
16081 (datahead): Add netgroup_response_header and innetgroup_response_header
16082 elements.
16083 * nscd/nscd.conf: Add entries for netgroup cache.
16084 * nscd/nscd.h (dbtype): Add netgrdb.
16085 (_PATH_NSCD_NETGROUP_DB): Define.
16086 (netgroup_iov_disabled): Declare.
16087 (xmalloc, xcalloc, xrealloc): Move declarations here.
16088 (cache_search): Adjust prototype.
16089 Add netgroup-related prototypes.
16090 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16091 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16092 (__nscd_innetgr): Declare.
16093 * nscd/selinux.c (perms): Use access_vector_t as element type and
16094 add netgroup-related initializers.
16095 * nscd/netgroupcache.c: New file.
16096 * nscd/nscd_netgroup.c: New file.
16097 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16098 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16099 For four parameters use innetgr.
16100 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16101 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16102 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16103 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16104
21fd49a9
UD
16105 * nscd/connections.c (register_traced_file): Don't register file
16106 for disabled databases.
16107
054c0457
UD
161082011-10-06 Ulrich Drepper <drepper@gmail.com>
16109
32b63198
UD
16110 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16111
054c0457
UD
16112 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16113 from tree and freeing node.
16114
64031225
JO
161152011-09-25 Jiri Olsa <jolsa@redhat.com>
16116
16117 * nss/nsswitch.c (__nss_database_lookup): Handle
16118 nss_parse_service_list out of memory case.
16119
0490345c
JO
161202011-09-15 Jiri Olsa <jolsa@redhat.com>
16121
16122 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16123 out of memory case.
16124
3a62d00d
AS
161252011-10-04 Andreas Schwab <schwab@redhat.com>
16126
16127 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16128 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16129 pass it down.
16130 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16131 elf_machine_rela, elf_machine_lazy_rel.
16132 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16133 (ELF_DYNAMIC_DO_REL): Likewise.
16134 (ELF_DYNAMIC_DO_RELA): Likewise.
16135 (ELF_DYNAMIC_RELOCATE): Likewise.
16136 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16137 to ELF_DYNAMIC_DO_REL.
16138 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16139 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16140 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16141 elf_machine_rela.
16142 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16143 skip_ifunc, don't call ifunc function if non-zero.
16144 (elf_machine_rela): Likewise.
16145 (elf_machine_lazy_rel): Likewise.
16146 (elf_machine_lazy_rela): Likewise.
16147 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16148 (elf_machine_lazy_rel): Likewise.
16149 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16150 Likewise.
16151 (elf_machine_lazy_rel): Likewise.
16152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16153 Likewise.
16154 (elf_machine_lazy_rel): Likewise.
16155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16156 (elf_machine_lazy_rel): Likewise.
16157 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16158 (elf_machine_lazy_rel): Likewise.
16159 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16160 (elf_machine_lazy_rel): Likewise.
16161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16162 (elf_machine_lazy_rel): Likewise.
16163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16164 (elf_machine_lazy_rel): Likewise.
16165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16166 (elf_machine_lazy_rel): Likewise.
16167
68577918
UD
161682011-09-28 Ulrich Drepper <drepper@gmail.com>
16169
16170 * nss/nss_files/files-init.c (_nss_files_init): Use static
16171 initialization for all the *_traced_file variables.
16172
68822d74
AS
161732011-09-28 Andreas Schwab <schwab@redhat.com>
16174
16175 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16176
2056100b
RM
161772011-09-27 Roland McGrath <roland@hack.frob.com>
16178
16179 [BZ #13226]
16180 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16181
32c76b63
AS
161822011-09-27 Andreas Schwab <schwab@redhat.com>
16183
16184 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16185 Reread the line before reparsing it.
16186
bf972c9d
AS
161872011-09-26 Andreas Schwab <schwab@redhat.com>
16188
16189 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16190
e057a1b5
JM
161912011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16192 Maxim Kuvyrkov <maxim@codesourcery.com>
16193 Joseph Myers <joseph@codesourcery.com>
16194
16195 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16196 if needed for __stack_chk_guard.
16197
bc7e1c36
RM
161982011-09-19 Roland McGrath <roland@hack.frob.com>
16199
ecb1482f
RM
16200 * sysdeps/posix/spawni.c (script_execute): Always define it.
16201 It will be optimized away if unused.
16202 (maybe_script_execute): New function.
16203 (__spawni): Call it.
16204
bc7e1c36
RM
16205 * Makerules: Don't include tls.make.
16206 (config-tls): Always set to thread.
16207 * tls.make.c: File removed.
16208
1c3b002b
MF
162092011-09-19 Mike Frysinger <vapier@gentoo.org>
16210
16211 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16212 * config.make.in (CPPFLAGS-config): New substituted variable.
16213
2840865d
UD
162142011-09-15 Ulrich Drepper <drepper@gmail.com>
16215
88738eb6
UD
16216 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16217
cbf645a6 16218 [BZ #13192]
2840865d
UD
16219 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16220 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16221
b402e91a
RM
162222011-09-15 Roland McGrath <roland@hack.frob.com>
16223
16224 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16225 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16227 (CALL_FAIL): Likewise.
16228 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16229 (CALL_FAIL): Macro removed.
16230 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16231
4c1a1f71
UD
162322011-09-15 Ulrich Drepper <drepper@gmail.com>
16233
16234 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16235 for __FINITE_MATH_ONLY__ == 1.
16236
edc121be
AS
162372011-09-15 Andreas Schwab <schwab@redhat.com>
16238
16239 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16240 __ieee754_sqrt instead of sqrt.
16241 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16242 __ieee754_sqrtf instead of sqrtf.
16243 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16244 __floorf instead of floorf.
16245 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16246 __floorf, __truncf instead of floorf, truncf.
16247
cd205654
UD
162482011-09-14 Ulrich Drepper <drepper@gmail.com>
16249
ee4d0315
UD
16250 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16251
cd205654
UD
16252 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16253 __extern_always_inline.
16254 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16255 32-bit.
16256
48b67d71
AS
162572011-09-14 Andreas Schwab <schwab@redhat.com>
16258
16259 * elf/rtld.c (dl_main): Also relocate in dependency order when
16260 doing symbol dependency testing.
16261
1ae12c75
AS
162622011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16263
16264 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16265 Always define `refsym'.
16266
995a80df
AS
162672011-09-13 Andreas Schwab <schwab@redhat.com>
16268
e529793b
AS
16269 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16270 (__FD_ELT): Renamed from __FDELT.
16271 * misc/bits/select2.h (__FD_ELT): Likewise.
16272 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16273 __FD_MASK instead of __FDELT, __FDMASK.
16274 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16275 Likewise.
16276 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16277 Likewise.
16278
52d4fef8
AS
16279 * elf/Makefile (gen-ldd): Fix pattern.
16280
995a80df
AS
16281 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16282 (init_tls): Likewise.
16283
8682f8b0
UD
162842011-09-12 Ulrich Drepper <drepper@gmail.com>
16285
16286 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16287
de82006d
AS
162882011-09-12 Andreas Schwab <schwab@redhat.com>
16289
a7c8e6a1
AS
16290 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16291 `struct cmsghdr *' instead of `void *'.
16292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16293 Likewise.
16294
0f31fe77
AS
162952011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16296
16297 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16298 if non-absolute.
16299 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16300 ldd_rewrite_script.
0f31fe77 16301
32b4c839
UD
163022011-09-11 Ulrich Drepper <drepper@gmail.com>
16303
83cd1420
UD
16304 * configure.in: Remove --with-tls option.
16305 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16306 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16307 out in case it is missing.
16308 * sysdeps/ia64/elf/configure.in: Likewise.
16309 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16310 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16311 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16312 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16313 * sysdeps/sh/elf/configure.in: Likewise.
16314 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16315 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16316 * sysdeps/x86_64/elf/configure.in: Likewise.
16317 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16318 * sysdeps/mach/hurd/tls.h: Likewise.
16319
633f745d
UD
16320 [BZ #13067]
16321 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16322
f318beb8
UD
16323 [BZ #13090]
16324 * configure.in: Fix use of AC_INIT.
16325
32b4c839
UD
16326 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16327
3ce1f295
UD
163282011-09-10 Ulrich Drepper <drepper@gmail.com>
16329
bb016596
UD
16330 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16331 __set_errno.
8e58439c
UD
16332 * malloc/hooks.c: Likewise.
16333
aebae053 16334 [BZ #11929]
02d46fc4
UD
16335 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16336 variables statically.
16337 (narenas): Initialize.
16338 (list_lock): Initialize.
bb016596
UD
16339 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16340 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16341 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16342 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16343 Add initializers to main_arena and mp_.
16344 (malloc_state): Remove pagesize member. Change all users to use
16345 GLRO(dl_pagesize).
16346
16347 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16348 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16349 is always initialized.
16350
22a89187
UD
16351 * malloc/malloc.c: Removed unused configurations and dead code.
16352 * malloc/arena.c: Likewise.
16353 * malloc/hooks.c: Likewise.
02d46fc4 16354 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16355
d063d164
UD
16356 * include/tls.h: Removed. USE___THREAD must always be defined.
16357 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16358 * elf/dl-libc.c: Likewise.
16359 * elf/dl-tsd.c: Likewise.
16360 * include/errno.h: Likewise.
16361 * include/netdb.h: Likewise.
16362 * include/resolv.h: Likewise.
16363 * inet/herrno-loc.c: Likewise.
16364 * inet/herrno.c: Likewise.
16365 * malloc/arena.c: Likewise.
16366 * malloc/hooks.c: Likewise.
16367 * malloc/malloc.c: Likewise.
16368 * resolv/res-state.c: Likewise.
16369 * resolv/res_libc.c: Likewise.
16370 * sysdeps/i386/dl-machine.h: Likewise.
16371 * sysdeps/ia64/dl-machine.h: Likewise.
16372 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16373 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16374 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16375 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16376 * sysdeps/sh/dl-machine.h: Likewise.
16377 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16378 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16379 * sysdeps/unix/i386/sysdep.S: Likewise.
16380 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16381 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16383 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16386 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16390 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16391 * sysdeps/x86_64/dl-machine.h: Likewise.
16392 * tls.make.c: Likewise.
16393
3ce1f295
UD
16394 * configure.in: Remove --with-__thread option. Make tests for
16395 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16396 tls_model attribute fail if no support is available. Remove
16397 USE_IN_LIBIO.
16398 * Makeconfig: Adjust for dropped configure option. All features are
16399 now mandatory.
16400 * Makerules: Likewise.
16401 * Versions.def: Likewise.
16402 * argp/argp-fmtstream.c: Likewise.
16403 * argp/argp-fmtstream.h: Likewise.
16404 * argp/argp-help.c: Likewise.
16405 * assert/assert.c: Likewise.
16406 * config.h.in: Likewise.
16407 * config.make.in: Likewise.
16408 * configure: Likewise.
16409 * configure.in: Likewise.
16410 * csu/Versions: Likewise.
16411 * csu/init.c: Likewise.
16412 * elf/tst-audit2.c: Likewise.
16413 * elf/tst-tls10.c: Likewise.
16414 * elf/tst-tls10.h: Likewise.
16415 * elf/tst-tls11.c: Likewise.
16416 * elf/tst-tls12.c: Likewise.
16417 * elf/tst-tls14.c: Likewise.
16418 * elf/tst-tlsmod11.c: Likewise.
16419 * elf/tst-tlsmod12.c: Likewise.
16420 * elf/tst-tlsmod13.c: Likewise.
16421 * elf/tst-tlsmod13a.c: Likewise.
16422 * elf/tst-tlsmod14a.c: Likewise.
16423 * elf/tst-tlsmod15b.c: Likewise.
16424 * elf/tst-tlsmod16a.c: Likewise.
16425 * elf/tst-tlsmod16b.c: Likewise.
16426 * elf/tst-tlsmod7.c: Likewise.
16427 * elf/tst-tlsmod8.c: Likewise.
16428 * elf/tst-tlsmod9.c: Likewise.
16429 * gmon/gmon.c: Likewise.
16430 * grp/fgetgrent_r.c: Likewise.
16431 * grp/putgrent.c: Likewise.
16432 * hurd/fopenport.c: Likewise.
16433 * include/libc-symbols.h: Likewise.
16434 * include/tls.h: Likewise.
16435 * intl/gettextP.h: Likewise.
16436 * intl/loadinfo.h: Likewise.
16437 * locale/global-locale.c: Likewise.
16438 * locale/localeinfo.h: Likewise.
16439 * mach/devstream.c: Likewise.
16440 * malloc/arena.c: Likewise.
16441 * malloc/set-freeres.c: Likewise.
16442 * misc/err.c: Likewise.
16443 * misc/getttyent.c: Likewise.
16444 * misc/mntent_r.c: Likewise.
16445 * posix/getopt.c: Likewise.
16446 * posix/wordexp.c: Likewise.
16447 * pwd/fgetpwent_r.c: Likewise.
16448 * resolv/Versions: Likewise.
16449 * resolv/res_hconf.c: Likewise.
16450 * shadow/fgetspent_r.c: Likewise.
16451 * shadow/putspent.c: Likewise.
16452 * stdio-common/printf_fphex.c: Likewise.
16453 * stdio-common/tmpfile.c: Likewise.
16454 * stdlib/abort.c: Likewise.
16455 * stdlib/fmtmsg.c: Likewise.
16456 * sunrpc/auth_unix.c: Likewise.
16457 * sunrpc/clnt_perr.c: Likewise.
16458 * sunrpc/clnt_tcp.c: Likewise.
16459 * sunrpc/clnt_udp.c: Likewise.
16460 * sunrpc/clnt_unix.c: Likewise.
16461 * sunrpc/openchild.c: Likewise.
16462 * sunrpc/svc_simple.c: Likewise.
16463 * sunrpc/svc_tcp.c: Likewise.
16464 * sunrpc/svc_udp.c: Likewise.
16465 * sunrpc/svc_unix.c: Likewise.
16466 * sunrpc/xdr.c: Likewise.
16467 * sunrpc/xdr_array.c: Likewise.
16468 * sunrpc/xdr_rec.c: Likewise.
16469 * sunrpc/xdr_ref.c: Likewise.
16470 * sunrpc/xdr_stdio.c: Likewise.
16471
1248c1c4
PB
164722011-09-09 Ulrich Drepper <drepper@gmail.com>
16473
16474 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16475
164762011-07-03 Andreas Jaeger <aj@suse.de>
16477
16478 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16479 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16480 regenerate with gen-libm-tests.pl.
16481
164822010-05-12 Petr Baudis <pasky@suse.cz>
16483
16484 [BZ #11589]
16485 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16486 around j0() zero points by switching to j1().
16487 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16488 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16490 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16491
f22e1074
UD
164922011-09-09 Ulrich Drepper <drepper@gmail.com>
16493
f19009c1
UD
16494 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16495 instead of 0.
16496 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16497 instead of 0. .
16498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16499 Patch in part by Pavel Roskin <proski@gnu.org>.
16500
3f8cc204
UD
16501 [BZ #13138]
16502 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16503 realloc.
16504 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16505 Free memory block if necessary.
16506
f22e1074
UD
16507 [BZ #12847]
16508 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16509 be NULL. Don't lock in this case.
16510
0a2349f9
RM
165112011-09-09 Roland McGrath <roland@hack.frob.com>
16512
16513 * elf/elf.h (ELFOSABI_GNU): New macro.
16514 (ELFOSABI_LINUX): Define to that.
16515
f3cdd467
DZ
165162011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16517
16518 * string/strncat.c (strncat): Undef the symbol in case it has been
16519 defined in bits/string.h.
16520
74718d13
UD
165212011-09-09 Ulrich Drepper <drepper@gmail.com>
16522
633e9e0f
UD
16523 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16524
0a2349f9 16525 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16526 link map.
16527
f9924780
AJ
165282011-08-17 Andreas Jaeger <aj@suse.de>
16529
16530 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16531
7f5517aa
PP
165322011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16533 Ian Lance Taylor <iant@google.com>
16534
16535 * math/libm-test.inc (lround_test): New testcase.
16536 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16537
762011fe
UD
165382011-09-08 Ulrich Drepper <drepper@gmail.com>
16539
92963737
UD
16540 * Makefile: Remove support for automatic cvs check-ins.
16541 * Makerules: Likewise.
16542 * config.make.in: Likewise.
16543 * configure.in: Likewise.
16544 * intl/Makefile: Likewise.
16545 * locale/Makefile: Likewise.
16546 * po/Makefile: Likewise.
16547 * posix/Makefile: Likewise.
16548 * sysdeps/gnu/Makefile: Likewise.
16549 * sysdeps/mach/hurd/Makefile: Likewise.
16550 * sysdeps/sparc/sparc32/Makefile: Likewise.
16551
b0727fd8
JS
16552 [BZ #13118]
16553 * posix/Makefile (bug-regex32-ENV): Define.
16554 Patch by John Stanley <jpsinthemix@verizon.net>.
16555
a0f33f99
UD
16556 * misc/Makefile (headers): Add bits/select2.h.
16557 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16558 * misc/bits/select2.h: New file.
16559 * include/bits/select2.h: New file.
16560 * debug/Makefile (routines): Add fdelt_chk.
16561 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16562 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16563 FD_ISSET.
16564 * debug/fdelt_chk.c: New file.
16565
762011fe
UD
16566 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16567 * wcsmbs/test-wmemcmp.c: Likewise.
16568 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16569 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16570
165712011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16572
16573 * string/Makefile (strop-tests): Add memcmp.
16574 * string/test-wmemcmp.c: New file.
16575 * string/test-memcmp.c: Add wmemcmp support.
16576
7f513ec8
RM
165772011-09-08 Roland McGrath <roland@hack.frob.com>
16578
0442afb4
RM
16579 [BZ #13153]
16580 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16581 2011-07-19 change.
16582
7f513ec8
RM
16583 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16584 garbage value in a __mach_port_mod_refs call in the cases of the
16585 task-self and thread-self ports.
16586
a12b2239
ST
165872011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16588
16589 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16590
610f9ab4
AS
165912011-09-08 Andreas Schwab <schwab@redhat.com>
16592
7f513ec8 16593 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16594
48882a1a
LD
165952011-09-07 Ulrich Drepper <drepper@gmail.com>
16596
b49865be
UD
16597 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16598
fdc86bc9
UD
16599 * elf/dl-libc.c (dlerror_run): Pass back error code from
16600 dl_catch_error.
16601
c966526a
UD
16602 [BZ #13123]
16603 * elf/dl-load.c (lose): Free l_origin if it is valid.
16604
48882a1a
LD
16605 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16606 names.
16607 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16608 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16609 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16610 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16611 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16612 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16613
77a2a8b4
AZ
166142011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16615
16616 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16617 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16618 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16619 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16620 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16621 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16622 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16623 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16624 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16625 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16626
24f579d8
AM
166272011-08-15 Alan Modra <amodra@gmail.com>
16628
16629 [BZ #13092]
16630 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16631 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16632 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16633 ppc_mcount to static-only-routines.
16634 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16635 __mcount_internal.
16636 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16637 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16638
3d4837df
UD
166392011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16640
16641 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16642 for finite and infinity parameters.
16643
22700377
WS
166442011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16645
16646 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16647 and add nop instructions for throughput optimization.
16648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16649
5025581e
WS
166502011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16651
16652 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16653 aligned copy for power7 with vector-scalar instructions.
16654 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16655
08a300c9
L
166562011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16657
16658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16659 AVX check.
16660
59178ef9
AS
166612011-09-07 Andreas Schwab <schwab@redhat.com>
16662
16663 [BZ #13144]
16664 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16665 last change.
16666
e38ba7ab
UD
166672011-09-07 Ulrich Drepper <drepper@gmail.com>
16668
16669 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16670 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16671 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16672 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16673 clock_gettime.
16674
d53a73ac
UD
166752011-09-06 Ulrich Drepper <drepper@gmail.com>
16676
fc8bffcc
UD
16677 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16678 Forgot to demangle the pointer.
16679
ceaa0c5d
UD
16680 * sysdeps/i386/sysdep.h: Define atom_text_section.
16681 * sysdeps/x86_64/sysdep.h: Likewise.
16682 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16683 section with atom_text_section.
16684 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16685 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16686 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16687 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16688 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16689
a77d3c17
UD
16690 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16691 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16692 already be defined. Change to take two parameters and don't assign
16693 result to variable. Adjust all users.
16694 Define INTERNAL_GETTIME if not already defined.
16695 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16696 call.
16697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16698 HAVE_CLOCK_GETTIME_VSYSCALL.
16699 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16700
d53a73ac
UD
16701 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16702 gettimeofday vsyscall, just use time.
16703
a8f84144
AS
167042011-09-06 Andreas Schwab <schwab@redhat.com>
16705
16706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16707 <errno.h>.
16708
ef606249
UD
167092011-09-06 Ulrich Drepper <drepper@gmail.com>
16710
16711 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16712 syscall on x86-64.
16713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16714 syscall.
16715 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16717 syscall if possible.
16718
6585cb60
UD
167192011-09-05 Ulrich Drepper <drepper@gmail.com>
16720
16721 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16722 e_ident. Don't pass to find_mapsXX.
16723 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16724
a5f524e4
LD
167252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16726
16727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16728 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16729 * sysdeps/x86_64/multiarch/strchr.S: Update.
16730 Check bit_slow_BSF bit.
16731 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16732 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16733 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16734
554881ef
UD
167352011-09-05 Ulrich Drepper <drepper@gmail.com>
16736
d96de963
UD
16737 [BZ #13134]
16738 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16739 before glibc 2.15.
16740 (tryshell): Define.
16741 (__spawni): Change last parameter to be flag. Test
16742 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16743 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16744 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16745 * posix/spawni.c: Likewise.
16746 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16747 * posix/spawnp.c: Likewise. Change normal version to use
16748 SPAWN_XFLAGS_USE_PATH.
16749 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16750 SPAWN_XFLAGS_TRY_SHELL.
16751
d48e5868
UD
16752 [BZ #13150]
16753 * posix/glob.h: Remove gcc 1.x support.
16754
554881ef
UD
16755 [BZ #13068]
16756 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16757
693fb948
LD
167582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16759
16760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16761 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16762 strrchr-sse2-bsf
16763 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16764 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16765 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16766 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16767 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16768 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16769
1b48c537
UD
167702011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16771
49d42c37
UD
16772 * sysdeps/x86_64/wcscmp.S: New file.
16773
1b48c537
UD
16774 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16775 wcscmp-c wcscmp-sse2
16776 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16777 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16778 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16779 * wcsmbs/wcscmp.c: Allow renaming.
16780
15c95c5d
DM
167812011-09-05 David S. Miller <davem@davemloft.net>
16782
16783 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16784 stack slot, rather than the struct return pointer slot.
16785 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16786 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16788 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16789
2f0ad8f3
UD
167902011-09-05 Ulrich Drepper <drepper@gmail.com>
16791
d88ae418
UD
16792 * po/ja.po: Update from translation team.
16793
2f0ad8f3
UD
16794 [BZ #13144]
16795 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16796 kernel in 64-bit binaries.
16797
5f4318d1
DM
167982011-09-01 David S. Miller <davem@davemloft.net>
16799
16800 * elf/elf.h (HWCAP_SPARC_*): Move to..
16801 * sysdeps/sparc/sysdep.h: this new file and add new values.
16802 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16803 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16804 _DL_HWCAP_COUNT to 24.
16805 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16806 entries.
16807 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16808 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16809 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16811 instead of magic constants.
16812 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16813
3ba57516
DM
168142011-08-31 David S. Miller <davem@davemloft.net>
16815
16816 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16818 Reimplement to do errno handling inline.
16819 (SYSCALL_ERROR_HANDLER): New macro.
16820 (__SYSCALL_STRING): Do not do errno handling in asm.
16821 (__CLONE_SYSCALL_STRING): Delete.
16822 (__INTERNAL_SYSCALL_STRING): Delete.
16823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16824 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16825 (PSEUDO): Reimplement to do errno handling inline.
16826 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16827 (SYSCALL_ERROR_HANDLER): New macro.
16828 (__SYSCALL_STRING): Do not do errno handling in asm.
16829 (__CLONE_SYSCALL_STRING): Delete.
16830 (__INTERNAL_SYSCALL_STRING): Delete.
16831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16832 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16833 i386.
16834 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16835 (inline_syscall*): Add 'err' argument.
16836 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16837 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16838 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16839 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16840
16841 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16842 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16843
2bc17433
AS
168442011-08-30 Andreas Schwab <schwab@redhat.com>
16845
16846 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16847
fbeb5f4d
JO
168482011-08-29 Jiri Olsa <jolsa@redhat.com>
16849
16850 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16851 directive.
16852
ad69cc26
DM
168532011-08-24 David S. Miller <davem@davemloft.net>
16854
16855 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16856
39dd69df
AS
168572011-08-24 Andreas Schwab <schwab@redhat.com>
16858
16859 * elf/Makefile: Add rules to build and run unload8 test.
16860 * elf/unload8.c: New file.
16861 * elf/unload8mod1.c: New file.
16862 * elf/unload8mod1x.c: New file.
16863 * elf/unload8mod2.c: New file.
16864 * elf/unload8mod3.c: New file.
16865
16866 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16867 it wasn't used.
16868
2c0b250a
DM
168692011-08-23 David S. Miller <davem@davemloft.net>
16870
16871 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16872 subtract stack bias.
16873 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16874 %sp not %fp in calculations.
16875 (_JMPBUF_UNWINDS_ADJ): Likewise.
16876
22044b48
DM
16877 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16878 (aio_suspend): Call it to force an exception region around the
16879 AIO_MISC_WAIT() invocation.
16880
2cae4995
AS
168812011-08-23 Andreas Schwab <schwab@redhat.com>
16882
16883 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16884 backslash.
16885
873a772e
AJ
168862011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16887
16888 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16889 protection macro.
16890 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16891 and <dl-machine.h>.
16892 (Elf64_FuncDesc): Remove.
16893
25ad0df1
DM
168942011-08-22 David S. Miller <davem@davemloft.net>
16895
16896 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16897 sigaltstack check, add missing cfi directives.
16898 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16899 missing cfi directives, and sigaltstack handling.
16900
e888bcbe
AS
169012011-08-16 Andreas Schwab <schwab@redhat.com>
16902
16903 [BZ #11724]
16904 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16905 object is seen twice.
16906 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16907
16908 * elf/Makefile (distribute): Add tst-initorder2.c.
16909 (tests): Add tst-initorder2.
16910 (modules-names): Add tst-initorder2a tst-initorder2b
16911 tst-initorder2c tst-initorder2d. Add rules to build them.
16912 ($(objpfx)tst-initorder2.out): New rule.
16913 * elf/tst-initorder2.c: New file.
16914 * elf/tst-initorder2.exp: New file.
16915
87162f46
AS
169162011-08-22 Andreas Schwab <schwab@redhat.com>
16917
70538b7f
AS
16918 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16919
f55ffe58
AS
16920 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16921 dependencies back to end of function.
16922
87162f46
AS
16923 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16924 $(elfobjdir)/ld.so.
16925
91b392a4
UD
169262011-08-21 Ulrich Drepper <drepper@gmail.com>
16927
16928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16929 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16931 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16932 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16933 of __vdso_gettimeofday.
16934 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16935 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16936 attribute_hidden.
16937 (_libc_vdso_platform_setup): Remove initialization of
16938 __vdso_gettimeofday and __vdso_time.
16939
5c43483f
UD
169402011-08-20 Ulrich Drepper <drepper@gmail.com>
16941
775a77e7
UD
16942 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16943 and fgetc_unlocked.
16944 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16945 getc_unlocked.
89f447ed 16946
49c74ba9
UD
16947 * elf/dl-open.c (add_to_global): Report additions to the global scope
16948 for LD_DEBUG=scopes.
16949 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16950 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16951
5c43483f
UD
16952 [BZ #13114]
16953 * stdio-common/Makefile (tests): Add bug24.
16954 * stdio-common/bug24.c: New file.
16955
a101b025
AJ
169562011-08-19 Andreas Jaeger <aj@suse.de>
16957
16958 [BZ #13114]
16959 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16960 non-existant file when using close-on-exec mode.
16961
c88f1766
UD
169622011-08-20 Ulrich Drepper <drepper@gmail.com>
16963
0276a718
UD
16964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16965 the very first instruction.
16966
c88f1766
UD
16967 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16968 the CFI state in the end.
16969 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16970 inclusion of dl-trampoline.h.
16971 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16972
51ccffa0
AS
169732011-08-19 Andreas Schwab <schwab@redhat.com>
16974
94d7165f
AS
16975 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16976 expectations for long double.
16977
51ccffa0
AS
16978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16979 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16980
fd708658 169812011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16982
16983 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16984 artificual limit depends upon the system page size.
16985
44f0a71e
UD
169862011-08-17 Ulrich Drepper <drepper@gmail.com>
16987
16988 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16989 * resolv/Makefile: Define CFLAGS-libresolv.
16990
8de79a24
AS
169912011-08-17 Andreas Schwab <schwab@redhat.com>
16992
16993 * nss/makedb.c (compute_tables): Make variables used in nested
16994 function static.
16995
27724598
UD
169962011-08-17 Ulrich Drepper <drepper@gmail.com>
16997
c5305d88
UD
16998 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16999 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17000 if buffer was too small.
17001
27724598
UD
17002 * elf/pldd.c (main): Attach to all threads in the process.
17003 Rewrite /proc handling to use *at functions.
17004
076fe015
UD
170052011-08-16 Ulrich Drepper <drepper@gmail.com>
17006
174baab3
UD
17007 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17008 specifies first scope to show.
17009 (dl_open_worker): Update callers. Move printing scope of new
17010 object to before the relocation.
44f0a71e 17011 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17012 * sysdeps/generic/ldsodefs.h: Update declaration.
17013
076fe015
UD
17014 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17015 string for the scope number.
17016
a60df2c3
UD
170172011-08-14 Ulrich Drepper <drepper@gmail.com>
17018
17019 * nscd/servicescache.c (cache_addserv): Make sure written is always
17020 initialized.
17021
5e4287d1
RM
170222011-08-14 Roland McGrath <roland@hack.frob.com>
17023
85ae0589
RM
17024 * sysdeps/i386/i486/bits/atomic.h
17025 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17026 statement expression, so as to suppress "set but not used" warning.
17027 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17028
69f63097
RM
17029 * string/strncat.c (STRNCAT): Use prototype definition.
17030
675456ef
RM
17031 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17032 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17033 -Iprograms here.
17034 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17035 (localedef-modules): Add localedef.
17036 (locale-modules): Add locale.
17037
5e4287d1
RM
17038 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17039 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17040 to avoid a warning.
17041
9c96ff23
DM
170422011-08-14 David S. Miller <davem@davemloft.net>
17043
17044 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17045 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17046
f9ddf089
UD
170472011-08-13 Ulrich Drepper <drepper@gmail.com>
17048
44f0a71e 17049 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17050 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17051 * elf/rtld.c (dl_main): Set l_name of vDSO.
17052 Call _dl_show_scope when DL_DEBUG_SCOPES.
17053 (process_dl_debug): Recognize scopes flag and also set it for all.
17054 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17055 Declare _dl_show_scope.
17056
1dc27704
UD
17057 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17058 (do_dlopen): Pass caller_dlopen to dl_open.
17059 (__libc_dlopen_mode): Initialize caller_dlopen.
17060
f9ddf089
UD
17061 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17062 of libc. Make tolower call locale-independent. Optimize a bit by
17063 using isdigit instead of isalnum.
17064 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17065
9ac533d3
UD
170662011-08-12 Ulrich Drepper <drepper@gmail.com>
17067
17068 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17069 was a dependency or dynamically loaded.
17070
89edf2e9
UD
170712011-08-11 Ulrich Drepper <drepper@gmail.com>
17072
8e999d29
UD
17073 * intl/l10nflist.c: Allow architecture-specific pop function.
17074 * sysdeps/x86_64/l10nflist.c: New file.
17075
89edf2e9
UD
17076 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17077 classification.
17078
14d96785
AS
170792011-08-10 Andreas Schwab <schwab@redhat.com>
17080
17081 * include/dirent.h: Add libc_hidden_proto for scandirat and
17082 scandirat64. Don't declare __scandirat64.
17083 * dirent/scandirat.c: Add libc_hidden_def.
17084 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17085 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17086
6761ac04
DM
170872011-08-10 David S. Miller <davem@davemloft.net>
17088
17089 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17090 enum.
17091 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17092 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17093 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17094
c55fbd1e
UD
170952011-08-09 Ulrich Drepper <drepper@gmail.com>
17096
17097 * Versions.def [libc]: Add GLIBC_2.15.
17098 * dirent/Makefile (routines): Add scandirat and scandirat64.
17099 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17100 GLIBC_2.15.
17101 * dirent/dirent.h: Declare scandirat and scandirat64.
17102 * dirent/scandirat.c: New file.
17103 * dirent/scandirat64.c: New file.
17104 * sysdeps/wordsize-64/scandirat.c: New file.
17105 * sysdeps/wordsize-64/scandirat64.c: New file.
17106 * dirent/opendir.c: Define opendirat.
17107 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17108 using scandirat.
17109 * dirent/scandir64.c: Adjust for scandir.c change.
17110 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17111 __scandirat64, and __scandir_cancel_handler.
17112 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17113 additional parameter and use openat instead of open (outside of ld.so).
17114 Add new __opendir as wrapper around __opendirat.
17115 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17116 here without requiring old scandirat implementation.
17117
879165f2
UD
171182011-08-08 Ulrich Drepper <drepper@gmail.com>
17119
17120 * dirent/scandir.c (cancel_handler): Renamed to
17121 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17122 defined. Adjust users.
17123 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17125
cb7e923b
UD
171262011-08-04 Ulrich Drepper <drepper@gmail.com>
17127
16292edd
UD
17128 * string/test-string.h (IMPL): Use __STRING to expand name and then
17129 stringify it.
17130
cb7e923b
UD
17131 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17132 of cleanups.
17133
cff82933
LD
171342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17135
17136 * string/Makefile: Update.
17137 (strop-tests): Append strncat.
17138 * string/test-wcscmp.c: New file.
17139 New comprehensive test for wcscmp.
17140 * string/test-strcmp.c: Update.
17141 (WIDE): New define.
17142
9be9bfcc
AS
171432011-07-22 Andreas Schwab <schwab@redhat.com>
17144
17145 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17146 line.
17147
2e96f1c7
AS
171482011-07-26 Andreas Schwab <schwab@redhat.com>
17149
17150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17151 encoding to ACE if AI_IDN.
17152
85188888
JJ
171532011-08-01 Jakub Jelinek <jakub@redhat.com>
17154
17155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17156 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17157
5fa16e9b
LD
171582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17159
17160 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17161 Fix overflow bug in strncat.
17162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17163
17164 * string/test-strncat.c: Update.
17165 Add new tests for checking overflow bugs.
17166
171672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17168
17169 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17170 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17171 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17172 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17173 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17174 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17175 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17176 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17177 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17178
17179 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17180 (USE_AS_STRCAT): Define.
17181 Add strcat and strncat support.
17182 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17183
8c1a459f
AS
171842011-07-25 Andreas Schwab <schwab@redhat.com>
17185
17186 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17187 __n bigger than INT_MAX+1.
17188 (__strncmp_g): Likewise.
17189
bba33c28
UD
171902011-07-23 Ulrich Drepper <drepper@gmail.com>
17191
798be72d
UD
17192 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17193 * libio/stido.h: Likewise.
17194
8accd4dc
UD
17195 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17196 (AF_NFC): Define.
17197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17198 (AF_NFC): Define.
17199
cbff0d96
UD
17200 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17201 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17202 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17203 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17205
9191c04a
UD
17206 [BZ #13021]
17207 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17208 installed.
17209
bba33c28
UD
17210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17211 typo.
17212 (_dl_x86_64_save_sse): Likewise.
17213
90f139dd
UD
172142011-07-22 Ulrich Drepper <drepper@gmail.com>
17215
1aae088a
UD
17216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17217 OSXSAVE.
17218 (_dl_x86_64_save_sse): Likewise.
17219
8e2045f5
UD
17220 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17221
90f139dd
UD
17222 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17223
1d002f25
AS
172242011-07-21 Andreas Schwab <schwab@redhat.com>
17225
17226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17227 change.
17228 (_dl_x86_64_save_sse): Use correct AVX check.
17229
21137f89
UD
172302011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17231
17232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17233 bug in strncpy/strncat.
17234 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17235
a65c0b7a
UD
172362011-07-21 Ulrich Drepper <drepper@gmail.com>
17237
17238 * string/tester.c (test_strcat): Add tests for different alignments
17239 of source and destination.
17240 (test_strncat): Likewise.
17241
6986b98a
UD
172422011-07-20 Ulrich Drepper <drepper@gmail.com>
17243
90bb2039
UD
17244 [BZ #12852]
17245 * posix/glob.c (glob): Check passed in values before using them in
17246 expressions to avoid some overflows.
17247 (glob_in_dir): Likewise.
17248
5644ef54
UD
17249 [BZ #13007]
17250 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17251 check for AVX enablement so that we don't crash with old kernels and
17252 new hardware.
17253 * elf/tst-audit4.c: Add same checks here.
17254 * elf/tst-audit6.c: Likewise.
17255
17256 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17257
bfc9dc9b
AS
172582011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17259
17260 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17261
702e64bb
UD
172622011-07-20 Ulrich Drepper <drepper@gmail.com>
17263
17264 * po/cs.po: Update from translation team.
17265 * po/bg.po: Likewise.
17266
295e904f
MP
172672011-07-12 Marek Polacek <mpolacek@redhat.com>
17268
17269 * misc/sys/cdefs.h: Add support for const attribute.
17270 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17271 to gnu_dev_{major,minor,makedev} functions.
17272
3ff94596
MP
172732011-07-20 Marek Polacek <mpolacek@redhat.com>
17274
17275 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17276
28b59fca
AS
172772011-07-20 Andreas Schwab <schwab@redhat.com>
17278
17279 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17280 strlen results.
17281
19df733e
AK
172822011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17283
17284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17285 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17286 register in order to avoid conflicts with the soft frame pointer
17287 being held in r11 when necessary.
17288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17289 (INTERNAL_VSYSCALL_NCS): Likewise.
17290
c8835729
MP
172912011-07-14 Marek Polacek <mpolacek@redhat.com>
17292
17293 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17294 * elf/dl-fini.c (_dl_fini): Adjust caller.
17295 * elf/dl-close.c (_dl_close_worker): Likewise.
17296 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17297
b902330c
MP
172982011-07-15 Marek Polacek <mpolacek@redhat.com>
17299
8991e135
MP
17300 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17301 "aux_cache->nlibs < 0".
17302
b902330c
MP
17303 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17304 in the reload-count case.
17305
99710781
LD
173062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17307
17308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17309 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17310 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17311 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17312 * sysdeps/x86_64/multiarch/strcat.S: New file.
17313 * sysdeps/x86_64/multiarch/strncat.S: New file.
17314 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17315 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17316 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17317 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17319 (USE_AS_STRCAT): Define.
17320 Add strcat and strncat support.
17321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17323 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17324 * string/strncat.c: Update.
17325 (USE_AS_STRNCAT): Define.
17326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17327 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17328 and i7.
17329 * sysdeps/x86_64/multiarch/init-arch.h
17330 (bit_Prefer_PMINUB_for_stringop): New.
17331 (index_Prefer_PMINUB_for_stringop): Likewise.
17332 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17333 bit_Prefer_PMINUB_for_stringop.
17334
7dc6bd90
UD
173352011-07-19 Ulrich Drepper <drepper@gmail.com>
17336
17337 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17338 buffer64.
17339 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17340 of casting of buffer.
17341 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17342 buffer32 and buffer64.
17343 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17344 writes instead of casting of buffer.
17345 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17346 buffer32.
17347 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17348 casting of buffer.
17349
e0e72284
AS
173502011-07-19 Andreas Schwab <schwab@redhat.com>
17351
17352 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17353
feb1eb0b
UD
173542011-07-19 Ulrich Drepper <drepper@gmail.com>
17355
17356 * nscd/nscd.c (termination_handler): Don't do anything for a database
17357 if it has not yet been initialized.
17358
298711ff
UD
173592011-07-18 Ulrich Drepper <drepper@gmail.com>
17360
17361 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17362
173632011-07-15 Marek Polacek <mpolacek@redhat.com>
17364
17365 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17366
f9d68389
UD
173672011-07-18 Ulrich Drepper <drepper@gmail.com>
17368
17369 * po/nl.po: Update from translation team.
17370 * po/sv.po: Likewise.
17371
db290cf5
RM
173722011-07-16 Roland McGrath <roland@hack.frob.com>
17373
17374 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17375 now disallowed by GCC.
5c550700 17376
fd5e21c7
RM
17377 * configure.in (use-default-link): Default to yes if a test -shared
17378 link meets our qualifications.
17379 * configure: Regenerated.
17380
5c550700
RM
17381 * config.make.in (output-format): New variable.
17382 * configure.in: Check for ld --print-output-format support.
17383 * configure: Regenerated.
17384 * Makerules ($(common-objpfx)format.lds)
17385 [$(output-format) != unknown]: Just use $(output-format),
17386 instead of the linker-script munging.
17387
9fa2c032
RM
173882011-07-14 Roland McGrath <roland@hack.frob.com>
17389
a6928d51
RM
17390 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17391 of $(common-objpfx)shlib.lds.
17392 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17393
661607b3
RM
17394 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17395 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17396
9fa2c032
RM
17397 * configure.in (-z relro check): Adjust test code to add a large
17398 writable data section after it.
17399 * configure: Regenerated.
17400
defe9061
RM
174012011-07-11 Roland McGrath <roland@hack.frob.com>
17402
17403 * configure.in (-z relro check): Fix test code to make the variable
17404 truly const.
17405 * configure: Regenerated.
17406
319b9ad4
UD
174072011-07-11 Ulrich Drepper <drepper@gmail.com>
17408
17409 * nscd/nscd.h (struct traced_file): Define.
17410 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17411 elements. Add traced_files.
17412 (inotify_fd): Declare.
17413 (register_traced_file): Declare.
17414 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17415 (inotify_fd): Export.
17416 (resolv_conf_descr): Remove.
17417 (nscd_init): Move inotify descriptor creation to main.
17418 Don't register files for notification here.
17419 (register_traced_file): New function.
17420 (invalidate_cache): Don't use reset_res to determine whether to call
17421 res_init, go through the list of registered files.
17422 (main_loop_poll): The inotify descriptors are now stored in the
17423 structures for the traced files.
17424 (main_loop_epoll): Likewise
17425 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17426 to __nss_disable_nscd.
17427 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17428 for a database anymore. Check the records for all the registered
17429 files instead.
17430 * nss/Makefile (libnss_files-routines): Add files-init.
17431 (libnss_db-routines): Add db-init.
17432 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17433 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17434 * nss/nss_db/db-init.c: New file.
17435 * nss/nss_files/files-init.c: New file.
17436 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17437 __nss_lookup_function.
17438 (__nss_lookup_function): Call nss_load_library.
17439 (nss_load_all_libraries): New function.
17440 (__nss_disable_nscd): Take parameter with callback function for files
17441 to register. Set is_nscd. Load all the DSOs for the NSS modules
17442 used for the cached services.
17443 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17444 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17445 options for features to all the files in nscd.
17446
17447 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17448
23bee3e8
RM
174492011-07-10 Roland McGrath <roland@hack.frob.com>
17450
17451 * csu/elf-init.c (__libc_csu_init): Comment typo.
17452
46a5b7f0
UD
174532011-07-09 Ulrich Drepper <drepper@gmail.com>
17454
17455 * po/pl.po: Update from translation team.
17456 * po/ja.po: Likewise.
17457 * po/ru.po: Likewise.
17458 * po/ko.po: Likewise.
17459 * po/fr.po: Likewise.
17460
d30cf5bb
RM
174612011-07-09 Roland McGrath <roland@hack.frob.com>
17462
113ddea4
RM
17463 * configure.in (.ctors/.dtors header and trailer check):
17464 Use an empirical test on a built program.
17465 * configure: Regenerated.
17466
574920b4
RM
17467 * configure.in (-z relro check): Use an empirical test on a built DSO.
17468 Detect, but do not require, on ia64.
17469 * configure: Regenerated.
17470
d30cf5bb
RM
17471 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17472 Update tests that use readelf to use $READELF instead.
17473 * configure: Regenerated.
17474
8538fdb3
UD
174752011-07-08 Ulrich Drepper <drepper@gmail.com>
17476
17477 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17478 if the result is not used.
17479
04d08991
AJ
174802011-07-05 Andreas Jaeger <aj@suse.de>
17481
17482 [BZ#9696]
17483 * stdlib/tst-strtod.c: Add testcase.
17484
de283087
AD
174852011-07-07 Ulrich Drepper <drepper@gmail.com>
17486
4e5f31c8 17487 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17488 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17489 The latter has a higher limit. Take additional parameter to pass to
17490 the new function.
17491 (__pathconf): Pass file to __statfs_link_max.
17492 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17493 __statfs_link_max.
17494 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17495 __statfs_link_max.
17496
de283087
AD
17497 [BZ #12868]
17498 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17499 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17500 Handle Lustre.
17501 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17502 (__statfs_filesize_max): Likewise.
17503 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17504
c75fa153
AJ
175052011-07-05 Andreas Jaeger <aj@suse.de>
17506
17507 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17508
1a544854
UD
175092011-07-06 Marek Polacek <mpolacek@redhat.com>
17510
17511 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17512 `status' variable.
17513 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17514 Likewise.
17515
6f0eec67
UD
175162011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17517
17518 * Makefile (strop-tests): Add strncat.
17519 * string/test-strncat.c: New file.
17520
aae30307
UD
175212011-06-30 Marek Polacek <mpolacek@redhat.com>
17522
17523 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17524
c0cfb5eb
UD
175252011-06-21 Andreas Jaeger <aj@suse.de>
17526
17527 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17528 Copy rule from iconvdata/Makefile.
17529
01636b21
UD
175302011-07-06 Ulrich Drepper <drepper@gmail.com>
17531
17532 [BZ #12922]
17533 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17534 but no long options are defined, just return 'W'.
17535
9895c8bc
UD
175362011-06-22 Marek Polacek <mpolacek@redhat.com>
17537
17538 [BZ #9696]
17539 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17540
5d4cf042
UD
175412011-07-06 Ulrich Drepper <drepper@gmail.com>
17542
17543 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17544 netgroups to read.
960e5535 17545 (innetgr): Likewise.
5d4cf042 17546
751eb97e
RM
175472011-07-05 Roland McGrath <roland@hack.frob.com>
17548
17549 * config.make.in (install_root): Default to $(DESTDIR).
17550
f15f1e45
UD
175512011-07-05 Ulrich Drepper <drepper@gmail.com>
17552
17553 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17554
4e34ac6a
RM
175552011-07-02 Roland McGrath <roland@hack.frob.com>
17556
5e9b6af4
RM
17557 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17558
84f9ea0f
RM
17559 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17560 containing directory rather than embedding absolute directory names.
17561
ea5ee9f7
RM
17562 * scripts/check-local-headers.sh: Rewritten using awk.
17563 Match by word, not by line. Print error messages for matches.
17564 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17565
1b74661a
RM
17566 * Makerules [shlib-lds-flags empty]:
17567 ($(common-objpfx)libc_pic.opts): New target.
17568 ($(common-objpfx)libc_pic.os.clean): New target.
17569 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17570
17571 * config.make.in (OBJCOPY): New variable.
17572 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17573 * configure: Regenerated.
17574
f781ef40
RM
17575 * config.make.in (use-default-link): New variable.
17576 * configure.in (use_default_link): Grok --with-default-link to set it.
17577 * configure: Regenerated.
17578 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17579 (shlib-lds, shlib-lds-flags): Define to empty.
17580
2d4fa81e
RM
17581 * Makerules (shlib-lds): New variable.
17582 (shlib-lds-flags): New variable.
17583 (build-shlib, build-moduile, build-module-asneeded): Use it.
17584 ($(common-objpfx)libc.so): Use $(shlib-lds).
17585 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17586 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17587
31fffa6b
RM
17588 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17589 DT_FLAGS/DT_FLAGS_1 with zero flags.
17590
4e34ac6a
RM
17591 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17592 linker script munging.
17593
fcfc776b
UD
175942011-07-02 Ulrich Drepper <drepper@gmail.com>
17595
17596 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17597 as 128-bit value.
17598 * crypt/sha512.c (sha512_process_block): Perform total addition using
17599 128-bit if possible.
17600 (__sha512_finish_ctx): Likewise.
17601 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17602 as 64-bit value.
17603 * crypt/sha256.c (SWAP64): Define.
17604 (sha256_process_block): Perform total addition using 64-bit if
17605 possible.
17606 (__sha256_finish_ctx): Likewise.
17607
99231d9a
UD
176082011-07-01 Ulrich Drepper <drepper@gmail.com>
17609
17610 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17611 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17612 * nscd/hstcache.c (cache_addhst): Likewise.
17613 * nscd/grpcache.c (cache_addgr): Likewise.
17614 * nscd/aicache.c (addhstaiX): Likewise
17615 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17616
445b4a53
TK
176172011-07-01 Thorsten Kukuk <kukuk@suse.de>
17618
17619 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17621 * nscd/hstcache.c (cache_addhst): Likewise.
17622 * nscd/grpcache.c (cache_addgr): Likewise.
17623 * nscd/aicache.c (addhstaiX): Likewise
17624
6d4d8e8e
AS
176252011-07-01 Andreas Schwab <schwab@redhat.com>
17626
17627 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17628 domain only when needed.
17629
89f654c5
AS
176302011-06-30 Andreas Schwab <schwab@redhat.com>
17631
17632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17633 is always restored.
17634
cf3b23ff
UD
176352011-06-29 Ulrich Drepper <drepper@gmail.com>
17636
17637 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17638 are re-adding the entry.
17639 * nscd/servicescache.c (cache_addserv): Likewise.
17640
751626f9
AJ
176412011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17642
17643 * sysdeps/generic/dl-irel.h: fix protection against multiple
17644 inclusions.
17645 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17646
9113ea1f
UD
176472011-06-28 Ulrich Drepper <drepper@gmail.com>
17648
5c0b8d90
UD
17649 [BZ #12935]
17650 * malloc/memusage.sh: Fix quoting in message.
17651 * debug/xtrace.sh: Likewise.
17652
9113ea1f
UD
17653 * configure.in: Remove support for --experimental-malloc option, make
17654 it the default.
17655 * config.make.in: Likewise.
17656 * malloc/Makefile: Likewise.
17657
a4172181
AS
176582011-06-27 Andreas Schwab <schwab@redhat.com>
17659
17660 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17661 two-byte characters.
17662
78a7eee7
RM
176632011-06-27 Roland McGrath <roland@hack.frob.com>
17664
62bede13
RM
17665 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17666 AC_CACHE_CHECK invocation.
17667 * configure: Regenerated.
17668
78a7eee7
RM
17669 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17670
5ce33a62
UD
176712011-06-27 Ulrich Drepper <drepper@gmail.com>
17672
034807a9
UD
17673 [BZ #12350]
17674 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17675 bit from old_res_options.
17676
4902da17
UD
17677 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17678
5ce33a62
UD
17679 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17680 value type for setfct.
17681
c2344f56
L
176822011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17683
17684 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17685 __gettimeofday instead of gettimeofday.
17686
68468076
UD
176872011-06-26 Ulrich Drepper <drepper@gmail.com>
17688
17689 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17690
acb0d739
L
176912011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17692
17693 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17694
17695 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17696 info.
17697
8912479f
L
176982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17699
17700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17701 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17702 strcpy-sse2-unaligned strncpy-sse2-unaligned
17703 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17704 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17705 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17706 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17707 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17708 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17710 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17711 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17712 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17713 (STRCPY): Support SSE2 and SSSE3 versions.
17714
d5495a11
UD
177152011-06-24 Ulrich Drepper <drepper@gmail.com>
17716
17717 [BZ #12874]
17718 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17719 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17720 kernels which artificially limit size of requests.
17721
0b1cbaae
L
177222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17723
17724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17725 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17726 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17727 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17728 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17729 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17730 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17731 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17732 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17733 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17734 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17735 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17736 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17737 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17738 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17740 Enable unaligned load optimization for Intel Core i3, i5 and i7
17741 processors.
17742 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17743 Define.
17744 (index_Fast_Unaligned_Load): Define.
17745 (HAS_FAST_UNALIGNED_LOAD): Define.
17746
07f494a0
MP
177472011-06-23 Marek Polacek <mpolacek@redhat.com>
17748
17749 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17750
fa3fc0fe
UD
177512011-06-22 Ulrich Drepper <drepper@gmail.com>
17752
17753 [BZ #12907]
17754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17755 until it is clear that the information is realy needed.
17756 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17757
e12df166
AS
177582011-06-22 Andreas Schwab <schwab@redhat.com>
17759
17760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17761
852eb34d
UD
177622011-06-22 Ulrich Drepper <drepper@gmail.com>
17763
84e2a551
UD
17764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17765 /sys/devices/system/cpu/online if it is usable.
17766
852eb34d
UD
17767 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17768 reading the information from the /proc filesystem to once a second.
17769
6e502e19
UD
177702011-06-21 Andreas Jaeger <aj@suse.de>
17771
17772 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17773 NULL after inclusion of kernel headers.
17774
75d39ff2
UD
177752011-06-21 Ulrich Drepper <drepper@gmail.com>
17776
51f9aa6a
UD
17777 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17778 calls to internal_setent.
17779
c0244a9d
UD
17780 [BZ #12885]
17781 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17782 addresses using gethostbyname4_r ignore IPv4 addresses.
17783
c5e3c2ae
UD
17784 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17785 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17786
75d39ff2
UD
17787 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17788
42675c6f
DM
177892011-06-20 David S. Miller <davem@davemloft.net>
17790
17791 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17792 inclusions.
17793 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17794
17795 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17796 (elf_irel): Use it.
17797 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17798 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17799 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17800 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17801 * sysdeps/x86_64/dl-irel.h: Likewise.
17802
17803 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17804 * elf/dl-sym.c: Likewise.
17805
57912a71
UD
178062011-06-15 Ulrich Drepper <drepper@gmail.com>
17807
17808 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17809 need to dereference resplen2.
17810
ee22793d
AS
178112011-06-14 Andreas Schwab <schwab@redhat.com>
17812
17813 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17814
a9e836b0
UD
178152011-06-15 Ulrich Drepper <drepper@gmail.com>
17816
77fb9117
UD
17817 * Makeconfig: Define vardbdir and inst_vardbdir.
17818 * nss/Makefile: Add rules to install db-Makefile.
17819
40c1b22c
UD
17820 * nss/nss_db/db-XXX.c: Cleanup.
17821
9f2da732
UD
17822 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17823 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17824 GLIBC_PRIVATE.
17825 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17826 * nss/makedb.c: Implement -g option to specify that value strings
17827 are generated and should not be added to table iterated over for
17828 get*ent calls.
17829 * nss/nss_db/db-initgroups.c: New file.
17830
82e9a1f7
UD
17831 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17832 interface.
17833
c41af17e
UD
17834 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17835 (internal_getgrouplist): Adjust to name change.
17836 Update use_initgroups_entry if this is not the first call.
17837 * nss/databases.def: Add initgroups entry.
17838
a9e836b0
UD
17839 * nss/makedb.c (compute_tables): Check result of multiple hash table
17840 sizes to minimize maximum chain length.
17841
2666d441
UD
178422011-06-14 Ulrich Drepper <drepper@gmail.com>
17843
17844 * Versions.def: Add entry for libnss_db.
17845 * shlib-versions: Likewise.
17846 * nss/Makefile: Add rules to build libnss_db.
17847 * nss/Versions: Add libnss_db information. Organize libnss_files
17848 entries better.
17849 * nss/db-Makefile: Add gshadow support. Change rules for the new
17850 makedb progra. Some minor improvements to generate smaller files.
17851 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17852 here from...
17853 * nss/makedb.c: ...here.
17854 Improve database format to be smaller and require less memory at
17855 runtime.
17856 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17857 db anymore.
17858 * nss/nss_db/db-netgrp.c: Likewise.
17859 * nss/nss_db/db-open.c: Likewise.
17860 * nss/nss_files/flies-XXX.x: Adjust comments.
17861 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17862 * nss/nss_files/files-grp.c: Likewise.
17863 * nss/nss_files/files-hosts.c: Likewise.
17864 * nss/nss_files/files-network.c: Likewise.
17865 * nss/nss_files/files-proto.c: Likewise.
17866 * nss/nss_files/files-pwd.c: Likewise.
17867 * nss/nss_files/files-rpc.c: Likewise.
17868 * nss/nss_files/files-service.c: Likewise.
17869 * nss/nss_files/files-sgrp.c: Likewise.
17870 * nss/nss_files/files-spwd.c: Likewise.
17871 * nss/nss_db/db-alias.c: Removed.
17872 * nss/nss_db/dummy-db.h: Removed.
17873
9ee76b5a
UD
178742011-06-02 Ulrich Drepper <drepper@gmail.com>
17875
17876 * nss/makedb.c: Rewritten to not use database library.
17877 * nss/Makefile: Update to build new makedb program.
17878
c71ca1f8
AJ
178792011-06-14 Andreas Jaeger <aj@suse.de>
17880
17881 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17882 memset declaration.
17883
3154bfb8
UD
178842011-06-10 Andreas Schwab <schwab@redhat.com>
17885
17886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17887 tmpbuf.
17888
b350afab
RM
178892011-06-10 Roland McGrath <roland@hack.frob.com>
17890
decd4e50
RM
17891 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17892 * elf/Makefile ($(objpfx)ld.so): Likewise.
17893
5615eaf2
RM
17894 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17895 Don't list ld.so twice in dependencies.
17896
17897 * posix/bug-regex31.c: Include <stdlib.h>.
17898
17899 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17900
17901 * nis/nss_compat/compat-spwd.c
17902 (getspent_next_nss_netgr): Remove unused variable.
17903 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17904
17905 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17906 nonmembers" output to use the right array.
17907
17908 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17909
17910 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17911
17912 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17913 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17914 * catgets/gencat.c (read_input_file): Likewise.
17915 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17916
17917 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17918 variable definition inside #if's controlling its use.
17919
17920 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17921
17922 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17923
17924 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17925
17926 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17927 unreachable code.
17928
17929 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17930
b68e08db
RM
17931 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17932 * configure: Regenerated.
17933
b350afab
RM
17934 * Makerules: Revert last change.
17935 * elf/Makefile: Likewise.
17936
28368601
RM
179372011-06-09 Roland McGrath <roland@hack.frob.com>
17938
17939 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17940 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17941 (reloc-link): Likewise.
17942
11988f8f
UD
179432011-06-09 Ulrich Drepper <drepper@gmail.com>
17944
17945 * elf/Makefile: Add rules to build pldd.
17946 * elf/pldd.c: New file.
17947 * elf/pldd-xx.c: New file.
17948
e80fab37
UD
179492011-06-07 Ulrich Drepper <drepper@gmail.com>
17950
17951 * version.h: Update for 2.15 development version.
17952
9b849836
DM
179532011-06-07 David S. Miller <davem@davemloft.net>
17954
17955 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17956 ifuncs.
17957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17958 elf_machine_lazy_rel): Likewise.
17959 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17961 elf_machine_lazy_rel): Likewise.
17962 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17963 dl_hwcap via passed in argument.
17964 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17965 Likewise.
17966
5a31b283
AK
179672011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17968
17969 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17970
069e52f8
RM
179712011-06-06 Roland McGrath <roland@hack.frob.com>
17972
17973 [BZ #12849]
17974 * manual/fdl-1.1.texi: New file, verbatim from:
17975 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17976 * manual/lgpl-2.1.texi: New file, verbatim from:
17977 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17978 * manual/Makefile (licenses): New variable, list those new file names.
17979 (texis): Use it.
17980 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17981
17982 * manual/fdl.texi: File removed.
17983 * manual/lesser.texi: File removed.
17984 * manual/libc.texinfo (Copying, Documentation License):
17985 Use new @include file names, put @appendix directive before @include.
17986
f16846a5
JJ
179872011-06-04 Jakub Jelinek <jakub@redhat.com>
17988
17989 [BZ #12841]
17990 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17991 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17992 (mq_open): Add __NTH.
17993
3d29045b
L
179942011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17995
17996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17997 Assume Intel Core i3/i5/i7 processor if AVX is available.
17998
8c297311
UD
179992011-05-31 Ulrich Drepper <drepper@gmail.com>
18000
18001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18002 typo.
18003
c8fc0c91
UD
180042011-05-31 Andreas Schwab <schwab@redhat.com>
18005
18006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18007 memory. Use alloca_account. Fix memory leak when retrying.
18008
5b27a807
UD
180092011-05-31 Ulrich Drepper <drepper@gmail.com>
18010
356f8bc6
UD
18011 * version.h (RELEASE): Bump for 2.14 release.
18012 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18013
5b27a807
UD
18014 * config.make.in (RANLIB): Remove entry.
18015
01f16ab0
UD
180162011-05-30 Ulrich Drepper <drepper@gmail.com>
18017
41fce8bd
UD
18018 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18019 (libc.pot): Work around missing support for .ksh extension in xgettext.
18020
4769ae77
UD
18021 [BZ #12684]
18022 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18023 if both request failed.
18024 (send_dg): In case of server errors clear resplen or *resplen2.
18025
6b1e7d19
UD
18026 [BZ #12454]
18027 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18028 when there are multiple maps.
18029 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18030 (_dl_fini): Remove test here.
18031
01f16ab0
UD
18032 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18033
b1ebd700
UD
180342011-05-29 Ulrich Drepper <drepper@gmail.com>
18035
7ae22829
UD
18036 [BZ #12350]
18037 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18038 bit from old_res_options.
18039 (gaih_inet): Likewise.
18040
553149f6 18041 [BZ #11099]
18a84741 18042 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18043 as signed.
18044
652ffab1
UD
18045 * resolv/res_init.c (res_setoptions): Make the code more compact.
18046
16985fd0
UD
18047 [BZ #11558]
18048 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18049 set RES_USEVC.
18050
0464f746
UD
18051 [BZ #11634]
18052 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18053
7d17596c
UD
18054 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18055
cf6bbbd7
UD
18056 [BZ #11781]
18057 * malloc/malloc.h: Declare malloc hook variables as volatile.
18058
13f1ab36
UD
18059 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18060 in last patch.
18061
b1ebd700
UD
18062 [BZ #11799]
18063 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18064 raise in the comment.
80e2212d
UD
18065 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18066 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18067 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18068
ce67228d
UD
180692011-05-28 Ulrich Drepper <drepper@gmail.com>
18070
8887a920
UD
18071 [BZ #12811]
18072 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18073 grow the buffers more if it already has to be sufficient.
18074 (build_wcs_upper_buffer): Likewise.
18075 * posix/regexec.c (check_matching): Likewise.
18076 (clean_state_log_if_needed): Likewise.
18077 (extend_buffers): Don't enlarge buffers beyond size of the input
18078 buffer.
18079 Patches mostly by Emil Wojak <emil@wojak.eu>.
18080 * posix/bug-regex32.c: New file.
18081 * posix/Makefile (tests): Add bug-regex32.
18082
4f031072
UD
18083 * locale/findlocale.c (_nl_find_locale): Return right away if
18084 _nl_explode_name failed.
18085 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18086
d0478f0c
UD
18087 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18088
de81b246
UD
18089 * debug/xtrace.sh: Unify messages.
18090 * malloc/memusage.sh: Likewise.
18091
c738465a
UD
18092 [BZ #12813]
18093 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18094 time symbol from vDSO. Substitute with vsyscall if not available.
18095 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18096 __vdso_time.
18097
f1f929d7
UD
18098 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18099 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18100 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18101 Add sendmmsg and internal_sendmmsg.
18102 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18103 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18104 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18105
ce67228d
UD
18106 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18107 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18108 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18109
e57420c6
UD
181102011-05-27 Ulrich Drepper <drepper@gmail.com>
18111
a8509ca5
UD
18112 [BZ #12813]
18113 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18114 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18115 available.
18116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18117 __vdso_getcpu.
18118
e57420c6
UD
18119 [BZ #12814]
18120 * iconvdata/Makefile (tests): Add bug-iconv9.
18121 * iconvdata/bug-iconv9.c: New file.
18122
4d07db15
AS
181232011-05-27 Andreas Schwab <schwab@redhat.com>
18124
18125 [BZ #12814]
18126 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18127
ea486f69
JJ
181282011-05-25 Jakub Jelinek <jakub@redhat.com>
18129
18130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18131 (struct user_regs_struct): Change intcs field back to cs.
18132
6f038433
UD
181332011-05-25 Ulrich Drepper <drepper@gmail.com>
18134
18135 * po/ja.po: Update from translation team.
18136
67f86a25
UD
181372011-05-23 Ulrich Drepper <drepper@gmail.com>
18138
18139 [BZ #12795]
18140 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18141 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18142
def7fbd6
AS
181432011-05-20 Andreas Schwab <schwab@redhat.com>
18144
18145 * stdlib/longlong.h: Update from GCC.
18146
f50ef8f1
AS
181472011-05-23 Andreas Schwab <schwab@redhat.com>
18148
18149 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18150 parameter name.
18151 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18152 Add parameter name.
18153 (__sysconf): Pass it down.
18154
de7ce8f1
UD
181552011-05-22 Ulrich Drepper <drepper@gmail.com>
18156
f2962a71
UD
18157 [BZ #12671]
18158 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18159 some situations.
18160 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18161 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18162 add in in __libc_use_alloca calls. Adjust callers.
18163 (glob): Use malloc in some situations.
18164
de7ce8f1
UD
18165 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18166 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18167 pltexit.
18168
aec84f53
UD
181692011-05-21 Ulrich Drepper <drepper@gmail.com>
18170
05bb4a68
UD
18171 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18172 and CLOCK_BOOTTIME_ALARM.
18173
7ea72f99
UD
18174 [BZ #12782]
18175 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18176 is returned.
18177
7e4afad5
UD
18178 * string/_strerror.c (__strerror_r): Print negative errors as signed
18179 numbers.
18180
8e211fec
UD
18181 [BZ #12777]
18182 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18183 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18184 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18185
f7d82dc9
UD
18186 * configure.in: Fix typo in redirection and correct removal of test
18187 files in two cases.
18188
cc9e536d
UD
18189 [BZ #12788]
18190 * locale/setlocale.c (new_composite_name): Fix test to check for
18191 identical name of all categories.
18192
aec84f53
UD
18193 [BZ #12792]
18194 * libio/filedoalloc.c (local_isatty): New function.
18195 (_IO_file_doallocate): Use local_isatty.
18196 * stdio-common/perror.c (perror): In case a new stream is used
18197 forward the stream error.
18198 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18199 error flag.
18200
78e64fdc
RT
182012011-05-20 Ulrich Drepper <drepper@gmail.com>
18202
34a9094f
UD
18203 [BZ #11869]
18204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18205 alloca.
18206 * include/alloca.h (extend_alloca_account): Define.
18207
78e64fdc
RT
18208 [BZ #11857]
18209 * posix/regex.h: Fix comments with documentation of user-accessible
18210 fields after compilation and describe correct free'ing of pattern
18211 after re_compile_pattern.
18212 Patch by Reuben Thomas <rrt@sc3d.org>.
18213
457bddfc
RA
182142011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18215
18216 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18217 and -mno-altivec to prevent the compiler from using Altivec and/or
18218 VSX instructions when the corresponding registers are not available.
18219
a4527b51
AS
182202011-05-19 Andreas Schwab <schwab@redhat.com>
18221
18222 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18223
ed690b2f
UD
182242011-05-19 Ulrich Drepper <drepper@gmail.com>
18225
18226 * libio/freopen.c (freopen): Use __dup2, not dup2.
18227 * libio/freopen64.c (freopen64): Likewise.
18228
8db73634
L
182292011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18230
18231 [BZ #12775]
18232 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18233 * math/Makefile (tests): Add test-powl.
18234 (CFLAGS-test-powl.c): Define.
18235 * math/test-powl.c: New file.
18236
0a197a9d
L
182372011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18238
18239 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18240
ee30c380
UD
182412011-05-17 Ulrich Drepper <drepper@gmail.com>
18242
18243 [BZ #11837]
18244 * iconvdata/gb18030.c: Update to GB18020-2005.
18245
6ce75379
UD
182462011-05-16 Ulrich Drepper <drepper@gmail.com>
18247
a4b89fd8
AR
18248 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18249 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18250 Patch by Aharon Robbins <arnold@skeeve.com>.
18251
ea389b12
UD
18252 [BZ #11892]
18253 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18254 on the stack.
18255
68a3f91f
UD
18256 [BZ #11895]
18257 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18258 through underflows.
18259
15cc7dd1
UD
18260 [BZ #12766]
18261 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18262 point to strings before performing equality test for error_one_per_line
18263 mode.
18264
f3799213
UD
18265 [BZ #11697]
18266 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18267
d79a9c94
UD
18268 [BZ #11820]
18269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18270 (struct user_fpregs_struct): Avoid __uint*_t types.
18271
56e5eb46
UD
18272 [BZ #6420]
18273 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18274 symbol info. Use it instead of calling _dl_addr locally.
18275 (lock_and_info): New function.
18276 (tr_freehook): Call lock_and_info and pass symbol info as additional
18277 parameter to tr_where.
18278 (tr_mallochook): Likewise.
18279 (tr_reallochook): Likewise.
18280 (tr_memalignhook): Likewise.
18281
6ce75379
UD
18282 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18283 used and couldn't be at all thread-safe.
18284
f8a3b5bf
UD
182852011-05-15 Ulrich Drepper <drepper@gmail.com>
18286
94b7cc37
UD
18287 * libio/freopen.c (freopen): Don't close old file descriptor
18288 before the new one is opened. Instead dup the new file descriptor
18289 to the old one after the new stream is created.
18290 * libio/freopen64.c (freopen64): Likewise.
18291 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18292 * libio/fileops.c (_IO_new_file_close_it): Handle new
18293 _IO_FLAGS2_NOCLOSE flag.
18294 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18295 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18296 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18297 _IO_FLAGS2_NOCLOSE flag.
18298 * include/unistd.h: Add hidden_proto for dup3.
18299 Define __have_dup3.
18300 * io/dup3.c: Define hidden symbol.
18301 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18302
bd25564e
UD
18303 [BZ #7101]
18304 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18305 when an incomplete long option is used.
18306 * posix/tst-getopt_long1.c: New file.
18307 * posix/Makefile (tests): Add tst-getopt_long1.
18308
c84cfef4
UD
18309 [BZ #10138]
18310 * scripts/config.guess: Update from autoconf-2.68.
18311 * scripts/config.sub: Likewise.
18312
3b85df27
UD
18313 [BZ #10157]
18314 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18315 tests into ...
18316 (has_cpuclock): ...this. New function.
18317 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18318 macro here based on has_cpuclock code.
18319
15a856b1
UD
18320 [BZ #10149]
18321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18322 First byte (not low byte) is now always NUL.
18323 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18324
05f399e6
UD
18325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18326 Use non-cancelable interfaces.
18327
10a52685 18328 [BZ #9809]
94ecc67d
UD
18329 * locale/iso-639.def: Add entry for Sorani.
18330
f8a3b5bf
UD
18331 [BZ #11901]
18332 * include/stdlib.h: Move include protection to the right place.
18333 Define abort_msg_s. Declare __abort_msg with it.
18334 * stdlib/abort.c (__abort_msg): Adjust type.
18335 * assert/assert.c (__assert_fail_base): New function. Majority
18336 of code from __assert_fail. Allocate memory for __abort_msg with
18337 mmap.
18338 (__assert_fail): Now call __assert_fail_base.
18339 * assert/assert-perr.c: Remove bulk of implementation. Use
18340 __assert_fail_base.
18341 * include/assert.hL Declare __assert_fail_base.
18342 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18343 mmap.
18344 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18345
1af4e298
UD
183462011-05-14 Ulrich Drepper <drepper@gmail.com>
18347
f8a3b5bf 18348 [BZ #11952]
d26dfc60
MG
18349 [BZ #12453]
18350 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18351 until all modules are registered in the DTV.
18352 * elf/Makefile: Add rules to build and run tst-tls19.
18353 * elf/tst-tls19.c: New file.
18354 * elf/tst-tls19mod1.c: New file.
18355 * elf/tst-tls19mod2.c: New file.
18356 * elf/tst-tls19mod3.c: New file.
18357 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18358
2fc54d6f
UD
18359 [BZ #12083]
18360 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18361 correctly.
18362
98d76b46
UD
18363 [BZ #12601]
18364 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18365 two-byte sequence errors.
18366 * iconvdata/Makefile (tests): Add bug-iconv8.
18367 * iconvdata/bug-iconv8.c: New file.
18368
da3c19ef
UD
18369 [BZ #12626]
18370 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18371 buf2 definition.
18372
ca408c15
UD
18373 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18374
d6f67f7d
UD
18375 [BZ #12432]
18376 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18377 (dummy_getcfa): New function.
18378 (init): Get _Unwind_GetCFA address, use dummy if not found.
18379 (backtrace_helper): In recursion check, also check whether CFA changes.
18380 (__backtrace): Completely initialize arg.
18381
1af4e298 18382 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18383 storing incomplete byte sequence in state object. Avoid testing for
18384 guaranteed too small input if we know there is enough data available.
1af4e298 18385
da62f81b
AS
183862011-05-11 Andreas Schwab <schwab@redhat.com>
18387
18388 * Makeconfig (+link-pie): Indent.
18389 * Rules (binaries-pie): Define if $(have-fpie) and
18390 $(build-shared).
18391 (binaries-shared): Also filter out $(binaries-pie).
18392 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18393 * nscd/Makefile (others-pie): Add nscd.
18394 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18395 ($(objpfx)nscd): Remove command override.
18396 * login/Makefile (others-pie): Add pt_chown.
18397 ($(objpfx)pt_chown): Remove command override.
18398 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18399 remove command overrides.
18400
fcabc0f8
UD
184012011-05-13 Ulrich Drepper <drepper@gmail.com>
18402
20030ae6
UD
18403 * libio/tst_putwc.c: Fix error messages.
18404
fcabc0f8
UD
18405 [BZ #12724]
18406 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18407 currently writing and seek to current position when not.
18408 * libio/Makefile (tests): Add bug-fclose1.
18409 * libio/bug-fclose1.c: New file.
18410
320a5dc0
PB
184112011-05-12 Ulrich Drepper <drepper@gmail.com>
18412
18413 [BZ #12511]
18414 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18415 don't set DF_1_NODELETE here.
18416 (do_lookup_x): When entering new entry test for copy relocation
18417 and if necessary set DF_1_NODELETE flag.
18418 * elf/tst-unique4.cc: New file.
18419 * elf/tst-unique4.h: New file.
18420 * elf/tst-unique4lib.cc: New file.
18421 * elf/Makefile: Add rules to build and run tst-unique4.
18422 Patch by Piotr Bury <pbury@goahead.com>.
18423
22836f52
UD
184242011-05-11 Ulrich Drepper <drepper@gmail.com>
18425
f574184a
UD
18426 [BZ #12052]
18427 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18428
e1fb097f
UD
18429 [BZ #12625]
18430 * misc/mntent_r.c (addmntent): Flush the stream after the output
18431
22836f52
UD
18432 [BZ #12393]
18433 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18434 (is_trusted_path_normalize): Skip initial colon. Append slash
18435 to empty buffer. Duplicate is_trusted_path code but allow
18436 constructed patch to be prefix.
18437 (is_dst): Allow $ORIGIN followed by /.
18438 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18439 Correct testing of result of is_trusted_path_normalize
18440 (decompose_rpath): Fix warning.
18441
7b3b0b2a
UD
184422011-05-10 Ulrich Drepper <drepper@gmail.com>
18443
18444 [BZ #11257]
18445 * grp/initgroups.c (internal_getgrouplist): When we found the service
18446 list through the initgroups entry in nsswitch.conf do not always
18447 continue on a successful lookup. Don't always use the
eac80ce2 18448 __nss_group_database value if it is set.
7b3b0b2a
UD
18449 * nss/nsswitch.conf (initgroups): Change action for successful db
18450 lookup to continue for compatibility.
18451
2a81eaa5
UD
184522011-05-09 Ulrich Drepper <drepper@gmail.com>
18453
be97a69e
UD
18454 [BZ #11532]
18455 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18456 and CP774 modules.
18457 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18458 and CP774 modules.
18459 * iconvdata/tst-tables.sh: Likewise.
18460 * iconvdata/cp770.c: New file.
18461 * iconvdata/cp771.c: New file.
18462 * iconvdata/cp772.c: New file.
18463 * iconvdata/cp773.c: New file.
18464 * iconvdata/cp774.c: New file.
18465 * iconvdata/testdata/CP770: New file.
18466 * iconvdata/testdata/CP770..UTF8: New file.
18467 * iconvdata/testdata/CP771: New file.
18468 * iconvdata/testdata/CP771..UTF8: New file.
18469 * iconvdata/testdata/CP772: New file.
18470 * iconvdata/testdata/CP772..UTF8: New file.
18471 * iconvdata/testdata/CP773: New file.
18472 * iconvdata/testdata/CP773..UTF8: New file.
18473 * iconvdata/testdata/CP774: New file.
18474 * iconvdata/testdata/CP774..UTF8: New file.
18475
18476 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18477 END CHARMAP line.
18478 * iconvdata/gen-8bit-gap.sh: Likewise.
18479 * iconvdata/gen-8bit.sh: Likewise.
18480
c1e9e399
UD
18481 * locale/iso-639.def: Add ary entry.
18482
24c55fb3 18483 [BZ #11258]
96b4b1b0
UD
18484 * locale/C-translit.h.in: Add U20A1 transliteration.
18485
bdc2f971
KB
18486 [BZ #12178]
18487 * locale/iso-639.def: Add wae entry.
18488 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18489
2952b117
UD
18490 [BZ #12545]
18491 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18492 for n.
18493
2a81eaa5
UD
18494 [BZ #12711]
18495 * locale/C-translit.h.in: Add entry for U20B9.
18496 Patch by pravin.d.s@gmail.com.
18497
28377d1b
UD
184982011-05-08 Ulrich Drepper <drepper@gmail.com>
18499
7fb90fb8
UD
18500 [BZ #12713]
18501 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18502 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18503 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18504 in rtld. Use *stat64.
7fb90fb8 18505 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18506 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18507 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18508 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18509 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18510 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18511 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18512 __fstatat64 macros.
7fb90fb8
UD
18513 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18514 * dirent/rewinddir.c: Add libc_hidden_def.
18515 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18516 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18517
28377d1b
UD
18518 * include/dirent.h (__alloc_dir): Add flags parameter.
18519 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18520 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18521 __alloc_dir.
18522 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18523 from fdopendir if O_CLOEXEC is already set.
18524
66bdbaa4
AM
185252011-03-15 Alan Modra <amodra@gmail.com>
18526
18527 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18528 l_tls_firstbyte_offset non-zero. Save padding offset in
18529 l_tls_firstbyte_offset for later use.
18530 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18531 freeing static tls block.
18532
95721191
JN
185332011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18534
18535 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18536 where #ifdef was intended. The intent is to prevent ARG_MAX from
18537 being defined by the kernel headers.
18538
f87dfb1f
UD
185392011-05-07 Ulrich Drepper <drepper@gmail.com>
18540
18541 [BZ #12734]
18542 * resolv/resolv.h: Define RES_NOTLDQUERY.
18543 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18544 no-tld-query and set RES_NOTLDQUERY.
18545 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18546 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18547 modern BIND to search name as TLD unless forbidden.
18548
47c3cd7a
UD
185492011-05-07 Petr Baudis <pasky@suse.cz>
18550 Ulrich Drepper <drepper@gmail.com>
18551
18552 [BZ #12393]
18553 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18554 (is_trusted_path): ...to here.
c1e9ea35 18555 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18556 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18557 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18558
8a35c912
PP
185592011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18560
18561 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18562 __BEGIN/__END_DECLS.
18563
acd41f47
UD
185642011-05-06 Ulrich Drepper <drepper@gmail.com>
18565
18566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18567 NSS_STATUS_NOTFOUND if no record was found.
18568
597df647
AS
185692011-05-05 Andreas Schwab <schwab@redhat.com>
18570
18571 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18572 (headers-not-in-tirpc): Remove rpc/netdb.h
18573 * resolv/netdb.h: Revert last change.
18574
b9af1301
PP
185752011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18576
18577 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18578 circular dependency between libgcc.a and libc.a.
18579
4e34d5f5
AS
185802011-05-05 Andreas Schwab <schwab@redhat.com>
18581
18582 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18583 * nis/Makefile: Don't install rpcsvc/*.
18584 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18585 instead of <rpc/types.h>.
18586 (MAXHOSTNAMELEN): Define.
18587
00ee369c
AS
185882011-05-03 Andreas Schwab <schwab@redhat.com>
18589
18590 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18591
0b592a30
MB
185922011-04-28 Maciej Babinski <mbabinski@google.com>
18593
18594 [BZ #12714]
18595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18596 gethostbyname4_r when IPv6 results are possible.
18597
6e04cbbe
UD
185982011-05-02 Ulrich Drepper <drepper@gmail.com>
18599
18600 [BZ #12723]
18601 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18602 _PC_PIPE_BUF handling.
18603
e4ecafe0
BH
186042011-04-30 Bruno Haible <bruno@clisp.org>
18605
18606 [BZ #12717]
18607 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18608 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18609 to 'int'.
18610 * inet/getnameinfo.c (getnameinfo): Likewise.
18611
125ee683
UD
186122011-04-29 Ulrich Drepper <drepper@gmail.com>
18613
18614 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18615 to groups setting in database lookup.
18616 * nss/nsswitch.conf: Add initgroups entry.
18617
b722481a
EB
186182011-04-22 Ulrich Drepper <drepper@gmail.com>
18619
18620 [BZ #12685]
18621 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18622 mode string.
18623 Patch by Eric Blake <eblake@redhat.com>.
18624
4df46dbd
L
186252011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18626
18627 * sunrpc/Makefile (need-export-routines): Add svc_run.
18628 (routines): Remove svc_run.
18629 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18630 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18631 * sunrpc/svc_run.c (svc_run): Likewise.
18632 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18633
e84142d2
UD
186342011-04-21 Ulrich Drepper <drepper@gmail.com>
18635
18636 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18637 problem in reallocation in last patch.
18638
877175d8
UD
186392011-04-20 Ulrich Drepper <drepper@gmail.com>
18640
18641 * sunrpc/Makefile: Move inclusion of Rules.
18642
ab8eed78
UD
186432011-04-19 Ulrich Drepper <drepper@gmail.com>
18644
18645 * nss/nss_files/files-initgroups.c: New file.
18646 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18647 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18648 _nss_files_initgroups_dyn.
18649
e3d8f584
RS
186502011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18651
18652 * elf/elf.h (R_ARM_IRELATIVE): Define.
18653
af190f45
UD
186542011-04-19 Ulrich Drepper <drepper@gmail.com>
18655
18656 * po/ru.po: Update from translation team.
18657
53cf59ef
UD
186582011-04-17 Ulrich Drepper <drepper@gmail.com>
18659
18660 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18661 dependencies.
18662
4c559bcd
MF
186632011-02-06 Mike Frysinger <vapier@gentoo.org>
18664
18665 [BZ #12653]
18666 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18667 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18669 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18670 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18671
4420675c
AS
186722011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18673
18674 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18675 differing bytes.
18676 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18679
75ea32ab
UD
186802011-04-17 Ulrich Drepper <drepper@gmail.com>
18681
18682 [BZ #12420]
18683 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18684 storing it.
18685 * stdlib/bug-getcontext.c: New file.
18686 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18687
27390476
AK
186882011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18689
18690 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18691 instructions into .machine "z9-109".
18692 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18693 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18694
10442705
AK
186952011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18696
18697 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18698 between environment variables and auxiliary vector.
18699
7b57bfe5
UD
187002011-04-16 Ulrich Drepper <drepper@gmail.com>
18701
18702 * Makefile: Add rules to build linkobj/libc.so.
18703 * include/libc-symbols.h: Define libc_hidden_nolink.
18704 * include/rpc/auth.h: Mark functions which are to be hidden.
18705 * include/rpc/auth_des.h: Likewise.
18706 * include/rpc/auth_unix.h: Likewise.
18707 * include/rpc/clnt.h: Likewise.
18708 * include/rpc/des_crypt.h: Likewise.
18709 * include/rpc/key_prot.h: Likewise.
18710 * include/rpc/pmap_clnt.h: Likewise.
18711 * include/rpc/pmap_prot.h: Likewise.
18712 * include/rpc/pmap_rmt.h: Likewise.
18713 * include/rpc/rpc_msg.h: Likewise.
18714 * include/rpc/svc.h: Likewise.
18715 * include/rpc/svc_auth.h: Likewise.
18716 * include/rpc/xdr.h: Likewise.
18717 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18718 * nss/Makefile: Likewise.
18719 * sunrpc/Makefile: Don't install headers. Build library with normal
18720 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18721 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18722 for the compat linking library. Remove use of INTDEF/INTUSE.
18723 * sunrpc/auth_none.c: Likewise.
18724 * sunrpc/auth_unix.c: Likewise.
18725 * sunrpc/authdes_prot.c: Likewise.
18726 * sunrpc/authuxprot.c: Likewise.
18727 * sunrpc/clnt_gen.c: Likewise.
18728 * sunrpc/clnt_perr.c: Likewise.
18729 * sunrpc/clnt_raw.c: Likewise.
18730 * sunrpc/clnt_simp.c: Likewise.
18731 * sunrpc/clnt_tcp.c: Likewise.
18732 * sunrpc/clnt_udp.c: Likewise.
18733 * sunrpc/clnt_unix.c: Likewise.
18734 * sunrpc/des_crypt.c: Likewise.
18735 * sunrpc/des_soft.c: Likewise.
18736 * sunrpc/get_myaddr.c: Likewise.
18737 * sunrpc/key_call.c: Likewise.
18738 * sunrpc/key_prot.c: Likewise.
18739 * sunrpc/netname.c: Likewise.
18740 * sunrpc/pm_getmaps.c: Likewise.
18741 * sunrpc/pm_getport.c: Likewise.
18742 * sunrpc/pmap_clnt.c: Likewise.
18743 * sunrpc/pmap_prot.c: Likewise.
18744 * sunrpc/pmap_prot2.c: Likewise.
18745 * sunrpc/pmap_rmt.c: Likewise.
18746 * sunrpc/publickey.c: Likewise.
18747 * sunrpc/rpc_cmsg.c: Likewise.
18748 * sunrpc/rpc_common.c: Likewise.
18749 * sunrpc/rpc_dtable.c: Likewise.
18750 * sunrpc/rpc_prot.c: Likewise.
18751 * sunrpc/rpc_thread.c: Likewise.
18752 * sunrpc/rtime.c: Likewise.
18753 * sunrpc/svc.c: Likewise.
18754 * sunrpc/svc_auth.c: Likewise.
18755 * sunrpc/svc_authux.c: Likewise.
18756 * sunrpc/svc_raw.c: Likewise.
18757 * sunrpc/svc_run.c: Likewise.
18758 * sunrpc/svc_simple.c: Likewise.
18759 * sunrpc/svc_tcp.c: Likewise.
18760 * sunrpc/svc_udp.c: Likewise.
18761 * sunrpc/svc_unix.c: Likewise.
18762 * sunrpc/svcauth_des.c: Likewise.
18763 * sunrpc/xcrypt.c: Likewise.
18764 * sunrpc/xdr.c: Likewise.
18765 * sunrpc/xdr_array.c: Likewise.
18766 * sunrpc/xdr_float.c: Likewise.
18767 * sunrpc/xdr_intXX_t.c: Likewise.
18768 * sunrpc/xdr_mem.c: Likewise.
18769 * sunrpc/xdr_rec.c: Likewise.
18770 * sunrpc/xdr_ref.c: Likewise.
18771 * sunrpc/xdr_sizeof.c: Likewise.
18772 * sunrpc/xdr_stdio.c: Likewise.
18773
e6c61494
UD
187742011-04-10 Ulrich Drepper <drepper@gmail.com>
18775
18776 [BZ #12650]
18777 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18778 * sysdeps/ia64/dl-tls.h: Likewise.
18779 * sysdeps/powerpc/dl-tls.h: Likewise.
18780 * sysdeps/s390/dl-tls.h: Likewise.
18781 * sysdeps/sh/dl-tls.h: Likewise.
18782 * sysdeps/sparc/dl-tls.h: Likewise.
18783 * sysdeps/x86_64/dl-tls.h: Likewise.
18784 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18785
34fe483e
AS
187862011-03-14 Andreas Schwab <schwab@redhat.com>
18787
18788 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18789 rpath element also skip the following colon.
18790 (expand_dynamic_string_token): Add is_path parameter and pass
18791 down to DL_DST_REQUIRED and _dl_dst_substitute.
18792 (decompose_rpath): Call expand_dynamic_string_token with
18793 non-zero is_path. Ignore empty rpaths.
18794 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18795 with zero is_path.
18796
f12a32e6
AS
187972011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18798
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18800 Make cancelable.
18801
38a7d692
UD
188022011-04-09 Ulrich Drepper <drepper@gmail.com>
18803
18804 [BZ #12655]
18805 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18806 Patch by Filipe David Manana <fdmanana@apache.org>.
18807
e451d22b
AS
188082011-04-07 Andreas Schwab <schwab@redhat.com>
18809
18810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18811 Maintain aligned stack.
18812 (CHECK_RSP): Remove unused macro.
18813
dedc7c7b
UD
188142011-04-03 Ulrich Drepper <drepper@gmail.com>
18815
18816 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18817 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18818
94521213
UD
188192011-04-02 Ulrich Drepper <drepper@gmail.com>
18820
18821 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18822
8cb700c0 18823 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18824
0354e355
L
188252011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18826
18827 [BZ #12518]
18828 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18829 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18830 * sysdeps/x86_64/memmove.c: New file.
18831 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18832 (memcpy): Renamed to ...
18833 (__new_memcpy): This.
18834 (memcpy): Provide GLIBC_2_14 memcpy.
18835 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18836 (memcpy): Provide GLIBC_2_2_5 memcpy.
18837
8593482f
UD
188382011-04-01 Ulrich Drepper <drepper@gmail.com>
18839
18840 [BZ #12631]
18841 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18842
81a5726b
AS
188432011-03-30 Andreas Schwab <schwab@redhat.com>
18844
18845 * misc/syncfs.c: New file.
18846 * misc/Makefile (routines): Add syncfs.
18847 * posix/unistd.h: Declare syncfs.
18848 * sysdeps/unix/syscalls.list: Add syncfs.
18849
00e5419f
AS
188502011-04-01 Andreas Schwab <schwab@redhat.com>
18851
18852 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18853 open_by_handle_at.
18854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18857 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18859 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18861
748876bf
UD
188622011-04-01 Ulrich Drepper <drepper@gmail.com>
18863
658e451d
UD
18864 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18865 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18866 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18868 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18870 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18871
748876bf
UD
18872 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18873 sync_file_range.c with -fexceptions.
18874 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18875 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18876 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18877 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18878 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18879 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18880 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18881 sync_file_range as cancellation point
18882 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18883 now a wrapper around __call_sync_file_range with cancellation handling.
18884 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18885 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18886 function name to __call_sync_file_range.
18887 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18888 Add call_sync_file_range.
748876bf 18889
6e63d5e1
AS
188902011-04-01 Andreas Schwab <schwab@redhat.com>
18891
18892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18893 bits/timex.h.
6e63d5e1 18894
46998f74
UD
188952011-04-01 Ulrich Drepper <drepper@gmail.com>
18896
4c1423ed
UD
18897 * iconv/iconv.h: Fix typo in comment.
18898 * io/fcntl.h: Likewise.
18899 * libio/stdio.h: Likewise.
18900 * posix/spawn.h: Likewise.
18901 * posix/unistd.h: Likewise.
18902 * stdlib/stdlib.h: Likewise.
18903 * time/time.h: Likewise.
18904 * wcsmbs/wchar.h: Likewise.
18905
158648c0
UD
18906 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18907 open_by_handle): Add.
18908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18909 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18910 Augment a few comments.
18911 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18916 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18917 open_by_handle.
18918
46998f74
UD
18919 * io/fcntl.h (AT_EMPTY_PATH): Define.
18920
83fe108b
UD
189212011-03-30 Ulrich Drepper <drepper@gmail.com>
18922
18923 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18924 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18925 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18926 to...
18927 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18928 * Versions.def: Add GLIBC_2.14.
18929 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18930 Export.
83fe108b 18931
bb242059
UD
189322011-03-22 Ulrich Drepper <drepper@gmail.com>
18933
18934 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18935 round counter.
18936 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18937
c97a1282
L
189382011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18939
18940 [BZ #12597]
18941 * string/test-strncmp.c (do_page_test): New function.
18942 (check2): Likewise.
18943 (test_main): Call check2.
18944 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18945
2a115601
UD
189462011-03-20 Ulrich Drepper <drepper@gmail.com>
18947
18948 [BZ #12587]
18949 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18950 Handle cache information in CPU leaf 4.
18951 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18952
8126d904
UD
189532011-03-18 Ulrich Drepper <drepper@gmail.com>
18954
042c49c6 18955 [BZ #12583]
8126d904
UD
18956 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18957 character representation.
18958 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18959
ccfe366e
RA
189602011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18961
18962 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18963 END(__isnan) to END(__isnanf) to match function entry point/label
18964 EALIGN(__isnanf,...).
18965
c6e13027
JJ
189662011-03-10 Jakub Jelinek <jakub@redhat.com>
18967
18968 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18969
33f85a3f
UD
189702011-03-10 Ulrich Drepper <drepper@gmail.com>
18971
028478fa
UD
18972 [BZ #12510]
18973 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18974 copy from the symbol referenced in the relocation to initialize the
18975 used variable.
18976 Patch by Piotr Bury <pbury@goahead.com>.
18977 * elf/Makefile: Add rules to build and tst-unique3.
18978 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18979 * elf/tst-unique3.cc: New file.
18980 * elf/tst-unique3.h: New file.
18981 * elf/tst-unique3lib.cc: New file.
18982 * elf/tst-unique3lib2.cc: New file.
18983
33f85a3f
UD
18984 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18985
03592fc7
MF
189862011-03-10 Mike Frysinger <vapier@gentoo.org>
18987
18988 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18989 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18990 to _start.
03592fc7 18991
6a5ee102
UD
189922011-03-06 Ulrich Drepper <drepper@gmail.com>
18993
18994 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18995 to-be-loaded object along a path to loader is ld.so.
18996
7e4ba49c
HJ
189972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18998 Ulrich Drepper <drepper@gmail.com>
18999
19000 * sysdeps/x86_64/memset.S: After aligning destination, code
19001 branches to different locations depending on the value of
19002 misalignment, when multiarch is enabled. Fix this.
19003
190042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19005
19006 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19007 Set _x86_64_preferred_memory_instruction for AMD processsors.
19008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19009 Set bit_Prefer_SSE_for_memop for AMD processors.
19010
13a804de
UD
190112011-03-04 Ulrich Drepper <drepper@gmail.com>
19012
19013 * libio/fmemopen.c (fmemopen): Optimize a bit.
19014
9d25c392
AS
190152011-03-03 Andreas Schwab <schwab@redhat.com>
19016
19017 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19018
a5543c6a
RM
190192011-03-03 Roland McGrath <roland@redhat.com>
19020
19021 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19022
012d35f7
DM
190232011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19024
7e4ba49c 19025 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19026 __bzero_ultra1 instead of __memset_ultra1.
19027
4bff6e01
AS
190282011-02-23 Andreas Schwab <schwab@redhat.com>
19029 Ulrich Drepper <drepper@gmail.com>
19030
19031 [BZ #12509]
19032 * include/link.h (struct link_map): Add l_orig_initfini.
19033 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19034 returning unsuccessfully.
19035 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19036 close of a file loaded at startup, restore the original l_initfini
19037 list.
19038 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19039 list, store the pointer.
19040 * elf/Makefile ($(objpfx)noload-mem): New rule.
19041 (noload-ENV): Define.
19042 (tests): Add $(objpfx)noload-mem.
19043 * elf/noload.c: Include <memcheck.h>.
19044 (main): Call mtrace. Close all opened handles.
19045
f2092faf
AS
190462011-02-17 Andreas Schwab <schwab@redhat.com>
19047
19048 [BZ #12454]
19049 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19050 dependencies are missing.
19051
6c8a2e88
ST
190522011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19053
f2092faf 19054 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19055 Hurd needs munmap.
19056 * sysdeps/mach/hurd/ifreq.h: New file.
19057
84a42118
PB
190582011-01-27 Petr Baudis <pasky@suse.cz>
19059 Ulrich Drepper <drepper@gmail.com>
19060
071f805e 19061 [BZ 12445]#
84a42118
PB
19062 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19063 to extend_alloca().
19064 * stdio-common/bug23.c: New file.
19065 * stdio-common/Makefile (tests): Add bug23.
19066
e23fe25b
AS
190672010-09-28 Andreas Schwab <schwab@redhat.com>
19068 Ulrich Drepper <drepper@gmail.com>
19069
19070 [BZ #12489]
19071 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19072 before performing relro protection. At old place add assertion
19073 to make sure nothing changed.
19074
d3f02e10
NS
190752011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19076 Glauber de Oliveira Costa <glommer@gmail.com>
19077
19078 * elf/elf.h: Add new ARM TLS relocs.
19079
d55fd7a5
RA
190802011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19081
19082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19083 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19084 cast from r3.
19085 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19086 'tests' variable.
19087 * sysdeps/wordsize-64/tst-writev.c: New file.
19088
2206397e
RA
190892011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19090
19091 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19092 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19093 insns in _dl_start to prevent a TOC reference before relocs are
19094 resolved.
19095
e9433893
UD
190962011-02-15 Ulrich Drepper <drepper@gmail.com>
19097
19098 [BZ #12469]
19099 * Makeconfig: Remove RANLIB definition.
19100 * Makerules: Don't use RANLIB.
19101 * aclocal.m4: Remove ranlib test.
19102 * configure.in: No need to check for ranlib.
19103 * elf/rtld-Rules: Don't use RANLIB.
19104
f75286c6
ST
191052011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19106
8e31c82d
ST
19107 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19108 protection macro.
19109 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19110 inclusion protection macro.
19111
f75286c6
ST
19112 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19113 SIGRTMIN and SIGRTMAX and print information in that case only when
19114 SIGRTMIN is defined.
19115
c1d0e639
JJ
191162011-02-11 Jakub Jelinek <jakub@redhat.com>
19117
19118 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19119 arginfo fn returning -1.
19120
19121 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19122 and thousands string is zero terminated.
19123
edf9294e
AS
191242011-02-03 Andreas Schwab <schwab@redhat.com>
19125
19126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19127 sysdeps/unix/sysv/linux/bits/socket.h.
19128
2b7e92df
ST
191292011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19130
edf9294e
AS
19131 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19132 (__CPU_COUNT): Remove old macros.
19133 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19134 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19135 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19136 (__sched_cpualloc, __sched_cpufree): Add declarations.
19137
a4c7ea7b
UD
191382011-02-05 Ulrich Drepper <drepper@gmail.com>
19139
19140 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19141 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19142 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19143 (readdhstai): Return value of addhstaiX call.
19144 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19145 (addgrbyX): Return value returned by cache_addgr.
19146 (readdgrbyname): Return value returned by addgrbyX.
19147 (readdgrbygid): Likewise.
19148 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19149 (addpwbyX): Return value returned by cache_addpw.
19150 (readdpwbyname): Return value returned by addhstbyX.
19151 (readdpwbyuid): Likewise.
19152 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19153 (addservbyX): Return value returned by cache_addserv.
19154 (readdservbyname): Return value returned by addservbyX:
19155 (readdservbyport): Likewise.
19156 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19157 (addhstbyX): Return value returned by cache_addhst.
19158 (readdhstbyname): Return value returned by addhstbyX.
19159 (readdhstbyaddr): Likewise.
19160 (readdhstbynamev6): Likewise.
19161 (readdhstbyaddrv6): Likewise.
19162 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19163 (readdinitgroups): Return value returned by addinitgroupsX.
19164 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19165 (prune_cache): Keep track of timeout value of re-added entries.
19166 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19167 * nscd/nscd.h: Adjust prototypes of readd* functions.
19168
a0bf67cc
RM
191692011-02-04 Roland McGrath <roland@redhat.com>
19170
19171 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19172 (nis_stats): Likewise.
19173 * nis/nis_modify.c (nis_modify): Likewise.
19174 * nis/nis_remove.c (nis_remove): Likewise.
19175 * nis/nis_add.c (nis_add): Likewise.
19176
19177 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19178
19179 * posix/fnmatch_loop.c: Add some consts.
19180
19181 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19182
435b95eb
L
191832011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19184
19185 [BZ #12460]
19186 * config.make.in (config-cflags-novzeroupper): Define.
19187 * configure.in: Substitute libc_cv_cc_novzeroupper.
19188 * elf/Makefile (AVX-CFLAGS): Define.
19189 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19190 (CFLAGS-tst-auditmod4a.c): Likewise.
19191 (CFLAGS-tst-auditmod4b.c): Likewise.
19192 (CFLAGS-tst-auditmod6b.c): Likewise.
19193 (CFLAGS-tst-auditmod6c.c): Likewise.
19194 (CFLAGS-tst-auditmod7b.c): Likewise.
19195 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19196
8517b15e
UD
191972011-02-02 Ulrich Drepper <drepper@gmail.com>
19198
19199 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19200 function to the callback.
19201 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19202
10a656fe
AS
192032011-02-02 Andreas Schwab <schwab@redhat.com>
19204
19205 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19206 of errno.
19207
968dad0a
UD
192082011-01-19 Ulrich Drepper <drepper@gmail.com>
19209
9f94d2ea 19210 [BZ #11724]
968dad0a
UD
19211 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19212 of constructors.
19213 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19214 of destructors.
19215 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19216
19217 [BZ #11724]
19218 * elf/Makefile: Add rules to build and run new test.
19219 * elf/tst-initorder.c: New file.
19220 * elf/tst-initorder.exp: New file.
19221 * elf/tst-initordera1.c: New file.
19222 * elf/tst-initordera2.c: New file.
19223 * elf/tst-initordera3.c: New file.
19224 * elf/tst-initordera4.c: New file.
19225 * elf/tst-initorderb1.c: New file.
19226 * elf/tst-initorderb2.c: New file.
19227 * elf/tst-order-a1.c: New file.
19228 * elf/tst-order-a2.c: New file.
19229 * elf/tst-order-a3.c: New file.
19230 * elf/tst-order-a4.c: New file.
19231 * elf/tst-order-b1.c: New file.
19232 * elf/tst-order-b2.c: New file.
19233 * elf/tst-order-main.c: New file.
19234 New test case by George Gensure <werkt0@gmail.com>.
19235
86e92359
UD
192362010-10-01 Andreas Schwab <schwab@redhat.com>
19237
19238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19239 decoding ACE if AI_CANONIDN.
19240
5d5732b0
UD
192412011-01-18 Ulrich Drepper <drepper@gmail.com>
19242
19243 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19244
a77e8cbc
UD
192452011-01-17 Ulrich Drepper <drepper@gmail.com>
19246
6392473f
UD
19247 * version.h (RELEASE): Bump for 2.13 release.
19248 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19249
620a0529
UD
19250 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19251
18ba70a5
UD
19252 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19253 MADV_NOHUGEPAGE.
32465c3e
UD
19254 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19255 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19256 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19257 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19259 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19260
c0dafcf1
UD
19261 * posix/getconf.c: Update copyright year.
19262 * catgets/gencat.c: Likewise.
19263 * csu/version.c: Likewise.
19264 * debug/catchsegv.sh: Likewise.
19265 * debug/xtrace.sh: Likewise.
19266 * elf/ldconfig.c: Likewise.
19267 * elf/ldd.bash.in: Likewise.
19268 * elf/sprof.c (print_version): Likewise.
19269 * iconv/iconv_prog.c: Likewise.
19270 * iconv/iconvconfig.c: Likewise.
19271 * locale/programs/locale.c: Likewise.
19272 * locale/programs/localedef.c: Likewise.
19273 * malloc/memusage.sh: Likewise.
19274 * malloc/mtrace.pl: Likewise.
19275 * nscd/nscd.c (print_version): Likewise.
19276 * nss/getent.c: Likewise.
19277
a77e8cbc
UD
19278 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19279 PF_CAIF, and PF_ALG.
19280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19281
77e8bddf
AS
192822011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19283
1f20b93a
AS
19284 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19285 (modules-names): Use them.
19286 (ifunc-test-modules, ifunc-pie-tests): Define.
19287 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19288 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19289 (test-extras): Likewise.
19290 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19291 $(compile-command.c).
19292 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19293 (all-built-dso): Define.
19294 (check-textrel.out, check-execstack.out): Depend on it.
19295
77e8bddf
AS
19296 * configure.in: Don't override --enable-multi-arch.
19297
bc425b33
UD
192982011-01-15 Ulrich Drepper <drepper@gmail.com>
19299
19300 [BZ #6812]
19301 * nscd/hstcache.c (tryagain): Define.
19302 (cache_addhst): Return tryagain not notfound for temporary errors.
19303 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19304 failed.
19305
794c3ad3
UD
193062011-01-14 Ulrich Drepper <drepper@gmail.com>
19307
70181fdd
UD
19308 [BZ #10563]
19309 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19310 to make the syscall.
19311 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19312
794c3ad3
UD
19313 [BZ #12378]
19314 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19315 and fall back to matching as normal character if the string ends before
19316 the matching ']' is found. This is what POSIX requires.
19317 * posix/testfnm.c: Adjust test result.
19318 * posix/globtest.sh: Adjust test result. Add new test.
19319 * posix/tst-fnmatch.input: Likewise.
19320 * posix/tst-fnmatch2.c: Add new test.
19321
68dc9497
AS
193222010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19323
19324 * elf/Makefile (check-execstack): Revert last change. Depend on
19325 check-execstack.h.
19326 (check-execstack.h): New target.
19327 (generated): Add check-execstack.h.
19328 * elf/check-execstack.c: Include "check-execstack.h".
19329 (main): Revert last change.
19330 (handle_file): Return zero if GNU_STACK is absent and
19331 DEFAULT_STACK_PERMS doesn't include PF_X.
19332
451f001b
UD
193332011-01-13 Ulrich Drepper <drepper@gmail.com>
19334
cfa28e56
UD
19335 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19336 in child fails because the descriptor is already closed.
8cf8ce17
UD
19337 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19338 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19339 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19340
1086d70d
UD
19341 [BZ #12397]
19342 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19343 syscall.
19344
451f001b
UD
19345 [BZ #10484]
19346 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19347 temporary buffer used to handle multi lookups locally.
a85b5cb4 19348 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19349
08769175
UD
193502011-01-12 Ulrich Drepper <drepper@gmail.com>
19351
19352 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19353 loader is ld.so.
19354
5e49c52e
UD
193552011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19356
19357 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19358 alignment for SSE2.
19359
60522a5f
UD
193602011-01-12 Ulrich Drepper <drepper@gmail.com>
19361
19362 [BZ #12394]
19363 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19364 characters. When rounding increased number of integer digits recompute
19365 number of groups.
19366 * stdio-common/tst-grouping.c: New file.
19367 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19368
f257bbd7
UD
193692011-01-09 Ulrich Drepper <drepper@gmail.com>
19370
19371 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19372 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19373
19374 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19375 void.
19376 * bits/select.h: Likewise.
19377
fa9c15cb
UD
193782011-01-08 Ulrich Drepper <drepper@gmail.com>
19379
19380 * po/ja.po: Update from translation team.
19381
16c2895f
DM
193822011-01-04 David S. Miller <davem@sunset.davemloft.net>
19383
19384 [BZ #11155]
19385 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19386 implementation just like for lxstat, fxstatat, et al.
19387
2543fef2
JM
193882010-12-27 Jim Meyering <meyering@redhat.com>
19389
19390 [BZ #12348]
19391 * posix/regexec.c (build_trtable): Return failure indication upon
19392 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19393
98727dbe
UD
193942010-12-25 Ulrich Drepper <drepper@gmail.com>
19395
5bd6dc5c
UD
19396 [BZ #12201]
19397 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19398 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19399 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19400 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19401
97983464
UD
19402 [BZ #12207]
19403 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19404
98727dbe
UD
19405 [BZ #12204]
19406 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19407 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19408
4a531bb0
L
194092010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19410
19411 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19412 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19413 script has SORT_BY_INIT_PRIORITY.
19414 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19415 NO_CTORS_DTORS_SECTIONS is defined.
19416 * elf/soinit.c: Likewise.
19417 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19418 NO_CTORS_DTORS_SECTIONS is defined.
19419 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19420 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19421 * sysdeps/sh/init-first.c: Likewise.
19422 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19423
07eb4b71
UD
194242010-12-24 Ulrich Drepper <drepper@gmail.com>
19425
19426 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19427 always use the slow path.
19428
30950a5f
RA
194292010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19430
19431 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19432 similar rule which adds the sysdep directories to the header search in
19433 order to pick up the correct platform stackinfo.h.
19434 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19435 perform test if it is, otherwise return successfully without testing.
19436 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19437 DEFAULT_STACK_PERMS define in stackinfo.h.
19438 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19439 defined in stackinfo.h.
19440 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19441 DEFAULT_STACK_PERMS defined in stackinfo.h.
19442 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19443 * sysdeps/ia64/stackinfo.h: Likewise.
19444 * sysdeps/s390/stackinfo.h: Likewise.
19445 * sysdeps/sh/stackinfo.h: Likewise.
19446 * sysdeps/sparc/stackinfo.h: Likewise.
19447 * sysdeps/x86_64/stackinfo.h: Likewise.
19448 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19449 PF_X for powerpc64. Retain PF_X for powerpc32.
19450
db753e2c
UD
194512010-12-19 Ulrich Drepper <drepper@gmail.com>
19452
14b697f7
UD
19453 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19454 accurately.
db753e2c
UD
19455 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19456 GETDENTS_64BIT_ALIGNED.
19457
28300719
UD
194582010-12-14 Ulrich Drepper <dreper@gmail.com>
19459
14b697f7 19460 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19461
4f197237
AS
194622010-12-10 Andreas Schwab <schwab@redhat.com>
19463
dbb0472f
AS
19464 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19465 _GNU_SOURCE.
19466
4f197237
AS
19467 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19468 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19469 Remove __restrict.
19470 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19471 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19472
fb88ac72
UD
194732010-12-09 Ulrich Drepper <drepper@gmail.com>
19474
19475 [BZ #11655]
19476 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19477 are initialized.
19478
42acbb92
JJ
194792010-12-09 Jakub Jelinek <jakub@redhat.com>
19480
19481 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19482
c038d98d
UD
194832010-12-03 Ulrich Drepper <drepper@gmail.com>
19484
19485 * po/it.po: Update from translation team.
19486
3a4a2499
L
194872010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19488
19489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19490 unused codes.
19491
1e24cf6e
UD
194922010-11-30 Ulrich Drepper <drepper@gmail.com>
19493
19494 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19495
a7690819
AS
194962010-11-24 Andreas Schwab <schwab@redhat.com>
19497
19498 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19499 specially.
19500 (gaih_getanswer_slice): Likewise.
19501
3bf8d1b1
JJ
195022010-10-20 Jakub Jelinek <jakub@redhat.com>
19503
19504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19505
6db52fbb
PB
195062010-05-31 Petr Baudis <pasky@suse.cz>
19507
19508 [BZ #11149]
19509 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19510 silently even in the chroot mode.
19511
eaca7569
UD
195122010-11-22 Ulrich Drepper <drepper@gmail.com>
19513
19514 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19515 last patch a bit. Pretty printing
19516
3056dcdb
UD
195172010-05-31 Petr Baudis <pasky@suse.cz>
19518
19519 [BZ #10085]
19520 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19521 initialization of skip_initgroups_dyn.
19522
cf7c9078
UD
195232010-11-19 Ulrich Drepper <drepper@gmail.com>
19524
19525 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19526 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19527
a1fb5e3e
UD
195282010-11-16 Ulrich Drepper <drepper@gmail.com>
19529
19530 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19531
3540d66b
AS
195322010-11-11 Andreas Schwab <schwab@redhat.com>
19533
19534 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19535 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19536 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19537 ($(objpfx)tst-fnmatch-mem): New rule.
19538 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19539 * posix/tst-fnmatch.c (main): Call mtrace.
19540
13b69574
L
195412010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19542
19543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19544 Support Intel processor model 6 and model 0x2c.
19545
da93d214
LM
195462010-11-10 Luis Machado <luisgpm@br.ibm.com>
19547
19548 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19549 signed comparison.
19550
8ca52c6e
L
195512010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19552
19553 [BZ #12205]
19554 * string/test-strncasecmp.c (check_result): New function.
19555 (do_one_test): Use it.
19556 (check1): New function.
19557 (test_main): Use it.
19558 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19559 Support strcasecmp and strncasecmp.
19560
69da074d
UD
195612010-11-08 Ulrich Drepper <drepper@gmail.com>
19562
19563 [BZ #12194]
19564 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19566
ff02d528
L
195672010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19568
19569 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19570 IFUNC support.
19571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19572 memset-x86-64.
19573 * sysdeps/x86_64/multiarch/bzero.S: New file.
19574 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19575 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19576 * sysdeps/x86_64/multiarch/memset.S: New file.
19577 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19579 Set bit_Prefer_SSE_for_memop for Intel processors.
19580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19581 Define.
19582 (index_Prefer_SSE_for_memop): Define.
19583 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19584
344d0b54
LM
195852010-11-04 Luis Machado <luisgpm@br.ibm.com>
19586
19587 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19588 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19589
c0dde15b
UD
195902010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19591
19592 [BZ #12191]
19593 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19594 (__x86_64_raw_data_cache_size_half): Likewise.
19595 (__x86_64_raw_shared_cache_size): Likewise.
19596 (__x86_64_raw_shared_cache_size_half): Likewise.
19597
19598 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19603 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19604 and __x86_64_raw_shared_cache_size_half. Round
19605 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19606 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19607 to multiple of 256 bytes.
19608
0e516e0e
MS
196092010-11-03 Ulrich Drepper <drepper@gmail.com>
19610
19611 [BZ #12167]
19612 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19613 of inacessible symlinks. Verify result of symlink before returning it.
19614 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19615 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19616
0e012e87
ER
196172010-10-28 Erich Ritz <erichritz@gmail.com>
19618
19619 * math/math.h (isinf): Fix typo in comment.
19620
de0ff7bc
UD
196212010-11-01 Ulrich Drepper <drepper@gmail.com>
19622
19623 * po/da.po: Update from translation team.
19624
fa41c84d
UD
196252010-10-26 Ulrich Drepper <drepper@gmail.com>
19626
19627 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19628 is added to the list.
19629
f0967738
AK
196302010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19631 Ulrich Drepper <drepper@gmail.com>
19632
19633 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19634 the global list here. Move code to...
19635 (_dl_add_to_namespace_list): ...here. New function.
19636 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19637 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19638 * elf/dl-load.c (lose): Don't remove the element from the list.
19639 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19640 (_dl_map_object): Likewise.
19641
196422010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19643
19644 [BZ #12159]
19645 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19646 into all bytes of SSE register.
19647 Patch by Richard Li <richardpku@gmail.com>.
19648
f0967738 196492010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19650
19651 [BZ #12140]
19652 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19653 perturbing.
19654
d0b9e94f
MB
196552010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19656
19657 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19658 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19659 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19660 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19662 submachine.
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19664
8e9f92e9
AS
196652010-10-22 Andreas Schwab <schwab@redhat.com>
19666
19667 * include/dlfcn.h (__RTLD_SECURE): Define.
19668 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19669 mode & __RTLD_SECURE instead.
19670 (open_path): Rename preloaded parameter to secure.
19671 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19672 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19673 * elf/dl-deps.c (openaux): Likewise.
19674 * elf/rtld.c (struct map_args): Remove is_preloaded.
19675 (map_doit): Don't use it.
19676 (dl_main): Likewise.
19677 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19678 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19679
bc96fbda
AS
196802010-09-09 Andreas Schwab <schwab@redhat.com>
19681
19682 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19683 (sysd-rules-targets): Remove duplicates.
19684 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19685 rtld-%.$o dependency.
19686
22cd1c9b
AS
196872010-10-18 Andreas Schwab <schwab@redhat.com>
19688
19689 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19690 _dl_map_object do it.
19691
18edac48
UD
196922010-10-19 Ulrich Drepper <drepper@gmail.com>
19693
19694 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19695 fast fma builtins, define the macros in the C99 standard.
19696 (FP_FAST_FMAF): Likewise.
19697 (FP_FAST_FMAL): Likewise.
19698 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19699
19700 * bits/mathdef.h: Update copyright year.
19701 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19702
d2050124
MM
197032010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19704
19705 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19706 builtins, define the macros in the C99 standard.
19707 (FP_FAST_FMAF): Likewise.
19708 (FP_FAST_FMAL): Likewise.
19709 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19710 multiply/add.
19711 (FP_FAST_FMAF): Likewise.
19712
475facd1
JJ
197132010-10-15 Jakub Jelinek <jakub@redhat.com>
19714
19715 [BZ #3268]
19716 * math/libm-test.inc (fma_test): Some new testcases.
19717 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19718 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19719 y and infinite z. Do multiplication by C already in long double.
19720 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19722 y and infinite z. Do bitwise or of inexact bit into u.d.
19723 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19724 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19725 * sysdeps/i386/fpu/s_fma.S: Removed.
19726 * sysdeps/i386/fpu/s_fmal.S: Removed.
19727
7c08a05c
JJ
197282010-10-16 Jakub Jelinek <jakub@redhat.com>
19729
19730 [BZ #3268]
19731 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19733 computation is not scheduled after fetestexcept. Fix value
19734 of minimum denormal long double.
19735
f3f7372d
JJ
197362010-10-14 Jakub Jelinek <jakub@redhat.com>
19737
19738 [BZ #3268]
19739 * math/libm-test.inc (fma_test): Add some more tests.
19740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19741 correctly.
19742
14d43591
AS
197432010-10-15 Andreas Schwab <schwab@redhat.com>
19744
19745 * scripts/data/localplt-s390-linux-gnu.data: New file.
19746 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19747
5e908464
JJ
197482010-10-13 Jakub Jelinek <jakub@redhat.com>
19749
19750 [BZ #3268]
19751 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19752 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19753 instead of dbl-64.
19754 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19755 inlines.
19756 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19758 if one of x and y is very large and the other is subnormal.
19759 * sysdeps/s390/fpu/s_fmaf.c: New file.
19760 * sysdeps/s390/fpu/s_fma.c: New file.
19761 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19762 * sysdeps/powerpc/fpu/s_fma.S: New file.
19763 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19764 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19765 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19766
197672010-10-12 Jakub Jelinek <jakub@redhat.com>
19768
19769 [BZ #3268]
19770 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19771 fma tests.
19772 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19773 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19774 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19775 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19776 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19777 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19778 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19779
b833d51f
UD
197802010-10-12 Ulrich Drepper <drepper@redhat.com>
19781
19782 [BZ #12078]
19783 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19784 * posix/bug-regex31.input: Add test case.
19785
1751705d
UD
197862010-10-11 Ulrich Drepper <drepper@gmail.com>
19787
e9b9cbf5
UD
19788 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19789 * posix/bug-regex31.input: New file.
19790
19791 [BZ #12078]
19792 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19793 (parse_sub_exp): Fix last change, use postorder.
19794
ef06edbe
UD
19795 * posix/bug-regex31.c: New file.
19796 * posix/Makefile: Add rules to build and run bug-regex31.
19797
a129c80d
UD
19798 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19799
19800 [BZ #12078]
19801 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19802
b76b818e
UD
19803 [BZ #12108]
19804 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19805 to have entries in sys_siglist.
19806
1751705d
UD
19807 [BZ #12093]
19808 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19809 be NULL.
19810
9ff8d36f
JJ
198112010-10-07 Jakub Jelinek <jakub@redhat.com>
19812
19813 [BZ #3268]
19814 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19815 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19816 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19817 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19818 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19819 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19820 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19821 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19822 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19823 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19824 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19825 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19826 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19827 * math/ftestexcept.c (fetestexcept): Likewise.
19828 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19829 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19830 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19831 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19832 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19833 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19834 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19835
af325969
UD
198362010-10-11 Ulrich Drepper <drepper@gmail.com>
19837
c579b202 19838 [BZ #12107]
af325969
UD
19839 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19840 newline.
19841
67a67b95
UD
198422010-10-06 Ulrich Drepper <drepper@gmail.com>
19843
19844 * string/bug-strstr1.c: New file.
19845 * string/Makefile: Add rules to build and run bug-strstr1.
19846
5fb308bc
EB
198472010-10-05 Eric Blake <eblake@redhat.com>
19848
19849 [BZ #12092]
19850 * string/str-two-way.h (two_way_long_needle): Always clear memory
19851 when skipping input due to the shift table.
19852
45db99c7
UD
198532010-10-03 Ulrich Drepper <drepper@gmail.com>
19854
3b111893
UD
19855 [BZ #12005]
19856 * malloc/mcheck.c: Handle large requests.
19857
45db99c7
UD
19858 [BZ #12077]
19859 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19860 for strncmp and strncasecmp.
19861 * string/stratcliff.c: Add tests for strcmp and strncmp.
19862 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19863
cf7a1eb8
NI
198642010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19865
19866 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19867 __set_fpscr.
19868
6484ba5e
AJ
198692010-09-30 Andreas Jaeger <aj@suse.de>
19870
19871 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19872 (CGROUP_SUPER_MAGIC): Define.
19873 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19874 Handle btrfs and cgroup file systems.
19875 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19876 Likewise.
19877
91c42559
LM
198782010-09-27 Luis Machado <luisgpm@br.ibm.com>
19879
19880 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19881 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19882
87a97932
AK
198832010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19884
19885 [BZ #12067]
19886 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19887 trying to locate the ELF header.
19888
c21cc9bc
AS
198892010-09-27 Andreas Schwab <schwab@redhat.com>
19890
19891 [BZ #11611]
19892 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19893 Mask out sign-bit copies when constructing f_fsid.
19894
315970f6
PB
198952010-09-24 Petr Baudis <pasky@suse.cz>
19896
19897 * debug/stack_chk_fail_local.c: Add missing licence exception.
19898 * debug/warning-nop.c: Likewise.
19899
1ac7a2c7
JM
199002010-09-15 Joseph Myers <joseph@codesourcery.com>
19901
19902 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19903 implementing getdents64 using getdents syscall, set d_type if
19904 __ASSUME_GETDENTS32_D_TYPE.
19905
56801c50
AS
199062010-09-16 Andreas Schwab <schwab@redhat.com>
19907
19908 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19909 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19910
dda51327
UD
199112010-09-21 Ulrich Drepper <drepper@redhat.com>
19912
19913 [BZ #12037]
19914 * posix/unistd.h: Undo change of feature selection for ftruncate from
19915 2010-01-11.
19916
8ffcee4a
UD
199172010-09-20 Ulrich Drepper <drepper@redhat.com>
19918
a545ecd9 19919 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19920 detection.
19921
e24f0a8b
AS
199222010-09-20 Andreas Schwab <schwab@redhat.com>
19923
19924 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19925 fanotify_mark.
19926 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19927
7291c56f
AS
199282010-09-14 Andreas Schwab <schwab@redhat.com>
19929
19930 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19931 variables after CHECK_SP call.
19932 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19933
bc5fb037
AS
199342010-09-13 Andreas Schwab <schwab@redhat.com>
19935 Ulrich Drepper <drepper@redhat.com>
19936
19937 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19938 re-relocationg ld.so.
19939 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19940 _dl_init_paths call.
19941 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19942 here anymore.
19943
e66e7419
UD
199442010-09-14 Ulrich Drepper <drepper@redhat.com>
19945
19946 * resolv/res_init.c (__res_vinit): Count the default server we added.
19947
c044aa75
CLT
199482010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19949 Ulrich Drepper <drepper@redhat.com>
19950
19951 [BZ #11968]
19952 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19953 (____longjmp_chk): Use %ebx for saving value across system call.
19954 Add unwind info.
19955
32cf4069
AS
199562010-09-06 Andreas Schwab <schwab@redhat.com>
19957
19958 * manual/Makefile: Don't mix pattern rules with normal rules.
19959
817328ee
AS
199602010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19961
19962 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19963 operation.
19964 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19965 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19966 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19967 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19969 Likewise.
19970
29fddf61
UD
199712010-09-04 Ulrich Drepper <drepper@redhat.com>
19972
19973 [BZ #11979]
19974 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19975 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19976
0959ffc9
UD
199772010-09-02 Ulrich Drepper <drepper@redhat.com>
19978
19979 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19980 * sysdeps/x86_64/addmul_1.S: Likewise.
19981 * sysdeps/x86_64/lshift.S: Likewise.
19982 * sysdeps/x86_64/mul_1.S: Likewise.
19983 * sysdeps/x86_64/rshift.S: Likewise.
19984 * sysdeps/x86_64/sub_n.S: Likewise.
19985 * sysdeps/x86_64/submul_1.S: Likewise.
19986
ece29840
ST
199872010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19988
0959ffc9
UD
19989 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19990 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19991 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19992 * bits/sched.h [__need_schedparam]
ece29840 19993 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19994 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19995 (__defined_schedparam): Define to 1.
ece29840
ST
19996 (__sched_param): New structure, identical to sched_param.
19997 (__need_schedparam): Undefine.
19998
e53a31fe
MF
199992010-08-31 Mike Frysinger <vapier@gentoo.org>
20000
fdc0c10d
MF
20001 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20002 (epoll_create1): Declare.
20003
e53a31fe
MF
20004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20005
a726d796
AS
200062010-08-31 Andreas Schwab <schwab@redhat.com>
20007
20008 [BZ #7066]
20009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20010 shifting retval into place.
20011
2f3e3dc7
UD
200122010-09-01 Ulrich Drepper <drepper@redhat.com>
20013
f2933da9
UD
20014 * nis/rpcsvc/nis.h: Update copyright notice.
20015 * nis/rpcsvc/nis.x: Likewise.
20016 * nis/rpcsvc/nis_callback.h: Likewise.
20017 * nis/rpcsvc/nis_callback.x: Likewise.
20018 * nis/rpcsvc/nis_object.x: Likewise.
20019 * nis/rpcsvc/nis_tags.h: Likewise.
20020 * nis/rpcsvc/yp.h: Likewise.
20021 * nis/rpcsvc/yp.x: Likewise.
20022 * nis/rpcsvc/ypupd.h: Likewise.
20023 * nis/yp_xdr.c: Likewise.
20024 * nis/ypupdate_xdr.c: Likewise.
20025
2f3e3dc7
UD
20026 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20027 mainly the body of pmap_getport. Add parameters to specify timeouts.
20028 (pmap_getport): Use __libc_rpc_getport.
20029 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20030 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20031 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20032
f3dcc2f9
AS
200332010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20034
20035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20036 fanotify_mark.
20037
6d34eb5b
RM
200382010-08-27 Roland McGrath <roland@redhat.com>
20039
20040 * sysdeps/i386/i686/multiarch/Makefile
20041 (CFLAGS-varshift.c): New variable.
20042
9ea3de11
UD
200432010-08-27 Ulrich Drepper <drepper@redhat.com>
20044
c96d23fc
UD
20045 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20046 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20047
9ea3de11
UD
20048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20049
20050 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20051
623aac7f
L
200522010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20053
20054 * sysdeps/x86_64/strlen.S: Unroll the loop.
20055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20056 strlen-sse2 strlen-sse2-bsf.
20057 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20058 __strlen_no_bsf if bit_Slow_BSF is set.
20059 (__strlen_sse42): Removed.
20060 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20061 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20062
8b2b7715
RM
200632010-08-25 Roland McGrath <roland@redhat.com>
20064
20065 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20066 * sysdeps/x86_64/multiarch/varshift.c: New file.
20067 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20068 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20069 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20070 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20071
e73015f2
L
200722010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20073
20074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20075 strlen-sse2 strlen-sse2-bsf.
20076 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20077 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20078 (__strlen_sse2): Removed.
20079 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20080 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20082 bit_Slow_BSF for Atom.
20083 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20084 (index_Slow_BSF): Define.
20085 (HAS_SLOW_BSF): Define.
20086
df24a73e
UD
200872010-08-25 Ulrich Drepper <drepper@redhat.com>
20088
20089 [BZ #10851]
20090 * resolv/res_init.c (__res_vinit): When no server address at all
20091 is given default to loopback.
20092
f2ac4868
RM
200932010-08-24 Roland McGrath <roland@redhat.com>
20094
09055553
RM
20095 * configure.in: Remove config-name.h generation.
20096 * configure: Regenerated.
20097 * config-name.in: File removed.
20098 * scripts/config-uname.sh: New file.
20099 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20100 ($(objdir)config-name.h): New target.
20101
f2ac4868
RM
20102 * sunrpc/rpc_parse.h: Avoid nested comment.
20103
73f27d5e
RH
201042010-08-24 Richard Henderson <rth@redhat.com>
20105 Ulrich Drepper <drepper@redhat.com>
20106 H.J. Lu <hongjiu.lu@intel.com>
20107
20108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20110 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20111 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20112 _mm_alignr_epi8 with _mm_loadu_si128.
20113 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20114 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20115 (__m128i_shift_right): Removed.
20116 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20117 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20118 * sysdeps/x86_64/multiarch/varshift.h: New file.
20119 * sysdeps/x86_64/multiarch/varshift.S: New file.
20120
84b9230c
MF
201212010-08-21 Mike Frysinger <vapier@gentoo.org>
20122
20123 * configure.in: Move assembler checks to before sysdep dir checking.
20124
9bbd0ddc
PB
201252010-08-20 Petr Baudis <pasky@suse.cz>
20126
20127 * LICENSES: Sync the sunrpc license.
20128
9da4bb31
UD
201292010-08-19 Ulrich Drepper <drepper@redhat.com>
20130
a7ab6ec8
UD
20131 * sunrpc/auth_des.c: Update copyright notice once again.
20132 * sunrpc/auth_none.c: Likewise.
20133 * sunrpc/auth_unix.c: Likewise.
20134 * sunrpc/authdes_prot.c: Likewise.
20135 * sunrpc/authuxprot.c: Likewise.
20136 * sunrpc/bindrsvprt.c: Likewise.
20137 * sunrpc/clnt_gen.c: Likewise.
20138 * sunrpc/clnt_perr.c: Likewise.
20139 * sunrpc/clnt_raw.c: Likewise.
20140 * sunrpc/clnt_simp.c: Likewise.
20141 * sunrpc/clnt_tcp.c: Likewise.
20142 * sunrpc/clnt_udp.c: Likewise.
20143 * sunrpc/clnt_unix.c: Likewise.
20144 * sunrpc/des_crypt.c: Likewise.
20145 * sunrpc/des_soft.c: Likewise.
20146 * sunrpc/get_myaddr.c: Likewise.
20147 * sunrpc/getrpcport.c: Likewise.
20148 * sunrpc/key_call.c: Likewise.
20149 * sunrpc/key_prot.c: Likewise.
20150 * sunrpc/openchild.c: Likewise.
20151 * sunrpc/pm_getmaps.c: Likewise.
20152 * sunrpc/pm_getport.c: Likewise.
20153 * sunrpc/pmap_clnt.c: Likewise.
20154 * sunrpc/pmap_prot.c: Likewise.
20155 * sunrpc/pmap_prot2.c: Likewise.
20156 * sunrpc/pmap_rmt.c: Likewise.
20157 * sunrpc/rpc/auth.h: Likewise.
20158 * sunrpc/rpc/auth_unix.h: Likewise.
20159 * sunrpc/rpc/clnt.h: Likewise.
20160 * sunrpc/rpc/des_crypt.h: Likewise.
20161 * sunrpc/rpc/key_prot.h: Likewise.
20162 * sunrpc/rpc/netdb.h: Likewise.
20163 * sunrpc/rpc/pmap_clnt.h: Likewise.
20164 * sunrpc/rpc/pmap_prot.h: Likewise.
20165 * sunrpc/rpc/pmap_rmt.h: Likewise.
20166 * sunrpc/rpc/rpc.h: Likewise.
20167 * sunrpc/rpc/rpc_des.h: Likewise.
20168 * sunrpc/rpc/rpc_msg.h: Likewise.
20169 * sunrpc/rpc/svc.h: Likewise.
20170 * sunrpc/rpc/svc_auth.h: Likewise.
20171 * sunrpc/rpc/types.h: Likewise.
20172 * sunrpc/rpc/xdr.h: Likewise.
20173 * sunrpc/rpc_clntout.c: Likewise.
20174 * sunrpc/rpc_cmsg.c: Likewise.
20175 * sunrpc/rpc_common.c: Likewise.
20176 * sunrpc/rpc_cout.c: Likewise.
20177 * sunrpc/rpc_dtable.c: Likewise.
20178 * sunrpc/rpc_hout.c: Likewise.
20179 * sunrpc/rpc_main.c: Likewise.
20180 * sunrpc/rpc_parse.c: Likewise.
20181 * sunrpc/rpc_parse.h: Likewise.
20182 * sunrpc/rpc_prot.c: Likewise.
20183 * sunrpc/rpc_sample.c: Likewise.
20184 * sunrpc/rpc_scan.c: Likewise.
20185 * sunrpc/rpc_scan.h: Likewise.
20186 * sunrpc/rpc_svcout.c: Likewise.
20187 * sunrpc/rpc_tblout.c: Likewise.
20188 * sunrpc/rpc_util.c: Likewise.
20189 * sunrpc/rpc_util.h: Likewise.
20190 * sunrpc/rpcinfo.c: Likewise.
20191 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20192 * sunrpc/rpcsvc/key_prot.x: Likewise.
20193 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20194 * sunrpc/rpcsvc/mount.x: Likewise.
20195 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20196 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20197 * sunrpc/rpcsvc/rex.x: Likewise.
20198 * sunrpc/rpcsvc/rstat.x: Likewise.
20199 * sunrpc/rpcsvc/rusers.x: Likewise.
20200 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20201 * sunrpc/rpcsvc/spray.x: Likewise.
20202 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20203 * sunrpc/rtime.c: Likewise.
20204 * sunrpc/svc.c: Likewise.
20205 * sunrpc/svc_auth.c: Likewise.
20206 * sunrpc/svc_authux.c: Likewise.
20207 * sunrpc/svc_raw.c: Likewise.
20208 * sunrpc/svc_run.c: Likewise.
20209 * sunrpc/svc_simple.c: Likewise.
20210 * sunrpc/svc_tcp.c: Likewise.
20211 * sunrpc/svc_udp.c: Likewise.
20212 * sunrpc/svc_unix.c: Likewise.
20213 * sunrpc/svcauth_des.c: Likewise.
20214 * sunrpc/xcrypt.c: Likewise.
20215 * sunrpc/xdr.c: Likewise.
20216 * sunrpc/xdr_array.c: Likewise.
20217 * sunrpc/xdr_float.c: Likewise.
20218 * sunrpc/xdr_mem.c: Likewise.
20219 * sunrpc/xdr_rec.c: Likewise.
20220 * sunrpc/xdr_ref.c: Likewise.
20221 * sunrpc/xdr_sizeof.c: Likewise.
20222 * sunrpc/xdr_stdio.c: Likewise.
20223
9da4bb31
UD
20224 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20225 handling.
20226
bdaa77bc
AS
202272010-08-19 Andreas Schwab <schwab@redhat.com>
20228
20229 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20230
fe2f79db
LM
202312010-08-19 Luis Machado <luisgpm@br.ibm.com>
20232
20233 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20234 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20235 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20236 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20237 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20238 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20239 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20240 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20241 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20242 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20243 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20244 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20245 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20246 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20247
b9b42ee0
AB
202482010-07-26 Anton Blanchard <anton@samba.org>
20249
20250 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20251 * malloc/arena.c (heap_trim): Likewise.
20252
1c06ba31
UD
202532010-08-16 Ulrich Drepper <drepper@redhat.com>
20254
20255 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20256 here. Not...
20257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20258 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20259
f8392f40
L
202602010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20261
20262 * sysdeps/i386/elf/Makefile: New file.
20263
3162f12e
AS
202642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20265
20266 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20267 from fanotify_init.
20268 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20269 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20270
28c90b2c
UD
202712010-08-15 Ulrich Drepper <drepper@redhat.com>
20272
20273 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20274 of strncasecmp_l.
1feccb6c 20275 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20276
ca6bb004
UD
202772010-08-14 Ulrich Drepper <drepper@redhat.com>
20278
e9f82e0d
UD
20279 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20280 strncase_l-nonascii.
20281 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20282 Add strncase_l-ssse3.
20283 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20284 * sysdeps/x86_64/strcmp.S: Likewise.
20285 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20286 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20287 * sysdeps/x86_64/strncase.S: New file.
20288 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20289 * sysdeps/x86_64/strncase_l.S: New file.
20290 * string/Makefile (strop-tests): Add strncasecmp.
20291 * string/test-strncasecmp.c: New file.
20292
20293 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20294 warning.
20295
ca6bb004
UD
20296 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20297 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20298
052fa7b3
AS
202992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20300
20301 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20302
962dba78
UD
203032010-08-12 Ulrich Drepper <drepper@redhat.com>
20304
20305 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20306 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20307 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20308
bebff237
AM
203092010-05-01 Alan Modra <amodra@gmail.com>
20310
20311 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20312 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20313 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20314 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20315 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20316 tidying. Don't tail-call __sigjmp_save for static lib.
20317 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20318 save location.
20319 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20320 (CALL_MCOUNT): Add eh info, and nop after bl.
20321 (TAIL_CALL_SYSCALL_ERROR): New macro.
20322 (PSEUDO_RET): Use it.
20323 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20324 Correct save location of integer regs and cr.
20325 (_dl_profile_resolve): Correct cr save location. Delete nops
20326 after bl when SHARED. Reduce cfi size a little by better
20327 placement of cfi directives.
20328 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20329 make a stack frame. Instead use parm save area as a temp.
20330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20331 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20333 Don't make a stack frame for parent, use parm save area.
20334 Increase child stack frame to 112 bytes. Don't save unused reg,
20335 and adjust reg usage. Set up cfi on error recovery and
20336 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20338 (__makecontext): Add dummy nop after jump to exit.
20339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20340 Use correct parm save area and cr save, reduce stack frame.
20341 Correct cfi for possible PSEUDO_RET frame setup.
20342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20343 Branch to local label emitted by PSEUDO_RET rather than
20344 __syscall_error.
20345
02637374
AS
203462010-08-12 Andreas Schwab <schwab@redhat.com>
20347
20348 [BZ #11904]
20349 * locale/programs/locale.c (print_assignment): New function.
20350 (show_locale_vars): Use it.
20351
c3e2f19b
UD
203522010-08-11 Ulrich Drepper <drepper@redhat.com>
20353
3cdaa6ad
UD
20354 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20355 field.
20356 (struct statfs64): Likewise.
20357 (_STATFS_F_FLAGS): Define.
20358 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20360 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20361 (ST_VALID): Define locally.
20362 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20363 __statvfs_getflags, use the provided value.
20364 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20365 __ASSUME_STATFS_F_FLAGS.
20366
754f7da3
UD
20367 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20368
10b3bedc
UD
20369 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20370 Add sys/fanotify.h.
20371 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20372 fanotify_mask for GLIBC_2.13.
20373 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20374 fanotify_init and fanotify_mark.
20375 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20376 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20377
c08fb0d7
UD
20378 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20379 Add prlimit.
20380 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20381 prlimit64 for GLIBC_2.13.
20382 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20383 prlimit64.
20384 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20385 syscall.
20386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20387 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20388 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20389 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20391 add prlimit alias.
20392 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20393
15bac72b
UD
20394 [BZ #11903]
20395 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20396 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20397
c3e2f19b
UD
20398 * nss/Makefile: Add rules to build and run tst-nss-test1.
20399 * shlib-versions: Add entry for libnss_test1.
20400 * nss/nss_test1.c: New file.
20401 * nss/tst-nss-test1.c: New file.
20402
20403 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20404 (__nss_configure_lookup): Set appropriate entry in
20405 __nss_configure_lookup to true.
20406 * nss/nsswitch.h: Define enum with indeces of databases in
20407 databases and __nss_database_custom arrays. Declare
20408 __nss_database_custom.
20409 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20410 to avoid using nscd when custom rules are installed.
20411 * nss/getXXbyYY_r.c: Likewise.
20412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20413
20414 * nss/nss_files/files-parse.c: Whitespace fixes.
20415
f15ce4d8
UD
204162010-08-09 Ulrich Drepper <drepper@redhat.com>
20417
20418 [BZ #11883]
20419 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20420 * posix/fnmatch_loop.c: Likewise.
20421
d22e4cc9
AK
204222010-07-17 Andi Kleen <ak@linux.intel.com>
20423
20424 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20425 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20426 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20427 * Versions.def [GLIBC_2.13]: Add.
20428
805bc17d
UD
204292010-08-06 Ulrich Drepper <drepper@redhat.com>
20430
20431 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20432 Also fail if tpwd after pwuid call is NULL.
20433
5a42321d
ST
204342010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20435
20436 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20437 when converting to ms.
20438
fd3ebeda
ST
204392010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20440
20441 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20442 EOPNOTSUPP errors with ENOTTY.
20443 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20444 EOPNOTSUPP errors with ENOTTY.
20445
73507d3a
UD
204462010-07-31 Ulrich Drepper <drepper@redhat.com>
20447
20448 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20449 Add strcasecmp_l-ssse3.
20450 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20451 strcasecmp.
20452 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20453 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20454 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20455
fe36dd02
UD
204562010-07-30 Ulrich Drepper <drepper@redhat.com>
20457
66f6765a
UD
20458 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20459
42e08a54
UD
20460 * string/Makefile (strop-tests): Add strcasecmp.
20461 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20462 strcasecmp_l-nonascii.
20463 (gen-as-const-headers): Add locale-defines.sym.
20464 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20465 * sysdeps/x86_64/strcasecmp.S: New file.
20466 * sysdeps/x86_64/strcasecmp_l.S: New file.
20467 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20468 * sysdeps/x86_64/locale-defines.sym: New file.
20469 * string/test-strcasecmp.c: New file.
20470
fe36dd02
UD
20471 * string/test-strcasestr.c: Test both ends of the range of characters.
20472 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20473
48cbc0d6
RM
204742010-07-29 Roland McGrath <roland@redhat.com>
20475
76e6d6bc 20476 [BZ #11856]
48cbc0d6
RM
20477 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20478
880113d9
UD
204792010-07-27 Ulrich Drepper <drepper@redhat.com>
20480
20481 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20482 for ld.so.
20483
deb9cabb
AS
204842010-07-27 Andreas Schwab <schwab@redhat.com>
20485
20486 * manual/memory.texi (Malloc Tunable Parameters): Document
20487 M_PERTURB.
20488
1c7570ff
RM
204892010-07-26 Roland McGrath <roland@redhat.com>
20490
20491 [BZ #11840]
20492 * configure.in (-fgnu89-inline check): Set and substitute
20493 gnu89_inline, not libc_cv_gnu89_inline.
20494 * configure: Regenerated.
20495 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20496
24fb0f88
UD
204972010-07-26 Ulrich Drepper <drepper@redhat.com>
20498
20499 * string/test-strnlen.c: New file.
20500 * string/Makefile (strop-tests): Add strnlen.
20501 * string/tester.c (test_strnlen): Add a few more test cases.
20502 * string/tst-strlen.c: Better error reporting.
20503
20504 * sysdeps/x86_64/strnlen.S: New file.
20505
8e96b93a
UD
205062010-07-24 Ulrich Drepper <drepper@redhat.com>
20507
20508 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20509 lower-latency instructions.
20510
dbc676d4
UD
205112010-07-23 Ulrich Drepper <drepper@redhat.com>
20512
20513 * string/test-strcasestr.c: New file.
20514 * string/test-strstr.c: New file.
20515 * string/Makefile (strop-tests): Add strstr and strcasestr.
20516 * string/str-two-way.h: Don't undefine MAX.
20517 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20518
f6a31e0e
AS
205192010-07-21 Andreas Schwab <schwab@redhat.com>
20520
20521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20522 strcasestr-nonascii.
20523 (CFLAGS-strcasestr-nonascii.c): Define.
20524 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20525 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20526 Remove unused attribute.
20527
5dbc3b6c
RM
205282010-07-20 Roland McGrath <roland@redhat.com>
20529
20530 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20531 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20532 ld.so.cache was broken. With it, there is no way to disable dsocaps
20533 like LD_HWCAP_MASK can disable hwcaps.
20534
23d101d8
EPM
205352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20536
20537 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20538
cc9f2e47
UD
205392010-07-16 Ulrich Drepper <drepper@redhat.com>
20540
20541 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20542 call in strcasestr.
20543 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20544 __strcasestr_sse42_nonascii.
20545 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20546 strcasestr-nonascii.c.
20547 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20548
77c1b069
LM
205492010-06-15 Luis Machado <luisgpm@br.ibm.com>
20550
20551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20552 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20553 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20554 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20555
440566c3
UD
205562010-07-09 Ulrich Drepper <drepper@redhat.com>
20557
20558 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20559 fcntl.
20560
5be9d05d
AS
205612010-07-06 Andreas Schwab <schwab@redhat.com>
20562
c30b7ee2 20563 [BZ #11577]
5be9d05d
AS
20564 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20565 dl_signal_cerror.
20566
8a492a67
UD
205672010-07-06 Ulrich Drepper <drepper@redhat.com>
20568
20569 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20570 _PC_PIPE_BUF using F_GETPIPE_SZ.
20571
713df3d5
RM
205722010-07-05 Roland McGrath <roland@redhat.com>
20573
20574 * manual/arith.texi (Rounding Functions): Fix rint description
20575 implicit in round description.
20576
702e8f14
UD
205772010-07-02 Ulrich Drepper <drepper@redhat.com>
20578
20579 * elf/Makefile: Fix linking for a few tests to make recent linker
20580 happy.
20581
52ed8be9
AS
205822010-06-30 Andreas Schwab <schwab@redhat.com>
20583
20584 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20585 $(common-objpfx)libc_nonshared.a.
20586
f47c9a11
LM
205872010-06-21 Luis Machado <luisgpm@br.ibm.com>
20588
20589 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20590 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20591 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20592 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20593 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20594 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20595 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20596 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20611 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20612 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20613 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20614 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20615 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20616 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20617 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20618 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20619 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20620 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20621 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20622 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20637
6fb8cbcb
L
206382010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20639
20640 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20641 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20642 * string/memmove.c (memmove): Renamed to ...
20643 (MEMMOVE): ...this. Default to memmove.
20644 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20645 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20646 (END_CHK): Define.
20647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20648 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20649 mempcpy-ssse3-back memmove-ssse3-back.
20650 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20651 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20653 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20654 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20655 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20656 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20657 * sysdeps/x86_64/multiarch/memmove.c: New file.
20658 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20659 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20660 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20661 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20662 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20663 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20664 Define.
20665 (index_Fast_Copy_Backward): Define.
20666 (HAS_ARCH_FEATURE): Define.
20667 (HAS_FAST_REP_STRING): Define.
20668 (HAS_FAST_COPY_BACKWARD): Define.
20669
4e733bac 206702010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20671
20672 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20673 Restore proper fallback handling.
20674
63c4ed22
UD
206752010-06-19 Ulrich Drepper <drepper@redhat.com>
20676
ac2b484c
UD
20677 [BZ #11701]
20678 * posix/group_member.c (__group_member): Correct checking loop.
20679
63c4ed22
UD
20680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20681 OOM in getpwuid_r correctly. Return error number when the caller
20682 should return, otherwise -1.
20683 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20684 call returning > 0 value.
20685 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20686
765ade4b
AS
206872010-06-07 Andreas Schwab <schwab@redhat.com>
20688
20689 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20690 libc_nonshared.a from targets in modules-names.
20691
80da2e09
KS
206922010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20693
20694 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20695 requires it.
20696
158db122
LM
206972010-06-10 Luis Machado <luisgpm@br.ibm.com>
20698
20699 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20700 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20701 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20703
caa78cf8
AS
207042010-06-02 Andreas Schwab <schwab@redhat.com>
20705
20706 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20707
b2ef2c01
UD
207082010-06-14 Ulrich Drepper <drepper@redhat.com>
20709
20710 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20711 and F_GETPIPE_SZ.
20712 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20713 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20716 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20718
fbd643b6
RM
207192010-06-14 Roland McGrath <roland@redhat.com>
20720
20721 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20722
f32f2869
JJ
207232010-06-07 Jakub Jelinek <jakub@redhat.com>
20724
20725 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20726 __REDIRECT followed by __THROW.
20727 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20728 * posix/getopt.h (getopt): Likewise.
20729
2a50c078
EPM
207302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20731
20732 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20733 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20734 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20735 in AT_FLAGS.
20736 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20737 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20738
eb5ad2eb
LM
207392010-05-28 Luis Machado <luisgpm@br.ibm.com>
20740
20741 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20742
3c88fe1e
L
207432010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20744
20745 [BZ #11640]
20746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20747 Properly check family and model.
20748
d2f73151
TY
207492010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20750
20751 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20752
ebd2e13d
LM
207532010-05-24 Luis Machado <luisgpm@br.ibm.com>
20754
20755 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20756
b32b8b45
UD
207572010-05-21 Ulrich Drepper <drepper@redhat.com>
20758
20759 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20760 symbol reference.
20761
9acbe24d
AS
207622010-05-19 Andreas Schwab <schwab@redhat.com>
20763
20764 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20765 symbol reference.
20766
f0ccf6ea
AS
207672010-05-21 Andreas Schwab <schwab@redhat.com>
20768
3d04ff3a
AS
20769 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20770 and internal_recvmmsg.
20771 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20772 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20773 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20774 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20775
f0ccf6ea
AS
20776 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20777 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20778 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20779
5b08ac57
AS
207802010-05-20 Andreas Schwab <schwab@redhat.com>
20781
20782 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20783
4828935d
LM
207842010-05-17 Luis Machado <luisgpm@br.ibm.com>
20785
20786 POWER7 optimizations.
20787 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20788 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20789
373d545e
UD
207902010-05-19 Ulrich Drepper <drepper@redhat.com>
20791
20792 * version.h: Update for 2.13 development version.
20793
21a2b1ae
AS
207942010-05-12 Andrew Stubbs <ams@codesourcery.com>
20795
20796 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20797 exceptions. Return 0.
20798
3f7dcb2b
RM
207992010-05-07 Roland McGrath <roland@redhat.com>
20800
20801 * elf/ldconfig.c (main): Add a const.
20802
5f24d53a 208032010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20804
a160f8d8
UD
20805 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20806 (args_options): Add no-idn option.
20807 (ahosts_keys_int): Add idn_flags to ai_flags.
20808 (parse_option): Handle 'i' option to clear idn_flags.
20809
5f24d53a
UD
20810 * malloc/malloc.c (_int_free): Possible race in the most recently
20811 added check. Only act on the data if no current modification
20812 happened.
265bb1ce
UD
20813
20814See ChangeLog.17 for earlier changes.