]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add __syscall_slong_t and __syscall_ulong_t
[thirdparty/glibc.git] / ChangeLog
CommitLineData
de986b56
L
12012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2
3 * bits/types.h (__syscall_slong_t): New type.
4 (__syscall_ulong_t): Likewise.
5
6 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
7 (__SYSCALL_ULONG_TYPE): Likewise.
8 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9 (__SYSCALL_SLONG_TYPE): Likewise.
10 (__SYSCALL_ULONG_TYPE): Likewise.
11 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12 (__SYSCALL_SLONG_TYPE): Likewise.
13 (__SYSCALL_ULONG_TYPE): Likewise.
14 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15 (__SYSCALL_SLONG_TYPE): Likewise.
16 (__SYSCALL_ULONG_TYPE): Likewise.
17
85736dc7
L
182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19
20 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21 Add sigaltstack-offsets.sym.
22 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23 <sigaltstack-offsets.h>.
24 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25 longjmp_msg pointer.
26 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28 signal stack.
29 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30
cc03b296
JM
312012-05-15 Joseph Myers <joseph@codesourcery.com>
32
a9538892
JM
33 * elf/stackguard-macros.h: Remove file.
34 * sysdeps/generic/stackguard-macros.h: New file.
35 * sysdeps/i386/stackguard-macros.h: Likewise.
36 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44 <elf/stackguard-macros.h>.
45
cc03b296
JM
46 [BZ #14109]
47 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48 __aligned__ in attribute.
49 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50 (gregset_t): Likewise.
51
93171016
L
522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
53
54 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
55 * sysdeps/x86_64/64/Implies-after: Here. New file.
56 * sysdeps/x86_64/x32/Implies-after: New file.
57
d86813a0
L
582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
59
60 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61 and access return value for _dl_profile_fixup. Use R10_LP to
62 load frame size.
63
2953ec75
L
642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65
66 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67
3b550e9e
L
682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69
70 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71 * sysdeps/x86_64/x32/sysdep.h: New file.
72
eda41706
L
732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74
75 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76 * sysdeps/x86_64/setjmp.S: Likewise.
77
9ea01d93
AZ
782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79
80 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
83 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
84 remove unused global constant.
85
02a91938
CM
862012-05-15 Chris Metcalf <cmetcalf@tilera.com>
87
88 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
89 include of <not-cancel.h>.
90
6540185f
RM
912012-05-15 Roland McGrath <roland@hack.frob.com>
92
93 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
94
509072a0
AJ
952012-05-15 Jeff Law <law@redhat.com>
96 Andreas Jaeger <aj@suse.de>
97
98 [BZ #13594]
99 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
100 out from...
101 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
102 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
103 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
104 code changing __hst_map_handle.map.
105
ba75122d
RM
1062012-05-15 Roland McGrath <roland@hack.frob.com>
107
108 * configure.in (sysnames): Look for Implies-before and Implies-after
109 files.
110 * configure: Regenerated.
111
890d8bd8
L
1122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
113
114 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
115 8-byte data alignment with LP_SIZE alignment.
116
f6ee6623
L
1172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
118
119 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
120 into R10_LP.
121
ea2626f6
L
1222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
123
124 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
125
085f715e
L
1262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
127
128 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
129 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
130 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
131 Likewise.
132 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
133
be8498fc
L
1342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
135
136 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
137 (stackinfo_sub_sp): Likewise.
138
70bc83b9
L
1392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
140
141 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
142 RAX_LP.
143
9bc0b730
L
1442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
145
146 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
147 into R*_LP.
148
6d2850e7
L
1492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
150
151 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
152 sizes into R*_LP.
153
3cb84561
L
1542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
155
156 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
157
54e2ed81
L
1582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
159
160 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
161 into R11_LP and load __x86_64_shared_cache_size_half into
162 R8_LP.
163
8a17f349
L
1642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
165
166 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
167 R8_LP.
168
777b1eea
AZ
1692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
170
171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
172 logb for POWER7.
173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
174 logbf for POWER7.
175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
176 logbl for POWER7.
177 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
178 powerpc32/power7/fpu/s_logb.c via #include.
179 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
180 powerpc32/power7/fpu/s_logbf.c via #include.
181 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
182 powerpc32/power7/fpu/s_logbl.c via #include.
183
d20d4ac2
JM
1842012-05-15 Joseph Myers <joseph@codesourcery.com>
185
186 * README.libm: Remove file.
187
6cdef1ab
L
1882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
189
190 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
191 count for x32. Use R*_LP and omit operand-size suffix.
192
0b254d8f
L
1932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
194
195 * shlib-versions: Move x86_64-.*-linux.* entries to ...
196 * sysdeps/x86_64/64/shlib-versions: Here. New file.
197 * sysdeps/x86_64/x32/shlib-versions: New file.
198
ceb809dc
RM
1992012-05-14 Roland McGrath <roland@hack.frob.com>
200
201 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
202 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
203 Use _dl_fatal_printf instead.
204
37f1abd4
JM
2052012-05-14 Joseph Myers <joseph@codesourcery.com>
206
207 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
208 set if not set by the user. Do not allow for being unset.
209 * sysdeps/unix/sysv/linux/configure: Regenerated.
210
11de3a33
L
2112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
212
213 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
214 the `q' suffix from lea and replace .quad with ASM_ADDR.
215
e02f153a
L
2162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
217
218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
219 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
220 instead of $17.
221 (PTR_DEMANGLE): Likewise.
222
520ae0fd
L
2232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
224
225 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
226 (LP_OP): Likewise.
227 (ASM_ADDR): Likewise.
228 (RAX_LP): Likewise.
229 (RBP_LP): Likewise.
230 (RBX_LP): Likewise.
231 (RCX_LP): Likewise.
232 (RDI_LP): Likewise.
233 (RSI_LP): Likewise.
234 (RSP_LP): Likewise.
235 (R8_LP): Likewise.
236 (R9_LP): Likewise.
237 (R10_LP): Likewise.
238 (R10_LP): Likewise.
239 (R11_LP): Likewise.
240 (R12_LP): Likewise.
241 (R13_LP): Likewise.
242 (R14_LP): Likewise.
243 (R15_LP): Likewise.
244
b985be81
L
2452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
246
247 * sysdeps/x86_64/x32/dl-machine.h: New file.
248
6a4888ff
AJ
2492012-05-14 Andreas Jaeger <aj@suse.de>
250
251 * manual/Makefile (subdir): Remove export of subdir.
252 (all): Remove target.
253 (.PHONY): Remove all from list.
254 (mkinstalldirs): Remove.
255 (.PHONY): Remove installdirs from list.
256 ($(inst_infodir)/libc.info): Use make-target-directory.
257 (installdirs): Remove.
258 (subdir_%): Remove.
259 (glibc-targets): Remove.
260 (lib): Remove.
261 (stubs): Remove.
262 ($(objpfx)stubs ../po/manual.pot): Remove.
263 ($(objpfx)stamp%): Remove.
264 (make-target-directory): Remove.
265 (subdir_install): Remove.
266 (routines): Remove.
267 (aux): Remove.
268 (sources): Remove.
269 (objects): Remove.
270 (headers): Remove.
271
272 [BZ #13750]
273 * manual/.gitignore: Remove, it's not needed anymore.
274 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
275 all files in it.
276 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
277 directory.
278 (texis): Renamed to $(objpfx)texis.
279 (texis-path): New, contains path to generated files.
280 (chapters.%): Use texis-path for complete path, add extra argument
281 libc-texinfo.sh.
282 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
283 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
284 (summary,texi, stamp-summary): Use complete path of
285 files. Generate files in build dir.
286 (dir-add.texi): Build in build dir.
287 (libm-err.texi,stamp-libm-err): Likewise.
288 (version.texi, stamp-version): Likewise.
289 (.%c.texi): Likewise.
290 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
291 (mostlyclean): Remove target.
292 (realclean): Remove target.
293 (generated): Add new variable with contents from mostlyclean and
294 realclean, remove entries duplicated in common-mostlyclean, add
295 stamp-libm-err and stamp-version.
296 (generated-dirs): Add libc directory.
297 ($(inst_infodir)/libc.info): Install files from build dir.
298
299 * manual/install.texi (Configuring and compiling): Adjust since
300 the info files are not part of the tar ball anymore.
301
7ac77294
AJ
3022012-05-14 Andreas Jaeger <aj@suse.de>
303
304 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
305 variable.
306
ffb7875d
JM
3072012-05-14 Joseph Myers <joseph@codesourcery.com>
308
309 [BZ #13717]
310 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
311 to 2.2.0 where earlier.
312 * sysdeps/unix/sysv/linux/configure: Regenerated.
313 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
314 Remove conditional code.
315 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
316 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
317 Remove conditional code.
318 [!__NR_lchown]: Likewise.
319 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
320 [__NR_lchown]: Likewise.
321 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
322 comment referencing __ASSUME_LCHOWN_SYSCALL.
323 * sysdeps/unix/sysv/linux/i386/sigaction.c
324 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
325 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
326 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
327 Remove conditional code.
328 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
329 (__protocol_available): Remove #if 0 code.
330 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
331 conditional code.
332 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
333 * sysdeps/unix/sysv/linux/kernel-features.h
334 (__ASSUME_GETCWD_SYSCALL): Don't define.
335 (__ASSUME_REALTIME_SIGNALS): Likewise.
336 (__ASSUME_PREAD_SYSCALL): Likewise.
337 (__ASSUME_PWRITE_SYSCALL): Likewise.
338 (__ASSUME_POLL_SYSCALL): Likewise.
339 (__ASSUME_LCHOWN_SYSCALL): Likewise.
340 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
341 non-SPARC.
342 (__ASSUME_SIOCGIFNAME): Don't define.
343 (__ASSUME_MSG_NOSIGNAL): Likewise.
344 (__ASSUME_SENDFILE): Define unconditionally.
345 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
346 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
347 conditional code.
348 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
349 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
350 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
351 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
352 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
353 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
354 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
356 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
357 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
359 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
360 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
362 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
365 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
366 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
368 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
369 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
371 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
372 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
374 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
377 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
379 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
380 Remove conditional code.
381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
382 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
383 Remove conditional code.
384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
385 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
386 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
387 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
388 Remove conditional code.
389 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
390 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
391 Remove conditional code.
392 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
393 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
394 Remove conditional code.
395 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
396 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
397 Remove conditional code.
398 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
399 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
400 Remove conditional code.
401 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
402 * sysdeps/unix/sysv/linux/sh/pwrite64.c
403 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
404 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
405 * sysdeps/unix/sysv/linux/sigaction.c
406 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
407 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
408 * sysdeps/unix/sysv/linux/sigpending.c
409 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
410 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
411 * sysdeps/unix/sysv/linux/sigprocmask.c
412 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
413 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
414 * sysdeps/unix/sysv/linux/sigsuspend.c
415 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
416 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
417 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
418 (__libc_missing_rt_sigs): Remove.
419 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
420 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
421 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
422 Remove conditional code.
423 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
424 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
425 return 1.
426 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
427 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
428 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
429 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
430
1bfb7291
AJ
4312012-05-14 Andreas Jaeger <aj@suse.de>
432
caae5a81
AJ
433 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
434 it's not used in glibc.
435 (__coshm1): Likewise.
436 (__acosh1p): Likewise.
437 (__sgn): Likewise.
438
1bfb7291
AJ
439 * manual/string.texi (Copying and Concatenation): Add missing
440 variable in concat example.
441 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
442
c044d724
L
4432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
444
144c5467 445 [BZ #14103]
c044d724
L
446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
447 __builtin_clzl with __builtin_clzll.
448
2523c62b
L
4492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
450
451 [BZ #14104]
452 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
453 libc_freeres_ptr.
454
d7bb4c42
LD
4552012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
456
457 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
458 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
459 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
460 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
461
9dc4e1fb
MF
4622012-05-14 Mike Frysinger <vapier@gentoo.org>
463
464 * NEWS: Update ia64 info.
465
c7df0112
AS
4662012-05-12 Andreas Schwab <schwab@linux-m68k.org>
467
468 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
469 used as bcopy.
470
dc70356c
TS
4712012-05-12 Thomas Schwinge <thomas@codesourcery.com>
472
473 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
474 * sysdeps/unix/syscalls.list (dup3): Likewise.
475 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
476 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
477
9fb1a21f
L
4782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
479
480 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
481 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
482
4822a2a5
L
4832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
484
485 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
486 thread pointer.
487 (TLS_IE): Use mov/add instead of movq/addq to load thread
488 pointer.
489 (TLS_GD_PREFIX): New.
490 (TLS_GD): Use it.
491
842b81d6
DM
4922012-05-11 David S. Miller <davem@davemloft.net>
493
494 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
495 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
496 (_FPU_SETCW): Likewise.
497
1cf463cd
L
4982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
499
500 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
501 is 32-byte aligned.
502
60cc4a18
AS
5032012-05-11 Andreas Schwab <schwab@linux-m68k.org>
504
505 [BZ #11837]
506 * iconvdata/gb18030.c: Update tables.
507 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
508 characters specially.
509 (BODY for TO_LOOP): Add encoding of missing ranges.
510
febb44a4
TS
5112012-05-11 Thomas Schwinge <thomas@codesourcery.com>
512
513 [BZ #13673]
514 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
515 * sysdeps/mach/hurd/dup3.c: Likewise.
516 * sysdeps/mach/hurd/readlinkat.c: Likewise.
517 * sysdeps/powerpc/memmove.c:: Likewise.
518
0a10fb9e
L
5192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
520
521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
522 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
523
df8a552f
L
5242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
525
526 * elf/elf.h (R_X86_64_RELATIVE64): New.
527 (R_X86_64_NUM): Updated.
528 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
529 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
530 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
531 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
532 tst-quad1pie tst-quad2pie
533 (modules-names): Add tst-quadmod1 tst-quadmod2.
534 ($(objpfx)tst-quad1): New dependency.
535 ($(objpfx)tst-quad2): Likewise.
536 ($(objpfx)tst-quad1pie): Likewise.
537 ($(objpfx)tst-quad2pie): Likewise.
538 * sysdeps/x86_64/tst-quad1.c: New file.
539 * sysdeps/x86_64/tst-quad1pie.c: New file.
540 * sysdeps/x86_64/tst-quad2.c: Likewise.
541 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
542 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
543 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
544 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
545 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
546
f34d6f84
ST
5472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
548
f42d41d1
ST
549 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
550 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
551 * streams/stropts.h (t_scalar_t): Define type.
552
3c3571fc
ST
553 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
554 (_PATH_PRESERVE): Set to "/var/lib".
555 (_PATH_RWHODIR): Set to "/var/spool/rwho".
556
61f06bd3
ST
557 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
558 instead of int.
559
918d4d71
ST
560 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
561 if __dir_mkfile succeeded.
562
f34d6f84
ST
563 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
564 checking for _hurd_dtablesize. Unlock it right after having
565 finished _hurd_dtable allocation.
566
10589b4a
TS
5672012-05-10 Thomas Schwinge <thomas@schwinge.name>
568
674cdbc7
TS
569 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
570 * sysdeps/mach/hurd/configure: Regenerated.
571 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
572 special-casing to...
573 * sysdeps/gnu/configure.in: ... this new file.
574 * sysdeps/unix/sysv/linux/configure: Regenerated.
575 * sysdeps/gnu/configure: New generated file.
576
8e41b99f
TS
577 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
578 for Linux: use nsec instead of usec, as well as:
579 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
580 members of type struct timespec.
581 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
582 New macros.
583 (struct stat64): Likewise.
584 (_STATBUF_ST_NSEC): New macro.
585 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
586
10589b4a
TS
587 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
588 __strtoul_internal rather than strtoul.
589
63643c85
PT
5902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
591
592 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
593 and reject them.
594
3faebe6a
ST
5952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
596
597 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
598 which preserves existing values.
599 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
600
c6474b07
PT
6012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
602
603 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
604 TIMEOUT values. Return EINVAL for NFDS values either negative or
605 greater than FD_SETSIZE.
606
1043890b
ST
6072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
608
609 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
610 allocated, call __vm_protect to finish enabling the existing space, and
611 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
612 allocate the remainder.
613
37ed8b9b
PT
6142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
615
616 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
617 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
618
db653660
ST
6192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
620
37ed8b9b
PT
621 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
622 sysdeps/mach/hurd/readlink.c.
b29d4053 623
db653660
ST
624 * posix/tst-sysconf.c (posix_options): Only use
625 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
626 _POSIX_SYNCHRONIZED_IO when they are defined
627 * sysdeps/mach/hurd/bits/posix_opt.h:
628 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
629 (_XOPEN_REALTIME): Undefine macro.
630 (_XOPEN_REALTIME_THREADS): Undefine macro.
631 (_XOPEN_SHM): Undefine macro.
632 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
633 macro to -1.
634 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
635 macro to -1.
636 (_POSIX_ASYNC_IO): Undefine macro.
637 (_POSIX_PRIORITIZED_IO): Undefine macro.
638 (_POSIX_SPIN_LOCKS): Define macro to -1.
639
ee16e894
ST
640 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
641 SA_NODEFER, SA_RESETHAND.
642 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
643 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
644 F_DUPFD_CLOEXEC.
645
6103ae3b
TS
6462012-05-10 Thomas Schwinge <thomas@schwinge.name>
647
648 * elf/Makefile (pldd-modules): Define unconditionally.
649
80b4e5f3
TS
6502012-05-10 Thomas Schwinge <thomas@schwinge.name>
651
652 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
653
edadcbd6
ST
6542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
655
656 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
657 Return ENOENT when name is empty.
658 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
659
80694780
TS
6602012-05-10 Thomas Schwinge <thomas@schwinge.name>
661
1792c087
TS
662 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
663
80694780
TS
664 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
665
6b645f0d
ST
6662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
667
80694780
TS
668 Fix mlock in all cases except non-readable pages.
669 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
670 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 671
6b645f0d
ST
672 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
673 (__mkdir): When path is `/', just fail with EEXIST.
674 * sysdeps/mach/hurd/mkdirat.c: Likewise.
675
e468f8a3
TS
6762012-05-10 Thomas Schwinge <thomas@schwinge.name>
677
678 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
679 <sys/uio.h> (for writev).
680 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
681 and <sys/param.h> (for MIN).
682
a4186cff
PT
6832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
684
685 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
686 REQUESTED_TIME. Properly set the remaining time and return EINTR
687 if interrupted.
688
510bbf14
TS
6892012-05-10 Thomas Schwinge <thomas@schwinge.name>
690
691 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
692 Depend on against $(link-rpcuserlibs).
693
5d5722e8
ST
6942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
695
a4186cff
PT
696 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
697 (__libc_stack_end): Do not use attribute_relro.
698 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
699 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 700 to libthread-provided value.
a4186cff
PT
701 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
702 attribute_relro.
5d5722e8 703
37233df9
TS
7042012-05-10 Thomas Schwinge <thomas@schwinge.name>
705
be971a2b
TS
706 [BZ #3748]
707 * bits/libc-lock.h (__libc_once_get): New macro.
708 * sysdeps/mach/bits/libc-lock.h: Likewise.
709 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
710 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
711 instead of using implementation details.
712
37233df9
TS
713 * libio/fileops.c: Unconditionally include <kernel-features.h>.
714 * libio/freopen.c: Likewise.
715 * libio/freopen64.c: Likewise.
716 * misc/syslog.c: Likewise.
717 * nscd/connections.c: Likewise.
718 * nscd/netgroupcache.c: Likewise.
719 * sysdeps/posix/getcwd.c: Likewise.
720
38de94a5
RM
7212012-05-10 Roland McGrath <roland@hack.frob.com>
722
723 * math/w_ilogbf.c: Add #include <limits.h>.
724
67530489
ST
7252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
726
a4186cff 727 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
728 path instead of returning without unlocking.
729
67530489
ST
730 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
731 immediate-write ioctls.
732 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
733
5aa3a74a
TS
7342012-05-10 Thomas Schwinge <thomas@schwinge.name>
735
18bad2ae
TS
736 * sysdeps/mach/hurd/i386/init-first.c (init): Use
737 __builtin_frame_address instead of making assumptions about the
738 location of the return address relative to DATA. Force early load of
739 the return address.
740 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
741 __builtin_frame_address.
742
5aa3a74a
TS
743 dup3 for GNU Hurd.
744 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
745 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
746 implement dup3 and do some further code clean-ups.
747 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
748 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
749
ecd0de9a
ST
7502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
751
cd9fa985
ST
752 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
753
a4186cff
PT
754 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
755 HURD_CRITICAL_END around holding _hurd_dtable_lock.
756 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
757 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
758 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
759 d->port.lock.
802ca5a5 760
a4186cff
PT
761 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
762 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
763 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 764
bcf55240
TS
7652012-05-10 Thomas Schwinge <thomas@schwinge.name>
766
6960eb42
TS
767 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
768 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
769 definitions.
770
eb43375f
TS
771 accept4 for GNU Hurd.
772 * include/sys/socket.h (__libc_accept4): New prototype.
773 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
774 to implement __libc_accept4.
775 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
776 __libc_accept4.
777 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
778
bcf55240
TS
779 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
780 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
781 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
782 signal-defines.sym.
783
6178c55b
ST
7842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
785
a4186cff 786 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 787
6f080c2f
TS
7882012-05-10 Thomas Schwinge <thomas@schwinge.name>
789
790 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
791 assertion on O_CLOEXEC flag.
792 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
793 * hurd/intern-fd.c: Likewise.
794 * hurd/port2fd.c: Likewise.
795
bcfe3a54
ST
7962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
797
798 [BZ #3906]
799 * bits/in.h (IPV6_PKTINFO): Define new macro.
800 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
801
89c9aa49
AZ
8022012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
803
804 [BZ #13954]
805 [BZ #13955]
806 [BZ #13956]
807 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
808 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
809 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
810 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
811 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
812 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
813 * math/libm-test.inc (logb_test) : Additional logb tests.
814
021db4be
AJ
8152012-05-09 Andreas Schwab <schwab@linux-m68k.org>
816 Andreas Jaeger <aj@suse.de>
817
818 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
819 * configure: Regenerated.
820 * config.h.in (LINK_OBSOLETE_RPC): New macro.
821 * config.make.in (link-obsolete-rpc): New substituted variable.
822 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
823 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
824 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
825 (shared-only-routines): Don't set it under [link-obsolete-rpc],
826 so that libc.a contains the symbols.
827 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
828 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
829 * sunrpc/auth_none.c: Likewise.
830 * sunrpc/auth_unix.c: Likewise.
831 * sunrpc/authdes_prot.c: Likewise.
832 * sunrpc/authuxprot.c: Likewise.
833 * sunrpc/clnt_gen.c: Likewise.
834 * sunrpc/clnt_perr.c: Likewise.
835 * sunrpc/clnt_raw.c: Likewise.
836 * sunrpc/clnt_simp.c: Likewise.
837 * sunrpc/clnt_tcp.c: Likewise.
838 * sunrpc/clnt_udp.c: Likewise.
839 * sunrpc/clnt_unix.c: Likewise.
840 * sunrpc/des_crypt.c: Likewise.
841 * sunrpc/des_soft.c: Likewise.
842 * sunrpc/get_myaddr.c: Likewise.
843 * sunrpc/key_call.c: Likewise.
844 * sunrpc/key_prot.c: Likewise.
845 * sunrpc/netname.c: Likewise.
846 * sunrpc/pm_getmaps.c: Likewise.
847 * sunrpc/pm_getport.c: Likewise.
848 * sunrpc/pmap_clnt.c: Likewise.
849 * sunrpc/pmap_prot.c: Likewise.
850 * sunrpc/pmap_prot2.c: Likewise.
851 * sunrpc/pmap_rmt.c: Likewise.
852 * sunrpc/publickey.c: Likewise.
853 * sunrpc/rpc_cmsg.c: Likewise.
854 * sunrpc/rpc_common.c: Likewise.
855 * sunrpc/rpc_dtable.c: Likewise.
856 * sunrpc/rpc_prot.c: Likewise.
857 * sunrpc/rpc_thread.c: Likewise.
858 * sunrpc/rtime.c: Likewise.
859 * sunrpc/svc.c: Likewise.
860 * sunrpc/svc_auth.c: Likewise.
861 * sunrpc/svc_raw.c: Likewise.
862 * sunrpc/svc_run.c: Likewise.
863 * sunrpc/svc_tcp.c: Likewise.
864 * sunrpc/svc_udp.c: Likewise.
865 * sunrpc/svc_unix.c: Likewise.
866 * sunrpc/svcauth_des.c: Likewise.
867 * sunrpc/xcrypt.c: Likewise.
868 * sunrpc/xdr.c: Likewise.
869 * sunrpc/xdr_array.c: Likewise.
870 * sunrpc/xdr_float.c: Likewise.
871 * sunrpc/xdr_intXX_t.c: Likewise.
872 * sunrpc/xdr_mem.c: Likewise.
873 * sunrpc/xdr_rec.c: Likewise.
874 * sunrpc/xdr_ref.c: Likewise.
875 * sunrpc/xdr_sizeof.c: Likewise.
876 * sunrpc/xdr_stdio.c: Likewise.
877
b5c086a2
RM
8782012-05-10 Roland McGrath <roland@hack.frob.com>
879
880 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
881 change. Update copyright years.
882
6d74dd09
JM
8832012-05-10 Joseph Myers <joseph@codesourcery.com>
884
885 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
886
28e72501
MK
8872012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
888 Joseph Myers <joseph@codesourcery.com>
889 Paul Pluzhnikov <ppluzhnikov@google.com>
890
891 [BZ #14012]
892 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
893 requiring rpcgen.
894 [cross-compiling] (extra-libs): Likewise.
895 [cross-compiling] (extra-libs-others): Likewise.
896 [cross-compiling] (librpcsvc-routines): Likewise.
897 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
898 [cross-compiling] (omit-deps): Likewise.
899 (sunrpc-CPPFLAGS): New variable.
900 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
901 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
902 (cross-rpcgen-objs): New variable.
903 (extra-objs): Append $(cross-rpcgen-objs).
904 ($(cross-rpcgen-objs)): New rule.
905 ($(objpfx)cross-rpcgen): Likewise.
906 (rpcgen-cmd): Define to use $(built-program-file). Expand
907 comment.
908 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
909 ($(objpfx)x%.stmp): Likewise.
910 * sunrpc/proto.h [IS_IN_build] (_): Define.
911 [IS_IN_build] (_libc_intl_domainname): Likewise.
912
c8c59454
L
9132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
914
915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
916 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
917 and R_X86_64_TPOFF64.
918
6f27cd16
JM
9192012-05-10 Joseph Myers <joseph@codesourcery.com>
920
921 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
922 sysdeps/unix/sysv/syscalls.list.
923 (stime): Likewise.
924 (utime): Likewise.
925 * sysdeps/unix/sysv/syscalls.list: Remove file.
926
02467e1c
PE
9272012-05-10 Paul Eggert <eggert@cs.ucla.edu>
928
929 [BZ #3440]
930 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
931 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
932 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
933 (__LC_IDENTIFICATION): Make these macros useful in #if
934 expressions, as required by C99.
935
da392631
AS
9362012-05-10 Andreas Schwab <schwab@linux-m68k.org>
937
938 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
939 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
940 after this.
941
8115f29b
L
9422012-05-09 H.J. Lu <hongjiu.lu@intel.com>
943
944 * stdlib/longlong.h: Updated from GCC.
945
bdd74070
AJ
9462012-05-09 Andreas Jaeger <aj@suse.de>
947
edfe0dbe
AJ
948 * nscd/nscd.c (run_modes): Make named enum, reorder so that
949 default is first entry.
950 (run_mode): Set type.
951 (main): Remove informal message about syslog.
952 (options): Fix typo.
953
bcfe3a54
ST
954 [BZ #14053]
955 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 956 to asm.
bcfe3a54
ST
957 (lrint): Likewise.
958 (llrintf): Likewise.
959 (llrint): Likewise.
960 (rint): Likewise.
961 (rintf): Likewise.
962 (nearbyint): Likewise.
963 (nearbyintf): Likewise.
bdd74070 964
91d8d69e
AJ
9652012-05-09 Andreas Jaeger <aj@suse.de>
966 Pedro Alves <palves@redhat.com>
967
968 * nscd/nscd.c (run_mode): Use enum.
969 (main): Cleanup coding style issue.
970
bb90b80b
AJ
9712012-05-09 Alexandre Oliva <aoliva@redhat.com>
972 Andreas Jaeger <aj@suse.de>
973
bcfe3a54
ST
974 * nscd/nscd.c (go_background): Replaced with...
975 (run_mode): ... this.
bb90b80b 976 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
977 (options): Add -F --foreground.
978 (main): Implement it.
979 (parse_opt): Parse it.
bb90b80b 980
1a4b75a1
AJ
9812012-05-09 Andreas Jaeger <aj@suse.de>
982
983 [BZ #14083]
984 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
985 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
986 -Wconversion warning.
987 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
988 Likewise.
989
b1cc2472
JM
9902012-05-09 Joseph Myers <joseph@codesourcery.com>
991
992 * conform/data/locale.h-data (NULL): Use macro-constant. Require
993 == 0.
994 (LC_ALL): Use macro-int-constant.
995 (LC_COLLATE): Likewise.
996 (LC_CTYPE): Likewise.
997 (LC_MESSAGES): Likewise.
998 (LC_MONETARY): Likewise.
999 (LC_NUMERIC): Likewise.
1000 (LC_TIME): Likewise.
1001 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1002 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1003 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1004 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1005 Specify type.
1006 [C99-based standards] (float_t): Expect type.
1007 [C99-based standards] (double_t): Expect type.
1008 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1009 type.
1010 [C99-based standards] (HUGE_VALL): Likewise.
1011 [C99-based standards] (INFINITY): Likewise.
1012 [C99-based standards] (NAN): Likewise.
1013 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1014 [C99-based standards] (FP_NAN): Likewise.
1015 [C99-based standards] (FP_NORMAL): Likewise.
1016 [C99-based standards] (FP_SUBNORMAL): Likewise.
1017 [C99-based standards] (FP_ZERO): Likewise.
1018 [C99-based standards] (FP_FAST_FMA): Use
1019 optional-macro-int-constant. Specify type. Require == 1.
1020 [C99-based standards] (FP_FAST_FMAF): Likewise.
1021 [C99-based standards] (FP_FAST_FMAL): Likewise.
1022 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1023 [C99-based standards] (FP_ILOGBNAN): Likewise.
1024 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1025 Specify type.
1026 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1027 [C99-based standards] (math_errhandling): Specify type.
1028 [ISO99 || ISO11] (signgam): Do not allow.
1029 [non-C99-based standards] (copysignf): Do not allow.
1030 [non-C99-based standards] (exp2f): Likewise.
1031 [non-C99-based standards] (log2f): Likewise.
1032 [non-C99-based standards] (modff): Allow.
1033 [non-C99-based standards] (erff): Do not allow.
1034 [non-C99-based standards] (erfcf): Likewise.
1035 [non-C99-based standards] (gammaf): Likewise.
1036 [non-C99-based standards] (hypotf): Likewise.
1037 [non-C99-based standards] (j0f): Likewise.
1038 [non-C99-based standards] (j1f): Likewise.
1039 [non-C99-based standards] (jnf): Likewise.
1040 [non-C99-based standards] (lgammaf): Likewise.
1041 [non-C99-based standards] (tgammaf): Likewise.
1042 [non-C99-based standards] (y0f): Likewise.
1043 [non-C99-based standards] (y1f): Likewise.
1044 [non-C99-based standards] (ynf): Likewise.
1045 [non-C99-based standards] (isnanf): Likewise.
1046 [non-C99-based standards] (acoshf): Likewise.
1047 [non-C99-based standards] (asinhf): Likewise.
1048 [non-C99-based standards] (atanhf): Likewise.
1049 [non-C99-based standards] (cbrtf): Likewise.
1050 [non-C99-based standards] (expm1f): Likewise.
1051 [non-C99-based standards] (ilogbf): Likewise.
1052 [non-C99-based standards] (log1pf): Likewise.
1053 [non-C99-based standards] (logbf): Likewise.
1054 [non-C99-based standards] (nextafterf): Likewise.
1055 [non-C99-based standards] (remainderf): Likewise.
1056 [non-C99-based standards] (rintf): Likewise.
1057 [non-C99-based standards] (scalbf): Likewise.
1058 [non-C99-based standards] (copysignl): Likewise.
1059 [non-C99-based standards] (exp2l): Likewise.
1060 [non-C99-based standards] (log2l): Likewise.
1061 [non-C99-based standards] (modfl): Allow.
1062 [non-C99-based standards] (erfl): Do not allow.
1063 [non-C99-based standards] (erfcl): Likewise.
1064 [non-C99-based standards] (gammal): Likewise.
1065 [non-C99-based standards] (hypotl): Likewise.
1066 [non-C99-based standards] (j0l): Likewise.
1067 [non-C99-based standards] (j1l): Likewise.
1068 [non-C99-based standards] (jnl): Likewise.
1069 [non-C99-based standards] (lgammal): Likewise.
1070 [non-C99-based standards] (tgammal): Likewise.
1071 [non-C99-based standards] (y0l): Likewise.
1072 [non-C99-based standards] (y1l): Likewise.
1073 [non-C99-based standards] (ynl): Likewise.
1074 [non-C99-based standards] (isnanl): Likewise.
1075 [non-C99-based standards] (acoshl): Likewise.
1076 [non-C99-based standards] (asinhl): Likewise.
1077 [non-C99-based standards] (atanhl): Likewise.
1078 [non-C99-based standards] (cbrtl): Likewise.
1079 [non-C99-based standards] (expm1l): Likewise.
1080 [non-C99-based standards] (ilogbl): Likewise.
1081 [non-C99-based standards] (log1pl): Likewise.
1082 [non-C99-based standards] (logbl): Likewise.
1083 [non-C99-based standards] (nextafterl): Likewise.
1084 [non-C99-based standards] (remainderl): Likewise.
1085 [non-C99-based standards] (rintl): Likewise.
1086 [non-C99-based standards] (scalbl): Likewise.
1087 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1088 [non-C99-based standards] (FP_*): Do not allow.
1089 [C99-based standards] (FP_*): Change to
1090 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1091 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1092 allow.
1093 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1094 (SIG_ERR): Likewise.
1095 [X/Open-based standards] (SIG_HOLD): Likewise.
1096 (SIG_IGN): Likewise.
1097 (SIGABRT): Use macro-int-constant. Specify type. Require
1098 positive value.
1099 (SIGFPE): Likewise.
1100 (SIGILL): Likewise.
1101 (SIGINT): Likewise.
1102 (SIGSEGV): Likewise.
1103 (SIGTER): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1114 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1117 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1118 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1119 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1120 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1121 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1122 [X/Open-based standards] (SIGTRAP): Likewise.
1123 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1124 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1126 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1127 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1128 allow.
1129
b9f1922d
IW
11302012-05-08 Ian Wienand <ianw@vmware.com>
1131
1132 [BZ #14080]
1133 * time/tzset.c (__tzset_parse_tz): Update default rules for
1134 daylight time changes in the Energy Policy Act of 2005.
1135
1db86e88
AJ
11362012-05-09 Andreas Jaeger <aj@suse.de>
1137
1138 [BZ #13983]
1139 * elf/ldconfig.c (parse_conf): Change string to make clear that
1140 ldconfig only issued a warning if ld.so.conf does not exist.
1141
dee4a4e3
DM
11422012-05-08 David S. Miller <davem@davemloft.net>
1143
ee0db190
DM
1144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1145 movxtod instead of popping the value on the stack.
1146
dee4a4e3
DM
1147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1148
6a43ec98
CD
11492012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1150
1151 * config.h.in: Add HAVE_ARM_PCS_VFP.
1152
05c2c961
RMG
11532012-05-08 Roland Mc Grath <roland@hack.frob.com>
1154
bcfe3a54
ST
1155 [BZ #13979]
1156 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1157 checking but the checks are disabled for any reason.
05c2c961 1158
4b30f61a
L
11592012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1160
1161 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1162 and ELF64_R_TYPE with ELFW(R_TYPE).
1163
eee2bc67
JM
11642012-05-08 Joseph Myers <joseph@codesourcery.com>
1165
7ea5391a
JM
1166 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1167 (ulimit): Likewise.
1168
eee2bc67
JM
1169 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1170 (settimeofday): Likewise.
1171
abb66a67
MF
11722012-05-08 Mike Frysinger <vapier@gentoo.org>
1173
1174 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1175 a struct th_u2 inside the union, and move tu_block/tu_code into
1176 a new th_u3 union of tu_block/tu_code inside of that. Move
1177 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1178 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1179 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1180 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1181 (th_stuff): Change to th_u1.tu_stuff.
1182 (th_data): Define.
1183 (th_msg): Change to th_u1.th_u2.tu_data.
1184
7f18b530
DM
11852012-05-07 David S. Miller <davem@davemloft.net>
1186
05760585
DM
1187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1188
7f18b530
DM
1189 [BZ #14074]
1190 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1191 (SETUP_PIC_REG): Use it.
1192 (SETUP_PIC_REG_LEAF): Use it.
1193
495fd99f
JM
11942012-05-07 Joseph Myers <joseph@codesourcery.com>
1195
1196 [BZ #13885]
1197 [BZ #13923]
1198 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1199 USE_AS_EXPM1L.
1200 (EXPL_FINITE): Likewise.
1201 (FLDLOG): Likewise.
1202 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1203 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1204 e_expl.S.
1205 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1206 USE_AS_EXPM1L.
1207 (EXPL_FINITE): Likewise.
1208 (FLDLOG): Likewise.
1209 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1210 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1211 e_expl.S.
1212 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1213 test of -max_value argument for long double.
1214 * sysdeps/i386/fpu/libm-test-ulps: Update.
1215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1216
6693d694
DM
12172012-05-06 David S. Miller <davem@davemloft.net>
1218
1219 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1220 quad soft-float symbols whose references which are compiler
1221 generated.
1222 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1223
6c23e11c
JM
12242012-05-06 Joseph Myers <joseph@codesourcery.com>
1225
d8b82cad
JM
1226 [BZ #13884]
1227 [BZ #13914]
1228 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1229 USE_AS_EXP10L.
1230 (EXPL_FINITE): Likewise.
1231 (FLDLOG): Likewise.
1232 (c0): Likewise.
1233 (c1): Likewise.
1234 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1235 Adjust comments for base varying.
1236 (__expl_finite): Change alias to EXPL_FINITE.
1237 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1238 e_expl.S.
1239 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1240 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1241 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1242 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1243 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1244 USE_AS_EXP10L.
1245 (EXPL_FINITE): Likewise.
1246 (FLDLOG): Likewise.
1247 (c0): Likewise.
1248 (c1): Likewise.
1249 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1250 Adjust comments for base varying.
1251 (__expl_finite): Change alias to EXPL_FINITE.
1252 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1253 tests for bugs.
1254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1255
6c23e11c
JM
1256 [BZ #14064]
1257 * math/libm-test.inc (check_float_internal): Correct ulp
1258 calculation for subnormal expected results.
1259
29ba805c
AJ
12602012-05-06 Andreas Jaeger <aj@suse.de>
1261
1262 * Makeconfig (+math-flags): New, set to -frounding-math.
1263 (+cflags): Add +math-flags so that all of glibc gets compiled with
1264 it.
1265
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1267
7b17aeda
JM
12682012-05-05 Joseph Myers <joseph@codesourcery.com>
1269
5779f134
JM
1270 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1271 Disable one test.
1272
41498f4d
JM
1273 [BZ #13787]
1274 [BZ #13922]
1275 [BZ #14036]
1276 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1277 (__ieee754_expl): Allow for and saturate large arguments.
1278 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1279 (u_threshold): Likewise.
1280 (__exp): Call __ieee754_exp before checking for overflow and
1281 underflow.
1282 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1283 (u_threshold): Likewise.
1284 (__expf): Call __ieee754_expf before checking for overflow and
1285 underflow.
1286 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1287 (u_threshold): Likewise.
1288 (__expl): Call __ieee754_expl before checking for overflow and
1289 underflow.
1290 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1291 (__ieee754_expl): Allow for and saturate large arguments.
1292 * math/libm-test.inc (exp_test): Add another test. Do not allow
1293 missing overflow exception on overflow.
1294 (expm1_test): Do not allow missing overflow exception on overflow.
1295
6698b8bf
JM
1296 * sysdeps/i386/fpu/e_expl.c: Move to ...
1297 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1298 rather than using inline asm.
1299 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1300 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1301 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1302
7b17aeda
JM
1303 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1304 (nice): Likewise.
1305 (poll): Likewise.
1306 (signal): Likewise.
1307 (time): Likewise.
1308 (times): Likewise.
1309
f7c85819
JM
13102012-05-04 Joseph Myers <joseph@codesourcery.com>
1311
1312 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1313 sysdeps/unix/common/syscalls.list.
1314 (fchmod): Likewise.
1315 (fchown): Likewise.
1316 (ftruncate): Likewise.
1317 (getrusage): Likewise.
1318 (gettimeofday): Likewise.
1319 (setpgid): Likewise.
1320 (setregid): Likewise.
1321 (setreuid): Likewise.
1322 (sigaction): Likewise.
1323 (truncate): Likewise.
1324 (vhangup): Likewise.
1325 * sysdeps/unix/common/syscalls.list: Remove file.
1326 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1327 * sysdeps/unix/sysv/linux/Implies: Likewise.
1328
336270d0
L
13292012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1330
1331 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1333 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1334 Moved to ...
1335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1336 Here.
1337 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1338 to ...
1339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1340 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1341 to ...
1342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1343 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1344 to ...
1345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1346 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1347 to ...
1348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1349 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1350 to ...
1351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1352 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1353 to ...
1354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1355 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1356 to ...
1357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1358 Here.
1359 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1360 to ...
1361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1362 Here.
1363 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1364 to ...
1365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1366 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1367 Moved to ...
1368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1369 Here.
1370 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1371 to ...
1372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1373
d128e450
JM
13742012-05-04 Joseph Myers <joseph@codesourcery.com>
1375
fa8ee516
JM
1376 * sysdeps/unix/common/bits/dirent.h: Remove file.
1377 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1378
d128e450
JM
1379 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1380 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1381 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1382 * sysdeps/unix/bsd/isatty.c: Likewise.
1383 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1384 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1385 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1386
ff8faaf0 13872012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1388
62881be4 1389 [BZ #13563]
31dc8730
AZ
1390 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1391 long double comparison inaccuracies.
1392 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1394
6fef930c
AS
13952012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1396
1397 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1398 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1399
8f203e6c
JM
14002012-05-04 Joseph Myers <joseph@codesourcery.com>
1401
1402 [BZ #14049]
1403 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1404 nonzero digits before rounding a hex value.
1405 * stdlib/tst-strtod.c (tests): Add another test.
1406
5197d9c2
AK
14072012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1408
1409 * sysdeps/s390/fpu/libm-test-ulps: Update.
1410
f0c1dedf
AJ
14112012-05-03 Andreas Jaeger <aj@suse.de>
1412
1413 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1414 does not get optimized out.
1415 (malloc_opt_barrier): New.
1416
a65ef2ae 14172012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1418 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1419
2b942cb7 1420 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1421 intermediate file deletion.
2b942cb7 1422 (generated): Add .symlist files.
a65ef2ae 1423
54b71e02
JM
14242012-05-03 Joseph Myers <joseph@codesourcery.com>
1425
1426 [BZ #13775]
1427 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1428 Redirect under this condition.
1429 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1430 [__USE_GNU] (__dprintf_chk): Not under this condition.
1431 [__USE_GNU] (__vdprintf_chk): Likewise.
1432 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1433 under this condition.
1434 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1435 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1436 [__USE_XOPEN2K8] (vdprintf): Likewise.
1437 [__USE_GNU] (__dprintf_chk): Not under this condition.
1438 [__USE_GNU] (__vdprintf_chk): Likewise.
1439 [__USE_GNU] (dprintf): Likewise.
1440 [__USE_GNU] (vdprintf): Likewise.
1441
d3dfcc41
RM
14422012-05-03 Roland McGrath <roland@hack.frob.com>
1443
1444 * elf/Makefile (common-generated): Set this instead of generated for
1445 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1446 $(all-built-dso)-derived lists.
1447
7ac30cc5
AJ
14482012-05-03 Andreas Jaeger <aj@suse.de>
1449
0c51e550
AJ
1450 * sysdeps/i386/fpu/libm-test-ulps: Update.
1451
7ac30cc5
AJ
1452 * FAQ: Removed.
1453 * FAQ.in: Likewise.
1454 * scripts/gen-FAQ.pl: Likewise.
1455 * manual/install.texi (Installation): Point to online location of
1456 FAQ.
1457 * Makefile (files-for-dist): Remove FAQ.
1458 (FAQ): Remove.
1459
d4c2917f
AM
14602012-05-02 Allan McRae <allan@archlinux.org>
1461
1462 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1463 (LDFLAGS-reldepmod5.so): Likewise.
1464 (LDFLAGS-reldep6mod1.so): Likewise.
1465 (LDFLAGS-reldep6mod4.so): Likewise.
1466 (LDFLAGS-reldep8mod3.so): Likewise.
1467 (LDFLAGS-unload4mod1.so): Likewise.
1468 (LDFLAGS-unload4mod2.so): Likewise.
1469 (LDFLAGS-tst-initorder): Likewise.
1470 (LDFLAGS-tst-initordera2.so): Likewise.
1471 (LDFLAGS-tst-initordera3.so): Likewise.
1472 (LDFLAGS-tst-initordera4.so): Likewise.
1473 (LDFLAGS-tst-initorderb2.so): Likewise.
1474 (LDFLAGS-noload): Likewise.
1475 (LDFLAGS-next): Likewise.
1476 (LDFLAGS-order2mod1.so): Likewise.
1477 (LDFLAGS-order2mod2.so): Likewise.
1478 (LDFLAGS-tst-initorder2): Likewise.
1479 (LDFLAGS-tst-initorder2a.so): Likewise.
1480 (LDFLAGS-tst-initorder2b.so): Likewise.
1481 (LDFLAGS-tst-initorder2c.so): Likewise.
1482 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1483
d77f993f
DM
14842012-05-02 David S. Miller <davem@davemloft.net>
1485
1486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1487
171a70b4
PP
14882012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1489
1490 [BZ #14055]
1491 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1492
0be196ad
AJ
14932012-05-02 Andreas Jaeger <aj@suse.de>
1494
1495 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1496 since we manipulate rounding mode.
1497 (CPPFLAGS-test-idouble.c): Likewise.
1498 (CPPFLAGS-test-ifloat.c): Likewise.
1499 (CFLAGS-test-ldouble.c): Likewise.
1500 (CFLAGS-test-double.c): Likewise.
1501 (CFLAGS-test-float.c): Likewise.
1502 (CFLAGS-test-misc.c): Likewise.
1503 (CFLAGS-test-test-fenv.c): Likewise.
1504
4f9d04aa
AZ
15052012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1506
2b942cb7
RM
1507 [BZ #2550]
1508 [BZ #2570]
1509 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1510 comparisons to determine direction to adjust input.
4f9d04aa 1511
82a79e7d
RM
15122012-05-01 Roland McGrath <roland@hack.frob.com>
1513
f5a01ca9
RM
1514 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1515 output to the target.
1516
90fe4186
RM
1517 * scripts/localplt.awk: New file.
1518 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1519 (check-localplt-CFLAGS): Variable removed.
1520 ($(all-built-dso:=.jmprel)): New static pattern rule.
1521 (generated): Add those targets.
1522 (localplt-built-dso): New variable.
1523 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1524
1525 * elf/check-localplt.c: File removed.
1526
82397ed6
RM
1527 * scripts/check-execstack.awk: New file.
1528 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1529 (check-execstack-CFLAGS): Variable removed.
1530 ($(objpfx)check-execstack.h): Target removed.
1531 ($(objpfx)execstack-default): New target.
1532 (generated): Add that instead of check-execstack.h.
1533 ($(all-built-dso:=.phdr)): New static pattern rule.
1534 (generated): Add those targets.
1535 * elf/check-execstack.c: File removed.
1536
82a79e7d
RM
1537 * scripts/check-textrel.awk: New file.
1538 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1539 (check-textrel-CFLAGS): Variable removed.
1540 (all-built-dso): Use := to define.o
1541 ($(all-built-dso:=.dyn)): New static pattern rule.
1542 (generated): Add those targets.
1543 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1544 * config.make.in (READELF): New substituted variable.
1545 * elf/check-textrel.c: File removed.
1546
62fde54f 15472012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1548
615605c9
JM
1549 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1550 allow.
1551 * conform/data/ctype.h-data [C99-based standards] (isblank):
1552 Expect function.
1553 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1554 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1555 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1556 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1557 Specify type. Require positive value.
1558 (EILSEQ): Likewise.
1559 (ERANGE): Likewise.
1560 [ISO || POSIX] (EILSEQ): Do not expect.
1561 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1562 Specify type. Require positive value.
1563 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1564 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1565 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1566 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1567 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1568 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1569 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1570 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1571 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1572 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1573 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1574 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1575 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1576 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1577 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1578 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1579 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1580 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1581 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1582 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1583 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1584 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1585 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1586 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1587 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1588 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1589 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1590 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1591 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1592 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1593 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1594 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1595 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1596 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1597 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1598 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1599 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1600 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1601 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1602 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1603 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1604 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1605 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1606 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1607 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1608 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1609 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1610 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1611 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1612 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1613 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1614 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1615 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1616 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1617 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1618 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1619 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1620 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1621 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1622 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1623 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1624 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1625 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1626 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1627 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1628 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1629 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1630 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1631 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1632 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1633 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1634 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1635 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1636 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1637 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1638 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1639 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1640 Require >= 2.
1641 (FLT_ROUNDS): Expect as macro, not constant.
1642 (FLT_MANT_DIG): Use macro-int-constant.
1643 (DBL_MANT_DIG): Likewise.
1644 (LDBL_MANT_DIG): Likewise.
1645 (FLT_DIG): Likewise.
1646 (DBL_DIG): Likewise.
1647 (LDBL_DIG): Likewise.
1648 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1649 (DBL_MIN_EXP): Likewise.
1650 (LDBL_MIN_EXP): Likewise.
1651 (FLT_MAX_EXP): Use macro-int-constant.
1652 (DBL_MAX_EXP): Likewise.
1653 (LDBL_MAX_EXP): Likewise.
1654 (FLT_MAX_10_EXP): Likewise.
1655 (DBL_MAX_10_EXP): Likewise.
1656 (LDBL_MAX_10_EXP): Likewise.
1657 (FLT_MAX): Use macro-constant.
1658 (DBL_MAX): Likewise.
1659 (LDBL_MAX): Likewise.
1660 (FLT_EPSILON): Use macro-constant. Give upper bound.
1661 (DBL_EPSILON): Likewise.
1662 (LDBL_EPSILON): Likewise.
1663 (FLT_MIN): Likewise.
1664 (DBL_MIN): Likewise.
1665 (LDBL_MIN): Likewise.
1666 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1667 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1668 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1669 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1670 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1671 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1672 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1673 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1674 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1675 [ISO11] (FLT_TRUE_MIN): Likewise.
1676 [ISO11] (LDBL_TRUE_MIN): Likewise.
1677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1678 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1679 (SCHAR_MIN): Use macro-int-constant. Specify type.
1680 (SCHAR_MAX): Likewise.
1681 (UCHAR_MAX): Likewise.
1682 (CHAR_MIN): Likewise.
1683 (CHAR_MAX): Likewise.
1684 (MB_LEN_MAX): Use macro-int-constant.
1685 (SHRT_MIN): Use macro-int-constant. Specify type.
1686 (SHRT_MAX): Likewise.
1687 (USHRT_MAX): Likewise.
1688 (INT_MAX): Likewise.
1689 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1690 bound negative.
1691 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1692 bound with "U".
1693 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1694 bound with "L".
1695 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1696 bound negative. Suffix upper bound with "L".
1697 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1698 bound with "UL".
1699 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1700 Specify type.
1701 [C99-based standards] (LLONG_MAX): Likewise.
1702 [C99-based standards] (ULLONG_MAX): Likewise.
1703 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1704 == 0.
1705 [ISO11] (max_align_t): Require type.
1706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1707
c9140a62
JM
1708 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1709 from $CFLAGS, without defining away __attribute__ calls.
1710 (checknamespace): Use $CFLAGS_namespace.
1711
9af0bf29
JM
1712 * conform/conformtest.pl (@keywords): Only include C99 keywords
1713 for standards based on C99 or C11.
1714
343222a2
JM
1715 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1716 Disable tests.
1717 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1718 UNIX98]: Likewise.
1719
661f8cf0
JM
1720 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1721 usability of symbols in #if.
1722
ee74b9cb
JM
1723 * conform/conformtest.pl: If macro or constant types start
1724 "promoted:", expect the symbol to be of the following type
1725 promoted by the integer promotions.
62fde54f 1726
aafc49b3
JM
1727 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1728 in one place. Also handle "macro-constant".
1729
fefdf574
JM
1730 * conform/conformtest.pl: Only accept expected macro values with
1731 "==". Parse all "macro" lines in one place.
1732 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1733
f2d922fe
JM
1734 * conform/conformtest.pl: Handle braced types on "constant" lines
1735 instead of handling "typed-constant".
1736 * conform/data/signal.h-data: Use "constant" instead of
1737 "typed-constant".
1738
d22956c9
JM
1739 * conform/conformtest.pl: Handle "optional-" at start of lines in
1740 one place rather than duplicating several cases. Handle each
1741 format of "macro" line with initial "optional-".
1742
028e2e38
JM
1743 * conform/conformtest.pl: Only accept expected constant or
1744 optional-constant values with "==". Parse all "constant" lines in
1745 one place. Parse all "optional-constant" lines in one place.
1746 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1747 * conform/data/fmtmsg.h-data: Likewise.
1748 * conform/data/netinet/in.h-data: Likewise.
1749 * conform/data/tar.h-data: Likewise.
1750 * conform/data/limits.h-data: Use "==" form on "constant" and
1751 "optional-constant" lines.
1752
1b8f2850
JM
1753 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1754 Use -std=c99 for XOPEN2K.
1755 (@knownproblems): Remove.
1756 (newtoken): Don't check %isknown.
1757
a05a144b
JM
1758 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1759 Do not expect macro.
1760 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1761 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1762 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1763 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1772 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1773 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1774 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1775 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1776 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1777 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1778 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1779 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1780 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1781 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1784 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1785 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1790 [XPG3] (acosh): Likewise.
1791 [XPG3] (asinh): Likewise.
1792 [XPG3] (atanh): Likewise.
1793 [XPG3] (cbrt): Likewise.
1794 [XPG3] (expm1): Likewise.
1795 [XPG3] (ilogb): Likewise.
1796 [XPG3] (log1p): Likewise.
1797 [XPG3] (logb): Likewise.
1798 [XPG3] (nextafter): Likewise.
1799 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1801 [XPG3] (remainder): Likewise.
1802 [XPG3] (rint): Likewise.
1803 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1804 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1805 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1806 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1807 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1808 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1810 [UNIX98 || XOPEN2K] (scalb): Expect.
1811 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1812 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1813 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1814 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1815 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1816 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1817 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1818 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1819 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1820 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1821 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1822 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1823 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1824 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1825 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1826 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1827 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1829 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1830 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1831 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1832 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1833 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1834 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1835 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1836 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1837 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1838 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1839 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1840 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1841 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1842 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1843 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1844 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1845 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1846 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1847 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1848 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1849 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1850 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1851 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1852 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1853 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1854 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1855 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1856 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1857 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1858 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1859 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1860 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1861 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1862 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1863 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1864 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1865 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1866 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1867 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1868 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1869 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1870 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1871 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1872 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1873 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1874 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1875 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1876 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1877 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1878 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1879 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1880 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1881 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1882 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1883 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1884 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1885 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1886 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1887 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1888 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1889 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1890 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1891 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1892 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1893 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1894 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1895 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1896 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1897 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1898 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1899 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1900 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1901 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1902 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1903 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1904 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1905 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1906 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1907 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1908 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1909 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1910 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1911 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1912 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1913 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1914 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1915 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1916 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1917 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1918 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1919 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1920 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1921 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1922 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1923 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1924 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1925 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1926 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1927 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1928 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1929 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1930 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1931 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1932 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1933 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1934 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1935 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1936 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1937 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1938 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1939 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1940 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1941 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1942 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1943 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1944 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1945 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1946 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1947 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1948
73c5ebe3
JM
1949 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1950 _XOPEN_SOURCE_EXTENDED for XPG4.
1951
39c33b6c
JM
1952 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1953
62fde54f
JM
1954 * Makeconfig (localtime): Remove variable.
1955 (inst_localtime-file): Likewise.
1956
0741d64c
AS
19572012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1958
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1960 Update.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1962 Update.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1964 Update.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1966 Update.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1968 Update.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1970 Update.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1972 Update.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1974 Update.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1976 Update.
1977
7cb029ee
JM
19782012-05-01 Joseph Myers <joseph@codesourcery.com>
1979
1980 [BZ #2550]
1981 [BZ #2570]
1982 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1983 comparisons to determine direction to adjust input.
1984 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1985 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1986 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1987 Likewise.
1988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1989 Likewise.
1990 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1991 Likewise.
1992 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1993 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1994 Likewise.
1995 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1996 Likewise.
1997 * math/libm-test.inc (nexttoward_test): Add more tests.
1998
412bd966
AS
19992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2000
2001 [BZ #14040]
2002 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2003 in version GLIBC_2.1, not GLIBC_2.0.
2004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2005 Likewise.
2006
9568c0c2
JM
20072012-04-30 Joseph Myers <joseph@codesourcery.com>
2008
adfbc8ac
JM
2009 [BZ #13942]
2010 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2011 (1 - x) * (1 + x).
2012 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2013 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2014 * math/libm-test.inc (acos_test): Add more tests.
2015 (asin_test): Likewise.
2016 * sysdeps/i386/fpu/libm-test-ulps: Update.
2017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2018
5ba3cc69
JM
2019 [BZ #14034]
2020 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2021 of square root.
2022 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2023 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2024 * math/libm-test.inc (acos_test_tonearest): New function.
2025 (acos_test_towardzero): Likewise.
2026 (acos_test_downward): Likewise.
2027 (acos_test_upward): Likewise.
2028 (asin_test_tonearest): Likewise.
2029 (asin_test_towardzero): Likewise.
2030 (asin_test_downward): Likewise.
2031 (asin_test_upward): Likewise.
2032 (main): Call the new functions.
2033 * sysdeps/i386/fpu/libm-test-ulps: Update.
2034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2035
9568c0c2
JM
2036 [BZ #13884]
2037 [BZ #13924]
2038 * math/e_exp10.c: Include <float.h>.
2039 (__ieee754_exp10): Handle underflow here rather than multiplying
2040 large negative argument by M_LN10.
2041 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2042 of __ieee754_expf.
2043 * math/e_exp10l.c: Include <float.h>.
2044 (__ieee754_exp10l): Handle underflow here rather than multiplying
2045 large negative argument by M_LN10l.
2046 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2047 spurious overflow exception on underflow.
2048
5ac3ea17
MP
20492012-04-29 Marek Polacek <polacek@redhat.com>
2050
2051 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2052 (__fortify_function): New macro.
2053 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2054 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2055 __extern_always_inline.
2056 * libio/bits/stdio2.h: Likewise.
2057 * libio/bits/stdio.h: Likewise.
2058 * string/string.h: Likewise.
2059 * string/bits/string3.h: Likewise.
2060 * include/stdio.h: Likewise.
2061 * stdlib/bits/stdlib.h: Likewise.
2062 * stdlib/stdlib.h: Likewise.
2063 * rt/bits/mqueue2.h: Likewise.
2064 * rt/mqueue.h: Likewise.
2065 * posix/bits/unistd.h: Likewise.
2066 * posix/unistd.h: Likewise.
2067 * io/bits/poll2.h: Likewise.
2068 * io/bits/fcntl2.h: Likewise.
2069 * io/fcntl.h: Likewise.
2070 * io/sys/poll.h: Likewise.
2071 * misc/bits/syslog.h: Likewise.
2072 * misc/bits/syslog-ldbl.h: Likewise.
2073 * misc/sys/syslog.h: Likewise.
2074 * socket/bits/socket2.h: Likewise.
2075 * socket/sys/socket.h: Likewise.
2076 * debug/tst-chk1.c: Likewise.
2077 * wcsmbs/bits/wchar2.h: Likewise.
2078 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2079 * wcsmbs/wchar.h: Likewise.
2080
ecf0ebfb
AJ
20812012-04-29 Andreas Jaeger <aj@suse.de>
2082
2083 * Makerules (tests): Remove enable-check-abi protection.
2084 (check-abi-warn): Remove.
2085 (check-abi-%): Remove check-abi-warn usage.
2086
2087 * configure.in: Remove check-abi configure option.
2088 * configure: Regenerated.
2089 * config.make.in (enable-check-abi): Remove.
2090
6d5c57fa
AS
20912012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2092
24c5d07e 2093 [BZ #14033]
ded5180a
AS
2094 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2095 double functions to double *_finite functions.
2096
7e0d315d
AS
2097 [BZ #13941]
2098 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2099 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2100 LDBL_MIN_EXP.
2101 * stdio-common/Makefile (tests): Add tst-sprintf3.
2102 * stdio-common/tst-sprintf3.c: New file.
2103
6d5c57fa
AS
2104 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2105 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2106
0749ff8b
JM
21072012-04-28 Joseph Myers <joseph@codesourcery.com>
2108
2109 * conform/conformtest.pl: Remove duplicate typed-constant
2110 handling.
2111
8dbd5d7b
DM
21122012-04-28 David S. Miller <davem@davemloft.net>
2113
2114 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2115 (check-abi-%): Remove AWK script prerequisite and explicit
2116 abilist directory.
2117 (check-abi): Rewrite to just diff the symlist with the abilist.
2118 (config-tls, config-abi-config): Delete, no longer used.
2119 (update-abi-%): Remove AWK script and explicit abilist directory.
2120 (update-abi): Rewrite to simply compare and conditionally copy the
2121 symlist and the sysdep abilist file. Remove update-abi-config
2122 checks.
2123 * abilist/ld.abilist: Remove.
2124 * abilist/libBrokenLocale.abilist: Remove.
2125 * abilist/libanl.abilist: Remove.
2126 * abilist/libcrypt.abilist: Remove.
2127 * abilist/libdl.abilist: Remove.
2128 * abilist/librt.abilist: Remove.
2129 * abilist/libthread_db.abilist: Remove.
2130 * abilist/libutil.abilist: Remove.
2131 * scripts/extract-abilist.awk: Remove.
2132 * scripts/merge-abilist.awk: Remove.
2133 * sysdeps/generic/libcidn.abilist: New file.
2134 * sysdeps/generic/libnss_compat.abilist: New file.
2135 * sysdeps/generic/libnss_db.abilist: New file.
2136 * sysdeps/generic/libnss_dns.abilist: New file.
2137 * sysdeps/generic/libnss_files.abilist: New file.
2138 * sysdeps/generic/libnss_hesiod.abilist: New file.
2139 * sysdeps/generic/libnss_nis.abilist: New file.
2140 * sysdeps/generic/libnss_nisplus.abilist: New file.
2141 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2142 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2143 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2144 file.
2145 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2146 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2147 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2148 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2149 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2150 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2151 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2152 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2153 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2154 file.
2155 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2156 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2157 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2158 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2159 file.
2160 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2161 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2162 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2163 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2164 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2165 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2166 file.
2167 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2168 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2169 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2170 file.
2171 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2173 New file.
2174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2175 New file.
2176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2177 New file.
2178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2179 New file.
2180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2181 New file.
2182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2183 New file.
2184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2185 New file.
2186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2187 New file.
2188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2189 New file.
2190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2191 New file.
2192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2193 New file.
2194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2195 New file.
2196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2197 New file.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2199 file.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2201 New file.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2203 New file.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2205 file.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2207 New file.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2209 New file.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2211 file.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2213 New file.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2215 New file.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2217 New file.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2219 New file.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2221 New file.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2223 New file.
2224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2226 file.
2227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2228 New file.
2229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2230 file.
2231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2232 file.
2233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2234 file.
2235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2236 file.
2237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2238 file.
2239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2240 New file.
2241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2242 file.
2243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2244 file.
2245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2246 New file.
2247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2248 file.
2249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2251 file.
2252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2253 New file.
2254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2255 file.
2256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2257 file.
2258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2259 file.
2260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2261 file.
2262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2263 file.
2264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2265 New file.
2266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2267 file.
2268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2269 file.
2270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2271 New file.
2272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2273 file.
2274 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2275 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2276 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2277 file.
2278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2279 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2280 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2281 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2282 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2283 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2284 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2285 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2286 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2287 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2290 file.
2291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2292 New file.
2293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2294 file.
2295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2296 file.
2297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2298 file.
2299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2300 file.
2301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2302 file.
2303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2304 New file.
2305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2306 New file.
2307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2308 file.
2309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2310 New file.
2311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2312 file.
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2315 file.
2316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2317 New file.
2318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2319 file.
2320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2321 file.
2322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2323 file.
2324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2325 file.
2326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2327 file.
2328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2329 New file.
2330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2331 New file.
2332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2333 file.
2334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2335 New file.
2336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2337 file.
2338
41d73a1b
JM
23392012-04-28 Joseph Myers <joseph@codesourcery.com>
2340
2341 * conform/conformtest.pl: Fix typo in handling typed-constant from
2342 allow-header.
2343
28aeeda4
JM
23442012-04-27 Joseph Myers <joseph@codesourcery.com>
2345
adae8f5e
JM
2346 * README: Cut down references to pre-2.6 Linux kernels and
2347 Linuxthreads. Update lists of configurations in libc and ports
2348 and sort alphabetically. Say "or newer" with Linux kernel version
2349 requirements.
2350
28aeeda4
JM
2351 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2352
a462cb63
RA
23532012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2354
2355 [BZ #887]
2356 * math/libm-test.inc (logb_test_downward): New test to expose
2357 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2358 rounding mode.
2359
6ad3493e
JM
23602012-04-27 Joseph Myers <joseph@codesourcery.com>
2361
2362 [BZ #14027]
2363 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2364 to be done.
2365 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2366 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2367
2ce4f015
JM
23682012-04-26 Joseph Myers <joseph@codesourcery.com>
2369
5aeb141a
JM
2370 * sysdeps/unix/i386/brk.S: Remove file.
2371 * sysdeps/unix/i386/dl-brk.S: Likewise.
2372 * sysdeps/unix/i386/pipe.S: Likewise.
2373 * sysdeps/unix/i386/sigreturn.S: Likewise.
2374 * sysdeps/unix/i386/syscall.S: Likewise.
2375 * sysdeps/unix/i386/vfork.S: Likewise.
2376 * sysdeps/unix/i386/wait.S: Likewise.
2377
7143acae
JM
2378 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2379 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2380
2ce4f015
JM
2381 * configure.in (arm*-none*): Do not allow without
2382 --enable-hacker-mode.
2383 (netbsd*): Remove case setting base_os.
2384 (386bsd*): Likewise.
2385 (freebsd*): Likewise.
2386 (bsdi*): Likewise.
2387 (osf*): Likewise.
2388 (sunos*): Likewise.
2389 (ultrix*): Likewise.
2390 (newsos*): Likewise.
2391 (dynix*): Likewise.
2392 (*bsd*): Likewise.
2393 (sysv*): Likewise.
2394 (isc*): Likewise.
2395 (esix*): Likewise.
2396 (sco*): Likewise.
2397 (minix*): Likewise.
2398 (irix4*): Likewise.
2399 (irix6*): Likewise.
2400 (solaris[2-9]*): Likewise.
2401 (none): Likewise.
2402 * configure: Regenerated.
2403
0ac229c8
AZ
24042012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2405
2406 [BZ #11521]
2407 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2408 overflow or cancellation in calculating denominator.
2409 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2411 down expression to avoid unexpected rounding in newer GCCs.
2412 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2413
33f244f4
DM
24142012-04-26 David S. Miller <davem@davemloft.net>
2415
2416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2417 long-double compat symbols.
2418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2431
cfa1f3e8
DM
24322012-04-25 David S. Miller <davem@davemloft.net>
2433
2434 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2435 HWCAP_* values only after the memory barriers have been defined.
2436 (atomic_full_barrier): Define.
2437 (atomic_read_barrier): Define.
2438 (atomic_write_barrier): Define.
2439
6e236b92
SP
24402012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2441
2442 * shlib-versions: Add libgcc_s version information.
2443 * sysdeps/generic/libgcc_s.h: Remove.
2444 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2445 libgcc_s.h.
2446 * sysdeps/gnu/unwind-resume.c: Likewise.
2447 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2448
aab39a09
DM
24492012-04-25 David S. Miller <davem@davemloft.net>
2450
2451 * sysdeps/unix/sparc/brk.S: Delete.
2452 * sysdeps/unix/sparc/dl-brk.S: Delete.
2453 * sysdeps/unix/sparc/pipe.S: Delete.
2454 * sysdeps/unix/sparc/sysdep.S: Delete.
2455 * sysdeps/unix/sparc/sysdep.h: Delete.
2456 * sysdeps/unix/sparc/vfork.S: Delete.
2457 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2458 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2460 ret_ERRVAL, r0, r1, MOVE): Define.
2461 (JUMPTARGET): Remove.
2462 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2463 sysdeps/unix/sparc/sysdep.h
2464 (ENTRY, END): Remove.
2465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2466
a3cc4f48
JM
24672012-04-25 Joseph Myers <joseph@codesourcery.com>
2468
2ed8cda2
JM
2469 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2470 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2471 -DIS_IN_build.
2472
35d76d59
JM
2473 * timezone/README: Update upstream location and email address for
2474 tzcode and tzdata.
2475 * timezone/zdump.c: Update from tzcode 2012b.
2476 * timezone/zic.c: Likewise.
2477
a3cc4f48
JM
2478 * configure.in (libc_cv_as_needed): Remove test.
2479 * configure: Regenerated.
2480 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2481 conditional definition.
2482 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2483 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2484 * config.make.in (have-as-needed): Remove variable.
2485
ceab42c3
SP
24862012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2487 Paul Pluzhnikov <ppluzhnikov@google.com>
2488
2489 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2490 strings correctly.
2491
3ce2865f
CLT
24922012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2493
2494 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2495 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2496 * sysdeps/sh/strlen.S: Likewise.
2497
f37e0d68
JM
24982012-04-24 Joseph Myers <joseph@codesourcery.com>
2499
ae186e9a
JM
2500 * sysdeps/unix/fork.S: Remove file.
2501 * sysdeps/unix/i386/fork.S: Likewise.
2502 * sysdeps/unix/sparc/fork.S: Likewise.
2503
b96914af
JM
2504 * sysdeps/unix/system.c: Remove file.
2505 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2506
f37e0d68
JM
2507 * sysdeps/unix/getegid.S: Remove file.
2508 * sysdeps/unix/geteuid.S: Likewise.
2509
87ef29ca
RM
25102012-04-24 Roland McGrath <roland@hack.frob.com>
2511
83bcd236
RM
2512 * scripts/check-localplt.awk: New file.
2513 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2514 of diff.
2515 * scripts/data/localplt-generic.data: Add a comment.
2516
87ef29ca
RM
2517 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2518 NODE when __dir_mkfile failed.
2519 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2520 Reported by Ludovic Courtès <ludo@gnu.org>.
2521
e5a6e567
AJ
25222012-04-24 Andreas Jaeger <aj@suse.de>
2523
2524 * Makerules (common-clean): Also remove gen-as-const-headers
2525 files.
2526
c1820385
JM
25272012-04-24 Joseph Myers <joseph@codesourcery.com>
2528
2529 * Makerules (native-compile): Do not change working directory for
2530 build. Use $(OUTPUT_OPTION) in command.
2531 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2532
94e02fc4
AZ
25332012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2534
2535 [BZ #13886]
2536 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2537 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2538 * math/libm-test.inc (floor_test): Add more tests.
2539 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2540
3a533ca3
JM
25412012-04-24 Joseph Myers <joseph@codesourcery.com>
2542
940ab4b3
JM
2543 * sysdeps/unix/getdents.c: Remove file.
2544 * sysdeps/unix/sysv/getdents.c: Likewise.
2545 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2546
90e037bd
JM
2547 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2548 sysdeps/unix/mman/syscalls.list.
2549 (mmap): Likewise.
2550 (mprotect): Likewise.
2551 (msync): Likewise.
2552 (munmap): Likewise.
2553 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2554 * sysdeps/unix/mman/syscalls.list: Remove.
2555 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2556
3a533ca3
JM
2557 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2558 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2559 * configure: Regenerated.
2560 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2561 $(libgcc_s_suffix).
2562 * config.make.in (libgcc_s_suffix): Remove variable.
2563
1ad743de
JM
25642012-04-23 Joseph Myers <joseph@codesourcery.com>
2565
4ad451e2
JM
2566 * sysdeps/unix/sysv/gethostname.c: Move to ...
2567 * sysdeps/posix/gethostname.c: ... here.
2568
5e37ce39
JM
2569 * sysdeps/unix/execve.S: Remove file.
2570
1ad743de
JM
2571 * sysdeps/unix/_exit.S: Remove file.
2572
4e681b5b
AJ
25732012-04-23 Andreas Jaeger <aj@suse.de>
2574
2575 [BZ #13739]
2576 * manual/Makefile: Remove make dist support, there's no
2577 need for a stand-alone documentation tar ball.
2578 (TEXI2DVI): Define always, it's not in Makeconfig.
2579 (dist): Removed.
2580 (tar-it): Removed.
2581 (edition): Removed.
2582 (glibc-doc-$(edition).tar): Removed
2583 (%.Z): Removed.
2584 (%.gz): Removed.
2585 (%.uu): Removed.
2586 (ETAGS): Remove, it's in Makeconfig.
2587 (move-if-change): Remove, it's in Makeconfig.
2588
c0baea34
PE
25892013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2590
2591 [BZ #13970]
2592 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2593 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2594 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2595 (strtod_l, strtof_l, strtold_l): Remove __wur.
2596 It is not necessarily an error to ignore strtol's return value.
2597 One can reliably look at the stored endptr to decide whether
2598 the number had valid syntax.
2599
7c0616fa
AJ
26002012-04-21 Andreas Jaeger <aj@suse.de>
2601
803cb6b7 2602 [BZ #13739]
7c0616fa
AJ
2603 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2604
b0fe253f
JM
26052012-04-21 Joseph Myers <joseph@codesourcery.com>
2606
2607 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2608 * sysdeps/unix/sysv/Versions: Remove file.
2609
8280f22d
MT
26102012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2611
2612 [BZ #13927]
2613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2614
75ce411f 26152012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2616
2617 [BZ #7064]
2618 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2619 version from __vm86.
2620
097d59fa
JM
26212012-04-20 Joseph Myers <joseph@codesourcery.com>
2622
a90f3bcb
JM
2623 * sysdeps/unix/common/lxstat.c: Remove file.
2624 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2625
edc7ea78
JM
2626 * sysdeps/unix/sysv/Makefile: Remove file.
2627
cb78c221
JM
2628 * sysdeps/unix/sysv/direct.h: Remove file.
2629
efa6a45f
JM
2630 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2631 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2632 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2633 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2634 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2635 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2636 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2637
9c9f2d0c
JM
2638 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2639
4541c83b
JM
2640 * sysdeps/unix/xmknod.c: Remove file.
2641 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2642
f5d153a0
JM
2643 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2644
aa746595
JM
2645 * sysdeps/unix/sysv/i386/time.S: Remove file.
2646
cce5905e
JM
2647 * sysdeps/unix/fxstat.c: Remove file.
2648 * sysdeps/unix/xstat.c: Likewise.
2649 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2650
37fa3841
JM
2651 * sysdeps/unix/sysv/sigaction.c: Remove file.
2652
ff1962a3
JM
2653 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2654 (sysdep_headers): Remove variable.
2655 [termio.h not in sysdep_headers] (generated): Likewise.
2656 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2657 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2658 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2659 * sysdeps/unix/sysv/tcflow.c: Likewise.
2660 * sysdeps/unix/sysv/tcflush.c: Likewise.
2661 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2662 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2663 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2664 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2665 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2666
e7740d31
JM
2667 * sysdeps/unix/siglist.c: Remove file.
2668
ee06f18b
JM
2669 * sysdeps/unix/getppid.S: Remove file.
2670
097d59fa
JM
2671 * sysdeps/unix/mkdir.c: Remove file.
2672 * sysdeps/unix/rmdir.c: Likewise.
2673
ff3d51ec
AS
26742012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2675
2676 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2677 ERR_MAX value.
2678 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2679 errlist-compat value.
2680
50f81fd7
DM
26812012-04-18 David S. Miller <davem@davemloft.net>
2682
2683 * sysdeps/generic/memcopy.h (reg_char): Delete.
2684 * debug/strcat_chk.c: Use char, not reg_char.
2685 * debug/strcpy_chk.c: Likewise.
2686 * debug/strncat_chk.c: Likewise.
2687 * debug/strncpy_chk.c: Likewise.
2688 * string/memchr.c: Likewise.
2689 * string/memrchr.c: Likewise.
2690 * string/rawmemchr.c: Likewise.
2691 * string/strcat.c: Likewise.
2692 * string/strchr.c: Likewise.
2693 * string/strchrnul.c: Likewise.
2694 * string/strcmp.c: Likewise.
2695 * string/strcpy.c: Likewise.
2696 * string/strncat.c: Likewise.
2697 * string/strncmp.c: Likewise.
2698 * string/strncpy.c: Likewise.
2699
8ff41c46
WS
27002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2701
2702 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2703 __builtin_memcopy is called when src and dest ranges are known to not
2704 overlap.
2705
6b652f46
WS
27062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2707
2708 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2709 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2710 fwd_align_merge macro call.
2711 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2712 bwd_align_merge macro call.
2713 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2714
b282631e
WS
27152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2716
2717 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2718 bwd_align_merge macros.
2719 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2720 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2721 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2722
95aa737c
DM
27232012-04-18 David S. Miller <davem@davemloft.net>
2724
2725 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2726
7a99a614
AJ
27272012-04-18 Andreas Jaeger <aj@suse.de>
2728
2729 [BZ# 6794]
2730 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2731 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2732 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2733
2734 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2735 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2736 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2737
2738 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2739 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2740 Adjust for changed ldbl-128 files.
2741
2742 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2743 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2744 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2745
e5270c23
DM
27462012-04-17 David S. Miller <davem@davemloft.net>
2747
2748 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2749
fb5e92c9
AS
27502012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2751
2752 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2753 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2754 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2755 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2756 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2757 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2758
76da7265
AZ
27592012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2760
2761 [BZ #6794]
2762 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2763 * math/libm-test.inc: Add ilogb errno and exception tests.
2764 * math/w_ilogb.c: New file: ilogb wrapper.
2765 * math/w_ilogbf.c: New file: ilogbf wrapper.
2766 * math/w_ilogbl.c: New file: ilogbl wrapper.
2767 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2768 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2769 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2770 exception being thrown with 0.0 as argument.
2771 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2772 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2773 exception being thrown with 0.0 as argument.
2774 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2775 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2776 exception being thrown with 0.0 as argument.
2777 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2778 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2779 exception being thrown with 0.0 as argument.
2780 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2781 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2782 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2783 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2784 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2785 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2786 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2787 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2788 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2789
0396e69d
PB
27902012-04-17 Petr Baudis <pasky@ucw.cz>
2791
2792 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2793 with altivec.
2794
750b5926
MP
27952012-04-16 Marek Polacek <polacek@redhat.com>
2796
2797 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2798
751728a1
MP
27992012-04-16 Marek Polacek <polacek@redhat.com>
2800
2801 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2802 operands of fdivp instruction.
2803
34a27407
L
28042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2805
2806 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2807 * elf/tst-auditmod3b.c: Likewise.
2808 * elf/tst-auditmod4b.c: Likewise.
2809 * elf/tst-auditmod5b.c: Likewise.
2810 * elf/tst-auditmod6b.c: Likewise.
2811 * elf/tst-auditmod6c.c: Likewise.
2812 * elf/tst-auditmod7b.c: Likewise.
2813 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2814 * sysdeps/x86_64/preconfigure.in: Likewise.
2815 * sysdeps/x86_64/preconfigure: Regenerated.
2816
7e73e17d
L
28172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2818
2819 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2820 __ILP32__.
2821
c7a6ab72
AB
28222012-04-13 Antoine Balestrat <merkil33@gmail.com>
2823
2824 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2825 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2826
a9e8e0e0
CL
28272012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2828
2829 [BZ #13973]
2830 * locale/iso-639.def: Fix gl language name. Spotted by
2831 Yaron Shahrabani.
2832
ec98af7d
RM
28332012-04-12 Roland McGrath <roland@hack.frob.com>
2834
2835 [BZ #2074]
2836 * libio/libio.h (__io_write_fn): Update comment.
2837
247c3ede
PB
28382012-04-12 Petr Baudis <pasky@ucw.cz>
2839
2840 [BZ #2074]
2841 * stdio.texi (Hook Functions): The user provided writer function
2842 is not allowed to return -1.
2843
55939d6d
DM
28442012-04-11 David S. Miller <davem@davemloft.net>
2845
2846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2847
90020f5a
MF
28482012-04-11 Mike Frysinger <vapier@gentoo.org>
2849
2850 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2851 Add a leading slash to rtkaio.
2852
288f9098
JM
28532012-04-11 Jim Meyering <meyering@redhat.com>
2854
90020f5a
MF
2855 [BZ #11959]
2856 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2857 It is not necessarily an error to ignore fwrite's return
2858 value. One can reliably use ferror to test for errors after
2859 the fact.
288f9098 2860
4be2b570
L
28612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 * bits/types.h (__snseconds_t): New type.
2864 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2865
2866 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2867 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2868 (__SNSECONDS_T_TYPE): Likewise.
2869 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2870 (__SNSECONDS_T_TYPE): Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2872 (__SNSECONDS_T_TYPE): Likewise.
2873
288f9098 28742012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2875
2876 [BZ #2636]
2877 * manual/time.texi (Processor Time): Return type of times is
2878 elapsed real time since an arbitrary point in the past.
2879 (CPU Time): Move CLK_TCK from here...
2880 (Processor Time): ...to here. Correct description.
2881 * manual/conf.texi (Constants for Sysconf): Correct description of
2882 _SC_CLK_TCK.
2883
d7dd4413
DM
28842012-04-10 David S. Miller <davem@davemloft.net>
2885
2886 [BZ #13967]
2887 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2888 where the is a gap between DT_REL(A) and DT_JMPREL.
2889
b46068fc
L
28902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2893 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2894 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2895
73d65cc3
SP
28962012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2897
2898 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2899 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2900 (dl_main): Handle --inhibit-cache.
2901 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2902 _dl_inhibit_cache.
2903 * elf/dl-load.c (_dl_map_object): Use it.
2904 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2905
bcc8d661
JM
29062012-04-09 Joseph Myers <joseph@codesourcery.com>
2907
8f9a2fae
JM
2908 [BZ #13872]
2909 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2910 (__ieee754_powl): Saturate large exponents rather than testing for
2911 overflow of y*log2(x).
2912 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2913 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2914 exceptions.
2915
bcc8d661
JM
2916 [BZ #11521]
2917 * math/s_ctan.c: Include <float.h>.
2918 (__ctan): Avoid internal overflow or cancellation in calculating
2919 denominator.
2920 * math/s_ctanf.c: Likewise.
2921 * math/s_ctanl.c: Likewise.
2922 * math/s_ctanh.c: Likewise.
2923 * math/s_ctanhf.c: Likewise.
2924 * math/s_ctanhl.c: Likewise.
2925 * math/libm-test.inc (ctan_test): Add more tests.
2926 (ctanh_test): Likewise.
2927 * sysdeps/i386/fpu/libm-test-ulps: Update.
2928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2929
823fbbb4
AJ
29302012-04-09 Andreas Jaeger <aj@suse.de>
2931
03879793
AJ
2932 [BZ #6894]
2933 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2934 is an optional BSD extension.
2935
823fbbb4
AJ
2936 [BZ #10254]
2937 * manual/stdio.texi (Opening Streams): Document additional fopen
2938 parameters.
2939
8de131cb
RM
29402012-04-09 Roland McGrath <roland@hack.frob.com>
2941
2942 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2943 %eax without telling the compiler.
2944
c0ed9d7d
CD
29452012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2946
2947 [BZ # 13963]
2948 * manual/install.texi: Use sourceware.org.
2949
c483f6b4
JM
29502012-04-09 Joseph Myers <joseph@codesourcery.com>
2951
d7dd9453
JM
2952 [BZ #13873]
2953 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2954 (__ieee754_pow): Generate overflow and underflow using huge*huge
2955 and tiny*tiny rather than just returning constant infinity or zero
2956 for large exponents.
2957 * math/libm-test.inc (pow_test): Require overflow exceptions for
2958 applicable cases of large exponents.
2959
c483f6b4
JM
2960 [BZ #706]
2961 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2962 (__ieee754_pow): Use iterative multiplication algorithm only for
2963 integer exponents with absolute value below 1024. Check for odd
2964 integer exponents when using algorithm for real exponents.
2965 * math/libm-test.inc (pow_test): Add more tests.
2966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2967
d2de7579
JM
29682012-04-08 Joseph Myers <joseph@codesourcery.com>
2969
2970 [BZ #13705]
2971 * math/libm-test.inc (exp_test): Do not allow overflow exception
2972 on underflow test.
2973
f77f1232
AJ
29742012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2975
2976 [BZ #13705]
2977 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2978 instead of __kernel_standard_f.
2979
3884932b
MF
29802012-04-08 Mike Frysinger <vapier@gentoo.org>
2981
2982 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2983 * sysdeps/x86_64/memset_chk.S: Likewise.
2984
54472e9c
AJ
29852012-04-08 Andreas Jaeger <aj@suse.de>
2986
6ab0fbfc
AJ
2987 [BZ #10153]
2988 * manual/startup.texi (Environment Access): Describe return value
2989 for putenv and setenv.
2990
61efba8c
AJ
2991 [BZ #6895]
2992 * manual/filesys.texi (Directory Entries): Add description for
2993 DT_LNK.
2994
95c3f29a
AJ
2995 [BZ #6890]
2996 * manual/filesys.texi (Directory Entries): Clarify that it's file
2997 system not operating system in the description of DT_UNKNOWN.
2998
54472e9c
AJ
2999 [BZ #6578]
3000 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3001
624254b1
SC
30022012-04-08 Stephen Compall <s11@member.fsf.org>
3003
3004 [BZ #6649]
3005 * manual/llio.texi (Opening and Closing Files): Add cross
3006 reference to explain mode argument.
3007
1e4920e0
MF
30082012-04-07 Mike Frysinger <vapier@gentoo.org>
3009
3010 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3011 * sysdeps/x86_64/memset_chk.S: Likewise.
3012
5ed848f3
DM
30132012-04-07 David S. Miller <davem@davemloft.net>
3014
3015 * elf/elf.h (R_SPARC_WDISP10): Define.
3016 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3017 R_SPARC_SIZE32.
3018 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3019 R_SPARC_SIZE64 and R_SPARC_H34.
3020
96154cd8
CD
30212012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3022
3023 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3024 conditions and remove no longer applicable assertion.
3025
9904dc47
L
30262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * bits/byteswap.h: Include <features.h>.
3029 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3030 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3031
f8887d0a
L
30322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3033
3034 * bits/byteswap.h (__bswap_16): Removed.
3035 Include <bits/byteswap-16.h> to get __bswap_16.
3036 * sysdeps/i386/bits/byteswap.h: Likewise.
3037 * sysdeps/s390/bits/byteswap.h: Likewise.
3038 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3039 * bits/byteswap-16.h: New file.
3040 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3041 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3042 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3043 * string/Makefile (headers): Add bits/byteswap-16.h.
3044
62470f60
PP
30452012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3046
3047 [BZ #13895]
3048 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3049 extra indirection.
3050 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3051 * nss/tst-nss-static.c: New.
3052
4dad7bab
RM
30532012-04-06 Robert Millan <rmh@gnu.org>
3054
3055 [BZ #6486]
3056 * manual/llio.texi (File Position Primitive): lseek
3057 refers to WHENCE when it really means OFFSET.
3058
e9142a17
AJ
30592012-04-06 Andreas Jaeger <aj@suse.de>
3060
2c040eff
AJ
3061 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3062 strncmp declarations.
3063
e9142a17
AJ
3064 * abilist/libc.abilist: Add __poll and __ppoll.
3065
ff9f1c5f
DM
30662012-04-05 David S. Miller <davem@davemloft.net>
3067
dcd2ae90
DM
3068 * scripts/check-local-headers.sh: Accept a host triplet in the
3069 path matched by the exclude regexp.
3070
993eb054
DM
3071 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3072 definition.
3073 * sysdeps/powerpc/powerpc32/dl-machine.h
3074 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3075 * sysdeps/s390/s390-32/dl-machine.h
3076 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3077 * sysdeps/sparc/sparc32/dl-machine.h
3078 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3079 * sysdeps/sparc/sparc64/dl-machine.h
3080 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3081
ff9f1c5f
DM
3082 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3083 lazy binding.
48e2e132 3084 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3085 undefined symbol errors.
3086
48e2e132 3087 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3088 DT_NEEDED entries.
3089
e80d6f94
MM
30902012-04-05 Michael Matz <matz@suse.de>
3091
3092 [BZ #13592]
3093 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3094
349fa79f
AJ
30952012-04-05 Andreas Jaeger <aj@suse.de>
3096
3097 [BZ #13908]
3098 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3099 comment.
3100
f402708f
KK
31012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3102
3103 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3104 which ROUND is no valid rounding mode.
3105
2ecccfc9
KK
31062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3107
3108 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3109 read again.
3110 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3111
8a53f50f
KK
31122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3113
3114 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3115 an exception using FPU order intentionally.
3116
31172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3118
3119 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3120 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3121 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3122 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3123
d653abb7
SJ
31242012-04-05 Simon Josefsson <simon@josefsson.org>
3125
3126 [BZ #12340]
3127 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3128 EINVAL when BUFLEN is too smal.
3129
c3b1bf7d
TS
31302012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3131
3132 [BZ #13553]
3133 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3134 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3135
b1aa60f3
AJ
31362012-04-03 Andreas Jaeger <aj@suse.de>
3137
c3b1bf7d 3138 [BZ #13938]
67f60a26
AJ
3139 * manual/setjmp.texi (System V contexts): Fix sentence.
3140
b1aa60f3
AJ
3141 [BZ #13926]
3142 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3143 New macro for this case.
3144 [!__GNUC__] (__bswap_64): New inline function for this case.
3145 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3146 * bits/byteswap.h: Likewise.
3147 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3148 ull, guard with __GLIBC_HAVE_LONG_LONG.
3149
3150 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3151 __GLIBC_HAVE_LONG_LONG.
3152
3153 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3154 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3155
39c59c35
TMQMF
31562012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3157
3158 [BZ #13691]
3159 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3160 inptr and inend, rather than using last_ch.
3161
135ffda8
DM
31622012-04-02 David S. Miller <davem@davemloft.net>
3163
3164 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3165 * stdio-common/printf-parse.h (read_int): Change return type to
3166 'int', return -1 on INT_MAX overflow.
3167 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3168 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3169 overflows INT_MAX. Check for overflow of in-format-string precision
3170 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3171 SIZE_MAX not INT_MAX for integer overflow test.
3172 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3173 skip the construct in the format string but do not record anything.
3174 * stdio-common/bug22.c: Adjust to test both width/prevision
3175 INT_MAX overflow as well as total length INT_MAX overflow. Check
3176 explicitly for proper errno values.
3177
228c019e
TS
31782012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3179
302cadd3
TS
3180 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3181 CHAR_MAX.
3182 * string/test-strcmp.c [! WIDE]: Likewise.
3183 * time/tst-mktime2.c: Likewise for INT_MAX.
3184 * string/test-string.h: #include <sys/param.h> for MIN.
3185
228c019e
TS
3186 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3187 * sysdeps/i386/init-first.c (init): Likewise.
3188 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3189 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3190 * sysdeps/sh/init-first.c (init): Likewise.
3191
cfa633f5
UD
31922012-04-01 Ulrich Drepper <drepper@gmail.com>
3193
3194 * po/ru.po: Update from translation team.
d1635ef8 3195 * po/vi.po: Likewise.
cfa633f5 3196
6cd0a5ea
SP
31972012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3198
3199 * resolv/nss_dns/dns-host.c: Merge copyright years.
3200
4b43400f
LD
32012012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3202
3203 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3204 Optimize memcpy with prefetch if
3205 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3206 src, dst pointers have unequal 16 byte alignments.
3207
48c41d04
SP
32082012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3209
3210 [BZ #13928]
3211 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3212 from a CNAME entry and return the minimum ttl for the query.
3213 (gaih_getanswer_slice): Likewise.
3214
b8dc394d
JL
32152012-03-30 Jeff Law <law@redhat.com>
3216
3217 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3218 due to long keys.
3219 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3220 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3221
2f5a5ed0
JL
3222 * resolv/nss_dns/dns-host.c: Update copyright year.
3223
1d39e359
UD
32242012-03-30 Ulrich Drepper <drepper@gmail.com>
3225
c030f70c 3226 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3227 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3228
1d39e359
UD
3229 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3230 comments for sendmmsg.
3231
32322012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3233
3234 [BZ #13691]
3235 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3236 with only 1 character between 0x0041 and 0x01b0.
3237 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3238 * wcsmbs/tst-mbsnrtowcs.c: New file.
3239
20fde227
DM
32402012-03-29 David S. Miller <davem@davemloft.net>
3241
3242 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3243 small copies by hand.
3244
984a4237
JL
32452012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3246
3247 [BZ #13761]
3248 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3249 _nss_compat_initgroups_dyn): Fall back to malloc/free
3250 for large group memberships.
3251
18c9d62b
DM
32522012-03-28 David S. Miller <davem@davemloft.net>
3253
88d85d4f
DM
3254 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3255 that branches into memcpy.
3256 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3257 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3258 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3259 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3261 bits.
3262 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3263 implementation too.
3264 * sysdeps/sparc/mempcpy.S: New file.
3265
e5aa83e1
DM
3266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3267 the IFUNC routine in the libc case.
3268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3269
88570753
DM
3270 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3271 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3272 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3273 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3274 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3275 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3276 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3277 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3278
249d7567
DM
3279 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3280 loop to 256 bytes instead of 64 bytes and fix test signedness.
3281
18c9d62b
DM
3282 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3283 * sysdeps/sparc/sparc32/Makefile: rather than here...
3284 * sysdeps/sparc/sparc64/Makefile: and here.
3285
05f3d1f6
UD
32862012-03-28 Ulrich Drepper <drepper@gmail.com>
3287
3288 * malloc/mallocbug.c: Avoid warnings about unused variables.
3289
86ae07a8
JL
32902012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3291
3292 [BZ #13760]
3293 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3294 in the right place. Discard and retry query if response is
3295 larger than input buffer size.
3296
41bf21a1
JM
32972012-03-28 Joseph Myers <joseph@codesourcery.com>
3298
d6270972
JM
3299 [BZ #369]
3300 [BZ #2678]
3301 [BZ #3866]
3302 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3303 x for large integer exponent.
3304 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3305 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3306 sign of result as needed afterwards.
3307 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3308 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3309 result for underflowing pow the same as for overflow.
3310 (__kernel_standard_l): Handle powl overflow and underflow here
3311 rather than calling __kernel_standard.
3312 * math/libm-test.inc (pow_test): Add more tests.
3313
414fca03 3314 [BZ #3868]
41bf21a1
JM
3315 [BZ #13879]
3316 [BZ #13910]
3317 [BZ #13911]
3318 [BZ #13912]
3319 [BZ #13913]
3320 [BZ #13915]
3321 [BZ #13916]
3322 [BZ #13917]
3323 [BZ #13918]
3324 [BZ #13919]
3325 [BZ #13920]
3326 [BZ #13921]
3327 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3328 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3329 (__kernel_standard_l): New function.
3330 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3331 __kernel_standard.
3332 * math/w_acosl.c (__acosl): Likewise.
3333 * math/w_asinl.c (__asinl): Likewise.
3334 * math/w_atan2l.c (__atan2l): Likewise.
3335 * math/w_atanhl.c (__atanhl): Likewise.
3336 * math/w_coshl.c (__coshl): Likewise.
3337 * math/w_exp10l.c (__exp10l): Likewise.
3338 * math/w_exp2l.c (__exp2l): Likewise.
3339 * math/w_fmodl.c (__fmodl): Likewise.
3340 * math/w_hypotl.c (__hypotl): Likewise.
3341 * math/w_j0l.c (__j0l, __y0l): Likewise.
3342 * math/w_j1l.c (__j1l, __y1l): Likewise.
3343 * math/w_jnl.c (__jnl, __ynl): Likewise.
3344 * math/w_lgammal.c (__lgammal): Likewise.
3345 * math/w_log10l.c (__log10l): Likewise.
3346 * math/w_log2l.c (__log2l): Likewise.
3347 * math/w_logl.c (__logl): Likewise.
3348 * math/w_powl.c (__powl): Likewise.
3349 * math/w_remainderl.c (__remainderl): Likewise.
3350 * math/w_scalbl.c (sysv_scalbl): Likewise.
3351 * math/w_sinhl.c (__sinhl): Likewise.
3352 * math/w_sqrtl.c (__sqrtl): Likewise.
3353 * math/w_tgammal.c (__tgammal): Likewise.
3354 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3355 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3356 * math/libm-test.inc (acos_test): Add more tests.
3357 (acosh_test): Likewise.
3358 (asin_test): Likewise.
3359 (atanh_test): Likewise.
3360 (exp_test): Likewise.
3361 (exp10_test): Likewise.
3362 (exp2_test): Likewise.
3363 (expm1_test): Likewise.
3364 (lgamma_test): Likewise.
3365 (log_test): Likewise.
3366 (log10_test): Likewise.
3367 (log1p_test): Likewise.
3368 (log2_test): Likewise.
3369 (pow_test): Do not allow some spurious overflow exceptions.
3370 (sqrt_test): Add more tests.
3371 (tgamma_test): Likewise.
3372 (y0_test): Likewise.
3373 (y1_test): Likewise.
3374 (yn_test): Likewise.
3375
dd62fda6
AB
33762012-03-27 Anton Blanchard <anton@samba.org>
3377
3378 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3379 MAP_HUGETLB.
3380 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3381 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3382 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3383
1e3cdfda
AJ
33842012-03-27 David S. Miller <davem@davemloft.net>
3385
b855ab85
DM
3386 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3387
1e3cdfda
AJ
3388 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3389 have-as-vis3 check.
3390
33912012-03-27 Andreas Jaeger <aj@suse.de>
3392
3393 * sysdeps/x86_64/elf/configure.in: Moved to ...
3394 * sysdeps/x86_64/configure.in: ... here.
3395 * sysdeps/x86_64/elf/start.S: Moved to ...
3396 * sysdeps/x86_64/start.S: ... here.
3397 * sysdeps/x86_64/elf/configure: Delete.
3398
3399 * sysdeps/x86_64/configure.in: Merge contents from
3400 sysdeps/i386/configure.in (without i686 check).
3401
3402 * sysdeps/i386/elf/Versions: Merge into ...
3403 * sysdeps/i386/Versions: ... this.
3404 * sysdeps/i386/elf/Versions: Delete file.
3405 * sysdeps/i386/elf/start.S: Moved to ...
3406 * sysdeps/i386/start.S: ...here.
3407 * sysdeps/i386/elf/configure.in: Merge into...
3408 * sysdeps/i386/configure.in: ...here.
3409 * sysdeps/i386/elf/configure.in: Delete file.
3410 * sysdeps/i386/elf/configure: Delete file.
3411
3412 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3413 * debug/backtracesyms.c: ... here.
3414 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3415 * debug/backtracesymsfd.c: ... here.
3416 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3417 * sysdeps/generic/ifunc-sel.h: ... here.
3418
3419 * sysdeps/unix/i386/start.c: Delete file.
3420 * sysdeps/unix/sparc/start.c: Delete file.
3421 * sysdeps/unix/start.c: Delete file.
3422
3423 * sysdeps/sh/elf/configure.in: Moved to ...
3424 * sysdeps/sh/configure.in: ... here.
3425 * sysdeps/sh/elf/start.S: Moved to ...
3426 * sysdeps/sh/start.S: ... here.
3427 * sysdeps/sh/elf/configure: Delete file.
3428
3429 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3430 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3431 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3432 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3433 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3434 * sysdeps/powerpc/powerpc64/start.S: here.
3435 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3436 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3437 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3438 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3439 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3440
3441 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3442 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3443 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3444 * sysdeps/powerpc/powerpc32/start.S: ... here.
3445 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3446 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3447 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3448
3449 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3450 * sysdeps/powerpc/ifunc-sel.h: ... here.
3451 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3452 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3453
3454 * sysdeps/sparc/elf/configure.in: Moved to ...
3455 * sysdeps/sparc/configure.in: ... here.
3456 * sysdeps/sparc/elf/configure: Delete file.
3457 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3458 * sysdeps/sparc/sparc32/start.S: ... here.
3459 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3460 * sysdeps/sparc/sparc64/start.S: ... here.
3461 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3462 * sysdeps/sparc/sparc32/Makefile: ... this.
3463 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3464 * sysdeps/sparc/sparc64/Makefile: ... this.
3465
3466 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3467 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3468 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3469 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3470 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3471 * sysdeps/s390/s390-32/setjmp.S: ... here.
3472 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3473 * sysdeps/s390/s390-32/configure.in: ... here.
3474 * sysdeps/s390/s390-32/elf/configure: Delete file.
3475 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3476 * sysdeps/s390/s390-32/start.S: ... here.
3477
3478 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3479 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3480 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3481 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3482 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3483 * sysdeps/s390/s390-64/setjmp.S: ... here.
3484 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3485 * sysdeps/s390/s390-64/configure.in: ... here
3486 * sysdeps/s390/s390-64/elf/configure: Delete file.
3487 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3488 * sysdeps/s390/s390-64/start.S: ... here.
3489 * sysdeps/s390/s390-64/elf/configure: Delete.
3490
3491 * configure.in: Remove support for elf directories in sysdeps.
3492
3493 * configure: Regenerated.
3494 * sysdeps/i386/configure: Regenerated.
3495 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3496 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3497 * sysdeps/s390/s390-32/configure: Regenerated.
3498 * sysdeps/s390/s390-64/configure: Regenerated.
3499 * sysdeps/sh/configure: Regenerated.
3500 * sysdeps/sparc/configure: Regenerated.
3501 * sysdeps/x86_64/configure: Regenerated.
3502
a3f61311
AS
35032012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3504
c876e002
AS
3505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3506
a3f61311
AS
3507 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3508 denormal result into account.
3509
ac4c54f0
RM
35102012-03-25 Roland McGrath <roland@hack.frob.com>
3511
3512 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3513 Reported by Allan McRae <allan@archlinux.org>.
3514
6a9b9c02
JL
35152012-03-23 Jeff Law <law@redhat.com>
3516
3517 * nss/getnssent.c (__nss_getent): Fix typo.
3518
4c42a0c1
DM
35192012-03-23 David S. Miller <davem@davemloft.net>
3520
3521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3522
1532c7ac
L
35232012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3524
3525 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3526 to pad to uint64_t for each field.
3527 (dl_tls_index): Replace unsigned long with uint64_t.
3528
3ff42526
PP
35292012-03-23 Daniel Jacobowitz <dmj@google.com>
3530 Paul Pluzhnikov <ppluzhnikov@google.com>
3531
3532 [BZ #6528]
3533 * grp/Makefile (otherlibs): Don't set it.
3534 * inet/Makefile (otherlibs): Likewise.
3535 * login/Makefile (otherlibs): Likewise.
3536 * nscd/Makefile (otherlibs): Likewise.
3537 * posix/Makefile (otherlibs): Likewise.
3538 * pwd/Makefile (otherlibs): Likewise.
3539 * rt/Makefile (otherlibs): Likewise.
3540 * sunrpc/Makefile (otherlibs): Likewise.
3541 * nss/Makefile (otherlibs): Likewise.
3542 Add libnss_files to routines and static-only-routines.
3543 ($(objpfx)getent): Remove rule.
3544 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3545 static-only-routines.
3546
7c69cd14
JM
35472012-03-22 Joseph Myers <joseph@codesourcery.com>
3548
3549 [BZ #13892]
3550 * math/s_cexp.c: Include <float.h>.
3551 (__cexp): Handle exp result overflowing not necessarily
3552 overflowing both real and imaginary parts of result.
3553 * math/s_cexpf.c: Likewise.
3554 * math/s_cexpl.c: Likewise.
3555 * math/libm-test.inc (cexp_test): Add more tests.
3556 * sysdeps/i386/fpu/libm-test-ulps: Update.
3557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3558
81b035fe
L
35592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3560
3561 * include/link.h (ELFW): New macro.
3562 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3563 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3564
1da7940c
L
35652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3566
3567 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3568 with uint64_t.
3569
b749dbb9
L
35702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3571
3572 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3573 declaration.
3574 (struct La_x32_retval): Likewise.
3575
2ff87f3f
L
35762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3577
3578 * sysdeps/x86_64/preconfigure.in: New file.
3579 * sysdeps/x86_64/preconfigure: New generated file.
3580
c0df8e69
JM
35812012-03-22 Joseph Myers <joseph@codesourcery.com>
3582
48e44791
JM
3583 [BZ #13824]
3584 * math/e_exp2l.c: Include <float.h>.
3585 (__ieee754_exp2l): Handle overflow and underflow cases
3586 separately. Only pass fractional part of argument to
3587 __ieee754_expl.
3588 * math/libm-test.inc (exp2_test): Add more tests.
3589
c0df8e69
JM
3590 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3591 negating x to take absolute value.
3592 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3593 Likewise.
3594 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3595 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3596 Likewise.
3597 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3598 computing low part if x was negated.
3599 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3600
c8e43ba7
L
36012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3602
3603 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3604 la_x32_gnu_pltexit.
3605 (pltexit): Cast int_retval to ptrdiff_t.
3606 * elf/tst-auditmod3b.c: Likewise.
3607 * elf/tst-auditmod4b.c: Likewise.
3608 * elf/tst-auditmod5b.c: Likewise.
3609 * elf/tst-auditmod6b.c: Likewise.
3610 * elf/tst-auditmod6c.c: Likewise.
3611 * elf/tst-auditmod7b.c: Likewise.
3612
3613 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3614 and x32_gnu_pltexit.
3615
3616 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3617 __ELF_NATIVE_CLASS.
3618 (La_x32_regs): New macro.
3619 (La_x32_retval): Likewise.
3620 (la_x32_gnu_pltenter): New function prototype.
3621 (la_x32_gnu_pltexit): Likewise.
3622
7998fa78
AS
36232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3624
dcb33988
AS
3625 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3626 exponent.
3627
233fc563
AS
3628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3629
7998fa78
AS
3630 * configure.in (libc_cv_cc_nofma): Check for option to disable
3631 generation of FMA instructions.
3632 * configure: Regenerate.
3633 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3634 * sysdeps/ieee754/dbl-64/Makefile: New file.
3635 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3636 Remove brandred-fma4.
3637 (CFLAGS-brandred-fma4.c): Remove.
3638 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3639 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3640 define.
3641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3642 define.
3643
8e95c99a
L
36442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3645
3646 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3647 LLONG_MAX != LONG_MAX.
3648 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3649 (_fitoa_word): Likewise.
3650 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3651 LLONG_MAX != LONG_MAX.
3652 * stdio-common/_itowa.h: Include <_itoa.h>.
3653 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3654 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3655 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3656 only if not defined.
3657 (_ITOA_WORD_TYPE): Likewise.
3658 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3659 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3660
6f4db457
DM
36612012-03-21 David S. Miller <davem@davemloft.net>
3662
3663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3664
7785fe5a
L
36652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3666
3667 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3668 of x86_64 when setting libc_cv_slibdir, libdir and
3669 libc_cv_localedir.
3670 * sysdeps/unix/sysv/linux/configure: Regenerated.
3671
4535cd55
JM
36722012-03-21 Joseph Myers <joseph@codesourcery.com>
3673
3674 * manual/lang.texi (Old Varargs): Remove section.
3675 (How Variadic): Update menu.
3676 (va_start): Do not mention varargs.h.
3677
17228132
TS
36782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3679 Joseph Myers <joseph@codesourcery.com>
3680
3681 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3682 link test.
3683 * configure: Regenerated.
3684
8149f976
TS
36852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3686
05f3d1f6
UD
3687 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3688 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3689 conformtest.pl
8149f976 3690
1a4ac776
JM
36912012-03-21 Joseph Myers <joseph@codesourcery.com>
3692
be22ce65
JM
3693 * NOTES: Remove.
3694 * Makefile (files-for-dist): Remove NOTES.
3695 (NOTES): Remove rule.
3696 * README: Don't refer to NOTES.
3697 * manual/creature.texi: Don't include macros.texi.
3698 * manual/intro.texi (creature.texi): Remove comment referring to
3699 NOTES.
3700
40b601fb
JM
3701 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3702 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3703 * configure: Regenerated.
3704 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3705 LIBC_TRY_CC_OPTION.
3706 (libc_cv_as_i686): Likewise.
3707 (libc_cv_cc_avx): Likewise.
3708 (libc_cv_cc_sse2avx): Likewise.
3709 (libc_cv_cc_fma4): Likewise.
3710 (libc_cv_cc_novzeroupper): Likewise.
3711 * sysdeps/i386/configure: Regenerated.
3712
1a4ac776
JM
3713 [BZ #13883]
3714 * sysdeps/i386/fpu/s_cexp.S: Remove.
3715 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3716 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3717 * math/libm-test.inc (cexp_test): Add more tests.
3718 * sysdeps/i386/fpu/libm-test-ulps: Update.
3719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3720
a458e7fe
AM
37212012-03-21 Allan McRae <allan@archlinux.org>
3722
3723 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3724
0cb7efc5
JM
37252012-03-21 Joseph Myers <joseph@codesourcery.com>
3726
3727 [BZ #13871]
3728 * math/w_exp2.c: Do not include <float.h>.
3729 (o_threshold, u_threshold): Remove.
3730 (__exp2): Calculate result before checking finiteness and calling
3731 __kernel_standard.
3732 * math/w_exp2f.c: Likewise.
3733 * math/w_exp2l.c: Likewise.
3734 * math/libm-test.inc (exp2_test): Require overflow exception for
3735 1e6 input.
2460d3aa
JM
3736
3737 [BZ #3866]
3738 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3739 range of signed 64-bit integers before using fistpll. Remove
3740 checks for whether integers fit in mantissa bits.
3741 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3742 the range of signed 32-bit integers before using fistpl. Remove
3743 checks for whether integers fit in mantissa bits.
3744 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3745 (__ieee754_powl): Test for y outside the range of signed 64-bit
3746 integers before using fistpll. Reduce 64-bit values to 63-bit
3747 ones as needed.
3748 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3749 divide-by-zero is raised for zero to large negative powers.
3750 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3751 (__ieee754_powl): Test for y outside the range of signed 64-bit
3752 integers before using fistpll. Reduce 64-bit values to 63-bit
3753 ones as needed.
3754 * math/libm-test.inc (pow_test): Add more tests.
3755
eb96ffb0
L
37562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3759 <stdio-common/_itoa.h>.
3760 * debug/segfault.c: Likewise.
3761 * elf/dl-cache.c: Likewise.
3762 * elf/dl-minimal.c: Likewise.
3763 * elf/dl-misc.c: Likewise.
3764 * elf/dl-sysdep.c: Likewise.
3765 * elf/dl-version.c: Likewise.
3766 * elf/rtld.c: Likewise.
3767 * hurd/hurdsock.c: Likewise.
3768 * hurd/lookup-retry.c: Likewise.
3769 * malloc/malloc.c: Likewise.
3770 * malloc/mtrace.c: Likewise.
3771 * nscd/nscd_getgr_r.c: Likewise.
3772 * nscd/nscd_getpw_r.c: Likewise.
3773 * nscd/nscd_getserv_r.c: Likewise.
3774 * posix/getopt_init.c: Likewise.
3775 * posix/wordexp.c: Likewise.
3776 * stdio-common/_itoa.c: Likewise.
3777 * stdio-common/printf_fphex.c: Likewise.
3778 * stdio-common/vfprintf.c: Likewise.
3779 * string/_strerror.c: Likewise.
3780 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3781 * sysdeps/i386/i686/hp-timing.h: Likewise.
3782 * sysdeps/mach/_strerror.c: Likewise.
3783 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3784 * sysdeps/mach/hurd/sethostid.c: Likewise.
3785 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3786 * sysdeps/mach/xpg-strerror.c: Likewise.
3787 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3788 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3789 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3790 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3791 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3792 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3793 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3794 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3795 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3796 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3797 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3798 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3799 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3800 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3801 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3802 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3803 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3804 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3805 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3806 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3807 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3808
3809 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3810
3811 * stdio-common/_itoa.h: Moved to ...
3812 * sysdeps/generic/_itoa.h: Here.
3813
3814 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3815
3816 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3817 instead of "_itoa.h" and "_itowa.h".
3818 * stdio-common/vfprintf.: Likewise.
3819
d1af992d
L
38202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3821
3822 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3823 <bits/wordsize.h>.
3824 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3825 (__signbit): Likwise.
3826 (llrintf): Likwise.
3827 (llrint): Likwise.
3828
114883e0
L
38292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3832 __WORDSIZE != 64.
3833
c135cc1b
JM
38342012-03-20 Joseph Myers <joseph@codesourcery.com>
3835
3836 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3837 OVERFLOW_EXCEPTION_OK.
3838 * math/libm-test.inc ("Philosophy"): Update comment about
3839 exception testing.
3840 (OVERFLOW_EXCEPTION): Define.
3841 (OVERFLOW_EXCEPTION_OK): Likewise.
3842 (INVALID_EXCEPTION_OK): Renumber.
3843 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3844 (IGNORE_ZERO_INF_SIGN): Likewise.
3845 (test_exceptions): Handle FE_OVERFLOW.
3846 (exp10_test): Expect overflow exceptions.
3847 (exp2_test): Likewise.
3848 (expm1_test): Likewise.
3849 (nextafter_test): Likewise.
3850 (pow_test): Likewise.
3851 (scalbn_test): Likewise.
3852 (scalbln_test): Likewise.
3853
95443d88
L
38542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3855
3856 * sysdeps/x86_64/bits/atomic.h
3857 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3858 64bit integer.
3859 (atomic_exchange_acq): Likewise.
3860 (__arch_exchange_and_add_body): Likewise.
3861 (__arch_add_body): Likewise.
3862 (atomic_add_negative): Likewise.
3863 (atomic_add_zero): Likewise.
3864
490df6c4
L
38652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3866
c2722551 3867 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3868 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3869
5e52b189
L
38702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3873 Check __x86_64__ instead of __WORDSIZE.
3874
a9879d4c
L
38752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3876
3877 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3878
5df98260
DM
38792012-03-19 David S. Miller <davem@davemloft.net>
3880
e1497744
DM
3881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3882
5df98260
DM
3883 * sysdeps/sparc/fpu/fenv_private.h: New file.
3884 * sysdeps/sparc/fpu/math_private.h: Use it.
3885 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3886 Remove.
3887 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3888 (libc_feholdexcept_setroundl): Remove.
3889 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3890 Remove.
3891 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3892 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3893
b4c35121
L
38942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3895
3896 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3897 int64_t instead of long int.
3898 (INSERT_WORDS64): Likwise.
3899
56965fd7
L
39002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3901
3902 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3903 _Unwind_GetCFA return to _Unwind_Ptr first.
3904
83d1aec8
JM
39052012-03-19 Joseph Myers <joseph@codesourcery.com>
3906
1897ad44
JM
3907 [BZ #13629]
3908 * math/s_clog.c: Include <float.h>.
3909 (__clog): Scale large or subnormal inputs.
3910 * math/s_clogf.c: Likewise.
3911 * math/s_clogl.c: Likewise.
3912 * math/s_clog10.c: Include <float.h>.
3913 (M_LOG10_2): Define.
3914 (__clog10): Scale large or subnormal inputs.
3915 * math/s_clog10f.c: Likewise.
3916 * math/s_clog10l.c: Likewise.
3917 * math/libm-test.inc (clog_test): Add more tests.
3918 (clog10_test): Likewise.
3919 * sysdeps/i386/fpu/libm-test-ulps: Update.
3920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3921
7726d6a9
JM
3922 [BZ #11451]
3923 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3924 x and y.
3925 * math/libm-test.inc (atan2_test): Add another test.
3926
83d1aec8
JM
3927 * Makerules (common-objdir-compile): Remove.
3928 * sysdeps/unix/Makefile (config-generated): Do not add
3929 $(unix-generated) to variable.
3930 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3931 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3932 Remove rule.
3933 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3934 Likewise.
3935 [generic bits/local_lim.h] (before-compile): Do not append to
3936 variable.
3937 [generic bits/local_lim.h] (common-generated): Likewise.
3938 [generic sys/param.h] (before-compile): Do not append to variable.
3939 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3940 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3941 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3942 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3943 include.
3944 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3945 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3946 [generic sys/param.h] ($(addprefix
3947 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3948 [generic sys/param.h] (common-generated): Do not append to
3949 variable.
3950 [generic sys/param.h] (sysdep_headers): Likewise.
3951 [generic bits/errno.h] (before-compile): Do not append to
3952 variable.
3953 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3954 rule.
3955 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3956 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3957 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3958 [generic bits/errno.h] (common-generated): Do not append to
3959 variable.
3960 [generic bits/ioctls.h] (before-compile): Do not append to
3961 variable.
3962 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3963 rule.
3964 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3965 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3966 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3967 rule.
3968 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3969 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3970 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3971 [generic bits/ioctls.h] (common-generated): Do not append to
3972 variable.
3973 [generic sys/syscall.h] (syscall.h): Remove variable.
3974 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3975 rule.
3976 [generic sys/syscall.h] (before-compile): Do not append to
3977 variable.
3978 [generic sys/syscall.h] (common-generated): Likewise.
3979 * sysdeps/unix/errnos-tmpl.c: Remove file.
3980 * sysdeps/unix/errnos.awk: Likewise.
3981 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3982 * sysdeps/unix/ioctls.awk: Likewise.
3983 * sysdeps/unix/mk-local_lim.c: Likewise.
3984 * sysdeps/unix/snarf-ioctls: Likewise.
3985
4851a949
RH
39862012-03-19 Richard Henderson <rth@twiddle.net>
3987
bd37f2ee
RH
3988 * sysdeps/i386/fpu/fenv_private.h: New file.
3989 * sysdeps/i386/fpu/math_private.h: Use it.
3990 (math_opt_barrier, math_force_eval): Remove.
3991 (libc_feholdexcept_setround_53bit): Remove.
3992 (libc_feupdateenv_53bit): Remove.
3993 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3994 (math_opt_barrier, math_force_eval): Remove.
3995 (libc_feholdexcept): Remove.
3996 (libc_feholdexcept_setround): Remove.
3997 (libc_fetestexcept, libc_fesetenv): Remove.
3998 (libc_feupdateenv_test): Remove.
3999 (libc_feupdateenv, libc_feholdsetround): Remove.
4000 (libc_feresetround): Remove.
4001
d0adc922
RH
4002 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4003 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4004
0fe0f1f8
RH
4005 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4006 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4007 (libc_feupdateenv_testl): New.
4008 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4009 (libc_feupdateenv_testf): New.
4010 (libc_feupdateenv): Use libc_feupdateenv_test.
4011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4012 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4013
eb92c487
RH
4014 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4015 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4016 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4017 (libc_feresetround_noex): New.
4018 (libc_feresetround_noexf): New.
4019 (libc_feresetround_noexl): New.
4020 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4021 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4022 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4023 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4024 SET_RESTORE_ROUND.
4025 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4026 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4027 (__cos): Likewise.
4028 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4029 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4030 SET_RESTORE_ROUND_NOEX.
4031 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4032 SET_RESTORE_ROUND_NOEXF.
4033 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4034 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4035 (libc_feholdsetroundf): New.
4036 (libc_feresetround, libc_feresetroundf): New.
4037
7d2e8012
RH
4038 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4039 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4040 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4041
b4dabbb4
RH
4042 * sysdeps/generic/math_private.h: Include <fenv.h>.
4043 (default_libc_feholdexcept): New.
4044 (default_libc_feholdexcept_setround): New.
4045 (default_libc_fesetenv, default_libc_feupdateenv): New.
4046 (libc_feholdexcept): Only define if undefined.
4047 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4048 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4049 (libc_feholdexcept_setroundl): Likewise.
4050 (libc_feholdexcept_setround_53bit): Likewise.
4051 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4052 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4053 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4054 (libc_feupdateenv_53bit): Likewise.
4055 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4056 (libc_feholdexcept): Convert from macro to inline function.
4057 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4058 (libc_fesetenv, libc_feupdateenv): Likewise.
4059
4851a949
RH
4060 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4061 not previously defined.
4062 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4063 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4064 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4065 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4066 * sysdeps/ieee754/flt-32/math_private.h: New file.
4067 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4068 math_private.h below SET_FLOAT_WORD.
4069 (__isnan, __isinf_ns, __finite): Remove.
4070 (__isnanf, __isinf_nsf, __finitef): Remove.
4071
e79d442e
AS
40722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4073
4074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4075
90b80344
DM
40762012-03-17 David S. Miller <davem@davemloft.net>
4077
4078 [BZ #6471]
4079 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4080 for 2.16.
4081
edc21804
DM
40822012-03-16 David S. Miller <davem@davemloft.net>
4083
77e927af
DM
4084 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4085 warnings.
4086
374976dd
DM
4087 [BZ #6471]
4088 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4089 properly.
4090 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4091 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4092 sysdep_routines when subdir is sysvipc.
4093 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4094 __getshmlba helper.
4095
edc21804
DM
4096 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4097
473c3ef3
L
40982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4101 [__LP64__].
4102
eb0f39b6
L
41032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4106 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4107 (__lround): Renamed to ...
4108 (__llround): This. Replace long int with long long int.
4109 Define lround functions as aliases of llround functions.
4110 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4111
6b6cd74b
L
41122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4113
4114 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4115 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4116 adresses to uintptr_t. Replace "long int" and "unsigned long
4117 int" with "greg_t" on va_arg.
4118
f1a77b01
L
41192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4122 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4123
4124 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4125 Move e_machine check before EI_CLASS check. Handle x32
4126 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4127 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4128 SKIP_EM_IA_64 and include
4129 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4130
4131 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4132 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4133 (add_system_dir): New macro.
4134
4135 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4136 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4137
11b90b9f
JM
41382012-03-16 Joseph Myers <joseph@codesourcery.com>
4139
c36e1d23
JM
4140 [BZ #2551]
4141 [BZ #2552]
4142 [BZ #2553]
4143 [BZ #2554]
4144 [BZ #2562]
4145 [BZ #2563]
4146 [BZ #2565]
4147 [BZ #2566]
4148 [BZ #2576]
4149 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4150 (y0): Likewise.
4151 * math/w_j0f.c (j0f): Likewise.
4152 (y0f): Likewise.
4153 * math/w_j0l.c (__j0l): Likewise.
4154 (__y0l): Likewise.
4155 * math/w_j1.c (j1): Likewise.
4156 (y1): Likewise.
4157 * math/w_j1f.c (j1f): Likewise.
4158 (y1f): Likewise.
4159 * math/w_j1l.c (__j1l): Likewise.
4160 (__y1l): Likewise.
4161 * math/w_jn.c (jn): Likewise.
4162 (yn): Likewise.
4163 * math/w_jnf.c (jnf): Likewise.
4164 (ynf): Likewise.
4165 * math/w_jnl.c (__jnl): Likewise.
4166 (__ynl): Likewise.
4167 * math/libm-test.inc (j0_test): Add more tests.
4168 (j1_test): Likewise.
4169 (jn_test): Likewise. Add trailing semicolon to existing test.
4170 (y0_test): Likewise.
4171 (y1_test): Likewise.
4172 * sysdeps/i386/fpu/libm-test-ulps: Update.
4173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4174
11b90b9f
JM
4175 [BZ #13851]
4176 [BZ #13854]
4177 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4178 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4179 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4180 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4181 (__tanl): Set errno for infinite argument.
4182 * sysdeps/i386/fpu/mptan.c: Remove.
4183 * sysdeps/i386/fpu/s_tan.S: Likewise.
4184 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4185 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4186 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4187 * math/libm-test.inc (tan_test): Add more tests and enable more
4188 tests for double and long double.
4189 * sysdeps/i386/fpu/libm-test-ulps: Update.
4190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4191
6a1bd2a1
JK
41922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4193
4194 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4195 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4196
10a803e0
RM
41972012-03-16 Roland McGrath <roland@hack.frob.com>
4198
4199 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4200 * configure.in: Use it for both main tree and add-ons.
4201 * configure: Regenerated.
4202
f196c7f7
L
42032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4204
4205 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4206
8848d99d
JM
42072012-03-16 Joseph Myers <joseph@codesourcery.com>
4208
96cbe7f4
JM
4209 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4210 in comment.
4211
8848d99d
JM
4212 [BZ #13851]
4213 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4214 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4218 infinite argument.
4219 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4220 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4221 != 0 for prec == 2.
4222 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4223 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4224 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4225 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4226 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4227 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4228 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4229 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4230 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4231 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4232 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4233 * math/libm-test.inc (cos_test): Add more tests and enable more
4234 tests for long double.
4235 (sin_test): Likewise.
4236 (sincos_test): Likewise.
4237 * sysdeps/i386/fpu/libm-test-ulps: Update.
4238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4239
dd7f4703
DM
42402012-03-16 David S. Miller <davem@davemloft.net>
4241
4242 * sysdeps/sparc/fpu/math_private.h: New file.
4243
006f1daa
DM
42442012-03-15 David S. Miller <davem@davemloft.net>
4245
c0c83bc8
DM
4246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4247 file.
e6a62e18 4248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4250 file.
e6a62e18
DM
4251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4257 sysdep routines.
4258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4259
88cb87d9
DM
4260 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4261 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4262
006f1daa 4263 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4265 sparc-ifunc.h
006f1daa 4266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4268 Likewise.
4269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4270 Likewise.
006f1daa
DM
4271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4275 Likewise.
006f1daa
DM
4276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4281 Likewise.
4282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4283 Likewise.
006f1daa
DM
4284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4307 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4308
11e0098e
AS
43092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4310
4311 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4312 scaling.
4313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4314
e85b09d0
AJ
43152012-03-15 Andreas Jaeger <aj@suse.de>
4316
4317 [BZ #13852]
4318 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4319 ieee754/flt-32 implementation for sin, cos and sincos.
4320 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4321 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4322 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4323 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4324 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4325 ieee754/flt-32 implementation for tan.
4326
4327 * math/libm-test.inc (cos_test): Enable some large input tests for
4328 float as well
4329 (sin_test): Likewise.
4330 (sincos_test): Likewise.
4331 (tan_test): Add tests for large input.
4332
4333 * sysdeps/i386/fpu/libm-test-ulps: Update.
4334
81c64153
AJ
43352012-03-15 Andreas Jaeger <aj@suse.de>
4336
4337 [BZ #13658]
4338 * math/libm-test.inc (cos_test): Add more test cases.
4339 (sin_test): Likewise.
4340 (sincos_test): Likewise.
4341
7bbfa5c6
AJ
43422012-03-15 Andreas Jaeger <aj@suse.de>
4343
4344 [BZ #13837]
4345 * math/libm-test.inc (cos_test): Add a test case for large input
4346 value.
4347 (sin_test): Likewise.
4348 (sincos_test): Likewise.
4349
43502012-03-15 Andreas Jaeger <aj@suse.de>,
4351 Joseph Myers <joseph@codesourcery.com>
4352
4353 [BZ #13658]
0671f479 4354 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4355 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4356 * sysdeps/i386/fpu/branred.c: Likewise.
4357 * sysdeps/i386/fpu/dosincos.c: Likewise.
4358 * sysdeps/i386/fpu/mpa.c: Likewise.
4359 * sysdeps/i386/fpu/s_cos.S: Likewise.
4360 * sysdeps/i386/fpu/s_sin.S: Likewise.
4361 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4362 * sysdeps/i386/fpu/sincos32.c: Likewise.
4363
4364 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4365 Define.
4366 (libc_feupdateenv_53bit): Define.
4367 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4368 Define.
4369 (libc_feupdateenv_53bit): Define.
4370
4371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4372 53 bit (without extend i386 double precision).
4373
4374 * math/libm-test.inc (sincos_test): Add tests for large input.
4375 (sin): Likewise.
4376 (cos): Likewise.
4377
4378 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4379
9cad04ea
AS
43802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4381
4382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4383
f7062b9a
DM
43842012-03-15 David S. Miller <davem@davemloft.net>
4385
4386 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4387 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4388 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4389 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4402 file.
f7062b9a 4403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4405 file.
f7062b9a 4406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4408 file.
f7062b9a 4409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4411 file.
f7062b9a
DM
4412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4414 fmin/fmax sysdep routines.
4415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4416
7bd951ff
DM
44172012-03-14 David S. Miller <davem@davemloft.net>
4418
559398ab
DM
4419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4440 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4448 routines.
4449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4450 file.
559398ab 4451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4453 file.
559398ab 4454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4456 file.
559398ab 4457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4459 file.
559398ab 4460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4462 file.
559398ab 4463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4465 file.
4466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4467 file.
4468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4469 file.
4470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4471 file.
4472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4473 New file.
4474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4475 file.
4476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4477 file.
559398ab 4478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4480 file.
559398ab 4481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4483 file.
559398ab 4484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4486 file.
559398ab 4487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4489 VIS3 routines.
559398ab
DM
4490
4491 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4492 New file.
4493
5a1c1e32
DM
4494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4495
eae47a36
DM
4496 * sysdeps/sparc/configure.in: New file.
4497 * sysdeps/sparc/configure: Generate.
4498 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4499 * configure: Regenerate.
4500 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4501 * config.make.in (have-as-vis3): New.
4502 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4503 available use -Av9d instead of -Av9a.
4504 * sysdeps/sparc/sparc64/Makefile: Likewise.
4505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4507 New file.
4508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4509 file.
4510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4511 New file.
4512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4513 file.
eae47a36
DM
4514 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4518 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4519
c0c83bc8
DM
4520 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4521 fzeros/fnegs to load 0x80000000 into a float register instead of
4522 using the stack.
7bd951ff
DM
4523 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4524
bd951ccb
JM
45252012-03-14 Joseph Myers <joseph@codesourcery.com>
4526
4527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4528 bits/syscall.h.
4529 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4530 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4531 ($(inst_includedir)/bits/syscall.h): Remove rule.
4532 ($(objpfx)bits/syscall.d): Include instead of
4533 $(objpfx)syscall-list.d.
4534 (generated): Change syscall-list.h and syscall-list.d to
4535 bits/syscall.h and bits/syscall.d.
4536
bb4e6db2
RM
45372012-03-14 Roland McGrath <roland@hack.frob.com>
4538
4539 [BZ #13846]
4540 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4541
aa4a2ae1
JM
45422012-03-14 Joseph Myers <joseph@codesourcery.com>
4543
e456826d
JM
4544 [BZ #13841]
4545 * math/s_csqrt.c: Include <float.h>.
4546 (__csqrt): Scale large or subnormal inputs.
4547 * math/s_csqrtf.c: Likewise.
4548 * math/s_csqrtl.c: Likewise.
4549 * math/libm-test.inc (csqrt_test): Add more tests.
4550 * sysdeps/i386/fpu/libm-test-ulps: Update.
4551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4552
aa4a2ae1
JM
4553 [BZ #13840]
4554 * math/libm-test.inc (hypot_test): Add more tests.
4555
7c10fd35
DM
45562012-03-13 David S. Miller <davem@davemloft.net>
4557
4558 [BZ #13840]
4559 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4560 double-precision for the calculation instead of scaling.
4561
f453b98b
JM
45622012-03-13 Joseph Myers <joseph@codesourcery.com>
4563
4564 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4565 manipulate bits before adding and subtracting TWO52[sx].
4566 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4567 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4568 Likewise.
4569 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4570
09a3453f
DM
45712012-03-13 David S. Miller <davem@davemloft.net>
4572
8e59da90
DM
4573 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4574 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4575 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4576 rtld-global-offsets.h
4577 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4578
2a8ab7f2
DM
4579 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4580 large parameters.
4581
10f62770
DM
4582 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4583
5f0bdb18
DM
4584 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4585 'err' in the ifdef scope in which it is actually used.
4586
09a3453f
DM
4587 * nss/nss_db/db-init.c: Include string.h
4588
b4b2eb5e
DM
45892012-03-12 David S. Miller <davem@davemloft.net>
4590
98bb2f1c
DM
4591 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4592 masking out of the most significant byte of random value used.
4593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4594 Fix coding style in previous change.
4595
b4b2eb5e
DM
4596 * sysdeps/unix/sysv/linux/kernel-features.h
4597 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4598 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4599 expression.
4600 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4601 later.
4602
6e226b09
DM
46032012-03-11 David S. Miller <davem@davemloft.net>
4604
a1bcbd40
DM
4605 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4606 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4607 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4608 for 'resultvar' otherwise things get truncated on 64-bit.
4609
cb9d6174
DM
4610 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4611 Fix masking out of the most significant byte of random value used.
4612
6e226b09
DM
4613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4614
058c132d
AS
46152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4616
4617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4618
2d2cd515
DM
46192012-03-09 David S. Miller <davem@davemloft.net>
4620
4621 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4622 variables with appropriate CPP guards.
4623 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4624 frame pointer, not the stack pointer. Correct layout comments. Fix test
4625 on resulting framesize and the management of the outregs buffer for pltexit.
4626 Preserve floating point return values across _dl_call_pltexit call.
4627 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4628 framesize and the management of the outregs buffer for pltexit.
4629 Preserve floating point return values across _dl_call_pltexit
4630 call.
4631 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4632 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4633 (print_exit): Fix format string for return register value.
4634
9a07f9d0
JM
46352012-03-10 Joseph Myers <joseph@codesourcery.com>
4636
4637 * sunrpc/Makefile (others): Add rpcgen.
4638 ($(objpfx)rpcgen): Remove special build rule and dependency on
4639 libc.
4640 * sunrpc/rpcgen.c: New file.
4641
547b5e30
PE
46422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4643
c524201a
PE
4644 [BZ #13673]
4645 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4646 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4647 * sysdeps/i386/crti.S: Likewise.
4648 * sysdeps/i386/crtn.S: Likewise.
4649 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4650 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4651 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4652 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4653 * sysdeps/sh/crti.S: Likewise.
4654 * sysdeps/sh/crtn.S: Likewise.
4655 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4656
7b6235f2
PE
4657 [BZ #13673]
4658 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4659 with URL.
4660 * locale/programs/locfile-kw.gperf: Likewise.
4661 * locale/programs/charmap-kw.h: Regenerated.
4662 * locale/programs/locfile-kw.h: Likewise.
4663
547b5e30
PE
4664 [BZ #13673]
4665 * intl/plural.y: Replace FSF snail mail address with URL.
4666 * intl/plural.c: Regenerated.
4667
5f0a5dae
RH
46682012-03-09 Richard Henderson <rth@twiddle.net>
4669
4670 * include/math_private.h: Remove file.
4671 * math/math_private.h: Move file ...
4672 * sysdeps/generic/math_private.h: ... here.
4673
b8c03620
RH
4674 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4675 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4676 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4677
4e234f5d 4678 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4679 and <math_private.h>.
4680 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4681 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4682 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4683 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4684 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4685 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4686 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4691 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4692 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4694 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4704 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4705 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4706 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4711 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4714 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4716 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4717 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4718 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4719 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4720 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4721 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4724 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4725 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4726 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4727 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4729 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4730 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4731 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4732 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4734 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4735 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4736 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4737 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4738 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4739 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4740 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4741 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4742 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4743 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4744 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4745 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4746 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4747 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4748 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4749 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4750 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4751 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4752 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4754 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4758 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4759 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4760 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4761 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4762 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4763 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4764 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4767 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4768 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4769 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4770 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4771 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4772 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4773 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4774 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4775 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4776 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4777 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4778 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4779 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4780 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4781 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4782 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4783 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4784 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4785 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4786 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4787 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4788 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4789 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4790 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4791 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4792 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4793 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4794 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4795 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4796 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4797 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4798 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4799 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4800 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4801 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4802 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4803 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4804 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4806 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4807 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4808 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4809 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4810 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4811 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4812 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4813 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4814 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4815 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4816 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4817 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4818 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4819 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4820 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4821 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4822 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4823 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4824 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4825 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4826 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4827 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4828 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4829 * sysdeps/ieee754/k_standard.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4880 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4881 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4890 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4893 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4894 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4897 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4898 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4901 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4902 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4903 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4904 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4906 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4907 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4908 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4927 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4928 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4929 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4934 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4945 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4949 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4950 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4952 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4957 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4962 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4969 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4971 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4973 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4974 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4975 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4976 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4977 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4978 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4979 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4980 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4981 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4982 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4983 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4984 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4985 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4987 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4989 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4990 * sysdeps/ieee754/s_lib_version.c: Likewise.
4991 * sysdeps/ieee754/s_matherr.c: Likewise.
4992 * sysdeps/ieee754/s_signgam.c: Likewise.
4993 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4994 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4995 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4996 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4997 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4998 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4999 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5000 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5001 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5002 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5003 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5004 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5005 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5006 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5007 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5008 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5009 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5010 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5011 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5012 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5014
1991fa03
JM
50152012-03-09 Joseph Myers <joseph@codesourcery.com>
5016
5017 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5018 * sunrpc/rpc_main.c: Likewise.
5019 * sunrpc/rpc_svcout.c: Likewise.
5020
60d6f5a6
DM
50212012-03-09 David S. Miller <davem@davemloft.net>
5022
5023 * include/math_private.h: New file.
5024
4962050e
JM
50252012-03-09 Joseph Myers <joseph@codesourcery.com>
5026
02a6f887
JM
5027 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5028 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5029 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5030 from <bits/socket_type.h>.
5031 (enum __socket_type): Don't define here.
5032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5034 bits/socket_type.h.
5035
c6e013c1
JM
5036 [BZ #13566]
5037 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5038 checking __USE_GNU.
5039
4962050e
JM
5040 * Makerules ($(inst_includedir)/%.h): New rule.
5041 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5042 (install-others): Remove variable setting.
5043 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5044
38842f45
RH
50452012-03-08 Richard Henderson <rth@twiddle.net>
5046
67bb6da6
RH
5047 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5048 from macro to inline function; merge with the
5049 !__LIBC_INTERNAL_MATH_INLINES version.
5050 (__ieee754_sqrtf): Likewise.
5051
15194b4b
RH
5052 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5053 to inline function.
5054 (__rintf, __floor, __floorf): Likewise.
5055
64e21ede
RH
5056 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5057 macro to inline function.
5058 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5059
38842f45
RH
5060 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5061 not <math/math_private.h>.
5062
c64bf5fe
DM
50632012-03-08 David S. Miller <davem@davemloft.net>
5064
5065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5066 copyright year.
5067 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5068
82d86f28
TS
50692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5070
5071 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5072 normalization.
5073 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5074 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5075
aea5d727
UD
50762012-03-08 Ulrich Drepper <drepper@gmail.com>
5077
5078 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5079 be defined individually, they must be defined as a block. Define
5080 S for printing a string instead of hidint the different by using a
5081 macro for adding the 'l'.
5082 * stdio-common/tst-fphex-wide.c: Adjust.
5083
70bca0a3
MP
50842012-03-07 Marek Polacek <polacek@redhat.com>
5085
5086 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5087
65b81130
MP
50882012-03-08 Marek Polacek <polacek@redhat.com>
5089
5090 [BZ #13806]
5091 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5092 * stdio-common/tst-fphex.c: Define a few macros to make the
5093 test reusable. Use them.
5094 * stdio-common/tst-fphex-wide.c: New file.
5095
07037eeb
JM
50962012-03-08 Joseph Myers <joseph@codesourcery.com>
5097
a7a93d50
JM
5098 [BZ #6911]
5099 * manual/macros.texi (gnusystems): New macro.
5100 (nongnusystems): Likewise.
5101 (gnulinuxhurdsystems): Likewise.
5102 (gnuhurdsystems): Likewise..
5103 (gnulinuxsystems): Likewise.
5104 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5105 variants of the GNU system, not "GNU system".
5106 * manual/conf.texi: Likewise.
5107 * manual/errno.texi: Likewise. Update example of errno macro
5108 expansion.
5109 * manual/filesys.texi: Likewise.
5110 (getumask): Document as specific to GNU/Hurd.
5111 * manual/install.texi: Likewise. Reword some references to
5112 GNU/Linux.
5113 * manual/intro.texi: Likewise.
5114 * manual/io.texi: Likewise.
5115 (File Name Portability): Detail which constraints are inapplicable
5116 to all GNU systems and which are only inapplicable to GNU/Hurd.
5117 * manual/job.texi: Likewise.
5118 * manual/llio.texi: Likewise.
5119 (O_NOCTTY): Document as present on GNU/Linux.
5120 * manual/maint.texi: Likewise.
5121 * manual/memory.texi: Likewise.
5122 * manual/pattern.texi: Likewise.
5123 * manual/pipe.texi: Likewise.
5124 * manual/process.texi: Likewise.
5125 * manual/resource.texi: Likewise.
5126 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5127 child on GNU/Hurd.
5128 * manual/setjmp.texi: Likewise.
5129 * manual/signal.texi: Likewise.
5130 * manual/startup.texi: Likewise.
5131 * manual/stdio.texi: Likewise.
5132 * manual/terminal.texi: Likewise.
5133 (ONLCR): Document as POSIX.
5134 (OXTABS): Document availability on GNU/Linux as XTABS.
5135 (ONOEOT): Document availability separately from other bits.
5136 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5137 * manual/time.texi: Likewise.
5138 * manual/users.texi: Likewise.
5139 * INSTALL: Regenerated.
5140 * sysdeps/gnu/errlist.c: Regenerated.
5141
07037eeb
JM
5142 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5143 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5144 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5145 puts.
5146 * configure: Regenerated.
5147
d1d3431a
JM
51482012-03-07 Joseph Myers <joseph@codesourcery.com>
5149
af6a1e37
JM
5150 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5151 default includes instead of AC_HEADER_CHECK.
5152 * sysdeps/i386/configure: Regenerated.
5153
d1d3431a
JM
5154 [BZ #10716]
5155 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5156 * math/s_cacoshf.c (__cacoshf): Likewise.
5157 * math/s_cacoshl.c (__cacoshl): Likewise.
5158 * math/s_casinh.c (__casinh): Set signs of result from argument.
5159 * math/s_casinhf.c (__casinhf): Likewise.
5160 * math/s_casinhl.c (__casinhl): Likewise.
5161 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5162 (casinh_test): Add more tests.
5163 * sysdeps/i386/fpu/libm-test-ulps: Update.
5164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5165
482ff4da
UD
51662012-03-07 Ulrich Drepper <drepper@gmail.com>
5167
872fda05
UD
5168 * po/zh_TW.po: Update from translation team.
5169
a4300c7a
UD
5170 * login/Makefile (distribute): Remove variable.
5171 * catgets/Makefile: Likewise.
5172 * mach/Makefile: Likewise.
5173 * malloc/Makefile: Likewise.
5174 * misc/Makefile: Likewise.
5175 * iconv/Makefile: Likewise.
5176 * nscd/Makefile: Likewise.
5177 * hurd/Makefile: Likewise.
5178 * manual/Makefile: Likewise.
5179 * locale/Makefile: Likewise.
5180 * intl/Makefile: Likewise.
5181 * conform/Makefile: Likewise.
5182 * nss/Makefile: Likewise.
5183 * time/Makefile: Likewise.
5184 * soft-fp/Makefile: Likewise.
5185 * dirent/Makefile: Likewise.
5186 * gmon/Makefile: Likewise.
5187 * po/Makefile: Likewise.
5188 * rt/Makefile: Likewise.
5189 * socket/Makefile: Likewise.
5190 * math/Makefile: Likewise.
5191 * signal/Makefile: Likewise.
5192 * debug/Makefile: Likewise.
5193 * elf/Makefile: Likewise.
5194 * timezone/Makefile: Likewise.
5195 * stdlib/Makefile: Likewise.
5196 * iconvdata/Makefile: Likewise.
5197 * sunrpc/Makefile: Likewise.
5198 * io/Makefile: Likewise.
5199 * argp/Makefile: Likewise.
5200 * inet/Makefile: Likewise.
5201 * hesiod/Makefile: Likewise.
5202 * grp/Makefile: Likewise.
5203 * csu/Makefile: Likewise.
5204 * wctype/Makefile: Likewise.
5205 * crypt/Makefile: Likewise.
5206 * libio/Makefile: Likewise.
5207 * string/Makefile: Likewise.
5208 * nis/Makefile: Likewise.
5209 * resolv/Makefile: Likewise.
5210 * stdio-common/Makefile: Likewise.
5211 * wcsmbs/Makefile: Likewise.
5212 * dlfcn/Makefile: Likewise.
5213 * posix/Makefile: Likewise.
5214
3b7c4e74 5215 [BZ #6959]
482ff4da
UD
5216 * timezone/Makefile: Don't install timezone files, just the programs
5217 and scripts.
5218
f72ed77d
UD
52192012-03-06 Ulrich Drepper <drepper@gmail.com>
5220
a000466f
UD
5221 * nss/databases.def: Add missing gshadow entry.
5222
f72ed77d
UD
5223 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5224
a53b7a4e
MP
52252012-03-06 Marek Polacek <polacek@redhat.com>
5226
5227 [BZ #13726]
5228 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5229 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5230 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5231 * stdio-common/tst-long-dbl-fphex.c: New file.
5232
e9258400
DM
52332012-03-06 David S. Miller <davem@davemloft.net>
5234
5235 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5236 (set_obp_int): New function.
5237 (get_obp_int): New function.
5238 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5239 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5240 Avoid unused variable warnings on 'val' and use builtin_expect.
5241 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5242 __builtin_expect.
e9258400
DM
5243 (INLINE_CLONE_SYSCALL): Likewise.
5244
3bd2c723
DM
52452012-03-05 David S. Miller <davem@davemloft.net>
5246
5247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5248
bbb78d03
AS
52492012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5250
884c5db4
AS
5251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5252
bbb78d03
AS
5253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5254 only for |x| >= 40.
5255 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5256
1c9f702a 52572012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5258
5259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5260 Replace gettimeofday with __vdso_gettimeofday.
5261
7be16f82
RM
5262 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5263 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5264 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5265
5266 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5267 time with __vdso_time.
5268
ed58a00f
JM
52692012-03-05 Joseph Myers <joseph@codesourcery.com>
5270
5271 * manual/lang.texi (size_t): Note types to which size_t may be
5272 equivalent with the GNU C Library, but do not describe when
5273 differences between them are significant.
5274
30ee4ced
AJ
52752012-03-05 Andreas Jaeger <aj@suse.de>
5276
5277 * sysdeps/i386/fpu/libm-test-ulps: Update.
5278
b7cd39e8
JM
52792012-03-05 Joseph Myers <joseph@codesourcery.com>
5280
5281 [BZ #3976]
5282 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5283 (__ieee754_pow): Save and restore rounding mode and use
5284 round-to-nearest for main computations.
5285 * math/libm-test.inc (pow_test_tonearest): New function.
5286 (pow_test_towardzero): Likewise.
5287 (pow_test_downward): Likewise.
5288 (pow_test_upward): Likewise.
5289 (main): Call the new functions.
5290 * sysdeps/i386/fpu/libm-test-ulps: Update.
5291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5292
5293 [BZ #3976]
5294 * math/libm-test.inc (cosh_test_tonearest): New function.
5295 (cosh_test_towardzero): Likewise.
5296 (cosh_test_downward): Likewise.
5297 (cosh_test_upward): Likewise.
5298 (sinh_test_tonearest): Likewise.
5299 (sinh_test_towardzero): Likewise.
5300 (sinh_test_downward): Likewise.
5301 (sinh_test_upward): Likewise.
5302 (main): Call the new functions.
5303 * sysdeps/i386/fpu/libm-test-ulps: Update.
5304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5305
6c6a98c9
TV
53062012-03-05 Tom de Vries <tom@codesourcery.com>
5307
5308 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5309 default stack guard is set in last bytes.
5310 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5311
21bb2d2e 53122012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5313
21bb2d2e 5314 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5315
21bb2d2e
AJ
5316 [BZ #13656]
5317 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5318 possibly allocate from heap instead of stack.
5319 * stdio-common/bug-vfprintf-nargs.c: New file.
5320 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5321
c6922934
AS
53222012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5323
5324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5325
bc957d53
MP
53262012-03-03 Marek Polacek <polacek@redhat.com>
5327
5328 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5329 * math/math_private.h: Likewise.
5330 * stdlib/tst-strtod.c: Likewise.
5331 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5332 * sysdeps/x86_64/bits/atomic.h: Likewise.
5333
6358490d
DM
53342012-03-02 David S. Miller <davem@davemloft.net>
5335
5336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5340 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5341 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5342 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5343 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5344
01ae168d
RM
53452012-03-02 Roland McGrath <roland@hack.frob.com>
5346
d9a17c07
RM
5347 [BZ #13792]
5348 * manual/examples/README: New file, says the example source files
5349 can be used under GPL>=2.
5350 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5351 line containing just "*/".
5352 * manual/examples/add.c: Add copyright header (GPL>=2).
5353 * manual/examples/argp-ex1.c: Likewise.
5354 * manual/examples/argp-ex2.c: Likewise.
5355 * manual/examples/argp-ex3.c: Likewise.
5356 * manual/examples/argp-ex4.c: Likewise.
5357 * manual/examples/atexit.c: Likewise.
5358 * manual/examples/db.c: Likewise.
5359 * manual/examples/dir.c: Likewise.
5360 * manual/examples/dir2.c: Likewise.
5361 * manual/examples/execinfo.c: Likewise.
5362 * manual/examples/filecli.c: Likewise.
5363 * manual/examples/filesrv.c: Likewise.
5364 * manual/examples/fmtmsgexpl.c: Likewise.
5365 * manual/examples/genpass.c: Likewise.
5366 * manual/examples/inetcli.c: Likewise.
5367 * manual/examples/inetsrv.c: Likewise.
5368 * manual/examples/isockad.c: Likewise.
5369 * manual/examples/longopt.c: Likewise.
5370 * manual/examples/memopen.c: Likewise.
5371 * manual/examples/memstrm.c: Likewise.
5372 * manual/examples/mkfsock.c: Likewise.
5373 * manual/examples/mkisock.c: Likewise.
5374 * manual/examples/mygetpass.c: Likewise.
5375 * manual/examples/pipe.c: Likewise.
5376 * manual/examples/popen.c: Likewise.
5377 * manual/examples/rprintf.c: Likewise.
5378 * manual/examples/search.c: Likewise.
5379 * manual/examples/select.c: Likewise.
5380 * manual/examples/setjmp.c: Likewise.
5381 * manual/examples/sigh1.c: Likewise.
5382 * manual/examples/sigusr.c: Likewise.
5383 * manual/examples/stpcpy.c: Likewise.
5384 * manual/examples/strdupa.c: Likewise.
5385 * manual/examples/strftim.c: Likewise.
5386 * manual/examples/strncat.c: Likewise.
5387 * manual/examples/subopt.c: Likewise.
5388 * manual/examples/swapcontext.c: Likewise.
5389 * manual/examples/termios.c: Likewise.
5390 * manual/examples/testopt.c: Likewise.
5391 * manual/examples/testpass.c: Likewise.
5392 * manual/examples/timeval_subtract.c: Likewise.
5393
01ae168d
RM
5394 [BZ #13792]
5395 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5396 function to ...
5397 * manual/timeval_subtract.c.texi: ... here, new file.
5398
49efa33d
DM
53992012-03-02 David S. Miller <davem@davemloft.net>
5400
5401 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5402
28afd92d
JM
54032012-03-02 Joseph Myers <joseph@codesourcery.com>
5404
804360ed
JM
5405 [BZ #3976]
5406 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5407 (__sin): Save and restore rounding mode and use round-to-nearest
5408 for all computations.
5409 (__cos): Save and restore rounding mode and use round-to-nearest
5410 for all computations.
5411 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5412 <fenv.h>.
5413 (tan): Save and restore rounding mode and use round-to-nearest for
5414 all computations.
5415 * math/libm-test.inc (cos_test_tonearest): New function.
5416 (cos_test_towardzero): Likewise.
5417 (cos_test_downward): Likewise.
5418 (cos_test_upward): Likewise.
5419 (sin_test_tonearest): Likewise.
5420 (sin_test_towardzero): Likewise.
5421 (sin_test_downward): Likewise.
5422 (sin_test_upward): Likewise.
5423 (tan_test_tonearest): Likewise.
5424 (tan_test_towardzero): Likewise.
5425 (tan_test_downward): Likewise.
5426 (tan_test_upward): Likewise.
5427 (main): Call the new functions.
5428 * sysdeps/i386/fpu/libm-test-ulps: Update.
5429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5430
a6d06d7b
JM
5431 [BZ #10135]
5432 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5433 small n, then large n, before computing and testing k+n.
5434 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5436 Likewise.
5437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5438 Likewise.
5439 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5440 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5441 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5442 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5445 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5446 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5447 * math/libm-test.inc (scalbn_test): Add more tests.
5448 (scalbln_test): Likewise.
5449
07e12bb3
JM
5450 * manual/filesys.texi (mode_t): Describe constraints on size and
5451 signedness, not exact equivalence to a particular type.
5452 (ino_t): Likewise.
5453 (ino64_t): Likewise.
5454 (dev_t): Likewise.
5455 (nlink_t): Likewise.
5456 (blkcnt_t): Likewise.
5457 (blkcnt64_t): Likewise.
5458 * manual/llio.texi (off_t): Likewise.
5459
28afd92d
JM
5460 [BZ #3976]
5461 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5462 (__ieee754_exp): Save and restore rounding mode and use
5463 round-to-nearest for all computations.
5464 * math/libm-test.inc (exp_test_tonearest): New function.
5465 (exp_test_towardzero): Likewise.
5466 (exp_test_downward): Likewise.
5467 (exp_test_upward): Likewise.
5468 (main): Call the new functions.
5469 * sysdeps/i386/fpu/libm-test-ulps: Update.
5470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5471
b1eeb65d
CD
54722012-03-01 Chris Demetriou <cgd@google.com>
5473
5474 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5475 have predictable order.
5476
53362a4b
DM
54772012-03-01 David S. Miller <davem@davemloft.net>
5478
3c969083
DM
5479 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5480
759707de
DM
5481 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5482 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5483 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5484 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5485
dfdb8ff2
DM
5486 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5487 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5488 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5490 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5491 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5492 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5493 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5494 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5495
ead89f96
DM
5496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5497
7f66bd07
DM
5498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5499 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5500 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5501
53362a4b
DM
5502 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5503 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5504 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5505 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5506 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5507 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5509 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5510 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5511 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5512 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5513 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5515 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5518 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5519 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5520 * sysdeps/sparc/elf/configure: Regenerated.
5521
7b1902cb
JM
55222012-03-01 Joseph Myers <joseph@codesourcery.com>
5523
bec039bc
JM
5524 * configure.in (AS, LD): Require binutils 2.20 or later.
5525 * configure: Regenerated.
5526 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5527 as required minimum version.
5528 * INSTALL: Regenerated.
5529
7b1902cb
JM
5530 [BZ #2541]
5531 [BZ #4108]
5532 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5533 before squaring exponent.
5534 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5535 bottom long double and 27 bits of top long double before squaring
5536 exponent.
5537 * math/libm-test.inc (erfc_test): Add more tests.
5538 * sysdeps/i386/fpu/libm-test-ulps: Update.
5539 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5541
f775c276
KT
55422012-03-01 Kai Tietz <ktietz@redhat.com>
5543
5544 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5545 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5546 containing bit-fields.
5547 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5548 * soft-fp/single.h (_FP_UNION_S): Likewise.
5549 * soft-fp/double.h (_FP_UNION_D): Likewise.
5550
5b8a4d4a
JM
55512012-02-29 Joseph Myers <joseph@codesourcery.com>
5552
0bab47b6
JM
5553 [BZ #13786]
5554 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5555 not include ../strcmp.S.
5556 [USE_AS_STRNCASECMP_L]: Likewise.
5557 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5558 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5559 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5560 (__strncasecmp_l_ia32): Define as alias to
5561 __strncasecmp_l_nonascii.
5562
0fcad3e2
JM
5563 [BZ #5794]
5564 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5565 * sysdeps/i386/fpu/libm-test-ulps: Update.
5566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5567
5b8a4d4a
JM
5568 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5570
8fdceb2e
JL
55712012-02-29 Jeff Law <law@redhat.com>
5572
5573 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5574 out of bounds read.
5575
1f393a11
MP
55762012-02-29 Marek Polacek <polacek@redhat.com>
5577
5578 [BZ #13706]
5579 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5580 * elf/Makefile: Add rules to run tst-unused-dep.out.
5581
8847f037
DM
55822012-02-28 David S. Miller <davem@davemloft.net>
5583
5584 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5585 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5586 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5587 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5588 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5589 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5590
169d7f11
JM
55912012-02-29 Joseph Myers <joseph@codesourcery.com>
5592
5593 * math/libm-test.inc (llround_test): Move one test from
5594 lround_test. Use TEST_f_L in moved test.
5595 (lround_test): Move misplaced test to llround_test. Add testcase
5596 from bug 2561.
5597
39adf059
UD
55982012-02-28 Ulrich Drepper <drepper@gmail.com>
5599
5600 * sysdeps/x86_64/fpu/e_expf.S: New file.
5601 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5602
71b5d1c5
SB
56032012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5604
5605 [BZ #13637]
5606 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5607 of remain_len that may cause incomplete multi-byte character and
5608 false match.
5609 * posix/bug-regex33.c: New file.
5610 * posix/Makefile (tests): Add bug-regex33.
5611
1f77f049
JM
56122012-02-28 Joseph Myers <joseph@codesourcery.com>
5613
5614 * manual/macros.texi: New file.
5615 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5616 * manual/libc.texinfo: Include macros.texi.
5617 * manual/creatute.texi: Likewise.
5618 * manual/install.texi: Likewise.
5619 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5620 @glibcadj{} in references to the GNU C Library.
5621 * manual/charset.texi: Likewise.
5622 * manual/conf.texi: Likewise.
5623 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5624 when not using those macros.
5625 * manual/creature.texi: Likewise.
5626 * manual/crypt.texi: Likewise.
5627 * manual/errno.texi: Likewise.
5628 * manual/filesys.texi: Likewise.
5629 * manual/header.texi: Likewise.
5630 * manual/install.texi: Likewise.
5631 * manual/intro.texi: Likewise.
5632 * manual/io.texi: Likewise.
5633 * manual/job.texi: Likewise.
5634 * manual/lang.texi: Likewise.
5635 * manual/libc.texiinfo: Likewise.
5636 * manual/llio.texi: Likewise.
5637 * manual/locale.texi: Likewise.
5638 * manual/maint.texi: Likewise.
5639 * manual/math.texi: Likewise.
5640 * manual/memory.texi: Likewise.
5641 * manual/message.texi: Likewise.
5642 * manual/nss.texi: Likewise.
5643 * manual/pattern.texi: Likewise.
5644 * manual/process.texi: Likewise.
5645 * manual/resource.texi: Likewise.
5646 * manual/search.texi: Likewise.
5647 * manual/setjmp.texi: Likewise.
5648 * manual/signal.texi: Likewise.
5649 * manual/socket.texi: Likewise.
5650 * manual/startup.texi: Likewise.
5651 * manual/stdio.texi: Likewise.
5652 * manual/string.texi: Likewise.
5653 * manual/sysinfo.texi: Likewise.
5654 * manual/syslog.texi: Likewise.
5655 * manual/terminal.texi: Likewise.
5656 * manual/time.texi: Likewise.
5657 * manual/users.texi: Likewise.
5658 * INSTALL: Regenerated.
5659 * NOTES: Regenerated.
d40c5d54 5660 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5661
450bf206
AS
56622012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5663
5664 * include/dirent.h: Include <dirstream.h> before
5665 <dirent/dirent.h>.
5666
741a235b
DM
56672012-02-28 David S. Miller <davem@davemloft.net>
5668
5669 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5670 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5671 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5672 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5673
d6b5aa58
DM
56742012-02-27 David S. Miller <davem@davemloft.net>
5675
1aff59a3
DM
5676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5678 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5679 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5680
d6b5aa58
DM
5681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5682 frame pointer instead of stack pointer relative arg slot.
5683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5684 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5685 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5686
433f48bf
CD
56872012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5688
5689 [BZ #3992]
5690 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5691
d674b76d
DM
56922012-02-27 David S. Miller <davem@davemloft.net>
5693
5694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5698 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5699 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5700 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5701 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5702
0e7727f7
JM
57032012-02-27 Joseph Myers <joseph@codesourcery.com>
5704
5705 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5706 later. Allow versions 5-9.
43be4ca2 5707 * configure: Regenerated.
0e7727f7
JM
5708 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5709 required minimum version and 4.6 as recommended version. Do not
5710 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5711 * INSTALL: Regenerated.
0e7727f7 5712
a78bc654
DM
57132012-02-27 David S. Miller <davem@davemloft.net>
5714
428d5830
DM
5715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5719 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5720 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5721 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5722 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5723
a78bc654
DM
5724 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5725 manipulate bits before adding and subtracting TWO112[sx].
5726 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5727
4579f81c
RM
57282012-02-27 Roland McGrath <roland@hack.frob.com>
5729
36c8acb4
RM
5730 [BZ #13775]
5731 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5732 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5733 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5734 being in POSIX, because they are in 1003.1-2008.
5735
84ad622b
RM
5736 * rt/tst-aio.c: Include <fcntl.h>.
5737 * rt/tst-aio7.c: Likewise.
5738 * rt/tst-aio64.c: Likewise.
5739
4579f81c
RM
5740 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5741
abd923db
JM
57422012-02-27 Joseph Myers <joseph@codesourcery.com>
5743
5744 * manual/install.texi (--with-headers): Describe headers as
5745 interface headers, not private headers.
5746 (Specific advice for GNU/Linux systems): Describe use of headers
5747 from "make headers_install", not private headers from older
5748 kernels.
43be4ca2 5749 * INSTALL: Regenerated.
abd923db
JM
5750 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5751 Change to 2.6.19.
5752 * sysdeps/unix/sysv/linux/configure: Regenerated.
5753
6664049b
JM
5754 * manual/llio.texi (fclean): Remove documentation.
5755
bb8b6697
JM
5756 * manual/Makefile (libc-texi-generated): New variable. Include
5757 version.texi.
5758 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5759 $(libc-texi-generated), not duplicated list of files.
5760 (version.texi, stamp-version): New rules.
5761 (realclean): Remove $(libc-texi-generated), not individual files
5762 from that list. Do not remove dir-add.texinfo.
5763 * manual/libc.texinfo: Comment out uses of edition numbers and
5764 references to printed manual. Remove last-updated dates.
5765 (EDITION): Comment out.
5766 (ISBN): Likewise.
5767 (VERSION, UPDATED): Remove.
5768 (version.texi): Include.
5769
12e5c3b9
AS
57702012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5771
5772 * sysdeps/posix/spawni.c: Include <signal.h>.
5773 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5774 * sysdeps/pthread/aio_fsync.c: Likewise.
5775
4efeffc1 57762012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5777
ba63ba08
UD
5778 * conform/Makefile (tests): Run only when not cross-compiling and
5779 when fast-check is not defined.
5780
d94a4670
UD
5781 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5782 * conform/data/limits.h-data: Fixes for POSIX2008.
5783 * conform/run-conformtest.sh: Run all tests.
5784 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5785 headers.
5786 * include/bits/dlfcn.h: Likewise.
5787 * include/langinfo.h: Likewise.
5788 * include/monetary.h: Likewise.
5789 * include/sys/poll.h: Likewise.
5790
5791 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5792 for __USE_GNU.
5793 * posix/spawn.h: Define __need_sigset_t.
5794 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5795 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5796 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5797 to get sigevent_t only.
5798 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5799 only for __USE_GNU.
5800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5801 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5802 process_vm_writev only for __USE_GNU.
5803 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5804
5805 * conform/Makefile: For now ignore errors from run-conformtest.
5806 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5807 POSIX to avoid namespace pollution. Don't prepend headers.
5808 * conform/data/aio.h-data: Fixes for POSIX testing.
5809 * conform/data/fcntl.h-data: Likewise.
5810 * conform/data/glob.h-data: Likewise.
5811 * conform/data/grp.h-data: Likewise.
5812 * conform/data/pthread.h-data: Likewise.
5813 * conform/data/pwd.h-data: Likewise.
5814 * conform/data/signal.h-data: Likewise.
5815 * conform/data/spawn.h-data: Likewise.
5816 * conform/data/stdio.h-data: Likewise.
5817 * conform/data/stdlib.h-data: Likewise.
5818 * conform/data/stropts.h-data: Likewise.
5819 * conform/data/sys/mman.h-data: Likewise.
5820 * conform/data/sys/stat.h-data: Likewise.
5821 * conform/data/sys/types.h-data: Likewise.
5822 * conform/data/sys/wait.h-data: Likewise.
5823 * conform/data/time.h-data: Likewise.
5824 * conform/data/unistd.h-data: Likewise.
5825 * conform/data/utime.h-data: Likewise.
5826
5827 * io/sys/stat.h: fchmod was always in POSIX.
5828 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5829 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5830 * rt/aio.h: Define __need_timespec before including <time.h>.
5831 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5832 struct. Add forward declaration of pthread_attr_t and use it in
5833 sigevent.
5834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5836 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5837 always remove CLK_TCK definition.
5838
c20105c3
AS
58392012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5840
5841 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5842
7a270350
UD
58432012-02-25 Ulrich Drepper <drepper@gmail.com>
5844
31341567
UD
5845 * conform/run-conformtest.sh: New file.
5846 * conform/Makefile: Run run-conformtest for tests.
5847 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5848 support.
5849
5850 * conform/data/uchar.h-data: New file.
5851 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5852 * conform/data/arpa/inet.h-data: Likewise.
5853 * conform/data/assert.h-data: Likewise.
5854 * conform/data/complex.h-data: Likewise.
5855 * conform/data/cpio.h-data: Likewise.
5856 * conform/data/ctype.h-data: Likewise.
5857 * conform/data/dirent.h-data: Likewise.
5858 * conform/data/dlfcn.h-data: Likewise.
5859 * conform/data/errno.h-data: Likewise.
5860 * conform/data/fcntl.h-data: Likewise.
5861 * conform/data/float.h-data: Likewise.
5862 * conform/data/fmtmsg.h-data: Likewise.
5863 * conform/data/fnmatch.h-data: Likewise.
5864 * conform/data/ftw.h-data: Likewise.
5865 * conform/data/glob.h-data: Likewise.
5866 * conform/data/grp.h-data: Likewise.
5867 * conform/data/iconv.h-data: Likewise.
5868 * conform/data/inttypes.h-data: Likewise.
5869 * conform/data/langinfo.h-data: Likewise.
5870 * conform/data/libgen.h-data: Likewise.
5871 * conform/data/limits.h-data: Likewise.
5872 * conform/data/locale.h-data: Likewise.
5873 * conform/data/math.h-data: Likewise.
5874 * conform/data/monetary.h-data: Likewise.
5875 * conform/data/mqueue.h-data: Likewise.
5876 * conform/data/ndbm.h-data: Likewise.
5877 * conform/data/net/if.h-data: Likewise.
5878 * conform/data/netdb.h-data: Likewise.
5879 * conform/data/netinet/in.h-data: Likewise.
5880 * conform/data/nl_types.h-data: Likewise.
5881 * conform/data/poll.h-data: Likewise.
5882 * conform/data/pthread.h-data: Likewise.
5883 * conform/data/pwd.h-data: Likewise.
5884 * conform/data/regex.h-data: Likewise.
5885 * conform/data/sched.h-data: Likewise.
5886 * conform/data/search.h-data: Likewise.
5887 * conform/data/semaphore.h-data: Likewise.
5888 * conform/data/setjmp.h-data: Likewise.
5889 * conform/data/signal.h-data: Likewise.
5890 * conform/data/spawn.h-data: Likewise.
5891 * conform/data/stdarg.h-data: Likewise.
5892 * conform/data/stdio.h-data: Likewise.
5893 * conform/data/stdlib.h-data: Likewise.
5894 * conform/data/string.h-data: Likewise.
5895 * conform/data/strings.h-data: Likewise.
5896 * conform/data/stropts.h-data: Likewise.
5897 * conform/data/sys/ipc.h-data: Likewise.
5898 * conform/data/sys/mman.h-data: Likewise.
5899 * conform/data/sys/msg.h-data: Likewise.
5900 * conform/data/sys/resource.h-data: Likewise.
5901 * conform/data/sys/select.h-data: Likewise.
5902 * conform/data/sys/sem.h-data: Likewise.
5903 * conform/data/sys/shm.h-data: Likewise.
5904 * conform/data/sys/socket.h-data: Likewise.
5905 * conform/data/sys/stat.h-data: Likewise.
5906 * conform/data/sys/statvfs.h-data: Likewise.
5907 * conform/data/sys/time.h-data: Likewise.
5908 * conform/data/sys/timeb.h-data: Likewise.
5909 * conform/data/sys/times.h-data: Likewise.
5910 * conform/data/sys/types.h-data: Likewise.
5911 * conform/data/sys/uio.h-data: Likewise.
5912 * conform/data/sys/un.h-data: Likewise.
5913 * conform/data/sys/utsname.h-data: Likewise.
5914 * conform/data/sys/wait.h-data: Likewise.
5915 * conform/data/syslog.h-data: Likewise.
5916 * conform/data/tar.h-data: Likewise.
5917 * conform/data/termios.h-data: Likewise.
5918 * conform/data/utime.h-data: Likewise.
5919 * conform/data/utmpx.h-data: Likewise.
5920 * conform/data/varargs.h-data: Likewise.
5921 * conform/data/wchar.h-data: Likewise.
5922 * conform/data/wctype.h-data: Likewise.
5923 * conform/data/wordexp.h-data: Likewise.
5924
5925 * include/stropts.h: New file.
5926 * include/uchar.h: New file.
5927 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5928 * include/assert.h: Likewise.
5929 * include/ctype.h: Likewise.
5930 * include/dirent.h: Likewise.
5931 * include/dlfcn.h: Likewise.
5932 * include/fcntl.h: Likewise.
5933 * include/fnmatch.h: Likewise.
5934 * include/glob.h: Likewise.
5935 * include/grp.h: Likewise.
5936 * include/libio.h: Likewise.
5937 * include/locale.h: Likewise.
5938 * include/math.h: Likewise.
5939 * include/net/if.h: Likewise.
5940 * include/netdb.h: Likewise.
5941 * include/netinet/in.h: Likewise.
5942 * include/pthread.h: Likewise.
5943 * include/pwd.h: Likewise.
5944 * include/regex.h: Likewise.
5945 * include/sched.h: Likewise.
5946 * include/search.h: Likewise.
5947 * include/setjmp.h: Likewise.
5948 * include/signal.h: Likewise.
5949 * include/stdio.h: Likewise.
5950 * include/stdlib.h: Likewise.
5951 * include/string.h: Likewise.
5952 * include/sys/cdefs.h: Likewise.
5953 * include/sys/mman.h: Likewise.
5954 * include/sys/msg.h: Likewise.
5955 * include/sys/resource.h: Likewise.
5956 * include/sys/select.h: Likewise.
5957 * include/sys/socket.h: Likewise.
5958 * include/sys/stat.h: Likewise.
5959 * include/sys/statvfs.h: Likewise.
5960 * include/sys/time.h: Likewise.
5961 * include/sys/times.h: Likewise.
5962 * include/sys/uio.h: Likewise.
5963 * include/sys/utsname.h: Likewise.
5964 * include/sys/wait.h: Likewise.
5965 * include/termios.h: Likewise.
5966 * include/time.h: Likewise.
5967 * include/ulimit.h: Likewise.
5968 * include/unistd.h: Likewise.
5969 * include/utime.h: Likewise.
5970 * include/wchar.h: Likewise.
5971 * include/wctype.h: Likewise.
5972 * include/wordexp.h: Likewise.
5973
5974 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5975
7a270350
UD
5976 * time/time.h: TIME_UTC must be a macro.
5977 Make timespec_get available for ISO C11 only as well.
5978
7724defc
UD
59792012-02-24 Ulrich Drepper <drepper@gmail.com>
5980
5981 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5982 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5983
6b1d1d46
JM
59842012-02-24 Joseph Myers <joseph@codesourcery.com>
5985
5986 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5987
0f8bbd69
JM
59882012-02-24 Joseph Myers <joseph@codesourcery.com>
5989
5990 * manual/texinfo.tex: Update to version 2012-01-19.16.
5991
66ab80bc
JM
59922012-02-24 Joseph Myers <joseph@codesourcery.com>
5993
5994 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5995
74981cc5
RM
59962012-02-24 Roland McGrath <roland@hack.frob.com>
5997
ee968201
RM
5998 [BZ #13738]
5999 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6000 * manual/fdl-1.3.texi: New file.
6001 * manual/fdl-1.1.texi: File removed.
6002
74981cc5
RM
6003 [BZ #13738]
6004 * manual/libc.texinfo (FDL_VERSION): New @set.
6005 Use it for mention of FDL in cover text.
6006 (Documentation License): Use it in @include file name.
6007
7bb764bc
JM
60082012-02-22 Joseph Myers <joseph@codesourcery.com>
6009 Roland McGrath <roland@hack.frob.com>
6010
6011 [BZ #5461]
6012 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6013 not LONG_LONG_MAX and LONG_LONG_MIN.
6014 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6015 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6016 name.
6017 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6018
6cbeae47
JM
60192012-02-22 Joseph Myers <joseph@codesourcery.com>
6020
6021 [BZ #2547]
6022 [BZ #11365]
6023 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6024 manipulate bits before adding and subtracting TWO23[sx].
6025 * math/libm-test.inc (nearbyint_test): Add more tests.
6026
fe45ce09
JM
60272012-02-22 Joseph Myers <joseph@codesourcery.com>
6028
6029 [BZ #2548]
6030 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6031 bits before adding and subtracting TWO23[sx].
6032 * math/libm-test.inc (rint_test): Add more tests.
6033 (rint_test_tonearest): Likewise.
6034 (rint_test_towardzero): Likewise.
6035 (rint_test_downward): Likewise.
6036 (rint_test_upward: Likewise.
6037
ff3b3d82
JM
60382012-02-22 Joseph Myers <joseph@codesourcery.com>
6039
6040 [BZ #10110]
6041 * include/stdc-predef.h: New file. Extracted from features.h.
6042 * include/features.h: Include stdc-predef.h.
6043 * Makefile (headers): Add stdc-predef.h.
6044 * CONFORMANCE (Compiler limitations): Update.
6045
ef0aab35
JM
60462012-02-22 Joseph Myers <joseph@codesourcery.com>
6047
6048 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6049
58639409
DM
60502012-02-21 David S. Miller <davem@davemloft.net>
6051
6052 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6053 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6054
c0e70b25
DM
60552012-02-20 David S. Miller <davem@davemloft.net>
6056
6057 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6058 using a normal save/restore sequence, rather than allocating a
6059 dummy stack frame just to store a frame pointer and restore.
6060 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6061
fb06851d
JM
60622012-02-21 Joseph Myers <joseph@codesourcery.com>
6063
6064 * manual/install.texi: Fix stray word in line-wrapped comment.
6065
7a8b71c3
DM
60662012-02-20 David S. Miller <davem@davemloft.net>
6067
d510c123
DM
6068 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6069 both binutils and gcc support GOTDATA.
6070
0722d7c2
DM
6071 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6072 "rd %pc" in the PIC register setup sequences.
6073
3d2b3019
DM
6074 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6075 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6076 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6077 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6078 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6080 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6081 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6083 (SYSCALL_ERROR_HANDLER): Likewise.
6084 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6085 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6087 (SYSCALL_ERROR_HANDLER): Likewise.
6088
c80098a9
DM
6089 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6090 (HAVE_GCC_GOTDATA): New.
6091 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6092 relocation support in both binutils and gcc.
6093 * sysdeps/sparc/elf/configure: Regenerate.
6094
3a2545a0
DM
6095 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6096 * sysdeps/sparc/sparc32/elf/configure: Delete.
6097 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6098 * sysdeps/sparc/sparc64/elf/configure: Delete.
6099 * sysdeps/sparc/elf/configure.in: New file.
6100 * sysdeps/sparc/elf/configure: Generate.
6101
7a8b71c3
DM
6102 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6103 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6104 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6105 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6106 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6107
f1e86fca
JM
61082012-02-21 Joseph Myers <joseph@codesourcery.com>
6109
6110 * manual/install.texi: Do not mention specific glibc version
6111 numbers.
6112 * manual/libc.texinfo (VERSION, UPDATED): Update.
6113 (@copying): Use @copyright{} and range of years.
6114
0e7dfaef
JM
61152012-02-21 Joseph Myers <joseph@codesourcery.com>
6116
6117 [BZ #13695]
6118 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6119 [crti.S not in sysdirs] (generated): Do not append.
6120 [crti.S not in sysdirs] (omit-deps): Likewise.
6121 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6122 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6123 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6124 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6125 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6126 Likewise.
6127 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6128 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6129 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6130 * csu/defs.awk: Remove file.
6131 * sysdeps/generic/initfini.c: Likewise.
6132 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6133 variable.
6134 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6135 Likewise.
6136
599af3ca
JM
61372012-02-20 Joseph Myers <joseph@codesourcery.com>
6138
6139 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6140 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6141 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6142 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6143 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6144 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6145 <bits/epoll.h>.
6146 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6147 (__EPOLL_PACKED): Define to empty if not defined by
6148 <bits/epoll.h>.
6149 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6151 bits/epoll.h.
6152
0e499750
JM
61532012-02-20 Joseph Myers <joseph@codesourcery.com>
6154
6155 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6156 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6157 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6158 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6159 <bits/timerfd.h>.
6160 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6162 bits/timerfd.h.
6163
5ad91f6e
JM
61642012-02-20 Joseph Myers <joseph@codesourcery.com>
6165
6166 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6167 in C locale.
6168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6169 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6170 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6172
06b99b02
AJ
61732012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6174
6175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6176 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6177
7638c0fd
AS
61782012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6179
6180 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6181 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6182 defined.
6183 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6184 Likewise.
6185 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6186 entry for 2.16.
6187
92221550
AJ
61882012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6189
6190 * math/w_acos.c: Use non-signaling floating-point comparisons.
6191 * math/w_acosf.c: Likewise.
6192 * math/w_acosh.c: Likewise.
6193 * math/w_acoshf.c: Likewise.
6194 * math/w_acoshl.c: Likewise.
6195 * math/w_acosl.c: Likewise.
6196 * math/w_asin.c: Likewise.
6197 * math/w_asinf.c: Likewise.
6198 * math/w_asinl.c: Likewise.
6199 * math/w_atanh.c: Likewise.
6200 * math/w_atanhf.c: Likewise.
6201 * math/w_atanhl.c: Likewise.
6202 * math/w_exp2.c: Likewise.
6203 * math/w_exp2f.c: Likewise.
6204 * math/w_exp2l.c: Likewise.
6205 * math/w_j0.c: Likewise.
6206 * math/w_j0f.c: Likewise.
6207 * math/w_j0l.c: Likewise.
6208 * math/w_j1.c: Likewise.
6209 * math/w_j1f.c: Likewise.
6210 * math/w_j1l.c: Likewise.
6211 * math/w_jn.c: Likewise.
6212 * math/w_jnf.c: Likewise.
6213 * math/w_log.c: Likewise.
6214 * math/w_log10.c: Likewise.
6215 * math/w_log10f.c: Likewise.
6216 * math/w_log10l.c: Likewise.
6217 * math/w_log2.c: Likewise.
6218 * math/w_log2f.c: Likewise.
6219 * math/w_log2l.c: Likewise.
6220 * math/w_logf.c: Likewise.
6221 * math/w_logl.c: Likewise.
6222 * math/w_sqrt.c: Likewise.
6223 * math/w_sqrtf.c: Likewise.
6224 * math/w_sqrtl.c: Likewise.
6225 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6226 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6227 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6228 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6229 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6230
ebaf36eb
JM
62312012-02-19 Joseph Myers <joseph@codesourcery.com>
6232
6233 [BZ #9739]
6234 * manual/string.texi (strnlen): Use correct parameter name in
6235 equivalent expression.
6236
71c254a6
JM
62372012-02-19 Joseph Myers <joseph@codesourcery.com>
6238
6239 [BZ #11174]
6240 * manual/users.texi (seteuid): Consistently use neweuid for
6241 argument name.
6242
16d2c631
JM
62432012-02-19 Joseph Myers <joseph@codesourcery.com>
6244
6245 [BZ #13704]
6246 * manual/nss.texi (Services in the NSS configuration): Correct
6247 list of services in example configuration file.
6248
cd837b09
NB
62492012-02-19 Nick Bowler <nbowler@draconx.ca>
6250
6251 [BZ #11322]
6252 * manual/arith.texi: Remove statements about negative zero
6253 behaving identically to zero.
6254
02c4bbad
JM
62552012-02-18 Joseph Myers <joseph@codesourcery.com>
6256
6257 [BZ #5993]
6258 * manual/install.texi: Do not document upgrading from libc5.
6259
366842e7
JM
62602012-02-18 Joseph Myers <joseph@codesourcery.com>
6261
6262 [BZ #4596]
6263 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6264
dd54084d
DM
62652012-02-18 David S. Miller <davem@davemloft.net>
6266
6267 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6268 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6269 %o7 across the call.
6270 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6271 instead.
6272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6273 SETUP_PIC_REG_LEAF.
6274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6275 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6276 * sysdeps/sparc/crtn.S: Likewise.
6277
2bcc53a3
UD
62782012-02-17 Ulrich Drepper <drepper@gmail.com>
6279
6280 * aout/Makefile: Remove.
6281
09c093b5
RK
62822012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6283
6284 [BZ #13058]
6285 * manual/examples/argp-ex1.c (main): Format definition in GNU
6286 style.
6287 * manual/examples/argp-ex2.c (main): Likewise.
6288 * manual/examples/argp-ex3.c (main): Likewise.
6289 * manual/examples/argp-ex4.c (main): Likewise.
6290 * manual/examples/longopt.c (main): Use new-style prototype
6291 definition.
6292 * manual/examples/strncat.c (main): Specify return type and use
6293 (void) for arguments.
6294 * manual/examples/subopt.c (main): Use char **argv argument.
6295
2ee633a2
JM
62962012-02-17 Joseph Myers <joseph@codesourcery.com>
6297
6298 [BZ #5077]
6299 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6300 rounding modes.
6301
0520adde
FB
63022012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6303
6304 [BZ #6907]
6305 * manual/string.texi (strchr): Change when strchrnul is
6306 recommended.
6307
3f4081cd
DGM
63082012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6309
6310 [BZ #174]
6311 * manual/locale.texi (setlocale): Document LOCPATH.
6312
d1b10e78
JM
63132012-02-17 Joseph Myers <joseph@codesourcery.com>
6314
6315 [BZ #10210]
6316 * manual/process.texi (execle): Move @dots{} before last argument.
6317
79c6869c
PB
63182012-02-17 Paul Bolle <pebolle@tiscali.nl>
6319
6320 [BZ #12047]
6321 * manual/charset.texi (Generic Charset Conversion): Fix typo
6322 (LC_TYPE -> LC_CTYPE).
6323
cc6e48bc
NB
63242012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6325
6326 [BZ #5805]
6327 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6328 (scalbnf): Likewise.
6329 (scalbnl): Likewise.
6330 (scalbln): Likewise.
6331 (scalblnf): Likewise.
6332 (scalblnl): Likewise.
6333 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6334 (vwarnx): Likewise.
6335 (verr): Likewise.
6336 (verrx): Likewise.
6337 * manual/filesys.texi (telldir): Use braces around return type.
6338 * manual/llio.texi (mmap): Add space after comma.
6339 (mmap64): Likewise.
6340 * manual/math.texi (jn): Use @var{} on parameter names.
6341 (jnf): Likewise.
6342 (jnl): Likewise.
6343 (yn): Likewise.
6344 (ynf): Likewise.
6345 (ynl): Likewise.
6346 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6347 line.
6348 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6349 "...".
6350 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6351 (sched_get_priority_max): Likewise.
6352 * manual/signal.texi (sigvec): Add space after comma.
6353 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6354 names.
6355 (if_indextoname): Likewise.
6356 (if_freenameindex): Likewise.
6357 (sendto): Use ',' instead of '.' in prototype.
6358 * manual/startup.texi (syscall): Use @dots{} instead of literal
6359 "...".
6360 * manual/stdio.texi (__fpending): Separate initial words of
6361 paragraph from @deftypefun line.
6362 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6363 "...".
6364 (vsyslog): Use @var{} on parameter names.
6365 * manual/terminal.texi (stty): Use @var{} on parameter names.
6366 * manual/users.texi (getutmp): Use @var{} on parameter names.
6367 (getutmpx): Likewise.
6368
5b23062f
JM
63692012-02-17 Joseph Myers <joseph@codesourcery.com>
6370
6371 [BZ #6884]
6372 * manual/stdio.texi (fopen): Fix typos in description of
6373 ",ccs=STRING".
6374
8dee4833
AJ
63752012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6376
6377 [BZ #4026]
6378 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6379 get clock_id definition.
6380
9078ce93
TS
63812012-02-17 Thomas Schwinge <thomas@schwinge.name>
6382
6383 [BZ #4822]
6384 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6385 (madvise): Cast every argument to void on its own.
6386
3835c55f
JM
63872012-02-17 Joseph Myers <joseph@codesourcery.com>
6388
6389 [BZ #9902]
6390 * manual/startup.texi (Exit Status): Fix typo.
6391
35c47e37
JM
63922012-02-17 Joseph Myers <joseph@codesourcery.com>
6393
6394 [BZ #10140]
6395 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6396 * manual/examples/argp-ex2.c: Likewise.
6397 * manual/examples/argp-ex3.c: Likewise.
6398
e3b69ca7
RH
63992012-02-16 Richard Henderson <rth@redhat.com>
6400
6401 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6402 * sysdeps/s390/s390-32/initfini.c: Remove.
6403 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6404 * sysdeps/s390/s390-64/initfini.c: Remove.
6405
df83af67
KK
64062012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6407
6408 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6409 compiler output for sysdeps/generic/initfini.c.
6410 * sysdeps/sh/elf/initfini.c: Remove file.
6411
f63f3380
DM
64122012-02-16 David S. Miller <davem@davemloft.net>
6413
fb59b3a4
DM
6414 [BZ #11494]
6415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6416
f63f3380
DM
6417 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6418 * sysdeps/sparc/crti.S: New file.
6419 * sysdeps/sparc/crtn.S: New file.
6420 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6421 * sysdeps/sparc/sparc64/Makefile: Likewise.
6422
df6a4a4a
MF
64232012-02-15 Mike Frysinger <vapier@gentoo.org>
6424
6dd8f3dc 6425 [BZ #3335]
df6a4a4a
MF
6426 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6427
1cac7236
RM
64282012-02-15 Roland McGrath <roland@hack.frob.com>
6429
d2c736f8
RM
6430 [BZ #4822]
6431 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6432
1cac7236
RM
6433 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6434 (write, read, close): Likewise.
6435 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6436
8e475601
JM
64372012-02-15 Joseph Myers <joseph@codesourcery.com>
6438
6439 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6440 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6441 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6442 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6443 <bits/signalfd.h>.
6444 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6446 bits/signalfd.h.
6447
ed656b40
MP
64482012-02-14 Marek Polacek <polacek@redhat.com>
6449
6450 * sysdeps/x86_64/crti.S: New file.
6451 * sysdeps/x86_64/crtn.S: New file.
6452 * sysdeps/x86_64/elf/initfini.c: Remove file.
6453
2a979d3a
JM
64542012-02-13 Joseph Myers <joseph@codesourcery.com>
6455
6456 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6457 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6458 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6459 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6460 <bits/inotify.h>.
6461 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6463 bits/inotify.h.
6464
2a418ac3
JM
64652012-02-13 Joseph Myers <joseph@codesourcery.com>
6466
6467 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6468 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6469 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6470 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6471 <bits/eventfd.h>.
6472 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6474 bits/eventfd.h.
6475
fb779be7
TS
64762012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6477
e19e83c5
RM
6478 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6479 __feraiseexcept instead of feraiseexcept.
7c35ffed 6480
fb779be7
TS
6481 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6482 nanosleep invocations.
6483 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6484 strings, and add error checking for a nanosleep invocations.
6485
59ba27a6
PE
64862012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6487
6488 Replace FSF snail mail address with URLs, as per GNU coding standards.
6489 Most of the snail mail addresses were wrong anyway, and omitting
6490 them makes the source code easier to maintain. Almost all of the
6491 changes are to license notices and to locale LC_IDENTIFICATION
6492 addresses, except for this one:
6493 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6494 not its snail mail address.
6495
57b957eb
RH
64962012-02-09 Richard Henderson <rth@twiddle.net>
6497
af850b1c
RH
6498 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6499 of kernel-features.h.
6500
57b957eb
RH
6501 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6502
6b73181a
MP
65032012-02-08 Marek Polacek <polacek@redhat.com>
6504
6505 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6506 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6507 * sysdeps/gnu/_G_config.h: Likewise.
6508 * sysdeps/generic/_G_config.h: Likewise.
6509
26ecc33a
AS
65102012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6511
6c6dbc63
AS
6512 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6513 tests.
6514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6515
e216c012
AS
6516 * sysdeps/powerpc/powerpc32/crti.S: New file.
6517 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6518 * sysdeps/powerpc/powerpc64/crti.S: New file.
6519 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6520
26ecc33a
AS
6521 * Makeconfig (have-initfini): Don't set.
6522 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6523 * configure.in (nopic_initfini): Don't substitute.
6524 * config.h.in (HAVE_INITFINI): Don't #undef.
6525 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6526 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6527
3add8e13
JM
65282012-02-08 Joseph Myers <joseph@codesourcery.com>
6529
6530 Support crti.S and crtn.S provided directly by architectures.
6531 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6532 [crti.S in sysdirs] (omit-deps): Likewise.
6533 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6534 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6535 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6536 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6537 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6538 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6539 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6540 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6541 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6542 compiler output for sysdeps/generic/initfini.c.
6543 * sysdeps/i386/elf/Makefile: Remove file.
6544 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6545
a22f12b4
MP
65462012-02-07 Marek Polacek <polacek@redhat.com>
6547
6548 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6549 * sysdeps/gnu/_G_config.h: Likewise.
6550 * sysdeps/mach/hurd/_G_config.h: Likewise.
6551
148cf100
MP
65522012-02-07 Marek Polacek <polacek@redhat.com>
6553
6554 * math/Makefile (tests): Add tst-CMPLX2.
6555 * math/tst-CMPLX2.c: New file.
6556
cfdc0dd7
AS
65572012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6558
84ba42c4
AS
6559 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6560
cfdc0dd7
AS
6561 * math/libm-test.inc (jn_test): Add missing L suffix.
6562
622c86f4
MP
65632012-02-06 Marek Polacek <polacek@redhat.com>
6564
6565 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6566 * sysdeps/i386/fpu/e_powf.S: Likewise.
6567 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6568 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6569 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6570 * sysdeps/i386/fpu/e_pow.S: Likewise.
6571 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6572 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6573 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6574 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6575 * sysdeps/i386/fpu/e_log2.S: Likewise.
6576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6577 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6578 * sysdeps/i386/fpu/e_powl.S: Likewise.
6579 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6580 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6581 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6582 * sysdeps/i386/fpu/e_logl.S: Likewise.
6583 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6584 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6585 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6586 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6587 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6588 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6589 * sysdeps/i386/fpu/e_log.S: Likewise.
6590 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6591 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6592 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6593 * sysdeps/i386/fpu/e_logf.S: Likewise.
6594 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6595 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6596 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6597 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6598 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6599 * sysdeps/i386/fpu/e_log10.S: Likewise.
6600 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6601 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6602 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6603 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6604 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6605 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6606 * sysdeps/i386/asm-syntax.h: Likewise.
6607 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6608 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6609 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6610 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6611 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6612 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6613 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6614 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6615 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6616 * sysdeps/powerpc/sysdep.h: Likewise.
6617 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6618 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6619
d4a54ac6
JM
66202012-02-06 Joseph Myers <joseph@codesourcery.com>
6621
6622 [BZ #411]
6623 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6624
314054ea
JM
66252012-02-06 Joseph Myers <joseph@codesourcery.com>
6626
6627 * sysdeps/i386/sysdep.h: Include <features.h>.
6628 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6629 version.
6630
d8e0ca50
JM
66312012-02-05 Joseph Myers <joseph@codesourcery.com>
6632
6633 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6634 Define.
6635 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6636 LOAD_PIC_REG_STR.
6637
b1da7dd9
JM
66382012-02-03 Joseph Myers <joseph@codesourcery.com>
6639
6640 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6641 (SETUP_PIC_REG): Use GET_PC_THUNK.
6642 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6643 macro.
6644
9a1d9254
JM
66452012-02-03 Joseph Myers <joseph@codesourcery.com>
6646
6647 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6648 for non-PIC compilation.
6649 (SETUP_PIC_REG): Add .p2align directive.
6650 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6651 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6652 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6653 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6654 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6657 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6658 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6659 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6660 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6661 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6662 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6663 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6664 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6665 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6666 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6667 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6668 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6669 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6671 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6672 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6673 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6676 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6677 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6678 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6679 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6680 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6681 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6682 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6683 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6684 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6685 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6686 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6687 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6688 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6689 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6690 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6691
65dc3b75
JM
66922012-02-03 Joseph Myers <joseph@codesourcery.com>
6693
6694 * math/tst-CMPLX.c: Include <stdio.h>.
6695
d55bf177
JM
66962012-01-31 Joseph Myers <joseph@codesourcery.com>
6697
6698 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6699 float.
6700 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6701 * sysdeps/sparc/bits/mathdef.h: Likewise.
6702
69db4f8f
MP
67032012-01-31 Marek Polacek <polacek@redhat.com>
6704
6705 * libio/libio.h: Don't define _PARAMS.
6706 * locale/programs/config.h: Don't define PARAMS.
6707 * stdlib/strtol_l.c: Likewise.
6708 (__strtol_l): Remove PARAMS from the prototype.
6709
41b81892
UD
67102012-01-31 Ulrich Drepper <drepper@gmail.com>
6711
3b49edc0
UD
6712 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6713 names. Just use the correct names. Remove unnecessary wrapper
6714 functions.
6715 * malloc/arena.c: Likewise.
6716 * malloc/hooks.c: Likewise.
6717
41b81892
UD
6718 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6719 ARENA_TEST says not to. Simplify test for creation of a new arena.
6720 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6721
27a25b6e
UD
67222012-01-30 Ulrich Drepper <drepper@gmail.com>
6723
6724 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6725 into tail calls.
6726 (update_get_addr): New function.
6727 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6728 GET_ADDR_MODULE parameter.
6729
c8a89e7d
JM
67302012-01-30 Joseph Myers <joseph@codesourcery.com>
6731
6732 * crypt/cert.c: Remove __STDC__ conditionals.
6733 * crypt/crypt-entry.c: Likewise.
6734 * crypt/crypt_util.c: Likewise.
6735 * libio/filedoalloc.c: Likewise.
6736 * libio/fileops.c: Likewise.
6737 * libio/genops.c: Likewise.
6738 * libio/iofclose.c: Likewise.
6739 * libio/iofdopen.c: Likewise.
6740 * libio/iofopen.c: Likewise.
6741 * libio/iofopen64.c: Likewise.
6742 * libio/iogetdelim.c: Likewise.
6743 * libio/iopopen.c: Likewise.
6744 * libio/obprintf.c: Likewise.
6745 * libio/oldfileops.c: Likewise.
6746 * libio/oldiofclose.c: Likewise.
6747 * libio/oldiofdopen.c: Likewise.
6748 * libio/oldiofopen.c: Likewise.
6749 * libio/oldiopopen.c: Likewise.
6750 * libio/wfiledoalloc.c: Likewise.
6751 * libio/wgenops.c: Likewise.
6752 * locale/programs/xmalloc.c: Likewise.
6753 * misc/syslog.c: Likewise.
6754 * stdio-common/xbug.c: Likewise.
6755 * string/memchr.c: Likewise.
6756 * string/memcmp.c: Likewise.
6757 * string/memrchr.c: Likewise.
6758 * string/rawmemchr.c: Likewise.
6759 * sysdeps/posix/getcwd.c: Likewise.
6760 * time/strftime_l.c: Likewise.
6761
3b100462
JM
67622012-01-30 Joseph Myers <joseph@codesourcery.com>
6763
6764 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6765 * config.make.in (config-cflags-sse2avx): Define.
6766 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6767 Fix typo.
6768
607998af
CM
67692012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6770
6771 * scripts/config.guess: Update from upstream config git repository.
6772 * scripts/config.sub: Likewise.
6773
3601428f
CM
67742012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6775
3ac8b282
CM
6776 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6777 (EM_NUM): Update.
6778 (R_TILEPRO_*, R_TILEGX_*): New macros.
6779
e034841e
CM
6780 * scripts/firstversions.awk: Fix bug in version range handling.
6781
540d7568
CM
6782 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6783
3601428f
CM
6784 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6785
463de862
CM
6786 * include/sys/epoll.h: New file.
6787 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6788 libc_hidden_def.
6789
73139a76
UD
67902012-01-28 Ulrich Drepper <drepper@gmail.com>
6791
96bc5b45
UD
6792 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6793 Avoid unnecessary __WORDSIZE == 64 test.
6794 (fmaxf): Use VEX format if possible.
6795 (fmax): Likewise.
6796 (fminf): Likewise.
6797 (fmin): Likewise.
6798
56f6f6a2
UD
6799 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6800 * math/math_private.h: Remove libc_fegetround* and
6801 libc_fesetround*.
6802 * sysdeps/i386/configure.in: Check for -msse2avx.
6803 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6804 also if SSE2AVX is defined.
6805 Remove libc_fegetround* and libc_fesetround*.
6806 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6807 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6808 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6809 of HAS_YMM_USABLE.
6810 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6811 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6815
73139a76
UD
6816 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6817
d73f93a4
AZ
68182012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6819
6820 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6821 size is not set.
6822 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6823
6ee65ed6
UD
68242012-01-27 Ulrich Drepper <drepper@gmail.com>
6825
6826 [BZ #13618]
6827 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6828 relocation.
6829 * Makeconfig (libm): Define.
6830 * elf/Makefile: Add rules to build and run tst-relsort1.
6831 * elf/tst-relsort1.c: New file.
6832 * elf/tst-relsort1mod1.c: New file.
6833 * elf/tst-relsort1mod2.c: New file.
6834
8db21882
JM
68352012-01-27 Joseph Myers <joseph@codesourcery.com>
6836
6837 * math/s_ldexp.c: Remove __STDC__ conditionals.
6838 * math/s_ldexpf.c: Likewise.
6839 * math/s_ldexpl.c: Likewise.
6840 * math/s_nextafter.c: Likewise.
6841 * math/s_nexttowardf.c: Likewise.
6842 * math/s_significand.c: Likewise.
6843 * math/s_significandf.c: Likewise.
6844 * math/s_significandl.c: Likewise.
6845 * math/w_jnl.c: Likewise.
6846 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6847 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6848 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6849 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6850 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6852 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6855 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6856 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6857 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6858 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6861 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6862 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6863 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6865 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6866 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6867 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6868 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6869 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6870 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6871 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6872 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6873 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6874 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6875 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6876 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6877 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6878 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6879 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6880 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6881 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6882 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6883 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6884 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6885 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6886 * sysdeps/ieee754/k_standard.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6953 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6962 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6966 * sysdeps/ieee754/s_matherr.c: Likewise.
6967 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6968 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6971
965a54a4
JM
69722012-01-26 Joseph Myers <joseph@codesourcery.com>
6973
6974 * crypt/md5.h: Remove __STDC__ conditionals.
6975 * libio/libioP.h: Likewise.
6976 * locale/programs/config.h: Likewise.
6977 * sysdeps/generic/sysdep.h: Likewise.
6978 * sysdeps/i386/asm-syntax.h: Likewise.
6979 * sysdeps/s390/asm-syntax.h: Likewise.
6980 * sysdeps/unix/sysdep.h: Likewise.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6983
7071ad79
JM
69842012-01-26 Joseph Myers <joseph@codesourcery.com>
6985
6986 * libio/libio.h: Remove __STDC__ conditionals.
6987 * malloc/obstack.h: Likewise.
6988 * math/complex.h: Likewise.
6989 * math/math.h: Likewise.
6990 * sysdeps/generic/_G_config.h: Likewise.
6991 * sysdeps/gnu/_G_config.h: Likewise.
6992 * sysdeps/mach/hurd/_G_config.h: Likewise.
6993 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6994 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6995 * sysdeps/sparc/bits/mathdef.h: Likewise.
6996
afc5ed09
UD
69972012-01-26 Ulrich Drepper <drepper@gmail.com>
6998
6999 [BZ #13583]
7000 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7001 Clean up HAS_* macros.
afc5ed09 7002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7003 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7004 possible.
7005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7006 HAS_AVX.
7007 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7008 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7011 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7012
bdb6de1d
JM
70132012-01-25 Joseph Myers <joseph@codesourcery.com>
7014
7015 * elf/tst-unique3.cc (gets): Remove declaration.
7016 * elf/tst-unique3lib.cc (gets): Likewise.
7017 * elf/tst-unique3lib2.cc (gets): Likewise.
7018 * elf/tst-unique4.cc (gets): Likewise.
7019
b15549e6
UD
70202012-01-24 Ulrich Drepper <drepper@gmail.com>
7021
7022 * include/stdio.h: Add C++ protection. Add gets declarations and
7023 definitions.
7024 * debug/tst-chk1.c: Don't declare gets here.
7025 * stdio-common/tst-gets.c: Likewise.
7026
a037381f
JM
70272012-01-24 Joseph Myers <joseph@codesourcery.com>
7028
7029 * posix/glob: Remove directory.
7030
f1d4aa75
JM
70312012-01-24 Joseph Myers <joseph@codesourcery.com>
7032
7033 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7034
81c0c964
PT
70352012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7036
7037 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7038 of the non-standard EPFNOSUPPORT.
7039
0ea698ae
ST
70402011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7041
7042 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7043 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7044 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7045
d220b117
UD
70462012-01-21 Ulrich Drepper <drepper@gmail.com>
7047
7048 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7049
3e1aa84e
UD
70502012-01-20 Ulrich Drepper <drepper@gmail.com>
7051
7052 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7053 transient errors.
7054 * nscd/grpcache.c (cache_addgr): Likewise.
7055 * nscd/hstcache.c (cache_addhst): Likewise.
7056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7057 * nscd/pwdcache.c (cache_addpw): Likewise.
7058 * nscd/servicescache.c (cache_addserv): Likewise.
7059
400aa020
UD
70602012-01-16 Ulrich Drepper <drepper@gmail.com>
7061
d77e7869
UD
7062 * malloc/malloc.c: Various cleanups.
7063 * malloc/hooks.c: Likewise.
7064
400aa020
UD
7065 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7066 * stdlib/bug-fmtmsg1.c: New file.
7067
7068 * stdlib/fmtmsg.c (init): Add missing unlock.
7069 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7070
e0a309cf
MP
70712012-01-12 Marek Polacek <polacek@redhat.com>
7072
7073 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7074 and _GNU_SOURCE.
7075
929d11c7
WS
70762012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7077
7078 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7079 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7080 macro to ensure uniqueness of label name.
7081 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7082 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7083
41d0e869
UD
70842012-01-11 Ulrich Drepper <drepper@gmail.com>
7085
0cc5ed3b
UD
7086 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7087
41d0e869
UD
7088 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7089 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7092
a47a831a
UD
70932012-01-10 Ulrich Drepper <drepper@gmail.com>
7094
daa891c0
UD
7095 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7096
7097 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7098 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7100
e58ef0f2
UD
7101 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7102
a47a831a 7103 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7104 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7105 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7107
7108 * math/bits/math-finite.h: Add ldexp support.
7109
a0bfc9c7
MP
71102012-01-10 Marek Polacek <polacek@redhat.com>
7111
7112 * locale/programs/localedef.h (show_archive_content): Add noreturn
7113 attribute.
7114
d6e97a1d
UD
71152012-01-09 Ulrich Drepper <drepper@gmail.com>
7116
7117 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7118
d5835c26
UD
71192012-01-08 Ulrich Drepper <drepper@gmail.com>
7120
e5f484c6
UD
7121 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7122
d5835c26
UD
7123 * io/Makefile (headers): Add bits/poll2.h.
7124
d1f741e9
WS
71252011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7126
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7128 typo #include statement.
7129
ec09c1c4
UD
71302012-01-08 Ulrich Drepper <drepper@gmail.com>
7131
7132 * include/sys/cdefs.h: Define __attribute_alloc_size.
7133 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7134 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7135 * elf/pldd.c: Likewise.
7136 * iconv/iconv_charmap.c: Likewise.
7137 * iconv/iconvconfig.c: Likewise.
7138 * iconv/strtab.c: Likewise.
7139 * locale/programs/locale.c: Likewise.
7140 * locale/programs/localedef.h: Likewise.
7141 * locale/programs/simple-hash.c: Likewise.
7142 * nscd/nscd.h: Likewise.
7143 * nss/makedb.c: Likewise.
7144 * sysdeps/generic/ldconfig.h: Likewise.
7145 * locale/programs/localedef.c: Remove xmalloc prototype.
7146 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7147
20b38e03
PP
71482012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7149
7150 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7151 appropriate.
7152
a0da5fe1
UD
71532012-01-08 Ulrich Drepper <drepper@gmail.com>
7154
1d5a644a 7155 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7156 * math/tst-CMPLX.c: New file.
1d5a644a 7157
8784a6db
UD
7158 * math/complex.h (CMPLXL): Fix typo.
7159
d9a216c0
UD
7160 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7161 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7162 GLIBC_2.16.
7163 * debug/tst-chk1.c: Add poll and ppoll tests.
7164 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7165 * include/sys/poll.h: Add hidden proto for ppoll.
7166 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7167 * sysdeps/mach/hurd/ppoll.c: Likewise.
7168 * io/ppoll.c: Likewise.
7169 * debug/poll_chk.c: New file.
7170 * debug/ppoll_chk.c: New file.
7171 * include/bits/poll2.h: New file.
7172 * io/bits/poll2.h: New file.
7173
ac097f5c
UD
7174 [BZ #1350]
7175 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7176
2119dcfa
UD
7177 * configure.in: static is always set to yes. Remove.
7178 * config.make.in: Don't set build-static.
7179 * Makeconfig: Remove use of build-static.
7180 * dlfcn/Makefile: Likewise.
7181 * elf/Makefile: Likewise.
7182 * math/Makefile: Likewise.
7183 * misc/Makefile: Likewise.
7184 * nptl/Makefile: Likewise.
7185 * sysdeps/mach/hurd/Makefile: Likewise.
7186
121766a9
UD
7187 * configure.in: PWD_P is not used anymore.
7188 * config.make.in: Remove PWD_P entry.
7189
51a1d39c 7190 * configure.in: Remove last remnants of RANLIB.
8720d066 7191 No need to check for signed size_t anymore.
215f4bdc
UD
7192 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7193 and IA-64.
3857022a 7194 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7195 * aclocal.m4: Likewise.
7196
d3ed7225
UD
7197 * wcsmbs/mbrtoc16.c: Implement using towc function.
7198 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7199 * wcsmbs/wcsmbsload.c: Likewise.
7200 * iconv/gconv_simple.c: Likewise.
7201 * iconv/gconv_int.h: Likewise.
7202 * iconv/gconv_builtin.h: Likewise.
7203 * iconv/iconv_prog.c: Remove CHAR16 handling.
7204
7205 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7206
7207 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7208
a0da5fe1
UD
7209 * configure.in: Remove --with-elf and --enable-bounded options.
7210 Dont set base_machine for ia64. More non-ELF conditions removed.
7211 Remove testing and setting of leading underscore information.
7212 * config.make.in (build-bounded): Set to no.
7213 * config.h.in: Remove NO_UNDERSCORES entry.
7214 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7215 them.
7216 * csu/start.c: Remove !NO_UNDERSCORE code.
7217 * locale/localeinfo.h: Likewise.
7218 * sysdeps/generic/machine-gmon.h: Likewise.
7219 * sysdeps/generic/sysdep.h: Likewise.
7220 * sysdeps/i386/sysdep.h: Likewise.
7221 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7222 * sysdeps/mach/sysdep.h: Likewise.
7223 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7224 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7225 * sysdeps/sh/sysdep.h: Likewise.
7226 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7227 * sysdeps/unix/i386/sysdep.S: Likewise.
7228 * sysdeps/unix/sparc/start.c: Likewise.
7229 * sysdeps/unix/sparc/sysdep.S: Likewise.
7230 * sysdeps/unix/sparc/sysdep.h: Likewise.
7231 * sysdeps/unix/start.c: Likewise.
7232 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7233 * sysdeps/x86_64/sysdep.h: Likewise.
7234
df78418a
UD
72352012-01-07 Ulrich Drepper <drepper@gmail.com>
7236
a784e502
UD
7237 [BZ #13553]
7238 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7239 for non-gcc.
7240 * argp/argp-fmtstream.h: Use const instead __const.
7241 * argp/argp.h: Likewise.
7242 * assert/assert.h: Likewise.
7243 * bits/fenv.h: Likewise.
7244 * bits/sched.h: Likewise.
7245 * bits/sigset.h: Likewise.
7246 * bits/sigthread.h: Likewise.
7247 * catgets/nl_types.h: Likewise.
7248 * conform/data/pthread.h-data: Likewise.
7249 * crypt/crypt-private.h: Likewise.
7250 * crypt/crypt.h: Likewise.
7251 * crypt/crypt_util.c: Likewise.
7252 * ctype/ctype.h: Likewise.
7253 * debug/execinfo.h: Likewise.
7254 * debug/mbsnrtowcs_chk.c: Likewise.
7255 * debug/mbsrtowcs_chk.c: Likewise.
7256 * debug/wcsnrtombs_chk.c: Likewise.
7257 * debug/wcsrtombs_chk.c: Likewise.
7258 * debug/wcstombs_chk.c: Likewise.
7259 * dirent/dirent.h: Likewise.
7260 * dlfcn/dlfcn.h: Likewise.
7261 * elf/neededtest4.c: Likewise.
7262 * grp/grp.h: Likewise.
7263 * gshadow/gshadow.h: Likewise.
7264 * iconv/gconv.h: Likewise.
7265 * iconv/gconv_int.h: Likewise.
7266 * iconv/gconv_simple.c: Likewise.
7267 * iconv/iconv.h: Likewise.
7268 * iconv/loop.c: Likewise.
7269 * iconv/skeleton.c: Likewise.
7270 * include/aio.h: Likewise.
7271 * include/aliases.h: Likewise.
7272 * include/argz.h: Likewise.
7273 * include/arpa/inet.h: Likewise.
7274 * include/assert.h: Likewise.
7275 * include/dirent.h: Likewise.
7276 * include/dlfcn.h: Likewise.
7277 * include/execinfo.h: Likewise.
7278 * include/fcntl.h: Likewise.
7279 * include/fenv.h: Likewise.
7280 * include/glob.h: Likewise.
7281 * include/grp.h: Likewise.
7282 * include/libintl.h: Likewise.
7283 * include/mntent.h: Likewise.
7284 * include/netdb.h: Likewise.
7285 * include/pwd.h: Likewise.
7286 * include/rpc/netdb.h: Likewise.
7287 * include/sched.h: Likewise.
7288 * include/search.h: Likewise.
7289 * include/shadow.h: Likewise.
7290 * include/signal.h: Likewise.
7291 * include/stdio.h: Likewise.
7292 * include/stdlib.h: Likewise.
7293 * include/string.h: Likewise.
7294 * include/sys/socket.h: Likewise.
7295 * include/sys/stat.h: Likewise.
7296 * include/sys/statfs.h: Likewise.
7297 * include/sys/statvfs.h: Likewise.
7298 * include/sys/syslog.h: Likewise.
7299 * include/sys/time.h: Likewise.
7300 * include/sys/uio.h: Likewise.
7301 * include/time.h: Likewise.
7302 * include/unistd.h: Likewise.
7303 * include/utmp.h: Likewise.
7304 * include/wchar.h: Likewise.
7305 * include/wctype.h: Likewise.
7306 * inet/aliases.h: Likewise.
7307 * inet/arpa/inet.h: Likewise.
7308 * inet/netinet/ether.h: Likewise.
7309 * inet/netinet/in.h: Likewise.
7310 * intl/libintl.h: Likewise.
7311 * io/bits/fcntl2.h: Likewise.
7312 * io/fcntl.h: Likewise.
7313 * io/ftw.h: Likewise.
7314 * io/sys/poll.h: Likewise.
7315 * io/sys/stat.h: Likewise.
7316 * io/sys/statfs.h: Likewise.
7317 * io/sys/statvfs.h: Likewise.
7318 * io/utime.h: Likewise.
7319 * libio/bits/stdio.h: Likewise.
7320 * libio/bits/stdio2.h: Likewise.
7321 * libio/libio.h: Likewise.
7322 * libio/libioP.h: Likewise.
7323 * libio/stdio.h: Likewise.
7324 * locale/lc-ctype.c: Likewise.
7325 * locale/locale.h: Likewise.
7326 * login/utmp.h: Likewise.
7327 * malloc/arena.c: Likewise.
7328 * malloc/malloc.c: Likewise.
7329 * malloc/malloc.h: Likewise.
7330 * malloc/mcheck.c: Likewise.
7331 * malloc/mtrace.c: Likewise.
7332 * math/bits/mathcalls.h: Likewise.
7333 * math/fenv.h: Likewise.
7334 * math/math_private.h: Likewise.
7335 * misc/bits/error.h: Likewise.
7336 * misc/bits/syslog.h: Likewise.
7337 * misc/err.h: Likewise.
7338 * misc/error.h: Likewise.
7339 * misc/fstab.h: Likewise.
7340 * misc/mntent.h: Likewise.
7341 * misc/regexp.h: Likewise.
7342 * misc/search.h: Likewise.
7343 * misc/sgtty.h: Likewise.
7344 * misc/sys/mman.h: Likewise.
7345 * misc/sys/syslog.h: Likewise.
7346 * misc/sys/uio.h: Likewise.
7347 * misc/sys/xattr.h: Likewise.
7348 * misc/ttyent.h: Likewise.
7349 * nis/rpcsvc/ypclnt.h: Likewise.
7350 * nss/nss.h: Likewise.
7351 * posix/bits/unistd.h: Likewise.
7352 * posix/fnmatch.h: Likewise.
7353 * posix/glob.h: Likewise.
7354 * posix/sched.h: Likewise.
7355 * posix/spawn.h: Likewise.
7356 * posix/sys/wait.h: Likewise.
7357 * posix/unistd.h: Likewise.
7358 * posix/wordexp.h: Likewise.
7359 * pwd/pwd.h: Likewise.
7360 * resolv/netdb.h: Likewise.
7361 * resource/sys/resource.h: Likewise.
7362 * rt/aio.h: Likewise.
7363 * rt/bits/mqueue2.h: Likewise.
7364 * rt/mqueue.h: Likewise.
7365 * shadow/shadow.h: Likewise.
7366 * signal/signal.h: Likewise.
7367 * socket/send.c: Likewise.
7368 * socket/sendto.c: Likewise.
7369 * socket/sys/socket.h: Likewise.
7370 * stdio-common/printf.h: Likewise.
7371 * stdlib/bits/stdlib.h: Likewise.
7372 * stdlib/fmtmsg.h: Likewise.
7373 * stdlib/monetary.h: Likewise.
7374 * stdlib/stdlib.h: Likewise.
7375 * stdlib/ucontext.h: Likewise.
7376 * streams/stropts.h: Likewise.
7377 * string/argz.h: Likewise.
7378 * string/bits/string2.h: Likewise.
7379 * string/string.h: Likewise.
7380 * string/strings.h: Likewise.
7381 * sunrpc/rpc/auth.h: Likewise.
7382 * sunrpc/rpc/auth_des.h: Likewise.
7383 * sunrpc/rpc/clnt.h: Likewise.
7384 * sunrpc/rpc/netdb.h: Likewise.
7385 * sunrpc/rpc/pmap_clnt.h: Likewise.
7386 * sunrpc/rpc/xdr.h: Likewise.
7387 * sysdeps/generic/inttypes.h: Likewise.
7388 * sysdeps/generic/net/if.h: Likewise.
7389 * sysdeps/generic/sys/swap.h: Likewise.
7390 * sysdeps/gnu/net/if.h: Likewise.
7391 * sysdeps/gnu/utmpx.h: Likewise.
7392 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7393 * sysdeps/i386/i486/bits/string.h: Likewise.
7394 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7395 * sysdeps/s390/bits/string.h: Likewise.
7396 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7397 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7398 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7399 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7400 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7401 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7402 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7403 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7404 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7405 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7406 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7407 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7408 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7409 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7410 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7411 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7412 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7414 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7415 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7416 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7417 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7418 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7419 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7420 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7421 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7422 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7423 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7424 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7425 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7426 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7427 * sysvipc/sys/ipc.h: Likewise.
7428 * sysvipc/sys/msg.h: Likewise.
7429 * sysvipc/sys/sem.h: Likewise.
7430 * sysvipc/sys/shm.h: Likewise.
7431 * termios/termios.h: Likewise.
7432 * time/sys/time.h: Likewise.
7433 * time/time.h: Likewise.
7434 * wcsmbs/bits/wchar2.h: Likewise.
7435 * wcsmbs/uchar.h: Likewise.
7436 * wcsmbs/wchar.h: Likewise.
7437 * wctype/wctype.h: Likewise.
7438
0269750c
UD
7439 [BZ #13551]
7440 * Makeconfig: Remove all but ELF support including AIX support.
7441 * Makerules: Likewise.
7442 * config.h.in: Likewise.
7443 * config.make.in: Likewise.
7444 * configure: Likewise.
7445 * configure.in: Likewise.
7446 * csu/Makefile: Likewise.
7447 * csu/version.c: Likewise.
7448 * debug/Makefile: Likewise.
7449 * dlfcn/Makefile: Likewise.
7450 * elf/Makefile: Likewise.
7451 * extra-lib.mk: Likewise.
7452 * iconv/Makefile: Likewise.
7453 * include/libc-symbols.h: Likewise.
7454 * include/shlib-compat.h: Likewise.
7455 * resolv/Makefile: Likewise.
7456 * resolv/res_libc.c: Likewise.
7457 * rt/Makefile: Likewise.
7458 * sysdeps/i386/asm-syntax.h: Likewise.
7459 * sysdeps/i386/sysdep.h: Likewise.
7460 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7461 * sysdeps/mach/sysdep.h: Likewise.
7462 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7463 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7464 * sysdeps/s390/asm-syntax.h: Likewise.
7465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7467 * sysdeps/sh/sysdep.h: Likewise.
7468 * sysdeps/unix/sparc/sysdep.h: Likewise.
7469 * sysdeps/wordsize-32/divdi3.c: Likewise.
7470 * sysdeps/x86_64/sysdep.h: Likewise.
7471
00bbd29b
UD
7472 * argp/Versions: Remove _argp_unlock_xxx.
7473
7474 [BZ #13559]
7475 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7476 * abilist/libBrokenLocale.abilist: Likewise.
7477 * abilist/libanl.abilist: Likewise.
7478 * abilist/libc.abilist: Likewise.
7479 * abilist/libcrypt.abilist: Likewise.
7480 * abilist/libdl.abilist: Likewise.
7481 * abilist/libm.abilist: Likewise.
7482 * abilist/libnsl.abilist: Likewise.
7483 * abilist/libpthread.abilist: Likewise.
7484 * abilist/libresolv.abilist: Likewise.
7485 * abilist/librt.abilist: Likewise.
7486 * abilist/libthread_db.abilist: Likewise.
7487 * abilist/libutil.abilist: Likewise.
7488 * abilist/libnss_db.abilist: New file.
7489
7490 * scripts/abilist.awk: Add support for indirect functions.
7491
a2693a0e
UD
7492 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7493
3f05895f
UD
7494 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7495
ecb6fb48
UD
7496 * shlib-versions: Remove entries for ports architectures.
7497
664f8cb9
UD
7498 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7499 files in ports.
7500 * elf/stackguard-macros.h: Remove support for IA-64.
7501 * elf/tst-auditmod1.c: Likewise.
7502 * sysdeps/generic/ldsodefs.h: Likewise.
7503
7ae81d88
UD
7504 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7505 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7506 configure files.
7507
bdeba135
UD
7508 [BZ #13552]
7509 * configure.in: Remove --enable-omitfp support.
7510 * FAQ.in: Adjust.
7511 * config.make.in: Likewise.
7512 * Makeconfig: Likewise.
7513 * manual/install.texi: Likewise.
7514
d75a0a62
UD
7515 In case anyone cares, the IA-64 architecture could move to ports.
7516 * sysdeps/ia64/*: Removed.
7517 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7518 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7519
dcc9756b
UD
7520 [BZ #13555]
7521 * configure.in: Remove entries for unsupported architectures.
7522
d3761ebc 7523 [BZ #13533]
9954432e
UD
7524 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7525 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7526 routines.
7527 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7528 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7529 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7530 fall back to using wcrtomb.
7531 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7532 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7533 renaming.
7534 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7535 * wcsmbs/tst-c16c32-1.c: New file.
7536
7537 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7538 local variable.
7539
c3a87236
UD
7540 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7541
28926a1b
UD
7542 * elf/tst-unique3.cc: Add explicit declaration of gets.
7543 * elf/tst-unique3lib.cc: Likewise.
7544 * elf/tst-unique3lib2.cc: Likewise.
7545 * elf/tst-unique4.cc: Likewise.
7546
df78418a
UD
7547 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7548
8ecd6b2a
JM
75492012-01-06 Joseph Myers <joseph@codesourcery.com>
7550
7551 [BZ #13566]
7552 * assert/assert.h (static_assert): Don't define for C++.
7553 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7554 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7555
9f115170
UD
75562012-01-03 Ulrich Drepper <drepper@gmail.com>
7557
5e0d0300
UD
7558 * iconv/loop.c (single loop): Fix assertion in storing of
7559 remaining bytes.
7560
9f115170
UD
7561 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7562
81fb02b0
UD
75632012-01-01 Ulrich Drepper <drepper@gmail.com>
7564
7565 * posix/getconf.c: Update copyright year.
7566 * nss/getent.c: Likewise.
a316c1f6 7567 * nss/makedb.c: Likewise.
81fb02b0
UD
7568 * iconv/iconvconfig.c: Likewise.
7569 * iconv/iconv_prog.c: Likewise.
7570 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7571 * elf/pldd.c: Likewise.
7572 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7573 * catgets/gencat.c: Likewise.
7574 * csu/version.c: Likewise.
7575 * elf/ldd.bash.in: Likewise.
7576 * elf/sprof.c (print_version): Likewise.
7577 * locale/programs/locale.c: Likewise.
7578 * locale/programs/localedef.c: Likewise.
a316c1f6 7579 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7580 * nscd/nscd.c (print_version): Likewise.
7581 * debug/xtrace.sh: Likewise.
7582 * malloc/memusage.sh: Likewise.
7583 * malloc/mtrace.pl: Likewise.
7584 * debug/catchsegv.sh: Likewise.
7585
2ba92745
JJ
75862011-12-30 Jakub Jelinek <jakub@redhat.com>
7587
7588 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7589 pure attribute.
7590
dadebdae
UD
75912011-12-24 Ulrich Drepper <drepper@gmail.com>
7592
d3761ebc 7593 [BZ #13533]
db6af3eb
UD
7594 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7595 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7596 transformations.
7597 * iconv/gconv_int.h: Likewise.
7598 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7599 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7600 from libc for GLIBC_2.16.
7601 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7602 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7603 * wcsmbs/uchar.h: Really define mbstate_t.
7604 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7605 * wcsmbs/c16rtomb.c: New file.
7606 * wcsmbs/mbrtoc16.c: New file.
7607 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7608 for C/POSIX locale.
7609 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7610 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7611
dadebdae
UD
7612 * wcsmbs/wchar.h: Add missing __restrict.
7613
67371b56
UD
76142011-12-23 Ulrich Drepper <drepper@gmail.com>
7615
74033a25
UD
7616 [BZ #13532]
7617 * time/Makefile (routines): Add timespec_get.
7618 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7619 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7620 timespec for ISO C11.
7621 * time/timespec_get.c: New file.
7622 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7623 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7624
380d7e87
UD
7625 [BZ #13531]
7626 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7627 * stdlib/stdlib.h: Declare aligned_alloc.
7628 * Versions.def: Add GLIBC_2.16 for libc.
7629 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7630
4e9e7a35
UD
7631 [BZ 13527]
7632 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7633 ISO C11.
7634
380d7e87 7635 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7636 code.
7637
03a71829
UD
7638 [BZ #13528]
7639 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7640
839e283e
UD
7641 [BZ #13529]
7642 * assert/assert.h (static_assert): Define.
7643
ce5294e2 7644 * version.h: Update for 2.16 development version.
90fa7312 7645
8d44e150 7646 [BZ #13526]
d7809905
UD
7647 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7648 _ISOC11_SOURCE.
7649
c0da14cd
UD
7650 * version.h (RELEASE): Bump for 2.15 release.
7651 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7652
530a3249
MP
7653 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7654 Patch by Marek Polacek <mpolacek@redhat.com>.
7655
67371b56
UD
7656 * bits/byteswap.h: Protect long long constants with __extension__.
7657 * sysdeps/i386/bits/byteswap.h: Likewise.
7658 * sysdeps/ia64/bits/byteswap.h: Likewise.
7659 * sysdeps/s390/bits/byteswap.h: Likewise.
7660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7661
15db4de1
LD
76622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7663
7664 [BZ #13540]
bbe315ea
LD
7665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7666 destination buffer.
15db4de1
LD
7667 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7668
2b2596b1
MP
76692011-12-23 Marek Polacek <polacek@redhat.com>
7670
7671 * elf/dl-addr.c (determine_info): Add inline keyword.
7672 * elf/tst-auditmod4b.c (check_avx): Likewise.
7673 * elf/tst-auditmod6b.c (check_avx): Likewise.
7674 * elf/tst-auditmod6c.c (check_avx): Likewise.
7675 * elf/tst-auditmod7b.c (check_avx): Likewise.
7676
70c6c246
UD
76772011-12-23 Ulrich Drepper <drepper@gmail.com>
7678
7679 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7680 !__SSE_MATH__.
7681
c044cf14
LD
76822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7683
15db4de1 7684 [BZ #13540]
c044cf14
LD
7685 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7686 processing for last bytes.
7687
6b13d9d9
BH
76882011-08-06 Bruno Haible <bruno@clisp.org>
7689
d455f537
BH
7690 [BZ #13061]
7691 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7692 U+0385, not to U+1FEE.
7693
6b13d9d9
BH
7694 [BZ #13062]
7695 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7696 entry for U+00A5 U+0301.
7697
db910efd
UD
76982011-12-22 Ulrich Drepper <drepper@gmail.com>
7699
27deeafc
UD
7700 [BZ #13166]
7701 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7702 buffer for the output is too small.
7703
aed9d171
UD
7704 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7705 optimization.
7706
db910efd
UD
7707 [BZ #13185]
7708 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7709 SSE flags if possible.
7710
2bd779ae
LD
77112011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7712
e7f9dac3 7713 [BZ #13540]
2bd779ae
LD
7714 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7715 processing for last bytes.
7716
154bfc16
JM
77172011-12-22 Joseph Myers <joseph@codesourcery.com>
7718
7719 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7720 (syscall-list-default-options, syscall-list-default-condition)
7721 (syscall-list-includes): Define.
7722 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7723 list of ABIs and options and #if conditions for each ABI. Do not
7724 handle common syscalls between ABIs specially.
7725 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7726 Remove.
7727 (syscall-list-variants, syscall-list-32bit-options)
7728 (syscall-list-32bit-condition, syscall-list-64bit-options)
7729 (syscall-list-64bit-condition): Define.
7730 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7731 (syscall-list-variants, syscall-list-32bit-options)
7732 (syscall-list-32bit-condition, syscall-list-64bit-options)
7733 (syscall-list-64bit-condition): Define.
7734 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7735 Remove.
7736 (syscall-list-variants, syscall-list-32bit-options)
7737 (syscall-list-32bit-condition, syscall-list-64bit-options)
7738 (syscall-list-64bit-condition): Define.
7739 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7740 Remove.
7741 (syscall-list-variants, syscall-list-32bit-options)
7742 (syscall-list-32bit-condition, syscall-list-64bit-options)
7743 (syscall-list-64bit-condition): Define.
7744
21eaf3a5
UD
77452011-12-22 Ulrich Drepper <drepper@gmail.com>
7746
16c6f992
UD
7747 * locale/iso-639.def: Add brx entry.
7748
41043168
UD
7749 [BZ #13328]
7750 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7751 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7752
21eaf3a5
UD
7753 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7754 __feraiseexcept_renamed.
7755
e3a851a2
UD
77562011-12-21 Ulrich Drepper <drepper@gmail.com>
7757
4920765e
UD
7758 [BZ #13538]
7759 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7760 EPOLLET with unsigned values.
7761 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7762 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7763
e3a851a2
UD
7764 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7765 to large cancellation.
7766 * math/s_cacoshf.c: Likewise.
7767 * math/s_cacoshl.c: Likewise.
7768
b27e24b8
RK
77692011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7770
7771 [BZ #13305]
aebefeee 7772 [BZ #12786]
b27e24b8
RK
7773 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7774 * math/s_cacoshf.c: Likewise.
7775 * math/s_cacoshl.c: Likewise.
7776
ee190f67
UD
77772011-12-21 Ulrich Drepper <drepper@gmail.com>
7778
7779 [BZ #13439]
7780 * iconv/gconv.h: Define __GCONV_SWAP.
7781 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7782 * iconvdata/utf-16.c: Likewise.
7783 * iconvdata/utf-32.c: Likewise.
7784
707f25df
AS
77852011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7786
7787 [BZ #13524]
7788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7789 numerator after shifting it by one limb.
7790
d2daaa1e
RÁE
77912011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7792
7793 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7794 under [__USE_EXTERN_INLINES].
7795
a4647e72
UD
77962011-12-17 Ulrich Drepper <drepper@gmail.com>
7797
7798 [BZ #13446]
7799 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7800
f0b264f1
AZ
78012011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7802
7803 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7804 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7805 optimized code.
7806 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7807 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7808 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7809 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7810 for strncasecmp/strncasecmp_l compilation.
7811 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7812 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7813
8ef4f244
MP
78142011-12-08 Marek Polacek <mpolacek@redhat.com>
7815
7816 [BZ #13484]
7817 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7818 of __asm__.
7819
97ac2654
UD
78202011-12-17 Ulrich Drepper <drepper@gmail.com>
7821
7822 [BZ #13506]
7823 * time/tzfile.c (__tzfile_read): Check values from file header.
7824
91d2a845
WS
78252011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7826
7827 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7828 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7829 * powerpc/powerpc32/dl-start.S: Likewise.
7830 * powerpc/powerpc32/elf/start.S: Likewise.
7831 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7832 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7833 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7834 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7835 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7836 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7837 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7838 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7839 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7840 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7841 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7842 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7843 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7844 * powerpc/powerpc32/memset.S: Likewise.
7845 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7846 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7847 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7848 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7849 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7850 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7851 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7852 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7853 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7854 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7855 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7856 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7857 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7858
a1267ba1
AZ
78592011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7860
7861 * math/libm-test.inc: Added more nearbyint tests.
7862 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7866
ad8ac1bd
RL
78672011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7868
7869 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7870 FD_CLOEXEC.
7871
1d3e4b61
UD
78722011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7873
7874 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7875 Add wcscpy-ssse3 wcscpy-c.
7876 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7877 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7878 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7879 * sysdeps/x86_64/wcschr.S: New file.
7880 * sysdeps/x86_64/wcsrchr.S: New file.
7881 * string/test-strcmp.c: Remove checking of wcscmp function for
7882 wrong alignments.
7883 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7884 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7885 wcsrchr-sse2 wcsrchr-c.
7886 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7887 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7888 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7889 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7890 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7891 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7892 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7893 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7894 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7895 * wcsmbc/wcschr.c (WCSCHR): New macro.
7896
5b330a2d
UD
78972011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7898
7899 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7900 * wcsmbs/test-wcsrchr.c: New file.
7901 * string/test-strrchr.c: Add wcsrchr support.
7902 (WIDE): New macro.
7903 * wcsmbs/test-wcscpy.c: New file.
7904 * string/test-strcpy.c: Add wcscpy support.
7905 (WIDE): New macro.
26428b7c 7906
f039c043
UD
79072011-12-10 Ulrich Drepper <drepper@gmail.com>
7908
7909 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7910 the inner loop.
7911
850fb039
AS
79122011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7913
7914 [BZ #13472]
7915 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7916
4efbd5cb
UD
79172011-12-04 Ulrich Drepper <drepper@gmail.com>
7918
52ff5dd0 7919 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7920 Minor optimizations.
52ff5dd0 7921
4efbd5cb
UD
7922 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7923 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7924 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7925
8a426e12
UD
79262011-12-03 Ulrich Drepper <drepper@gmail.com>
7927
aff2453d
UD
7928 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7929 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7930 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7931 for gcc to avoid warnings.
7932 * inet/Makefile (tests): Add tst-checks.
7933 * inet/tst-checks.c: New file.
7934
7935 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7936 warning.
7937
7938 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7939 __wmemcmp_sse2.
7940
7941 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7942 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7943
8a426e12
UD
7944 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7945
9bea3473
UD
79462011-12-02 Ulrich Drepper <drepper@gmail.com>
7947
3a965496
UD
7948 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7949 problem.
7950
9bea3473
UD
7951 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7952
f101631b
UD
79532011-11-29 Joseph Myers <joseph@codesourcery.com>
7954
7955 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7956 conditional on GCC version.
7957 (__arch_compare_and_exchange_val_8_acq)
7958 (__arch_compare_and_exchange_val_16_acq)
7959 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7960 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7961 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7962
a98275aa
UD
79632011-12-02 Joseph Myers <joseph@codesourcery.com>
7964
7965 * sysdeps/sh/backtrace.c: New file.
7966
d4cc29a2
AS
79672011-12-02 Andreas Schwab <schwab@redhat.com>
7968
7969 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7970 parenthesis.
7971
6257af2d
AS
79722011-12-01 Andreas Schwab <schwab@redhat.com>
7973
7974 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7975 falling back to utime.
7976
b5f44c1a
AS
79772011-11-30 Andreas Schwab <schwab@redhat.com>
7978
7979 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7980 expectations for float.
7981
f3a6cc0a
AS
79822011-11-29 Andreas Schwab <schwab@redhat.com>
7983
7984 * locale/weight.h (findidx): Add parameter len.
7985 * locale/weightwc.h (findidx): Likewise.
7986 * posix/fnmatch_loop.c (FCT): Adjust caller.
7987 * posix/regcomp.c (build_equiv_class): Likewise.
7988 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7989 * posix/regexec.c (check_node_accept_bytes): Likewise.
7990 * string/strcoll_l.c (STRCOLL): Likewise.
7991 * string/strxfrm_l.c (STRXFRM): Likewise.
7992
9d65ea3a
UD
79932011-11-17 Ulrich Drepper <drepper@gmail.com>
7994
7995 * Makefile.in: Remove CVSOPT handling.
7996 * configure.in: Remove use of AC_REVISION.
7997 * iconvdata/Makefile (distribute): No need to filter out CVS.
7998 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7999 handling.
8000
5583a086
AS
80012011-11-16 Andreas Schwab <schwab@redhat.com>
8002
8003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8004 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8005 [USE_AS_STRNCASECMP_L]: Likewise.
8006 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8007 NO_TLS_DIRECT_SEG_REFS.
8008 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8009 Fix argument offsets for non-PIC.
8010 [USE_AS_STRNCASECMP_L]: Likewise.
8011 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8012 NO_TLS_DIRECT_SEG_REFS.
8013
d62a8200
UD
80142011-11-15 Ulrich Drepper <drepper@gmail.com>
8015
9d65ea3a 8016 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8017 O_CLOEXEC.
8018 * locale/loadlocale.c (_nl_load_locale): Likewise.
8019
09f93bd3
AS
80202011-11-15 Andreas Schwab <schwab@redhat.com>
8021
446514f9
AS
8022 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8023 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8024 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8025 (SYSCALL_GETTIME): Set errno on error.
8026
09f93bd3
AS
8027 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8028 count references to noai6ai_cached.
8029
312be3f9
UD
80302011-11-15 Ulrich Drepper <drepper@gmail.com>
8031
8032 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8033
8034 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8035 FD_CLOEXEC for /proc/self/maps.
8036
8037 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8038 FD_CLOEXEC for /proc/meminfo.
8039
8040 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8041 gai.conf.
8042
8043 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8044 FD_CLOEXEC for given file.
8045
8046 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8047
8048 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8049 FD_CLOEXEC for /etc/hosts.
8050 (_gethtent): Likewise.
8051
8052 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8053
8054 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8055 cancellation and set FD_CLOEXEC for /etc/netgroup.
8056
8057 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8058 reading /etc/publickey.
8059
8060 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8061 allow cancellation when reading /etc/group.
8062
8063 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8064 cancellation.
8065 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8066
8067 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8068 when using data file.
8069
8070 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8071
8072 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8073 (write_nis_obj): Use "c" and "e" in fopen.
8074
8075 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8076
8077 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8078
8079 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8080
8081 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8082
8083 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8084 locale.alias.
8085
8086 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8087
8088 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8089
8090 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8091
8092 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8093 file parsing and set FD_CLOEXEC.
8094
82af0fa8
UD
80952011-11-14 Ulrich Drepper <drepper@gmail.com>
8096
8097 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8098
a5fb313c
AS
80992011-11-14 Andreas Schwab <schwab@redhat.com>
8100
8101 * malloc/arena.c (arena_get2): Don't call reused_arena when
8102 _int_new_arena failed.
8103
6abf3465
UD
81042011-11-14 Ulrich Drepper <drepper@gmail.com>
8105
8106 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8107 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8108 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8109 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8110 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8111 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8112 to compile strcasecmp and strncasecmp.
8113 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8114 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8115
8116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8117
76e3966e
UD
81182011-11-13 Ulrich Drepper <drepper@gmail.com>
8119
8120 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8121 locale-defines.sym to gen-as-const-headers.
8122 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8123 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8125 to compile strcasecmp and strncasecmp.
8126 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8127 strcasecmp_l and strncasecmp_l.
8128 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8129 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8130 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8131 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8132 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8133 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8134 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8135 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8136 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8137 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8138 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8139
ab26144e
UD
81402011-11-12 Ulrich Drepper <drepper@gmail.com>
8141
7edb22ef
UD
8142 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8143 result of SYSDEP_GETTIME_CPU to retval.
8144 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8145 parameter list to macro. Remove trailing semicolon. Adjust users.
8146
9694fc44
UD
8147 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8148 variable.
8149
8ad89ef8
UD
8150 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8151 mantissa words.
8152 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8153
0c822ef9
UD
8154 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8155 from unused variable.
8156
874e0564
UD
8157 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8158 DWARF definitions.
8159 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8160 for assembling.
8161
3a2edc79
UD
8162 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8163 over namespaces.
8164
f3c2577f
UD
8165 * sunrpc/rpc_prot.c (rejected): Fix case value.
8166
294ce126
UD
8167 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8168 unsigned long long int to avoid warnings in shift.
8169
5e2b63c6
UD
8170 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8171 of use of trans.
8172 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8173 variable tmp.
8174
e7f4b08e
UD
8175 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8176 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8177 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8178
ab26144e
UD
8179 * nis/nis_table.c (nis_list): Use variable of correct type for
8180 result of __follow_path call.
8181
8a6d5255
AZ
81822011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8183
8184 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8185 of math functions ceil, trunc, floor, round, and sqrt, when
8186 avaliable on the platform.
8187 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8188 name clash.
8189 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8190 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8191 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8192
aaddc98c
MP
81932011-10-30 Marek Polacek <mpolacek@redhat.com>
8194
8195 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8196 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8197
95b7042b
RM
81982011-11-11 Roland McGrath <roland@hack.frob.com>
8199
8200 * include/unistd.h: Fix __readlink return type.
8201 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8202
57769839
UD
82032011-11-11 Ulrich Drepper <drepper@gmail.com>
8204
8205 * stdlib/ucontext.h: Undo last change for makecontext.
8206
edc5984d
AS
82072011-11-11 Andreas Schwab <schwab@redhat.com>
8208
98591e58
AS
8209 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8210
edc5984d
AS
8211 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8212 * setjmp/setjmp.h: Mark functions as non-leaf.
8213 * setjmp/bits/setjmp2.h: Likewise.
8214 * stdlib/ucontext.h: Likewise.
8215
77cdc054
AS
82162011-11-10 Andreas Schwab <schwab@redhat.com>
8217
8218 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8219 (reused_arena): Don't check arena limit.
8220 (arena_get2): Atomically check arena limit.
8221
fe72eebd
UD
82222011-11-08 Ulrich Drepper <drepper@gmail.com>
8223
5f078c32
UD
8224 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8225 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8226
fe72eebd
UD
8227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8228 instructions.
8229
ae1bc2fa
AS
82302011-11-07 Andreas Schwab <schwab@redhat.com>
8231
7583a88d
AS
8232 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8233 handler when locking.
8234
ae1bc2fa
AS
8235 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8236 Fix size of allocated buffer.
8237
10fb0bfa
AS
82382011-11-04 Andreas Schwab <schwab@redhat.com>
8239
998832a4
AS
8240 [BZ #10103]
8241 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8242 declarations for long double functions.
8243 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8244
10fb0bfa
AS
8245 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8246
3d7ba52b
AS
82472011-11-03 Andreas Schwab <schwab@redhat.com>
8248
a9ae54a1
AS
8249 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8250 installed.
8251
3d7ba52b
AS
8252 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8253 is disabled.
8254
bc8db248
ST
82552011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8256
8257 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8258
45b96dd6
AS
82592011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8260
647776f6
AS
8261 * include/alloca.h (stackinfo_alloca_round): Define.
8262 (extend_alloca): Use it.
8263 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8264 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8265 here.
8266
d91a8b93
AS
8267 * scripts/check-local-headers.sh: Ignore libaudit.h.
8268
45b96dd6
AS
8269 * nscd/Makefile (extra-objs): Make recursively expanded.
8270
432d41ce
UD
82712011-11-01 Ulrich Drepper <drepper@gmail.com>
8272
34372fc6
UD
8273 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8274 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8275
fadb59f8
UD
8276 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8277 * posix/tst-rfc3484-2.c: Likewise.
8278 * posix/tst-rfc3484-3.c: Likewise.
8279
78239589
UD
8280 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8281 process_vm_writev.
8282 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8283 process_vm_writev.
8284 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8285 process_vm_writev from libc using GLIBC_2.15 version.
8286
432d41ce
UD
8287 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8288
02f9c6cf
PP
82892011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8290
8291 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8292 stack usage.
8293
3a2c0242
UD
82942011-10-31 Ulrich Drepper <drepper@gmail.com>
8295
f4ec4833
UD
8296 [BZ #13367]
8297 * nss/getent.c (initgroups_keys): Show error message in case no group
8298 names are given.
8299
3a2c0242
UD
8300 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8301 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8302 __bump_nl_timestamp.
8303 * nscd/connections (nscd_init): When host database is served open
8304 netlink socket and request notification about configuration changes.
8305 (main_loop_poll): Track netlink file descriptor and bump timestamp
8306 in case data becomes available.
8307 (main_loop_epoll): Likewise.
8308 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8309 (database_pers_head): Add extra_data fileds.
8310 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8311 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8312 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8313 Adjust caller.
8314 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8315 in6ai data, call __free_in6ai.
8316 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8317 Add -DHAVE_NETLINK.
8318 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8319 interface information. Reuse previous data if netlink timestamp
8320 is not changed.
8321 (__bump_nl_timestamp): New function.
8322 (__free_in6ai): New function.
8323
636064eb
UD
83242011-10-30 Ulrich Drepper <drepper@gmail.com>
8325
8326 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8327 close_not_cancel_no_status here.
8328 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8329
9beb2334
UD
83302011-10-29 Ulrich Drepper <drepper@gmail.com>
8331
6ef76f3b
UD
8332 [BZ #13276]
8333 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8334 return value.
8335
0ffc4f3e 8336 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8337 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8338 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8339
cb95113e
UD
83402011-07-03 Andreas Jaeger <aj@suse.de>
8341
8342 [BZ #10709]
8343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8344 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8345 * math/libm-test.inc (sin_test): Add test case.
8346
a1b560ff
UD
83472011-10-29 Ulrich Drepper <drepper@gmail.com>
8348
c9aaface
UD
8349 [BZ #13337]
8350 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8351 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8352
d272e7f1
UD
8353 * elf/chroot_canon.c (chroot_canon): Cleanups.
8354
1bc33071
UD
8355 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8356
1760874d
TJ
8357 [BZ #13335]
8358 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8359 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8360
51d91b18
UD
8361 * string/test-strchr.c: Make usable for strchrnul testing.
8362 * string/test-strchrnul.c: New file.
8363 * string/Makefile (strop-tests): Add strchrnul.
8364
a1b560ff 8365 * po/it.po: Update from translation team.
b611fb81 8366 * po/es.po: Likewise.
a1b560ff 8367
a5b81e1f
UD
83682011-10-28 Ulrich Drepper <drepper@gmail.com>
8369
fd52bc6d
UD
8370 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8371 the three constants needed as parameters. Drop the others.
8372 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8373 __m128i_strloadu_tolower.
52e4b9eb
UD
8374 Create and initialize variable zero and use it in all the places
8375 where _mm_setzero_si128 was used.
fd52bc6d 8376
a5b81e1f
UD
8377 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8378 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8379 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8380 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8381 anymore.
8382 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8383 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8384 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8385 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8386 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8387 __mpranred, __mptan.
8388 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8389 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8390 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8391 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8392 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8393 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8395 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8396 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8397
b4343346
AS
83982011-10-28 Andreas Schwab <schwab@redhat.com>
8399
0c92d8a8
AS
8400 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8401 redefine if SHARED.
8402 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8403
b4343346
AS
8404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8405 wide char related routines to wcsmbs subdir.
8406
3871f58f
AS
84072011-10-27 Andreas Schwab <schwab@redhat.com>
8408
8409 [BZ #13344]
8410 * misc/sys/cdefs.h (__THROWNL): Define.
8411 * posix/unistd.h: Use __THREADNL instead of __THREAD
8412 for memory synchronization functions.
8413
94d44d9f
RM
84142011-10-26 Roland McGrath <roland@hack.frob.com>
8415
21b64b15 8416 [BZ #13349]
94d44d9f
RM
8417 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8418 doesn't exist.
8419 * manual/stdio.texi (Obstack Streams): Node removed.
8420
f6ce9294
AS
84212011-10-26 Andreas Schwab <schwab@redhat.com>
8422
80479147
AS
8423 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8425 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8426
f6ce9294
AS
8427 * math/math_private.h (math_force_eval): Allow non-addressable
8428 arguments.
8429 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8430
618280a1
UD
84312011-10-25 Ulrich Drepper <drepper@gmail.com>
8432
e0016b11
UD
8433 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8434 file is not needed.
8435
8436 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8443 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8444 Add AVX variants.
8445 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8446 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8447 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8448 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8449 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8450 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8451 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8452 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8453 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8454 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8455 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8456 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8457 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8458 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8459 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8460 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8461 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8462 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8463 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8464
8465 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8466 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8467
618280a1
UD
8468 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8469 place. Use VEX encoding when compiling for AVX.
8470
37822576
AS
84712011-10-25 Andreas Schwab <schwab@redhat.com>
8472
1f1e1947
AS
8473 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8474 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8475
37822576
AS
8476 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8477
31ea014d
UD
84782011-10-25 Ulrich Drepper <drepper@gmail.com>
8479
d7826aa1 8480 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8481 useless if() expression.
d7826aa1
UD
8482 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8492 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8493 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8494 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8495 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8496 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8497 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8498 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8499 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8500 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8501
31ea014d
UD
8502 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8503
16437fec
AS
85042011-10-25 Andreas Schwab <schwab@redhat.com>
8505
8506 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8507 condition.
8508 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8509
31d3cc00
UD
85102011-10-25 Ulrich Drepper <drepper@gmail.com>
8511
8512 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8513 .text section. Avoid duplicate constants.
8514 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8524 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8526 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8529 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8531 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8537 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8538 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8539 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8540 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8541 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8542 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8543 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8544 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8545 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8546 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8547 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8548 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8549 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8550 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8551 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8552 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8553 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8554 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8556 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8557 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8558 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8559
58985aa9
UD
85602011-10-24 Ulrich Drepper <drepper@gmail.com>
8561
202c9deb
UD
8562 * sysdeps/x86_64/dla.h: Move to ...
8563 * sysdeps/x86_64/fpu/dla.h: ...here.
8564 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8565 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8566
af968f62
UD
8567 * config.make.in: Add have-mfma4 entry.
8568 * configure.in: Substitute libc_cv_cc_fma4.
8569 * math/Makefile (dbl-only-routines): Add sincostab.
8570 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8571 Use __sincostab not sincos.
8572 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8573 name is a macro.
8574 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8578 using __copysign.
8579 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8580 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8581 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8582 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8583 and __inv.
8584 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8585 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8586 __copysign.
8587 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8588 define aliases when function name is a macro.
8589 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8590 sysdeps/ieee754/dbl-64/sincos.tbl.
8591 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8592 fma4-enabled routines.
8593 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8594 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8595 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8596 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8597 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8598 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8599 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8600 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8601 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8602 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8603 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8604 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8605 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8606 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8607 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8608 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8609 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8610 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8611 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8612 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8613 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8614 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8615 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8616 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8617 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8618 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8619 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8620 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8621 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8622 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8623
58985aa9
UD
8624 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8625 rename.
8626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8634
a201fbcf
AS
86352011-10-24 Andreas Schwab <schwab@redhat.com>
8636
8637 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8638
fc2ee42a
LD
86392011-10-23 Ulrich Drepper <drepper@gmail.com>
8640
bb3129bd
UD
8641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8642
0275fff8
UD
8643 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8644 prediction.
8645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8646
2fa2ae85
UD
8647 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8648 Remove unused variable magic_bits.
8649 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8650
fc2ee42a
LD
8651 * string/strnlen.c: Define and use STRNLEN macro.
8652 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8653 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8655 * wcsmbs/wcslen.c: Define and use WCSLEN.
8656 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8657 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8658 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8659 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8660 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8661 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8662 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8663
ce7dd29f
LD
86642011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8665
8666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8667 strnlen-sse2-no-bsf.
8668 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8670 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8671 Add strnlen support.
8672 (USE_AS_STRNLEN): New macro.
8673 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8675 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8676 * sysdeps/x86_64/wcslen.S: New file.
8677
979c70a3
MZ
86782011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8679
8680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8681 XMM-moves are used for copying on small sizes.
8682
2d09f82f
LD
86832011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8684
8685 * wcsmbs/Makefile (strop-tests): Add wcschr.
8686 * wcsmbs/test-wcschr.c: New file.
8687 * string/test-strchr.c: Update.
8688 Add wcschr support.
8689 (WIDE): New macro.
8690
619fccca
LD
86912011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8692
2d09f82f 8693 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8694 * wcsmbs/test-wcslen.c: New file.
8695 * string/test-strlen.c: Update.
8696 Add wcslen support.
8697 (WIDE): New macro.
8698
09f699ea
UD
86992011-10-23 Ulrich Drepper <drepper@gmail.com>
8700
8701 * po/it.po: Update from translation team.
8702
95584d3b
LD
87032011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8704
8705 * sysdeps/x86_64/wcscmp.S: Update.
8706 Fix wrong comparison semantics.
8707 wcscmp shall use signed comparison not unsigned.
8708 Don't use substraction to avoid overflow bug.
8709 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8710 * wcsmbc/wcscmp.c: Likewise.
8711 * string/test-strcmp.c: Likewise.
8712 Add new tests to check cases with negative values.
8713
c8b3296b
UD
87142011-10-23 Ulrich Drepper <drepper@gmail.com>
8715
8716 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8717 * sysdeps/x86_64/dla.h: ...here. New file.
8718 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8727
246ad57a
AS
87282011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8729
8730 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8731 __ynl_finite aliases.
8732
a1a87169
UD
87332011-10-22 Ulrich Drepper <drepper@gmail.com>
8734
0d355eb7
UD
8735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8736
a1a87169
UD
8737 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8738 define DLA_FMA.
8739 [DLA_FMA] (EMULV): Use DLA_FMA.
8740 [DLA_FMA] (MUL12): Use EMULV.
8741 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8742 that are not needed.
8743 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8750
ee2aafe0
AS
87512011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8752
8753 * math/s_nan.c: Undef __nan.
8754 * math/s_nanf.c: Undef __nanf.
8755 * math/s_nanl.c: Undef __nanl.
8756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8757 "math_private.h".
8758
bc62c2fb
UD
87592011-10-22 Ulrich Drepper <drepper@gmail.com>
8760
77425c63
UD
8761 * math/s_catan.c: Add branch predictions.
8762 * math/s_catanf.c: Likewise.
8763 * math/s_catanh.c: Likewise.
8764 * math/s_catanhf.c: Likewise.
8765 * math/s_catanhl.c: Likewise.
8766 * math/s_catanl.c: Likewise.
8767 * math/s_cexp.c: Likewise.
8768 * math/s_cexpf.c: Likewise.
8769 * math/s_cexpl.c: Likewise.
8770 * math/s_clog.c: Likewise.
8771 * math/s_clog10.c: Likewise.
8772 * math/s_clog10f.c: Likewise.
8773 * math/s_clog10l.c: Likewise.
8774 * math/s_clogf.c: Likewise.
8775 * math/s_clogl.c: Likewise.
8776 * math/s_csqrt.c: Likewise.
8777 * math/s_csqrtf.c: Likewise.
8778 * math/s_csqrtl.c: Likewise.
8779 * math/s_ctanf.c: Likewise.
8780 * math/s_ctanh.c: Likewise.
8781 * math/s_ctanhf.c: Likewise.
8782 * math/s_ctanhl.c: Likewise.
8783 * math/s_ctanl.c: Likewise.
8784
bc62c2fb
UD
8785 * math/math_private.h: Define __nan, __nanf, __nanl.
8786 * math/s_cacosh.c: Include <math_private.h>.
8787 * math/s_cacoshl.c: Likewise.
8788 * math/s_casinh.c: Likewise.
8789 * math/s_casinhf.c: Likewise.
8790 * math/s_casinhl.c: Likewise.
8791 * math/s_ccos.c: Rely entire on ccosh.
8792 * math/s_ccosf.c: Rely entire on ccoshf.
8793 * math/s_ccosl.c: Rely entirely on ccoshl.
8794 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8795 Remove tests for FE_INVALID.
8796 * math/s_ccoshf.c: Likewise.
8797 * math/s_ccoshl.c: Likewise.
8798 * math/s_csin.c: Likewise.
8799 * math/s_csinf.c: Likewise.
8800 * math/s_csinh.c Likewise.
8801 * math/s_csinhf.c: Likewise.
8802 * math/s_csinhl.c: Likewise.
8803 * math/s_csinl.c: Likewise.
8804 * math/s_ctan.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8806 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8807 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8808
8ec250a4
UD
88092011-10-21 Ulrich Drepper <drepper@gmail.com>
8810
c196fed8
UD
8811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8812 compilation problems.
8813
8ec250a4
UD
8814 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8815 __builtin_expect.
8816
8d4f46c6
UD
88172011-10-20 Ulrich Drepper <drepper@gmail.com>
8818
ed72b654
UD
8819 * sysdeps/i386/configure.in: Test for -mfma4 option.
8820 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8821 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8822 COMMON_CPUID_INDEX_80000001.
8823 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8824 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8825 use it if FMA3 is not supported.
8826 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8827
8d4f46c6
UD
8828 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8829 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8830
d45c60c2
AS
88312011-10-20 Andreas Schwab <schwab@redhat.com>
8832
8833 [BZ #12892]
8834 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8835 it would create a cycle with a link time dependency.
8836
d9a4d2ab
UD
88372011-10-19 Ulrich Drepper <drepper@gmail.com>
8838
855d1560
UD
8839 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8840 instruction.
8841 * string/Makefile (strop-tests): Add rawmemchr.
8842 * string/test-rawmemchr.c: New file.
8843
d9a4d2ab
UD
8844 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8845 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8846 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8847 when compiling str{,n}casecmp and when AVX is available. Hook up
8848 new optimized code in initializers.
8849
8f3b1ffe
AS
88502011-10-19 Andreas Schwab <schwab@redhat.com>
8851
8852 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8853 __feraiseexcept instead of feraiseexcept.
8854
d38f1dba
UD
88552011-10-18 Ulrich Drepper <drepper@gmail.com>
8856
d9a8d0ab
UD
8857 * math/math_private.h: Define defaults for libc_fetestexcept and
8858 libc_feupdateenv.
8859 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8860 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8862 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8863 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8864 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8865 libc_fetestexcept and libc_feupdateenv.
8866
4855e3dd
UD
8867 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8868 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8869 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8870 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8871 libc_feholdexcept_setround.
8872
581d30e3
UD
8873 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8874 Add s_nearbyint-c and s_nearbyintf-c.
8875 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8876 nearbyintf inlines.
8877 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8878 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8879 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8880 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8881
d38f1dba
UD
8882 * math/math_private.h: Define defaults for libc_fegetround,
8883 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8884 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8885 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8886 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8887 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8888 standard functions.
8889 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8890 Remove comments and hacks for old compiler versions.
8891 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8892 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8893 libc_feholdexceptl.
8894
caa6c9d8
AS
88952011-10-18 Andreas Schwab <schwab@redhat.com>
8896
8897 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8898 (__feraiseexcept_renamed): Add __NTH.
8899 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8900 namespace violations.
8901
97c066e6
UD
89022011-10-17 Ulrich Drepper <drepper@gmail.com>
8903
99ce7b04
UD
8904 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8905
1004d182
UD
8906 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8907
228a984d
UD
8908 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8909 recently added interfaces.
8910 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8911
c8553a6a
UD
8912 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8913 about macro parameter expansion.
8914
ed22dcf6
UD
8915 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8916 __NO_MATH_INLINES is defined. Cleanups.
8917
8918 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8919 and __floorf is target has SSE4.1.
8920 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8921 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8922 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8923 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8924
b171c137
UD
8925 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8926 name.
8927 (floorf): Likewise.
8928
97c066e6
UD
8929 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8930
629f62ef
AS
89312011-10-17 Andreas Schwab <schwab@redhat.com>
8932
49a43d80
AS
8933 * misc/sys/cdefs.h: Fix last change.
8934
629f62ef
AS
8935 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8936 database lookup.
8937
e453f6cd
UD
89382011-10-16 Ulrich Drepper <drepper@gmail.com>
8939
aa78043a
UD
8940 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8941
ad0f5cad
UD
8942 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8948 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8950 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8951 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8952 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8953 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8954 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8955 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8956 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8957 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8958 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8959 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8960 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8961 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8962 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8963 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8964
8965 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8966 ceil, ceilf, floor, floorf.
8967
8968 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8969 Perform IRELATIVE relocations last.
8970
e453f6cd
UD
8971 * elf/do-rel.h: Add another parameter nrelative, replacing the
8972 local variable with the same name. Change name of the function
8973 to end in Rel or Rela (uppercase).
8974 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8975 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8976 elf_dynamic_do_##reloc function.
8977
fd5bdc09
UD
89782011-10-15 Ulrich Drepper <drepper@gmail.com>
8979
79b195b5
UD
8980 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8981 is sufficient, at least on modern CPUs.
8982
d4a28569
UD
8983 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8984
b61099b5
UD
8985 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8986 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8987
bcf01e6d
UD
8988 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8989 __expl_finite.
8990 * math/bits/math-finite.h: Add entries for exp.
8991 * math/e_expl.c: Add __*_finite alias.
8992 * sysdeps/i386/fpu/e_exp.S: Likewise.
8993 * sysdeps/i386/fpu/e_expf.S: Likewise.
8994 * sysdeps/i386/fpu/e_expl.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8996 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9000 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9001 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9002
ba1a0d59
UD
9003 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9004 is sufficient, at least on modern CPUs.
9005
fd5bdc09
UD
9006 * ctype/ctype-info.c (__ctype_init): Define.
9007 * include/ctype.h (__ctype_init): Declare.
9008 (__ctype_b_loc): The variable is always initialized.
9009 (__ctype_toupper_loc): Likewise.
9010 (__ctype_tolower_loc): Likewise.
9011 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9012 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9013
7872cfb0
AS
90142011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9015
b468825a
AS
9016 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9017
7872cfb0
AS
9018 * configure.in: Also look in $cxxmachine/include for C++ system
9019 headers.
9020
be13f7bf
LD
90212011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9022
9023 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9024 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9025 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9026 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9028 (USE_AS_WMEMCMP): New macro.
9029 Fixing indents.
9030 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9031 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9032 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9033 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9035 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9036 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9037 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9038 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9039 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9040 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9041 (USE_AS_WMEMCMP): New macro.
9042 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9043 * sysdeps/string/test-memcmp.c: Update.
9044 Fix simple_wmemcmp.
9045 Add new tests.
9046 * wcsmbs/wmemcmp.c: Update.
9047 (WMEMCMP): New macro.
9048 Fix overflow bug.
9049
556a2007
AJ
90502011-10-12 Andreas Jaeger <aj@suse.de>
9051
9052 [BZ #13268]
9053 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9054
538faaa7
UD
90552011-10-15 Ulrich Drepper <drepper@gmail.com>
9056
ab6737ff
UD
9057 * libio/iofwide.c (do_length): Avoid warning.
9058
538faaa7
UD
9059 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9060
396a21b1
UD
90612011-10-14 Ulrich Drepper <drepper@gmail.com>
9062
cdf2901f
UD
9063 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9064
38ad40ce
UD
9065 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9066 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9067 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9068 * sysdeps/i386/i686/fpu/e_log.S: New file.
9069 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9070 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9071
396a21b1
UD
9072 * ctype/ctype.h: Add support for inlined isXXX functions when
9073 compiling C++ code.
9074
6b1f68c9
AS
90752011-10-14 Andreas Schwab <schwab@redhat.com>
9076
349290c0
AS
9077 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9078
6b1f68c9
AS
9079 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9080
f2282d42
RM
90812011-10-13 Roland McGrath <roland@hack.frob.com>
9082
9083 [BZ #13291]
9084 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9085
5298ffa8
AS
90862011-10-13 Andreas Schwab <schwab@redhat.com>
9087
714fad23
AS
9088 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9089 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9090 feraiseexcept.
9091
81dcc7fb
AS
9092 * sysdeps/x86_64/memrchr.S: Check for zero size.
9093
5298ffa8
AS
9094 * string/stratcliff.c: Add memrchr tests.
9095
951fbcec
LD
90962011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9097
9098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9099 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9100 rawmemchr-sse2 rawmemchr-sse2-bsf.
9101 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9102 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9103 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9104 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9105 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9106 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9107 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9108 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9109 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9110 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9111 * string/memrchr.c (MEMRCHR): New macro.
9112
0ac5ae23
UD
91132011-10-12 Ulrich Drepper <drepper@gmail.com>
9114
9115 Add integration with gcc's -ffinite-math-only and optimize wrapper
9116 functions in libm.
9117 * Versions.def: Define GLIBC_2.15 version for libm.
9118 * math/Makefile (headers): Add bits/math-finite.h.
9119 * math/bits/math-finite.h: New file.
9120 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9121 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9122 * math/e_acoshl.c: Add __*_finite alias.
9123 * math/e_acosl.c: Likewise.
9124 * math/e_asinl.c: Likewise.
9125 * math/e_atan2l.c: Likewise.
9126 * math/e_atanhl.c: Likewise.
9127 * math/e_coshl.c: Likewise.
9128 * math/e_exp10.c: Likewise.
9129 * math/e_exp10f.c: Likewise.
9130 * math/e_exp10l.c: Likewise.
9131 * math/e_exp2l.c: Likewise.
9132 * math/e_fmodl.c: Likewise.
9133 * math/e_gammal_r.c: Likewise.
9134 * math/e_hypotl.c: Likewise.
9135 * math/e_j0l.c: Likewise.
9136 * math/e_j1l.c: Likewise.
9137 * math/e_jnl.c: Likewise.
9138 * math/e_lgammal_r.c: Likewise.
9139 * math/e_log10l.c: Likewise.
9140 * math/e_log2l.c: Likewise.
9141 * math/e_logl.c: Likewise.
9142 * math/e_powl.c: Likewise.
9143 * math/e_sinhl.c: Likewise.
9144 * math/e_sqrtl.c: Likewise.
9145 * math/e_scalb.c: Completely rewritten and optimized.
9146 * math/e_scalbf.c: Likewise.
9147 * math/e_scalbl.c: Likewise.
9148 * math/w_acos.c: Likewise.
9149 * math/w_acosf.c: Likewise.
9150 * math/w_acosl.c: Likewise.
9151 * math/w_acosh.c: Likewise.
9152 * math/w_acoshf.c: Likewise.
9153 * math/w_acoshl.c: Likewise.
9154 * math/w_asin.c: Likewise.
9155 * math/w_asinf.c: Likewise.
9156 * math/w_asinl.c: Likewise.
9157 * math/w_atan2.c: Likewise.
9158 * math/w_atan2f.c: Likewise.
9159 * math/w_atan2l.c: Likewise.
9160 * math/w_atanh.c: Likewise.
9161 * math/w_atanhf.c: Likewise.
9162 * math/w_atanhl.c: Likewise.
9163 * math/w_exp10.c: Likewise.
9164 * math/w_exp10f.c: Likewise.
9165 * math/w_exp10l.c: Likewise.
9166 * math/w_fmod.c: Likewise.
9167 * math/w_fmodf.c: Likewise.
9168 * math/w_fmodl.c: Likewise.
9169 * math/w_j0.c: Likewise.
9170 * math/w_j0f.c: Likewise.
9171 * math/w_j0l.c: Likewise.
9172 * math/w_j1.c: Likewise.
9173 * math/w_j1f.c: Likewise.
9174 * math/w_j1l.c: Likewise.
9175 * math/w_jn.c: Likewise.
9176 * math/w_jnf.c: Likewise.
9177 * math/w_log.c: Likewise.
9178 * math/w_logf.c: Likewise.
9179 * math/w_logl.c: Likewise.
9180 * math/w_log10.c: Likewise.
9181 * math/w_log10f.c: Likewise.
9182 * math/w_log10l.c: Likewise.
9183 * math/w_log2.c: Likewise.
9184 * math/w_log2f.c: Likewise.
9185 * math/w_log2l.c: Likewise.
9186 * math/w_pow.c: Likewise.
9187 * math/w_powf.c: Likewise.
9188 * math/w_powl.c: Likewise.
9189 * math/w_remainder.c: Likewise.
9190 * math/w_remainderf.c: Likewise.
9191 * math/w_remainderl.c: Likewise.
9192 * math/w_scalb.c: Likewise.
9193 * math/w_scalbf.c: Likewise.
9194 * math/w_scalbl.c: Likewise.
9195 * math/w_sqrt.c: Likewise.
9196 * math/w_sqrtf.c: Likewise.
9197 * math/w_sqrtl.c: Likewise.
9198 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9199 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9200 used.
9201 * math/math_private.h: Declare __kernel_standard_f.
9202 * math/w_cosh.c: Remove cruft and optimize a bit.
9203 * math/w_coshf.c: Likewise.
9204 * math/w_coshl.c: Likewise.
9205 * math/w_exp2.c: Likewise.
9206 * math/w_exp2f.c: Likewise.
9207 * math/w_exp2l.c: Likewise.
9208 * math/w_hypot.c: Likewise.
9209 * math/w_hypotf.c: Likewise.
9210 * math/w_hypotl.c: Likewise.
9211 * math/w_lgamma.c: Likewise.
9212 * math/w_lgamma_r.c: Likewise.
9213 * math/w_lgammaf.c: Likewise.
9214 * math/w_lgammaf_r.c: Likewise.
9215 * math/w_lgammal.c: Likewise.
9216 * math/w_lgammal_r.c: Likewise.
9217 * math/w_sinh.c: Likewise.
9218 * math/w_sinhf.c: Likewise.
9219 * math/w_sinhl.c: Likewise.
9220 * math/w_tgamma.c: Likewise.
9221 * math/w_tgammaf.c: Likewise.
9222 * math/w_tgammal.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9225 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9226 Minor optimizations. Pretty printing. Remove cruft.
9227 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9228 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9229 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9230 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9231 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9232 * sysdeps/i386/fpu/e_asin.S: Likewise.
9233 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9234 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9235 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9236 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9237 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9238 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9239 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9240 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9241 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9242 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9243 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9244 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9245 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9246 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9247 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9248 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9249 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9250 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9251 * sysdeps/i386/fpu/e_log.S: Likewise.
9252 * sysdeps/i386/fpu/e_log10.S: Likewise.
9253 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9254 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9255 * sysdeps/i386/fpu/e_log2.S: Likewise.
9256 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9257 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9258 * sysdeps/i386/fpu/e_logf.S: Likewise.
9259 * sysdeps/i386/fpu/e_logl.S: Likewise.
9260 * sysdeps/i386/fpu/e_pow.S: Likewise.
9261 * sysdeps/i386/fpu/e_powf.S: Likewise.
9262 * sysdeps/i386/fpu/e_powl.S: Likewise.
9263 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9264 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9265 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9266 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9267 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9268 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9269 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9270 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9271 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9293 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9294 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9295 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9296 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9297 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9298 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9299 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9300 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9301 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9302 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9303 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9304 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9305 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9306 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9307 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9308 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9309 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9310 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9311 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9312 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9313 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9352 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9355 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9357 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9358 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9360 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9363 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9364 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9365 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9366 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9367 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9368 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9369 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9370 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9371 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9372 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9373 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9374 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9375 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9376 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9377 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9378 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9379 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9380 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9381 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9382 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9383 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9384 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9385 (__isnanf): Likewise.
9386 (__isinf_ns): Likewise.
9387 (__isinf_nsf): Likewise.
9388 (__finite): Likewise.
9389 (__finitef): Likewise.
9390 (__ieee754_sqrt): Define as macro.
9391 (__ieee754_sqrtf): Define as macro.
9392 (__ieee754_sqrtl): Define as macro.
9393 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9394 inlined copy.
9395 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9396 __FINITE_MATH_ONLY__ consistent.
9397 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9398
12cc2fcd
AS
93992011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9400
a843a204
AS
9401 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9402 of rawmemchr.
9403
12cc2fcd
AS
9404 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9405
c853acd5
UD
94062011-10-09 Ulrich Drepper <drepper@gmail.com>
9407
9408 * po/ja.po: Update from translation team.
9409
c658d255
RM
94102011-10-08 Roland McGrath <roland@hack.frob.com>
9411
110946e4
RM
9412 * locale/programs/locarchive.c (prepare_address_space): New function.
9413 (create_archive, enlarge_archive, open_archive): Use it.
9414
50604220
RM
9415 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9416 inside [SHARED], where it is used.
9417
c658d255
RM
9418 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9419
9420 * nss/getent.c (netgroup_keys): Remove unused variable.
9421 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9422
6a621eb7
UD
94232011-10-08 Ulrich Drepper <drepper@gmail.com>
9424
7edb55ce
UD
9425 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9426 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9428 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9429 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9430 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9431 * math/Makefile (libm-calls): Add s_isinf_ns.
9432 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9433 * math/multc3.c: Likewise.
9434 * math/s_casin.c: Likewise.
9435 * math/s_casinf.c: Likewise.
9436 * math/s_casinl.c: Likewise.
9437 * math/s_ccos.c: Likewise.
9438 * math/s_ccosf.c: Likewise.
9439 * math/s_ccosl.c: Likewise.
9440 * math/s_ctan.c: Likewise.
9441 * math/s_ctanf.c: Likewise.
9442 * math/s_ctanh.c: Likewise.
9443 * math/s_ctanhf.c: Likewise.
9444 * math/s_ctanhl.c: Likewise.
9445 * math/s_ctanl.c: Likewise.
9446 * math/w_fmod.c: Likewise.
9447 * math/w_fmodf.c: Likewise.
9448 * math/w_fmodl.c: Likewise.
9449 * math/w_remainder.c: Likewise.
9450 * math/w_remainderf.c: Likewise.
9451 * math/w_remainderl.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9453 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9454 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9456 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9457 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9458 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9459 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9460
187da0ae
UD
9461 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9462 of the number.
9463 * stdio-common/printf_fphex.c: Likewise.
9464 * stdio-common/printf_size.c: Likewise.
9465
9277c064
UD
9466 * math/e_exp10.c: Include math_private.h using <...> not "...".
9467 * math/e_exp10f.c: Likewise.
9468 * math/e_exp10l.c: Likewise.
9469 * math/e_exp2l.c: Likewise.
9470 * math/e_j0l.c: Likewise.
9471 * math/e_j1l.c: Likewise.
9472 * math/e_jnl.c: Likewise.
9473 * math/e_lgammal_r.c: Likewise.
9474 * math/e_rem_pio2l.c: Likewise.
9475 * math/e_scalb.c: Likewise.
9476 * math/e_scalbf.c: Likewise.
9477 * math/e_scalbl.c: Likewise.
9478 * math/k_cosl.c: Likewise.
9479 * math/k_sinl.c: Likewise.
9480 * math/k_tanl.c: Likewise.
9481 * math/s_cacoshf.c: Likewise.
9482 * math/s_catan.c: Likewise.
9483 * math/s_catanf.c: Likewise.
9484 * math/s_catanh.c: Likewise.
9485 * math/s_catanhf.c: Likewise.
9486 * math/s_catanhl.c: Likewise.
9487 * math/s_catanl.c: Likewise.
9488 * math/s_ccosh.c: Likewise.
9489 * math/s_ccoshf.c: Likewise.
9490 * math/s_ccoshl.c: Likewise.
9491 * math/s_cexp.c: Likewise.
9492 * math/s_cexpf.c: Likewise.
9493 * math/s_cexpl.c: Likewise.
9494 * math/s_clog.c: Likewise.
9495 * math/s_clog10.c: Likewise.
9496 * math/s_clog10f.c: Likewise.
9497 * math/s_clog10l.c: Likewise.
9498 * math/s_clogf.c: Likewise.
9499 * math/s_clogl.c: Likewise.
9500 * math/s_csin.c: Likewise.
9501 * math/s_csinf.c: Likewise.
9502 * math/s_csinh.c: Likewise.
9503 * math/s_csinhf.c: Likewise.
9504 * math/s_csinhl.c: Likewise.
9505 * math/s_csinl.c: Likewise.
9506 * math/s_csqrt.c: Likewise.
9507 * math/s_csqrtf.c: Likewise.
9508 * math/s_csqrtl.c: Likewise.
9509 * math/s_ctan.c: Likewise.
9510 * math/s_ctanf.c: Likewise.
9511 * math/s_ctanh.c: Likewise.
9512 * math/s_ctanhf.c: Likewise.
9513 * math/s_ctanhl.c: Likewise.
9514 * math/s_ctanl.c: Likewise.
9515 * math/s_ldexp.c: Likewise.
9516 * math/s_ldexpf.c: Likewise.
9517 * math/s_ldexpl.c: Likewise.
9518 * math/s_significand.c: Likewise.
9519 * math/s_significandf.c: Likewise.
9520 * math/s_significandl.c: Likewise.
9521 * math/w_acos.c: Likewise.
9522 * math/w_acosf.c: Likewise.
9523 * math/w_acosh.c: Likewise.
9524 * math/w_acoshf.c: Likewise.
9525 * math/w_acoshl.c: Likewise.
9526 * math/w_acosl.c: Likewise.
9527 * math/w_asin.c: Likewise.
9528 * math/w_asinf.c: Likewise.
9529 * math/w_asinl.c: Likewise.
9530 * math/w_atan2.c: Likewise.
9531 * math/w_atan2f.c: Likewise.
9532 * math/w_atan2l.c: Likewise.
9533 * math/w_atanh.c: Likewise.
9534 * math/w_atanhf.c: Likewise.
9535 * math/w_atanhl.c: Likewise.
9536 * math/w_cosh.c: Likewise.
9537 * math/w_coshf.c: Likewise.
9538 * math/w_coshl.c: Likewise.
9539 * math/w_dremf.c: Likewise.
9540 * math/w_exp10.c: Likewise.
9541 * math/w_exp10f.c: Likewise.
9542 * math/w_exp10l.c: Likewise.
9543 * math/w_exp2.c: Likewise.
9544 * math/w_exp2f.c: Likewise.
9545 * math/w_fmod.c: Likewise.
9546 * math/w_fmodf.c: Likewise.
9547 * math/w_fmodl.c: Likewise.
9548 * math/w_hypot.c: Likewise.
9549 * math/w_hypotf.c: Likewise.
9550 * math/w_hypotl.c: Likewise.
9551 * math/w_j0.c: Likewise.
9552 * math/w_j0f.c: Likewise.
9553 * math/w_j0l.c: Likewise.
9554 * math/w_j1.c: Likewise.
9555 * math/w_j1f.c: Likewise.
9556 * math/w_j1l.c: Likewise.
9557 * math/w_jn.c: Likewise.
9558 * math/w_jnf.c: Likewise.
9559 * math/w_jnl.c: Likewise.
9560 * math/w_lgamma.c: Likewise.
9561 * math/w_lgamma_r.c: Likewise.
9562 * math/w_lgammaf.c: Likewise.
9563 * math/w_lgammaf_r.c: Likewise.
9564 * math/w_lgammal.c: Likewise.
9565 * math/w_lgammal_r.c: Likewise.
9566 * math/w_log.c: Likewise.
9567 * math/w_log10.c: Likewise.
9568 * math/w_log10f.c: Likewise.
9569 * math/w_log10l.c: Likewise.
9570 * math/w_log2.c: Likewise.
9571 * math/w_log2f.c: Likewise.
9572 * math/w_log2l.c: Likewise.
9573 * math/w_logf.c: Likewise.
9574 * math/w_logl.c: Likewise.
9575 * math/w_pow.c: Likewise.
9576 * math/w_powf.c: Likewise.
9577 * math/w_powl.c: Likewise.
9578 * math/w_remainder.c: Likewise.
9579 * math/w_remainderf.c: Likewise.
9580 * math/w_remainderl.c: Likewise.
9581 * math/w_scalb.c: Likewise.
9582 * math/w_scalbf.c: Likewise.
9583 * math/w_scalbl.c: Likewise.
9584 * math/w_sinh.c: Likewise.
9585 * math/w_sinhf.c: Likewise.
9586 * math/w_sinhl.c: Likewise.
9587 * math/w_sqrt.c: Likewise.
9588 * math/w_sqrtf.c: Likewise.
9589 * math/w_sqrtl.c: Likewise.
9590 * math/w_tgamma.c: Likewise.
9591 * math/w_tgammaf.c: Likewise.
9592 * math/w_tgammal.c: Likewise.
9593
6a621eb7
UD
9594 * po/ja.po: Update from translation team.
9595
bf582445
AJ
95962011-09-29 Andreas Jaeger <aj@suse.de>
9597
f9efbf3a
AJ
9598 [BZ #13179]
9599 * sunrpc/netname.c (netname2host): Fix logic.
9600
bf582445
AJ
9601 [BZ #6779]
9602 [BZ #6783]
9603 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9604 correctly.
9605 * math/w_remainder.c (__remainder): Likewise.
9606 * math/w_remainderf.c (__remainderf): Likewise.
9607 * math/libm-test.inc (remainder_test): Add test cases.
9608
48693bea
AK
96092011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9610
9611 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9612 sdiv_qrnnd.
9613
42622229
LD
96142011-10-07 Ulrich Drepper <drepper@gmail.com>
9615
9616 * string/test-memcmp.c: Avoid unncessary #defines.
9617 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9618
093ecf92
LD
96192011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9620
9621 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9622 Use new sse2 version for core i3 - i7 as it's faster
9623 than sse42 version.
9624 (bit_Prefer_PMINUB_for_stringop): New.
9625 * sysdeps/x86_64/rawmemchr.S: Update.
9626 Replace with faster SSE2 version.
9627 * sysdeps/x86_64/memrchr.S: New file.
9628 * sysdeps/x86_64/memchr.S: Update.
9629 Replace with faster SSE2 version.
9630
fde56e5c
MP
96312011-09-12 Marek Polacek <mpolacek@redhat.com>
9632
9633 * elf/dl-load.c (lose): Add cast to avoid warning.
9634
21fd49a9
UD
96352011-10-07 Ulrich Drepper <drepper@gmail.com>
9636
5a06e643
UD
9637 * po/ca.po: Update from translation team.
9638
684ae515
UD
9639 * inet/getnetgrent_r.c: Hook up nscd.
9640 * nscd/Makefile (routines): Add nscd_netgroup.
9641 (nscd-modules): Add netgroupcache.
9642 (CFLAGS-netgroupcache.c): Define.
9643 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9644 (cache_search): Add const to second parameter.
9645 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9646 INNETGR.
9647 (dbs): Add netgrdb entry.
9648 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9649 (verify_persistent_db): Handle netgrdb.
9650 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9651 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9652 GETFDNETGR.
9653 (netgroup_response_header): Define.
9654 (innetgroup_response_header): Define.
9655 (datahead): Add netgroup_response_header and innetgroup_response_header
9656 elements.
9657 * nscd/nscd.conf: Add entries for netgroup cache.
9658 * nscd/nscd.h (dbtype): Add netgrdb.
9659 (_PATH_NSCD_NETGROUP_DB): Define.
9660 (netgroup_iov_disabled): Declare.
9661 (xmalloc, xcalloc, xrealloc): Move declarations here.
9662 (cache_search): Adjust prototype.
9663 Add netgroup-related prototypes.
9664 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9665 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9666 (__nscd_innetgr): Declare.
9667 * nscd/selinux.c (perms): Use access_vector_t as element type and
9668 add netgroup-related initializers.
9669 * nscd/netgroupcache.c: New file.
9670 * nscd/nscd_netgroup.c: New file.
9671 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9672 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9673 For four parameters use innetgr.
9674 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9675 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9676 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9677 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9678
21fd49a9
UD
9679 * nscd/connections.c (register_traced_file): Don't register file
9680 for disabled databases.
9681
054c0457
UD
96822011-10-06 Ulrich Drepper <drepper@gmail.com>
9683
32b63198
UD
9684 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9685
054c0457
UD
9686 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9687 from tree and freeing node.
9688
64031225
JO
96892011-09-25 Jiri Olsa <jolsa@redhat.com>
9690
9691 * nss/nsswitch.c (__nss_database_lookup): Handle
9692 nss_parse_service_list out of memory case.
9693
0490345c
JO
96942011-09-15 Jiri Olsa <jolsa@redhat.com>
9695
9696 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9697 out of memory case.
9698
3a62d00d
AS
96992011-10-04 Andreas Schwab <schwab@redhat.com>
9700
9701 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9702 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9703 pass it down.
9704 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9705 elf_machine_rela, elf_machine_lazy_rel.
9706 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9707 (ELF_DYNAMIC_DO_REL): Likewise.
9708 (ELF_DYNAMIC_DO_RELA): Likewise.
9709 (ELF_DYNAMIC_RELOCATE): Likewise.
9710 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9711 to ELF_DYNAMIC_DO_REL.
9712 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9713 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9714 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9715 elf_machine_rela.
9716 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9717 skip_ifunc, don't call ifunc function if non-zero.
9718 (elf_machine_rela): Likewise.
9719 (elf_machine_lazy_rel): Likewise.
9720 (elf_machine_lazy_rela): Likewise.
9721 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9722 (elf_machine_lazy_rel): Likewise.
9723 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9724 Likewise.
9725 (elf_machine_lazy_rel): Likewise.
9726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9727 Likewise.
9728 (elf_machine_lazy_rel): Likewise.
9729 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9730 (elf_machine_lazy_rel): Likewise.
9731 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9732 (elf_machine_lazy_rel): Likewise.
9733 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9734 (elf_machine_lazy_rel): Likewise.
9735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9736 (elf_machine_lazy_rel): Likewise.
9737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9738 (elf_machine_lazy_rel): Likewise.
9739 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9740 (elf_machine_lazy_rel): Likewise.
9741
68577918
UD
97422011-09-28 Ulrich Drepper <drepper@gmail.com>
9743
9744 * nss/nss_files/files-init.c (_nss_files_init): Use static
9745 initialization for all the *_traced_file variables.
9746
68822d74
AS
97472011-09-28 Andreas Schwab <schwab@redhat.com>
9748
9749 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9750
2056100b
RM
97512011-09-27 Roland McGrath <roland@hack.frob.com>
9752
9753 [BZ #13226]
9754 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9755
32c76b63
AS
97562011-09-27 Andreas Schwab <schwab@redhat.com>
9757
9758 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9759 Reread the line before reparsing it.
9760
bf972c9d
AS
97612011-09-26 Andreas Schwab <schwab@redhat.com>
9762
9763 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9764
e057a1b5
JM
97652011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9766 Maxim Kuvyrkov <maxim@codesourcery.com>
9767 Joseph Myers <joseph@codesourcery.com>
9768
9769 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9770 if needed for __stack_chk_guard.
9771
bc7e1c36
RM
97722011-09-19 Roland McGrath <roland@hack.frob.com>
9773
ecb1482f
RM
9774 * sysdeps/posix/spawni.c (script_execute): Always define it.
9775 It will be optimized away if unused.
9776 (maybe_script_execute): New function.
9777 (__spawni): Call it.
9778
bc7e1c36
RM
9779 * Makerules: Don't include tls.make.
9780 (config-tls): Always set to thread.
9781 * tls.make.c: File removed.
9782
1c3b002b
MF
97832011-09-19 Mike Frysinger <vapier@gentoo.org>
9784
9785 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9786 * config.make.in (CPPFLAGS-config): New substituted variable.
9787
2840865d
UD
97882011-09-15 Ulrich Drepper <drepper@gmail.com>
9789
88738eb6
UD
9790 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9791
cbf645a6 9792 [BZ #13192]
2840865d
UD
9793 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9794 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9795
b402e91a
RM
97962011-09-15 Roland McGrath <roland@hack.frob.com>
9797
9798 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9799 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9801 (CALL_FAIL): Likewise.
9802 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9803 (CALL_FAIL): Macro removed.
9804 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9805
4c1a1f71
UD
98062011-09-15 Ulrich Drepper <drepper@gmail.com>
9807
9808 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9809 for __FINITE_MATH_ONLY__ == 1.
9810
edc121be
AS
98112011-09-15 Andreas Schwab <schwab@redhat.com>
9812
9813 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9814 __ieee754_sqrt instead of sqrt.
9815 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9816 __ieee754_sqrtf instead of sqrtf.
9817 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9818 __floorf instead of floorf.
9819 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9820 __floorf, __truncf instead of floorf, truncf.
9821
cd205654
UD
98222011-09-14 Ulrich Drepper <drepper@gmail.com>
9823
ee4d0315
UD
9824 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9825
cd205654
UD
9826 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9827 __extern_always_inline.
9828 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9829 32-bit.
9830
48b67d71
AS
98312011-09-14 Andreas Schwab <schwab@redhat.com>
9832
9833 * elf/rtld.c (dl_main): Also relocate in dependency order when
9834 doing symbol dependency testing.
9835
1ae12c75
AS
98362011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9837
9838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9839 Always define `refsym'.
9840
995a80df
AS
98412011-09-13 Andreas Schwab <schwab@redhat.com>
9842
e529793b
AS
9843 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9844 (__FD_ELT): Renamed from __FDELT.
9845 * misc/bits/select2.h (__FD_ELT): Likewise.
9846 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9847 __FD_MASK instead of __FDELT, __FDMASK.
9848 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9849 Likewise.
9850 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9851 Likewise.
9852
52d4fef8
AS
9853 * elf/Makefile (gen-ldd): Fix pattern.
9854
995a80df
AS
9855 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9856 (init_tls): Likewise.
9857
8682f8b0
UD
98582011-09-12 Ulrich Drepper <drepper@gmail.com>
9859
9860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9861
de82006d
AS
98622011-09-12 Andreas Schwab <schwab@redhat.com>
9863
a7c8e6a1
AS
9864 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9865 `struct cmsghdr *' instead of `void *'.
9866 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9867 Likewise.
9868
0f31fe77
AS
98692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9870
9871 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9872 if non-absolute.
9873 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9874 ldd_rewrite_script.
0f31fe77 9875
32b4c839
UD
98762011-09-11 Ulrich Drepper <drepper@gmail.com>
9877
83cd1420
UD
9878 * configure.in: Remove --with-tls option.
9879 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9880 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9881 out in case it is missing.
9882 * sysdeps/ia64/elf/configure.in: Likewise.
9883 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9884 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9885 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9886 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9887 * sysdeps/sh/elf/configure.in: Likewise.
9888 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9889 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9890 * sysdeps/x86_64/elf/configure.in: Likewise.
9891 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9892 * sysdeps/mach/hurd/tls.h: Likewise.
9893
633f745d
UD
9894 [BZ #13067]
9895 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9896
f318beb8
UD
9897 [BZ #13090]
9898 * configure.in: Fix use of AC_INIT.
9899
32b4c839
UD
9900 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9901
3ce1f295
UD
99022011-09-10 Ulrich Drepper <drepper@gmail.com>
9903
bb016596
UD
9904 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9905 __set_errno.
8e58439c
UD
9906 * malloc/hooks.c: Likewise.
9907
aebae053 9908 [BZ #11929]
02d46fc4
UD
9909 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9910 variables statically.
9911 (narenas): Initialize.
9912 (list_lock): Initialize.
bb016596
UD
9913 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9914 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9915 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9916 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9917 Add initializers to main_arena and mp_.
9918 (malloc_state): Remove pagesize member. Change all users to use
9919 GLRO(dl_pagesize).
9920
9921 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9922 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9923 is always initialized.
9924
22a89187
UD
9925 * malloc/malloc.c: Removed unused configurations and dead code.
9926 * malloc/arena.c: Likewise.
9927 * malloc/hooks.c: Likewise.
02d46fc4 9928 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9929
d063d164
UD
9930 * include/tls.h: Removed. USE___THREAD must always be defined.
9931 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9932 * elf/dl-libc.c: Likewise.
9933 * elf/dl-tsd.c: Likewise.
9934 * include/errno.h: Likewise.
9935 * include/netdb.h: Likewise.
9936 * include/resolv.h: Likewise.
9937 * inet/herrno-loc.c: Likewise.
9938 * inet/herrno.c: Likewise.
9939 * malloc/arena.c: Likewise.
9940 * malloc/hooks.c: Likewise.
9941 * malloc/malloc.c: Likewise.
9942 * resolv/res-state.c: Likewise.
9943 * resolv/res_libc.c: Likewise.
9944 * sysdeps/i386/dl-machine.h: Likewise.
9945 * sysdeps/ia64/dl-machine.h: Likewise.
9946 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9947 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9948 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9949 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9950 * sysdeps/sh/dl-machine.h: Likewise.
9951 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9952 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9953 * sysdeps/unix/i386/sysdep.S: Likewise.
9954 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9955 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9960 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9964 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9965 * sysdeps/x86_64/dl-machine.h: Likewise.
9966 * tls.make.c: Likewise.
9967
3ce1f295
UD
9968 * configure.in: Remove --with-__thread option. Make tests for
9969 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9970 tls_model attribute fail if no support is available. Remove
9971 USE_IN_LIBIO.
9972 * Makeconfig: Adjust for dropped configure option. All features are
9973 now mandatory.
9974 * Makerules: Likewise.
9975 * Versions.def: Likewise.
9976 * argp/argp-fmtstream.c: Likewise.
9977 * argp/argp-fmtstream.h: Likewise.
9978 * argp/argp-help.c: Likewise.
9979 * assert/assert.c: Likewise.
9980 * config.h.in: Likewise.
9981 * config.make.in: Likewise.
9982 * configure: Likewise.
9983 * configure.in: Likewise.
9984 * csu/Versions: Likewise.
9985 * csu/init.c: Likewise.
9986 * elf/tst-audit2.c: Likewise.
9987 * elf/tst-tls10.c: Likewise.
9988 * elf/tst-tls10.h: Likewise.
9989 * elf/tst-tls11.c: Likewise.
9990 * elf/tst-tls12.c: Likewise.
9991 * elf/tst-tls14.c: Likewise.
9992 * elf/tst-tlsmod11.c: Likewise.
9993 * elf/tst-tlsmod12.c: Likewise.
9994 * elf/tst-tlsmod13.c: Likewise.
9995 * elf/tst-tlsmod13a.c: Likewise.
9996 * elf/tst-tlsmod14a.c: Likewise.
9997 * elf/tst-tlsmod15b.c: Likewise.
9998 * elf/tst-tlsmod16a.c: Likewise.
9999 * elf/tst-tlsmod16b.c: Likewise.
10000 * elf/tst-tlsmod7.c: Likewise.
10001 * elf/tst-tlsmod8.c: Likewise.
10002 * elf/tst-tlsmod9.c: Likewise.
10003 * gmon/gmon.c: Likewise.
10004 * grp/fgetgrent_r.c: Likewise.
10005 * grp/putgrent.c: Likewise.
10006 * hurd/fopenport.c: Likewise.
10007 * include/libc-symbols.h: Likewise.
10008 * include/tls.h: Likewise.
10009 * intl/gettextP.h: Likewise.
10010 * intl/loadinfo.h: Likewise.
10011 * locale/global-locale.c: Likewise.
10012 * locale/localeinfo.h: Likewise.
10013 * mach/devstream.c: Likewise.
10014 * malloc/arena.c: Likewise.
10015 * malloc/set-freeres.c: Likewise.
10016 * misc/err.c: Likewise.
10017 * misc/getttyent.c: Likewise.
10018 * misc/mntent_r.c: Likewise.
10019 * posix/getopt.c: Likewise.
10020 * posix/wordexp.c: Likewise.
10021 * pwd/fgetpwent_r.c: Likewise.
10022 * resolv/Versions: Likewise.
10023 * resolv/res_hconf.c: Likewise.
10024 * shadow/fgetspent_r.c: Likewise.
10025 * shadow/putspent.c: Likewise.
10026 * stdio-common/printf_fphex.c: Likewise.
10027 * stdio-common/tmpfile.c: Likewise.
10028 * stdlib/abort.c: Likewise.
10029 * stdlib/fmtmsg.c: Likewise.
10030 * sunrpc/auth_unix.c: Likewise.
10031 * sunrpc/clnt_perr.c: Likewise.
10032 * sunrpc/clnt_tcp.c: Likewise.
10033 * sunrpc/clnt_udp.c: Likewise.
10034 * sunrpc/clnt_unix.c: Likewise.
10035 * sunrpc/openchild.c: Likewise.
10036 * sunrpc/svc_simple.c: Likewise.
10037 * sunrpc/svc_tcp.c: Likewise.
10038 * sunrpc/svc_udp.c: Likewise.
10039 * sunrpc/svc_unix.c: Likewise.
10040 * sunrpc/xdr.c: Likewise.
10041 * sunrpc/xdr_array.c: Likewise.
10042 * sunrpc/xdr_rec.c: Likewise.
10043 * sunrpc/xdr_ref.c: Likewise.
10044 * sunrpc/xdr_stdio.c: Likewise.
10045
1248c1c4
PB
100462011-09-09 Ulrich Drepper <drepper@gmail.com>
10047
10048 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10049
100502011-07-03 Andreas Jaeger <aj@suse.de>
10051
10052 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10053 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10054 regenerate with gen-libm-tests.pl.
10055
100562010-05-12 Petr Baudis <pasky@suse.cz>
10057
10058 [BZ #11589]
10059 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10060 around j0() zero points by switching to j1().
10061 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10062 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10065
f22e1074
UD
100662011-09-09 Ulrich Drepper <drepper@gmail.com>
10067
f19009c1
UD
10068 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10069 instead of 0.
10070 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10071 instead of 0. .
10072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10073 Patch in part by Pavel Roskin <proski@gnu.org>.
10074
3f8cc204
UD
10075 [BZ #13138]
10076 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10077 realloc.
10078 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10079 Free memory block if necessary.
10080
f22e1074
UD
10081 [BZ #12847]
10082 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10083 be NULL. Don't lock in this case.
10084
0a2349f9
RM
100852011-09-09 Roland McGrath <roland@hack.frob.com>
10086
10087 * elf/elf.h (ELFOSABI_GNU): New macro.
10088 (ELFOSABI_LINUX): Define to that.
10089
f3cdd467
DZ
100902011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10091
10092 * string/strncat.c (strncat): Undef the symbol in case it has been
10093 defined in bits/string.h.
10094
74718d13
UD
100952011-09-09 Ulrich Drepper <drepper@gmail.com>
10096
633e9e0f
UD
10097 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10098
0a2349f9 10099 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10100 link map.
10101
f9924780
AJ
101022011-08-17 Andreas Jaeger <aj@suse.de>
10103
10104 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10105
7f5517aa
PP
101062011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10107 Ian Lance Taylor <iant@google.com>
10108
10109 * math/libm-test.inc (lround_test): New testcase.
10110 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10111
762011fe
UD
101122011-09-08 Ulrich Drepper <drepper@gmail.com>
10113
92963737
UD
10114 * Makefile: Remove support for automatic cvs check-ins.
10115 * Makerules: Likewise.
10116 * config.make.in: Likewise.
10117 * configure.in: Likewise.
10118 * intl/Makefile: Likewise.
10119 * locale/Makefile: Likewise.
10120 * po/Makefile: Likewise.
10121 * posix/Makefile: Likewise.
10122 * sysdeps/gnu/Makefile: Likewise.
10123 * sysdeps/mach/hurd/Makefile: Likewise.
10124 * sysdeps/sparc/sparc32/Makefile: Likewise.
10125
b0727fd8
JS
10126 [BZ #13118]
10127 * posix/Makefile (bug-regex32-ENV): Define.
10128 Patch by John Stanley <jpsinthemix@verizon.net>.
10129
a0f33f99
UD
10130 * misc/Makefile (headers): Add bits/select2.h.
10131 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10132 * misc/bits/select2.h: New file.
10133 * include/bits/select2.h: New file.
10134 * debug/Makefile (routines): Add fdelt_chk.
10135 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10136 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10137 FD_ISSET.
10138 * debug/fdelt_chk.c: New file.
10139
762011fe
UD
10140 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10141 * wcsmbs/test-wmemcmp.c: Likewise.
10142 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10143 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10144
101452011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10146
10147 * string/Makefile (strop-tests): Add memcmp.
10148 * string/test-wmemcmp.c: New file.
10149 * string/test-memcmp.c: Add wmemcmp support.
10150
7f513ec8
RM
101512011-09-08 Roland McGrath <roland@hack.frob.com>
10152
0442afb4
RM
10153 [BZ #13153]
10154 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10155 2011-07-19 change.
10156
7f513ec8
RM
10157 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10158 garbage value in a __mach_port_mod_refs call in the cases of the
10159 task-self and thread-self ports.
10160
a12b2239
ST
101612011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10162
10163 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10164
610f9ab4
AS
101652011-09-08 Andreas Schwab <schwab@redhat.com>
10166
7f513ec8 10167 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10168
48882a1a
LD
101692011-09-07 Ulrich Drepper <drepper@gmail.com>
10170
b49865be
UD
10171 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10172
fdc86bc9
UD
10173 * elf/dl-libc.c (dlerror_run): Pass back error code from
10174 dl_catch_error.
10175
c966526a
UD
10176 [BZ #13123]
10177 * elf/dl-load.c (lose): Free l_origin if it is valid.
10178
48882a1a
LD
10179 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10180 names.
10181 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10182 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10183 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10184 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10185 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10186 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10187
77a2a8b4
AZ
101882011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10189
10190 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10191 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10192 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10193 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10194 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10195 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10196 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10197 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10198 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10199 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10200
24f579d8
AM
102012011-08-15 Alan Modra <amodra@gmail.com>
10202
10203 [BZ #13092]
10204 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10205 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10206 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10207 ppc_mcount to static-only-routines.
10208 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10209 __mcount_internal.
10210 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10211 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10212
3d4837df
UD
102132011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10214
10215 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10216 for finite and infinity parameters.
10217
22700377
WS
102182011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10219
10220 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10221 and add nop instructions for throughput optimization.
10222 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10223
5025581e
WS
102242011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10225
10226 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10227 aligned copy for power7 with vector-scalar instructions.
10228 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10229
08a300c9
L
102302011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10231
10232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10233 AVX check.
10234
59178ef9
AS
102352011-09-07 Andreas Schwab <schwab@redhat.com>
10236
10237 [BZ #13144]
10238 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10239 last change.
10240
e38ba7ab
UD
102412011-09-07 Ulrich Drepper <drepper@gmail.com>
10242
10243 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10244 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10245 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10246 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10247 clock_gettime.
10248
d53a73ac
UD
102492011-09-06 Ulrich Drepper <drepper@gmail.com>
10250
fc8bffcc
UD
10251 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10252 Forgot to demangle the pointer.
10253
ceaa0c5d
UD
10254 * sysdeps/i386/sysdep.h: Define atom_text_section.
10255 * sysdeps/x86_64/sysdep.h: Likewise.
10256 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10257 section with atom_text_section.
10258 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10259 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10260 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10262 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10263
a77d3c17
UD
10264 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10265 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10266 already be defined. Change to take two parameters and don't assign
10267 result to variable. Adjust all users.
10268 Define INTERNAL_GETTIME if not already defined.
10269 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10270 call.
10271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10272 HAVE_CLOCK_GETTIME_VSYSCALL.
10273 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10274
d53a73ac
UD
10275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10276 gettimeofday vsyscall, just use time.
10277
a8f84144
AS
102782011-09-06 Andreas Schwab <schwab@redhat.com>
10279
10280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10281 <errno.h>.
10282
ef606249
UD
102832011-09-06 Ulrich Drepper <drepper@gmail.com>
10284
10285 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10286 syscall on x86-64.
10287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10288 syscall.
10289 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10290 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10291 syscall if possible.
10292
6585cb60
UD
102932011-09-05 Ulrich Drepper <drepper@gmail.com>
10294
10295 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10296 e_ident. Don't pass to find_mapsXX.
10297 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10298
a5f524e4
LD
102992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10300
10301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10302 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10303 * sysdeps/x86_64/multiarch/strchr.S: Update.
10304 Check bit_slow_BSF bit.
10305 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10306 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10307 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10308
554881ef
UD
103092011-09-05 Ulrich Drepper <drepper@gmail.com>
10310
d96de963
UD
10311 [BZ #13134]
10312 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10313 before glibc 2.15.
10314 (tryshell): Define.
10315 (__spawni): Change last parameter to be flag. Test
10316 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10317 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10318 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10319 * posix/spawni.c: Likewise.
10320 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10321 * posix/spawnp.c: Likewise. Change normal version to use
10322 SPAWN_XFLAGS_USE_PATH.
10323 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10324 SPAWN_XFLAGS_TRY_SHELL.
10325
d48e5868
UD
10326 [BZ #13150]
10327 * posix/glob.h: Remove gcc 1.x support.
10328
554881ef
UD
10329 [BZ #13068]
10330 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10331
693fb948
LD
103322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10333
10334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10335 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10336 strrchr-sse2-bsf
10337 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10338 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10339 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10340 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10341 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10342 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10343
1b48c537
UD
103442011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10345
49d42c37
UD
10346 * sysdeps/x86_64/wcscmp.S: New file.
10347
1b48c537
UD
10348 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10349 wcscmp-c wcscmp-sse2
10350 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10351 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10352 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10353 * wcsmbs/wcscmp.c: Allow renaming.
10354
15c95c5d
DM
103552011-09-05 David S. Miller <davem@davemloft.net>
10356
10357 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10358 stack slot, rather than the struct return pointer slot.
10359 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10360 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10362 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10363
2f0ad8f3
UD
103642011-09-05 Ulrich Drepper <drepper@gmail.com>
10365
d88ae418
UD
10366 * po/ja.po: Update from translation team.
10367
2f0ad8f3
UD
10368 [BZ #13144]
10369 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10370 kernel in 64-bit binaries.
10371
5f4318d1
DM
103722011-09-01 David S. Miller <davem@davemloft.net>
10373
10374 * elf/elf.h (HWCAP_SPARC_*): Move to..
10375 * sysdeps/sparc/sysdep.h: this new file and add new values.
10376 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10377 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10378 _DL_HWCAP_COUNT to 24.
10379 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10380 entries.
10381 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10382 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10383 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10385 instead of magic constants.
10386 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10387
3ba57516
DM
103882011-08-31 David S. Miller <davem@davemloft.net>
10389
10390 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10392 Reimplement to do errno handling inline.
10393 (SYSCALL_ERROR_HANDLER): New macro.
10394 (__SYSCALL_STRING): Do not do errno handling in asm.
10395 (__CLONE_SYSCALL_STRING): Delete.
10396 (__INTERNAL_SYSCALL_STRING): Delete.
10397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10398 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10399 (PSEUDO): Reimplement to do errno handling inline.
10400 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10401 (SYSCALL_ERROR_HANDLER): New macro.
10402 (__SYSCALL_STRING): Do not do errno handling in asm.
10403 (__CLONE_SYSCALL_STRING): Delete.
10404 (__INTERNAL_SYSCALL_STRING): Delete.
10405 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10406 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10407 i386.
10408 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10409 (inline_syscall*): Add 'err' argument.
10410 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10411 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10412 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10413 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10414
10415 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10416 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10417
2bc17433
AS
104182011-08-30 Andreas Schwab <schwab@redhat.com>
10419
10420 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10421
fbeb5f4d
JO
104222011-08-29 Jiri Olsa <jolsa@redhat.com>
10423
10424 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10425 directive.
10426
ad69cc26
DM
104272011-08-24 David S. Miller <davem@davemloft.net>
10428
10429 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10430
39dd69df
AS
104312011-08-24 Andreas Schwab <schwab@redhat.com>
10432
10433 * elf/Makefile: Add rules to build and run unload8 test.
10434 * elf/unload8.c: New file.
10435 * elf/unload8mod1.c: New file.
10436 * elf/unload8mod1x.c: New file.
10437 * elf/unload8mod2.c: New file.
10438 * elf/unload8mod3.c: New file.
10439
10440 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10441 it wasn't used.
10442
2c0b250a
DM
104432011-08-23 David S. Miller <davem@davemloft.net>
10444
10445 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10446 subtract stack bias.
10447 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10448 %sp not %fp in calculations.
10449 (_JMPBUF_UNWINDS_ADJ): Likewise.
10450
22044b48
DM
10451 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10452 (aio_suspend): Call it to force an exception region around the
10453 AIO_MISC_WAIT() invocation.
10454
2cae4995
AS
104552011-08-23 Andreas Schwab <schwab@redhat.com>
10456
10457 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10458 backslash.
10459
873a772e
AJ
104602011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10461
10462 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10463 protection macro.
10464 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10465 and <dl-machine.h>.
10466 (Elf64_FuncDesc): Remove.
10467
25ad0df1
DM
104682011-08-22 David S. Miller <davem@davemloft.net>
10469
10470 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10471 sigaltstack check, add missing cfi directives.
10472 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10473 missing cfi directives, and sigaltstack handling.
10474
e888bcbe
AS
104752011-08-16 Andreas Schwab <schwab@redhat.com>
10476
10477 [BZ #11724]
10478 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10479 object is seen twice.
10480 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10481
10482 * elf/Makefile (distribute): Add tst-initorder2.c.
10483 (tests): Add tst-initorder2.
10484 (modules-names): Add tst-initorder2a tst-initorder2b
10485 tst-initorder2c tst-initorder2d. Add rules to build them.
10486 ($(objpfx)tst-initorder2.out): New rule.
10487 * elf/tst-initorder2.c: New file.
10488 * elf/tst-initorder2.exp: New file.
10489
87162f46
AS
104902011-08-22 Andreas Schwab <schwab@redhat.com>
10491
70538b7f
AS
10492 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10493
f55ffe58
AS
10494 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10495 dependencies back to end of function.
10496
87162f46
AS
10497 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10498 $(elfobjdir)/ld.so.
10499
91b392a4
UD
105002011-08-21 Ulrich Drepper <drepper@gmail.com>
10501
10502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10503 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10504 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10505 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10506 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10507 of __vdso_gettimeofday.
10508 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10509 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10510 attribute_hidden.
10511 (_libc_vdso_platform_setup): Remove initialization of
10512 __vdso_gettimeofday and __vdso_time.
10513
5c43483f
UD
105142011-08-20 Ulrich Drepper <drepper@gmail.com>
10515
775a77e7
UD
10516 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10517 and fgetc_unlocked.
10518 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10519 getc_unlocked.
89f447ed 10520
49c74ba9
UD
10521 * elf/dl-open.c (add_to_global): Report additions to the global scope
10522 for LD_DEBUG=scopes.
10523 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10524 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10525
5c43483f
UD
10526 [BZ #13114]
10527 * stdio-common/Makefile (tests): Add bug24.
10528 * stdio-common/bug24.c: New file.
10529
a101b025
AJ
105302011-08-19 Andreas Jaeger <aj@suse.de>
10531
10532 [BZ #13114]
10533 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10534 non-existant file when using close-on-exec mode.
10535
c88f1766
UD
105362011-08-20 Ulrich Drepper <drepper@gmail.com>
10537
0276a718
UD
10538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10539 the very first instruction.
10540
c88f1766
UD
10541 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10542 the CFI state in the end.
10543 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10544 inclusion of dl-trampoline.h.
10545 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10546
51ccffa0
AS
105472011-08-19 Andreas Schwab <schwab@redhat.com>
10548
94d7165f
AS
10549 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10550 expectations for long double.
10551
51ccffa0
AS
10552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10553 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10554
fd708658 105552011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10556
10557 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10558 artificual limit depends upon the system page size.
10559
44f0a71e
UD
105602011-08-17 Ulrich Drepper <drepper@gmail.com>
10561
10562 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10563 * resolv/Makefile: Define CFLAGS-libresolv.
10564
8de79a24
AS
105652011-08-17 Andreas Schwab <schwab@redhat.com>
10566
10567 * nss/makedb.c (compute_tables): Make variables used in nested
10568 function static.
10569
27724598
UD
105702011-08-17 Ulrich Drepper <drepper@gmail.com>
10571
c5305d88
UD
10572 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10573 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10574 if buffer was too small.
10575
27724598
UD
10576 * elf/pldd.c (main): Attach to all threads in the process.
10577 Rewrite /proc handling to use *at functions.
10578
076fe015
UD
105792011-08-16 Ulrich Drepper <drepper@gmail.com>
10580
174baab3
UD
10581 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10582 specifies first scope to show.
10583 (dl_open_worker): Update callers. Move printing scope of new
10584 object to before the relocation.
44f0a71e 10585 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10586 * sysdeps/generic/ldsodefs.h: Update declaration.
10587
076fe015
UD
10588 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10589 string for the scope number.
10590
a60df2c3
UD
105912011-08-14 Ulrich Drepper <drepper@gmail.com>
10592
10593 * nscd/servicescache.c (cache_addserv): Make sure written is always
10594 initialized.
10595
5e4287d1
RM
105962011-08-14 Roland McGrath <roland@hack.frob.com>
10597
85ae0589
RM
10598 * sysdeps/i386/i486/bits/atomic.h
10599 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10600 statement expression, so as to suppress "set but not used" warning.
10601 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10602
69f63097
RM
10603 * string/strncat.c (STRNCAT): Use prototype definition.
10604
675456ef
RM
10605 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10606 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10607 -Iprograms here.
10608 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10609 (localedef-modules): Add localedef.
10610 (locale-modules): Add locale.
10611
5e4287d1
RM
10612 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10613 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10614 to avoid a warning.
10615
9c96ff23
DM
106162011-08-14 David S. Miller <davem@davemloft.net>
10617
10618 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10619 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10620
f9ddf089
UD
106212011-08-13 Ulrich Drepper <drepper@gmail.com>
10622
44f0a71e 10623 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10624 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10625 * elf/rtld.c (dl_main): Set l_name of vDSO.
10626 Call _dl_show_scope when DL_DEBUG_SCOPES.
10627 (process_dl_debug): Recognize scopes flag and also set it for all.
10628 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10629 Declare _dl_show_scope.
10630
1dc27704
UD
10631 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10632 (do_dlopen): Pass caller_dlopen to dl_open.
10633 (__libc_dlopen_mode): Initialize caller_dlopen.
10634
f9ddf089
UD
10635 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10636 of libc. Make tolower call locale-independent. Optimize a bit by
10637 using isdigit instead of isalnum.
10638 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10639
9ac533d3
UD
106402011-08-12 Ulrich Drepper <drepper@gmail.com>
10641
10642 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10643 was a dependency or dynamically loaded.
10644
89edf2e9
UD
106452011-08-11 Ulrich Drepper <drepper@gmail.com>
10646
8e999d29
UD
10647 * intl/l10nflist.c: Allow architecture-specific pop function.
10648 * sysdeps/x86_64/l10nflist.c: New file.
10649
89edf2e9
UD
10650 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10651 classification.
10652
14d96785
AS
106532011-08-10 Andreas Schwab <schwab@redhat.com>
10654
10655 * include/dirent.h: Add libc_hidden_proto for scandirat and
10656 scandirat64. Don't declare __scandirat64.
10657 * dirent/scandirat.c: Add libc_hidden_def.
10658 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10659 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10660
6761ac04
DM
106612011-08-10 David S. Miller <davem@davemloft.net>
10662
10663 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10664 enum.
10665 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10668
c55fbd1e
UD
106692011-08-09 Ulrich Drepper <drepper@gmail.com>
10670
10671 * Versions.def [libc]: Add GLIBC_2.15.
10672 * dirent/Makefile (routines): Add scandirat and scandirat64.
10673 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10674 GLIBC_2.15.
10675 * dirent/dirent.h: Declare scandirat and scandirat64.
10676 * dirent/scandirat.c: New file.
10677 * dirent/scandirat64.c: New file.
10678 * sysdeps/wordsize-64/scandirat.c: New file.
10679 * sysdeps/wordsize-64/scandirat64.c: New file.
10680 * dirent/opendir.c: Define opendirat.
10681 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10682 using scandirat.
10683 * dirent/scandir64.c: Adjust for scandir.c change.
10684 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10685 __scandirat64, and __scandir_cancel_handler.
10686 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10687 additional parameter and use openat instead of open (outside of ld.so).
10688 Add new __opendir as wrapper around __opendirat.
10689 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10690 here without requiring old scandirat implementation.
10691
879165f2
UD
106922011-08-08 Ulrich Drepper <drepper@gmail.com>
10693
10694 * dirent/scandir.c (cancel_handler): Renamed to
10695 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10696 defined. Adjust users.
10697 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10698 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10699
cb7e923b
UD
107002011-08-04 Ulrich Drepper <drepper@gmail.com>
10701
16292edd
UD
10702 * string/test-string.h (IMPL): Use __STRING to expand name and then
10703 stringify it.
10704
cb7e923b
UD
10705 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10706 of cleanups.
10707
cff82933
LD
107082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10709
10710 * string/Makefile: Update.
10711 (strop-tests): Append strncat.
10712 * string/test-wcscmp.c: New file.
10713 New comprehensive test for wcscmp.
10714 * string/test-strcmp.c: Update.
10715 (WIDE): New define.
10716
9be9bfcc
AS
107172011-07-22 Andreas Schwab <schwab@redhat.com>
10718
10719 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10720 line.
10721
2e96f1c7
AS
107222011-07-26 Andreas Schwab <schwab@redhat.com>
10723
10724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10725 encoding to ACE if AI_IDN.
10726
85188888
JJ
107272011-08-01 Jakub Jelinek <jakub@redhat.com>
10728
10729 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10730 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10731
5fa16e9b
LD
107322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10733
10734 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10735 Fix overflow bug in strncat.
10736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10737
10738 * string/test-strncat.c: Update.
10739 Add new tests for checking overflow bugs.
10740
107412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10742
10743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10744 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10745 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10746 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10747 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10748 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10749 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10750 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10751 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10752
10753 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10754 (USE_AS_STRCAT): Define.
10755 Add strcat and strncat support.
10756 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10757
8c1a459f
AS
107582011-07-25 Andreas Schwab <schwab@redhat.com>
10759
10760 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10761 __n bigger than INT_MAX+1.
10762 (__strncmp_g): Likewise.
10763
bba33c28
UD
107642011-07-23 Ulrich Drepper <drepper@gmail.com>
10765
798be72d
UD
10766 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10767 * libio/stido.h: Likewise.
10768
8accd4dc
UD
10769 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10770 (AF_NFC): Define.
10771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10772 (AF_NFC): Define.
10773
cbff0d96
UD
10774 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10776 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10777 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10778 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10779
9191c04a
UD
10780 [BZ #13021]
10781 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10782 installed.
10783
bba33c28
UD
10784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10785 typo.
10786 (_dl_x86_64_save_sse): Likewise.
10787
90f139dd
UD
107882011-07-22 Ulrich Drepper <drepper@gmail.com>
10789
1aae088a
UD
10790 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10791 OSXSAVE.
10792 (_dl_x86_64_save_sse): Likewise.
10793
8e2045f5
UD
10794 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10795
90f139dd
UD
10796 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10797
1d002f25
AS
107982011-07-21 Andreas Schwab <schwab@redhat.com>
10799
10800 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10801 change.
10802 (_dl_x86_64_save_sse): Use correct AVX check.
10803
21137f89
UD
108042011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10805
10806 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10807 bug in strncpy/strncat.
10808 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10809
a65c0b7a
UD
108102011-07-21 Ulrich Drepper <drepper@gmail.com>
10811
10812 * string/tester.c (test_strcat): Add tests for different alignments
10813 of source and destination.
10814 (test_strncat): Likewise.
10815
6986b98a
UD
108162011-07-20 Ulrich Drepper <drepper@gmail.com>
10817
90bb2039
UD
10818 [BZ #12852]
10819 * posix/glob.c (glob): Check passed in values before using them in
10820 expressions to avoid some overflows.
10821 (glob_in_dir): Likewise.
10822
5644ef54
UD
10823 [BZ #13007]
10824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10825 check for AVX enablement so that we don't crash with old kernels and
10826 new hardware.
10827 * elf/tst-audit4.c: Add same checks here.
10828 * elf/tst-audit6.c: Likewise.
10829
10830 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10831
bfc9dc9b
AS
108322011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10833
10834 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10835
702e64bb
UD
108362011-07-20 Ulrich Drepper <drepper@gmail.com>
10837
10838 * po/cs.po: Update from translation team.
10839 * po/bg.po: Likewise.
10840
295e904f
MP
108412011-07-12 Marek Polacek <mpolacek@redhat.com>
10842
10843 * misc/sys/cdefs.h: Add support for const attribute.
10844 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10845 to gnu_dev_{major,minor,makedev} functions.
10846
3ff94596
MP
108472011-07-20 Marek Polacek <mpolacek@redhat.com>
10848
10849 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10850
28b59fca
AS
108512011-07-20 Andreas Schwab <schwab@redhat.com>
10852
10853 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10854 strlen results.
10855
19df733e
AK
108562011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10857
10858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10859 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10860 register in order to avoid conflicts with the soft frame pointer
10861 being held in r11 when necessary.
10862 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10863 (INTERNAL_VSYSCALL_NCS): Likewise.
10864
c8835729
MP
108652011-07-14 Marek Polacek <mpolacek@redhat.com>
10866
10867 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10868 * elf/dl-fini.c (_dl_fini): Adjust caller.
10869 * elf/dl-close.c (_dl_close_worker): Likewise.
10870 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10871
b902330c
MP
108722011-07-15 Marek Polacek <mpolacek@redhat.com>
10873
8991e135
MP
10874 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10875 "aux_cache->nlibs < 0".
10876
b902330c
MP
10877 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10878 in the reload-count case.
10879
99710781
LD
108802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10881
10882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10883 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10884 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10885 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10886 * sysdeps/x86_64/multiarch/strcat.S: New file.
10887 * sysdeps/x86_64/multiarch/strncat.S: New file.
10888 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10889 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10890 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10891 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10892 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10893 (USE_AS_STRCAT): Define.
10894 Add strcat and strncat support.
10895 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10896 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10897 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10898 * string/strncat.c: Update.
10899 (USE_AS_STRNCAT): Define.
10900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10901 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10902 and i7.
10903 * sysdeps/x86_64/multiarch/init-arch.h
10904 (bit_Prefer_PMINUB_for_stringop): New.
10905 (index_Prefer_PMINUB_for_stringop): Likewise.
10906 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10907 bit_Prefer_PMINUB_for_stringop.
10908
7dc6bd90
UD
109092011-07-19 Ulrich Drepper <drepper@gmail.com>
10910
10911 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10912 buffer64.
10913 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10914 of casting of buffer.
10915 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10916 buffer32 and buffer64.
10917 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10918 writes instead of casting of buffer.
10919 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10920 buffer32.
10921 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10922 casting of buffer.
10923
e0e72284
AS
109242011-07-19 Andreas Schwab <schwab@redhat.com>
10925
10926 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10927
feb1eb0b
UD
109282011-07-19 Ulrich Drepper <drepper@gmail.com>
10929
10930 * nscd/nscd.c (termination_handler): Don't do anything for a database
10931 if it has not yet been initialized.
10932
298711ff
UD
109332011-07-18 Ulrich Drepper <drepper@gmail.com>
10934
10935 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10936
109372011-07-15 Marek Polacek <mpolacek@redhat.com>
10938
10939 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10940
f9d68389
UD
109412011-07-18 Ulrich Drepper <drepper@gmail.com>
10942
10943 * po/nl.po: Update from translation team.
10944 * po/sv.po: Likewise.
10945
db290cf5
RM
109462011-07-16 Roland McGrath <roland@hack.frob.com>
10947
10948 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10949 now disallowed by GCC.
5c550700 10950
fd5e21c7
RM
10951 * configure.in (use-default-link): Default to yes if a test -shared
10952 link meets our qualifications.
10953 * configure: Regenerated.
10954
5c550700
RM
10955 * config.make.in (output-format): New variable.
10956 * configure.in: Check for ld --print-output-format support.
10957 * configure: Regenerated.
10958 * Makerules ($(common-objpfx)format.lds)
10959 [$(output-format) != unknown]: Just use $(output-format),
10960 instead of the linker-script munging.
10961
9fa2c032
RM
109622011-07-14 Roland McGrath <roland@hack.frob.com>
10963
a6928d51
RM
10964 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10965 of $(common-objpfx)shlib.lds.
10966 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10967
661607b3
RM
10968 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10969 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10970
9fa2c032
RM
10971 * configure.in (-z relro check): Adjust test code to add a large
10972 writable data section after it.
10973 * configure: Regenerated.
10974
defe9061
RM
109752011-07-11 Roland McGrath <roland@hack.frob.com>
10976
10977 * configure.in (-z relro check): Fix test code to make the variable
10978 truly const.
10979 * configure: Regenerated.
10980
319b9ad4
UD
109812011-07-11 Ulrich Drepper <drepper@gmail.com>
10982
10983 * nscd/nscd.h (struct traced_file): Define.
10984 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10985 elements. Add traced_files.
10986 (inotify_fd): Declare.
10987 (register_traced_file): Declare.
10988 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10989 (inotify_fd): Export.
10990 (resolv_conf_descr): Remove.
10991 (nscd_init): Move inotify descriptor creation to main.
10992 Don't register files for notification here.
10993 (register_traced_file): New function.
10994 (invalidate_cache): Don't use reset_res to determine whether to call
10995 res_init, go through the list of registered files.
10996 (main_loop_poll): The inotify descriptors are now stored in the
10997 structures for the traced files.
10998 (main_loop_epoll): Likewise
10999 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11000 to __nss_disable_nscd.
11001 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11002 for a database anymore. Check the records for all the registered
11003 files instead.
11004 * nss/Makefile (libnss_files-routines): Add files-init.
11005 (libnss_db-routines): Add db-init.
11006 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11007 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11008 * nss/nss_db/db-init.c: New file.
11009 * nss/nss_files/files-init.c: New file.
11010 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11011 __nss_lookup_function.
11012 (__nss_lookup_function): Call nss_load_library.
11013 (nss_load_all_libraries): New function.
11014 (__nss_disable_nscd): Take parameter with callback function for files
11015 to register. Set is_nscd. Load all the DSOs for the NSS modules
11016 used for the cached services.
11017 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11018 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11019 options for features to all the files in nscd.
11020
11021 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11022
23bee3e8
RM
110232011-07-10 Roland McGrath <roland@hack.frob.com>
11024
11025 * csu/elf-init.c (__libc_csu_init): Comment typo.
11026
46a5b7f0
UD
110272011-07-09 Ulrich Drepper <drepper@gmail.com>
11028
11029 * po/pl.po: Update from translation team.
11030 * po/ja.po: Likewise.
11031 * po/ru.po: Likewise.
11032 * po/ko.po: Likewise.
11033 * po/fr.po: Likewise.
11034
d30cf5bb
RM
110352011-07-09 Roland McGrath <roland@hack.frob.com>
11036
113ddea4
RM
11037 * configure.in (.ctors/.dtors header and trailer check):
11038 Use an empirical test on a built program.
11039 * configure: Regenerated.
11040
574920b4
RM
11041 * configure.in (-z relro check): Use an empirical test on a built DSO.
11042 Detect, but do not require, on ia64.
11043 * configure: Regenerated.
11044
d30cf5bb
RM
11045 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11046 Update tests that use readelf to use $READELF instead.
11047 * configure: Regenerated.
11048
8538fdb3
UD
110492011-07-08 Ulrich Drepper <drepper@gmail.com>
11050
11051 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11052 if the result is not used.
11053
04d08991
AJ
110542011-07-05 Andreas Jaeger <aj@suse.de>
11055
11056 [BZ#9696]
11057 * stdlib/tst-strtod.c: Add testcase.
11058
de283087
AD
110592011-07-07 Ulrich Drepper <drepper@gmail.com>
11060
4e5f31c8 11061 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11062 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11063 The latter has a higher limit. Take additional parameter to pass to
11064 the new function.
11065 (__pathconf): Pass file to __statfs_link_max.
11066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11067 __statfs_link_max.
11068 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11069 __statfs_link_max.
11070
de283087
AD
11071 [BZ #12868]
11072 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11073 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11074 Handle Lustre.
11075 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11076 (__statfs_filesize_max): Likewise.
11077 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11078
c75fa153
AJ
110792011-07-05 Andreas Jaeger <aj@suse.de>
11080
11081 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11082
1a544854
UD
110832011-07-06 Marek Polacek <mpolacek@redhat.com>
11084
11085 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11086 `status' variable.
11087 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11088 Likewise.
11089
6f0eec67
UD
110902011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 * Makefile (strop-tests): Add strncat.
11093 * string/test-strncat.c: New file.
11094
aae30307
UD
110952011-06-30 Marek Polacek <mpolacek@redhat.com>
11096
11097 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11098
c0cfb5eb
UD
110992011-06-21 Andreas Jaeger <aj@suse.de>
11100
11101 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11102 Copy rule from iconvdata/Makefile.
11103
01636b21
UD
111042011-07-06 Ulrich Drepper <drepper@gmail.com>
11105
11106 [BZ #12922]
11107 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11108 but no long options are defined, just return 'W'.
11109
9895c8bc
UD
111102011-06-22 Marek Polacek <mpolacek@redhat.com>
11111
11112 [BZ #9696]
11113 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11114
5d4cf042
UD
111152011-07-06 Ulrich Drepper <drepper@gmail.com>
11116
11117 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11118 netgroups to read.
960e5535 11119 (innetgr): Likewise.
5d4cf042 11120
751eb97e
RM
111212011-07-05 Roland McGrath <roland@hack.frob.com>
11122
11123 * config.make.in (install_root): Default to $(DESTDIR).
11124
f15f1e45
UD
111252011-07-05 Ulrich Drepper <drepper@gmail.com>
11126
11127 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11128
4e34ac6a
RM
111292011-07-02 Roland McGrath <roland@hack.frob.com>
11130
5e9b6af4
RM
11131 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11132
84f9ea0f
RM
11133 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11134 containing directory rather than embedding absolute directory names.
11135
ea5ee9f7
RM
11136 * scripts/check-local-headers.sh: Rewritten using awk.
11137 Match by word, not by line. Print error messages for matches.
11138 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11139
1b74661a
RM
11140 * Makerules [shlib-lds-flags empty]:
11141 ($(common-objpfx)libc_pic.opts): New target.
11142 ($(common-objpfx)libc_pic.os.clean): New target.
11143 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11144
11145 * config.make.in (OBJCOPY): New variable.
11146 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11147 * configure: Regenerated.
11148
f781ef40
RM
11149 * config.make.in (use-default-link): New variable.
11150 * configure.in (use_default_link): Grok --with-default-link to set it.
11151 * configure: Regenerated.
11152 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11153 (shlib-lds, shlib-lds-flags): Define to empty.
11154
2d4fa81e
RM
11155 * Makerules (shlib-lds): New variable.
11156 (shlib-lds-flags): New variable.
11157 (build-shlib, build-moduile, build-module-asneeded): Use it.
11158 ($(common-objpfx)libc.so): Use $(shlib-lds).
11159 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11160 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11161
31fffa6b
RM
11162 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11163 DT_FLAGS/DT_FLAGS_1 with zero flags.
11164
4e34ac6a
RM
11165 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11166 linker script munging.
11167
fcfc776b
UD
111682011-07-02 Ulrich Drepper <drepper@gmail.com>
11169
11170 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11171 as 128-bit value.
11172 * crypt/sha512.c (sha512_process_block): Perform total addition using
11173 128-bit if possible.
11174 (__sha512_finish_ctx): Likewise.
11175 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11176 as 64-bit value.
11177 * crypt/sha256.c (SWAP64): Define.
11178 (sha256_process_block): Perform total addition using 64-bit if
11179 possible.
11180 (__sha256_finish_ctx): Likewise.
11181
99231d9a
UD
111822011-07-01 Ulrich Drepper <drepper@gmail.com>
11183
11184 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11185 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11186 * nscd/hstcache.c (cache_addhst): Likewise.
11187 * nscd/grpcache.c (cache_addgr): Likewise.
11188 * nscd/aicache.c (addhstaiX): Likewise
11189 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11190
445b4a53
TK
111912011-07-01 Thorsten Kukuk <kukuk@suse.de>
11192
11193 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11194 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11195 * nscd/hstcache.c (cache_addhst): Likewise.
11196 * nscd/grpcache.c (cache_addgr): Likewise.
11197 * nscd/aicache.c (addhstaiX): Likewise
11198
6d4d8e8e
AS
111992011-07-01 Andreas Schwab <schwab@redhat.com>
11200
11201 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11202 domain only when needed.
11203
89f654c5
AS
112042011-06-30 Andreas Schwab <schwab@redhat.com>
11205
11206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11207 is always restored.
11208
cf3b23ff
UD
112092011-06-29 Ulrich Drepper <drepper@gmail.com>
11210
11211 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11212 are re-adding the entry.
11213 * nscd/servicescache.c (cache_addserv): Likewise.
11214
751626f9
AJ
112152011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11216
11217 * sysdeps/generic/dl-irel.h: fix protection against multiple
11218 inclusions.
11219 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11220
9113ea1f
UD
112212011-06-28 Ulrich Drepper <drepper@gmail.com>
11222
5c0b8d90
UD
11223 [BZ #12935]
11224 * malloc/memusage.sh: Fix quoting in message.
11225 * debug/xtrace.sh: Likewise.
11226
9113ea1f
UD
11227 * configure.in: Remove support for --experimental-malloc option, make
11228 it the default.
11229 * config.make.in: Likewise.
11230 * malloc/Makefile: Likewise.
11231
a4172181
AS
112322011-06-27 Andreas Schwab <schwab@redhat.com>
11233
11234 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11235 two-byte characters.
11236
78a7eee7
RM
112372011-06-27 Roland McGrath <roland@hack.frob.com>
11238
62bede13
RM
11239 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11240 AC_CACHE_CHECK invocation.
11241 * configure: Regenerated.
11242
78a7eee7
RM
11243 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11244
5ce33a62
UD
112452011-06-27 Ulrich Drepper <drepper@gmail.com>
11246
034807a9
UD
11247 [BZ #12350]
11248 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11249 bit from old_res_options.
11250
4902da17
UD
11251 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11252
5ce33a62
UD
11253 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11254 value type for setfct.
11255
c2344f56
L
112562011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11257
11258 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11259 __gettimeofday instead of gettimeofday.
11260
68468076
UD
112612011-06-26 Ulrich Drepper <drepper@gmail.com>
11262
11263 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11264
acb0d739
L
112652011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11266
11267 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11268
11269 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11270 info.
11271
8912479f
L
112722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11273
11274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11275 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11276 strcpy-sse2-unaligned strncpy-sse2-unaligned
11277 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11278 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11279 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11280 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11281 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11283 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11284 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11285 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11286 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11287 (STRCPY): Support SSE2 and SSSE3 versions.
11288
d5495a11
UD
112892011-06-24 Ulrich Drepper <drepper@gmail.com>
11290
11291 [BZ #12874]
11292 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11293 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11294 kernels which artificially limit size of requests.
11295
0b1cbaae
L
112962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11297
11298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11299 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11300 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11301 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11302 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11303 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11304 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11305 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11306 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11307 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11308 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11309 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11310 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11311 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11312 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11314 Enable unaligned load optimization for Intel Core i3, i5 and i7
11315 processors.
11316 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11317 Define.
11318 (index_Fast_Unaligned_Load): Define.
11319 (HAS_FAST_UNALIGNED_LOAD): Define.
11320
07f494a0
MP
113212011-06-23 Marek Polacek <mpolacek@redhat.com>
11322
11323 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11324
fa3fc0fe
UD
113252011-06-22 Ulrich Drepper <drepper@gmail.com>
11326
11327 [BZ #12907]
11328 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11329 until it is clear that the information is realy needed.
11330 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11331
e12df166
AS
113322011-06-22 Andreas Schwab <schwab@redhat.com>
11333
11334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11335
852eb34d
UD
113362011-06-22 Ulrich Drepper <drepper@gmail.com>
11337
84e2a551
UD
11338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11339 /sys/devices/system/cpu/online if it is usable.
11340
852eb34d
UD
11341 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11342 reading the information from the /proc filesystem to once a second.
11343
6e502e19
UD
113442011-06-21 Andreas Jaeger <aj@suse.de>
11345
11346 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11347 NULL after inclusion of kernel headers.
11348
75d39ff2
UD
113492011-06-21 Ulrich Drepper <drepper@gmail.com>
11350
51f9aa6a
UD
11351 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11352 calls to internal_setent.
11353
c0244a9d
UD
11354 [BZ #12885]
11355 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11356 addresses using gethostbyname4_r ignore IPv4 addresses.
11357
c5e3c2ae
UD
11358 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11359 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11360
75d39ff2
UD
11361 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11362
42675c6f
DM
113632011-06-20 David S. Miller <davem@davemloft.net>
11364
11365 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11366 inclusions.
11367 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11368
11369 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11370 (elf_irel): Use it.
11371 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11372 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11373 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11374 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11375 * sysdeps/x86_64/dl-irel.h: Likewise.
11376
11377 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11378 * elf/dl-sym.c: Likewise.
11379
57912a71
UD
113802011-06-15 Ulrich Drepper <drepper@gmail.com>
11381
11382 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11383 need to dereference resplen2.
11384
ee22793d
AS
113852011-06-14 Andreas Schwab <schwab@redhat.com>
11386
11387 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11388
a9e836b0
UD
113892011-06-15 Ulrich Drepper <drepper@gmail.com>
11390
77fb9117
UD
11391 * Makeconfig: Define vardbdir and inst_vardbdir.
11392 * nss/Makefile: Add rules to install db-Makefile.
11393
40c1b22c
UD
11394 * nss/nss_db/db-XXX.c: Cleanup.
11395
9f2da732
UD
11396 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11397 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11398 GLIBC_PRIVATE.
11399 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11400 * nss/makedb.c: Implement -g option to specify that value strings
11401 are generated and should not be added to table iterated over for
11402 get*ent calls.
11403 * nss/nss_db/db-initgroups.c: New file.
11404
82e9a1f7
UD
11405 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11406 interface.
11407
c41af17e
UD
11408 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11409 (internal_getgrouplist): Adjust to name change.
11410 Update use_initgroups_entry if this is not the first call.
11411 * nss/databases.def: Add initgroups entry.
11412
a9e836b0
UD
11413 * nss/makedb.c (compute_tables): Check result of multiple hash table
11414 sizes to minimize maximum chain length.
11415
2666d441
UD
114162011-06-14 Ulrich Drepper <drepper@gmail.com>
11417
11418 * Versions.def: Add entry for libnss_db.
11419 * shlib-versions: Likewise.
11420 * nss/Makefile: Add rules to build libnss_db.
11421 * nss/Versions: Add libnss_db information. Organize libnss_files
11422 entries better.
11423 * nss/db-Makefile: Add gshadow support. Change rules for the new
11424 makedb progra. Some minor improvements to generate smaller files.
11425 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11426 here from...
11427 * nss/makedb.c: ...here.
11428 Improve database format to be smaller and require less memory at
11429 runtime.
11430 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11431 db anymore.
11432 * nss/nss_db/db-netgrp.c: Likewise.
11433 * nss/nss_db/db-open.c: Likewise.
11434 * nss/nss_files/flies-XXX.x: Adjust comments.
11435 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11436 * nss/nss_files/files-grp.c: Likewise.
11437 * nss/nss_files/files-hosts.c: Likewise.
11438 * nss/nss_files/files-network.c: Likewise.
11439 * nss/nss_files/files-proto.c: Likewise.
11440 * nss/nss_files/files-pwd.c: Likewise.
11441 * nss/nss_files/files-rpc.c: Likewise.
11442 * nss/nss_files/files-service.c: Likewise.
11443 * nss/nss_files/files-sgrp.c: Likewise.
11444 * nss/nss_files/files-spwd.c: Likewise.
11445 * nss/nss_db/db-alias.c: Removed.
11446 * nss/nss_db/dummy-db.h: Removed.
11447
9ee76b5a
UD
114482011-06-02 Ulrich Drepper <drepper@gmail.com>
11449
11450 * nss/makedb.c: Rewritten to not use database library.
11451 * nss/Makefile: Update to build new makedb program.
11452
c71ca1f8
AJ
114532011-06-14 Andreas Jaeger <aj@suse.de>
11454
11455 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11456 memset declaration.
11457
3154bfb8
UD
114582011-06-10 Andreas Schwab <schwab@redhat.com>
11459
11460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11461 tmpbuf.
11462
b350afab
RM
114632011-06-10 Roland McGrath <roland@hack.frob.com>
11464
decd4e50
RM
11465 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11466 * elf/Makefile ($(objpfx)ld.so): Likewise.
11467
5615eaf2
RM
11468 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11469 Don't list ld.so twice in dependencies.
11470
11471 * posix/bug-regex31.c: Include <stdlib.h>.
11472
11473 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11474
11475 * nis/nss_compat/compat-spwd.c
11476 (getspent_next_nss_netgr): Remove unused variable.
11477 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11478
11479 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11480 nonmembers" output to use the right array.
11481
11482 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11483
11484 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11485
11486 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11487 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11488 * catgets/gencat.c (read_input_file): Likewise.
11489 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11490
11491 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11492 variable definition inside #if's controlling its use.
11493
11494 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11495
11496 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11497
11498 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11499
11500 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11501 unreachable code.
11502
11503 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11504
b68e08db
RM
11505 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11506 * configure: Regenerated.
11507
b350afab
RM
11508 * Makerules: Revert last change.
11509 * elf/Makefile: Likewise.
11510
28368601
RM
115112011-06-09 Roland McGrath <roland@hack.frob.com>
11512
11513 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11514 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11515 (reloc-link): Likewise.
11516
11988f8f
UD
115172011-06-09 Ulrich Drepper <drepper@gmail.com>
11518
11519 * elf/Makefile: Add rules to build pldd.
11520 * elf/pldd.c: New file.
11521 * elf/pldd-xx.c: New file.
11522
e80fab37
UD
115232011-06-07 Ulrich Drepper <drepper@gmail.com>
11524
11525 * version.h: Update for 2.15 development version.
11526
9b849836
DM
115272011-06-07 David S. Miller <davem@davemloft.net>
11528
11529 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11530 ifuncs.
11531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11532 elf_machine_lazy_rel): Likewise.
11533 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11535 elf_machine_lazy_rel): Likewise.
11536 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11537 dl_hwcap via passed in argument.
11538 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11539 Likewise.
11540
5a31b283
AK
115412011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11542
11543 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11544
069e52f8
RM
115452011-06-06 Roland McGrath <roland@hack.frob.com>
11546
11547 [BZ #12849]
11548 * manual/fdl-1.1.texi: New file, verbatim from:
11549 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11550 * manual/lgpl-2.1.texi: New file, verbatim from:
11551 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11552 * manual/Makefile (licenses): New variable, list those new file names.
11553 (texis): Use it.
11554 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11555
11556 * manual/fdl.texi: File removed.
11557 * manual/lesser.texi: File removed.
11558 * manual/libc.texinfo (Copying, Documentation License):
11559 Use new @include file names, put @appendix directive before @include.
11560
f16846a5
JJ
115612011-06-04 Jakub Jelinek <jakub@redhat.com>
11562
11563 [BZ #12841]
11564 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11565 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11566 (mq_open): Add __NTH.
11567
3d29045b
L
115682011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11569
11570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11571 Assume Intel Core i3/i5/i7 processor if AVX is available.
11572
8c297311
UD
115732011-05-31 Ulrich Drepper <drepper@gmail.com>
11574
11575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11576 typo.
11577
c8fc0c91
UD
115782011-05-31 Andreas Schwab <schwab@redhat.com>
11579
11580 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11581 memory. Use alloca_account. Fix memory leak when retrying.
11582
5b27a807
UD
115832011-05-31 Ulrich Drepper <drepper@gmail.com>
11584
356f8bc6
UD
11585 * version.h (RELEASE): Bump for 2.14 release.
11586 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11587
5b27a807
UD
11588 * config.make.in (RANLIB): Remove entry.
11589
01f16ab0
UD
115902011-05-30 Ulrich Drepper <drepper@gmail.com>
11591
41fce8bd
UD
11592 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11593 (libc.pot): Work around missing support for .ksh extension in xgettext.
11594
4769ae77
UD
11595 [BZ #12684]
11596 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11597 if both request failed.
11598 (send_dg): In case of server errors clear resplen or *resplen2.
11599
6b1e7d19
UD
11600 [BZ #12454]
11601 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11602 when there are multiple maps.
11603 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11604 (_dl_fini): Remove test here.
11605
01f16ab0
UD
11606 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11607
b1ebd700
UD
116082011-05-29 Ulrich Drepper <drepper@gmail.com>
11609
7ae22829
UD
11610 [BZ #12350]
11611 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11612 bit from old_res_options.
11613 (gaih_inet): Likewise.
11614
553149f6 11615 [BZ #11099]
18a84741 11616 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11617 as signed.
11618
652ffab1
UD
11619 * resolv/res_init.c (res_setoptions): Make the code more compact.
11620
16985fd0
UD
11621 [BZ #11558]
11622 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11623 set RES_USEVC.
11624
0464f746
UD
11625 [BZ #11634]
11626 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11627
7d17596c
UD
11628 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11629
cf6bbbd7
UD
11630 [BZ #11781]
11631 * malloc/malloc.h: Declare malloc hook variables as volatile.
11632
13f1ab36
UD
11633 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11634 in last patch.
11635
b1ebd700
UD
11636 [BZ #11799]
11637 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11638 raise in the comment.
80e2212d
UD
11639 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11640 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11641 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11642
ce67228d
UD
116432011-05-28 Ulrich Drepper <drepper@gmail.com>
11644
8887a920
UD
11645 [BZ #12811]
11646 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11647 grow the buffers more if it already has to be sufficient.
11648 (build_wcs_upper_buffer): Likewise.
11649 * posix/regexec.c (check_matching): Likewise.
11650 (clean_state_log_if_needed): Likewise.
11651 (extend_buffers): Don't enlarge buffers beyond size of the input
11652 buffer.
11653 Patches mostly by Emil Wojak <emil@wojak.eu>.
11654 * posix/bug-regex32.c: New file.
11655 * posix/Makefile (tests): Add bug-regex32.
11656
4f031072
UD
11657 * locale/findlocale.c (_nl_find_locale): Return right away if
11658 _nl_explode_name failed.
11659 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11660
d0478f0c
UD
11661 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11662
de81b246
UD
11663 * debug/xtrace.sh: Unify messages.
11664 * malloc/memusage.sh: Likewise.
11665
c738465a
UD
11666 [BZ #12813]
11667 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11668 time symbol from vDSO. Substitute with vsyscall if not available.
11669 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11670 __vdso_time.
11671
f1f929d7
UD
11672 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11673 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11674 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11675 Add sendmmsg and internal_sendmmsg.
11676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11677 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11678 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11679
ce67228d
UD
11680 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11681 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11682 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11683
e57420c6
UD
116842011-05-27 Ulrich Drepper <drepper@gmail.com>
11685
a8509ca5
UD
11686 [BZ #12813]
11687 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11688 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11689 available.
11690 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11691 __vdso_getcpu.
11692
e57420c6
UD
11693 [BZ #12814]
11694 * iconvdata/Makefile (tests): Add bug-iconv9.
11695 * iconvdata/bug-iconv9.c: New file.
11696
4d07db15
AS
116972011-05-27 Andreas Schwab <schwab@redhat.com>
11698
11699 [BZ #12814]
11700 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11701
ea486f69
JJ
117022011-05-25 Jakub Jelinek <jakub@redhat.com>
11703
11704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11705 (struct user_regs_struct): Change intcs field back to cs.
11706
6f038433
UD
117072011-05-25 Ulrich Drepper <drepper@gmail.com>
11708
11709 * po/ja.po: Update from translation team.
11710
67f86a25
UD
117112011-05-23 Ulrich Drepper <drepper@gmail.com>
11712
11713 [BZ #12795]
11714 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11715 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11716
def7fbd6
AS
117172011-05-20 Andreas Schwab <schwab@redhat.com>
11718
11719 * stdlib/longlong.h: Update from GCC.
11720
f50ef8f1
AS
117212011-05-23 Andreas Schwab <schwab@redhat.com>
11722
11723 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11724 parameter name.
11725 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11726 Add parameter name.
11727 (__sysconf): Pass it down.
11728
de7ce8f1
UD
117292011-05-22 Ulrich Drepper <drepper@gmail.com>
11730
f2962a71
UD
11731 [BZ #12671]
11732 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11733 some situations.
11734 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11735 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11736 add in in __libc_use_alloca calls. Adjust callers.
11737 (glob): Use malloc in some situations.
11738
de7ce8f1
UD
11739 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11740 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11741 pltexit.
11742
aec84f53
UD
117432011-05-21 Ulrich Drepper <drepper@gmail.com>
11744
05bb4a68
UD
11745 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11746 and CLOCK_BOOTTIME_ALARM.
11747
7ea72f99
UD
11748 [BZ #12782]
11749 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11750 is returned.
11751
7e4afad5
UD
11752 * string/_strerror.c (__strerror_r): Print negative errors as signed
11753 numbers.
11754
8e211fec
UD
11755 [BZ #12777]
11756 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11757 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11758 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11759
f7d82dc9
UD
11760 * configure.in: Fix typo in redirection and correct removal of test
11761 files in two cases.
11762
cc9e536d
UD
11763 [BZ #12788]
11764 * locale/setlocale.c (new_composite_name): Fix test to check for
11765 identical name of all categories.
11766
aec84f53
UD
11767 [BZ #12792]
11768 * libio/filedoalloc.c (local_isatty): New function.
11769 (_IO_file_doallocate): Use local_isatty.
11770 * stdio-common/perror.c (perror): In case a new stream is used
11771 forward the stream error.
11772 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11773 error flag.
11774
78e64fdc
RT
117752011-05-20 Ulrich Drepper <drepper@gmail.com>
11776
34a9094f
UD
11777 [BZ #11869]
11778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11779 alloca.
11780 * include/alloca.h (extend_alloca_account): Define.
11781
78e64fdc
RT
11782 [BZ #11857]
11783 * posix/regex.h: Fix comments with documentation of user-accessible
11784 fields after compilation and describe correct free'ing of pattern
11785 after re_compile_pattern.
11786 Patch by Reuben Thomas <rrt@sc3d.org>.
11787
457bddfc
RA
117882011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11789
11790 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11791 and -mno-altivec to prevent the compiler from using Altivec and/or
11792 VSX instructions when the corresponding registers are not available.
11793
a4527b51
AS
117942011-05-19 Andreas Schwab <schwab@redhat.com>
11795
11796 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11797
ed690b2f
UD
117982011-05-19 Ulrich Drepper <drepper@gmail.com>
11799
11800 * libio/freopen.c (freopen): Use __dup2, not dup2.
11801 * libio/freopen64.c (freopen64): Likewise.
11802
8db73634
L
118032011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11804
11805 [BZ #12775]
11806 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11807 * math/Makefile (tests): Add test-powl.
11808 (CFLAGS-test-powl.c): Define.
11809 * math/test-powl.c: New file.
11810
0a197a9d
L
118112011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11814
ee30c380
UD
118152011-05-17 Ulrich Drepper <drepper@gmail.com>
11816
11817 [BZ #11837]
11818 * iconvdata/gb18030.c: Update to GB18020-2005.
11819
6ce75379
UD
118202011-05-16 Ulrich Drepper <drepper@gmail.com>
11821
a4b89fd8
AR
11822 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11823 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11824 Patch by Aharon Robbins <arnold@skeeve.com>.
11825
ea389b12
UD
11826 [BZ #11892]
11827 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11828 on the stack.
11829
68a3f91f
UD
11830 [BZ #11895]
11831 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11832 through underflows.
11833
15cc7dd1
UD
11834 [BZ #12766]
11835 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11836 point to strings before performing equality test for error_one_per_line
11837 mode.
11838
f3799213
UD
11839 [BZ #11697]
11840 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11841
d79a9c94
UD
11842 [BZ #11820]
11843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11844 (struct user_fpregs_struct): Avoid __uint*_t types.
11845
56e5eb46
UD
11846 [BZ #6420]
11847 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11848 symbol info. Use it instead of calling _dl_addr locally.
11849 (lock_and_info): New function.
11850 (tr_freehook): Call lock_and_info and pass symbol info as additional
11851 parameter to tr_where.
11852 (tr_mallochook): Likewise.
11853 (tr_reallochook): Likewise.
11854 (tr_memalignhook): Likewise.
11855
6ce75379
UD
11856 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11857 used and couldn't be at all thread-safe.
11858
f8a3b5bf
UD
118592011-05-15 Ulrich Drepper <drepper@gmail.com>
11860
94b7cc37
UD
11861 * libio/freopen.c (freopen): Don't close old file descriptor
11862 before the new one is opened. Instead dup the new file descriptor
11863 to the old one after the new stream is created.
11864 * libio/freopen64.c (freopen64): Likewise.
11865 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11866 * libio/fileops.c (_IO_new_file_close_it): Handle new
11867 _IO_FLAGS2_NOCLOSE flag.
11868 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11869 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11870 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11871 _IO_FLAGS2_NOCLOSE flag.
11872 * include/unistd.h: Add hidden_proto for dup3.
11873 Define __have_dup3.
11874 * io/dup3.c: Define hidden symbol.
11875 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11876
bd25564e
UD
11877 [BZ #7101]
11878 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11879 when an incomplete long option is used.
11880 * posix/tst-getopt_long1.c: New file.
11881 * posix/Makefile (tests): Add tst-getopt_long1.
11882
c84cfef4
UD
11883 [BZ #10138]
11884 * scripts/config.guess: Update from autoconf-2.68.
11885 * scripts/config.sub: Likewise.
11886
3b85df27
UD
11887 [BZ #10157]
11888 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11889 tests into ...
11890 (has_cpuclock): ...this. New function.
11891 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11892 macro here based on has_cpuclock code.
11893
15a856b1
UD
11894 [BZ #10149]
11895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11896 First byte (not low byte) is now always NUL.
11897 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11898
05f399e6
UD
11899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11900 Use non-cancelable interfaces.
11901
10a52685 11902 [BZ #9809]
94ecc67d
UD
11903 * locale/iso-639.def: Add entry for Sorani.
11904
f8a3b5bf
UD
11905 [BZ #11901]
11906 * include/stdlib.h: Move include protection to the right place.
11907 Define abort_msg_s. Declare __abort_msg with it.
11908 * stdlib/abort.c (__abort_msg): Adjust type.
11909 * assert/assert.c (__assert_fail_base): New function. Majority
11910 of code from __assert_fail. Allocate memory for __abort_msg with
11911 mmap.
11912 (__assert_fail): Now call __assert_fail_base.
11913 * assert/assert-perr.c: Remove bulk of implementation. Use
11914 __assert_fail_base.
11915 * include/assert.hL Declare __assert_fail_base.
11916 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11917 mmap.
11918 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11919
1af4e298
UD
119202011-05-14 Ulrich Drepper <drepper@gmail.com>
11921
f8a3b5bf 11922 [BZ #11952]
d26dfc60
MG
11923 [BZ #12453]
11924 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11925 until all modules are registered in the DTV.
11926 * elf/Makefile: Add rules to build and run tst-tls19.
11927 * elf/tst-tls19.c: New file.
11928 * elf/tst-tls19mod1.c: New file.
11929 * elf/tst-tls19mod2.c: New file.
11930 * elf/tst-tls19mod3.c: New file.
11931 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11932
2fc54d6f
UD
11933 [BZ #12083]
11934 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11935 correctly.
11936
98d76b46
UD
11937 [BZ #12601]
11938 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11939 two-byte sequence errors.
11940 * iconvdata/Makefile (tests): Add bug-iconv8.
11941 * iconvdata/bug-iconv8.c: New file.
11942
da3c19ef
UD
11943 [BZ #12626]
11944 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11945 buf2 definition.
11946
ca408c15
UD
11947 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11948
d6f67f7d
UD
11949 [BZ #12432]
11950 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11951 (dummy_getcfa): New function.
11952 (init): Get _Unwind_GetCFA address, use dummy if not found.
11953 (backtrace_helper): In recursion check, also check whether CFA changes.
11954 (__backtrace): Completely initialize arg.
11955
1af4e298 11956 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11957 storing incomplete byte sequence in state object. Avoid testing for
11958 guaranteed too small input if we know there is enough data available.
1af4e298 11959
da62f81b
AS
119602011-05-11 Andreas Schwab <schwab@redhat.com>
11961
11962 * Makeconfig (+link-pie): Indent.
11963 * Rules (binaries-pie): Define if $(have-fpie) and
11964 $(build-shared).
11965 (binaries-shared): Also filter out $(binaries-pie).
11966 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11967 * nscd/Makefile (others-pie): Add nscd.
11968 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11969 ($(objpfx)nscd): Remove command override.
11970 * login/Makefile (others-pie): Add pt_chown.
11971 ($(objpfx)pt_chown): Remove command override.
11972 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11973 remove command overrides.
11974
fcabc0f8
UD
119752011-05-13 Ulrich Drepper <drepper@gmail.com>
11976
20030ae6
UD
11977 * libio/tst_putwc.c: Fix error messages.
11978
fcabc0f8
UD
11979 [BZ #12724]
11980 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11981 currently writing and seek to current position when not.
11982 * libio/Makefile (tests): Add bug-fclose1.
11983 * libio/bug-fclose1.c: New file.
11984
320a5dc0
PB
119852011-05-12 Ulrich Drepper <drepper@gmail.com>
11986
11987 [BZ #12511]
11988 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11989 don't set DF_1_NODELETE here.
11990 (do_lookup_x): When entering new entry test for copy relocation
11991 and if necessary set DF_1_NODELETE flag.
11992 * elf/tst-unique4.cc: New file.
11993 * elf/tst-unique4.h: New file.
11994 * elf/tst-unique4lib.cc: New file.
11995 * elf/Makefile: Add rules to build and run tst-unique4.
11996 Patch by Piotr Bury <pbury@goahead.com>.
11997
22836f52
UD
119982011-05-11 Ulrich Drepper <drepper@gmail.com>
11999
f574184a
UD
12000 [BZ #12052]
12001 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12002
e1fb097f
UD
12003 [BZ #12625]
12004 * misc/mntent_r.c (addmntent): Flush the stream after the output
12005
22836f52
UD
12006 [BZ #12393]
12007 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12008 (is_trusted_path_normalize): Skip initial colon. Append slash
12009 to empty buffer. Duplicate is_trusted_path code but allow
12010 constructed patch to be prefix.
12011 (is_dst): Allow $ORIGIN followed by /.
12012 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12013 Correct testing of result of is_trusted_path_normalize
12014 (decompose_rpath): Fix warning.
12015
7b3b0b2a
UD
120162011-05-10 Ulrich Drepper <drepper@gmail.com>
12017
12018 [BZ #11257]
12019 * grp/initgroups.c (internal_getgrouplist): When we found the service
12020 list through the initgroups entry in nsswitch.conf do not always
12021 continue on a successful lookup. Don't always use the
eac80ce2 12022 __nss_group_database value if it is set.
7b3b0b2a
UD
12023 * nss/nsswitch.conf (initgroups): Change action for successful db
12024 lookup to continue for compatibility.
12025
2a81eaa5
UD
120262011-05-09 Ulrich Drepper <drepper@gmail.com>
12027
be97a69e
UD
12028 [BZ #11532]
12029 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12030 and CP774 modules.
12031 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12032 and CP774 modules.
12033 * iconvdata/tst-tables.sh: Likewise.
12034 * iconvdata/cp770.c: New file.
12035 * iconvdata/cp771.c: New file.
12036 * iconvdata/cp772.c: New file.
12037 * iconvdata/cp773.c: New file.
12038 * iconvdata/cp774.c: New file.
12039 * iconvdata/testdata/CP770: New file.
12040 * iconvdata/testdata/CP770..UTF8: New file.
12041 * iconvdata/testdata/CP771: New file.
12042 * iconvdata/testdata/CP771..UTF8: New file.
12043 * iconvdata/testdata/CP772: New file.
12044 * iconvdata/testdata/CP772..UTF8: New file.
12045 * iconvdata/testdata/CP773: New file.
12046 * iconvdata/testdata/CP773..UTF8: New file.
12047 * iconvdata/testdata/CP774: New file.
12048 * iconvdata/testdata/CP774..UTF8: New file.
12049
12050 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12051 END CHARMAP line.
12052 * iconvdata/gen-8bit-gap.sh: Likewise.
12053 * iconvdata/gen-8bit.sh: Likewise.
12054
c1e9e399
UD
12055 * locale/iso-639.def: Add ary entry.
12056
24c55fb3 12057 [BZ #11258]
96b4b1b0
UD
12058 * locale/C-translit.h.in: Add U20A1 transliteration.
12059
bdc2f971
KB
12060 [BZ #12178]
12061 * locale/iso-639.def: Add wae entry.
12062 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12063
2952b117
UD
12064 [BZ #12545]
12065 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12066 for n.
12067
2a81eaa5
UD
12068 [BZ #12711]
12069 * locale/C-translit.h.in: Add entry for U20B9.
12070 Patch by pravin.d.s@gmail.com.
12071
28377d1b
UD
120722011-05-08 Ulrich Drepper <drepper@gmail.com>
12073
7fb90fb8
UD
12074 [BZ #12713]
12075 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12076 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12077 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12078 in rtld. Use *stat64.
7fb90fb8 12079 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12080 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12081 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12082 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12083 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12084 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12085 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12086 __fstatat64 macros.
7fb90fb8
UD
12087 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12088 * dirent/rewinddir.c: Add libc_hidden_def.
12089 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12090 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12091
28377d1b
UD
12092 * include/dirent.h (__alloc_dir): Add flags parameter.
12093 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12094 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12095 __alloc_dir.
12096 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12097 from fdopendir if O_CLOEXEC is already set.
12098
66bdbaa4
AM
120992011-03-15 Alan Modra <amodra@gmail.com>
12100
12101 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12102 l_tls_firstbyte_offset non-zero. Save padding offset in
12103 l_tls_firstbyte_offset for later use.
12104 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12105 freeing static tls block.
12106
95721191
JN
121072011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12108
12109 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12110 where #ifdef was intended. The intent is to prevent ARG_MAX from
12111 being defined by the kernel headers.
12112
f87dfb1f
UD
121132011-05-07 Ulrich Drepper <drepper@gmail.com>
12114
12115 [BZ #12734]
12116 * resolv/resolv.h: Define RES_NOTLDQUERY.
12117 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12118 no-tld-query and set RES_NOTLDQUERY.
12119 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12120 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12121 modern BIND to search name as TLD unless forbidden.
12122
47c3cd7a
UD
121232011-05-07 Petr Baudis <pasky@suse.cz>
12124 Ulrich Drepper <drepper@gmail.com>
12125
12126 [BZ #12393]
12127 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12128 (is_trusted_path): ...to here.
c1e9ea35 12129 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12130 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12131 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12132
8a35c912
PP
121332011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12134
12135 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12136 __BEGIN/__END_DECLS.
12137
acd41f47
UD
121382011-05-06 Ulrich Drepper <drepper@gmail.com>
12139
12140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12141 NSS_STATUS_NOTFOUND if no record was found.
12142
597df647
AS
121432011-05-05 Andreas Schwab <schwab@redhat.com>
12144
12145 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12146 (headers-not-in-tirpc): Remove rpc/netdb.h
12147 * resolv/netdb.h: Revert last change.
12148
b9af1301
PP
121492011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12150
12151 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12152 circular dependency between libgcc.a and libc.a.
12153
4e34d5f5
AS
121542011-05-05 Andreas Schwab <schwab@redhat.com>
12155
12156 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12157 * nis/Makefile: Don't install rpcsvc/*.
12158 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12159 instead of <rpc/types.h>.
12160 (MAXHOSTNAMELEN): Define.
12161
00ee369c
AS
121622011-05-03 Andreas Schwab <schwab@redhat.com>
12163
12164 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12165
0b592a30
MB
121662011-04-28 Maciej Babinski <mbabinski@google.com>
12167
12168 [BZ #12714]
12169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12170 gethostbyname4_r when IPv6 results are possible.
12171
6e04cbbe
UD
121722011-05-02 Ulrich Drepper <drepper@gmail.com>
12173
12174 [BZ #12723]
12175 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12176 _PC_PIPE_BUF handling.
12177
e4ecafe0
BH
121782011-04-30 Bruno Haible <bruno@clisp.org>
12179
12180 [BZ #12717]
12181 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12182 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12183 to 'int'.
12184 * inet/getnameinfo.c (getnameinfo): Likewise.
12185
125ee683
UD
121862011-04-29 Ulrich Drepper <drepper@gmail.com>
12187
12188 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12189 to groups setting in database lookup.
12190 * nss/nsswitch.conf: Add initgroups entry.
12191
b722481a
EB
121922011-04-22 Ulrich Drepper <drepper@gmail.com>
12193
12194 [BZ #12685]
12195 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12196 mode string.
12197 Patch by Eric Blake <eblake@redhat.com>.
12198
4df46dbd
L
121992011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12200
12201 * sunrpc/Makefile (need-export-routines): Add svc_run.
12202 (routines): Remove svc_run.
12203 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12204 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12205 * sunrpc/svc_run.c (svc_run): Likewise.
12206 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12207
e84142d2
UD
122082011-04-21 Ulrich Drepper <drepper@gmail.com>
12209
12210 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12211 problem in reallocation in last patch.
12212
877175d8
UD
122132011-04-20 Ulrich Drepper <drepper@gmail.com>
12214
12215 * sunrpc/Makefile: Move inclusion of Rules.
12216
ab8eed78
UD
122172011-04-19 Ulrich Drepper <drepper@gmail.com>
12218
12219 * nss/nss_files/files-initgroups.c: New file.
12220 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12221 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12222 _nss_files_initgroups_dyn.
12223
e3d8f584
RS
122242011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12225
12226 * elf/elf.h (R_ARM_IRELATIVE): Define.
12227
af190f45
UD
122282011-04-19 Ulrich Drepper <drepper@gmail.com>
12229
12230 * po/ru.po: Update from translation team.
12231
53cf59ef
UD
122322011-04-17 Ulrich Drepper <drepper@gmail.com>
12233
12234 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12235 dependencies.
12236
4c559bcd
MF
122372011-02-06 Mike Frysinger <vapier@gentoo.org>
12238
12239 [BZ #12653]
12240 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12241 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12242 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12243 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12245
4420675c
AS
122462011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12247
12248 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12249 differing bytes.
12250 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12251 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12253
75ea32ab
UD
122542011-04-17 Ulrich Drepper <drepper@gmail.com>
12255
12256 [BZ #12420]
12257 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12258 storing it.
12259 * stdlib/bug-getcontext.c: New file.
12260 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12261
27390476
AK
122622011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12263
12264 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12265 instructions into .machine "z9-109".
12266 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12267 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12268
10442705
AK
122692011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12270
12271 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12272 between environment variables and auxiliary vector.
12273
7b57bfe5
UD
122742011-04-16 Ulrich Drepper <drepper@gmail.com>
12275
12276 * Makefile: Add rules to build linkobj/libc.so.
12277 * include/libc-symbols.h: Define libc_hidden_nolink.
12278 * include/rpc/auth.h: Mark functions which are to be hidden.
12279 * include/rpc/auth_des.h: Likewise.
12280 * include/rpc/auth_unix.h: Likewise.
12281 * include/rpc/clnt.h: Likewise.
12282 * include/rpc/des_crypt.h: Likewise.
12283 * include/rpc/key_prot.h: Likewise.
12284 * include/rpc/pmap_clnt.h: Likewise.
12285 * include/rpc/pmap_prot.h: Likewise.
12286 * include/rpc/pmap_rmt.h: Likewise.
12287 * include/rpc/rpc_msg.h: Likewise.
12288 * include/rpc/svc.h: Likewise.
12289 * include/rpc/svc_auth.h: Likewise.
12290 * include/rpc/xdr.h: Likewise.
12291 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12292 * nss/Makefile: Likewise.
12293 * sunrpc/Makefile: Don't install headers. Build library with normal
12294 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12295 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12296 for the compat linking library. Remove use of INTDEF/INTUSE.
12297 * sunrpc/auth_none.c: Likewise.
12298 * sunrpc/auth_unix.c: Likewise.
12299 * sunrpc/authdes_prot.c: Likewise.
12300 * sunrpc/authuxprot.c: Likewise.
12301 * sunrpc/clnt_gen.c: Likewise.
12302 * sunrpc/clnt_perr.c: Likewise.
12303 * sunrpc/clnt_raw.c: Likewise.
12304 * sunrpc/clnt_simp.c: Likewise.
12305 * sunrpc/clnt_tcp.c: Likewise.
12306 * sunrpc/clnt_udp.c: Likewise.
12307 * sunrpc/clnt_unix.c: Likewise.
12308 * sunrpc/des_crypt.c: Likewise.
12309 * sunrpc/des_soft.c: Likewise.
12310 * sunrpc/get_myaddr.c: Likewise.
12311 * sunrpc/key_call.c: Likewise.
12312 * sunrpc/key_prot.c: Likewise.
12313 * sunrpc/netname.c: Likewise.
12314 * sunrpc/pm_getmaps.c: Likewise.
12315 * sunrpc/pm_getport.c: Likewise.
12316 * sunrpc/pmap_clnt.c: Likewise.
12317 * sunrpc/pmap_prot.c: Likewise.
12318 * sunrpc/pmap_prot2.c: Likewise.
12319 * sunrpc/pmap_rmt.c: Likewise.
12320 * sunrpc/publickey.c: Likewise.
12321 * sunrpc/rpc_cmsg.c: Likewise.
12322 * sunrpc/rpc_common.c: Likewise.
12323 * sunrpc/rpc_dtable.c: Likewise.
12324 * sunrpc/rpc_prot.c: Likewise.
12325 * sunrpc/rpc_thread.c: Likewise.
12326 * sunrpc/rtime.c: Likewise.
12327 * sunrpc/svc.c: Likewise.
12328 * sunrpc/svc_auth.c: Likewise.
12329 * sunrpc/svc_authux.c: Likewise.
12330 * sunrpc/svc_raw.c: Likewise.
12331 * sunrpc/svc_run.c: Likewise.
12332 * sunrpc/svc_simple.c: Likewise.
12333 * sunrpc/svc_tcp.c: Likewise.
12334 * sunrpc/svc_udp.c: Likewise.
12335 * sunrpc/svc_unix.c: Likewise.
12336 * sunrpc/svcauth_des.c: Likewise.
12337 * sunrpc/xcrypt.c: Likewise.
12338 * sunrpc/xdr.c: Likewise.
12339 * sunrpc/xdr_array.c: Likewise.
12340 * sunrpc/xdr_float.c: Likewise.
12341 * sunrpc/xdr_intXX_t.c: Likewise.
12342 * sunrpc/xdr_mem.c: Likewise.
12343 * sunrpc/xdr_rec.c: Likewise.
12344 * sunrpc/xdr_ref.c: Likewise.
12345 * sunrpc/xdr_sizeof.c: Likewise.
12346 * sunrpc/xdr_stdio.c: Likewise.
12347
e6c61494
UD
123482011-04-10 Ulrich Drepper <drepper@gmail.com>
12349
12350 [BZ #12650]
12351 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12352 * sysdeps/ia64/dl-tls.h: Likewise.
12353 * sysdeps/powerpc/dl-tls.h: Likewise.
12354 * sysdeps/s390/dl-tls.h: Likewise.
12355 * sysdeps/sh/dl-tls.h: Likewise.
12356 * sysdeps/sparc/dl-tls.h: Likewise.
12357 * sysdeps/x86_64/dl-tls.h: Likewise.
12358 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12359
34fe483e
AS
123602011-03-14 Andreas Schwab <schwab@redhat.com>
12361
12362 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12363 rpath element also skip the following colon.
12364 (expand_dynamic_string_token): Add is_path parameter and pass
12365 down to DL_DST_REQUIRED and _dl_dst_substitute.
12366 (decompose_rpath): Call expand_dynamic_string_token with
12367 non-zero is_path. Ignore empty rpaths.
12368 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12369 with zero is_path.
12370
f12a32e6
AS
123712011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12372
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12374 Make cancelable.
12375
38a7d692
UD
123762011-04-09 Ulrich Drepper <drepper@gmail.com>
12377
12378 [BZ #12655]
12379 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12380 Patch by Filipe David Manana <fdmanana@apache.org>.
12381
e451d22b
AS
123822011-04-07 Andreas Schwab <schwab@redhat.com>
12383
12384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12385 Maintain aligned stack.
12386 (CHECK_RSP): Remove unused macro.
12387
dedc7c7b
UD
123882011-04-03 Ulrich Drepper <drepper@gmail.com>
12389
12390 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12391 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12392
94521213
UD
123932011-04-02 Ulrich Drepper <drepper@gmail.com>
12394
12395 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12396
8cb700c0 12397 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12398
0354e355
L
123992011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12400
12401 [BZ #12518]
12402 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12403 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12404 * sysdeps/x86_64/memmove.c: New file.
12405 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12406 (memcpy): Renamed to ...
12407 (__new_memcpy): This.
12408 (memcpy): Provide GLIBC_2_14 memcpy.
12409 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12410 (memcpy): Provide GLIBC_2_2_5 memcpy.
12411
8593482f
UD
124122011-04-01 Ulrich Drepper <drepper@gmail.com>
12413
12414 [BZ #12631]
12415 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12416
81a5726b
AS
124172011-03-30 Andreas Schwab <schwab@redhat.com>
12418
12419 * misc/syncfs.c: New file.
12420 * misc/Makefile (routines): Add syncfs.
12421 * posix/unistd.h: Declare syncfs.
12422 * sysdeps/unix/syscalls.list: Add syncfs.
12423
00e5419f
AS
124242011-04-01 Andreas Schwab <schwab@redhat.com>
12425
12426 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12427 open_by_handle_at.
12428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12429 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12431 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12433 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12435
748876bf
UD
124362011-04-01 Ulrich Drepper <drepper@gmail.com>
12437
658e451d
UD
12438 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12439 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12440 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12442 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12444 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12445
748876bf
UD
12446 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12447 sync_file_range.c with -fexceptions.
12448 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12449 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12450 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12451 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12452 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12453 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12454 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12455 sync_file_range as cancellation point
12456 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12457 now a wrapper around __call_sync_file_range with cancellation handling.
12458 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12459 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12460 function name to __call_sync_file_range.
12461 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12462 Add call_sync_file_range.
748876bf 12463
6e63d5e1
AS
124642011-04-01 Andreas Schwab <schwab@redhat.com>
12465
12466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12467 bits/timex.h.
6e63d5e1 12468
46998f74
UD
124692011-04-01 Ulrich Drepper <drepper@gmail.com>
12470
4c1423ed
UD
12471 * iconv/iconv.h: Fix typo in comment.
12472 * io/fcntl.h: Likewise.
12473 * libio/stdio.h: Likewise.
12474 * posix/spawn.h: Likewise.
12475 * posix/unistd.h: Likewise.
12476 * stdlib/stdlib.h: Likewise.
12477 * time/time.h: Likewise.
12478 * wcsmbs/wchar.h: Likewise.
12479
158648c0
UD
12480 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12481 open_by_handle): Add.
12482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12483 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12484 Augment a few comments.
12485 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12488 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12490 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12491 open_by_handle.
12492
46998f74
UD
12493 * io/fcntl.h (AT_EMPTY_PATH): Define.
12494
83fe108b
UD
124952011-03-30 Ulrich Drepper <drepper@gmail.com>
12496
12497 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12498 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12499 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12500 to...
12501 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12502 * Versions.def: Add GLIBC_2.14.
12503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12504 Export.
83fe108b 12505
bb242059
UD
125062011-03-22 Ulrich Drepper <drepper@gmail.com>
12507
12508 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12509 round counter.
12510 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12511
c97a1282
L
125122011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12513
12514 [BZ #12597]
12515 * string/test-strncmp.c (do_page_test): New function.
12516 (check2): Likewise.
12517 (test_main): Call check2.
12518 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12519
2a115601
UD
125202011-03-20 Ulrich Drepper <drepper@gmail.com>
12521
12522 [BZ #12587]
12523 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12524 Handle cache information in CPU leaf 4.
12525 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12526
8126d904
UD
125272011-03-18 Ulrich Drepper <drepper@gmail.com>
12528
042c49c6 12529 [BZ #12583]
8126d904
UD
12530 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12531 character representation.
12532 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12533
ccfe366e
RA
125342011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12535
12536 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12537 END(__isnan) to END(__isnanf) to match function entry point/label
12538 EALIGN(__isnanf,...).
12539
c6e13027
JJ
125402011-03-10 Jakub Jelinek <jakub@redhat.com>
12541
12542 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12543
33f85a3f
UD
125442011-03-10 Ulrich Drepper <drepper@gmail.com>
12545
028478fa
UD
12546 [BZ #12510]
12547 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12548 copy from the symbol referenced in the relocation to initialize the
12549 used variable.
12550 Patch by Piotr Bury <pbury@goahead.com>.
12551 * elf/Makefile: Add rules to build and tst-unique3.
12552 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12553 * elf/tst-unique3.cc: New file.
12554 * elf/tst-unique3.h: New file.
12555 * elf/tst-unique3lib.cc: New file.
12556 * elf/tst-unique3lib2.cc: New file.
12557
33f85a3f
UD
12558 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12559
03592fc7
MF
125602011-03-10 Mike Frysinger <vapier@gentoo.org>
12561
12562 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12563 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12564 to _start.
03592fc7 12565
6a5ee102
UD
125662011-03-06 Ulrich Drepper <drepper@gmail.com>
12567
12568 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12569 to-be-loaded object along a path to loader is ld.so.
12570
7e4ba49c
HJ
125712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12572 Ulrich Drepper <drepper@gmail.com>
12573
12574 * sysdeps/x86_64/memset.S: After aligning destination, code
12575 branches to different locations depending on the value of
12576 misalignment, when multiarch is enabled. Fix this.
12577
125782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12579
12580 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12581 Set _x86_64_preferred_memory_instruction for AMD processsors.
12582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12583 Set bit_Prefer_SSE_for_memop for AMD processors.
12584
13a804de
UD
125852011-03-04 Ulrich Drepper <drepper@gmail.com>
12586
12587 * libio/fmemopen.c (fmemopen): Optimize a bit.
12588
9d25c392
AS
125892011-03-03 Andreas Schwab <schwab@redhat.com>
12590
12591 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12592
a5543c6a
RM
125932011-03-03 Roland McGrath <roland@redhat.com>
12594
12595 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12596
012d35f7
DM
125972011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12598
7e4ba49c 12599 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12600 __bzero_ultra1 instead of __memset_ultra1.
12601
4bff6e01
AS
126022011-02-23 Andreas Schwab <schwab@redhat.com>
12603 Ulrich Drepper <drepper@gmail.com>
12604
12605 [BZ #12509]
12606 * include/link.h (struct link_map): Add l_orig_initfini.
12607 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12608 returning unsuccessfully.
12609 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12610 close of a file loaded at startup, restore the original l_initfini
12611 list.
12612 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12613 list, store the pointer.
12614 * elf/Makefile ($(objpfx)noload-mem): New rule.
12615 (noload-ENV): Define.
12616 (tests): Add $(objpfx)noload-mem.
12617 * elf/noload.c: Include <memcheck.h>.
12618 (main): Call mtrace. Close all opened handles.
12619
f2092faf
AS
126202011-02-17 Andreas Schwab <schwab@redhat.com>
12621
12622 [BZ #12454]
12623 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12624 dependencies are missing.
12625
6c8a2e88
ST
126262011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12627
f2092faf 12628 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12629 Hurd needs munmap.
12630 * sysdeps/mach/hurd/ifreq.h: New file.
12631
84a42118
PB
126322011-01-27 Petr Baudis <pasky@suse.cz>
12633 Ulrich Drepper <drepper@gmail.com>
12634
071f805e 12635 [BZ 12445]#
84a42118
PB
12636 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12637 to extend_alloca().
12638 * stdio-common/bug23.c: New file.
12639 * stdio-common/Makefile (tests): Add bug23.
12640
e23fe25b
AS
126412010-09-28 Andreas Schwab <schwab@redhat.com>
12642 Ulrich Drepper <drepper@gmail.com>
12643
12644 [BZ #12489]
12645 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12646 before performing relro protection. At old place add assertion
12647 to make sure nothing changed.
12648
d3f02e10
NS
126492011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12650 Glauber de Oliveira Costa <glommer@gmail.com>
12651
12652 * elf/elf.h: Add new ARM TLS relocs.
12653
d55fd7a5
RA
126542011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12655
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12657 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12658 cast from r3.
12659 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12660 'tests' variable.
12661 * sysdeps/wordsize-64/tst-writev.c: New file.
12662
2206397e
RA
126632011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12664
12665 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12666 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12667 insns in _dl_start to prevent a TOC reference before relocs are
12668 resolved.
12669
e9433893
UD
126702011-02-15 Ulrich Drepper <drepper@gmail.com>
12671
12672 [BZ #12469]
12673 * Makeconfig: Remove RANLIB definition.
12674 * Makerules: Don't use RANLIB.
12675 * aclocal.m4: Remove ranlib test.
12676 * configure.in: No need to check for ranlib.
12677 * elf/rtld-Rules: Don't use RANLIB.
12678
f75286c6
ST
126792011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12680
8e31c82d
ST
12681 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12682 protection macro.
12683 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12684 inclusion protection macro.
12685
f75286c6
ST
12686 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12687 SIGRTMIN and SIGRTMAX and print information in that case only when
12688 SIGRTMIN is defined.
12689
c1d0e639
JJ
126902011-02-11 Jakub Jelinek <jakub@redhat.com>
12691
12692 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12693 arginfo fn returning -1.
12694
12695 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12696 and thousands string is zero terminated.
12697
edf9294e
AS
126982011-02-03 Andreas Schwab <schwab@redhat.com>
12699
12700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12701 sysdeps/unix/sysv/linux/bits/socket.h.
12702
2b7e92df
ST
127032011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12704
edf9294e
AS
12705 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12706 (__CPU_COUNT): Remove old macros.
12707 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12708 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12709 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12710 (__sched_cpualloc, __sched_cpufree): Add declarations.
12711
a4c7ea7b
UD
127122011-02-05 Ulrich Drepper <drepper@gmail.com>
12713
12714 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12715 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12716 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12717 (readdhstai): Return value of addhstaiX call.
12718 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12719 (addgrbyX): Return value returned by cache_addgr.
12720 (readdgrbyname): Return value returned by addgrbyX.
12721 (readdgrbygid): Likewise.
12722 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12723 (addpwbyX): Return value returned by cache_addpw.
12724 (readdpwbyname): Return value returned by addhstbyX.
12725 (readdpwbyuid): Likewise.
12726 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12727 (addservbyX): Return value returned by cache_addserv.
12728 (readdservbyname): Return value returned by addservbyX:
12729 (readdservbyport): Likewise.
12730 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12731 (addhstbyX): Return value returned by cache_addhst.
12732 (readdhstbyname): Return value returned by addhstbyX.
12733 (readdhstbyaddr): Likewise.
12734 (readdhstbynamev6): Likewise.
12735 (readdhstbyaddrv6): Likewise.
12736 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12737 (readdinitgroups): Return value returned by addinitgroupsX.
12738 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12739 (prune_cache): Keep track of timeout value of re-added entries.
12740 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12741 * nscd/nscd.h: Adjust prototypes of readd* functions.
12742
a0bf67cc
RM
127432011-02-04 Roland McGrath <roland@redhat.com>
12744
12745 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12746 (nis_stats): Likewise.
12747 * nis/nis_modify.c (nis_modify): Likewise.
12748 * nis/nis_remove.c (nis_remove): Likewise.
12749 * nis/nis_add.c (nis_add): Likewise.
12750
12751 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12752
12753 * posix/fnmatch_loop.c: Add some consts.
12754
12755 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12756
435b95eb
L
127572011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12758
12759 [BZ #12460]
12760 * config.make.in (config-cflags-novzeroupper): Define.
12761 * configure.in: Substitute libc_cv_cc_novzeroupper.
12762 * elf/Makefile (AVX-CFLAGS): Define.
12763 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12764 (CFLAGS-tst-auditmod4a.c): Likewise.
12765 (CFLAGS-tst-auditmod4b.c): Likewise.
12766 (CFLAGS-tst-auditmod6b.c): Likewise.
12767 (CFLAGS-tst-auditmod6c.c): Likewise.
12768 (CFLAGS-tst-auditmod7b.c): Likewise.
12769 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12770
8517b15e
UD
127712011-02-02 Ulrich Drepper <drepper@gmail.com>
12772
12773 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12774 function to the callback.
12775 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12776
10a656fe
AS
127772011-02-02 Andreas Schwab <schwab@redhat.com>
12778
12779 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12780 of errno.
12781
968dad0a
UD
127822011-01-19 Ulrich Drepper <drepper@gmail.com>
12783
9f94d2ea 12784 [BZ #11724]
968dad0a
UD
12785 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12786 of constructors.
12787 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12788 of destructors.
12789 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12790
12791 [BZ #11724]
12792 * elf/Makefile: Add rules to build and run new test.
12793 * elf/tst-initorder.c: New file.
12794 * elf/tst-initorder.exp: New file.
12795 * elf/tst-initordera1.c: New file.
12796 * elf/tst-initordera2.c: New file.
12797 * elf/tst-initordera3.c: New file.
12798 * elf/tst-initordera4.c: New file.
12799 * elf/tst-initorderb1.c: New file.
12800 * elf/tst-initorderb2.c: New file.
12801 * elf/tst-order-a1.c: New file.
12802 * elf/tst-order-a2.c: New file.
12803 * elf/tst-order-a3.c: New file.
12804 * elf/tst-order-a4.c: New file.
12805 * elf/tst-order-b1.c: New file.
12806 * elf/tst-order-b2.c: New file.
12807 * elf/tst-order-main.c: New file.
12808 New test case by George Gensure <werkt0@gmail.com>.
12809
86e92359
UD
128102010-10-01 Andreas Schwab <schwab@redhat.com>
12811
12812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12813 decoding ACE if AI_CANONIDN.
12814
5d5732b0
UD
128152011-01-18 Ulrich Drepper <drepper@gmail.com>
12816
12817 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12818
a77e8cbc
UD
128192011-01-17 Ulrich Drepper <drepper@gmail.com>
12820
6392473f
UD
12821 * version.h (RELEASE): Bump for 2.13 release.
12822 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12823
620a0529
UD
12824 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12825
18ba70a5
UD
12826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12827 MADV_NOHUGEPAGE.
32465c3e
UD
12828 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12829 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12830 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12831 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12832 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12833 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12834
c0dafcf1
UD
12835 * posix/getconf.c: Update copyright year.
12836 * catgets/gencat.c: Likewise.
12837 * csu/version.c: Likewise.
12838 * debug/catchsegv.sh: Likewise.
12839 * debug/xtrace.sh: Likewise.
12840 * elf/ldconfig.c: Likewise.
12841 * elf/ldd.bash.in: Likewise.
12842 * elf/sprof.c (print_version): Likewise.
12843 * iconv/iconv_prog.c: Likewise.
12844 * iconv/iconvconfig.c: Likewise.
12845 * locale/programs/locale.c: Likewise.
12846 * locale/programs/localedef.c: Likewise.
12847 * malloc/memusage.sh: Likewise.
12848 * malloc/mtrace.pl: Likewise.
12849 * nscd/nscd.c (print_version): Likewise.
12850 * nss/getent.c: Likewise.
12851
a77e8cbc
UD
12852 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12853 PF_CAIF, and PF_ALG.
12854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12855
77e8bddf
AS
128562011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12857
1f20b93a
AS
12858 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12859 (modules-names): Use them.
12860 (ifunc-test-modules, ifunc-pie-tests): Define.
12861 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12862 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12863 (test-extras): Likewise.
12864 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12865 $(compile-command.c).
12866 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12867 (all-built-dso): Define.
12868 (check-textrel.out, check-execstack.out): Depend on it.
12869
77e8bddf
AS
12870 * configure.in: Don't override --enable-multi-arch.
12871
bc425b33
UD
128722011-01-15 Ulrich Drepper <drepper@gmail.com>
12873
12874 [BZ #6812]
12875 * nscd/hstcache.c (tryagain): Define.
12876 (cache_addhst): Return tryagain not notfound for temporary errors.
12877 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12878 failed.
12879
794c3ad3
UD
128802011-01-14 Ulrich Drepper <drepper@gmail.com>
12881
70181fdd
UD
12882 [BZ #10563]
12883 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12884 to make the syscall.
12885 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12886
794c3ad3
UD
12887 [BZ #12378]
12888 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12889 and fall back to matching as normal character if the string ends before
12890 the matching ']' is found. This is what POSIX requires.
12891 * posix/testfnm.c: Adjust test result.
12892 * posix/globtest.sh: Adjust test result. Add new test.
12893 * posix/tst-fnmatch.input: Likewise.
12894 * posix/tst-fnmatch2.c: Add new test.
12895
68dc9497
AS
128962010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12897
12898 * elf/Makefile (check-execstack): Revert last change. Depend on
12899 check-execstack.h.
12900 (check-execstack.h): New target.
12901 (generated): Add check-execstack.h.
12902 * elf/check-execstack.c: Include "check-execstack.h".
12903 (main): Revert last change.
12904 (handle_file): Return zero if GNU_STACK is absent and
12905 DEFAULT_STACK_PERMS doesn't include PF_X.
12906
451f001b
UD
129072011-01-13 Ulrich Drepper <drepper@gmail.com>
12908
cfa28e56
UD
12909 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12910 in child fails because the descriptor is already closed.
8cf8ce17
UD
12911 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12912 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12913 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12914
1086d70d
UD
12915 [BZ #12397]
12916 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12917 syscall.
12918
451f001b
UD
12919 [BZ #10484]
12920 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12921 temporary buffer used to handle multi lookups locally.
a85b5cb4 12922 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12923
08769175
UD
129242011-01-12 Ulrich Drepper <drepper@gmail.com>
12925
12926 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12927 loader is ld.so.
12928
5e49c52e
UD
129292011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12930
12931 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12932 alignment for SSE2.
12933
60522a5f
UD
129342011-01-12 Ulrich Drepper <drepper@gmail.com>
12935
12936 [BZ #12394]
12937 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12938 characters. When rounding increased number of integer digits recompute
12939 number of groups.
12940 * stdio-common/tst-grouping.c: New file.
12941 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12942
f257bbd7
UD
129432011-01-09 Ulrich Drepper <drepper@gmail.com>
12944
12945 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12946 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12947
12948 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12949 void.
12950 * bits/select.h: Likewise.
12951
fa9c15cb
UD
129522011-01-08 Ulrich Drepper <drepper@gmail.com>
12953
12954 * po/ja.po: Update from translation team.
12955
16c2895f
DM
129562011-01-04 David S. Miller <davem@sunset.davemloft.net>
12957
12958 [BZ #11155]
12959 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12960 implementation just like for lxstat, fxstatat, et al.
12961
2543fef2
JM
129622010-12-27 Jim Meyering <meyering@redhat.com>
12963
12964 [BZ #12348]
12965 * posix/regexec.c (build_trtable): Return failure indication upon
12966 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12967
98727dbe
UD
129682010-12-25 Ulrich Drepper <drepper@gmail.com>
12969
5bd6dc5c
UD
12970 [BZ #12201]
12971 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12972 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12973 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12974 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12975
97983464
UD
12976 [BZ #12207]
12977 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12978
98727dbe
UD
12979 [BZ #12204]
12980 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12981 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12982
4a531bb0
L
129832010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12984
12985 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12986 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12987 script has SORT_BY_INIT_PRIORITY.
12988 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12989 NO_CTORS_DTORS_SECTIONS is defined.
12990 * elf/soinit.c: Likewise.
12991 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12992 NO_CTORS_DTORS_SECTIONS is defined.
12993 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12994 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12995 * sysdeps/sh/init-first.c: Likewise.
12996 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12997
07eb4b71
UD
129982010-12-24 Ulrich Drepper <drepper@gmail.com>
12999
13000 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13001 always use the slow path.
13002
30950a5f
RA
130032010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13004
13005 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13006 similar rule which adds the sysdep directories to the header search in
13007 order to pick up the correct platform stackinfo.h.
13008 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13009 perform test if it is, otherwise return successfully without testing.
13010 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13011 DEFAULT_STACK_PERMS define in stackinfo.h.
13012 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13013 defined in stackinfo.h.
13014 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13015 DEFAULT_STACK_PERMS defined in stackinfo.h.
13016 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13017 * sysdeps/ia64/stackinfo.h: Likewise.
13018 * sysdeps/s390/stackinfo.h: Likewise.
13019 * sysdeps/sh/stackinfo.h: Likewise.
13020 * sysdeps/sparc/stackinfo.h: Likewise.
13021 * sysdeps/x86_64/stackinfo.h: Likewise.
13022 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13023 PF_X for powerpc64. Retain PF_X for powerpc32.
13024
db753e2c
UD
130252010-12-19 Ulrich Drepper <drepper@gmail.com>
13026
14b697f7
UD
13027 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13028 accurately.
db753e2c
UD
13029 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13030 GETDENTS_64BIT_ALIGNED.
13031
28300719
UD
130322010-12-14 Ulrich Drepper <dreper@gmail.com>
13033
14b697f7 13034 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13035
4f197237
AS
130362010-12-10 Andreas Schwab <schwab@redhat.com>
13037
dbb0472f
AS
13038 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13039 _GNU_SOURCE.
13040
4f197237
AS
13041 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13042 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13043 Remove __restrict.
13044 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13045 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13046
fb88ac72
UD
130472010-12-09 Ulrich Drepper <drepper@gmail.com>
13048
13049 [BZ #11655]
13050 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13051 are initialized.
13052
42acbb92
JJ
130532010-12-09 Jakub Jelinek <jakub@redhat.com>
13054
13055 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13056
c038d98d
UD
130572010-12-03 Ulrich Drepper <drepper@gmail.com>
13058
13059 * po/it.po: Update from translation team.
13060
3a4a2499
L
130612010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13062
13063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13064 unused codes.
13065
1e24cf6e
UD
130662010-11-30 Ulrich Drepper <drepper@gmail.com>
13067
13068 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13069
a7690819
AS
130702010-11-24 Andreas Schwab <schwab@redhat.com>
13071
13072 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13073 specially.
13074 (gaih_getanswer_slice): Likewise.
13075
3bf8d1b1
JJ
130762010-10-20 Jakub Jelinek <jakub@redhat.com>
13077
13078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13079
6db52fbb
PB
130802010-05-31 Petr Baudis <pasky@suse.cz>
13081
13082 [BZ #11149]
13083 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13084 silently even in the chroot mode.
13085
eaca7569
UD
130862010-11-22 Ulrich Drepper <drepper@gmail.com>
13087
13088 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13089 last patch a bit. Pretty printing
13090
3056dcdb
UD
130912010-05-31 Petr Baudis <pasky@suse.cz>
13092
13093 [BZ #10085]
13094 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13095 initialization of skip_initgroups_dyn.
13096
cf7c9078
UD
130972010-11-19 Ulrich Drepper <drepper@gmail.com>
13098
13099 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13101
a1fb5e3e
UD
131022010-11-16 Ulrich Drepper <drepper@gmail.com>
13103
13104 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13105
3540d66b
AS
131062010-11-11 Andreas Schwab <schwab@redhat.com>
13107
13108 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13109 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13110 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13111 ($(objpfx)tst-fnmatch-mem): New rule.
13112 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13113 * posix/tst-fnmatch.c (main): Call mtrace.
13114
13b69574
L
131152010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13116
13117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13118 Support Intel processor model 6 and model 0x2c.
13119
da93d214
LM
131202010-11-10 Luis Machado <luisgpm@br.ibm.com>
13121
13122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13123 signed comparison.
13124
8ca52c6e
L
131252010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13126
13127 [BZ #12205]
13128 * string/test-strncasecmp.c (check_result): New function.
13129 (do_one_test): Use it.
13130 (check1): New function.
13131 (test_main): Use it.
13132 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13133 Support strcasecmp and strncasecmp.
13134
69da074d
UD
131352010-11-08 Ulrich Drepper <drepper@gmail.com>
13136
13137 [BZ #12194]
13138 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13139 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13140
ff02d528
L
131412010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13142
13143 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13144 IFUNC support.
13145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13146 memset-x86-64.
13147 * sysdeps/x86_64/multiarch/bzero.S: New file.
13148 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13149 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13150 * sysdeps/x86_64/multiarch/memset.S: New file.
13151 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13153 Set bit_Prefer_SSE_for_memop for Intel processors.
13154 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13155 Define.
13156 (index_Prefer_SSE_for_memop): Define.
13157 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13158
344d0b54
LM
131592010-11-04 Luis Machado <luisgpm@br.ibm.com>
13160
13161 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13162 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13163
c0dde15b
UD
131642010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13165
13166 [BZ #12191]
13167 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13168 (__x86_64_raw_data_cache_size_half): Likewise.
13169 (__x86_64_raw_shared_cache_size): Likewise.
13170 (__x86_64_raw_shared_cache_size_half): Likewise.
13171
13172 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13173 (__x86_64_raw_data_cache_size_half): Likewise.
13174 (__x86_64_raw_shared_cache_size): Likewise.
13175 (__x86_64_raw_shared_cache_size_half): Likewise.
13176 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13177 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13178 and __x86_64_raw_shared_cache_size_half. Round
13179 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13180 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13181 to multiple of 256 bytes.
13182
0e516e0e
MS
131832010-11-03 Ulrich Drepper <drepper@gmail.com>
13184
13185 [BZ #12167]
13186 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13187 of inacessible symlinks. Verify result of symlink before returning it.
13188 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13189 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13190
0e012e87
ER
131912010-10-28 Erich Ritz <erichritz@gmail.com>
13192
13193 * math/math.h (isinf): Fix typo in comment.
13194
de0ff7bc
UD
131952010-11-01 Ulrich Drepper <drepper@gmail.com>
13196
13197 * po/da.po: Update from translation team.
13198
fa41c84d
UD
131992010-10-26 Ulrich Drepper <drepper@gmail.com>
13200
13201 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13202 is added to the list.
13203
f0967738
AK
132042010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13205 Ulrich Drepper <drepper@gmail.com>
13206
13207 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13208 the global list here. Move code to...
13209 (_dl_add_to_namespace_list): ...here. New function.
13210 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13211 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13212 * elf/dl-load.c (lose): Don't remove the element from the list.
13213 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13214 (_dl_map_object): Likewise.
13215
132162010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13217
13218 [BZ #12159]
13219 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13220 into all bytes of SSE register.
13221 Patch by Richard Li <richardpku@gmail.com>.
13222
f0967738 132232010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13224
13225 [BZ #12140]
13226 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13227 perturbing.
13228
d0b9e94f
MB
132292010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13230
13231 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13232 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13234 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13236 submachine.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13238
8e9f92e9
AS
132392010-10-22 Andreas Schwab <schwab@redhat.com>
13240
13241 * include/dlfcn.h (__RTLD_SECURE): Define.
13242 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13243 mode & __RTLD_SECURE instead.
13244 (open_path): Rename preloaded parameter to secure.
13245 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13246 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13247 * elf/dl-deps.c (openaux): Likewise.
13248 * elf/rtld.c (struct map_args): Remove is_preloaded.
13249 (map_doit): Don't use it.
13250 (dl_main): Likewise.
13251 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13252 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13253
bc96fbda
AS
132542010-09-09 Andreas Schwab <schwab@redhat.com>
13255
13256 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13257 (sysd-rules-targets): Remove duplicates.
13258 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13259 rtld-%.$o dependency.
13260
22cd1c9b
AS
132612010-10-18 Andreas Schwab <schwab@redhat.com>
13262
13263 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13264 _dl_map_object do it.
13265
18edac48
UD
132662010-10-19 Ulrich Drepper <drepper@gmail.com>
13267
13268 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13269 fast fma builtins, define the macros in the C99 standard.
13270 (FP_FAST_FMAF): Likewise.
13271 (FP_FAST_FMAL): Likewise.
13272 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13273
13274 * bits/mathdef.h: Update copyright year.
13275 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13276
d2050124
MM
132772010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13278
13279 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13280 builtins, define the macros in the C99 standard.
13281 (FP_FAST_FMAF): Likewise.
13282 (FP_FAST_FMAL): Likewise.
13283 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13284 multiply/add.
13285 (FP_FAST_FMAF): Likewise.
13286
475facd1
JJ
132872010-10-15 Jakub Jelinek <jakub@redhat.com>
13288
13289 [BZ #3268]
13290 * math/libm-test.inc (fma_test): Some new testcases.
13291 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13292 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13293 y and infinite z. Do multiplication by C already in long double.
13294 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13296 y and infinite z. Do bitwise or of inexact bit into u.d.
13297 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13298 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13299 * sysdeps/i386/fpu/s_fma.S: Removed.
13300 * sysdeps/i386/fpu/s_fmal.S: Removed.
13301
7c08a05c
JJ
133022010-10-16 Jakub Jelinek <jakub@redhat.com>
13303
13304 [BZ #3268]
13305 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13306 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13307 computation is not scheduled after fetestexcept. Fix value
13308 of minimum denormal long double.
13309
f3f7372d
JJ
133102010-10-14 Jakub Jelinek <jakub@redhat.com>
13311
13312 [BZ #3268]
13313 * math/libm-test.inc (fma_test): Add some more tests.
13314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13315 correctly.
13316
14d43591
AS
133172010-10-15 Andreas Schwab <schwab@redhat.com>
13318
13319 * scripts/data/localplt-s390-linux-gnu.data: New file.
13320 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13321
5e908464
JJ
133222010-10-13 Jakub Jelinek <jakub@redhat.com>
13323
13324 [BZ #3268]
13325 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13326 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13327 instead of dbl-64.
13328 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13329 inlines.
13330 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13332 if one of x and y is very large and the other is subnormal.
13333 * sysdeps/s390/fpu/s_fmaf.c: New file.
13334 * sysdeps/s390/fpu/s_fma.c: New file.
13335 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13336 * sysdeps/powerpc/fpu/s_fma.S: New file.
13337 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13338 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13339 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13340
133412010-10-12 Jakub Jelinek <jakub@redhat.com>
13342
13343 [BZ #3268]
13344 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13345 fma tests.
13346 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13347 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13348 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13349 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13350 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13351 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13353
b833d51f
UD
133542010-10-12 Ulrich Drepper <drepper@redhat.com>
13355
13356 [BZ #12078]
13357 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13358 * posix/bug-regex31.input: Add test case.
13359
1751705d
UD
133602010-10-11 Ulrich Drepper <drepper@gmail.com>
13361
e9b9cbf5
UD
13362 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13363 * posix/bug-regex31.input: New file.
13364
13365 [BZ #12078]
13366 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13367 (parse_sub_exp): Fix last change, use postorder.
13368
ef06edbe
UD
13369 * posix/bug-regex31.c: New file.
13370 * posix/Makefile: Add rules to build and run bug-regex31.
13371
a129c80d
UD
13372 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13373
13374 [BZ #12078]
13375 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13376
b76b818e
UD
13377 [BZ #12108]
13378 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13379 to have entries in sys_siglist.
13380
1751705d
UD
13381 [BZ #12093]
13382 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13383 be NULL.
13384
9ff8d36f
JJ
133852010-10-07 Jakub Jelinek <jakub@redhat.com>
13386
13387 [BZ #3268]
13388 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13389 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13390 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13391 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13392 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13393 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13394 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13395 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13396 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13397 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13398 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13399 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13400 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13401 * math/ftestexcept.c (fetestexcept): Likewise.
13402 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13403 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13404 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13405 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13406 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13407 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13408 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13409
af325969
UD
134102010-10-11 Ulrich Drepper <drepper@gmail.com>
13411
c579b202 13412 [BZ #12107]
af325969
UD
13413 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13414 newline.
13415
67a67b95
UD
134162010-10-06 Ulrich Drepper <drepper@gmail.com>
13417
13418 * string/bug-strstr1.c: New file.
13419 * string/Makefile: Add rules to build and run bug-strstr1.
13420
5fb308bc
EB
134212010-10-05 Eric Blake <eblake@redhat.com>
13422
13423 [BZ #12092]
13424 * string/str-two-way.h (two_way_long_needle): Always clear memory
13425 when skipping input due to the shift table.
13426
45db99c7
UD
134272010-10-03 Ulrich Drepper <drepper@gmail.com>
13428
3b111893
UD
13429 [BZ #12005]
13430 * malloc/mcheck.c: Handle large requests.
13431
45db99c7
UD
13432 [BZ #12077]
13433 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13434 for strncmp and strncasecmp.
13435 * string/stratcliff.c: Add tests for strcmp and strncmp.
13436 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13437
cf7a1eb8
NI
134382010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13439
13440 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13441 __set_fpscr.
13442
6484ba5e
AJ
134432010-09-30 Andreas Jaeger <aj@suse.de>
13444
13445 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13446 (CGROUP_SUPER_MAGIC): Define.
13447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13448 Handle btrfs and cgroup file systems.
13449 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13450 Likewise.
13451
91c42559
LM
134522010-09-27 Luis Machado <luisgpm@br.ibm.com>
13453
13454 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13455 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13456
87a97932
AK
134572010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13458
13459 [BZ #12067]
13460 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13461 trying to locate the ELF header.
13462
c21cc9bc
AS
134632010-09-27 Andreas Schwab <schwab@redhat.com>
13464
13465 [BZ #11611]
13466 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13467 Mask out sign-bit copies when constructing f_fsid.
13468
315970f6
PB
134692010-09-24 Petr Baudis <pasky@suse.cz>
13470
13471 * debug/stack_chk_fail_local.c: Add missing licence exception.
13472 * debug/warning-nop.c: Likewise.
13473
1ac7a2c7
JM
134742010-09-15 Joseph Myers <joseph@codesourcery.com>
13475
13476 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13477 implementing getdents64 using getdents syscall, set d_type if
13478 __ASSUME_GETDENTS32_D_TYPE.
13479
56801c50
AS
134802010-09-16 Andreas Schwab <schwab@redhat.com>
13481
13482 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13483 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13484
dda51327
UD
134852010-09-21 Ulrich Drepper <drepper@redhat.com>
13486
13487 [BZ #12037]
13488 * posix/unistd.h: Undo change of feature selection for ftruncate from
13489 2010-01-11.
13490
8ffcee4a
UD
134912010-09-20 Ulrich Drepper <drepper@redhat.com>
13492
a545ecd9 13493 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13494 detection.
13495
e24f0a8b
AS
134962010-09-20 Andreas Schwab <schwab@redhat.com>
13497
13498 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13499 fanotify_mark.
13500 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13501
7291c56f
AS
135022010-09-14 Andreas Schwab <schwab@redhat.com>
13503
13504 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13505 variables after CHECK_SP call.
13506 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13507
bc5fb037
AS
135082010-09-13 Andreas Schwab <schwab@redhat.com>
13509 Ulrich Drepper <drepper@redhat.com>
13510
13511 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13512 re-relocationg ld.so.
13513 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13514 _dl_init_paths call.
13515 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13516 here anymore.
13517
e66e7419
UD
135182010-09-14 Ulrich Drepper <drepper@redhat.com>
13519
13520 * resolv/res_init.c (__res_vinit): Count the default server we added.
13521
c044aa75
CLT
135222010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13523 Ulrich Drepper <drepper@redhat.com>
13524
13525 [BZ #11968]
13526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13527 (____longjmp_chk): Use %ebx for saving value across system call.
13528 Add unwind info.
13529
32cf4069
AS
135302010-09-06 Andreas Schwab <schwab@redhat.com>
13531
13532 * manual/Makefile: Don't mix pattern rules with normal rules.
13533
817328ee
AS
135342010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13535
13536 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13537 operation.
13538 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13539 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13540 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13541 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13543 Likewise.
13544
29fddf61
UD
135452010-09-04 Ulrich Drepper <drepper@redhat.com>
13546
13547 [BZ #11979]
13548 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13549 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13550
0959ffc9
UD
135512010-09-02 Ulrich Drepper <drepper@redhat.com>
13552
13553 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13554 * sysdeps/x86_64/addmul_1.S: Likewise.
13555 * sysdeps/x86_64/lshift.S: Likewise.
13556 * sysdeps/x86_64/mul_1.S: Likewise.
13557 * sysdeps/x86_64/rshift.S: Likewise.
13558 * sysdeps/x86_64/sub_n.S: Likewise.
13559 * sysdeps/x86_64/submul_1.S: Likewise.
13560
ece29840
ST
135612010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13562
0959ffc9
UD
13563 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13564 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13565 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13566 * bits/sched.h [__need_schedparam]
ece29840 13567 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13568 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13569 (__defined_schedparam): Define to 1.
ece29840
ST
13570 (__sched_param): New structure, identical to sched_param.
13571 (__need_schedparam): Undefine.
13572
e53a31fe
MF
135732010-08-31 Mike Frysinger <vapier@gentoo.org>
13574
fdc0c10d
MF
13575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13576 (epoll_create1): Declare.
13577
e53a31fe
MF
13578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13579
a726d796
AS
135802010-08-31 Andreas Schwab <schwab@redhat.com>
13581
13582 [BZ #7066]
13583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13584 shifting retval into place.
13585
2f3e3dc7
UD
135862010-09-01 Ulrich Drepper <drepper@redhat.com>
13587
f2933da9
UD
13588 * nis/rpcsvc/nis.h: Update copyright notice.
13589 * nis/rpcsvc/nis.x: Likewise.
13590 * nis/rpcsvc/nis_callback.h: Likewise.
13591 * nis/rpcsvc/nis_callback.x: Likewise.
13592 * nis/rpcsvc/nis_object.x: Likewise.
13593 * nis/rpcsvc/nis_tags.h: Likewise.
13594 * nis/rpcsvc/yp.h: Likewise.
13595 * nis/rpcsvc/yp.x: Likewise.
13596 * nis/rpcsvc/ypupd.h: Likewise.
13597 * nis/yp_xdr.c: Likewise.
13598 * nis/ypupdate_xdr.c: Likewise.
13599
2f3e3dc7
UD
13600 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13601 mainly the body of pmap_getport. Add parameters to specify timeouts.
13602 (pmap_getport): Use __libc_rpc_getport.
13603 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13604 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13605 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13606
f3dcc2f9
AS
136072010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13608
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13610 fanotify_mark.
13611
6d34eb5b
RM
136122010-08-27 Roland McGrath <roland@redhat.com>
13613
13614 * sysdeps/i386/i686/multiarch/Makefile
13615 (CFLAGS-varshift.c): New variable.
13616
9ea3de11
UD
136172010-08-27 Ulrich Drepper <drepper@redhat.com>
13618
c96d23fc
UD
13619 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13620 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13621
9ea3de11
UD
13622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13623
13624 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13625
623aac7f
L
136262010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13627
13628 * sysdeps/x86_64/strlen.S: Unroll the loop.
13629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13630 strlen-sse2 strlen-sse2-bsf.
13631 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13632 __strlen_no_bsf if bit_Slow_BSF is set.
13633 (__strlen_sse42): Removed.
13634 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13635 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13636
8b2b7715
RM
136372010-08-25 Roland McGrath <roland@redhat.com>
13638
13639 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13640 * sysdeps/x86_64/multiarch/varshift.c: New file.
13641 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13642 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13643 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13644 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13645
e73015f2
L
136462010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13647
13648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13649 strlen-sse2 strlen-sse2-bsf.
13650 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13651 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13652 (__strlen_sse2): Removed.
13653 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13656 bit_Slow_BSF for Atom.
13657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13658 (index_Slow_BSF): Define.
13659 (HAS_SLOW_BSF): Define.
13660
df24a73e
UD
136612010-08-25 Ulrich Drepper <drepper@redhat.com>
13662
13663 [BZ #10851]
13664 * resolv/res_init.c (__res_vinit): When no server address at all
13665 is given default to loopback.
13666
f2ac4868
RM
136672010-08-24 Roland McGrath <roland@redhat.com>
13668
09055553
RM
13669 * configure.in: Remove config-name.h generation.
13670 * configure: Regenerated.
13671 * config-name.in: File removed.
13672 * scripts/config-uname.sh: New file.
13673 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13674 ($(objdir)config-name.h): New target.
13675
f2ac4868
RM
13676 * sunrpc/rpc_parse.h: Avoid nested comment.
13677
73f27d5e
RH
136782010-08-24 Richard Henderson <rth@redhat.com>
13679 Ulrich Drepper <drepper@redhat.com>
13680 H.J. Lu <hongjiu.lu@intel.com>
13681
13682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13684 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13685 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13686 _mm_alignr_epi8 with _mm_loadu_si128.
13687 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13688 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13689 (__m128i_shift_right): Removed.
13690 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13691 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13692 * sysdeps/x86_64/multiarch/varshift.h: New file.
13693 * sysdeps/x86_64/multiarch/varshift.S: New file.
13694
84b9230c
MF
136952010-08-21 Mike Frysinger <vapier@gentoo.org>
13696
13697 * configure.in: Move assembler checks to before sysdep dir checking.
13698
9bbd0ddc
PB
136992010-08-20 Petr Baudis <pasky@suse.cz>
13700
13701 * LICENSES: Sync the sunrpc license.
13702
9da4bb31
UD
137032010-08-19 Ulrich Drepper <drepper@redhat.com>
13704
a7ab6ec8
UD
13705 * sunrpc/auth_des.c: Update copyright notice once again.
13706 * sunrpc/auth_none.c: Likewise.
13707 * sunrpc/auth_unix.c: Likewise.
13708 * sunrpc/authdes_prot.c: Likewise.
13709 * sunrpc/authuxprot.c: Likewise.
13710 * sunrpc/bindrsvprt.c: Likewise.
13711 * sunrpc/clnt_gen.c: Likewise.
13712 * sunrpc/clnt_perr.c: Likewise.
13713 * sunrpc/clnt_raw.c: Likewise.
13714 * sunrpc/clnt_simp.c: Likewise.
13715 * sunrpc/clnt_tcp.c: Likewise.
13716 * sunrpc/clnt_udp.c: Likewise.
13717 * sunrpc/clnt_unix.c: Likewise.
13718 * sunrpc/des_crypt.c: Likewise.
13719 * sunrpc/des_soft.c: Likewise.
13720 * sunrpc/get_myaddr.c: Likewise.
13721 * sunrpc/getrpcport.c: Likewise.
13722 * sunrpc/key_call.c: Likewise.
13723 * sunrpc/key_prot.c: Likewise.
13724 * sunrpc/openchild.c: Likewise.
13725 * sunrpc/pm_getmaps.c: Likewise.
13726 * sunrpc/pm_getport.c: Likewise.
13727 * sunrpc/pmap_clnt.c: Likewise.
13728 * sunrpc/pmap_prot.c: Likewise.
13729 * sunrpc/pmap_prot2.c: Likewise.
13730 * sunrpc/pmap_rmt.c: Likewise.
13731 * sunrpc/rpc/auth.h: Likewise.
13732 * sunrpc/rpc/auth_unix.h: Likewise.
13733 * sunrpc/rpc/clnt.h: Likewise.
13734 * sunrpc/rpc/des_crypt.h: Likewise.
13735 * sunrpc/rpc/key_prot.h: Likewise.
13736 * sunrpc/rpc/netdb.h: Likewise.
13737 * sunrpc/rpc/pmap_clnt.h: Likewise.
13738 * sunrpc/rpc/pmap_prot.h: Likewise.
13739 * sunrpc/rpc/pmap_rmt.h: Likewise.
13740 * sunrpc/rpc/rpc.h: Likewise.
13741 * sunrpc/rpc/rpc_des.h: Likewise.
13742 * sunrpc/rpc/rpc_msg.h: Likewise.
13743 * sunrpc/rpc/svc.h: Likewise.
13744 * sunrpc/rpc/svc_auth.h: Likewise.
13745 * sunrpc/rpc/types.h: Likewise.
13746 * sunrpc/rpc/xdr.h: Likewise.
13747 * sunrpc/rpc_clntout.c: Likewise.
13748 * sunrpc/rpc_cmsg.c: Likewise.
13749 * sunrpc/rpc_common.c: Likewise.
13750 * sunrpc/rpc_cout.c: Likewise.
13751 * sunrpc/rpc_dtable.c: Likewise.
13752 * sunrpc/rpc_hout.c: Likewise.
13753 * sunrpc/rpc_main.c: Likewise.
13754 * sunrpc/rpc_parse.c: Likewise.
13755 * sunrpc/rpc_parse.h: Likewise.
13756 * sunrpc/rpc_prot.c: Likewise.
13757 * sunrpc/rpc_sample.c: Likewise.
13758 * sunrpc/rpc_scan.c: Likewise.
13759 * sunrpc/rpc_scan.h: Likewise.
13760 * sunrpc/rpc_svcout.c: Likewise.
13761 * sunrpc/rpc_tblout.c: Likewise.
13762 * sunrpc/rpc_util.c: Likewise.
13763 * sunrpc/rpc_util.h: Likewise.
13764 * sunrpc/rpcinfo.c: Likewise.
13765 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13766 * sunrpc/rpcsvc/key_prot.x: Likewise.
13767 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13768 * sunrpc/rpcsvc/mount.x: Likewise.
13769 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13770 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13771 * sunrpc/rpcsvc/rex.x: Likewise.
13772 * sunrpc/rpcsvc/rstat.x: Likewise.
13773 * sunrpc/rpcsvc/rusers.x: Likewise.
13774 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13775 * sunrpc/rpcsvc/spray.x: Likewise.
13776 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13777 * sunrpc/rtime.c: Likewise.
13778 * sunrpc/svc.c: Likewise.
13779 * sunrpc/svc_auth.c: Likewise.
13780 * sunrpc/svc_authux.c: Likewise.
13781 * sunrpc/svc_raw.c: Likewise.
13782 * sunrpc/svc_run.c: Likewise.
13783 * sunrpc/svc_simple.c: Likewise.
13784 * sunrpc/svc_tcp.c: Likewise.
13785 * sunrpc/svc_udp.c: Likewise.
13786 * sunrpc/svc_unix.c: Likewise.
13787 * sunrpc/svcauth_des.c: Likewise.
13788 * sunrpc/xcrypt.c: Likewise.
13789 * sunrpc/xdr.c: Likewise.
13790 * sunrpc/xdr_array.c: Likewise.
13791 * sunrpc/xdr_float.c: Likewise.
13792 * sunrpc/xdr_mem.c: Likewise.
13793 * sunrpc/xdr_rec.c: Likewise.
13794 * sunrpc/xdr_ref.c: Likewise.
13795 * sunrpc/xdr_sizeof.c: Likewise.
13796 * sunrpc/xdr_stdio.c: Likewise.
13797
9da4bb31
UD
13798 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13799 handling.
13800
bdaa77bc
AS
138012010-08-19 Andreas Schwab <schwab@redhat.com>
13802
13803 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13804
fe2f79db
LM
138052010-08-19 Luis Machado <luisgpm@br.ibm.com>
13806
13807 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13808 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13809 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13810 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13811 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13812 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13813 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13814 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13815 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13816 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13817 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13818 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13819 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13820 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13821
b9b42ee0
AB
138222010-07-26 Anton Blanchard <anton@samba.org>
13823
13824 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13825 * malloc/arena.c (heap_trim): Likewise.
13826
1c06ba31
UD
138272010-08-16 Ulrich Drepper <drepper@redhat.com>
13828
13829 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13830 here. Not...
13831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13832 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13833
f8392f40
L
138342010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13835
13836 * sysdeps/i386/elf/Makefile: New file.
13837
3162f12e
AS
138382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13839
13840 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13841 from fanotify_init.
13842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13844
28c90b2c
UD
138452010-08-15 Ulrich Drepper <drepper@redhat.com>
13846
13847 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13848 of strncasecmp_l.
1feccb6c 13849 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13850
ca6bb004
UD
138512010-08-14 Ulrich Drepper <drepper@redhat.com>
13852
e9f82e0d
UD
13853 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13854 strncase_l-nonascii.
13855 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13856 Add strncase_l-ssse3.
13857 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13858 * sysdeps/x86_64/strcmp.S: Likewise.
13859 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13860 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13861 * sysdeps/x86_64/strncase.S: New file.
13862 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13863 * sysdeps/x86_64/strncase_l.S: New file.
13864 * string/Makefile (strop-tests): Add strncasecmp.
13865 * string/test-strncasecmp.c: New file.
13866
13867 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13868 warning.
13869
ca6bb004
UD
13870 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13871 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13872
052fa7b3
AS
138732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13874
13875 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13876
962dba78
UD
138772010-08-12 Ulrich Drepper <drepper@redhat.com>
13878
13879 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13880 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13881 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13882
bebff237
AM
138832010-05-01 Alan Modra <amodra@gmail.com>
13884
13885 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13886 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13887 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13888 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13889 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13890 tidying. Don't tail-call __sigjmp_save for static lib.
13891 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13892 save location.
13893 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13894 (CALL_MCOUNT): Add eh info, and nop after bl.
13895 (TAIL_CALL_SYSCALL_ERROR): New macro.
13896 (PSEUDO_RET): Use it.
13897 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13898 Correct save location of integer regs and cr.
13899 (_dl_profile_resolve): Correct cr save location. Delete nops
13900 after bl when SHARED. Reduce cfi size a little by better
13901 placement of cfi directives.
13902 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13903 make a stack frame. Instead use parm save area as a temp.
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13905 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13907 Don't make a stack frame for parent, use parm save area.
13908 Increase child stack frame to 112 bytes. Don't save unused reg,
13909 and adjust reg usage. Set up cfi on error recovery and
13910 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13912 (__makecontext): Add dummy nop after jump to exit.
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13914 Use correct parm save area and cr save, reduce stack frame.
13915 Correct cfi for possible PSEUDO_RET frame setup.
13916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13917 Branch to local label emitted by PSEUDO_RET rather than
13918 __syscall_error.
13919
02637374
AS
139202010-08-12 Andreas Schwab <schwab@redhat.com>
13921
13922 [BZ #11904]
13923 * locale/programs/locale.c (print_assignment): New function.
13924 (show_locale_vars): Use it.
13925
c3e2f19b
UD
139262010-08-11 Ulrich Drepper <drepper@redhat.com>
13927
3cdaa6ad
UD
13928 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13929 field.
13930 (struct statfs64): Likewise.
13931 (_STATFS_F_FLAGS): Define.
13932 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13933 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13934 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13935 (ST_VALID): Define locally.
13936 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13937 __statvfs_getflags, use the provided value.
13938 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13939 __ASSUME_STATFS_F_FLAGS.
13940
754f7da3
UD
13941 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13942
10b3bedc
UD
13943 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13944 Add sys/fanotify.h.
13945 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13946 fanotify_mask for GLIBC_2.13.
13947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13948 fanotify_init and fanotify_mark.
13949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13950 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13951
c08fb0d7
UD
13952 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13953 Add prlimit.
13954 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13955 prlimit64 for GLIBC_2.13.
13956 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13957 prlimit64.
13958 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13959 syscall.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13961 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13962 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13963 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13964 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13965 add prlimit alias.
13966 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13967
15bac72b
UD
13968 [BZ #11903]
13969 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13970 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13971
c3e2f19b
UD
13972 * nss/Makefile: Add rules to build and run tst-nss-test1.
13973 * shlib-versions: Add entry for libnss_test1.
13974 * nss/nss_test1.c: New file.
13975 * nss/tst-nss-test1.c: New file.
13976
13977 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13978 (__nss_configure_lookup): Set appropriate entry in
13979 __nss_configure_lookup to true.
13980 * nss/nsswitch.h: Define enum with indeces of databases in
13981 databases and __nss_database_custom arrays. Declare
13982 __nss_database_custom.
13983 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13984 to avoid using nscd when custom rules are installed.
13985 * nss/getXXbyYY_r.c: Likewise.
13986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13987
13988 * nss/nss_files/files-parse.c: Whitespace fixes.
13989
f15ce4d8
UD
139902010-08-09 Ulrich Drepper <drepper@redhat.com>
13991
13992 [BZ #11883]
13993 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13994 * posix/fnmatch_loop.c: Likewise.
13995
d22e4cc9
AK
139962010-07-17 Andi Kleen <ak@linux.intel.com>
13997
13998 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13999 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14000 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14001 * Versions.def [GLIBC_2.13]: Add.
14002
805bc17d
UD
140032010-08-06 Ulrich Drepper <drepper@redhat.com>
14004
14005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14006 Also fail if tpwd after pwuid call is NULL.
14007
5a42321d
ST
140082010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14009
14010 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14011 when converting to ms.
14012
fd3ebeda
ST
140132010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14014
14015 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14016 EOPNOTSUPP errors with ENOTTY.
14017 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14018 EOPNOTSUPP errors with ENOTTY.
14019
73507d3a
UD
140202010-07-31 Ulrich Drepper <drepper@redhat.com>
14021
14022 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14023 Add strcasecmp_l-ssse3.
14024 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14025 strcasecmp.
14026 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14027 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14028 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14029
fe36dd02
UD
140302010-07-30 Ulrich Drepper <drepper@redhat.com>
14031
66f6765a
UD
14032 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14033
42e08a54
UD
14034 * string/Makefile (strop-tests): Add strcasecmp.
14035 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14036 strcasecmp_l-nonascii.
14037 (gen-as-const-headers): Add locale-defines.sym.
14038 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14039 * sysdeps/x86_64/strcasecmp.S: New file.
14040 * sysdeps/x86_64/strcasecmp_l.S: New file.
14041 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14042 * sysdeps/x86_64/locale-defines.sym: New file.
14043 * string/test-strcasecmp.c: New file.
14044
fe36dd02
UD
14045 * string/test-strcasestr.c: Test both ends of the range of characters.
14046 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14047
48cbc0d6
RM
140482010-07-29 Roland McGrath <roland@redhat.com>
14049
76e6d6bc 14050 [BZ #11856]
48cbc0d6
RM
14051 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14052
880113d9
UD
140532010-07-27 Ulrich Drepper <drepper@redhat.com>
14054
14055 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14056 for ld.so.
14057
deb9cabb
AS
140582010-07-27 Andreas Schwab <schwab@redhat.com>
14059
14060 * manual/memory.texi (Malloc Tunable Parameters): Document
14061 M_PERTURB.
14062
1c7570ff
RM
140632010-07-26 Roland McGrath <roland@redhat.com>
14064
14065 [BZ #11840]
14066 * configure.in (-fgnu89-inline check): Set and substitute
14067 gnu89_inline, not libc_cv_gnu89_inline.
14068 * configure: Regenerated.
14069 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14070
24fb0f88
UD
140712010-07-26 Ulrich Drepper <drepper@redhat.com>
14072
14073 * string/test-strnlen.c: New file.
14074 * string/Makefile (strop-tests): Add strnlen.
14075 * string/tester.c (test_strnlen): Add a few more test cases.
14076 * string/tst-strlen.c: Better error reporting.
14077
14078 * sysdeps/x86_64/strnlen.S: New file.
14079
8e96b93a
UD
140802010-07-24 Ulrich Drepper <drepper@redhat.com>
14081
14082 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14083 lower-latency instructions.
14084
dbc676d4
UD
140852010-07-23 Ulrich Drepper <drepper@redhat.com>
14086
14087 * string/test-strcasestr.c: New file.
14088 * string/test-strstr.c: New file.
14089 * string/Makefile (strop-tests): Add strstr and strcasestr.
14090 * string/str-two-way.h: Don't undefine MAX.
14091 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14092
f6a31e0e
AS
140932010-07-21 Andreas Schwab <schwab@redhat.com>
14094
14095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14096 strcasestr-nonascii.
14097 (CFLAGS-strcasestr-nonascii.c): Define.
14098 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14099 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14100 Remove unused attribute.
14101
5dbc3b6c
RM
141022010-07-20 Roland McGrath <roland@redhat.com>
14103
14104 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14105 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14106 ld.so.cache was broken. With it, there is no way to disable dsocaps
14107 like LD_HWCAP_MASK can disable hwcaps.
14108
23d101d8
EPM
141092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14110
14111 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14112
cc9f2e47
UD
141132010-07-16 Ulrich Drepper <drepper@redhat.com>
14114
14115 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14116 call in strcasestr.
14117 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14118 __strcasestr_sse42_nonascii.
14119 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14120 strcasestr-nonascii.c.
14121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14122
77c1b069
LM
141232010-06-15 Luis Machado <luisgpm@br.ibm.com>
14124
14125 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14126 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14127 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14128 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14129
440566c3
UD
141302010-07-09 Ulrich Drepper <drepper@redhat.com>
14131
14132 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14133 fcntl.
14134
5be9d05d
AS
141352010-07-06 Andreas Schwab <schwab@redhat.com>
14136
c30b7ee2 14137 [BZ #11577]
5be9d05d
AS
14138 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14139 dl_signal_cerror.
14140
8a492a67
UD
141412010-07-06 Ulrich Drepper <drepper@redhat.com>
14142
14143 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14144 _PC_PIPE_BUF using F_GETPIPE_SZ.
14145
713df3d5
RM
141462010-07-05 Roland McGrath <roland@redhat.com>
14147
14148 * manual/arith.texi (Rounding Functions): Fix rint description
14149 implicit in round description.
14150
702e8f14
UD
141512010-07-02 Ulrich Drepper <drepper@redhat.com>
14152
14153 * elf/Makefile: Fix linking for a few tests to make recent linker
14154 happy.
14155
52ed8be9
AS
141562010-06-30 Andreas Schwab <schwab@redhat.com>
14157
14158 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14159 $(common-objpfx)libc_nonshared.a.
14160
f47c9a11
LM
141612010-06-21 Luis Machado <luisgpm@br.ibm.com>
14162
14163 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14164 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14165 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14166 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14167 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14168 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14169 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14170 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14185 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14186 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14187 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14188 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14189 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14190 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14191 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14192 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14193 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14194 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14195 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14196 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14211
6fb8cbcb
L
142122010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14215 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14216 * string/memmove.c (memmove): Renamed to ...
14217 (MEMMOVE): ...this. Default to memmove.
14218 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14219 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14220 (END_CHK): Define.
14221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14222 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14223 mempcpy-ssse3-back memmove-ssse3-back.
14224 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14225 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14226 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14227 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14228 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14229 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14230 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14231 * sysdeps/x86_64/multiarch/memmove.c: New file.
14232 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14233 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14234 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14235 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14236 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14237 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14238 Define.
14239 (index_Fast_Copy_Backward): Define.
14240 (HAS_ARCH_FEATURE): Define.
14241 (HAS_FAST_REP_STRING): Define.
14242 (HAS_FAST_COPY_BACKWARD): Define.
14243
4e733bac 142442010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14245
14246 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14247 Restore proper fallback handling.
14248
63c4ed22
UD
142492010-06-19 Ulrich Drepper <drepper@redhat.com>
14250
ac2b484c
UD
14251 [BZ #11701]
14252 * posix/group_member.c (__group_member): Correct checking loop.
14253
63c4ed22
UD
14254 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14255 OOM in getpwuid_r correctly. Return error number when the caller
14256 should return, otherwise -1.
14257 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14258 call returning > 0 value.
14259 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14260
765ade4b
AS
142612010-06-07 Andreas Schwab <schwab@redhat.com>
14262
14263 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14264 libc_nonshared.a from targets in modules-names.
14265
80da2e09
KS
142662010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14267
14268 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14269 requires it.
14270
158db122
LM
142712010-06-10 Luis Machado <luisgpm@br.ibm.com>
14272
14273 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14274 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14277
caa78cf8
AS
142782010-06-02 Andreas Schwab <schwab@redhat.com>
14279
14280 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14281
b2ef2c01
UD
142822010-06-14 Ulrich Drepper <drepper@redhat.com>
14283
14284 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14285 and F_GETPIPE_SZ.
14286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14292
fbd643b6
RM
142932010-06-14 Roland McGrath <roland@redhat.com>
14294
14295 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14296
f32f2869
JJ
142972010-06-07 Jakub Jelinek <jakub@redhat.com>
14298
14299 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14300 __REDIRECT followed by __THROW.
14301 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14302 * posix/getopt.h (getopt): Likewise.
14303
2a50c078
EPM
143042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14305
14306 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14307 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14308 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14309 in AT_FLAGS.
14310 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14311 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14312
eb5ad2eb
LM
143132010-05-28 Luis Machado <luisgpm@br.ibm.com>
14314
14315 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14316
3c88fe1e
L
143172010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14318
14319 [BZ #11640]
14320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14321 Properly check family and model.
14322
d2f73151
TY
143232010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14324
14325 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14326
ebd2e13d
LM
143272010-05-24 Luis Machado <luisgpm@br.ibm.com>
14328
14329 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14330
b32b8b45
UD
143312010-05-21 Ulrich Drepper <drepper@redhat.com>
14332
14333 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14334 symbol reference.
14335
9acbe24d
AS
143362010-05-19 Andreas Schwab <schwab@redhat.com>
14337
14338 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14339 symbol reference.
14340
f0ccf6ea
AS
143412010-05-21 Andreas Schwab <schwab@redhat.com>
14342
3d04ff3a
AS
14343 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14344 and internal_recvmmsg.
14345 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14346 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14347 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14348 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14349
f0ccf6ea
AS
14350 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14351 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14352 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14353
5b08ac57
AS
143542010-05-20 Andreas Schwab <schwab@redhat.com>
14355
14356 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14357
4828935d
LM
143582010-05-17 Luis Machado <luisgpm@br.ibm.com>
14359
14360 POWER7 optimizations.
14361 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14362 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14363
373d545e
UD
143642010-05-19 Ulrich Drepper <drepper@redhat.com>
14365
14366 * version.h: Update for 2.13 development version.
14367
21a2b1ae
AS
143682010-05-12 Andrew Stubbs <ams@codesourcery.com>
14369
14370 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14371 exceptions. Return 0.
14372
3f7dcb2b
RM
143732010-05-07 Roland McGrath <roland@redhat.com>
14374
14375 * elf/ldconfig.c (main): Add a const.
14376
5f24d53a 143772010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14378
a160f8d8
UD
14379 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14380 (args_options): Add no-idn option.
14381 (ahosts_keys_int): Add idn_flags to ai_flags.
14382 (parse_option): Handle 'i' option to clear idn_flags.
14383
5f24d53a
UD
14384 * malloc/malloc.c (_int_free): Possible race in the most recently
14385 added check. Only act on the data if no current modification
14386 happened.
265bb1ce
UD
14387
14388See ChangeLog.17 for earlier changes.