]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE
[thirdparty/glibc.git] / ChangeLog
CommitLineData
85736dc7
L
12012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4 Add sigaltstack-offsets.sym.
5 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6 <sigaltstack-offsets.h>.
7 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8 longjmp_msg pointer.
9 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11 signal stack.
12 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13
cc03b296
JM
142012-05-15 Joseph Myers <joseph@codesourcery.com>
15
a9538892
JM
16 * elf/stackguard-macros.h: Remove file.
17 * sysdeps/generic/stackguard-macros.h: New file.
18 * sysdeps/i386/stackguard-macros.h: Likewise.
19 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27 <elf/stackguard-macros.h>.
28
cc03b296
JM
29 [BZ #14109]
30 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31 __aligned__ in attribute.
32 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33 (gregset_t): Likewise.
34
93171016
L
352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36
37 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38 * sysdeps/x86_64/64/Implies-after: Here. New file.
39 * sysdeps/x86_64/x32/Implies-after: New file.
40
d86813a0
L
412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42
43 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44 and access return value for _dl_profile_fixup. Use R10_LP to
45 load frame size.
46
2953ec75
L
472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48
49 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50
3b550e9e
L
512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52
53 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54 * sysdeps/x86_64/x32/sysdep.h: New file.
55
eda41706
L
562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57
58 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59 * sysdeps/x86_64/setjmp.S: Likewise.
60
9ea01d93
AZ
612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62
63 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67 remove unused global constant.
68
02a91938
CM
692012-05-15 Chris Metcalf <cmetcalf@tilera.com>
70
71 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
72 include of <not-cancel.h>.
73
6540185f
RM
742012-05-15 Roland McGrath <roland@hack.frob.com>
75
76 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
77
509072a0
AJ
782012-05-15 Jeff Law <law@redhat.com>
79 Andreas Jaeger <aj@suse.de>
80
81 [BZ #13594]
82 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
83 out from...
84 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
85 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
86 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
87 code changing __hst_map_handle.map.
88
ba75122d
RM
892012-05-15 Roland McGrath <roland@hack.frob.com>
90
91 * configure.in (sysnames): Look for Implies-before and Implies-after
92 files.
93 * configure: Regenerated.
94
890d8bd8
L
952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
96
97 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
98 8-byte data alignment with LP_SIZE alignment.
99
f6ee6623
L
1002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
101
102 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
103 into R10_LP.
104
ea2626f6
L
1052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
106
107 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
108
085f715e
L
1092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
110
111 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
112 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
114 Likewise.
115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
116
be8498fc
L
1172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
118
119 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
120 (stackinfo_sub_sp): Likewise.
121
70bc83b9
L
1222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
123
124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
125 RAX_LP.
126
9bc0b730
L
1272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
128
129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
130 into R*_LP.
131
6d2850e7
L
1322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
133
134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
135 sizes into R*_LP.
136
3cb84561
L
1372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
138
139 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
140
54e2ed81
L
1412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
142
143 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
144 into R11_LP and load __x86_64_shared_cache_size_half into
145 R8_LP.
146
8a17f349
L
1472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
148
149 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
150 R8_LP.
151
777b1eea
AZ
1522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
153
154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
155 logb for POWER7.
156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
157 logbf for POWER7.
158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
159 logbl for POWER7.
160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
161 powerpc32/power7/fpu/s_logb.c via #include.
162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
163 powerpc32/power7/fpu/s_logbf.c via #include.
164 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
165 powerpc32/power7/fpu/s_logbl.c via #include.
166
d20d4ac2
JM
1672012-05-15 Joseph Myers <joseph@codesourcery.com>
168
169 * README.libm: Remove file.
170
6cdef1ab
L
1712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
172
173 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
174 count for x32. Use R*_LP and omit operand-size suffix.
175
0b254d8f
L
1762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
177
178 * shlib-versions: Move x86_64-.*-linux.* entries to ...
179 * sysdeps/x86_64/64/shlib-versions: Here. New file.
180 * sysdeps/x86_64/x32/shlib-versions: New file.
181
ceb809dc
RM
1822012-05-14 Roland McGrath <roland@hack.frob.com>
183
184 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
185 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
186 Use _dl_fatal_printf instead.
187
37f1abd4
JM
1882012-05-14 Joseph Myers <joseph@codesourcery.com>
189
190 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
191 set if not set by the user. Do not allow for being unset.
192 * sysdeps/unix/sysv/linux/configure: Regenerated.
193
11de3a33
L
1942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
195
196 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
197 the `q' suffix from lea and replace .quad with ASM_ADDR.
198
e02f153a
L
1992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
200
201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
202 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
203 instead of $17.
204 (PTR_DEMANGLE): Likewise.
205
520ae0fd
L
2062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
207
208 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
209 (LP_OP): Likewise.
210 (ASM_ADDR): Likewise.
211 (RAX_LP): Likewise.
212 (RBP_LP): Likewise.
213 (RBX_LP): Likewise.
214 (RCX_LP): Likewise.
215 (RDI_LP): Likewise.
216 (RSI_LP): Likewise.
217 (RSP_LP): Likewise.
218 (R8_LP): Likewise.
219 (R9_LP): Likewise.
220 (R10_LP): Likewise.
221 (R10_LP): Likewise.
222 (R11_LP): Likewise.
223 (R12_LP): Likewise.
224 (R13_LP): Likewise.
225 (R14_LP): Likewise.
226 (R15_LP): Likewise.
227
b985be81
L
2282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
229
230 * sysdeps/x86_64/x32/dl-machine.h: New file.
231
6a4888ff
AJ
2322012-05-14 Andreas Jaeger <aj@suse.de>
233
234 * manual/Makefile (subdir): Remove export of subdir.
235 (all): Remove target.
236 (.PHONY): Remove all from list.
237 (mkinstalldirs): Remove.
238 (.PHONY): Remove installdirs from list.
239 ($(inst_infodir)/libc.info): Use make-target-directory.
240 (installdirs): Remove.
241 (subdir_%): Remove.
242 (glibc-targets): Remove.
243 (lib): Remove.
244 (stubs): Remove.
245 ($(objpfx)stubs ../po/manual.pot): Remove.
246 ($(objpfx)stamp%): Remove.
247 (make-target-directory): Remove.
248 (subdir_install): Remove.
249 (routines): Remove.
250 (aux): Remove.
251 (sources): Remove.
252 (objects): Remove.
253 (headers): Remove.
254
255 [BZ #13750]
256 * manual/.gitignore: Remove, it's not needed anymore.
257 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
258 all files in it.
259 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
260 directory.
261 (texis): Renamed to $(objpfx)texis.
262 (texis-path): New, contains path to generated files.
263 (chapters.%): Use texis-path for complete path, add extra argument
264 libc-texinfo.sh.
265 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
266 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
267 (summary,texi, stamp-summary): Use complete path of
268 files. Generate files in build dir.
269 (dir-add.texi): Build in build dir.
270 (libm-err.texi,stamp-libm-err): Likewise.
271 (version.texi, stamp-version): Likewise.
272 (.%c.texi): Likewise.
273 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
274 (mostlyclean): Remove target.
275 (realclean): Remove target.
276 (generated): Add new variable with contents from mostlyclean and
277 realclean, remove entries duplicated in common-mostlyclean, add
278 stamp-libm-err and stamp-version.
279 (generated-dirs): Add libc directory.
280 ($(inst_infodir)/libc.info): Install files from build dir.
281
282 * manual/install.texi (Configuring and compiling): Adjust since
283 the info files are not part of the tar ball anymore.
284
7ac77294
AJ
2852012-05-14 Andreas Jaeger <aj@suse.de>
286
287 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
288 variable.
289
ffb7875d
JM
2902012-05-14 Joseph Myers <joseph@codesourcery.com>
291
292 [BZ #13717]
293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
294 to 2.2.0 where earlier.
295 * sysdeps/unix/sysv/linux/configure: Regenerated.
296 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
297 Remove conditional code.
298 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
299 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
300 Remove conditional code.
301 [!__NR_lchown]: Likewise.
302 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
303 [__NR_lchown]: Likewise.
304 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
305 comment referencing __ASSUME_LCHOWN_SYSCALL.
306 * sysdeps/unix/sysv/linux/i386/sigaction.c
307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
309 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
310 Remove conditional code.
311 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
312 (__protocol_available): Remove #if 0 code.
313 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
314 conditional code.
315 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
316 * sysdeps/unix/sysv/linux/kernel-features.h
317 (__ASSUME_GETCWD_SYSCALL): Don't define.
318 (__ASSUME_REALTIME_SIGNALS): Likewise.
319 (__ASSUME_PREAD_SYSCALL): Likewise.
320 (__ASSUME_PWRITE_SYSCALL): Likewise.
321 (__ASSUME_POLL_SYSCALL): Likewise.
322 (__ASSUME_LCHOWN_SYSCALL): Likewise.
323 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
324 non-SPARC.
325 (__ASSUME_SIOCGIFNAME): Don't define.
326 (__ASSUME_MSG_NOSIGNAL): Likewise.
327 (__ASSUME_SENDFILE): Define unconditionally.
328 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
329 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
330 conditional code.
331 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
332 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
333 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
334 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
335 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
336 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
337 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
351 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
362 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
363 Remove conditional code.
364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
365 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
366 Remove conditional code.
367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
368 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
369 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
370 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
371 Remove conditional code.
372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
373 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
374 Remove conditional code.
375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
376 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
377 Remove conditional code.
378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
379 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
380 Remove conditional code.
381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
382 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
383 Remove conditional code.
384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
385 * sysdeps/unix/sysv/linux/sh/pwrite64.c
386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
388 * sysdeps/unix/sysv/linux/sigaction.c
389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
391 * sysdeps/unix/sysv/linux/sigpending.c
392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
394 * sysdeps/unix/sysv/linux/sigprocmask.c
395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
397 * sysdeps/unix/sysv/linux/sigsuspend.c
398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
400 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
401 (__libc_missing_rt_sigs): Remove.
402 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
403 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
404 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
405 Remove conditional code.
406 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
407 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
408 return 1.
409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
410 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
412 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
413
1bfb7291
AJ
4142012-05-14 Andreas Jaeger <aj@suse.de>
415
caae5a81
AJ
416 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
417 it's not used in glibc.
418 (__coshm1): Likewise.
419 (__acosh1p): Likewise.
420 (__sgn): Likewise.
421
1bfb7291
AJ
422 * manual/string.texi (Copying and Concatenation): Add missing
423 variable in concat example.
424 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
425
c044d724
L
4262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
427
144c5467 428 [BZ #14103]
c044d724
L
429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
430 __builtin_clzl with __builtin_clzll.
431
2523c62b
L
4322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
433
434 [BZ #14104]
435 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
436 libc_freeres_ptr.
437
d7bb4c42
LD
4382012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
439
440 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
441 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
442 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
444
9dc4e1fb
MF
4452012-05-14 Mike Frysinger <vapier@gentoo.org>
446
447 * NEWS: Update ia64 info.
448
c7df0112
AS
4492012-05-12 Andreas Schwab <schwab@linux-m68k.org>
450
451 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
452 used as bcopy.
453
dc70356c
TS
4542012-05-12 Thomas Schwinge <thomas@codesourcery.com>
455
456 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
457 * sysdeps/unix/syscalls.list (dup3): Likewise.
458 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
459 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
460
9fb1a21f
L
4612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
462
463 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
464 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
465
4822a2a5
L
4662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
467
468 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
469 thread pointer.
470 (TLS_IE): Use mov/add instead of movq/addq to load thread
471 pointer.
472 (TLS_GD_PREFIX): New.
473 (TLS_GD): Use it.
474
842b81d6
DM
4752012-05-11 David S. Miller <davem@davemloft.net>
476
477 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
478 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
479 (_FPU_SETCW): Likewise.
480
1cf463cd
L
4812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
482
483 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
484 is 32-byte aligned.
485
60cc4a18
AS
4862012-05-11 Andreas Schwab <schwab@linux-m68k.org>
487
488 [BZ #11837]
489 * iconvdata/gb18030.c: Update tables.
490 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
491 characters specially.
492 (BODY for TO_LOOP): Add encoding of missing ranges.
493
febb44a4
TS
4942012-05-11 Thomas Schwinge <thomas@codesourcery.com>
495
496 [BZ #13673]
497 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
498 * sysdeps/mach/hurd/dup3.c: Likewise.
499 * sysdeps/mach/hurd/readlinkat.c: Likewise.
500 * sysdeps/powerpc/memmove.c:: Likewise.
501
0a10fb9e
L
5022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
503
504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
505 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
506
df8a552f
L
5072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
508
509 * elf/elf.h (R_X86_64_RELATIVE64): New.
510 (R_X86_64_NUM): Updated.
511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
512 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
513 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
514 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
515 tst-quad1pie tst-quad2pie
516 (modules-names): Add tst-quadmod1 tst-quadmod2.
517 ($(objpfx)tst-quad1): New dependency.
518 ($(objpfx)tst-quad2): Likewise.
519 ($(objpfx)tst-quad1pie): Likewise.
520 ($(objpfx)tst-quad2pie): Likewise.
521 * sysdeps/x86_64/tst-quad1.c: New file.
522 * sysdeps/x86_64/tst-quad1pie.c: New file.
523 * sysdeps/x86_64/tst-quad2.c: Likewise.
524 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
525 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
526 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
527 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
528 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
529
f34d6f84
ST
5302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
531
f42d41d1
ST
532 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
533 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
534 * streams/stropts.h (t_scalar_t): Define type.
535
3c3571fc
ST
536 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
537 (_PATH_PRESERVE): Set to "/var/lib".
538 (_PATH_RWHODIR): Set to "/var/spool/rwho".
539
61f06bd3
ST
540 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
541 instead of int.
542
918d4d71
ST
543 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
544 if __dir_mkfile succeeded.
545
f34d6f84
ST
546 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
547 checking for _hurd_dtablesize. Unlock it right after having
548 finished _hurd_dtable allocation.
549
10589b4a
TS
5502012-05-10 Thomas Schwinge <thomas@schwinge.name>
551
674cdbc7
TS
552 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
553 * sysdeps/mach/hurd/configure: Regenerated.
554 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
555 special-casing to...
556 * sysdeps/gnu/configure.in: ... this new file.
557 * sysdeps/unix/sysv/linux/configure: Regenerated.
558 * sysdeps/gnu/configure: New generated file.
559
8e41b99f
TS
560 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
561 for Linux: use nsec instead of usec, as well as:
562 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
563 members of type struct timespec.
564 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
565 New macros.
566 (struct stat64): Likewise.
567 (_STATBUF_ST_NSEC): New macro.
568 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
569
10589b4a
TS
570 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
571 __strtoul_internal rather than strtoul.
572
63643c85
PT
5732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
574
575 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
576 and reject them.
577
3faebe6a
ST
5782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
579
580 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
581 which preserves existing values.
582 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
583
c6474b07
PT
5842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
585
586 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
587 TIMEOUT values. Return EINVAL for NFDS values either negative or
588 greater than FD_SETSIZE.
589
1043890b
ST
5902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
591
592 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
593 allocated, call __vm_protect to finish enabling the existing space, and
594 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
595 allocate the remainder.
596
37ed8b9b
PT
5972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
598
599 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
600 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
601
db653660
ST
6022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
603
37ed8b9b
PT
604 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
605 sysdeps/mach/hurd/readlink.c.
b29d4053 606
db653660
ST
607 * posix/tst-sysconf.c (posix_options): Only use
608 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
609 _POSIX_SYNCHRONIZED_IO when they are defined
610 * sysdeps/mach/hurd/bits/posix_opt.h:
611 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
612 (_XOPEN_REALTIME): Undefine macro.
613 (_XOPEN_REALTIME_THREADS): Undefine macro.
614 (_XOPEN_SHM): Undefine macro.
615 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
616 macro to -1.
617 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
618 macro to -1.
619 (_POSIX_ASYNC_IO): Undefine macro.
620 (_POSIX_PRIORITIZED_IO): Undefine macro.
621 (_POSIX_SPIN_LOCKS): Define macro to -1.
622
ee16e894
ST
623 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
624 SA_NODEFER, SA_RESETHAND.
625 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
626 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
627 F_DUPFD_CLOEXEC.
628
6103ae3b
TS
6292012-05-10 Thomas Schwinge <thomas@schwinge.name>
630
631 * elf/Makefile (pldd-modules): Define unconditionally.
632
80b4e5f3
TS
6332012-05-10 Thomas Schwinge <thomas@schwinge.name>
634
635 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
636
edadcbd6
ST
6372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
638
639 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
640 Return ENOENT when name is empty.
641 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
642
80694780
TS
6432012-05-10 Thomas Schwinge <thomas@schwinge.name>
644
1792c087
TS
645 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
646
80694780
TS
647 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
648
6b645f0d
ST
6492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
650
80694780
TS
651 Fix mlock in all cases except non-readable pages.
652 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
653 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 654
6b645f0d
ST
655 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
656 (__mkdir): When path is `/', just fail with EEXIST.
657 * sysdeps/mach/hurd/mkdirat.c: Likewise.
658
e468f8a3
TS
6592012-05-10 Thomas Schwinge <thomas@schwinge.name>
660
661 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
662 <sys/uio.h> (for writev).
663 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
664 and <sys/param.h> (for MIN).
665
a4186cff
PT
6662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
667
668 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
669 REQUESTED_TIME. Properly set the remaining time and return EINTR
670 if interrupted.
671
510bbf14
TS
6722012-05-10 Thomas Schwinge <thomas@schwinge.name>
673
674 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
675 Depend on against $(link-rpcuserlibs).
676
5d5722e8
ST
6772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
678
a4186cff
PT
679 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
680 (__libc_stack_end): Do not use attribute_relro.
681 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
682 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 683 to libthread-provided value.
a4186cff
PT
684 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
685 attribute_relro.
5d5722e8 686
37233df9
TS
6872012-05-10 Thomas Schwinge <thomas@schwinge.name>
688
be971a2b
TS
689 [BZ #3748]
690 * bits/libc-lock.h (__libc_once_get): New macro.
691 * sysdeps/mach/bits/libc-lock.h: Likewise.
692 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
694 instead of using implementation details.
695
37233df9
TS
696 * libio/fileops.c: Unconditionally include <kernel-features.h>.
697 * libio/freopen.c: Likewise.
698 * libio/freopen64.c: Likewise.
699 * misc/syslog.c: Likewise.
700 * nscd/connections.c: Likewise.
701 * nscd/netgroupcache.c: Likewise.
702 * sysdeps/posix/getcwd.c: Likewise.
703
38de94a5
RM
7042012-05-10 Roland McGrath <roland@hack.frob.com>
705
706 * math/w_ilogbf.c: Add #include <limits.h>.
707
67530489
ST
7082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
709
a4186cff 710 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
711 path instead of returning without unlocking.
712
67530489
ST
713 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
714 immediate-write ioctls.
715 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
716
5aa3a74a
TS
7172012-05-10 Thomas Schwinge <thomas@schwinge.name>
718
18bad2ae
TS
719 * sysdeps/mach/hurd/i386/init-first.c (init): Use
720 __builtin_frame_address instead of making assumptions about the
721 location of the return address relative to DATA. Force early load of
722 the return address.
723 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
724 __builtin_frame_address.
725
5aa3a74a
TS
726 dup3 for GNU Hurd.
727 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
728 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
729 implement dup3 and do some further code clean-ups.
730 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
731 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
732
ecd0de9a
ST
7332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
734
cd9fa985
ST
735 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
736
a4186cff
PT
737 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
738 HURD_CRITICAL_END around holding _hurd_dtable_lock.
739 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
740 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
741 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
742 d->port.lock.
802ca5a5 743
a4186cff
PT
744 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
745 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
746 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 747
bcf55240
TS
7482012-05-10 Thomas Schwinge <thomas@schwinge.name>
749
6960eb42
TS
750 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
751 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
752 definitions.
753
eb43375f
TS
754 accept4 for GNU Hurd.
755 * include/sys/socket.h (__libc_accept4): New prototype.
756 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
757 to implement __libc_accept4.
758 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
759 __libc_accept4.
760 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
761
bcf55240
TS
762 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
763 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
764 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
765 signal-defines.sym.
766
6178c55b
ST
7672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
768
a4186cff 769 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 770
6f080c2f
TS
7712012-05-10 Thomas Schwinge <thomas@schwinge.name>
772
773 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
774 assertion on O_CLOEXEC flag.
775 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
776 * hurd/intern-fd.c: Likewise.
777 * hurd/port2fd.c: Likewise.
778
bcfe3a54
ST
7792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
780
781 [BZ #3906]
782 * bits/in.h (IPV6_PKTINFO): Define new macro.
783 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
784
89c9aa49
AZ
7852012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
786
787 [BZ #13954]
788 [BZ #13955]
789 [BZ #13956]
790 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
792 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
793 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
795 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
796 * math/libm-test.inc (logb_test) : Additional logb tests.
797
021db4be
AJ
7982012-05-09 Andreas Schwab <schwab@linux-m68k.org>
799 Andreas Jaeger <aj@suse.de>
800
801 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
802 * configure: Regenerated.
803 * config.h.in (LINK_OBSOLETE_RPC): New macro.
804 * config.make.in (link-obsolete-rpc): New substituted variable.
805 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
806 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
807 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
808 (shared-only-routines): Don't set it under [link-obsolete-rpc],
809 so that libc.a contains the symbols.
810 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
811 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
812 * sunrpc/auth_none.c: Likewise.
813 * sunrpc/auth_unix.c: Likewise.
814 * sunrpc/authdes_prot.c: Likewise.
815 * sunrpc/authuxprot.c: Likewise.
816 * sunrpc/clnt_gen.c: Likewise.
817 * sunrpc/clnt_perr.c: Likewise.
818 * sunrpc/clnt_raw.c: Likewise.
819 * sunrpc/clnt_simp.c: Likewise.
820 * sunrpc/clnt_tcp.c: Likewise.
821 * sunrpc/clnt_udp.c: Likewise.
822 * sunrpc/clnt_unix.c: Likewise.
823 * sunrpc/des_crypt.c: Likewise.
824 * sunrpc/des_soft.c: Likewise.
825 * sunrpc/get_myaddr.c: Likewise.
826 * sunrpc/key_call.c: Likewise.
827 * sunrpc/key_prot.c: Likewise.
828 * sunrpc/netname.c: Likewise.
829 * sunrpc/pm_getmaps.c: Likewise.
830 * sunrpc/pm_getport.c: Likewise.
831 * sunrpc/pmap_clnt.c: Likewise.
832 * sunrpc/pmap_prot.c: Likewise.
833 * sunrpc/pmap_prot2.c: Likewise.
834 * sunrpc/pmap_rmt.c: Likewise.
835 * sunrpc/publickey.c: Likewise.
836 * sunrpc/rpc_cmsg.c: Likewise.
837 * sunrpc/rpc_common.c: Likewise.
838 * sunrpc/rpc_dtable.c: Likewise.
839 * sunrpc/rpc_prot.c: Likewise.
840 * sunrpc/rpc_thread.c: Likewise.
841 * sunrpc/rtime.c: Likewise.
842 * sunrpc/svc.c: Likewise.
843 * sunrpc/svc_auth.c: Likewise.
844 * sunrpc/svc_raw.c: Likewise.
845 * sunrpc/svc_run.c: Likewise.
846 * sunrpc/svc_tcp.c: Likewise.
847 * sunrpc/svc_udp.c: Likewise.
848 * sunrpc/svc_unix.c: Likewise.
849 * sunrpc/svcauth_des.c: Likewise.
850 * sunrpc/xcrypt.c: Likewise.
851 * sunrpc/xdr.c: Likewise.
852 * sunrpc/xdr_array.c: Likewise.
853 * sunrpc/xdr_float.c: Likewise.
854 * sunrpc/xdr_intXX_t.c: Likewise.
855 * sunrpc/xdr_mem.c: Likewise.
856 * sunrpc/xdr_rec.c: Likewise.
857 * sunrpc/xdr_ref.c: Likewise.
858 * sunrpc/xdr_sizeof.c: Likewise.
859 * sunrpc/xdr_stdio.c: Likewise.
860
b5c086a2
RM
8612012-05-10 Roland McGrath <roland@hack.frob.com>
862
863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
864 change. Update copyright years.
865
6d74dd09
JM
8662012-05-10 Joseph Myers <joseph@codesourcery.com>
867
868 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
869
28e72501
MK
8702012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
871 Joseph Myers <joseph@codesourcery.com>
872 Paul Pluzhnikov <ppluzhnikov@google.com>
873
874 [BZ #14012]
875 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
876 requiring rpcgen.
877 [cross-compiling] (extra-libs): Likewise.
878 [cross-compiling] (extra-libs-others): Likewise.
879 [cross-compiling] (librpcsvc-routines): Likewise.
880 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
881 [cross-compiling] (omit-deps): Likewise.
882 (sunrpc-CPPFLAGS): New variable.
883 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
884 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
885 (cross-rpcgen-objs): New variable.
886 (extra-objs): Append $(cross-rpcgen-objs).
887 ($(cross-rpcgen-objs)): New rule.
888 ($(objpfx)cross-rpcgen): Likewise.
889 (rpcgen-cmd): Define to use $(built-program-file). Expand
890 comment.
891 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
892 ($(objpfx)x%.stmp): Likewise.
893 * sunrpc/proto.h [IS_IN_build] (_): Define.
894 [IS_IN_build] (_libc_intl_domainname): Likewise.
895
c8c59454
L
8962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
897
898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
899 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
900 and R_X86_64_TPOFF64.
901
6f27cd16
JM
9022012-05-10 Joseph Myers <joseph@codesourcery.com>
903
904 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
905 sysdeps/unix/sysv/syscalls.list.
906 (stime): Likewise.
907 (utime): Likewise.
908 * sysdeps/unix/sysv/syscalls.list: Remove file.
909
02467e1c
PE
9102012-05-10 Paul Eggert <eggert@cs.ucla.edu>
911
912 [BZ #3440]
913 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
914 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
915 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
916 (__LC_IDENTIFICATION): Make these macros useful in #if
917 expressions, as required by C99.
918
da392631
AS
9192012-05-10 Andreas Schwab <schwab@linux-m68k.org>
920
921 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
922 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
923 after this.
924
8115f29b
L
9252012-05-09 H.J. Lu <hongjiu.lu@intel.com>
926
927 * stdlib/longlong.h: Updated from GCC.
928
bdd74070
AJ
9292012-05-09 Andreas Jaeger <aj@suse.de>
930
edfe0dbe
AJ
931 * nscd/nscd.c (run_modes): Make named enum, reorder so that
932 default is first entry.
933 (run_mode): Set type.
934 (main): Remove informal message about syslog.
935 (options): Fix typo.
936
bcfe3a54
ST
937 [BZ #14053]
938 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 939 to asm.
bcfe3a54
ST
940 (lrint): Likewise.
941 (llrintf): Likewise.
942 (llrint): Likewise.
943 (rint): Likewise.
944 (rintf): Likewise.
945 (nearbyint): Likewise.
946 (nearbyintf): Likewise.
bdd74070 947
91d8d69e
AJ
9482012-05-09 Andreas Jaeger <aj@suse.de>
949 Pedro Alves <palves@redhat.com>
950
951 * nscd/nscd.c (run_mode): Use enum.
952 (main): Cleanup coding style issue.
953
bb90b80b
AJ
9542012-05-09 Alexandre Oliva <aoliva@redhat.com>
955 Andreas Jaeger <aj@suse.de>
956
bcfe3a54
ST
957 * nscd/nscd.c (go_background): Replaced with...
958 (run_mode): ... this.
bb90b80b 959 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
960 (options): Add -F --foreground.
961 (main): Implement it.
962 (parse_opt): Parse it.
bb90b80b 963
1a4b75a1
AJ
9642012-05-09 Andreas Jaeger <aj@suse.de>
965
966 [BZ #14083]
967 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
968 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
969 -Wconversion warning.
970 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
971 Likewise.
972
b1cc2472
JM
9732012-05-09 Joseph Myers <joseph@codesourcery.com>
974
975 * conform/data/locale.h-data (NULL): Use macro-constant. Require
976 == 0.
977 (LC_ALL): Use macro-int-constant.
978 (LC_COLLATE): Likewise.
979 (LC_CTYPE): Likewise.
980 (LC_MESSAGES): Likewise.
981 (LC_MONETARY): Likewise.
982 (LC_NUMERIC): Likewise.
983 (LC_TIME): Likewise.
984 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
985 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
987 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
988 Specify type.
989 [C99-based standards] (float_t): Expect type.
990 [C99-based standards] (double_t): Expect type.
991 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
992 type.
993 [C99-based standards] (HUGE_VALL): Likewise.
994 [C99-based standards] (INFINITY): Likewise.
995 [C99-based standards] (NAN): Likewise.
996 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
997 [C99-based standards] (FP_NAN): Likewise.
998 [C99-based standards] (FP_NORMAL): Likewise.
999 [C99-based standards] (FP_SUBNORMAL): Likewise.
1000 [C99-based standards] (FP_ZERO): Likewise.
1001 [C99-based standards] (FP_FAST_FMA): Use
1002 optional-macro-int-constant. Specify type. Require == 1.
1003 [C99-based standards] (FP_FAST_FMAF): Likewise.
1004 [C99-based standards] (FP_FAST_FMAL): Likewise.
1005 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1006 [C99-based standards] (FP_ILOGBNAN): Likewise.
1007 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1008 Specify type.
1009 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1010 [C99-based standards] (math_errhandling): Specify type.
1011 [ISO99 || ISO11] (signgam): Do not allow.
1012 [non-C99-based standards] (copysignf): Do not allow.
1013 [non-C99-based standards] (exp2f): Likewise.
1014 [non-C99-based standards] (log2f): Likewise.
1015 [non-C99-based standards] (modff): Allow.
1016 [non-C99-based standards] (erff): Do not allow.
1017 [non-C99-based standards] (erfcf): Likewise.
1018 [non-C99-based standards] (gammaf): Likewise.
1019 [non-C99-based standards] (hypotf): Likewise.
1020 [non-C99-based standards] (j0f): Likewise.
1021 [non-C99-based standards] (j1f): Likewise.
1022 [non-C99-based standards] (jnf): Likewise.
1023 [non-C99-based standards] (lgammaf): Likewise.
1024 [non-C99-based standards] (tgammaf): Likewise.
1025 [non-C99-based standards] (y0f): Likewise.
1026 [non-C99-based standards] (y1f): Likewise.
1027 [non-C99-based standards] (ynf): Likewise.
1028 [non-C99-based standards] (isnanf): Likewise.
1029 [non-C99-based standards] (acoshf): Likewise.
1030 [non-C99-based standards] (asinhf): Likewise.
1031 [non-C99-based standards] (atanhf): Likewise.
1032 [non-C99-based standards] (cbrtf): Likewise.
1033 [non-C99-based standards] (expm1f): Likewise.
1034 [non-C99-based standards] (ilogbf): Likewise.
1035 [non-C99-based standards] (log1pf): Likewise.
1036 [non-C99-based standards] (logbf): Likewise.
1037 [non-C99-based standards] (nextafterf): Likewise.
1038 [non-C99-based standards] (remainderf): Likewise.
1039 [non-C99-based standards] (rintf): Likewise.
1040 [non-C99-based standards] (scalbf): Likewise.
1041 [non-C99-based standards] (copysignl): Likewise.
1042 [non-C99-based standards] (exp2l): Likewise.
1043 [non-C99-based standards] (log2l): Likewise.
1044 [non-C99-based standards] (modfl): Allow.
1045 [non-C99-based standards] (erfl): Do not allow.
1046 [non-C99-based standards] (erfcl): Likewise.
1047 [non-C99-based standards] (gammal): Likewise.
1048 [non-C99-based standards] (hypotl): Likewise.
1049 [non-C99-based standards] (j0l): Likewise.
1050 [non-C99-based standards] (j1l): Likewise.
1051 [non-C99-based standards] (jnl): Likewise.
1052 [non-C99-based standards] (lgammal): Likewise.
1053 [non-C99-based standards] (tgammal): Likewise.
1054 [non-C99-based standards] (y0l): Likewise.
1055 [non-C99-based standards] (y1l): Likewise.
1056 [non-C99-based standards] (ynl): Likewise.
1057 [non-C99-based standards] (isnanl): Likewise.
1058 [non-C99-based standards] (acoshl): Likewise.
1059 [non-C99-based standards] (asinhl): Likewise.
1060 [non-C99-based standards] (atanhl): Likewise.
1061 [non-C99-based standards] (cbrtl): Likewise.
1062 [non-C99-based standards] (expm1l): Likewise.
1063 [non-C99-based standards] (ilogbl): Likewise.
1064 [non-C99-based standards] (log1pl): Likewise.
1065 [non-C99-based standards] (logbl): Likewise.
1066 [non-C99-based standards] (nextafterl): Likewise.
1067 [non-C99-based standards] (remainderl): Likewise.
1068 [non-C99-based standards] (rintl): Likewise.
1069 [non-C99-based standards] (scalbl): Likewise.
1070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1071 [non-C99-based standards] (FP_*): Do not allow.
1072 [C99-based standards] (FP_*): Change to
1073 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1074 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1075 allow.
1076 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1077 (SIG_ERR): Likewise.
1078 [X/Open-based standards] (SIG_HOLD): Likewise.
1079 (SIG_IGN): Likewise.
1080 (SIGABRT): Use macro-int-constant. Specify type. Require
1081 positive value.
1082 (SIGFPE): Likewise.
1083 (SIGILL): Likewise.
1084 (SIGINT): Likewise.
1085 (SIGSEGV): Likewise.
1086 (SIGTER): Likewise.
1087 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1088 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1089 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1090 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1091 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1092 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1093 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1094 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1095 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1097 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1098 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1105 [X/Open-based standards] (SIGTRAP): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1110 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1111 allow.
1112
b9f1922d
IW
11132012-05-08 Ian Wienand <ianw@vmware.com>
1114
1115 [BZ #14080]
1116 * time/tzset.c (__tzset_parse_tz): Update default rules for
1117 daylight time changes in the Energy Policy Act of 2005.
1118
1db86e88
AJ
11192012-05-09 Andreas Jaeger <aj@suse.de>
1120
1121 [BZ #13983]
1122 * elf/ldconfig.c (parse_conf): Change string to make clear that
1123 ldconfig only issued a warning if ld.so.conf does not exist.
1124
dee4a4e3
DM
11252012-05-08 David S. Miller <davem@davemloft.net>
1126
ee0db190
DM
1127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1128 movxtod instead of popping the value on the stack.
1129
dee4a4e3
DM
1130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1131
6a43ec98
CD
11322012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1133
1134 * config.h.in: Add HAVE_ARM_PCS_VFP.
1135
05c2c961
RMG
11362012-05-08 Roland Mc Grath <roland@hack.frob.com>
1137
bcfe3a54
ST
1138 [BZ #13979]
1139 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1140 checking but the checks are disabled for any reason.
05c2c961 1141
4b30f61a
L
11422012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1145 and ELF64_R_TYPE with ELFW(R_TYPE).
1146
eee2bc67
JM
11472012-05-08 Joseph Myers <joseph@codesourcery.com>
1148
7ea5391a
JM
1149 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1150 (ulimit): Likewise.
1151
eee2bc67
JM
1152 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1153 (settimeofday): Likewise.
1154
abb66a67
MF
11552012-05-08 Mike Frysinger <vapier@gentoo.org>
1156
1157 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1158 a struct th_u2 inside the union, and move tu_block/tu_code into
1159 a new th_u3 union of tu_block/tu_code inside of that. Move
1160 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1161 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1162 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1163 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1164 (th_stuff): Change to th_u1.tu_stuff.
1165 (th_data): Define.
1166 (th_msg): Change to th_u1.th_u2.tu_data.
1167
7f18b530
DM
11682012-05-07 David S. Miller <davem@davemloft.net>
1169
05760585
DM
1170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1171
7f18b530
DM
1172 [BZ #14074]
1173 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1174 (SETUP_PIC_REG): Use it.
1175 (SETUP_PIC_REG_LEAF): Use it.
1176
495fd99f
JM
11772012-05-07 Joseph Myers <joseph@codesourcery.com>
1178
1179 [BZ #13885]
1180 [BZ #13923]
1181 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1182 USE_AS_EXPM1L.
1183 (EXPL_FINITE): Likewise.
1184 (FLDLOG): Likewise.
1185 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1186 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1187 e_expl.S.
1188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1189 USE_AS_EXPM1L.
1190 (EXPL_FINITE): Likewise.
1191 (FLDLOG): Likewise.
1192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1193 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1194 e_expl.S.
1195 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1196 test of -max_value argument for long double.
1197 * sysdeps/i386/fpu/libm-test-ulps: Update.
1198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1199
6693d694
DM
12002012-05-06 David S. Miller <davem@davemloft.net>
1201
1202 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1203 quad soft-float symbols whose references which are compiler
1204 generated.
1205 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1206
6c23e11c
JM
12072012-05-06 Joseph Myers <joseph@codesourcery.com>
1208
d8b82cad
JM
1209 [BZ #13884]
1210 [BZ #13914]
1211 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1212 USE_AS_EXP10L.
1213 (EXPL_FINITE): Likewise.
1214 (FLDLOG): Likewise.
1215 (c0): Likewise.
1216 (c1): Likewise.
1217 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1218 Adjust comments for base varying.
1219 (__expl_finite): Change alias to EXPL_FINITE.
1220 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1221 e_expl.S.
1222 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1223 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1224 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1225 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1227 USE_AS_EXP10L.
1228 (EXPL_FINITE): Likewise.
1229 (FLDLOG): Likewise.
1230 (c0): Likewise.
1231 (c1): Likewise.
1232 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1233 Adjust comments for base varying.
1234 (__expl_finite): Change alias to EXPL_FINITE.
1235 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1236 tests for bugs.
1237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1238
6c23e11c
JM
1239 [BZ #14064]
1240 * math/libm-test.inc (check_float_internal): Correct ulp
1241 calculation for subnormal expected results.
1242
29ba805c
AJ
12432012-05-06 Andreas Jaeger <aj@suse.de>
1244
1245 * Makeconfig (+math-flags): New, set to -frounding-math.
1246 (+cflags): Add +math-flags so that all of glibc gets compiled with
1247 it.
1248
1249 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1250
7b17aeda
JM
12512012-05-05 Joseph Myers <joseph@codesourcery.com>
1252
5779f134
JM
1253 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1254 Disable one test.
1255
41498f4d
JM
1256 [BZ #13787]
1257 [BZ #13922]
1258 [BZ #14036]
1259 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1260 (__ieee754_expl): Allow for and saturate large arguments.
1261 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1262 (u_threshold): Likewise.
1263 (__exp): Call __ieee754_exp before checking for overflow and
1264 underflow.
1265 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1266 (u_threshold): Likewise.
1267 (__expf): Call __ieee754_expf before checking for overflow and
1268 underflow.
1269 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1270 (u_threshold): Likewise.
1271 (__expl): Call __ieee754_expl before checking for overflow and
1272 underflow.
1273 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1274 (__ieee754_expl): Allow for and saturate large arguments.
1275 * math/libm-test.inc (exp_test): Add another test. Do not allow
1276 missing overflow exception on overflow.
1277 (expm1_test): Do not allow missing overflow exception on overflow.
1278
6698b8bf
JM
1279 * sysdeps/i386/fpu/e_expl.c: Move to ...
1280 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1281 rather than using inline asm.
1282 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1283 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1284 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1285
7b17aeda
JM
1286 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1287 (nice): Likewise.
1288 (poll): Likewise.
1289 (signal): Likewise.
1290 (time): Likewise.
1291 (times): Likewise.
1292
f7c85819
JM
12932012-05-04 Joseph Myers <joseph@codesourcery.com>
1294
1295 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1296 sysdeps/unix/common/syscalls.list.
1297 (fchmod): Likewise.
1298 (fchown): Likewise.
1299 (ftruncate): Likewise.
1300 (getrusage): Likewise.
1301 (gettimeofday): Likewise.
1302 (setpgid): Likewise.
1303 (setregid): Likewise.
1304 (setreuid): Likewise.
1305 (sigaction): Likewise.
1306 (truncate): Likewise.
1307 (vhangup): Likewise.
1308 * sysdeps/unix/common/syscalls.list: Remove file.
1309 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1310 * sysdeps/unix/sysv/linux/Implies: Likewise.
1311
336270d0
L
13122012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1313
1314 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1316 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1317 Moved to ...
1318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1319 Here.
1320 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1321 to ...
1322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1323 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1324 to ...
1325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1326 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1327 to ...
1328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1329 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1330 to ...
1331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1332 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1333 to ...
1334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1335 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1336 to ...
1337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1338 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1339 to ...
1340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1341 Here.
1342 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1343 to ...
1344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1345 Here.
1346 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1347 to ...
1348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1349 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1350 Moved to ...
1351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1352 Here.
1353 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1354 to ...
1355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1356
d128e450
JM
13572012-05-04 Joseph Myers <joseph@codesourcery.com>
1358
fa8ee516
JM
1359 * sysdeps/unix/common/bits/dirent.h: Remove file.
1360 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1361
d128e450
JM
1362 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1363 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1364 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1365 * sysdeps/unix/bsd/isatty.c: Likewise.
1366 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1367 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1368 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1369
ff8faaf0 13702012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1371
62881be4 1372 [BZ #13563]
31dc8730
AZ
1373 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1374 long double comparison inaccuracies.
1375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1377
6fef930c
AS
13782012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1379
1380 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1382
8f203e6c
JM
13832012-05-04 Joseph Myers <joseph@codesourcery.com>
1384
1385 [BZ #14049]
1386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1387 nonzero digits before rounding a hex value.
1388 * stdlib/tst-strtod.c (tests): Add another test.
1389
5197d9c2
AK
13902012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1391
1392 * sysdeps/s390/fpu/libm-test-ulps: Update.
1393
f0c1dedf
AJ
13942012-05-03 Andreas Jaeger <aj@suse.de>
1395
1396 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1397 does not get optimized out.
1398 (malloc_opt_barrier): New.
1399
a65ef2ae 14002012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1401 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1402
2b942cb7 1403 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1404 intermediate file deletion.
2b942cb7 1405 (generated): Add .symlist files.
a65ef2ae 1406
54b71e02
JM
14072012-05-03 Joseph Myers <joseph@codesourcery.com>
1408
1409 [BZ #13775]
1410 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1411 Redirect under this condition.
1412 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1413 [__USE_GNU] (__dprintf_chk): Not under this condition.
1414 [__USE_GNU] (__vdprintf_chk): Likewise.
1415 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1416 under this condition.
1417 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1418 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1419 [__USE_XOPEN2K8] (vdprintf): Likewise.
1420 [__USE_GNU] (__dprintf_chk): Not under this condition.
1421 [__USE_GNU] (__vdprintf_chk): Likewise.
1422 [__USE_GNU] (dprintf): Likewise.
1423 [__USE_GNU] (vdprintf): Likewise.
1424
d3dfcc41
RM
14252012-05-03 Roland McGrath <roland@hack.frob.com>
1426
1427 * elf/Makefile (common-generated): Set this instead of generated for
1428 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1429 $(all-built-dso)-derived lists.
1430
7ac30cc5
AJ
14312012-05-03 Andreas Jaeger <aj@suse.de>
1432
0c51e550
AJ
1433 * sysdeps/i386/fpu/libm-test-ulps: Update.
1434
7ac30cc5
AJ
1435 * FAQ: Removed.
1436 * FAQ.in: Likewise.
1437 * scripts/gen-FAQ.pl: Likewise.
1438 * manual/install.texi (Installation): Point to online location of
1439 FAQ.
1440 * Makefile (files-for-dist): Remove FAQ.
1441 (FAQ): Remove.
1442
d4c2917f
AM
14432012-05-02 Allan McRae <allan@archlinux.org>
1444
1445 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1446 (LDFLAGS-reldepmod5.so): Likewise.
1447 (LDFLAGS-reldep6mod1.so): Likewise.
1448 (LDFLAGS-reldep6mod4.so): Likewise.
1449 (LDFLAGS-reldep8mod3.so): Likewise.
1450 (LDFLAGS-unload4mod1.so): Likewise.
1451 (LDFLAGS-unload4mod2.so): Likewise.
1452 (LDFLAGS-tst-initorder): Likewise.
1453 (LDFLAGS-tst-initordera2.so): Likewise.
1454 (LDFLAGS-tst-initordera3.so): Likewise.
1455 (LDFLAGS-tst-initordera4.so): Likewise.
1456 (LDFLAGS-tst-initorderb2.so): Likewise.
1457 (LDFLAGS-noload): Likewise.
1458 (LDFLAGS-next): Likewise.
1459 (LDFLAGS-order2mod1.so): Likewise.
1460 (LDFLAGS-order2mod2.so): Likewise.
1461 (LDFLAGS-tst-initorder2): Likewise.
1462 (LDFLAGS-tst-initorder2a.so): Likewise.
1463 (LDFLAGS-tst-initorder2b.so): Likewise.
1464 (LDFLAGS-tst-initorder2c.so): Likewise.
1465 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1466
d77f993f
DM
14672012-05-02 David S. Miller <davem@davemloft.net>
1468
1469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1470
171a70b4
PP
14712012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1472
1473 [BZ #14055]
1474 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1475
0be196ad
AJ
14762012-05-02 Andreas Jaeger <aj@suse.de>
1477
1478 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1479 since we manipulate rounding mode.
1480 (CPPFLAGS-test-idouble.c): Likewise.
1481 (CPPFLAGS-test-ifloat.c): Likewise.
1482 (CFLAGS-test-ldouble.c): Likewise.
1483 (CFLAGS-test-double.c): Likewise.
1484 (CFLAGS-test-float.c): Likewise.
1485 (CFLAGS-test-misc.c): Likewise.
1486 (CFLAGS-test-test-fenv.c): Likewise.
1487
4f9d04aa
AZ
14882012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1489
2b942cb7
RM
1490 [BZ #2550]
1491 [BZ #2570]
1492 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1493 comparisons to determine direction to adjust input.
4f9d04aa 1494
82a79e7d
RM
14952012-05-01 Roland McGrath <roland@hack.frob.com>
1496
f5a01ca9
RM
1497 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1498 output to the target.
1499
90fe4186
RM
1500 * scripts/localplt.awk: New file.
1501 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1502 (check-localplt-CFLAGS): Variable removed.
1503 ($(all-built-dso:=.jmprel)): New static pattern rule.
1504 (generated): Add those targets.
1505 (localplt-built-dso): New variable.
1506 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1507
1508 * elf/check-localplt.c: File removed.
1509
82397ed6
RM
1510 * scripts/check-execstack.awk: New file.
1511 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1512 (check-execstack-CFLAGS): Variable removed.
1513 ($(objpfx)check-execstack.h): Target removed.
1514 ($(objpfx)execstack-default): New target.
1515 (generated): Add that instead of check-execstack.h.
1516 ($(all-built-dso:=.phdr)): New static pattern rule.
1517 (generated): Add those targets.
1518 * elf/check-execstack.c: File removed.
1519
82a79e7d
RM
1520 * scripts/check-textrel.awk: New file.
1521 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1522 (check-textrel-CFLAGS): Variable removed.
1523 (all-built-dso): Use := to define.o
1524 ($(all-built-dso:=.dyn)): New static pattern rule.
1525 (generated): Add those targets.
1526 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1527 * config.make.in (READELF): New substituted variable.
1528 * elf/check-textrel.c: File removed.
1529
62fde54f 15302012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1531
615605c9
JM
1532 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1533 allow.
1534 * conform/data/ctype.h-data [C99-based standards] (isblank):
1535 Expect function.
1536 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1537 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1539 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1540 Specify type. Require positive value.
1541 (EILSEQ): Likewise.
1542 (ERANGE): Likewise.
1543 [ISO || POSIX] (EILSEQ): Do not expect.
1544 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1545 Specify type. Require positive value.
1546 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1547 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1548 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1549 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1550 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1551 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1552 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1553 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1554 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1555 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1556 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1557 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1558 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1559 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1560 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1561 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1562 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1563 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1564 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1565 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1566 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1567 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1568 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1569 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1570 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1571 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1572 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1573 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1574 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1575 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1576 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1577 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1578 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1579 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1580 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1581 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1582 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1583 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1584 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1585 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1586 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1587 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1588 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1589 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1590 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1591 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1592 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1593 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1594 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1595 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1596 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1597 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1598 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1599 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1600 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1601 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1602 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1603 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1604 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1605 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1606 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1607 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1608 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1609 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1610 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1611 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1612 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1613 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1614 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1615 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1616 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1617 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1618 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1619 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1620 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1621 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1622 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1623 Require >= 2.
1624 (FLT_ROUNDS): Expect as macro, not constant.
1625 (FLT_MANT_DIG): Use macro-int-constant.
1626 (DBL_MANT_DIG): Likewise.
1627 (LDBL_MANT_DIG): Likewise.
1628 (FLT_DIG): Likewise.
1629 (DBL_DIG): Likewise.
1630 (LDBL_DIG): Likewise.
1631 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1632 (DBL_MIN_EXP): Likewise.
1633 (LDBL_MIN_EXP): Likewise.
1634 (FLT_MAX_EXP): Use macro-int-constant.
1635 (DBL_MAX_EXP): Likewise.
1636 (LDBL_MAX_EXP): Likewise.
1637 (FLT_MAX_10_EXP): Likewise.
1638 (DBL_MAX_10_EXP): Likewise.
1639 (LDBL_MAX_10_EXP): Likewise.
1640 (FLT_MAX): Use macro-constant.
1641 (DBL_MAX): Likewise.
1642 (LDBL_MAX): Likewise.
1643 (FLT_EPSILON): Use macro-constant. Give upper bound.
1644 (DBL_EPSILON): Likewise.
1645 (LDBL_EPSILON): Likewise.
1646 (FLT_MIN): Likewise.
1647 (DBL_MIN): Likewise.
1648 (LDBL_MIN): Likewise.
1649 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1650 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1651 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1652 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1653 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1654 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1655 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1656 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1657 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1658 [ISO11] (FLT_TRUE_MIN): Likewise.
1659 [ISO11] (LDBL_TRUE_MIN): Likewise.
1660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1661 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1662 (SCHAR_MIN): Use macro-int-constant. Specify type.
1663 (SCHAR_MAX): Likewise.
1664 (UCHAR_MAX): Likewise.
1665 (CHAR_MIN): Likewise.
1666 (CHAR_MAX): Likewise.
1667 (MB_LEN_MAX): Use macro-int-constant.
1668 (SHRT_MIN): Use macro-int-constant. Specify type.
1669 (SHRT_MAX): Likewise.
1670 (USHRT_MAX): Likewise.
1671 (INT_MAX): Likewise.
1672 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1673 bound negative.
1674 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1675 bound with "U".
1676 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1677 bound with "L".
1678 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1679 bound negative. Suffix upper bound with "L".
1680 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1681 bound with "UL".
1682 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1683 Specify type.
1684 [C99-based standards] (LLONG_MAX): Likewise.
1685 [C99-based standards] (ULLONG_MAX): Likewise.
1686 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1687 == 0.
1688 [ISO11] (max_align_t): Require type.
1689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1690
c9140a62
JM
1691 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1692 from $CFLAGS, without defining away __attribute__ calls.
1693 (checknamespace): Use $CFLAGS_namespace.
1694
9af0bf29
JM
1695 * conform/conformtest.pl (@keywords): Only include C99 keywords
1696 for standards based on C99 or C11.
1697
343222a2
JM
1698 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1699 Disable tests.
1700 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1701 UNIX98]: Likewise.
1702
661f8cf0
JM
1703 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1704 usability of symbols in #if.
1705
ee74b9cb
JM
1706 * conform/conformtest.pl: If macro or constant types start
1707 "promoted:", expect the symbol to be of the following type
1708 promoted by the integer promotions.
62fde54f 1709
aafc49b3
JM
1710 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1711 in one place. Also handle "macro-constant".
1712
fefdf574
JM
1713 * conform/conformtest.pl: Only accept expected macro values with
1714 "==". Parse all "macro" lines in one place.
1715 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1716
f2d922fe
JM
1717 * conform/conformtest.pl: Handle braced types on "constant" lines
1718 instead of handling "typed-constant".
1719 * conform/data/signal.h-data: Use "constant" instead of
1720 "typed-constant".
1721
d22956c9
JM
1722 * conform/conformtest.pl: Handle "optional-" at start of lines in
1723 one place rather than duplicating several cases. Handle each
1724 format of "macro" line with initial "optional-".
1725
028e2e38
JM
1726 * conform/conformtest.pl: Only accept expected constant or
1727 optional-constant values with "==". Parse all "constant" lines in
1728 one place. Parse all "optional-constant" lines in one place.
1729 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1730 * conform/data/fmtmsg.h-data: Likewise.
1731 * conform/data/netinet/in.h-data: Likewise.
1732 * conform/data/tar.h-data: Likewise.
1733 * conform/data/limits.h-data: Use "==" form on "constant" and
1734 "optional-constant" lines.
1735
1b8f2850
JM
1736 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1737 Use -std=c99 for XOPEN2K.
1738 (@knownproblems): Remove.
1739 (newtoken): Don't check %isknown.
1740
a05a144b
JM
1741 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1742 Do not expect macro.
1743 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1744 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1745 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1746 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1748 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1752 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1753 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1755 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1756 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1757 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1758 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1759 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1760 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1761 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1762 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1763 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1772 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1773 [XPG3] (acosh): Likewise.
1774 [XPG3] (asinh): Likewise.
1775 [XPG3] (atanh): Likewise.
1776 [XPG3] (cbrt): Likewise.
1777 [XPG3] (expm1): Likewise.
1778 [XPG3] (ilogb): Likewise.
1779 [XPG3] (log1p): Likewise.
1780 [XPG3] (logb): Likewise.
1781 [XPG3] (nextafter): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1784 [XPG3] (remainder): Likewise.
1785 [XPG3] (rint): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1790 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1791 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1792 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1793 [UNIX98 || XOPEN2K] (scalb): Expect.
1794 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1795 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1796 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1797 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1798 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1799 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1801 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1802 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1803 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1804 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1805 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1806 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1807 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1808 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1810 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1811 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1812 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1813 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1814 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1815 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1816 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1817 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1818 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1819 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1820 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1821 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1822 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1823 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1824 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1825 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1826 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1827 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1829 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1830 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1831 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1832 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1833 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1834 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1835 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1836 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1837 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1838 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1839 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1840 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1841 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1842 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1843 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1844 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1845 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1846 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1847 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1848 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1849 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1850 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1851 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1852 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1853 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1854 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1855 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1856 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1857 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1858 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1859 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1860 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1861 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1862 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1863 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1864 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1865 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1866 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1867 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1868 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1869 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1870 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1871 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1872 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1873 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1874 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1875 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1876 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1877 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1878 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1879 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1880 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1881 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1882 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1883 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1884 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1885 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1886 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1887 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1888 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1889 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1890 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1891 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1892 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1893 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1894 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1895 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1896 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1897 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1898 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1899 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1900 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1901 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1902 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1903 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1904 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1905 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1906 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1907 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1908 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1909 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1910 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1911 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1912 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1913 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1914 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1915 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1916 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1917 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1918 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1919 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1920 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1921 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1922 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1923 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1924 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1925 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1926 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1927 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1928 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1929 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1930 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1931
73c5ebe3
JM
1932 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1933 _XOPEN_SOURCE_EXTENDED for XPG4.
1934
39c33b6c
JM
1935 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1936
62fde54f
JM
1937 * Makeconfig (localtime): Remove variable.
1938 (inst_localtime-file): Likewise.
1939
0741d64c
AS
19402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1941
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1943 Update.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1945 Update.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1947 Update.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1949 Update.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1951 Update.
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1953 Update.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1955 Update.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1957 Update.
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1959 Update.
1960
7cb029ee
JM
19612012-05-01 Joseph Myers <joseph@codesourcery.com>
1962
1963 [BZ #2550]
1964 [BZ #2570]
1965 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1966 comparisons to determine direction to adjust input.
1967 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1968 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1970 Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1972 Likewise.
1973 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1974 Likewise.
1975 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1976 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1977 Likewise.
1978 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1979 Likewise.
1980 * math/libm-test.inc (nexttoward_test): Add more tests.
1981
412bd966
AS
19822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1983
1984 [BZ #14040]
1985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1986 in version GLIBC_2.1, not GLIBC_2.0.
1987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1988 Likewise.
1989
9568c0c2
JM
19902012-04-30 Joseph Myers <joseph@codesourcery.com>
1991
adfbc8ac
JM
1992 [BZ #13942]
1993 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1994 (1 - x) * (1 + x).
1995 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1996 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1997 * math/libm-test.inc (acos_test): Add more tests.
1998 (asin_test): Likewise.
1999 * sysdeps/i386/fpu/libm-test-ulps: Update.
2000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2001
5ba3cc69
JM
2002 [BZ #14034]
2003 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2004 of square root.
2005 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2006 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2007 * math/libm-test.inc (acos_test_tonearest): New function.
2008 (acos_test_towardzero): Likewise.
2009 (acos_test_downward): Likewise.
2010 (acos_test_upward): Likewise.
2011 (asin_test_tonearest): Likewise.
2012 (asin_test_towardzero): Likewise.
2013 (asin_test_downward): Likewise.
2014 (asin_test_upward): Likewise.
2015 (main): Call the new functions.
2016 * sysdeps/i386/fpu/libm-test-ulps: Update.
2017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2018
9568c0c2
JM
2019 [BZ #13884]
2020 [BZ #13924]
2021 * math/e_exp10.c: Include <float.h>.
2022 (__ieee754_exp10): Handle underflow here rather than multiplying
2023 large negative argument by M_LN10.
2024 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2025 of __ieee754_expf.
2026 * math/e_exp10l.c: Include <float.h>.
2027 (__ieee754_exp10l): Handle underflow here rather than multiplying
2028 large negative argument by M_LN10l.
2029 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2030 spurious overflow exception on underflow.
2031
5ac3ea17
MP
20322012-04-29 Marek Polacek <polacek@redhat.com>
2033
2034 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2035 (__fortify_function): New macro.
2036 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2037 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2038 __extern_always_inline.
2039 * libio/bits/stdio2.h: Likewise.
2040 * libio/bits/stdio.h: Likewise.
2041 * string/string.h: Likewise.
2042 * string/bits/string3.h: Likewise.
2043 * include/stdio.h: Likewise.
2044 * stdlib/bits/stdlib.h: Likewise.
2045 * stdlib/stdlib.h: Likewise.
2046 * rt/bits/mqueue2.h: Likewise.
2047 * rt/mqueue.h: Likewise.
2048 * posix/bits/unistd.h: Likewise.
2049 * posix/unistd.h: Likewise.
2050 * io/bits/poll2.h: Likewise.
2051 * io/bits/fcntl2.h: Likewise.
2052 * io/fcntl.h: Likewise.
2053 * io/sys/poll.h: Likewise.
2054 * misc/bits/syslog.h: Likewise.
2055 * misc/bits/syslog-ldbl.h: Likewise.
2056 * misc/sys/syslog.h: Likewise.
2057 * socket/bits/socket2.h: Likewise.
2058 * socket/sys/socket.h: Likewise.
2059 * debug/tst-chk1.c: Likewise.
2060 * wcsmbs/bits/wchar2.h: Likewise.
2061 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2062 * wcsmbs/wchar.h: Likewise.
2063
ecf0ebfb
AJ
20642012-04-29 Andreas Jaeger <aj@suse.de>
2065
2066 * Makerules (tests): Remove enable-check-abi protection.
2067 (check-abi-warn): Remove.
2068 (check-abi-%): Remove check-abi-warn usage.
2069
2070 * configure.in: Remove check-abi configure option.
2071 * configure: Regenerated.
2072 * config.make.in (enable-check-abi): Remove.
2073
6d5c57fa
AS
20742012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2075
24c5d07e 2076 [BZ #14033]
ded5180a
AS
2077 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2078 double functions to double *_finite functions.
2079
7e0d315d
AS
2080 [BZ #13941]
2081 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2082 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2083 LDBL_MIN_EXP.
2084 * stdio-common/Makefile (tests): Add tst-sprintf3.
2085 * stdio-common/tst-sprintf3.c: New file.
2086
6d5c57fa
AS
2087 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2088 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2089
0749ff8b
JM
20902012-04-28 Joseph Myers <joseph@codesourcery.com>
2091
2092 * conform/conformtest.pl: Remove duplicate typed-constant
2093 handling.
2094
8dbd5d7b
DM
20952012-04-28 David S. Miller <davem@davemloft.net>
2096
2097 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2098 (check-abi-%): Remove AWK script prerequisite and explicit
2099 abilist directory.
2100 (check-abi): Rewrite to just diff the symlist with the abilist.
2101 (config-tls, config-abi-config): Delete, no longer used.
2102 (update-abi-%): Remove AWK script and explicit abilist directory.
2103 (update-abi): Rewrite to simply compare and conditionally copy the
2104 symlist and the sysdep abilist file. Remove update-abi-config
2105 checks.
2106 * abilist/ld.abilist: Remove.
2107 * abilist/libBrokenLocale.abilist: Remove.
2108 * abilist/libanl.abilist: Remove.
2109 * abilist/libcrypt.abilist: Remove.
2110 * abilist/libdl.abilist: Remove.
2111 * abilist/librt.abilist: Remove.
2112 * abilist/libthread_db.abilist: Remove.
2113 * abilist/libutil.abilist: Remove.
2114 * scripts/extract-abilist.awk: Remove.
2115 * scripts/merge-abilist.awk: Remove.
2116 * sysdeps/generic/libcidn.abilist: New file.
2117 * sysdeps/generic/libnss_compat.abilist: New file.
2118 * sysdeps/generic/libnss_db.abilist: New file.
2119 * sysdeps/generic/libnss_dns.abilist: New file.
2120 * sysdeps/generic/libnss_files.abilist: New file.
2121 * sysdeps/generic/libnss_hesiod.abilist: New file.
2122 * sysdeps/generic/libnss_nis.abilist: New file.
2123 * sysdeps/generic/libnss_nisplus.abilist: New file.
2124 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2125 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2126 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2127 file.
2128 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2129 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2130 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2131 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2132 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2133 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2134 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2135 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2136 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2137 file.
2138 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2139 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2141 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2142 file.
2143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2144 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2145 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2146 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2148 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2149 file.
2150 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2151 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2152 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2153 file.
2154 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2156 New file.
2157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2158 New file.
2159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2160 New file.
2161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2162 New file.
2163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2164 New file.
2165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2166 New file.
2167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2168 New file.
2169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2170 New file.
2171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2172 New file.
2173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2174 New file.
2175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2176 New file.
2177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2178 New file.
2179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2180 New file.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2182 file.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2184 New file.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2186 New file.
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2188 file.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2190 New file.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2192 New file.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2194 file.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2196 New file.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2198 New file.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2200 New file.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2202 New file.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2204 New file.
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2206 New file.
2207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2209 file.
2210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2211 New file.
2212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2213 file.
2214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2215 file.
2216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2217 file.
2218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2219 file.
2220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2221 file.
2222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2223 New file.
2224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2225 file.
2226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2227 file.
2228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2229 New file.
2230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2231 file.
2232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2234 file.
2235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2236 New file.
2237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2238 file.
2239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2240 file.
2241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2242 file.
2243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2244 file.
2245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2246 file.
2247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2248 New file.
2249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2250 file.
2251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2252 file.
2253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2254 New file.
2255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2256 file.
2257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2258 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2259 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2260 file.
2261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2262 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2263 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2264 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2265 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2266 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2267 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2268 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2269 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2270 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2273 file.
2274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2275 New file.
2276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2277 file.
2278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2279 file.
2280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2281 file.
2282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2283 file.
2284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2285 file.
2286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2287 New file.
2288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2289 New file.
2290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2291 file.
2292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2293 New file.
2294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2295 file.
2296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2298 file.
2299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2300 New file.
2301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2302 file.
2303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2304 file.
2305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2306 file.
2307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2308 file.
2309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2310 file.
2311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2312 New file.
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2314 New file.
2315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2316 file.
2317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2318 New file.
2319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2320 file.
2321
41d73a1b
JM
23222012-04-28 Joseph Myers <joseph@codesourcery.com>
2323
2324 * conform/conformtest.pl: Fix typo in handling typed-constant from
2325 allow-header.
2326
28aeeda4
JM
23272012-04-27 Joseph Myers <joseph@codesourcery.com>
2328
adae8f5e
JM
2329 * README: Cut down references to pre-2.6 Linux kernels and
2330 Linuxthreads. Update lists of configurations in libc and ports
2331 and sort alphabetically. Say "or newer" with Linux kernel version
2332 requirements.
2333
28aeeda4
JM
2334 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2335
a462cb63
RA
23362012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2337
2338 [BZ #887]
2339 * math/libm-test.inc (logb_test_downward): New test to expose
2340 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2341 rounding mode.
2342
6ad3493e
JM
23432012-04-27 Joseph Myers <joseph@codesourcery.com>
2344
2345 [BZ #14027]
2346 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2347 to be done.
2348 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2349 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2350
2ce4f015
JM
23512012-04-26 Joseph Myers <joseph@codesourcery.com>
2352
5aeb141a
JM
2353 * sysdeps/unix/i386/brk.S: Remove file.
2354 * sysdeps/unix/i386/dl-brk.S: Likewise.
2355 * sysdeps/unix/i386/pipe.S: Likewise.
2356 * sysdeps/unix/i386/sigreturn.S: Likewise.
2357 * sysdeps/unix/i386/syscall.S: Likewise.
2358 * sysdeps/unix/i386/vfork.S: Likewise.
2359 * sysdeps/unix/i386/wait.S: Likewise.
2360
7143acae
JM
2361 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2362 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2363
2ce4f015
JM
2364 * configure.in (arm*-none*): Do not allow without
2365 --enable-hacker-mode.
2366 (netbsd*): Remove case setting base_os.
2367 (386bsd*): Likewise.
2368 (freebsd*): Likewise.
2369 (bsdi*): Likewise.
2370 (osf*): Likewise.
2371 (sunos*): Likewise.
2372 (ultrix*): Likewise.
2373 (newsos*): Likewise.
2374 (dynix*): Likewise.
2375 (*bsd*): Likewise.
2376 (sysv*): Likewise.
2377 (isc*): Likewise.
2378 (esix*): Likewise.
2379 (sco*): Likewise.
2380 (minix*): Likewise.
2381 (irix4*): Likewise.
2382 (irix6*): Likewise.
2383 (solaris[2-9]*): Likewise.
2384 (none): Likewise.
2385 * configure: Regenerated.
2386
0ac229c8
AZ
23872012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2388
2389 [BZ #11521]
2390 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2391 overflow or cancellation in calculating denominator.
2392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2394 down expression to avoid unexpected rounding in newer GCCs.
2395 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2396
33f244f4
DM
23972012-04-26 David S. Miller <davem@davemloft.net>
2398
2399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2400 long-double compat symbols.
2401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2414
cfa1f3e8
DM
24152012-04-25 David S. Miller <davem@davemloft.net>
2416
2417 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2418 HWCAP_* values only after the memory barriers have been defined.
2419 (atomic_full_barrier): Define.
2420 (atomic_read_barrier): Define.
2421 (atomic_write_barrier): Define.
2422
6e236b92
SP
24232012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2424
2425 * shlib-versions: Add libgcc_s version information.
2426 * sysdeps/generic/libgcc_s.h: Remove.
2427 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2428 libgcc_s.h.
2429 * sysdeps/gnu/unwind-resume.c: Likewise.
2430 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2431
aab39a09
DM
24322012-04-25 David S. Miller <davem@davemloft.net>
2433
2434 * sysdeps/unix/sparc/brk.S: Delete.
2435 * sysdeps/unix/sparc/dl-brk.S: Delete.
2436 * sysdeps/unix/sparc/pipe.S: Delete.
2437 * sysdeps/unix/sparc/sysdep.S: Delete.
2438 * sysdeps/unix/sparc/sysdep.h: Delete.
2439 * sysdeps/unix/sparc/vfork.S: Delete.
2440 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2441 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2442 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2443 ret_ERRVAL, r0, r1, MOVE): Define.
2444 (JUMPTARGET): Remove.
2445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2446 sysdeps/unix/sparc/sysdep.h
2447 (ENTRY, END): Remove.
2448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2449
a3cc4f48
JM
24502012-04-25 Joseph Myers <joseph@codesourcery.com>
2451
2ed8cda2
JM
2452 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2453 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2454 -DIS_IN_build.
2455
35d76d59
JM
2456 * timezone/README: Update upstream location and email address for
2457 tzcode and tzdata.
2458 * timezone/zdump.c: Update from tzcode 2012b.
2459 * timezone/zic.c: Likewise.
2460
a3cc4f48
JM
2461 * configure.in (libc_cv_as_needed): Remove test.
2462 * configure: Regenerated.
2463 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2464 conditional definition.
2465 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2466 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2467 * config.make.in (have-as-needed): Remove variable.
2468
ceab42c3
SP
24692012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2470 Paul Pluzhnikov <ppluzhnikov@google.com>
2471
2472 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2473 strings correctly.
2474
3ce2865f
CLT
24752012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2476
2477 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2478 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2479 * sysdeps/sh/strlen.S: Likewise.
2480
f37e0d68
JM
24812012-04-24 Joseph Myers <joseph@codesourcery.com>
2482
ae186e9a
JM
2483 * sysdeps/unix/fork.S: Remove file.
2484 * sysdeps/unix/i386/fork.S: Likewise.
2485 * sysdeps/unix/sparc/fork.S: Likewise.
2486
b96914af
JM
2487 * sysdeps/unix/system.c: Remove file.
2488 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2489
f37e0d68
JM
2490 * sysdeps/unix/getegid.S: Remove file.
2491 * sysdeps/unix/geteuid.S: Likewise.
2492
87ef29ca
RM
24932012-04-24 Roland McGrath <roland@hack.frob.com>
2494
83bcd236
RM
2495 * scripts/check-localplt.awk: New file.
2496 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2497 of diff.
2498 * scripts/data/localplt-generic.data: Add a comment.
2499
87ef29ca
RM
2500 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2501 NODE when __dir_mkfile failed.
2502 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2503 Reported by Ludovic Courtès <ludo@gnu.org>.
2504
e5a6e567
AJ
25052012-04-24 Andreas Jaeger <aj@suse.de>
2506
2507 * Makerules (common-clean): Also remove gen-as-const-headers
2508 files.
2509
c1820385
JM
25102012-04-24 Joseph Myers <joseph@codesourcery.com>
2511
2512 * Makerules (native-compile): Do not change working directory for
2513 build. Use $(OUTPUT_OPTION) in command.
2514 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2515
94e02fc4
AZ
25162012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2517
2518 [BZ #13886]
2519 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2520 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2521 * math/libm-test.inc (floor_test): Add more tests.
2522 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2523
3a533ca3
JM
25242012-04-24 Joseph Myers <joseph@codesourcery.com>
2525
940ab4b3
JM
2526 * sysdeps/unix/getdents.c: Remove file.
2527 * sysdeps/unix/sysv/getdents.c: Likewise.
2528 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2529
90e037bd
JM
2530 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2531 sysdeps/unix/mman/syscalls.list.
2532 (mmap): Likewise.
2533 (mprotect): Likewise.
2534 (msync): Likewise.
2535 (munmap): Likewise.
2536 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2537 * sysdeps/unix/mman/syscalls.list: Remove.
2538 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2539
3a533ca3
JM
2540 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2541 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2542 * configure: Regenerated.
2543 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2544 $(libgcc_s_suffix).
2545 * config.make.in (libgcc_s_suffix): Remove variable.
2546
1ad743de
JM
25472012-04-23 Joseph Myers <joseph@codesourcery.com>
2548
4ad451e2
JM
2549 * sysdeps/unix/sysv/gethostname.c: Move to ...
2550 * sysdeps/posix/gethostname.c: ... here.
2551
5e37ce39
JM
2552 * sysdeps/unix/execve.S: Remove file.
2553
1ad743de
JM
2554 * sysdeps/unix/_exit.S: Remove file.
2555
4e681b5b
AJ
25562012-04-23 Andreas Jaeger <aj@suse.de>
2557
2558 [BZ #13739]
2559 * manual/Makefile: Remove make dist support, there's no
2560 need for a stand-alone documentation tar ball.
2561 (TEXI2DVI): Define always, it's not in Makeconfig.
2562 (dist): Removed.
2563 (tar-it): Removed.
2564 (edition): Removed.
2565 (glibc-doc-$(edition).tar): Removed
2566 (%.Z): Removed.
2567 (%.gz): Removed.
2568 (%.uu): Removed.
2569 (ETAGS): Remove, it's in Makeconfig.
2570 (move-if-change): Remove, it's in Makeconfig.
2571
c0baea34
PE
25722013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2573
2574 [BZ #13970]
2575 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2576 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2577 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2578 (strtod_l, strtof_l, strtold_l): Remove __wur.
2579 It is not necessarily an error to ignore strtol's return value.
2580 One can reliably look at the stored endptr to decide whether
2581 the number had valid syntax.
2582
7c0616fa
AJ
25832012-04-21 Andreas Jaeger <aj@suse.de>
2584
803cb6b7 2585 [BZ #13739]
7c0616fa
AJ
2586 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2587
b0fe253f
JM
25882012-04-21 Joseph Myers <joseph@codesourcery.com>
2589
2590 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2591 * sysdeps/unix/sysv/Versions: Remove file.
2592
8280f22d
MT
25932012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2594
2595 [BZ #13927]
2596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2597
75ce411f 25982012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2599
2600 [BZ #7064]
2601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2602 version from __vm86.
2603
097d59fa
JM
26042012-04-20 Joseph Myers <joseph@codesourcery.com>
2605
a90f3bcb
JM
2606 * sysdeps/unix/common/lxstat.c: Remove file.
2607 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2608
edc7ea78
JM
2609 * sysdeps/unix/sysv/Makefile: Remove file.
2610
cb78c221
JM
2611 * sysdeps/unix/sysv/direct.h: Remove file.
2612
efa6a45f
JM
2613 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2614 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2615 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2616 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2617 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2618 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2619 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2620
9c9f2d0c
JM
2621 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2622
4541c83b
JM
2623 * sysdeps/unix/xmknod.c: Remove file.
2624 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2625
f5d153a0
JM
2626 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2627
aa746595
JM
2628 * sysdeps/unix/sysv/i386/time.S: Remove file.
2629
cce5905e
JM
2630 * sysdeps/unix/fxstat.c: Remove file.
2631 * sysdeps/unix/xstat.c: Likewise.
2632 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2633
37fa3841
JM
2634 * sysdeps/unix/sysv/sigaction.c: Remove file.
2635
ff1962a3
JM
2636 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2637 (sysdep_headers): Remove variable.
2638 [termio.h not in sysdep_headers] (generated): Likewise.
2639 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2640 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2641 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2642 * sysdeps/unix/sysv/tcflow.c: Likewise.
2643 * sysdeps/unix/sysv/tcflush.c: Likewise.
2644 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2645 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2646 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2647 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2648 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2649
e7740d31
JM
2650 * sysdeps/unix/siglist.c: Remove file.
2651
ee06f18b
JM
2652 * sysdeps/unix/getppid.S: Remove file.
2653
097d59fa
JM
2654 * sysdeps/unix/mkdir.c: Remove file.
2655 * sysdeps/unix/rmdir.c: Likewise.
2656
ff3d51ec
AS
26572012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2658
2659 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2660 ERR_MAX value.
2661 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2662 errlist-compat value.
2663
50f81fd7
DM
26642012-04-18 David S. Miller <davem@davemloft.net>
2665
2666 * sysdeps/generic/memcopy.h (reg_char): Delete.
2667 * debug/strcat_chk.c: Use char, not reg_char.
2668 * debug/strcpy_chk.c: Likewise.
2669 * debug/strncat_chk.c: Likewise.
2670 * debug/strncpy_chk.c: Likewise.
2671 * string/memchr.c: Likewise.
2672 * string/memrchr.c: Likewise.
2673 * string/rawmemchr.c: Likewise.
2674 * string/strcat.c: Likewise.
2675 * string/strchr.c: Likewise.
2676 * string/strchrnul.c: Likewise.
2677 * string/strcmp.c: Likewise.
2678 * string/strcpy.c: Likewise.
2679 * string/strncat.c: Likewise.
2680 * string/strncmp.c: Likewise.
2681 * string/strncpy.c: Likewise.
2682
8ff41c46
WS
26832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2684
2685 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2686 __builtin_memcopy is called when src and dest ranges are known to not
2687 overlap.
2688
6b652f46
WS
26892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2690
2691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2692 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2693 fwd_align_merge macro call.
2694 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2695 bwd_align_merge macro call.
2696 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2697
b282631e
WS
26982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2699
2700 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2701 bwd_align_merge macros.
2702 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2703 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2704 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2705
95aa737c
DM
27062012-04-18 David S. Miller <davem@davemloft.net>
2707
2708 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2709
7a99a614
AJ
27102012-04-18 Andreas Jaeger <aj@suse.de>
2711
2712 [BZ# 6794]
2713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2714 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2715 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2716
2717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2718 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2719 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2720
2721 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2722 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2723 Adjust for changed ldbl-128 files.
2724
2725 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2726 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2727 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2728
e5270c23
DM
27292012-04-17 David S. Miller <davem@davemloft.net>
2730
2731 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2732
fb5e92c9
AS
27332012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2734
2735 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2736 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2737 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2738 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2739 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2740 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2741
76da7265
AZ
27422012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743
2744 [BZ #6794]
2745 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2746 * math/libm-test.inc: Add ilogb errno and exception tests.
2747 * math/w_ilogb.c: New file: ilogb wrapper.
2748 * math/w_ilogbf.c: New file: ilogbf wrapper.
2749 * math/w_ilogbl.c: New file: ilogbl wrapper.
2750 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2751 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2752 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2753 exception being thrown with 0.0 as argument.
2754 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2755 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2756 exception being thrown with 0.0 as argument.
2757 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2758 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2759 exception being thrown with 0.0 as argument.
2760 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2761 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2762 exception being thrown with 0.0 as argument.
2763 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2764 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2765 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2766 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2768 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2769 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2770 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2771 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2772
0396e69d
PB
27732012-04-17 Petr Baudis <pasky@ucw.cz>
2774
2775 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2776 with altivec.
2777
750b5926
MP
27782012-04-16 Marek Polacek <polacek@redhat.com>
2779
2780 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2781
751728a1
MP
27822012-04-16 Marek Polacek <polacek@redhat.com>
2783
2784 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2785 operands of fdivp instruction.
2786
34a27407
L
27872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2790 * elf/tst-auditmod3b.c: Likewise.
2791 * elf/tst-auditmod4b.c: Likewise.
2792 * elf/tst-auditmod5b.c: Likewise.
2793 * elf/tst-auditmod6b.c: Likewise.
2794 * elf/tst-auditmod6c.c: Likewise.
2795 * elf/tst-auditmod7b.c: Likewise.
2796 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2797 * sysdeps/x86_64/preconfigure.in: Likewise.
2798 * sysdeps/x86_64/preconfigure: Regenerated.
2799
7e73e17d
L
28002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2803 __ILP32__.
2804
c7a6ab72
AB
28052012-04-13 Antoine Balestrat <merkil33@gmail.com>
2806
2807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2808 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2809
a9e8e0e0
CL
28102012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2811
2812 [BZ #13973]
2813 * locale/iso-639.def: Fix gl language name. Spotted by
2814 Yaron Shahrabani.
2815
ec98af7d
RM
28162012-04-12 Roland McGrath <roland@hack.frob.com>
2817
2818 [BZ #2074]
2819 * libio/libio.h (__io_write_fn): Update comment.
2820
247c3ede
PB
28212012-04-12 Petr Baudis <pasky@ucw.cz>
2822
2823 [BZ #2074]
2824 * stdio.texi (Hook Functions): The user provided writer function
2825 is not allowed to return -1.
2826
55939d6d
DM
28272012-04-11 David S. Miller <davem@davemloft.net>
2828
2829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2830
90020f5a
MF
28312012-04-11 Mike Frysinger <vapier@gentoo.org>
2832
2833 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2834 Add a leading slash to rtkaio.
2835
288f9098
JM
28362012-04-11 Jim Meyering <meyering@redhat.com>
2837
90020f5a
MF
2838 [BZ #11959]
2839 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2840 It is not necessarily an error to ignore fwrite's return
2841 value. One can reliably use ferror to test for errors after
2842 the fact.
288f9098 2843
4be2b570
L
28442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2845
2846 * bits/types.h (__snseconds_t): New type.
2847 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2848
2849 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2851 (__SNSECONDS_T_TYPE): Likewise.
2852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2853 (__SNSECONDS_T_TYPE): Likewise.
2854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2855 (__SNSECONDS_T_TYPE): Likewise.
2856
288f9098 28572012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2858
2859 [BZ #2636]
2860 * manual/time.texi (Processor Time): Return type of times is
2861 elapsed real time since an arbitrary point in the past.
2862 (CPU Time): Move CLK_TCK from here...
2863 (Processor Time): ...to here. Correct description.
2864 * manual/conf.texi (Constants for Sysconf): Correct description of
2865 _SC_CLK_TCK.
2866
d7dd4413
DM
28672012-04-10 David S. Miller <davem@davemloft.net>
2868
2869 [BZ #13967]
2870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2871 where the is a gap between DT_REL(A) and DT_JMPREL.
2872
b46068fc
L
28732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2874
2875 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2876 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2877 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2878
73d65cc3
SP
28792012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2880
2881 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2882 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2883 (dl_main): Handle --inhibit-cache.
2884 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2885 _dl_inhibit_cache.
2886 * elf/dl-load.c (_dl_map_object): Use it.
2887 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2888
bcc8d661
JM
28892012-04-09 Joseph Myers <joseph@codesourcery.com>
2890
8f9a2fae
JM
2891 [BZ #13872]
2892 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2893 (__ieee754_powl): Saturate large exponents rather than testing for
2894 overflow of y*log2(x).
2895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2896 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2897 exceptions.
2898
bcc8d661
JM
2899 [BZ #11521]
2900 * math/s_ctan.c: Include <float.h>.
2901 (__ctan): Avoid internal overflow or cancellation in calculating
2902 denominator.
2903 * math/s_ctanf.c: Likewise.
2904 * math/s_ctanl.c: Likewise.
2905 * math/s_ctanh.c: Likewise.
2906 * math/s_ctanhf.c: Likewise.
2907 * math/s_ctanhl.c: Likewise.
2908 * math/libm-test.inc (ctan_test): Add more tests.
2909 (ctanh_test): Likewise.
2910 * sysdeps/i386/fpu/libm-test-ulps: Update.
2911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2912
823fbbb4
AJ
29132012-04-09 Andreas Jaeger <aj@suse.de>
2914
03879793
AJ
2915 [BZ #6894]
2916 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2917 is an optional BSD extension.
2918
823fbbb4
AJ
2919 [BZ #10254]
2920 * manual/stdio.texi (Opening Streams): Document additional fopen
2921 parameters.
2922
8de131cb
RM
29232012-04-09 Roland McGrath <roland@hack.frob.com>
2924
2925 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2926 %eax without telling the compiler.
2927
c0ed9d7d
CD
29282012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2929
2930 [BZ # 13963]
2931 * manual/install.texi: Use sourceware.org.
2932
c483f6b4
JM
29332012-04-09 Joseph Myers <joseph@codesourcery.com>
2934
d7dd9453
JM
2935 [BZ #13873]
2936 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2937 (__ieee754_pow): Generate overflow and underflow using huge*huge
2938 and tiny*tiny rather than just returning constant infinity or zero
2939 for large exponents.
2940 * math/libm-test.inc (pow_test): Require overflow exceptions for
2941 applicable cases of large exponents.
2942
c483f6b4
JM
2943 [BZ #706]
2944 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2945 (__ieee754_pow): Use iterative multiplication algorithm only for
2946 integer exponents with absolute value below 1024. Check for odd
2947 integer exponents when using algorithm for real exponents.
2948 * math/libm-test.inc (pow_test): Add more tests.
2949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2950
d2de7579
JM
29512012-04-08 Joseph Myers <joseph@codesourcery.com>
2952
2953 [BZ #13705]
2954 * math/libm-test.inc (exp_test): Do not allow overflow exception
2955 on underflow test.
2956
f77f1232
AJ
29572012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2958
2959 [BZ #13705]
2960 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2961 instead of __kernel_standard_f.
2962
3884932b
MF
29632012-04-08 Mike Frysinger <vapier@gentoo.org>
2964
2965 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2966 * sysdeps/x86_64/memset_chk.S: Likewise.
2967
54472e9c
AJ
29682012-04-08 Andreas Jaeger <aj@suse.de>
2969
6ab0fbfc
AJ
2970 [BZ #10153]
2971 * manual/startup.texi (Environment Access): Describe return value
2972 for putenv and setenv.
2973
61efba8c
AJ
2974 [BZ #6895]
2975 * manual/filesys.texi (Directory Entries): Add description for
2976 DT_LNK.
2977
95c3f29a
AJ
2978 [BZ #6890]
2979 * manual/filesys.texi (Directory Entries): Clarify that it's file
2980 system not operating system in the description of DT_UNKNOWN.
2981
54472e9c
AJ
2982 [BZ #6578]
2983 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2984
624254b1
SC
29852012-04-08 Stephen Compall <s11@member.fsf.org>
2986
2987 [BZ #6649]
2988 * manual/llio.texi (Opening and Closing Files): Add cross
2989 reference to explain mode argument.
2990
1e4920e0
MF
29912012-04-07 Mike Frysinger <vapier@gentoo.org>
2992
2993 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2994 * sysdeps/x86_64/memset_chk.S: Likewise.
2995
5ed848f3
DM
29962012-04-07 David S. Miller <davem@davemloft.net>
2997
2998 * elf/elf.h (R_SPARC_WDISP10): Define.
2999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3000 R_SPARC_SIZE32.
3001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3002 R_SPARC_SIZE64 and R_SPARC_H34.
3003
96154cd8
CD
30042012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3005
3006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3007 conditions and remove no longer applicable assertion.
3008
9904dc47
L
30092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3010
3011 * bits/byteswap.h: Include <features.h>.
3012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3014
f8887d0a
L
30152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3016
3017 * bits/byteswap.h (__bswap_16): Removed.
3018 Include <bits/byteswap-16.h> to get __bswap_16.
3019 * sysdeps/i386/bits/byteswap.h: Likewise.
3020 * sysdeps/s390/bits/byteswap.h: Likewise.
3021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3022 * bits/byteswap-16.h: New file.
3023 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3024 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3025 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3026 * string/Makefile (headers): Add bits/byteswap-16.h.
3027
62470f60
PP
30282012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3029
3030 [BZ #13895]
3031 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3032 extra indirection.
3033 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3034 * nss/tst-nss-static.c: New.
3035
4dad7bab
RM
30362012-04-06 Robert Millan <rmh@gnu.org>
3037
3038 [BZ #6486]
3039 * manual/llio.texi (File Position Primitive): lseek
3040 refers to WHENCE when it really means OFFSET.
3041
e9142a17
AJ
30422012-04-06 Andreas Jaeger <aj@suse.de>
3043
2c040eff
AJ
3044 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3045 strncmp declarations.
3046
e9142a17
AJ
3047 * abilist/libc.abilist: Add __poll and __ppoll.
3048
ff9f1c5f
DM
30492012-04-05 David S. Miller <davem@davemloft.net>
3050
dcd2ae90
DM
3051 * scripts/check-local-headers.sh: Accept a host triplet in the
3052 path matched by the exclude regexp.
3053
993eb054
DM
3054 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3055 definition.
3056 * sysdeps/powerpc/powerpc32/dl-machine.h
3057 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3058 * sysdeps/s390/s390-32/dl-machine.h
3059 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3060 * sysdeps/sparc/sparc32/dl-machine.h
3061 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3062 * sysdeps/sparc/sparc64/dl-machine.h
3063 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3064
ff9f1c5f
DM
3065 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3066 lazy binding.
48e2e132 3067 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3068 undefined symbol errors.
3069
48e2e132 3070 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3071 DT_NEEDED entries.
3072
e80d6f94
MM
30732012-04-05 Michael Matz <matz@suse.de>
3074
3075 [BZ #13592]
3076 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3077
349fa79f
AJ
30782012-04-05 Andreas Jaeger <aj@suse.de>
3079
3080 [BZ #13908]
3081 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3082 comment.
3083
f402708f
KK
30842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3085
3086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3087 which ROUND is no valid rounding mode.
3088
2ecccfc9
KK
30892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3090
3091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3092 read again.
3093 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3094
8a53f50f
KK
30952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3096
3097 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3098 an exception using FPU order intentionally.
3099
31002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3101
3102 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3103 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3104 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3105 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3106
d653abb7
SJ
31072012-04-05 Simon Josefsson <simon@josefsson.org>
3108
3109 [BZ #12340]
3110 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3111 EINVAL when BUFLEN is too smal.
3112
c3b1bf7d
TS
31132012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3114
3115 [BZ #13553]
3116 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3117 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3118
b1aa60f3
AJ
31192012-04-03 Andreas Jaeger <aj@suse.de>
3120
c3b1bf7d 3121 [BZ #13938]
67f60a26
AJ
3122 * manual/setjmp.texi (System V contexts): Fix sentence.
3123
b1aa60f3
AJ
3124 [BZ #13926]
3125 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3126 New macro for this case.
3127 [!__GNUC__] (__bswap_64): New inline function for this case.
3128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3129 * bits/byteswap.h: Likewise.
3130 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3131 ull, guard with __GLIBC_HAVE_LONG_LONG.
3132
3133 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3134 __GLIBC_HAVE_LONG_LONG.
3135
3136 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3137 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3138
39c59c35
TMQMF
31392012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3140
3141 [BZ #13691]
3142 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3143 inptr and inend, rather than using last_ch.
3144
135ffda8
DM
31452012-04-02 David S. Miller <davem@davemloft.net>
3146
3147 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3148 * stdio-common/printf-parse.h (read_int): Change return type to
3149 'int', return -1 on INT_MAX overflow.
3150 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3151 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3152 overflows INT_MAX. Check for overflow of in-format-string precision
3153 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3154 SIZE_MAX not INT_MAX for integer overflow test.
3155 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3156 skip the construct in the format string but do not record anything.
3157 * stdio-common/bug22.c: Adjust to test both width/prevision
3158 INT_MAX overflow as well as total length INT_MAX overflow. Check
3159 explicitly for proper errno values.
3160
228c019e
TS
31612012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3162
302cadd3
TS
3163 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3164 CHAR_MAX.
3165 * string/test-strcmp.c [! WIDE]: Likewise.
3166 * time/tst-mktime2.c: Likewise for INT_MAX.
3167 * string/test-string.h: #include <sys/param.h> for MIN.
3168
228c019e
TS
3169 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3170 * sysdeps/i386/init-first.c (init): Likewise.
3171 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3172 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3173 * sysdeps/sh/init-first.c (init): Likewise.
3174
cfa633f5
UD
31752012-04-01 Ulrich Drepper <drepper@gmail.com>
3176
3177 * po/ru.po: Update from translation team.
d1635ef8 3178 * po/vi.po: Likewise.
cfa633f5 3179
6cd0a5ea
SP
31802012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3181
3182 * resolv/nss_dns/dns-host.c: Merge copyright years.
3183
4b43400f
LD
31842012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3185
3186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3187 Optimize memcpy with prefetch if
3188 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3189 src, dst pointers have unequal 16 byte alignments.
3190
48c41d04
SP
31912012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3192
3193 [BZ #13928]
3194 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3195 from a CNAME entry and return the minimum ttl for the query.
3196 (gaih_getanswer_slice): Likewise.
3197
b8dc394d
JL
31982012-03-30 Jeff Law <law@redhat.com>
3199
3200 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3201 due to long keys.
3202 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3203 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3204
2f5a5ed0
JL
3205 * resolv/nss_dns/dns-host.c: Update copyright year.
3206
1d39e359
UD
32072012-03-30 Ulrich Drepper <drepper@gmail.com>
3208
c030f70c 3209 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3210 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3211
1d39e359
UD
3212 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3213 comments for sendmmsg.
3214
32152012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3216
3217 [BZ #13691]
3218 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3219 with only 1 character between 0x0041 and 0x01b0.
3220 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3221 * wcsmbs/tst-mbsnrtowcs.c: New file.
3222
20fde227
DM
32232012-03-29 David S. Miller <davem@davemloft.net>
3224
3225 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3226 small copies by hand.
3227
984a4237
JL
32282012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3229
3230 [BZ #13761]
3231 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3232 _nss_compat_initgroups_dyn): Fall back to malloc/free
3233 for large group memberships.
3234
18c9d62b
DM
32352012-03-28 David S. Miller <davem@davemloft.net>
3236
88d85d4f
DM
3237 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3238 that branches into memcpy.
3239 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3242 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3244 bits.
3245 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3246 implementation too.
3247 * sysdeps/sparc/mempcpy.S: New file.
3248
e5aa83e1
DM
3249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3250 the IFUNC routine in the libc case.
3251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3252
88570753
DM
3253 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3254 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3255 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3256 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3257 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3258 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3259 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3260 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3261
249d7567
DM
3262 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3263 loop to 256 bytes instead of 64 bytes and fix test signedness.
3264
18c9d62b
DM
3265 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3266 * sysdeps/sparc/sparc32/Makefile: rather than here...
3267 * sysdeps/sparc/sparc64/Makefile: and here.
3268
05f3d1f6
UD
32692012-03-28 Ulrich Drepper <drepper@gmail.com>
3270
3271 * malloc/mallocbug.c: Avoid warnings about unused variables.
3272
86ae07a8
JL
32732012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3274
3275 [BZ #13760]
3276 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3277 in the right place. Discard and retry query if response is
3278 larger than input buffer size.
3279
41bf21a1
JM
32802012-03-28 Joseph Myers <joseph@codesourcery.com>
3281
d6270972
JM
3282 [BZ #369]
3283 [BZ #2678]
3284 [BZ #3866]
3285 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3286 x for large integer exponent.
3287 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3288 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3289 sign of result as needed afterwards.
3290 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3291 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3292 result for underflowing pow the same as for overflow.
3293 (__kernel_standard_l): Handle powl overflow and underflow here
3294 rather than calling __kernel_standard.
3295 * math/libm-test.inc (pow_test): Add more tests.
3296
414fca03 3297 [BZ #3868]
41bf21a1
JM
3298 [BZ #13879]
3299 [BZ #13910]
3300 [BZ #13911]
3301 [BZ #13912]
3302 [BZ #13913]
3303 [BZ #13915]
3304 [BZ #13916]
3305 [BZ #13917]
3306 [BZ #13918]
3307 [BZ #13919]
3308 [BZ #13920]
3309 [BZ #13921]
3310 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3311 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3312 (__kernel_standard_l): New function.
3313 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3314 __kernel_standard.
3315 * math/w_acosl.c (__acosl): Likewise.
3316 * math/w_asinl.c (__asinl): Likewise.
3317 * math/w_atan2l.c (__atan2l): Likewise.
3318 * math/w_atanhl.c (__atanhl): Likewise.
3319 * math/w_coshl.c (__coshl): Likewise.
3320 * math/w_exp10l.c (__exp10l): Likewise.
3321 * math/w_exp2l.c (__exp2l): Likewise.
3322 * math/w_fmodl.c (__fmodl): Likewise.
3323 * math/w_hypotl.c (__hypotl): Likewise.
3324 * math/w_j0l.c (__j0l, __y0l): Likewise.
3325 * math/w_j1l.c (__j1l, __y1l): Likewise.
3326 * math/w_jnl.c (__jnl, __ynl): Likewise.
3327 * math/w_lgammal.c (__lgammal): Likewise.
3328 * math/w_log10l.c (__log10l): Likewise.
3329 * math/w_log2l.c (__log2l): Likewise.
3330 * math/w_logl.c (__logl): Likewise.
3331 * math/w_powl.c (__powl): Likewise.
3332 * math/w_remainderl.c (__remainderl): Likewise.
3333 * math/w_scalbl.c (sysv_scalbl): Likewise.
3334 * math/w_sinhl.c (__sinhl): Likewise.
3335 * math/w_sqrtl.c (__sqrtl): Likewise.
3336 * math/w_tgammal.c (__tgammal): Likewise.
3337 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3338 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3339 * math/libm-test.inc (acos_test): Add more tests.
3340 (acosh_test): Likewise.
3341 (asin_test): Likewise.
3342 (atanh_test): Likewise.
3343 (exp_test): Likewise.
3344 (exp10_test): Likewise.
3345 (exp2_test): Likewise.
3346 (expm1_test): Likewise.
3347 (lgamma_test): Likewise.
3348 (log_test): Likewise.
3349 (log10_test): Likewise.
3350 (log1p_test): Likewise.
3351 (log2_test): Likewise.
3352 (pow_test): Do not allow some spurious overflow exceptions.
3353 (sqrt_test): Add more tests.
3354 (tgamma_test): Likewise.
3355 (y0_test): Likewise.
3356 (y1_test): Likewise.
3357 (yn_test): Likewise.
3358
dd62fda6
AB
33592012-03-27 Anton Blanchard <anton@samba.org>
3360
3361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3362 MAP_HUGETLB.
3363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3364 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3366
1e3cdfda
AJ
33672012-03-27 David S. Miller <davem@davemloft.net>
3368
b855ab85
DM
3369 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3370
1e3cdfda
AJ
3371 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3372 have-as-vis3 check.
3373
33742012-03-27 Andreas Jaeger <aj@suse.de>
3375
3376 * sysdeps/x86_64/elf/configure.in: Moved to ...
3377 * sysdeps/x86_64/configure.in: ... here.
3378 * sysdeps/x86_64/elf/start.S: Moved to ...
3379 * sysdeps/x86_64/start.S: ... here.
3380 * sysdeps/x86_64/elf/configure: Delete.
3381
3382 * sysdeps/x86_64/configure.in: Merge contents from
3383 sysdeps/i386/configure.in (without i686 check).
3384
3385 * sysdeps/i386/elf/Versions: Merge into ...
3386 * sysdeps/i386/Versions: ... this.
3387 * sysdeps/i386/elf/Versions: Delete file.
3388 * sysdeps/i386/elf/start.S: Moved to ...
3389 * sysdeps/i386/start.S: ...here.
3390 * sysdeps/i386/elf/configure.in: Merge into...
3391 * sysdeps/i386/configure.in: ...here.
3392 * sysdeps/i386/elf/configure.in: Delete file.
3393 * sysdeps/i386/elf/configure: Delete file.
3394
3395 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3396 * debug/backtracesyms.c: ... here.
3397 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3398 * debug/backtracesymsfd.c: ... here.
3399 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3400 * sysdeps/generic/ifunc-sel.h: ... here.
3401
3402 * sysdeps/unix/i386/start.c: Delete file.
3403 * sysdeps/unix/sparc/start.c: Delete file.
3404 * sysdeps/unix/start.c: Delete file.
3405
3406 * sysdeps/sh/elf/configure.in: Moved to ...
3407 * sysdeps/sh/configure.in: ... here.
3408 * sysdeps/sh/elf/start.S: Moved to ...
3409 * sysdeps/sh/start.S: ... here.
3410 * sysdeps/sh/elf/configure: Delete file.
3411
3412 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3413 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3414 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3415 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3416 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3417 * sysdeps/powerpc/powerpc64/start.S: here.
3418 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3419 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3420 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3421 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3422 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3423
3424 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3425 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3426 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3427 * sysdeps/powerpc/powerpc32/start.S: ... here.
3428 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3429 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3430 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3431
3432 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3433 * sysdeps/powerpc/ifunc-sel.h: ... here.
3434 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3435 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3436
3437 * sysdeps/sparc/elf/configure.in: Moved to ...
3438 * sysdeps/sparc/configure.in: ... here.
3439 * sysdeps/sparc/elf/configure: Delete file.
3440 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3441 * sysdeps/sparc/sparc32/start.S: ... here.
3442 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3443 * sysdeps/sparc/sparc64/start.S: ... here.
3444 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3445 * sysdeps/sparc/sparc32/Makefile: ... this.
3446 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3447 * sysdeps/sparc/sparc64/Makefile: ... this.
3448
3449 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3450 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3451 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3452 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3453 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3454 * sysdeps/s390/s390-32/setjmp.S: ... here.
3455 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3456 * sysdeps/s390/s390-32/configure.in: ... here.
3457 * sysdeps/s390/s390-32/elf/configure: Delete file.
3458 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3459 * sysdeps/s390/s390-32/start.S: ... here.
3460
3461 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3462 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3463 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3464 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3465 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3466 * sysdeps/s390/s390-64/setjmp.S: ... here.
3467 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3468 * sysdeps/s390/s390-64/configure.in: ... here
3469 * sysdeps/s390/s390-64/elf/configure: Delete file.
3470 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3471 * sysdeps/s390/s390-64/start.S: ... here.
3472 * sysdeps/s390/s390-64/elf/configure: Delete.
3473
3474 * configure.in: Remove support for elf directories in sysdeps.
3475
3476 * configure: Regenerated.
3477 * sysdeps/i386/configure: Regenerated.
3478 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3479 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3480 * sysdeps/s390/s390-32/configure: Regenerated.
3481 * sysdeps/s390/s390-64/configure: Regenerated.
3482 * sysdeps/sh/configure: Regenerated.
3483 * sysdeps/sparc/configure: Regenerated.
3484 * sysdeps/x86_64/configure: Regenerated.
3485
a3f61311
AS
34862012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3487
c876e002
AS
3488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3489
a3f61311
AS
3490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3491 denormal result into account.
3492
ac4c54f0
RM
34932012-03-25 Roland McGrath <roland@hack.frob.com>
3494
3495 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3496 Reported by Allan McRae <allan@archlinux.org>.
3497
6a9b9c02
JL
34982012-03-23 Jeff Law <law@redhat.com>
3499
3500 * nss/getnssent.c (__nss_getent): Fix typo.
3501
4c42a0c1
DM
35022012-03-23 David S. Miller <davem@davemloft.net>
3503
3504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3505
1532c7ac
L
35062012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3507
3508 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3509 to pad to uint64_t for each field.
3510 (dl_tls_index): Replace unsigned long with uint64_t.
3511
3ff42526
PP
35122012-03-23 Daniel Jacobowitz <dmj@google.com>
3513 Paul Pluzhnikov <ppluzhnikov@google.com>
3514
3515 [BZ #6528]
3516 * grp/Makefile (otherlibs): Don't set it.
3517 * inet/Makefile (otherlibs): Likewise.
3518 * login/Makefile (otherlibs): Likewise.
3519 * nscd/Makefile (otherlibs): Likewise.
3520 * posix/Makefile (otherlibs): Likewise.
3521 * pwd/Makefile (otherlibs): Likewise.
3522 * rt/Makefile (otherlibs): Likewise.
3523 * sunrpc/Makefile (otherlibs): Likewise.
3524 * nss/Makefile (otherlibs): Likewise.
3525 Add libnss_files to routines and static-only-routines.
3526 ($(objpfx)getent): Remove rule.
3527 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3528 static-only-routines.
3529
7c69cd14
JM
35302012-03-22 Joseph Myers <joseph@codesourcery.com>
3531
3532 [BZ #13892]
3533 * math/s_cexp.c: Include <float.h>.
3534 (__cexp): Handle exp result overflowing not necessarily
3535 overflowing both real and imaginary parts of result.
3536 * math/s_cexpf.c: Likewise.
3537 * math/s_cexpl.c: Likewise.
3538 * math/libm-test.inc (cexp_test): Add more tests.
3539 * sysdeps/i386/fpu/libm-test-ulps: Update.
3540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3541
81b035fe
L
35422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3543
3544 * include/link.h (ELFW): New macro.
3545 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3546 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3547
1da7940c
L
35482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3549
3550 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3551 with uint64_t.
3552
b749dbb9
L
35532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3554
3555 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3556 declaration.
3557 (struct La_x32_retval): Likewise.
3558
2ff87f3f
L
35592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3560
3561 * sysdeps/x86_64/preconfigure.in: New file.
3562 * sysdeps/x86_64/preconfigure: New generated file.
3563
c0df8e69
JM
35642012-03-22 Joseph Myers <joseph@codesourcery.com>
3565
48e44791
JM
3566 [BZ #13824]
3567 * math/e_exp2l.c: Include <float.h>.
3568 (__ieee754_exp2l): Handle overflow and underflow cases
3569 separately. Only pass fractional part of argument to
3570 __ieee754_expl.
3571 * math/libm-test.inc (exp2_test): Add more tests.
3572
c0df8e69
JM
3573 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3574 negating x to take absolute value.
3575 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3576 Likewise.
3577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3579 Likewise.
3580 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3581 computing low part if x was negated.
3582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3583
c8e43ba7
L
35842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3585
3586 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3587 la_x32_gnu_pltexit.
3588 (pltexit): Cast int_retval to ptrdiff_t.
3589 * elf/tst-auditmod3b.c: Likewise.
3590 * elf/tst-auditmod4b.c: Likewise.
3591 * elf/tst-auditmod5b.c: Likewise.
3592 * elf/tst-auditmod6b.c: Likewise.
3593 * elf/tst-auditmod6c.c: Likewise.
3594 * elf/tst-auditmod7b.c: Likewise.
3595
3596 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3597 and x32_gnu_pltexit.
3598
3599 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3600 __ELF_NATIVE_CLASS.
3601 (La_x32_regs): New macro.
3602 (La_x32_retval): Likewise.
3603 (la_x32_gnu_pltenter): New function prototype.
3604 (la_x32_gnu_pltexit): Likewise.
3605
7998fa78
AS
36062012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3607
dcb33988
AS
3608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3609 exponent.
3610
233fc563
AS
3611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3612
7998fa78
AS
3613 * configure.in (libc_cv_cc_nofma): Check for option to disable
3614 generation of FMA instructions.
3615 * configure: Regenerate.
3616 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3617 * sysdeps/ieee754/dbl-64/Makefile: New file.
3618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3619 Remove brandred-fma4.
3620 (CFLAGS-brandred-fma4.c): Remove.
3621 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3622 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3623 define.
3624 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3625 define.
3626
8e95c99a
L
36272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3628
3629 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3630 LLONG_MAX != LONG_MAX.
3631 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3632 (_fitoa_word): Likewise.
3633 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3634 LLONG_MAX != LONG_MAX.
3635 * stdio-common/_itowa.h: Include <_itoa.h>.
3636 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3637 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3638 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3639 only if not defined.
3640 (_ITOA_WORD_TYPE): Likewise.
3641 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3642 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3643
6f4db457
DM
36442012-03-21 David S. Miller <davem@davemloft.net>
3645
3646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3647
7785fe5a
L
36482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3649
3650 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3651 of x86_64 when setting libc_cv_slibdir, libdir and
3652 libc_cv_localedir.
3653 * sysdeps/unix/sysv/linux/configure: Regenerated.
3654
4535cd55
JM
36552012-03-21 Joseph Myers <joseph@codesourcery.com>
3656
3657 * manual/lang.texi (Old Varargs): Remove section.
3658 (How Variadic): Update menu.
3659 (va_start): Do not mention varargs.h.
3660
17228132
TS
36612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3662 Joseph Myers <joseph@codesourcery.com>
3663
3664 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3665 link test.
3666 * configure: Regenerated.
3667
8149f976
TS
36682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3669
05f3d1f6
UD
3670 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3671 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3672 conformtest.pl
8149f976 3673
1a4ac776
JM
36742012-03-21 Joseph Myers <joseph@codesourcery.com>
3675
be22ce65
JM
3676 * NOTES: Remove.
3677 * Makefile (files-for-dist): Remove NOTES.
3678 (NOTES): Remove rule.
3679 * README: Don't refer to NOTES.
3680 * manual/creature.texi: Don't include macros.texi.
3681 * manual/intro.texi (creature.texi): Remove comment referring to
3682 NOTES.
3683
40b601fb
JM
3684 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3685 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3686 * configure: Regenerated.
3687 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3688 LIBC_TRY_CC_OPTION.
3689 (libc_cv_as_i686): Likewise.
3690 (libc_cv_cc_avx): Likewise.
3691 (libc_cv_cc_sse2avx): Likewise.
3692 (libc_cv_cc_fma4): Likewise.
3693 (libc_cv_cc_novzeroupper): Likewise.
3694 * sysdeps/i386/configure: Regenerated.
3695
1a4ac776
JM
3696 [BZ #13883]
3697 * sysdeps/i386/fpu/s_cexp.S: Remove.
3698 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3699 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3700 * math/libm-test.inc (cexp_test): Add more tests.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703
a458e7fe
AM
37042012-03-21 Allan McRae <allan@archlinux.org>
3705
3706 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3707
0cb7efc5
JM
37082012-03-21 Joseph Myers <joseph@codesourcery.com>
3709
3710 [BZ #13871]
3711 * math/w_exp2.c: Do not include <float.h>.
3712 (o_threshold, u_threshold): Remove.
3713 (__exp2): Calculate result before checking finiteness and calling
3714 __kernel_standard.
3715 * math/w_exp2f.c: Likewise.
3716 * math/w_exp2l.c: Likewise.
3717 * math/libm-test.inc (exp2_test): Require overflow exception for
3718 1e6 input.
2460d3aa
JM
3719
3720 [BZ #3866]
3721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3722 range of signed 64-bit integers before using fistpll. Remove
3723 checks for whether integers fit in mantissa bits.
3724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3725 the range of signed 32-bit integers before using fistpl. Remove
3726 checks for whether integers fit in mantissa bits.
3727 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3728 (__ieee754_powl): Test for y outside the range of signed 64-bit
3729 integers before using fistpll. Reduce 64-bit values to 63-bit
3730 ones as needed.
3731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3732 divide-by-zero is raised for zero to large negative powers.
3733 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3734 (__ieee754_powl): Test for y outside the range of signed 64-bit
3735 integers before using fistpll. Reduce 64-bit values to 63-bit
3736 ones as needed.
3737 * math/libm-test.inc (pow_test): Add more tests.
3738
eb96ffb0
L
37392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3742 <stdio-common/_itoa.h>.
3743 * debug/segfault.c: Likewise.
3744 * elf/dl-cache.c: Likewise.
3745 * elf/dl-minimal.c: Likewise.
3746 * elf/dl-misc.c: Likewise.
3747 * elf/dl-sysdep.c: Likewise.
3748 * elf/dl-version.c: Likewise.
3749 * elf/rtld.c: Likewise.
3750 * hurd/hurdsock.c: Likewise.
3751 * hurd/lookup-retry.c: Likewise.
3752 * malloc/malloc.c: Likewise.
3753 * malloc/mtrace.c: Likewise.
3754 * nscd/nscd_getgr_r.c: Likewise.
3755 * nscd/nscd_getpw_r.c: Likewise.
3756 * nscd/nscd_getserv_r.c: Likewise.
3757 * posix/getopt_init.c: Likewise.
3758 * posix/wordexp.c: Likewise.
3759 * stdio-common/_itoa.c: Likewise.
3760 * stdio-common/printf_fphex.c: Likewise.
3761 * stdio-common/vfprintf.c: Likewise.
3762 * string/_strerror.c: Likewise.
3763 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3764 * sysdeps/i386/i686/hp-timing.h: Likewise.
3765 * sysdeps/mach/_strerror.c: Likewise.
3766 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3767 * sysdeps/mach/hurd/sethostid.c: Likewise.
3768 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3769 * sysdeps/mach/xpg-strerror.c: Likewise.
3770 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3772 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3773 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3775 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3777 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3778 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3779 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3780 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3781 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3782 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3783 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3784 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3785 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3786 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3787 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3788 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3789 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3790 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3791
3792 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3793
3794 * stdio-common/_itoa.h: Moved to ...
3795 * sysdeps/generic/_itoa.h: Here.
3796
3797 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3798
3799 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3800 instead of "_itoa.h" and "_itowa.h".
3801 * stdio-common/vfprintf.: Likewise.
3802
d1af992d
L
38032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3804
3805 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3806 <bits/wordsize.h>.
3807 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3808 (__signbit): Likwise.
3809 (llrintf): Likwise.
3810 (llrint): Likwise.
3811
114883e0
L
38122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3813
3814 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3815 __WORDSIZE != 64.
3816
c135cc1b
JM
38172012-03-20 Joseph Myers <joseph@codesourcery.com>
3818
3819 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3820 OVERFLOW_EXCEPTION_OK.
3821 * math/libm-test.inc ("Philosophy"): Update comment about
3822 exception testing.
3823 (OVERFLOW_EXCEPTION): Define.
3824 (OVERFLOW_EXCEPTION_OK): Likewise.
3825 (INVALID_EXCEPTION_OK): Renumber.
3826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3827 (IGNORE_ZERO_INF_SIGN): Likewise.
3828 (test_exceptions): Handle FE_OVERFLOW.
3829 (exp10_test): Expect overflow exceptions.
3830 (exp2_test): Likewise.
3831 (expm1_test): Likewise.
3832 (nextafter_test): Likewise.
3833 (pow_test): Likewise.
3834 (scalbn_test): Likewise.
3835 (scalbln_test): Likewise.
3836
95443d88
L
38372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3838
3839 * sysdeps/x86_64/bits/atomic.h
3840 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3841 64bit integer.
3842 (atomic_exchange_acq): Likewise.
3843 (__arch_exchange_and_add_body): Likewise.
3844 (__arch_add_body): Likewise.
3845 (atomic_add_negative): Likewise.
3846 (atomic_add_zero): Likewise.
3847
490df6c4
L
38482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3849
c2722551 3850 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3851 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3852
5e52b189
L
38532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3854
3855 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3856 Check __x86_64__ instead of __WORDSIZE.
3857
a9879d4c
L
38582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3859
3860 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3861
5df98260
DM
38622012-03-19 David S. Miller <davem@davemloft.net>
3863
e1497744
DM
3864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3865
5df98260
DM
3866 * sysdeps/sparc/fpu/fenv_private.h: New file.
3867 * sysdeps/sparc/fpu/math_private.h: Use it.
3868 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3869 Remove.
3870 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3871 (libc_feholdexcept_setroundl): Remove.
3872 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3873 Remove.
3874 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3875 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3876
b4c35121
L
38772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3878
3879 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3880 int64_t instead of long int.
3881 (INSERT_WORDS64): Likwise.
3882
56965fd7
L
38832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3884
3885 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3886 _Unwind_GetCFA return to _Unwind_Ptr first.
3887
83d1aec8
JM
38882012-03-19 Joseph Myers <joseph@codesourcery.com>
3889
1897ad44
JM
3890 [BZ #13629]
3891 * math/s_clog.c: Include <float.h>.
3892 (__clog): Scale large or subnormal inputs.
3893 * math/s_clogf.c: Likewise.
3894 * math/s_clogl.c: Likewise.
3895 * math/s_clog10.c: Include <float.h>.
3896 (M_LOG10_2): Define.
3897 (__clog10): Scale large or subnormal inputs.
3898 * math/s_clog10f.c: Likewise.
3899 * math/s_clog10l.c: Likewise.
3900 * math/libm-test.inc (clog_test): Add more tests.
3901 (clog10_test): Likewise.
3902 * sysdeps/i386/fpu/libm-test-ulps: Update.
3903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3904
7726d6a9
JM
3905 [BZ #11451]
3906 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3907 x and y.
3908 * math/libm-test.inc (atan2_test): Add another test.
3909
83d1aec8
JM
3910 * Makerules (common-objdir-compile): Remove.
3911 * sysdeps/unix/Makefile (config-generated): Do not add
3912 $(unix-generated) to variable.
3913 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3914 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3915 Remove rule.
3916 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3917 Likewise.
3918 [generic bits/local_lim.h] (before-compile): Do not append to
3919 variable.
3920 [generic bits/local_lim.h] (common-generated): Likewise.
3921 [generic sys/param.h] (before-compile): Do not append to variable.
3922 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3923 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3924 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3925 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3926 include.
3927 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3928 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3929 [generic sys/param.h] ($(addprefix
3930 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3931 [generic sys/param.h] (common-generated): Do not append to
3932 variable.
3933 [generic sys/param.h] (sysdep_headers): Likewise.
3934 [generic bits/errno.h] (before-compile): Do not append to
3935 variable.
3936 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3937 rule.
3938 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3939 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3940 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3941 [generic bits/errno.h] (common-generated): Do not append to
3942 variable.
3943 [generic bits/ioctls.h] (before-compile): Do not append to
3944 variable.
3945 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3946 rule.
3947 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3948 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3949 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3950 rule.
3951 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3952 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3953 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3954 [generic bits/ioctls.h] (common-generated): Do not append to
3955 variable.
3956 [generic sys/syscall.h] (syscall.h): Remove variable.
3957 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3958 rule.
3959 [generic sys/syscall.h] (before-compile): Do not append to
3960 variable.
3961 [generic sys/syscall.h] (common-generated): Likewise.
3962 * sysdeps/unix/errnos-tmpl.c: Remove file.
3963 * sysdeps/unix/errnos.awk: Likewise.
3964 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3965 * sysdeps/unix/ioctls.awk: Likewise.
3966 * sysdeps/unix/mk-local_lim.c: Likewise.
3967 * sysdeps/unix/snarf-ioctls: Likewise.
3968
4851a949
RH
39692012-03-19 Richard Henderson <rth@twiddle.net>
3970
bd37f2ee
RH
3971 * sysdeps/i386/fpu/fenv_private.h: New file.
3972 * sysdeps/i386/fpu/math_private.h: Use it.
3973 (math_opt_barrier, math_force_eval): Remove.
3974 (libc_feholdexcept_setround_53bit): Remove.
3975 (libc_feupdateenv_53bit): Remove.
3976 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3977 (math_opt_barrier, math_force_eval): Remove.
3978 (libc_feholdexcept): Remove.
3979 (libc_feholdexcept_setround): Remove.
3980 (libc_fetestexcept, libc_fesetenv): Remove.
3981 (libc_feupdateenv_test): Remove.
3982 (libc_feupdateenv, libc_feholdsetround): Remove.
3983 (libc_feresetround): Remove.
3984
d0adc922
RH
3985 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3986 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3987
0fe0f1f8
RH
3988 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3989 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3990 (libc_feupdateenv_testl): New.
3991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3992 (libc_feupdateenv_testf): New.
3993 (libc_feupdateenv): Use libc_feupdateenv_test.
3994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3996
eb92c487
RH
3997 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3998 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3999 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4000 (libc_feresetround_noex): New.
4001 (libc_feresetround_noexf): New.
4002 (libc_feresetround_noexl): New.
4003 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4004 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4005 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4006 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4007 SET_RESTORE_ROUND.
4008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4010 (__cos): Likewise.
4011 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4013 SET_RESTORE_ROUND_NOEX.
4014 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4015 SET_RESTORE_ROUND_NOEXF.
4016 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4017 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4018 (libc_feholdsetroundf): New.
4019 (libc_feresetround, libc_feresetroundf): New.
4020
7d2e8012
RH
4021 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4022 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4023 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4024
b4dabbb4
RH
4025 * sysdeps/generic/math_private.h: Include <fenv.h>.
4026 (default_libc_feholdexcept): New.
4027 (default_libc_feholdexcept_setround): New.
4028 (default_libc_fesetenv, default_libc_feupdateenv): New.
4029 (libc_feholdexcept): Only define if undefined.
4030 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4031 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4032 (libc_feholdexcept_setroundl): Likewise.
4033 (libc_feholdexcept_setround_53bit): Likewise.
4034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4035 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4036 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4037 (libc_feupdateenv_53bit): Likewise.
4038 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4039 (libc_feholdexcept): Convert from macro to inline function.
4040 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4041 (libc_fesetenv, libc_feupdateenv): Likewise.
4042
4851a949
RH
4043 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4044 not previously defined.
4045 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4046 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4047 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4048 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4049 * sysdeps/ieee754/flt-32/math_private.h: New file.
4050 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4051 math_private.h below SET_FLOAT_WORD.
4052 (__isnan, __isinf_ns, __finite): Remove.
4053 (__isnanf, __isinf_nsf, __finitef): Remove.
4054
e79d442e
AS
40552012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4056
4057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4058
90b80344
DM
40592012-03-17 David S. Miller <davem@davemloft.net>
4060
4061 [BZ #6471]
4062 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4063 for 2.16.
4064
edc21804
DM
40652012-03-16 David S. Miller <davem@davemloft.net>
4066
77e927af
DM
4067 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4068 warnings.
4069
374976dd
DM
4070 [BZ #6471]
4071 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4072 properly.
4073 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4074 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4075 sysdep_routines when subdir is sysvipc.
4076 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4077 __getshmlba helper.
4078
edc21804
DM
4079 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4080
473c3ef3
L
40812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4082
4083 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4084 [__LP64__].
4085
eb0f39b6
L
40862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4087
4088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4089 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4090 (__lround): Renamed to ...
4091 (__llround): This. Replace long int with long long int.
4092 Define lround functions as aliases of llround functions.
4093 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4094
6b6cd74b
L
40952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4096
4097 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4098 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4099 adresses to uintptr_t. Replace "long int" and "unsigned long
4100 int" with "greg_t" on va_arg.
4101
f1a77b01
L
41022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4103
4104 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4105 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4106
4107 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4108 Move e_machine check before EI_CLASS check. Handle x32
4109 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4110 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4111 SKIP_EM_IA_64 and include
4112 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4113
4114 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4115 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4116 (add_system_dir): New macro.
4117
4118 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4119 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4120
11b90b9f
JM
41212012-03-16 Joseph Myers <joseph@codesourcery.com>
4122
c36e1d23
JM
4123 [BZ #2551]
4124 [BZ #2552]
4125 [BZ #2553]
4126 [BZ #2554]
4127 [BZ #2562]
4128 [BZ #2563]
4129 [BZ #2565]
4130 [BZ #2566]
4131 [BZ #2576]
4132 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4133 (y0): Likewise.
4134 * math/w_j0f.c (j0f): Likewise.
4135 (y0f): Likewise.
4136 * math/w_j0l.c (__j0l): Likewise.
4137 (__y0l): Likewise.
4138 * math/w_j1.c (j1): Likewise.
4139 (y1): Likewise.
4140 * math/w_j1f.c (j1f): Likewise.
4141 (y1f): Likewise.
4142 * math/w_j1l.c (__j1l): Likewise.
4143 (__y1l): Likewise.
4144 * math/w_jn.c (jn): Likewise.
4145 (yn): Likewise.
4146 * math/w_jnf.c (jnf): Likewise.
4147 (ynf): Likewise.
4148 * math/w_jnl.c (__jnl): Likewise.
4149 (__ynl): Likewise.
4150 * math/libm-test.inc (j0_test): Add more tests.
4151 (j1_test): Likewise.
4152 (jn_test): Likewise. Add trailing semicolon to existing test.
4153 (y0_test): Likewise.
4154 (y1_test): Likewise.
4155 * sysdeps/i386/fpu/libm-test-ulps: Update.
4156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4157
11b90b9f
JM
4158 [BZ #13851]
4159 [BZ #13854]
4160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4161 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4162 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4163 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4164 (__tanl): Set errno for infinite argument.
4165 * sysdeps/i386/fpu/mptan.c: Remove.
4166 * sysdeps/i386/fpu/s_tan.S: Likewise.
4167 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4168 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4169 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4170 * math/libm-test.inc (tan_test): Add more tests and enable more
4171 tests for double and long double.
4172 * sysdeps/i386/fpu/libm-test-ulps: Update.
4173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4174
6a1bd2a1
JK
41752012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4176
4177 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4178 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4179
10a803e0
RM
41802012-03-16 Roland McGrath <roland@hack.frob.com>
4181
4182 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4183 * configure.in: Use it for both main tree and add-ons.
4184 * configure: Regenerated.
4185
f196c7f7
L
41862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4187
4188 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4189
8848d99d
JM
41902012-03-16 Joseph Myers <joseph@codesourcery.com>
4191
96cbe7f4
JM
4192 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4193 in comment.
4194
8848d99d
JM
4195 [BZ #13851]
4196 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4197 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4201 infinite argument.
4202 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4204 != 0 for prec == 2.
4205 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4206 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4207 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4208 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4209 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4210 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4211 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4212 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4213 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4214 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4215 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4216 * math/libm-test.inc (cos_test): Add more tests and enable more
4217 tests for long double.
4218 (sin_test): Likewise.
4219 (sincos_test): Likewise.
4220 * sysdeps/i386/fpu/libm-test-ulps: Update.
4221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4222
dd7f4703
DM
42232012-03-16 David S. Miller <davem@davemloft.net>
4224
4225 * sysdeps/sparc/fpu/math_private.h: New file.
4226
006f1daa
DM
42272012-03-15 David S. Miller <davem@davemloft.net>
4228
c0c83bc8
DM
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4230 file.
e6a62e18 4231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4233 file.
e6a62e18
DM
4234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4240 sysdep routines.
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4242
88cb87d9
DM
4243 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4244 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4245
006f1daa 4246 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4248 sparc-ifunc.h
006f1daa 4249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4251 Likewise.
4252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4253 Likewise.
006f1daa
DM
4254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4258 Likewise.
006f1daa
DM
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4264 Likewise.
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4266 Likewise.
006f1daa
DM
4267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4274 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4291
11e0098e
AS
42922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4293
4294 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4295 scaling.
4296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4297
e85b09d0
AJ
42982012-03-15 Andreas Jaeger <aj@suse.de>
4299
4300 [BZ #13852]
4301 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4302 ieee754/flt-32 implementation for sin, cos and sincos.
4303 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4304 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4305 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4306 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4307 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4308 ieee754/flt-32 implementation for tan.
4309
4310 * math/libm-test.inc (cos_test): Enable some large input tests for
4311 float as well
4312 (sin_test): Likewise.
4313 (sincos_test): Likewise.
4314 (tan_test): Add tests for large input.
4315
4316 * sysdeps/i386/fpu/libm-test-ulps: Update.
4317
81c64153
AJ
43182012-03-15 Andreas Jaeger <aj@suse.de>
4319
4320 [BZ #13658]
4321 * math/libm-test.inc (cos_test): Add more test cases.
4322 (sin_test): Likewise.
4323 (sincos_test): Likewise.
4324
7bbfa5c6
AJ
43252012-03-15 Andreas Jaeger <aj@suse.de>
4326
4327 [BZ #13837]
4328 * math/libm-test.inc (cos_test): Add a test case for large input
4329 value.
4330 (sin_test): Likewise.
4331 (sincos_test): Likewise.
4332
43332012-03-15 Andreas Jaeger <aj@suse.de>,
4334 Joseph Myers <joseph@codesourcery.com>
4335
4336 [BZ #13658]
0671f479 4337 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4338 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4339 * sysdeps/i386/fpu/branred.c: Likewise.
4340 * sysdeps/i386/fpu/dosincos.c: Likewise.
4341 * sysdeps/i386/fpu/mpa.c: Likewise.
4342 * sysdeps/i386/fpu/s_cos.S: Likewise.
4343 * sysdeps/i386/fpu/s_sin.S: Likewise.
4344 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4345 * sysdeps/i386/fpu/sincos32.c: Likewise.
4346
4347 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4348 Define.
4349 (libc_feupdateenv_53bit): Define.
4350 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4351 Define.
4352 (libc_feupdateenv_53bit): Define.
4353
4354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4355 53 bit (without extend i386 double precision).
4356
4357 * math/libm-test.inc (sincos_test): Add tests for large input.
4358 (sin): Likewise.
4359 (cos): Likewise.
4360
4361 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4362
9cad04ea
AS
43632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4364
4365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4366
f7062b9a
DM
43672012-03-15 David S. Miller <davem@davemloft.net>
4368
4369 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4370 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4371 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4372 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4385 file.
f7062b9a 4386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4388 file.
f7062b9a 4389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4391 file.
f7062b9a 4392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4394 file.
f7062b9a
DM
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4397 fmin/fmax sysdep routines.
4398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4399
7bd951ff
DM
44002012-03-14 David S. Miller <davem@davemloft.net>
4401
559398ab
DM
4402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4431 routines.
4432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4433 file.
559398ab 4434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4436 file.
559398ab 4437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4439 file.
559398ab 4440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4442 file.
559398ab 4443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4445 file.
559398ab 4446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4448 file.
4449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4450 file.
4451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4452 file.
4453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4454 file.
4455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4456 New file.
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4458 file.
4459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4460 file.
559398ab 4461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4463 file.
559398ab 4464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4466 file.
559398ab 4467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4469 file.
559398ab 4470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4472 VIS3 routines.
559398ab
DM
4473
4474 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4475 New file.
4476
5a1c1e32
DM
4477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4478
eae47a36
DM
4479 * sysdeps/sparc/configure.in: New file.
4480 * sysdeps/sparc/configure: Generate.
4481 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4482 * configure: Regenerate.
4483 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4484 * config.make.in (have-as-vis3): New.
4485 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4486 available use -Av9d instead of -Av9a.
4487 * sysdeps/sparc/sparc64/Makefile: Likewise.
4488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4490 New file.
4491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4492 file.
4493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4494 New file.
4495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4496 file.
eae47a36
DM
4497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4502
c0c83bc8
DM
4503 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4504 fzeros/fnegs to load 0x80000000 into a float register instead of
4505 using the stack.
7bd951ff
DM
4506 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4507
bd951ccb
JM
45082012-03-14 Joseph Myers <joseph@codesourcery.com>
4509
4510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4511 bits/syscall.h.
4512 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4513 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4514 ($(inst_includedir)/bits/syscall.h): Remove rule.
4515 ($(objpfx)bits/syscall.d): Include instead of
4516 $(objpfx)syscall-list.d.
4517 (generated): Change syscall-list.h and syscall-list.d to
4518 bits/syscall.h and bits/syscall.d.
4519
bb4e6db2
RM
45202012-03-14 Roland McGrath <roland@hack.frob.com>
4521
4522 [BZ #13846]
4523 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4524
aa4a2ae1
JM
45252012-03-14 Joseph Myers <joseph@codesourcery.com>
4526
e456826d
JM
4527 [BZ #13841]
4528 * math/s_csqrt.c: Include <float.h>.
4529 (__csqrt): Scale large or subnormal inputs.
4530 * math/s_csqrtf.c: Likewise.
4531 * math/s_csqrtl.c: Likewise.
4532 * math/libm-test.inc (csqrt_test): Add more tests.
4533 * sysdeps/i386/fpu/libm-test-ulps: Update.
4534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4535
aa4a2ae1
JM
4536 [BZ #13840]
4537 * math/libm-test.inc (hypot_test): Add more tests.
4538
7c10fd35
DM
45392012-03-13 David S. Miller <davem@davemloft.net>
4540
4541 [BZ #13840]
4542 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4543 double-precision for the calculation instead of scaling.
4544
f453b98b
JM
45452012-03-13 Joseph Myers <joseph@codesourcery.com>
4546
4547 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4548 manipulate bits before adding and subtracting TWO52[sx].
4549 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4551 Likewise.
4552 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4553
09a3453f
DM
45542012-03-13 David S. Miller <davem@davemloft.net>
4555
8e59da90
DM
4556 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4557 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4559 rtld-global-offsets.h
4560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4561
2a8ab7f2
DM
4562 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4563 large parameters.
4564
10f62770
DM
4565 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4566
5f0bdb18
DM
4567 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4568 'err' in the ifdef scope in which it is actually used.
4569
09a3453f
DM
4570 * nss/nss_db/db-init.c: Include string.h
4571
b4b2eb5e
DM
45722012-03-12 David S. Miller <davem@davemloft.net>
4573
98bb2f1c
DM
4574 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4575 masking out of the most significant byte of random value used.
4576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4577 Fix coding style in previous change.
4578
b4b2eb5e
DM
4579 * sysdeps/unix/sysv/linux/kernel-features.h
4580 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4581 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4582 expression.
4583 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4584 later.
4585
6e226b09
DM
45862012-03-11 David S. Miller <davem@davemloft.net>
4587
a1bcbd40
DM
4588 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4589 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4591 for 'resultvar' otherwise things get truncated on 64-bit.
4592
cb9d6174
DM
4593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4594 Fix masking out of the most significant byte of random value used.
4595
6e226b09
DM
4596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4597
058c132d
AS
45982012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4599
4600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4601
2d2cd515
DM
46022012-03-09 David S. Miller <davem@davemloft.net>
4603
4604 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4605 variables with appropriate CPP guards.
4606 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4607 frame pointer, not the stack pointer. Correct layout comments. Fix test
4608 on resulting framesize and the management of the outregs buffer for pltexit.
4609 Preserve floating point return values across _dl_call_pltexit call.
4610 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4611 framesize and the management of the outregs buffer for pltexit.
4612 Preserve floating point return values across _dl_call_pltexit
4613 call.
4614 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4615 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4616 (print_exit): Fix format string for return register value.
4617
9a07f9d0
JM
46182012-03-10 Joseph Myers <joseph@codesourcery.com>
4619
4620 * sunrpc/Makefile (others): Add rpcgen.
4621 ($(objpfx)rpcgen): Remove special build rule and dependency on
4622 libc.
4623 * sunrpc/rpcgen.c: New file.
4624
547b5e30
PE
46252012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4626
c524201a
PE
4627 [BZ #13673]
4628 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4629 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4630 * sysdeps/i386/crti.S: Likewise.
4631 * sysdeps/i386/crtn.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4633 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4635 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4636 * sysdeps/sh/crti.S: Likewise.
4637 * sysdeps/sh/crtn.S: Likewise.
4638 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4639
7b6235f2
PE
4640 [BZ #13673]
4641 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4642 with URL.
4643 * locale/programs/locfile-kw.gperf: Likewise.
4644 * locale/programs/charmap-kw.h: Regenerated.
4645 * locale/programs/locfile-kw.h: Likewise.
4646
547b5e30
PE
4647 [BZ #13673]
4648 * intl/plural.y: Replace FSF snail mail address with URL.
4649 * intl/plural.c: Regenerated.
4650
5f0a5dae
RH
46512012-03-09 Richard Henderson <rth@twiddle.net>
4652
4653 * include/math_private.h: Remove file.
4654 * math/math_private.h: Move file ...
4655 * sysdeps/generic/math_private.h: ... here.
4656
b8c03620
RH
4657 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4658 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4659 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4660
4e234f5d 4661 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4662 and <math_private.h>.
4663 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4664 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4665 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4666 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4667 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4668 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4669 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4671 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4672 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4674 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4675 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4676 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4677 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4678 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4679 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4680 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4681 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4682 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4684 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4685 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4687 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4688 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4689 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4692 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4693 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4694 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4695 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4696 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4697 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4698 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4699 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4700 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4701 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4703 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4704 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4705 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4706 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4707 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4714 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4715 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4716 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4717 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4718 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4720 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4721 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4724 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4727 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4728 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4729 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4730 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4731 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4732 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4734 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4735 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4737 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4739 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4743 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4746 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4747 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4750 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4751 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4752 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4753 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4754 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4756 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4757 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4758 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4759 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4760 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4761 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4762 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4763 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4764 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4765 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4766 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4768 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4769 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4770 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4771 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4772 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4773 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4774 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4775 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4776 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4777 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4779 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4780 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4781 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4782 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4783 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4784 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4786 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4787 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4788 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4789 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4790 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4791 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4792 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4793 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4794 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4795 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4796 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4797 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4798 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4799 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4800 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4801 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4802 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4803 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4804 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4805 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4806 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4807 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4808 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4809 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4810 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4811 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4812 * sysdeps/ieee754/k_standard.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4880 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4887 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4890 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4893 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4894 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4897 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4898 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4901 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4902 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4903 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4904 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4905 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4906 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4927 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4928 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4929 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4930 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4932 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4933 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4935 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4940 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4945 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4962 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4969 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4971 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4973 * sysdeps/ieee754/s_lib_version.c: Likewise.
4974 * sysdeps/ieee754/s_matherr.c: Likewise.
4975 * sysdeps/ieee754/s_signgam.c: Likewise.
4976 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4977 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4978 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4979 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4980 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4981 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4982 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4983 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4984 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4985 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4986 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4987 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4988 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4989 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4990 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4992 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4993 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4994 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4996 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4997
1991fa03
JM
49982012-03-09 Joseph Myers <joseph@codesourcery.com>
4999
5000 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5001 * sunrpc/rpc_main.c: Likewise.
5002 * sunrpc/rpc_svcout.c: Likewise.
5003
60d6f5a6
DM
50042012-03-09 David S. Miller <davem@davemloft.net>
5005
5006 * include/math_private.h: New file.
5007
4962050e
JM
50082012-03-09 Joseph Myers <joseph@codesourcery.com>
5009
02a6f887
JM
5010 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5011 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5012 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5013 from <bits/socket_type.h>.
5014 (enum __socket_type): Don't define here.
5015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5017 bits/socket_type.h.
5018
c6e013c1
JM
5019 [BZ #13566]
5020 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5021 checking __USE_GNU.
5022
4962050e
JM
5023 * Makerules ($(inst_includedir)/%.h): New rule.
5024 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5025 (install-others): Remove variable setting.
5026 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5027
38842f45
RH
50282012-03-08 Richard Henderson <rth@twiddle.net>
5029
67bb6da6
RH
5030 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5031 from macro to inline function; merge with the
5032 !__LIBC_INTERNAL_MATH_INLINES version.
5033 (__ieee754_sqrtf): Likewise.
5034
15194b4b
RH
5035 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5036 to inline function.
5037 (__rintf, __floor, __floorf): Likewise.
5038
64e21ede
RH
5039 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5040 macro to inline function.
5041 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5042
38842f45
RH
5043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5044 not <math/math_private.h>.
5045
c64bf5fe
DM
50462012-03-08 David S. Miller <davem@davemloft.net>
5047
5048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5049 copyright year.
5050 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5051
82d86f28
TS
50522012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5053
5054 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5055 normalization.
5056 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5057 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5058
aea5d727
UD
50592012-03-08 Ulrich Drepper <drepper@gmail.com>
5060
5061 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5062 be defined individually, they must be defined as a block. Define
5063 S for printing a string instead of hidint the different by using a
5064 macro for adding the 'l'.
5065 * stdio-common/tst-fphex-wide.c: Adjust.
5066
70bca0a3
MP
50672012-03-07 Marek Polacek <polacek@redhat.com>
5068
5069 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5070
65b81130
MP
50712012-03-08 Marek Polacek <polacek@redhat.com>
5072
5073 [BZ #13806]
5074 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5075 * stdio-common/tst-fphex.c: Define a few macros to make the
5076 test reusable. Use them.
5077 * stdio-common/tst-fphex-wide.c: New file.
5078
07037eeb
JM
50792012-03-08 Joseph Myers <joseph@codesourcery.com>
5080
a7a93d50
JM
5081 [BZ #6911]
5082 * manual/macros.texi (gnusystems): New macro.
5083 (nongnusystems): Likewise.
5084 (gnulinuxhurdsystems): Likewise.
5085 (gnuhurdsystems): Likewise..
5086 (gnulinuxsystems): Likewise.
5087 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5088 variants of the GNU system, not "GNU system".
5089 * manual/conf.texi: Likewise.
5090 * manual/errno.texi: Likewise. Update example of errno macro
5091 expansion.
5092 * manual/filesys.texi: Likewise.
5093 (getumask): Document as specific to GNU/Hurd.
5094 * manual/install.texi: Likewise. Reword some references to
5095 GNU/Linux.
5096 * manual/intro.texi: Likewise.
5097 * manual/io.texi: Likewise.
5098 (File Name Portability): Detail which constraints are inapplicable
5099 to all GNU systems and which are only inapplicable to GNU/Hurd.
5100 * manual/job.texi: Likewise.
5101 * manual/llio.texi: Likewise.
5102 (O_NOCTTY): Document as present on GNU/Linux.
5103 * manual/maint.texi: Likewise.
5104 * manual/memory.texi: Likewise.
5105 * manual/pattern.texi: Likewise.
5106 * manual/pipe.texi: Likewise.
5107 * manual/process.texi: Likewise.
5108 * manual/resource.texi: Likewise.
5109 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5110 child on GNU/Hurd.
5111 * manual/setjmp.texi: Likewise.
5112 * manual/signal.texi: Likewise.
5113 * manual/startup.texi: Likewise.
5114 * manual/stdio.texi: Likewise.
5115 * manual/terminal.texi: Likewise.
5116 (ONLCR): Document as POSIX.
5117 (OXTABS): Document availability on GNU/Linux as XTABS.
5118 (ONOEOT): Document availability separately from other bits.
5119 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5120 * manual/time.texi: Likewise.
5121 * manual/users.texi: Likewise.
5122 * INSTALL: Regenerated.
5123 * sysdeps/gnu/errlist.c: Regenerated.
5124
07037eeb
JM
5125 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5126 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5127 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5128 puts.
5129 * configure: Regenerated.
5130
d1d3431a
JM
51312012-03-07 Joseph Myers <joseph@codesourcery.com>
5132
af6a1e37
JM
5133 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5134 default includes instead of AC_HEADER_CHECK.
5135 * sysdeps/i386/configure: Regenerated.
5136
d1d3431a
JM
5137 [BZ #10716]
5138 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5139 * math/s_cacoshf.c (__cacoshf): Likewise.
5140 * math/s_cacoshl.c (__cacoshl): Likewise.
5141 * math/s_casinh.c (__casinh): Set signs of result from argument.
5142 * math/s_casinhf.c (__casinhf): Likewise.
5143 * math/s_casinhl.c (__casinhl): Likewise.
5144 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5145 (casinh_test): Add more tests.
5146 * sysdeps/i386/fpu/libm-test-ulps: Update.
5147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5148
482ff4da
UD
51492012-03-07 Ulrich Drepper <drepper@gmail.com>
5150
872fda05
UD
5151 * po/zh_TW.po: Update from translation team.
5152
a4300c7a
UD
5153 * login/Makefile (distribute): Remove variable.
5154 * catgets/Makefile: Likewise.
5155 * mach/Makefile: Likewise.
5156 * malloc/Makefile: Likewise.
5157 * misc/Makefile: Likewise.
5158 * iconv/Makefile: Likewise.
5159 * nscd/Makefile: Likewise.
5160 * hurd/Makefile: Likewise.
5161 * manual/Makefile: Likewise.
5162 * locale/Makefile: Likewise.
5163 * intl/Makefile: Likewise.
5164 * conform/Makefile: Likewise.
5165 * nss/Makefile: Likewise.
5166 * time/Makefile: Likewise.
5167 * soft-fp/Makefile: Likewise.
5168 * dirent/Makefile: Likewise.
5169 * gmon/Makefile: Likewise.
5170 * po/Makefile: Likewise.
5171 * rt/Makefile: Likewise.
5172 * socket/Makefile: Likewise.
5173 * math/Makefile: Likewise.
5174 * signal/Makefile: Likewise.
5175 * debug/Makefile: Likewise.
5176 * elf/Makefile: Likewise.
5177 * timezone/Makefile: Likewise.
5178 * stdlib/Makefile: Likewise.
5179 * iconvdata/Makefile: Likewise.
5180 * sunrpc/Makefile: Likewise.
5181 * io/Makefile: Likewise.
5182 * argp/Makefile: Likewise.
5183 * inet/Makefile: Likewise.
5184 * hesiod/Makefile: Likewise.
5185 * grp/Makefile: Likewise.
5186 * csu/Makefile: Likewise.
5187 * wctype/Makefile: Likewise.
5188 * crypt/Makefile: Likewise.
5189 * libio/Makefile: Likewise.
5190 * string/Makefile: Likewise.
5191 * nis/Makefile: Likewise.
5192 * resolv/Makefile: Likewise.
5193 * stdio-common/Makefile: Likewise.
5194 * wcsmbs/Makefile: Likewise.
5195 * dlfcn/Makefile: Likewise.
5196 * posix/Makefile: Likewise.
5197
3b7c4e74 5198 [BZ #6959]
482ff4da
UD
5199 * timezone/Makefile: Don't install timezone files, just the programs
5200 and scripts.
5201
f72ed77d
UD
52022012-03-06 Ulrich Drepper <drepper@gmail.com>
5203
a000466f
UD
5204 * nss/databases.def: Add missing gshadow entry.
5205
f72ed77d
UD
5206 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5207
a53b7a4e
MP
52082012-03-06 Marek Polacek <polacek@redhat.com>
5209
5210 [BZ #13726]
5211 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5212 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5213 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5214 * stdio-common/tst-long-dbl-fphex.c: New file.
5215
e9258400
DM
52162012-03-06 David S. Miller <davem@davemloft.net>
5217
5218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5219 (set_obp_int): New function.
5220 (get_obp_int): New function.
5221 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5223 Avoid unused variable warnings on 'val' and use builtin_expect.
5224 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5225 __builtin_expect.
e9258400
DM
5226 (INLINE_CLONE_SYSCALL): Likewise.
5227
3bd2c723
DM
52282012-03-05 David S. Miller <davem@davemloft.net>
5229
5230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5231
bbb78d03
AS
52322012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5233
884c5db4
AS
5234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5235
bbb78d03
AS
5236 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5237 only for |x| >= 40.
5238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5239
1c9f702a 52402012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5241
5242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5243 Replace gettimeofday with __vdso_gettimeofday.
5244
7be16f82
RM
5245 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5246 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5247 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5248
5249 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5250 time with __vdso_time.
5251
ed58a00f
JM
52522012-03-05 Joseph Myers <joseph@codesourcery.com>
5253
5254 * manual/lang.texi (size_t): Note types to which size_t may be
5255 equivalent with the GNU C Library, but do not describe when
5256 differences between them are significant.
5257
30ee4ced
AJ
52582012-03-05 Andreas Jaeger <aj@suse.de>
5259
5260 * sysdeps/i386/fpu/libm-test-ulps: Update.
5261
b7cd39e8
JM
52622012-03-05 Joseph Myers <joseph@codesourcery.com>
5263
5264 [BZ #3976]
5265 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5266 (__ieee754_pow): Save and restore rounding mode and use
5267 round-to-nearest for main computations.
5268 * math/libm-test.inc (pow_test_tonearest): New function.
5269 (pow_test_towardzero): Likewise.
5270 (pow_test_downward): Likewise.
5271 (pow_test_upward): Likewise.
5272 (main): Call the new functions.
5273 * sysdeps/i386/fpu/libm-test-ulps: Update.
5274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5275
5276 [BZ #3976]
5277 * math/libm-test.inc (cosh_test_tonearest): New function.
5278 (cosh_test_towardzero): Likewise.
5279 (cosh_test_downward): Likewise.
5280 (cosh_test_upward): Likewise.
5281 (sinh_test_tonearest): Likewise.
5282 (sinh_test_towardzero): Likewise.
5283 (sinh_test_downward): Likewise.
5284 (sinh_test_upward): Likewise.
5285 (main): Call the new functions.
5286 * sysdeps/i386/fpu/libm-test-ulps: Update.
5287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5288
6c6a98c9
TV
52892012-03-05 Tom de Vries <tom@codesourcery.com>
5290
5291 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5292 default stack guard is set in last bytes.
5293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5294
21bb2d2e 52952012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5296
21bb2d2e 5297 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5298
21bb2d2e
AJ
5299 [BZ #13656]
5300 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5301 possibly allocate from heap instead of stack.
5302 * stdio-common/bug-vfprintf-nargs.c: New file.
5303 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5304
c6922934
AS
53052012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5306
5307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5308
bc957d53
MP
53092012-03-03 Marek Polacek <polacek@redhat.com>
5310
5311 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5312 * math/math_private.h: Likewise.
5313 * stdlib/tst-strtod.c: Likewise.
5314 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5315 * sysdeps/x86_64/bits/atomic.h: Likewise.
5316
6358490d
DM
53172012-03-02 David S. Miller <davem@davemloft.net>
5318
5319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5323 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5324 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5325 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5326 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5327
01ae168d
RM
53282012-03-02 Roland McGrath <roland@hack.frob.com>
5329
d9a17c07
RM
5330 [BZ #13792]
5331 * manual/examples/README: New file, says the example source files
5332 can be used under GPL>=2.
5333 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5334 line containing just "*/".
5335 * manual/examples/add.c: Add copyright header (GPL>=2).
5336 * manual/examples/argp-ex1.c: Likewise.
5337 * manual/examples/argp-ex2.c: Likewise.
5338 * manual/examples/argp-ex3.c: Likewise.
5339 * manual/examples/argp-ex4.c: Likewise.
5340 * manual/examples/atexit.c: Likewise.
5341 * manual/examples/db.c: Likewise.
5342 * manual/examples/dir.c: Likewise.
5343 * manual/examples/dir2.c: Likewise.
5344 * manual/examples/execinfo.c: Likewise.
5345 * manual/examples/filecli.c: Likewise.
5346 * manual/examples/filesrv.c: Likewise.
5347 * manual/examples/fmtmsgexpl.c: Likewise.
5348 * manual/examples/genpass.c: Likewise.
5349 * manual/examples/inetcli.c: Likewise.
5350 * manual/examples/inetsrv.c: Likewise.
5351 * manual/examples/isockad.c: Likewise.
5352 * manual/examples/longopt.c: Likewise.
5353 * manual/examples/memopen.c: Likewise.
5354 * manual/examples/memstrm.c: Likewise.
5355 * manual/examples/mkfsock.c: Likewise.
5356 * manual/examples/mkisock.c: Likewise.
5357 * manual/examples/mygetpass.c: Likewise.
5358 * manual/examples/pipe.c: Likewise.
5359 * manual/examples/popen.c: Likewise.
5360 * manual/examples/rprintf.c: Likewise.
5361 * manual/examples/search.c: Likewise.
5362 * manual/examples/select.c: Likewise.
5363 * manual/examples/setjmp.c: Likewise.
5364 * manual/examples/sigh1.c: Likewise.
5365 * manual/examples/sigusr.c: Likewise.
5366 * manual/examples/stpcpy.c: Likewise.
5367 * manual/examples/strdupa.c: Likewise.
5368 * manual/examples/strftim.c: Likewise.
5369 * manual/examples/strncat.c: Likewise.
5370 * manual/examples/subopt.c: Likewise.
5371 * manual/examples/swapcontext.c: Likewise.
5372 * manual/examples/termios.c: Likewise.
5373 * manual/examples/testopt.c: Likewise.
5374 * manual/examples/testpass.c: Likewise.
5375 * manual/examples/timeval_subtract.c: Likewise.
5376
01ae168d
RM
5377 [BZ #13792]
5378 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5379 function to ...
5380 * manual/timeval_subtract.c.texi: ... here, new file.
5381
49efa33d
DM
53822012-03-02 David S. Miller <davem@davemloft.net>
5383
5384 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5385
28afd92d
JM
53862012-03-02 Joseph Myers <joseph@codesourcery.com>
5387
804360ed
JM
5388 [BZ #3976]
5389 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5390 (__sin): Save and restore rounding mode and use round-to-nearest
5391 for all computations.
5392 (__cos): Save and restore rounding mode and use round-to-nearest
5393 for all computations.
5394 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5395 <fenv.h>.
5396 (tan): Save and restore rounding mode and use round-to-nearest for
5397 all computations.
5398 * math/libm-test.inc (cos_test_tonearest): New function.
5399 (cos_test_towardzero): Likewise.
5400 (cos_test_downward): Likewise.
5401 (cos_test_upward): Likewise.
5402 (sin_test_tonearest): Likewise.
5403 (sin_test_towardzero): Likewise.
5404 (sin_test_downward): Likewise.
5405 (sin_test_upward): Likewise.
5406 (tan_test_tonearest): Likewise.
5407 (tan_test_towardzero): Likewise.
5408 (tan_test_downward): Likewise.
5409 (tan_test_upward): Likewise.
5410 (main): Call the new functions.
5411 * sysdeps/i386/fpu/libm-test-ulps: Update.
5412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5413
a6d06d7b
JM
5414 [BZ #10135]
5415 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5416 small n, then large n, before computing and testing k+n.
5417 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5419 Likewise.
5420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5421 Likewise.
5422 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5423 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5428 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5429 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5430 * math/libm-test.inc (scalbn_test): Add more tests.
5431 (scalbln_test): Likewise.
5432
07e12bb3
JM
5433 * manual/filesys.texi (mode_t): Describe constraints on size and
5434 signedness, not exact equivalence to a particular type.
5435 (ino_t): Likewise.
5436 (ino64_t): Likewise.
5437 (dev_t): Likewise.
5438 (nlink_t): Likewise.
5439 (blkcnt_t): Likewise.
5440 (blkcnt64_t): Likewise.
5441 * manual/llio.texi (off_t): Likewise.
5442
28afd92d
JM
5443 [BZ #3976]
5444 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5445 (__ieee754_exp): Save and restore rounding mode and use
5446 round-to-nearest for all computations.
5447 * math/libm-test.inc (exp_test_tonearest): New function.
5448 (exp_test_towardzero): Likewise.
5449 (exp_test_downward): Likewise.
5450 (exp_test_upward): Likewise.
5451 (main): Call the new functions.
5452 * sysdeps/i386/fpu/libm-test-ulps: Update.
5453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5454
b1eeb65d
CD
54552012-03-01 Chris Demetriou <cgd@google.com>
5456
5457 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5458 have predictable order.
5459
53362a4b
DM
54602012-03-01 David S. Miller <davem@davemloft.net>
5461
3c969083
DM
5462 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5463
759707de
DM
5464 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5465 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5466 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5467 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5468
dfdb8ff2
DM
5469 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5470 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5471 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5473 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5474 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5475 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5476 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5477 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5478
ead89f96
DM
5479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5480
7f66bd07
DM
5481 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5482 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5483 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5484
53362a4b
DM
5485 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5486 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5487 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5488 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5489 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5490 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5492 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5493 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5494 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5495 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5501 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5502 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5503 * sysdeps/sparc/elf/configure: Regenerated.
5504
7b1902cb
JM
55052012-03-01 Joseph Myers <joseph@codesourcery.com>
5506
bec039bc
JM
5507 * configure.in (AS, LD): Require binutils 2.20 or later.
5508 * configure: Regenerated.
5509 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5510 as required minimum version.
5511 * INSTALL: Regenerated.
5512
7b1902cb
JM
5513 [BZ #2541]
5514 [BZ #4108]
5515 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5516 before squaring exponent.
5517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5518 bottom long double and 27 bits of top long double before squaring
5519 exponent.
5520 * math/libm-test.inc (erfc_test): Add more tests.
5521 * sysdeps/i386/fpu/libm-test-ulps: Update.
5522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5524
f775c276
KT
55252012-03-01 Kai Tietz <ktietz@redhat.com>
5526
5527 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5528 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5529 containing bit-fields.
5530 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5531 * soft-fp/single.h (_FP_UNION_S): Likewise.
5532 * soft-fp/double.h (_FP_UNION_D): Likewise.
5533
5b8a4d4a
JM
55342012-02-29 Joseph Myers <joseph@codesourcery.com>
5535
0bab47b6
JM
5536 [BZ #13786]
5537 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5538 not include ../strcmp.S.
5539 [USE_AS_STRNCASECMP_L]: Likewise.
5540 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5541 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5542 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5543 (__strncasecmp_l_ia32): Define as alias to
5544 __strncasecmp_l_nonascii.
5545
0fcad3e2
JM
5546 [BZ #5794]
5547 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5548 * sysdeps/i386/fpu/libm-test-ulps: Update.
5549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5550
5b8a4d4a
JM
5551 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5553
8fdceb2e
JL
55542012-02-29 Jeff Law <law@redhat.com>
5555
5556 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5557 out of bounds read.
5558
1f393a11
MP
55592012-02-29 Marek Polacek <polacek@redhat.com>
5560
5561 [BZ #13706]
5562 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5563 * elf/Makefile: Add rules to run tst-unused-dep.out.
5564
8847f037
DM
55652012-02-28 David S. Miller <davem@davemloft.net>
5566
5567 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5568 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5569 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5570 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5571 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5572 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5573
169d7f11
JM
55742012-02-29 Joseph Myers <joseph@codesourcery.com>
5575
5576 * math/libm-test.inc (llround_test): Move one test from
5577 lround_test. Use TEST_f_L in moved test.
5578 (lround_test): Move misplaced test to llround_test. Add testcase
5579 from bug 2561.
5580
39adf059
UD
55812012-02-28 Ulrich Drepper <drepper@gmail.com>
5582
5583 * sysdeps/x86_64/fpu/e_expf.S: New file.
5584 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5585
71b5d1c5
SB
55862012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5587
5588 [BZ #13637]
5589 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5590 of remain_len that may cause incomplete multi-byte character and
5591 false match.
5592 * posix/bug-regex33.c: New file.
5593 * posix/Makefile (tests): Add bug-regex33.
5594
1f77f049
JM
55952012-02-28 Joseph Myers <joseph@codesourcery.com>
5596
5597 * manual/macros.texi: New file.
5598 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5599 * manual/libc.texinfo: Include macros.texi.
5600 * manual/creatute.texi: Likewise.
5601 * manual/install.texi: Likewise.
5602 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5603 @glibcadj{} in references to the GNU C Library.
5604 * manual/charset.texi: Likewise.
5605 * manual/conf.texi: Likewise.
5606 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5607 when not using those macros.
5608 * manual/creature.texi: Likewise.
5609 * manual/crypt.texi: Likewise.
5610 * manual/errno.texi: Likewise.
5611 * manual/filesys.texi: Likewise.
5612 * manual/header.texi: Likewise.
5613 * manual/install.texi: Likewise.
5614 * manual/intro.texi: Likewise.
5615 * manual/io.texi: Likewise.
5616 * manual/job.texi: Likewise.
5617 * manual/lang.texi: Likewise.
5618 * manual/libc.texiinfo: Likewise.
5619 * manual/llio.texi: Likewise.
5620 * manual/locale.texi: Likewise.
5621 * manual/maint.texi: Likewise.
5622 * manual/math.texi: Likewise.
5623 * manual/memory.texi: Likewise.
5624 * manual/message.texi: Likewise.
5625 * manual/nss.texi: Likewise.
5626 * manual/pattern.texi: Likewise.
5627 * manual/process.texi: Likewise.
5628 * manual/resource.texi: Likewise.
5629 * manual/search.texi: Likewise.
5630 * manual/setjmp.texi: Likewise.
5631 * manual/signal.texi: Likewise.
5632 * manual/socket.texi: Likewise.
5633 * manual/startup.texi: Likewise.
5634 * manual/stdio.texi: Likewise.
5635 * manual/string.texi: Likewise.
5636 * manual/sysinfo.texi: Likewise.
5637 * manual/syslog.texi: Likewise.
5638 * manual/terminal.texi: Likewise.
5639 * manual/time.texi: Likewise.
5640 * manual/users.texi: Likewise.
5641 * INSTALL: Regenerated.
5642 * NOTES: Regenerated.
d40c5d54 5643 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5644
450bf206
AS
56452012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5646
5647 * include/dirent.h: Include <dirstream.h> before
5648 <dirent/dirent.h>.
5649
741a235b
DM
56502012-02-28 David S. Miller <davem@davemloft.net>
5651
5652 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5653 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5654 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5655 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5656
d6b5aa58
DM
56572012-02-27 David S. Miller <davem@davemloft.net>
5658
1aff59a3
DM
5659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5661 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5662 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5663
d6b5aa58
DM
5664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5665 frame pointer instead of stack pointer relative arg slot.
5666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5667 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5668 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5669
433f48bf
CD
56702012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5671
5672 [BZ #3992]
5673 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5674
d674b76d
DM
56752012-02-27 David S. Miller <davem@davemloft.net>
5676
5677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5681 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5682 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5683 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5684 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5685
0e7727f7
JM
56862012-02-27 Joseph Myers <joseph@codesourcery.com>
5687
5688 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5689 later. Allow versions 5-9.
43be4ca2 5690 * configure: Regenerated.
0e7727f7
JM
5691 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5692 required minimum version and 4.6 as recommended version. Do not
5693 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5694 * INSTALL: Regenerated.
0e7727f7 5695
a78bc654
DM
56962012-02-27 David S. Miller <davem@davemloft.net>
5697
428d5830
DM
5698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5702 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5703 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5704 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5705 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5706
a78bc654
DM
5707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5708 manipulate bits before adding and subtracting TWO112[sx].
5709 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5710
4579f81c
RM
57112012-02-27 Roland McGrath <roland@hack.frob.com>
5712
36c8acb4
RM
5713 [BZ #13775]
5714 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5715 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5716 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5717 being in POSIX, because they are in 1003.1-2008.
5718
84ad622b
RM
5719 * rt/tst-aio.c: Include <fcntl.h>.
5720 * rt/tst-aio7.c: Likewise.
5721 * rt/tst-aio64.c: Likewise.
5722
4579f81c
RM
5723 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5724
abd923db
JM
57252012-02-27 Joseph Myers <joseph@codesourcery.com>
5726
5727 * manual/install.texi (--with-headers): Describe headers as
5728 interface headers, not private headers.
5729 (Specific advice for GNU/Linux systems): Describe use of headers
5730 from "make headers_install", not private headers from older
5731 kernels.
43be4ca2 5732 * INSTALL: Regenerated.
abd923db
JM
5733 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5734 Change to 2.6.19.
5735 * sysdeps/unix/sysv/linux/configure: Regenerated.
5736
6664049b
JM
5737 * manual/llio.texi (fclean): Remove documentation.
5738
bb8b6697
JM
5739 * manual/Makefile (libc-texi-generated): New variable. Include
5740 version.texi.
5741 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5742 $(libc-texi-generated), not duplicated list of files.
5743 (version.texi, stamp-version): New rules.
5744 (realclean): Remove $(libc-texi-generated), not individual files
5745 from that list. Do not remove dir-add.texinfo.
5746 * manual/libc.texinfo: Comment out uses of edition numbers and
5747 references to printed manual. Remove last-updated dates.
5748 (EDITION): Comment out.
5749 (ISBN): Likewise.
5750 (VERSION, UPDATED): Remove.
5751 (version.texi): Include.
5752
12e5c3b9
AS
57532012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5754
5755 * sysdeps/posix/spawni.c: Include <signal.h>.
5756 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5757 * sysdeps/pthread/aio_fsync.c: Likewise.
5758
4efeffc1 57592012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5760
ba63ba08
UD
5761 * conform/Makefile (tests): Run only when not cross-compiling and
5762 when fast-check is not defined.
5763
d94a4670
UD
5764 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5765 * conform/data/limits.h-data: Fixes for POSIX2008.
5766 * conform/run-conformtest.sh: Run all tests.
5767 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5768 headers.
5769 * include/bits/dlfcn.h: Likewise.
5770 * include/langinfo.h: Likewise.
5771 * include/monetary.h: Likewise.
5772 * include/sys/poll.h: Likewise.
5773
5774 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5775 for __USE_GNU.
5776 * posix/spawn.h: Define __need_sigset_t.
5777 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5778 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5779 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5780 to get sigevent_t only.
5781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5782 only for __USE_GNU.
5783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5784 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5785 process_vm_writev only for __USE_GNU.
5786 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5787
5788 * conform/Makefile: For now ignore errors from run-conformtest.
5789 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5790 POSIX to avoid namespace pollution. Don't prepend headers.
5791 * conform/data/aio.h-data: Fixes for POSIX testing.
5792 * conform/data/fcntl.h-data: Likewise.
5793 * conform/data/glob.h-data: Likewise.
5794 * conform/data/grp.h-data: Likewise.
5795 * conform/data/pthread.h-data: Likewise.
5796 * conform/data/pwd.h-data: Likewise.
5797 * conform/data/signal.h-data: Likewise.
5798 * conform/data/spawn.h-data: Likewise.
5799 * conform/data/stdio.h-data: Likewise.
5800 * conform/data/stdlib.h-data: Likewise.
5801 * conform/data/stropts.h-data: Likewise.
5802 * conform/data/sys/mman.h-data: Likewise.
5803 * conform/data/sys/stat.h-data: Likewise.
5804 * conform/data/sys/types.h-data: Likewise.
5805 * conform/data/sys/wait.h-data: Likewise.
5806 * conform/data/time.h-data: Likewise.
5807 * conform/data/unistd.h-data: Likewise.
5808 * conform/data/utime.h-data: Likewise.
5809
5810 * io/sys/stat.h: fchmod was always in POSIX.
5811 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5812 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5813 * rt/aio.h: Define __need_timespec before including <time.h>.
5814 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5815 struct. Add forward declaration of pthread_attr_t and use it in
5816 sigevent.
5817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5819 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5820 always remove CLK_TCK definition.
5821
c20105c3
AS
58222012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5823
5824 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5825
7a270350
UD
58262012-02-25 Ulrich Drepper <drepper@gmail.com>
5827
31341567
UD
5828 * conform/run-conformtest.sh: New file.
5829 * conform/Makefile: Run run-conformtest for tests.
5830 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5831 support.
5832
5833 * conform/data/uchar.h-data: New file.
5834 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5835 * conform/data/arpa/inet.h-data: Likewise.
5836 * conform/data/assert.h-data: Likewise.
5837 * conform/data/complex.h-data: Likewise.
5838 * conform/data/cpio.h-data: Likewise.
5839 * conform/data/ctype.h-data: Likewise.
5840 * conform/data/dirent.h-data: Likewise.
5841 * conform/data/dlfcn.h-data: Likewise.
5842 * conform/data/errno.h-data: Likewise.
5843 * conform/data/fcntl.h-data: Likewise.
5844 * conform/data/float.h-data: Likewise.
5845 * conform/data/fmtmsg.h-data: Likewise.
5846 * conform/data/fnmatch.h-data: Likewise.
5847 * conform/data/ftw.h-data: Likewise.
5848 * conform/data/glob.h-data: Likewise.
5849 * conform/data/grp.h-data: Likewise.
5850 * conform/data/iconv.h-data: Likewise.
5851 * conform/data/inttypes.h-data: Likewise.
5852 * conform/data/langinfo.h-data: Likewise.
5853 * conform/data/libgen.h-data: Likewise.
5854 * conform/data/limits.h-data: Likewise.
5855 * conform/data/locale.h-data: Likewise.
5856 * conform/data/math.h-data: Likewise.
5857 * conform/data/monetary.h-data: Likewise.
5858 * conform/data/mqueue.h-data: Likewise.
5859 * conform/data/ndbm.h-data: Likewise.
5860 * conform/data/net/if.h-data: Likewise.
5861 * conform/data/netdb.h-data: Likewise.
5862 * conform/data/netinet/in.h-data: Likewise.
5863 * conform/data/nl_types.h-data: Likewise.
5864 * conform/data/poll.h-data: Likewise.
5865 * conform/data/pthread.h-data: Likewise.
5866 * conform/data/pwd.h-data: Likewise.
5867 * conform/data/regex.h-data: Likewise.
5868 * conform/data/sched.h-data: Likewise.
5869 * conform/data/search.h-data: Likewise.
5870 * conform/data/semaphore.h-data: Likewise.
5871 * conform/data/setjmp.h-data: Likewise.
5872 * conform/data/signal.h-data: Likewise.
5873 * conform/data/spawn.h-data: Likewise.
5874 * conform/data/stdarg.h-data: Likewise.
5875 * conform/data/stdio.h-data: Likewise.
5876 * conform/data/stdlib.h-data: Likewise.
5877 * conform/data/string.h-data: Likewise.
5878 * conform/data/strings.h-data: Likewise.
5879 * conform/data/stropts.h-data: Likewise.
5880 * conform/data/sys/ipc.h-data: Likewise.
5881 * conform/data/sys/mman.h-data: Likewise.
5882 * conform/data/sys/msg.h-data: Likewise.
5883 * conform/data/sys/resource.h-data: Likewise.
5884 * conform/data/sys/select.h-data: Likewise.
5885 * conform/data/sys/sem.h-data: Likewise.
5886 * conform/data/sys/shm.h-data: Likewise.
5887 * conform/data/sys/socket.h-data: Likewise.
5888 * conform/data/sys/stat.h-data: Likewise.
5889 * conform/data/sys/statvfs.h-data: Likewise.
5890 * conform/data/sys/time.h-data: Likewise.
5891 * conform/data/sys/timeb.h-data: Likewise.
5892 * conform/data/sys/times.h-data: Likewise.
5893 * conform/data/sys/types.h-data: Likewise.
5894 * conform/data/sys/uio.h-data: Likewise.
5895 * conform/data/sys/un.h-data: Likewise.
5896 * conform/data/sys/utsname.h-data: Likewise.
5897 * conform/data/sys/wait.h-data: Likewise.
5898 * conform/data/syslog.h-data: Likewise.
5899 * conform/data/tar.h-data: Likewise.
5900 * conform/data/termios.h-data: Likewise.
5901 * conform/data/utime.h-data: Likewise.
5902 * conform/data/utmpx.h-data: Likewise.
5903 * conform/data/varargs.h-data: Likewise.
5904 * conform/data/wchar.h-data: Likewise.
5905 * conform/data/wctype.h-data: Likewise.
5906 * conform/data/wordexp.h-data: Likewise.
5907
5908 * include/stropts.h: New file.
5909 * include/uchar.h: New file.
5910 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5911 * include/assert.h: Likewise.
5912 * include/ctype.h: Likewise.
5913 * include/dirent.h: Likewise.
5914 * include/dlfcn.h: Likewise.
5915 * include/fcntl.h: Likewise.
5916 * include/fnmatch.h: Likewise.
5917 * include/glob.h: Likewise.
5918 * include/grp.h: Likewise.
5919 * include/libio.h: Likewise.
5920 * include/locale.h: Likewise.
5921 * include/math.h: Likewise.
5922 * include/net/if.h: Likewise.
5923 * include/netdb.h: Likewise.
5924 * include/netinet/in.h: Likewise.
5925 * include/pthread.h: Likewise.
5926 * include/pwd.h: Likewise.
5927 * include/regex.h: Likewise.
5928 * include/sched.h: Likewise.
5929 * include/search.h: Likewise.
5930 * include/setjmp.h: Likewise.
5931 * include/signal.h: Likewise.
5932 * include/stdio.h: Likewise.
5933 * include/stdlib.h: Likewise.
5934 * include/string.h: Likewise.
5935 * include/sys/cdefs.h: Likewise.
5936 * include/sys/mman.h: Likewise.
5937 * include/sys/msg.h: Likewise.
5938 * include/sys/resource.h: Likewise.
5939 * include/sys/select.h: Likewise.
5940 * include/sys/socket.h: Likewise.
5941 * include/sys/stat.h: Likewise.
5942 * include/sys/statvfs.h: Likewise.
5943 * include/sys/time.h: Likewise.
5944 * include/sys/times.h: Likewise.
5945 * include/sys/uio.h: Likewise.
5946 * include/sys/utsname.h: Likewise.
5947 * include/sys/wait.h: Likewise.
5948 * include/termios.h: Likewise.
5949 * include/time.h: Likewise.
5950 * include/ulimit.h: Likewise.
5951 * include/unistd.h: Likewise.
5952 * include/utime.h: Likewise.
5953 * include/wchar.h: Likewise.
5954 * include/wctype.h: Likewise.
5955 * include/wordexp.h: Likewise.
5956
5957 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5958
7a270350
UD
5959 * time/time.h: TIME_UTC must be a macro.
5960 Make timespec_get available for ISO C11 only as well.
5961
7724defc
UD
59622012-02-24 Ulrich Drepper <drepper@gmail.com>
5963
5964 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5965 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5966
6b1d1d46
JM
59672012-02-24 Joseph Myers <joseph@codesourcery.com>
5968
5969 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5970
0f8bbd69
JM
59712012-02-24 Joseph Myers <joseph@codesourcery.com>
5972
5973 * manual/texinfo.tex: Update to version 2012-01-19.16.
5974
66ab80bc
JM
59752012-02-24 Joseph Myers <joseph@codesourcery.com>
5976
5977 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5978
74981cc5
RM
59792012-02-24 Roland McGrath <roland@hack.frob.com>
5980
ee968201
RM
5981 [BZ #13738]
5982 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5983 * manual/fdl-1.3.texi: New file.
5984 * manual/fdl-1.1.texi: File removed.
5985
74981cc5
RM
5986 [BZ #13738]
5987 * manual/libc.texinfo (FDL_VERSION): New @set.
5988 Use it for mention of FDL in cover text.
5989 (Documentation License): Use it in @include file name.
5990
7bb764bc
JM
59912012-02-22 Joseph Myers <joseph@codesourcery.com>
5992 Roland McGrath <roland@hack.frob.com>
5993
5994 [BZ #5461]
5995 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5996 not LONG_LONG_MAX and LONG_LONG_MIN.
5997 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5998 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5999 name.
6000 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6001
6cbeae47
JM
60022012-02-22 Joseph Myers <joseph@codesourcery.com>
6003
6004 [BZ #2547]
6005 [BZ #11365]
6006 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6007 manipulate bits before adding and subtracting TWO23[sx].
6008 * math/libm-test.inc (nearbyint_test): Add more tests.
6009
fe45ce09
JM
60102012-02-22 Joseph Myers <joseph@codesourcery.com>
6011
6012 [BZ #2548]
6013 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6014 bits before adding and subtracting TWO23[sx].
6015 * math/libm-test.inc (rint_test): Add more tests.
6016 (rint_test_tonearest): Likewise.
6017 (rint_test_towardzero): Likewise.
6018 (rint_test_downward): Likewise.
6019 (rint_test_upward: Likewise.
6020
ff3b3d82
JM
60212012-02-22 Joseph Myers <joseph@codesourcery.com>
6022
6023 [BZ #10110]
6024 * include/stdc-predef.h: New file. Extracted from features.h.
6025 * include/features.h: Include stdc-predef.h.
6026 * Makefile (headers): Add stdc-predef.h.
6027 * CONFORMANCE (Compiler limitations): Update.
6028
ef0aab35
JM
60292012-02-22 Joseph Myers <joseph@codesourcery.com>
6030
6031 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6032
58639409
DM
60332012-02-21 David S. Miller <davem@davemloft.net>
6034
6035 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6036 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6037
c0e70b25
DM
60382012-02-20 David S. Miller <davem@davemloft.net>
6039
6040 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6041 using a normal save/restore sequence, rather than allocating a
6042 dummy stack frame just to store a frame pointer and restore.
6043 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6044
fb06851d
JM
60452012-02-21 Joseph Myers <joseph@codesourcery.com>
6046
6047 * manual/install.texi: Fix stray word in line-wrapped comment.
6048
7a8b71c3
DM
60492012-02-20 David S. Miller <davem@davemloft.net>
6050
d510c123
DM
6051 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6052 both binutils and gcc support GOTDATA.
6053
0722d7c2
DM
6054 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6055 "rd %pc" in the PIC register setup sequences.
6056
3d2b3019
DM
6057 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6058 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6059 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6060 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6061 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6063 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6066 (SYSCALL_ERROR_HANDLER): Likewise.
6067 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6068 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6070 (SYSCALL_ERROR_HANDLER): Likewise.
6071
c80098a9
DM
6072 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6073 (HAVE_GCC_GOTDATA): New.
6074 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6075 relocation support in both binutils and gcc.
6076 * sysdeps/sparc/elf/configure: Regenerate.
6077
3a2545a0
DM
6078 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6079 * sysdeps/sparc/sparc32/elf/configure: Delete.
6080 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6081 * sysdeps/sparc/sparc64/elf/configure: Delete.
6082 * sysdeps/sparc/elf/configure.in: New file.
6083 * sysdeps/sparc/elf/configure: Generate.
6084
7a8b71c3
DM
6085 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6086 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6087 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6088 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6089 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6090
f1e86fca
JM
60912012-02-21 Joseph Myers <joseph@codesourcery.com>
6092
6093 * manual/install.texi: Do not mention specific glibc version
6094 numbers.
6095 * manual/libc.texinfo (VERSION, UPDATED): Update.
6096 (@copying): Use @copyright{} and range of years.
6097
0e7dfaef
JM
60982012-02-21 Joseph Myers <joseph@codesourcery.com>
6099
6100 [BZ #13695]
6101 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6102 [crti.S not in sysdirs] (generated): Do not append.
6103 [crti.S not in sysdirs] (omit-deps): Likewise.
6104 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6105 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6106 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6107 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6108 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6109 Likewise.
6110 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6111 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6112 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6113 * csu/defs.awk: Remove file.
6114 * sysdeps/generic/initfini.c: Likewise.
6115 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6116 variable.
6117 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6118 Likewise.
6119
599af3ca
JM
61202012-02-20 Joseph Myers <joseph@codesourcery.com>
6121
6122 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6123 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6124 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6125 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6126 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6127 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6128 <bits/epoll.h>.
6129 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6130 (__EPOLL_PACKED): Define to empty if not defined by
6131 <bits/epoll.h>.
6132 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6134 bits/epoll.h.
6135
0e499750
JM
61362012-02-20 Joseph Myers <joseph@codesourcery.com>
6137
6138 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6139 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6140 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6141 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6142 <bits/timerfd.h>.
6143 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6145 bits/timerfd.h.
6146
5ad91f6e
JM
61472012-02-20 Joseph Myers <joseph@codesourcery.com>
6148
6149 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6150 in C locale.
6151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6152 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6153 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6155
06b99b02
AJ
61562012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6157
6158 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6159 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6160
7638c0fd
AS
61612012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6162
6163 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6164 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6165 defined.
6166 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6167 Likewise.
6168 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6169 entry for 2.16.
6170
92221550
AJ
61712012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6172
6173 * math/w_acos.c: Use non-signaling floating-point comparisons.
6174 * math/w_acosf.c: Likewise.
6175 * math/w_acosh.c: Likewise.
6176 * math/w_acoshf.c: Likewise.
6177 * math/w_acoshl.c: Likewise.
6178 * math/w_acosl.c: Likewise.
6179 * math/w_asin.c: Likewise.
6180 * math/w_asinf.c: Likewise.
6181 * math/w_asinl.c: Likewise.
6182 * math/w_atanh.c: Likewise.
6183 * math/w_atanhf.c: Likewise.
6184 * math/w_atanhl.c: Likewise.
6185 * math/w_exp2.c: Likewise.
6186 * math/w_exp2f.c: Likewise.
6187 * math/w_exp2l.c: Likewise.
6188 * math/w_j0.c: Likewise.
6189 * math/w_j0f.c: Likewise.
6190 * math/w_j0l.c: Likewise.
6191 * math/w_j1.c: Likewise.
6192 * math/w_j1f.c: Likewise.
6193 * math/w_j1l.c: Likewise.
6194 * math/w_jn.c: Likewise.
6195 * math/w_jnf.c: Likewise.
6196 * math/w_log.c: Likewise.
6197 * math/w_log10.c: Likewise.
6198 * math/w_log10f.c: Likewise.
6199 * math/w_log10l.c: Likewise.
6200 * math/w_log2.c: Likewise.
6201 * math/w_log2f.c: Likewise.
6202 * math/w_log2l.c: Likewise.
6203 * math/w_logf.c: Likewise.
6204 * math/w_logl.c: Likewise.
6205 * math/w_sqrt.c: Likewise.
6206 * math/w_sqrtf.c: Likewise.
6207 * math/w_sqrtl.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6210 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6211 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6212 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6213
ebaf36eb
JM
62142012-02-19 Joseph Myers <joseph@codesourcery.com>
6215
6216 [BZ #9739]
6217 * manual/string.texi (strnlen): Use correct parameter name in
6218 equivalent expression.
6219
71c254a6
JM
62202012-02-19 Joseph Myers <joseph@codesourcery.com>
6221
6222 [BZ #11174]
6223 * manual/users.texi (seteuid): Consistently use neweuid for
6224 argument name.
6225
16d2c631
JM
62262012-02-19 Joseph Myers <joseph@codesourcery.com>
6227
6228 [BZ #13704]
6229 * manual/nss.texi (Services in the NSS configuration): Correct
6230 list of services in example configuration file.
6231
cd837b09
NB
62322012-02-19 Nick Bowler <nbowler@draconx.ca>
6233
6234 [BZ #11322]
6235 * manual/arith.texi: Remove statements about negative zero
6236 behaving identically to zero.
6237
02c4bbad
JM
62382012-02-18 Joseph Myers <joseph@codesourcery.com>
6239
6240 [BZ #5993]
6241 * manual/install.texi: Do not document upgrading from libc5.
6242
366842e7
JM
62432012-02-18 Joseph Myers <joseph@codesourcery.com>
6244
6245 [BZ #4596]
6246 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6247
dd54084d
DM
62482012-02-18 David S. Miller <davem@davemloft.net>
6249
6250 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6251 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6252 %o7 across the call.
6253 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6254 instead.
6255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6256 SETUP_PIC_REG_LEAF.
6257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6258 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6259 * sysdeps/sparc/crtn.S: Likewise.
6260
2bcc53a3
UD
62612012-02-17 Ulrich Drepper <drepper@gmail.com>
6262
6263 * aout/Makefile: Remove.
6264
09c093b5
RK
62652012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6266
6267 [BZ #13058]
6268 * manual/examples/argp-ex1.c (main): Format definition in GNU
6269 style.
6270 * manual/examples/argp-ex2.c (main): Likewise.
6271 * manual/examples/argp-ex3.c (main): Likewise.
6272 * manual/examples/argp-ex4.c (main): Likewise.
6273 * manual/examples/longopt.c (main): Use new-style prototype
6274 definition.
6275 * manual/examples/strncat.c (main): Specify return type and use
6276 (void) for arguments.
6277 * manual/examples/subopt.c (main): Use char **argv argument.
6278
2ee633a2
JM
62792012-02-17 Joseph Myers <joseph@codesourcery.com>
6280
6281 [BZ #5077]
6282 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6283 rounding modes.
6284
0520adde
FB
62852012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6286
6287 [BZ #6907]
6288 * manual/string.texi (strchr): Change when strchrnul is
6289 recommended.
6290
3f4081cd
DGM
62912012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6292
6293 [BZ #174]
6294 * manual/locale.texi (setlocale): Document LOCPATH.
6295
d1b10e78
JM
62962012-02-17 Joseph Myers <joseph@codesourcery.com>
6297
6298 [BZ #10210]
6299 * manual/process.texi (execle): Move @dots{} before last argument.
6300
79c6869c
PB
63012012-02-17 Paul Bolle <pebolle@tiscali.nl>
6302
6303 [BZ #12047]
6304 * manual/charset.texi (Generic Charset Conversion): Fix typo
6305 (LC_TYPE -> LC_CTYPE).
6306
cc6e48bc
NB
63072012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6308
6309 [BZ #5805]
6310 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6311 (scalbnf): Likewise.
6312 (scalbnl): Likewise.
6313 (scalbln): Likewise.
6314 (scalblnf): Likewise.
6315 (scalblnl): Likewise.
6316 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6317 (vwarnx): Likewise.
6318 (verr): Likewise.
6319 (verrx): Likewise.
6320 * manual/filesys.texi (telldir): Use braces around return type.
6321 * manual/llio.texi (mmap): Add space after comma.
6322 (mmap64): Likewise.
6323 * manual/math.texi (jn): Use @var{} on parameter names.
6324 (jnf): Likewise.
6325 (jnl): Likewise.
6326 (yn): Likewise.
6327 (ynf): Likewise.
6328 (ynl): Likewise.
6329 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6330 line.
6331 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6332 "...".
6333 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6334 (sched_get_priority_max): Likewise.
6335 * manual/signal.texi (sigvec): Add space after comma.
6336 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6337 names.
6338 (if_indextoname): Likewise.
6339 (if_freenameindex): Likewise.
6340 (sendto): Use ',' instead of '.' in prototype.
6341 * manual/startup.texi (syscall): Use @dots{} instead of literal
6342 "...".
6343 * manual/stdio.texi (__fpending): Separate initial words of
6344 paragraph from @deftypefun line.
6345 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6346 "...".
6347 (vsyslog): Use @var{} on parameter names.
6348 * manual/terminal.texi (stty): Use @var{} on parameter names.
6349 * manual/users.texi (getutmp): Use @var{} on parameter names.
6350 (getutmpx): Likewise.
6351
5b23062f
JM
63522012-02-17 Joseph Myers <joseph@codesourcery.com>
6353
6354 [BZ #6884]
6355 * manual/stdio.texi (fopen): Fix typos in description of
6356 ",ccs=STRING".
6357
8dee4833
AJ
63582012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6359
6360 [BZ #4026]
6361 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6362 get clock_id definition.
6363
9078ce93
TS
63642012-02-17 Thomas Schwinge <thomas@schwinge.name>
6365
6366 [BZ #4822]
6367 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6368 (madvise): Cast every argument to void on its own.
6369
3835c55f
JM
63702012-02-17 Joseph Myers <joseph@codesourcery.com>
6371
6372 [BZ #9902]
6373 * manual/startup.texi (Exit Status): Fix typo.
6374
35c47e37
JM
63752012-02-17 Joseph Myers <joseph@codesourcery.com>
6376
6377 [BZ #10140]
6378 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6379 * manual/examples/argp-ex2.c: Likewise.
6380 * manual/examples/argp-ex3.c: Likewise.
6381
e3b69ca7
RH
63822012-02-16 Richard Henderson <rth@redhat.com>
6383
6384 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6385 * sysdeps/s390/s390-32/initfini.c: Remove.
6386 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6387 * sysdeps/s390/s390-64/initfini.c: Remove.
6388
df83af67
KK
63892012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6390
6391 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6392 compiler output for sysdeps/generic/initfini.c.
6393 * sysdeps/sh/elf/initfini.c: Remove file.
6394
f63f3380
DM
63952012-02-16 David S. Miller <davem@davemloft.net>
6396
fb59b3a4
DM
6397 [BZ #11494]
6398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6399
f63f3380
DM
6400 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6401 * sysdeps/sparc/crti.S: New file.
6402 * sysdeps/sparc/crtn.S: New file.
6403 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6404 * sysdeps/sparc/sparc64/Makefile: Likewise.
6405
df6a4a4a
MF
64062012-02-15 Mike Frysinger <vapier@gentoo.org>
6407
6dd8f3dc 6408 [BZ #3335]
df6a4a4a
MF
6409 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6410
1cac7236
RM
64112012-02-15 Roland McGrath <roland@hack.frob.com>
6412
d2c736f8
RM
6413 [BZ #4822]
6414 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6415
1cac7236
RM
6416 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6417 (write, read, close): Likewise.
6418 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6419
8e475601
JM
64202012-02-15 Joseph Myers <joseph@codesourcery.com>
6421
6422 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6423 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6424 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6425 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6426 <bits/signalfd.h>.
6427 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6429 bits/signalfd.h.
6430
ed656b40
MP
64312012-02-14 Marek Polacek <polacek@redhat.com>
6432
6433 * sysdeps/x86_64/crti.S: New file.
6434 * sysdeps/x86_64/crtn.S: New file.
6435 * sysdeps/x86_64/elf/initfini.c: Remove file.
6436
2a979d3a
JM
64372012-02-13 Joseph Myers <joseph@codesourcery.com>
6438
6439 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6440 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6441 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6442 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6443 <bits/inotify.h>.
6444 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6446 bits/inotify.h.
6447
2a418ac3
JM
64482012-02-13 Joseph Myers <joseph@codesourcery.com>
6449
6450 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6451 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6453 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6454 <bits/eventfd.h>.
6455 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6457 bits/eventfd.h.
6458
fb779be7
TS
64592012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6460
e19e83c5
RM
6461 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6462 __feraiseexcept instead of feraiseexcept.
7c35ffed 6463
fb779be7
TS
6464 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6465 nanosleep invocations.
6466 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6467 strings, and add error checking for a nanosleep invocations.
6468
59ba27a6
PE
64692012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6470
6471 Replace FSF snail mail address with URLs, as per GNU coding standards.
6472 Most of the snail mail addresses were wrong anyway, and omitting
6473 them makes the source code easier to maintain. Almost all of the
6474 changes are to license notices and to locale LC_IDENTIFICATION
6475 addresses, except for this one:
6476 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6477 not its snail mail address.
6478
57b957eb
RH
64792012-02-09 Richard Henderson <rth@twiddle.net>
6480
af850b1c
RH
6481 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6482 of kernel-features.h.
6483
57b957eb
RH
6484 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6485
6b73181a
MP
64862012-02-08 Marek Polacek <polacek@redhat.com>
6487
6488 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6489 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6490 * sysdeps/gnu/_G_config.h: Likewise.
6491 * sysdeps/generic/_G_config.h: Likewise.
6492
26ecc33a
AS
64932012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6494
6c6dbc63
AS
6495 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6496 tests.
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6498
e216c012
AS
6499 * sysdeps/powerpc/powerpc32/crti.S: New file.
6500 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6501 * sysdeps/powerpc/powerpc64/crti.S: New file.
6502 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6503
26ecc33a
AS
6504 * Makeconfig (have-initfini): Don't set.
6505 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6506 * configure.in (nopic_initfini): Don't substitute.
6507 * config.h.in (HAVE_INITFINI): Don't #undef.
6508 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6509 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6510
3add8e13
JM
65112012-02-08 Joseph Myers <joseph@codesourcery.com>
6512
6513 Support crti.S and crtn.S provided directly by architectures.
6514 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6515 [crti.S in sysdirs] (omit-deps): Likewise.
6516 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6517 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6518 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6519 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6520 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6521 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6522 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6523 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6524 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6525 compiler output for sysdeps/generic/initfini.c.
6526 * sysdeps/i386/elf/Makefile: Remove file.
6527 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6528
a22f12b4
MP
65292012-02-07 Marek Polacek <polacek@redhat.com>
6530
6531 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6532 * sysdeps/gnu/_G_config.h: Likewise.
6533 * sysdeps/mach/hurd/_G_config.h: Likewise.
6534
148cf100
MP
65352012-02-07 Marek Polacek <polacek@redhat.com>
6536
6537 * math/Makefile (tests): Add tst-CMPLX2.
6538 * math/tst-CMPLX2.c: New file.
6539
cfdc0dd7
AS
65402012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6541
84ba42c4
AS
6542 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6543
cfdc0dd7
AS
6544 * math/libm-test.inc (jn_test): Add missing L suffix.
6545
622c86f4
MP
65462012-02-06 Marek Polacek <polacek@redhat.com>
6547
6548 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6549 * sysdeps/i386/fpu/e_powf.S: Likewise.
6550 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6551 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6552 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6553 * sysdeps/i386/fpu/e_pow.S: Likewise.
6554 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6555 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6556 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6557 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6558 * sysdeps/i386/fpu/e_log2.S: Likewise.
6559 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6560 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6561 * sysdeps/i386/fpu/e_powl.S: Likewise.
6562 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6563 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6564 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6565 * sysdeps/i386/fpu/e_logl.S: Likewise.
6566 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6567 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6568 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6569 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6570 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6571 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6572 * sysdeps/i386/fpu/e_log.S: Likewise.
6573 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6574 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6575 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6576 * sysdeps/i386/fpu/e_logf.S: Likewise.
6577 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6578 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6579 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6580 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6581 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6582 * sysdeps/i386/fpu/e_log10.S: Likewise.
6583 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6584 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6585 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6586 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6588 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6589 * sysdeps/i386/asm-syntax.h: Likewise.
6590 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6591 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6592 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6593 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6594 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6595 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6596 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6597 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6598 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6599 * sysdeps/powerpc/sysdep.h: Likewise.
6600 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6601 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6602
d4a54ac6
JM
66032012-02-06 Joseph Myers <joseph@codesourcery.com>
6604
6605 [BZ #411]
6606 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6607
314054ea
JM
66082012-02-06 Joseph Myers <joseph@codesourcery.com>
6609
6610 * sysdeps/i386/sysdep.h: Include <features.h>.
6611 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6612 version.
6613
d8e0ca50
JM
66142012-02-05 Joseph Myers <joseph@codesourcery.com>
6615
6616 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6617 Define.
6618 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6619 LOAD_PIC_REG_STR.
6620
b1da7dd9
JM
66212012-02-03 Joseph Myers <joseph@codesourcery.com>
6622
6623 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6624 (SETUP_PIC_REG): Use GET_PC_THUNK.
6625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6626 macro.
6627
9a1d9254
JM
66282012-02-03 Joseph Myers <joseph@codesourcery.com>
6629
6630 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6631 for non-PIC compilation.
6632 (SETUP_PIC_REG): Add .p2align directive.
6633 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6634 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6635 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6636 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6637 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6638 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6639 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6641 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6642 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6643 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6644 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6645 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6646 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6647 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6648 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6649 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6650 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6651 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6652 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6653 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6654 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6656 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6657 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6659 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6660 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6661 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6662 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6663 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6664 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6665 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6666 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6667 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6668 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6669 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6670 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6671 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6672 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6673 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6674
65dc3b75
JM
66752012-02-03 Joseph Myers <joseph@codesourcery.com>
6676
6677 * math/tst-CMPLX.c: Include <stdio.h>.
6678
d55bf177
JM
66792012-01-31 Joseph Myers <joseph@codesourcery.com>
6680
6681 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6682 float.
6683 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6684 * sysdeps/sparc/bits/mathdef.h: Likewise.
6685
69db4f8f
MP
66862012-01-31 Marek Polacek <polacek@redhat.com>
6687
6688 * libio/libio.h: Don't define _PARAMS.
6689 * locale/programs/config.h: Don't define PARAMS.
6690 * stdlib/strtol_l.c: Likewise.
6691 (__strtol_l): Remove PARAMS from the prototype.
6692
41b81892
UD
66932012-01-31 Ulrich Drepper <drepper@gmail.com>
6694
3b49edc0
UD
6695 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6696 names. Just use the correct names. Remove unnecessary wrapper
6697 functions.
6698 * malloc/arena.c: Likewise.
6699 * malloc/hooks.c: Likewise.
6700
41b81892
UD
6701 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6702 ARENA_TEST says not to. Simplify test for creation of a new arena.
6703 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6704
27a25b6e
UD
67052012-01-30 Ulrich Drepper <drepper@gmail.com>
6706
6707 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6708 into tail calls.
6709 (update_get_addr): New function.
6710 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6711 GET_ADDR_MODULE parameter.
6712
c8a89e7d
JM
67132012-01-30 Joseph Myers <joseph@codesourcery.com>
6714
6715 * crypt/cert.c: Remove __STDC__ conditionals.
6716 * crypt/crypt-entry.c: Likewise.
6717 * crypt/crypt_util.c: Likewise.
6718 * libio/filedoalloc.c: Likewise.
6719 * libio/fileops.c: Likewise.
6720 * libio/genops.c: Likewise.
6721 * libio/iofclose.c: Likewise.
6722 * libio/iofdopen.c: Likewise.
6723 * libio/iofopen.c: Likewise.
6724 * libio/iofopen64.c: Likewise.
6725 * libio/iogetdelim.c: Likewise.
6726 * libio/iopopen.c: Likewise.
6727 * libio/obprintf.c: Likewise.
6728 * libio/oldfileops.c: Likewise.
6729 * libio/oldiofclose.c: Likewise.
6730 * libio/oldiofdopen.c: Likewise.
6731 * libio/oldiofopen.c: Likewise.
6732 * libio/oldiopopen.c: Likewise.
6733 * libio/wfiledoalloc.c: Likewise.
6734 * libio/wgenops.c: Likewise.
6735 * locale/programs/xmalloc.c: Likewise.
6736 * misc/syslog.c: Likewise.
6737 * stdio-common/xbug.c: Likewise.
6738 * string/memchr.c: Likewise.
6739 * string/memcmp.c: Likewise.
6740 * string/memrchr.c: Likewise.
6741 * string/rawmemchr.c: Likewise.
6742 * sysdeps/posix/getcwd.c: Likewise.
6743 * time/strftime_l.c: Likewise.
6744
3b100462
JM
67452012-01-30 Joseph Myers <joseph@codesourcery.com>
6746
6747 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6748 * config.make.in (config-cflags-sse2avx): Define.
6749 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6750 Fix typo.
6751
607998af
CM
67522012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6753
6754 * scripts/config.guess: Update from upstream config git repository.
6755 * scripts/config.sub: Likewise.
6756
3601428f
CM
67572012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6758
3ac8b282
CM
6759 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6760 (EM_NUM): Update.
6761 (R_TILEPRO_*, R_TILEGX_*): New macros.
6762
e034841e
CM
6763 * scripts/firstversions.awk: Fix bug in version range handling.
6764
540d7568
CM
6765 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6766
3601428f
CM
6767 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6768
463de862
CM
6769 * include/sys/epoll.h: New file.
6770 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6771 libc_hidden_def.
6772
73139a76
UD
67732012-01-28 Ulrich Drepper <drepper@gmail.com>
6774
96bc5b45
UD
6775 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6776 Avoid unnecessary __WORDSIZE == 64 test.
6777 (fmaxf): Use VEX format if possible.
6778 (fmax): Likewise.
6779 (fminf): Likewise.
6780 (fmin): Likewise.
6781
56f6f6a2
UD
6782 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6783 * math/math_private.h: Remove libc_fegetround* and
6784 libc_fesetround*.
6785 * sysdeps/i386/configure.in: Check for -msse2avx.
6786 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6787 also if SSE2AVX is defined.
6788 Remove libc_fegetround* and libc_fesetround*.
6789 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6790 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6792 of HAS_YMM_USABLE.
6793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6794 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6798
73139a76
UD
6799 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6800
d73f93a4
AZ
68012012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6802
6803 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6804 size is not set.
6805 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6806
6ee65ed6
UD
68072012-01-27 Ulrich Drepper <drepper@gmail.com>
6808
6809 [BZ #13618]
6810 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6811 relocation.
6812 * Makeconfig (libm): Define.
6813 * elf/Makefile: Add rules to build and run tst-relsort1.
6814 * elf/tst-relsort1.c: New file.
6815 * elf/tst-relsort1mod1.c: New file.
6816 * elf/tst-relsort1mod2.c: New file.
6817
8db21882
JM
68182012-01-27 Joseph Myers <joseph@codesourcery.com>
6819
6820 * math/s_ldexp.c: Remove __STDC__ conditionals.
6821 * math/s_ldexpf.c: Likewise.
6822 * math/s_ldexpl.c: Likewise.
6823 * math/s_nextafter.c: Likewise.
6824 * math/s_nexttowardf.c: Likewise.
6825 * math/s_significand.c: Likewise.
6826 * math/s_significandf.c: Likewise.
6827 * math/s_significandl.c: Likewise.
6828 * math/w_jnl.c: Likewise.
6829 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6830 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6831 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6832 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6833 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6835 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6836 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6837 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6838 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6839 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6841 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6842 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6843 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6844 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6848 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6849 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6850 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6851 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6852 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6853 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6854 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6855 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6857 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6858 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6859 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6860 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6861 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6862 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6863 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6864 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6865 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6866 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6867 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6868 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6869 * sysdeps/ieee754/k_standard.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6931 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6936 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6944 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6945 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6949 * sysdeps/ieee754/s_matherr.c: Likewise.
6950 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6951 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6952 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6954
965a54a4
JM
69552012-01-26 Joseph Myers <joseph@codesourcery.com>
6956
6957 * crypt/md5.h: Remove __STDC__ conditionals.
6958 * libio/libioP.h: Likewise.
6959 * locale/programs/config.h: Likewise.
6960 * sysdeps/generic/sysdep.h: Likewise.
6961 * sysdeps/i386/asm-syntax.h: Likewise.
6962 * sysdeps/s390/asm-syntax.h: Likewise.
6963 * sysdeps/unix/sysdep.h: Likewise.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6966
7071ad79
JM
69672012-01-26 Joseph Myers <joseph@codesourcery.com>
6968
6969 * libio/libio.h: Remove __STDC__ conditionals.
6970 * malloc/obstack.h: Likewise.
6971 * math/complex.h: Likewise.
6972 * math/math.h: Likewise.
6973 * sysdeps/generic/_G_config.h: Likewise.
6974 * sysdeps/gnu/_G_config.h: Likewise.
6975 * sysdeps/mach/hurd/_G_config.h: Likewise.
6976 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6977 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6978 * sysdeps/sparc/bits/mathdef.h: Likewise.
6979
afc5ed09
UD
69802012-01-26 Ulrich Drepper <drepper@gmail.com>
6981
6982 [BZ #13583]
6983 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6984 Clean up HAS_* macros.
afc5ed09 6985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6986 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6987 possible.
6988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6989 HAS_AVX.
6990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6991 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6992 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6993 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6994 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6995
bdb6de1d
JM
69962012-01-25 Joseph Myers <joseph@codesourcery.com>
6997
6998 * elf/tst-unique3.cc (gets): Remove declaration.
6999 * elf/tst-unique3lib.cc (gets): Likewise.
7000 * elf/tst-unique3lib2.cc (gets): Likewise.
7001 * elf/tst-unique4.cc (gets): Likewise.
7002
b15549e6
UD
70032012-01-24 Ulrich Drepper <drepper@gmail.com>
7004
7005 * include/stdio.h: Add C++ protection. Add gets declarations and
7006 definitions.
7007 * debug/tst-chk1.c: Don't declare gets here.
7008 * stdio-common/tst-gets.c: Likewise.
7009
a037381f
JM
70102012-01-24 Joseph Myers <joseph@codesourcery.com>
7011
7012 * posix/glob: Remove directory.
7013
f1d4aa75
JM
70142012-01-24 Joseph Myers <joseph@codesourcery.com>
7015
7016 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7017
81c0c964
PT
70182012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7019
7020 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7021 of the non-standard EPFNOSUPPORT.
7022
0ea698ae
ST
70232011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7024
7025 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7026 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7027 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7028
d220b117
UD
70292012-01-21 Ulrich Drepper <drepper@gmail.com>
7030
7031 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7032
3e1aa84e
UD
70332012-01-20 Ulrich Drepper <drepper@gmail.com>
7034
7035 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7036 transient errors.
7037 * nscd/grpcache.c (cache_addgr): Likewise.
7038 * nscd/hstcache.c (cache_addhst): Likewise.
7039 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7040 * nscd/pwdcache.c (cache_addpw): Likewise.
7041 * nscd/servicescache.c (cache_addserv): Likewise.
7042
400aa020
UD
70432012-01-16 Ulrich Drepper <drepper@gmail.com>
7044
d77e7869
UD
7045 * malloc/malloc.c: Various cleanups.
7046 * malloc/hooks.c: Likewise.
7047
400aa020
UD
7048 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7049 * stdlib/bug-fmtmsg1.c: New file.
7050
7051 * stdlib/fmtmsg.c (init): Add missing unlock.
7052 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7053
e0a309cf
MP
70542012-01-12 Marek Polacek <polacek@redhat.com>
7055
7056 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7057 and _GNU_SOURCE.
7058
929d11c7
WS
70592012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7060
7061 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7062 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7063 macro to ensure uniqueness of label name.
7064 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7065 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7066
41d0e869
UD
70672012-01-11 Ulrich Drepper <drepper@gmail.com>
7068
0cc5ed3b
UD
7069 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7070
41d0e869
UD
7071 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7072 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7075
a47a831a
UD
70762012-01-10 Ulrich Drepper <drepper@gmail.com>
7077
daa891c0
UD
7078 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7079
7080 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7081 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7082 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7083
e58ef0f2
UD
7084 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7085
a47a831a 7086 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7087 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7090
7091 * math/bits/math-finite.h: Add ldexp support.
7092
a0bfc9c7
MP
70932012-01-10 Marek Polacek <polacek@redhat.com>
7094
7095 * locale/programs/localedef.h (show_archive_content): Add noreturn
7096 attribute.
7097
d6e97a1d
UD
70982012-01-09 Ulrich Drepper <drepper@gmail.com>
7099
7100 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7101
d5835c26
UD
71022012-01-08 Ulrich Drepper <drepper@gmail.com>
7103
e5f484c6
UD
7104 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7105
d5835c26
UD
7106 * io/Makefile (headers): Add bits/poll2.h.
7107
d1f741e9
WS
71082011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7109
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7111 typo #include statement.
7112
ec09c1c4
UD
71132012-01-08 Ulrich Drepper <drepper@gmail.com>
7114
7115 * include/sys/cdefs.h: Define __attribute_alloc_size.
7116 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7117 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7118 * elf/pldd.c: Likewise.
7119 * iconv/iconv_charmap.c: Likewise.
7120 * iconv/iconvconfig.c: Likewise.
7121 * iconv/strtab.c: Likewise.
7122 * locale/programs/locale.c: Likewise.
7123 * locale/programs/localedef.h: Likewise.
7124 * locale/programs/simple-hash.c: Likewise.
7125 * nscd/nscd.h: Likewise.
7126 * nss/makedb.c: Likewise.
7127 * sysdeps/generic/ldconfig.h: Likewise.
7128 * locale/programs/localedef.c: Remove xmalloc prototype.
7129 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7130
20b38e03
PP
71312012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7132
7133 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7134 appropriate.
7135
a0da5fe1
UD
71362012-01-08 Ulrich Drepper <drepper@gmail.com>
7137
1d5a644a 7138 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7139 * math/tst-CMPLX.c: New file.
1d5a644a 7140
8784a6db
UD
7141 * math/complex.h (CMPLXL): Fix typo.
7142
d9a216c0
UD
7143 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7144 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7145 GLIBC_2.16.
7146 * debug/tst-chk1.c: Add poll and ppoll tests.
7147 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7148 * include/sys/poll.h: Add hidden proto for ppoll.
7149 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7150 * sysdeps/mach/hurd/ppoll.c: Likewise.
7151 * io/ppoll.c: Likewise.
7152 * debug/poll_chk.c: New file.
7153 * debug/ppoll_chk.c: New file.
7154 * include/bits/poll2.h: New file.
7155 * io/bits/poll2.h: New file.
7156
ac097f5c
UD
7157 [BZ #1350]
7158 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7159
2119dcfa
UD
7160 * configure.in: static is always set to yes. Remove.
7161 * config.make.in: Don't set build-static.
7162 * Makeconfig: Remove use of build-static.
7163 * dlfcn/Makefile: Likewise.
7164 * elf/Makefile: Likewise.
7165 * math/Makefile: Likewise.
7166 * misc/Makefile: Likewise.
7167 * nptl/Makefile: Likewise.
7168 * sysdeps/mach/hurd/Makefile: Likewise.
7169
121766a9
UD
7170 * configure.in: PWD_P is not used anymore.
7171 * config.make.in: Remove PWD_P entry.
7172
51a1d39c 7173 * configure.in: Remove last remnants of RANLIB.
8720d066 7174 No need to check for signed size_t anymore.
215f4bdc
UD
7175 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7176 and IA-64.
3857022a 7177 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7178 * aclocal.m4: Likewise.
7179
d3ed7225
UD
7180 * wcsmbs/mbrtoc16.c: Implement using towc function.
7181 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7182 * wcsmbs/wcsmbsload.c: Likewise.
7183 * iconv/gconv_simple.c: Likewise.
7184 * iconv/gconv_int.h: Likewise.
7185 * iconv/gconv_builtin.h: Likewise.
7186 * iconv/iconv_prog.c: Remove CHAR16 handling.
7187
7188 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7189
7190 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7191
a0da5fe1
UD
7192 * configure.in: Remove --with-elf and --enable-bounded options.
7193 Dont set base_machine for ia64. More non-ELF conditions removed.
7194 Remove testing and setting of leading underscore information.
7195 * config.make.in (build-bounded): Set to no.
7196 * config.h.in: Remove NO_UNDERSCORES entry.
7197 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7198 them.
7199 * csu/start.c: Remove !NO_UNDERSCORE code.
7200 * locale/localeinfo.h: Likewise.
7201 * sysdeps/generic/machine-gmon.h: Likewise.
7202 * sysdeps/generic/sysdep.h: Likewise.
7203 * sysdeps/i386/sysdep.h: Likewise.
7204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7205 * sysdeps/mach/sysdep.h: Likewise.
7206 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7208 * sysdeps/sh/sysdep.h: Likewise.
7209 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7210 * sysdeps/unix/i386/sysdep.S: Likewise.
7211 * sysdeps/unix/sparc/start.c: Likewise.
7212 * sysdeps/unix/sparc/sysdep.S: Likewise.
7213 * sysdeps/unix/sparc/sysdep.h: Likewise.
7214 * sysdeps/unix/start.c: Likewise.
7215 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7216 * sysdeps/x86_64/sysdep.h: Likewise.
7217
df78418a
UD
72182012-01-07 Ulrich Drepper <drepper@gmail.com>
7219
a784e502
UD
7220 [BZ #13553]
7221 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7222 for non-gcc.
7223 * argp/argp-fmtstream.h: Use const instead __const.
7224 * argp/argp.h: Likewise.
7225 * assert/assert.h: Likewise.
7226 * bits/fenv.h: Likewise.
7227 * bits/sched.h: Likewise.
7228 * bits/sigset.h: Likewise.
7229 * bits/sigthread.h: Likewise.
7230 * catgets/nl_types.h: Likewise.
7231 * conform/data/pthread.h-data: Likewise.
7232 * crypt/crypt-private.h: Likewise.
7233 * crypt/crypt.h: Likewise.
7234 * crypt/crypt_util.c: Likewise.
7235 * ctype/ctype.h: Likewise.
7236 * debug/execinfo.h: Likewise.
7237 * debug/mbsnrtowcs_chk.c: Likewise.
7238 * debug/mbsrtowcs_chk.c: Likewise.
7239 * debug/wcsnrtombs_chk.c: Likewise.
7240 * debug/wcsrtombs_chk.c: Likewise.
7241 * debug/wcstombs_chk.c: Likewise.
7242 * dirent/dirent.h: Likewise.
7243 * dlfcn/dlfcn.h: Likewise.
7244 * elf/neededtest4.c: Likewise.
7245 * grp/grp.h: Likewise.
7246 * gshadow/gshadow.h: Likewise.
7247 * iconv/gconv.h: Likewise.
7248 * iconv/gconv_int.h: Likewise.
7249 * iconv/gconv_simple.c: Likewise.
7250 * iconv/iconv.h: Likewise.
7251 * iconv/loop.c: Likewise.
7252 * iconv/skeleton.c: Likewise.
7253 * include/aio.h: Likewise.
7254 * include/aliases.h: Likewise.
7255 * include/argz.h: Likewise.
7256 * include/arpa/inet.h: Likewise.
7257 * include/assert.h: Likewise.
7258 * include/dirent.h: Likewise.
7259 * include/dlfcn.h: Likewise.
7260 * include/execinfo.h: Likewise.
7261 * include/fcntl.h: Likewise.
7262 * include/fenv.h: Likewise.
7263 * include/glob.h: Likewise.
7264 * include/grp.h: Likewise.
7265 * include/libintl.h: Likewise.
7266 * include/mntent.h: Likewise.
7267 * include/netdb.h: Likewise.
7268 * include/pwd.h: Likewise.
7269 * include/rpc/netdb.h: Likewise.
7270 * include/sched.h: Likewise.
7271 * include/search.h: Likewise.
7272 * include/shadow.h: Likewise.
7273 * include/signal.h: Likewise.
7274 * include/stdio.h: Likewise.
7275 * include/stdlib.h: Likewise.
7276 * include/string.h: Likewise.
7277 * include/sys/socket.h: Likewise.
7278 * include/sys/stat.h: Likewise.
7279 * include/sys/statfs.h: Likewise.
7280 * include/sys/statvfs.h: Likewise.
7281 * include/sys/syslog.h: Likewise.
7282 * include/sys/time.h: Likewise.
7283 * include/sys/uio.h: Likewise.
7284 * include/time.h: Likewise.
7285 * include/unistd.h: Likewise.
7286 * include/utmp.h: Likewise.
7287 * include/wchar.h: Likewise.
7288 * include/wctype.h: Likewise.
7289 * inet/aliases.h: Likewise.
7290 * inet/arpa/inet.h: Likewise.
7291 * inet/netinet/ether.h: Likewise.
7292 * inet/netinet/in.h: Likewise.
7293 * intl/libintl.h: Likewise.
7294 * io/bits/fcntl2.h: Likewise.
7295 * io/fcntl.h: Likewise.
7296 * io/ftw.h: Likewise.
7297 * io/sys/poll.h: Likewise.
7298 * io/sys/stat.h: Likewise.
7299 * io/sys/statfs.h: Likewise.
7300 * io/sys/statvfs.h: Likewise.
7301 * io/utime.h: Likewise.
7302 * libio/bits/stdio.h: Likewise.
7303 * libio/bits/stdio2.h: Likewise.
7304 * libio/libio.h: Likewise.
7305 * libio/libioP.h: Likewise.
7306 * libio/stdio.h: Likewise.
7307 * locale/lc-ctype.c: Likewise.
7308 * locale/locale.h: Likewise.
7309 * login/utmp.h: Likewise.
7310 * malloc/arena.c: Likewise.
7311 * malloc/malloc.c: Likewise.
7312 * malloc/malloc.h: Likewise.
7313 * malloc/mcheck.c: Likewise.
7314 * malloc/mtrace.c: Likewise.
7315 * math/bits/mathcalls.h: Likewise.
7316 * math/fenv.h: Likewise.
7317 * math/math_private.h: Likewise.
7318 * misc/bits/error.h: Likewise.
7319 * misc/bits/syslog.h: Likewise.
7320 * misc/err.h: Likewise.
7321 * misc/error.h: Likewise.
7322 * misc/fstab.h: Likewise.
7323 * misc/mntent.h: Likewise.
7324 * misc/regexp.h: Likewise.
7325 * misc/search.h: Likewise.
7326 * misc/sgtty.h: Likewise.
7327 * misc/sys/mman.h: Likewise.
7328 * misc/sys/syslog.h: Likewise.
7329 * misc/sys/uio.h: Likewise.
7330 * misc/sys/xattr.h: Likewise.
7331 * misc/ttyent.h: Likewise.
7332 * nis/rpcsvc/ypclnt.h: Likewise.
7333 * nss/nss.h: Likewise.
7334 * posix/bits/unistd.h: Likewise.
7335 * posix/fnmatch.h: Likewise.
7336 * posix/glob.h: Likewise.
7337 * posix/sched.h: Likewise.
7338 * posix/spawn.h: Likewise.
7339 * posix/sys/wait.h: Likewise.
7340 * posix/unistd.h: Likewise.
7341 * posix/wordexp.h: Likewise.
7342 * pwd/pwd.h: Likewise.
7343 * resolv/netdb.h: Likewise.
7344 * resource/sys/resource.h: Likewise.
7345 * rt/aio.h: Likewise.
7346 * rt/bits/mqueue2.h: Likewise.
7347 * rt/mqueue.h: Likewise.
7348 * shadow/shadow.h: Likewise.
7349 * signal/signal.h: Likewise.
7350 * socket/send.c: Likewise.
7351 * socket/sendto.c: Likewise.
7352 * socket/sys/socket.h: Likewise.
7353 * stdio-common/printf.h: Likewise.
7354 * stdlib/bits/stdlib.h: Likewise.
7355 * stdlib/fmtmsg.h: Likewise.
7356 * stdlib/monetary.h: Likewise.
7357 * stdlib/stdlib.h: Likewise.
7358 * stdlib/ucontext.h: Likewise.
7359 * streams/stropts.h: Likewise.
7360 * string/argz.h: Likewise.
7361 * string/bits/string2.h: Likewise.
7362 * string/string.h: Likewise.
7363 * string/strings.h: Likewise.
7364 * sunrpc/rpc/auth.h: Likewise.
7365 * sunrpc/rpc/auth_des.h: Likewise.
7366 * sunrpc/rpc/clnt.h: Likewise.
7367 * sunrpc/rpc/netdb.h: Likewise.
7368 * sunrpc/rpc/pmap_clnt.h: Likewise.
7369 * sunrpc/rpc/xdr.h: Likewise.
7370 * sysdeps/generic/inttypes.h: Likewise.
7371 * sysdeps/generic/net/if.h: Likewise.
7372 * sysdeps/generic/sys/swap.h: Likewise.
7373 * sysdeps/gnu/net/if.h: Likewise.
7374 * sysdeps/gnu/utmpx.h: Likewise.
7375 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7376 * sysdeps/i386/i486/bits/string.h: Likewise.
7377 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7378 * sysdeps/s390/bits/string.h: Likewise.
7379 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7380 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7381 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7382 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7383 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7384 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7385 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7386 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7387 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7388 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7389 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7390 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7391 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7392 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7393 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7394 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7395 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7397 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7400 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7401 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7402 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7403 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7404 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7405 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7406 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7407 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7408 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7409 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7410 * sysvipc/sys/ipc.h: Likewise.
7411 * sysvipc/sys/msg.h: Likewise.
7412 * sysvipc/sys/sem.h: Likewise.
7413 * sysvipc/sys/shm.h: Likewise.
7414 * termios/termios.h: Likewise.
7415 * time/sys/time.h: Likewise.
7416 * time/time.h: Likewise.
7417 * wcsmbs/bits/wchar2.h: Likewise.
7418 * wcsmbs/uchar.h: Likewise.
7419 * wcsmbs/wchar.h: Likewise.
7420 * wctype/wctype.h: Likewise.
7421
0269750c
UD
7422 [BZ #13551]
7423 * Makeconfig: Remove all but ELF support including AIX support.
7424 * Makerules: Likewise.
7425 * config.h.in: Likewise.
7426 * config.make.in: Likewise.
7427 * configure: Likewise.
7428 * configure.in: Likewise.
7429 * csu/Makefile: Likewise.
7430 * csu/version.c: Likewise.
7431 * debug/Makefile: Likewise.
7432 * dlfcn/Makefile: Likewise.
7433 * elf/Makefile: Likewise.
7434 * extra-lib.mk: Likewise.
7435 * iconv/Makefile: Likewise.
7436 * include/libc-symbols.h: Likewise.
7437 * include/shlib-compat.h: Likewise.
7438 * resolv/Makefile: Likewise.
7439 * resolv/res_libc.c: Likewise.
7440 * rt/Makefile: Likewise.
7441 * sysdeps/i386/asm-syntax.h: Likewise.
7442 * sysdeps/i386/sysdep.h: Likewise.
7443 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7444 * sysdeps/mach/sysdep.h: Likewise.
7445 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7446 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7447 * sysdeps/s390/asm-syntax.h: Likewise.
7448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7450 * sysdeps/sh/sysdep.h: Likewise.
7451 * sysdeps/unix/sparc/sysdep.h: Likewise.
7452 * sysdeps/wordsize-32/divdi3.c: Likewise.
7453 * sysdeps/x86_64/sysdep.h: Likewise.
7454
00bbd29b
UD
7455 * argp/Versions: Remove _argp_unlock_xxx.
7456
7457 [BZ #13559]
7458 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7459 * abilist/libBrokenLocale.abilist: Likewise.
7460 * abilist/libanl.abilist: Likewise.
7461 * abilist/libc.abilist: Likewise.
7462 * abilist/libcrypt.abilist: Likewise.
7463 * abilist/libdl.abilist: Likewise.
7464 * abilist/libm.abilist: Likewise.
7465 * abilist/libnsl.abilist: Likewise.
7466 * abilist/libpthread.abilist: Likewise.
7467 * abilist/libresolv.abilist: Likewise.
7468 * abilist/librt.abilist: Likewise.
7469 * abilist/libthread_db.abilist: Likewise.
7470 * abilist/libutil.abilist: Likewise.
7471 * abilist/libnss_db.abilist: New file.
7472
7473 * scripts/abilist.awk: Add support for indirect functions.
7474
a2693a0e
UD
7475 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7476
3f05895f
UD
7477 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7478
ecb6fb48
UD
7479 * shlib-versions: Remove entries for ports architectures.
7480
664f8cb9
UD
7481 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7482 files in ports.
7483 * elf/stackguard-macros.h: Remove support for IA-64.
7484 * elf/tst-auditmod1.c: Likewise.
7485 * sysdeps/generic/ldsodefs.h: Likewise.
7486
7ae81d88
UD
7487 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7488 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7489 configure files.
7490
bdeba135
UD
7491 [BZ #13552]
7492 * configure.in: Remove --enable-omitfp support.
7493 * FAQ.in: Adjust.
7494 * config.make.in: Likewise.
7495 * Makeconfig: Likewise.
7496 * manual/install.texi: Likewise.
7497
d75a0a62
UD
7498 In case anyone cares, the IA-64 architecture could move to ports.
7499 * sysdeps/ia64/*: Removed.
7500 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7501 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7502
dcc9756b
UD
7503 [BZ #13555]
7504 * configure.in: Remove entries for unsupported architectures.
7505
d3761ebc 7506 [BZ #13533]
9954432e
UD
7507 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7508 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7509 routines.
7510 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7511 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7512 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7513 fall back to using wcrtomb.
7514 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7515 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7516 renaming.
7517 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7518 * wcsmbs/tst-c16c32-1.c: New file.
7519
7520 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7521 local variable.
7522
c3a87236
UD
7523 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7524
28926a1b
UD
7525 * elf/tst-unique3.cc: Add explicit declaration of gets.
7526 * elf/tst-unique3lib.cc: Likewise.
7527 * elf/tst-unique3lib2.cc: Likewise.
7528 * elf/tst-unique4.cc: Likewise.
7529
df78418a
UD
7530 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7531
8ecd6b2a
JM
75322012-01-06 Joseph Myers <joseph@codesourcery.com>
7533
7534 [BZ #13566]
7535 * assert/assert.h (static_assert): Don't define for C++.
7536 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7537 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7538
9f115170
UD
75392012-01-03 Ulrich Drepper <drepper@gmail.com>
7540
5e0d0300
UD
7541 * iconv/loop.c (single loop): Fix assertion in storing of
7542 remaining bytes.
7543
9f115170
UD
7544 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7545
81fb02b0
UD
75462012-01-01 Ulrich Drepper <drepper@gmail.com>
7547
7548 * posix/getconf.c: Update copyright year.
7549 * nss/getent.c: Likewise.
a316c1f6 7550 * nss/makedb.c: Likewise.
81fb02b0
UD
7551 * iconv/iconvconfig.c: Likewise.
7552 * iconv/iconv_prog.c: Likewise.
7553 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7554 * elf/pldd.c: Likewise.
7555 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7556 * catgets/gencat.c: Likewise.
7557 * csu/version.c: Likewise.
7558 * elf/ldd.bash.in: Likewise.
7559 * elf/sprof.c (print_version): Likewise.
7560 * locale/programs/locale.c: Likewise.
7561 * locale/programs/localedef.c: Likewise.
a316c1f6 7562 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7563 * nscd/nscd.c (print_version): Likewise.
7564 * debug/xtrace.sh: Likewise.
7565 * malloc/memusage.sh: Likewise.
7566 * malloc/mtrace.pl: Likewise.
7567 * debug/catchsegv.sh: Likewise.
7568
2ba92745
JJ
75692011-12-30 Jakub Jelinek <jakub@redhat.com>
7570
7571 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7572 pure attribute.
7573
dadebdae
UD
75742011-12-24 Ulrich Drepper <drepper@gmail.com>
7575
d3761ebc 7576 [BZ #13533]
db6af3eb
UD
7577 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7578 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7579 transformations.
7580 * iconv/gconv_int.h: Likewise.
7581 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7582 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7583 from libc for GLIBC_2.16.
7584 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7585 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7586 * wcsmbs/uchar.h: Really define mbstate_t.
7587 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7588 * wcsmbs/c16rtomb.c: New file.
7589 * wcsmbs/mbrtoc16.c: New file.
7590 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7591 for C/POSIX locale.
7592 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7593 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7594
dadebdae
UD
7595 * wcsmbs/wchar.h: Add missing __restrict.
7596
67371b56
UD
75972011-12-23 Ulrich Drepper <drepper@gmail.com>
7598
74033a25
UD
7599 [BZ #13532]
7600 * time/Makefile (routines): Add timespec_get.
7601 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7602 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7603 timespec for ISO C11.
7604 * time/timespec_get.c: New file.
7605 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7606 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7607
380d7e87
UD
7608 [BZ #13531]
7609 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7610 * stdlib/stdlib.h: Declare aligned_alloc.
7611 * Versions.def: Add GLIBC_2.16 for libc.
7612 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7613
4e9e7a35
UD
7614 [BZ 13527]
7615 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7616 ISO C11.
7617
380d7e87 7618 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7619 code.
7620
03a71829
UD
7621 [BZ #13528]
7622 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7623
839e283e
UD
7624 [BZ #13529]
7625 * assert/assert.h (static_assert): Define.
7626
ce5294e2 7627 * version.h: Update for 2.16 development version.
90fa7312 7628
8d44e150 7629 [BZ #13526]
d7809905
UD
7630 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7631 _ISOC11_SOURCE.
7632
c0da14cd
UD
7633 * version.h (RELEASE): Bump for 2.15 release.
7634 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7635
530a3249
MP
7636 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7637 Patch by Marek Polacek <mpolacek@redhat.com>.
7638
67371b56
UD
7639 * bits/byteswap.h: Protect long long constants with __extension__.
7640 * sysdeps/i386/bits/byteswap.h: Likewise.
7641 * sysdeps/ia64/bits/byteswap.h: Likewise.
7642 * sysdeps/s390/bits/byteswap.h: Likewise.
7643 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7644
15db4de1
LD
76452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7646
7647 [BZ #13540]
bbe315ea
LD
7648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7649 destination buffer.
15db4de1
LD
7650 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7651
2b2596b1
MP
76522011-12-23 Marek Polacek <polacek@redhat.com>
7653
7654 * elf/dl-addr.c (determine_info): Add inline keyword.
7655 * elf/tst-auditmod4b.c (check_avx): Likewise.
7656 * elf/tst-auditmod6b.c (check_avx): Likewise.
7657 * elf/tst-auditmod6c.c (check_avx): Likewise.
7658 * elf/tst-auditmod7b.c (check_avx): Likewise.
7659
70c6c246
UD
76602011-12-23 Ulrich Drepper <drepper@gmail.com>
7661
7662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7663 !__SSE_MATH__.
7664
c044cf14
LD
76652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7666
15db4de1 7667 [BZ #13540]
c044cf14
LD
7668 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7669 processing for last bytes.
7670
6b13d9d9
BH
76712011-08-06 Bruno Haible <bruno@clisp.org>
7672
d455f537
BH
7673 [BZ #13061]
7674 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7675 U+0385, not to U+1FEE.
7676
6b13d9d9
BH
7677 [BZ #13062]
7678 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7679 entry for U+00A5 U+0301.
7680
db910efd
UD
76812011-12-22 Ulrich Drepper <drepper@gmail.com>
7682
27deeafc
UD
7683 [BZ #13166]
7684 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7685 buffer for the output is too small.
7686
aed9d171
UD
7687 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7688 optimization.
7689
db910efd
UD
7690 [BZ #13185]
7691 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7692 SSE flags if possible.
7693
2bd779ae
LD
76942011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7695
e7f9dac3 7696 [BZ #13540]
2bd779ae
LD
7697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7698 processing for last bytes.
7699
154bfc16
JM
77002011-12-22 Joseph Myers <joseph@codesourcery.com>
7701
7702 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7703 (syscall-list-default-options, syscall-list-default-condition)
7704 (syscall-list-includes): Define.
7705 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7706 list of ABIs and options and #if conditions for each ABI. Do not
7707 handle common syscalls between ABIs specially.
7708 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7709 Remove.
7710 (syscall-list-variants, syscall-list-32bit-options)
7711 (syscall-list-32bit-condition, syscall-list-64bit-options)
7712 (syscall-list-64bit-condition): Define.
7713 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7714 (syscall-list-variants, syscall-list-32bit-options)
7715 (syscall-list-32bit-condition, syscall-list-64bit-options)
7716 (syscall-list-64bit-condition): Define.
7717 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7718 Remove.
7719 (syscall-list-variants, syscall-list-32bit-options)
7720 (syscall-list-32bit-condition, syscall-list-64bit-options)
7721 (syscall-list-64bit-condition): Define.
7722 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7723 Remove.
7724 (syscall-list-variants, syscall-list-32bit-options)
7725 (syscall-list-32bit-condition, syscall-list-64bit-options)
7726 (syscall-list-64bit-condition): Define.
7727
21eaf3a5
UD
77282011-12-22 Ulrich Drepper <drepper@gmail.com>
7729
16c6f992
UD
7730 * locale/iso-639.def: Add brx entry.
7731
41043168
UD
7732 [BZ #13328]
7733 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7734 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7735
21eaf3a5
UD
7736 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7737 __feraiseexcept_renamed.
7738
e3a851a2
UD
77392011-12-21 Ulrich Drepper <drepper@gmail.com>
7740
4920765e
UD
7741 [BZ #13538]
7742 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7743 EPOLLET with unsigned values.
7744 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7745 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7746
e3a851a2
UD
7747 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7748 to large cancellation.
7749 * math/s_cacoshf.c: Likewise.
7750 * math/s_cacoshl.c: Likewise.
7751
b27e24b8
RK
77522011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7753
7754 [BZ #13305]
aebefeee 7755 [BZ #12786]
b27e24b8
RK
7756 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7757 * math/s_cacoshf.c: Likewise.
7758 * math/s_cacoshl.c: Likewise.
7759
ee190f67
UD
77602011-12-21 Ulrich Drepper <drepper@gmail.com>
7761
7762 [BZ #13439]
7763 * iconv/gconv.h: Define __GCONV_SWAP.
7764 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7765 * iconvdata/utf-16.c: Likewise.
7766 * iconvdata/utf-32.c: Likewise.
7767
707f25df
AS
77682011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7769
7770 [BZ #13524]
7771 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7772 numerator after shifting it by one limb.
7773
d2daaa1e
RÁE
77742011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7775
7776 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7777 under [__USE_EXTERN_INLINES].
7778
a4647e72
UD
77792011-12-17 Ulrich Drepper <drepper@gmail.com>
7780
7781 [BZ #13446]
7782 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7783
f0b264f1
AZ
77842011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7785
7786 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7787 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7788 optimized code.
7789 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7790 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7791 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7792 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7793 for strncasecmp/strncasecmp_l compilation.
7794 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7795 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7796
8ef4f244
MP
77972011-12-08 Marek Polacek <mpolacek@redhat.com>
7798
7799 [BZ #13484]
7800 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7801 of __asm__.
7802
97ac2654
UD
78032011-12-17 Ulrich Drepper <drepper@gmail.com>
7804
7805 [BZ #13506]
7806 * time/tzfile.c (__tzfile_read): Check values from file header.
7807
91d2a845
WS
78082011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7809
7810 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7811 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7812 * powerpc/powerpc32/dl-start.S: Likewise.
7813 * powerpc/powerpc32/elf/start.S: Likewise.
7814 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7815 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7816 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7817 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7818 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7819 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7820 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7821 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7822 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7823 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7824 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7825 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7826 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7827 * powerpc/powerpc32/memset.S: Likewise.
7828 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7829 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7830 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7831 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7832 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7833 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7834 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7835 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7836 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7837 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7838 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7839 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7840 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7841
a1267ba1
AZ
78422011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7843
7844 * math/libm-test.inc: Added more nearbyint tests.
7845 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7847 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7849
ad8ac1bd
RL
78502011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7851
7852 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7853 FD_CLOEXEC.
7854
1d3e4b61
UD
78552011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7856
7857 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7858 Add wcscpy-ssse3 wcscpy-c.
7859 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7860 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7861 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7862 * sysdeps/x86_64/wcschr.S: New file.
7863 * sysdeps/x86_64/wcsrchr.S: New file.
7864 * string/test-strcmp.c: Remove checking of wcscmp function for
7865 wrong alignments.
7866 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7867 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7868 wcsrchr-sse2 wcsrchr-c.
7869 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7870 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7871 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7872 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7873 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7874 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7875 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7876 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7877 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7878 * wcsmbc/wcschr.c (WCSCHR): New macro.
7879
5b330a2d
UD
78802011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7881
7882 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7883 * wcsmbs/test-wcsrchr.c: New file.
7884 * string/test-strrchr.c: Add wcsrchr support.
7885 (WIDE): New macro.
7886 * wcsmbs/test-wcscpy.c: New file.
7887 * string/test-strcpy.c: Add wcscpy support.
7888 (WIDE): New macro.
26428b7c 7889
f039c043
UD
78902011-12-10 Ulrich Drepper <drepper@gmail.com>
7891
7892 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7893 the inner loop.
7894
850fb039
AS
78952011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7896
7897 [BZ #13472]
7898 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7899
4efbd5cb
UD
79002011-12-04 Ulrich Drepper <drepper@gmail.com>
7901
52ff5dd0 7902 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7903 Minor optimizations.
52ff5dd0 7904
4efbd5cb
UD
7905 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7906 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7907 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7908
8a426e12
UD
79092011-12-03 Ulrich Drepper <drepper@gmail.com>
7910
aff2453d
UD
7911 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7912 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7913 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7914 for gcc to avoid warnings.
7915 * inet/Makefile (tests): Add tst-checks.
7916 * inet/tst-checks.c: New file.
7917
7918 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7919 warning.
7920
7921 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7922 __wmemcmp_sse2.
7923
7924 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7925 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7926
8a426e12
UD
7927 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7928
9bea3473
UD
79292011-12-02 Ulrich Drepper <drepper@gmail.com>
7930
3a965496
UD
7931 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7932 problem.
7933
9bea3473
UD
7934 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7935
f101631b
UD
79362011-11-29 Joseph Myers <joseph@codesourcery.com>
7937
7938 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7939 conditional on GCC version.
7940 (__arch_compare_and_exchange_val_8_acq)
7941 (__arch_compare_and_exchange_val_16_acq)
7942 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7943 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7944 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7945
a98275aa
UD
79462011-12-02 Joseph Myers <joseph@codesourcery.com>
7947
7948 * sysdeps/sh/backtrace.c: New file.
7949
d4cc29a2
AS
79502011-12-02 Andreas Schwab <schwab@redhat.com>
7951
7952 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7953 parenthesis.
7954
6257af2d
AS
79552011-12-01 Andreas Schwab <schwab@redhat.com>
7956
7957 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7958 falling back to utime.
7959
b5f44c1a
AS
79602011-11-30 Andreas Schwab <schwab@redhat.com>
7961
7962 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7963 expectations for float.
7964
f3a6cc0a
AS
79652011-11-29 Andreas Schwab <schwab@redhat.com>
7966
7967 * locale/weight.h (findidx): Add parameter len.
7968 * locale/weightwc.h (findidx): Likewise.
7969 * posix/fnmatch_loop.c (FCT): Adjust caller.
7970 * posix/regcomp.c (build_equiv_class): Likewise.
7971 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7972 * posix/regexec.c (check_node_accept_bytes): Likewise.
7973 * string/strcoll_l.c (STRCOLL): Likewise.
7974 * string/strxfrm_l.c (STRXFRM): Likewise.
7975
9d65ea3a
UD
79762011-11-17 Ulrich Drepper <drepper@gmail.com>
7977
7978 * Makefile.in: Remove CVSOPT handling.
7979 * configure.in: Remove use of AC_REVISION.
7980 * iconvdata/Makefile (distribute): No need to filter out CVS.
7981 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7982 handling.
7983
5583a086
AS
79842011-11-16 Andreas Schwab <schwab@redhat.com>
7985
7986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7987 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7988 [USE_AS_STRNCASECMP_L]: Likewise.
7989 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7990 NO_TLS_DIRECT_SEG_REFS.
7991 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7992 Fix argument offsets for non-PIC.
7993 [USE_AS_STRNCASECMP_L]: Likewise.
7994 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7995 NO_TLS_DIRECT_SEG_REFS.
7996
d62a8200
UD
79972011-11-15 Ulrich Drepper <drepper@gmail.com>
7998
9d65ea3a 7999 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8000 O_CLOEXEC.
8001 * locale/loadlocale.c (_nl_load_locale): Likewise.
8002
09f93bd3
AS
80032011-11-15 Andreas Schwab <schwab@redhat.com>
8004
446514f9
AS
8005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8006 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8007 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8008 (SYSCALL_GETTIME): Set errno on error.
8009
09f93bd3
AS
8010 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8011 count references to noai6ai_cached.
8012
312be3f9
UD
80132011-11-15 Ulrich Drepper <drepper@gmail.com>
8014
8015 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8016
8017 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8018 FD_CLOEXEC for /proc/self/maps.
8019
8020 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8021 FD_CLOEXEC for /proc/meminfo.
8022
8023 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8024 gai.conf.
8025
8026 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8027 FD_CLOEXEC for given file.
8028
8029 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8030
8031 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8032 FD_CLOEXEC for /etc/hosts.
8033 (_gethtent): Likewise.
8034
8035 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8036
8037 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8038 cancellation and set FD_CLOEXEC for /etc/netgroup.
8039
8040 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8041 reading /etc/publickey.
8042
8043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8044 allow cancellation when reading /etc/group.
8045
8046 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8047 cancellation.
8048 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8049
8050 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8051 when using data file.
8052
8053 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8054
8055 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8056 (write_nis_obj): Use "c" and "e" in fopen.
8057
8058 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8059
8060 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8061
8062 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8063
8064 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8065
8066 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8067 locale.alias.
8068
8069 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8070
8071 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8072
8073 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8074
8075 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8076 file parsing and set FD_CLOEXEC.
8077
82af0fa8
UD
80782011-11-14 Ulrich Drepper <drepper@gmail.com>
8079
8080 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8081
a5fb313c
AS
80822011-11-14 Andreas Schwab <schwab@redhat.com>
8083
8084 * malloc/arena.c (arena_get2): Don't call reused_arena when
8085 _int_new_arena failed.
8086
6abf3465
UD
80872011-11-14 Ulrich Drepper <drepper@gmail.com>
8088
8089 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8090 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8091 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8093 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8095 to compile strcasecmp and strncasecmp.
8096 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8097 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8098
8099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8100
76e3966e
UD
81012011-11-13 Ulrich Drepper <drepper@gmail.com>
8102
8103 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8104 locale-defines.sym to gen-as-const-headers.
8105 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8106 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8108 to compile strcasecmp and strncasecmp.
8109 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8110 strcasecmp_l and strncasecmp_l.
8111 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8112 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8113 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8114 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8115 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8116 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8117 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8118 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8119 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8120 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8121 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8122
ab26144e
UD
81232011-11-12 Ulrich Drepper <drepper@gmail.com>
8124
7edb22ef
UD
8125 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8126 result of SYSDEP_GETTIME_CPU to retval.
8127 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8128 parameter list to macro. Remove trailing semicolon. Adjust users.
8129
9694fc44
UD
8130 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8131 variable.
8132
8ad89ef8
UD
8133 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8134 mantissa words.
8135 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8136
0c822ef9
UD
8137 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8138 from unused variable.
8139
874e0564
UD
8140 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8141 DWARF definitions.
8142 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8143 for assembling.
8144
3a2edc79
UD
8145 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8146 over namespaces.
8147
f3c2577f
UD
8148 * sunrpc/rpc_prot.c (rejected): Fix case value.
8149
294ce126
UD
8150 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8151 unsigned long long int to avoid warnings in shift.
8152
5e2b63c6
UD
8153 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8154 of use of trans.
8155 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8156 variable tmp.
8157
e7f4b08e
UD
8158 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8159 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8160 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8161
ab26144e
UD
8162 * nis/nis_table.c (nis_list): Use variable of correct type for
8163 result of __follow_path call.
8164
8a6d5255
AZ
81652011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8166
8167 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8168 of math functions ceil, trunc, floor, round, and sqrt, when
8169 avaliable on the platform.
8170 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8171 name clash.
8172 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8173 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8174 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8175
aaddc98c
MP
81762011-10-30 Marek Polacek <mpolacek@redhat.com>
8177
8178 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8180
95b7042b
RM
81812011-11-11 Roland McGrath <roland@hack.frob.com>
8182
8183 * include/unistd.h: Fix __readlink return type.
8184 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8185
57769839
UD
81862011-11-11 Ulrich Drepper <drepper@gmail.com>
8187
8188 * stdlib/ucontext.h: Undo last change for makecontext.
8189
edc5984d
AS
81902011-11-11 Andreas Schwab <schwab@redhat.com>
8191
98591e58
AS
8192 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8193
edc5984d
AS
8194 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8195 * setjmp/setjmp.h: Mark functions as non-leaf.
8196 * setjmp/bits/setjmp2.h: Likewise.
8197 * stdlib/ucontext.h: Likewise.
8198
77cdc054
AS
81992011-11-10 Andreas Schwab <schwab@redhat.com>
8200
8201 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8202 (reused_arena): Don't check arena limit.
8203 (arena_get2): Atomically check arena limit.
8204
fe72eebd
UD
82052011-11-08 Ulrich Drepper <drepper@gmail.com>
8206
5f078c32
UD
8207 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8208 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8209
fe72eebd
UD
8210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8211 instructions.
8212
ae1bc2fa
AS
82132011-11-07 Andreas Schwab <schwab@redhat.com>
8214
7583a88d
AS
8215 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8216 handler when locking.
8217
ae1bc2fa
AS
8218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8219 Fix size of allocated buffer.
8220
10fb0bfa
AS
82212011-11-04 Andreas Schwab <schwab@redhat.com>
8222
998832a4
AS
8223 [BZ #10103]
8224 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8225 declarations for long double functions.
8226 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8227
10fb0bfa
AS
8228 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8229
3d7ba52b
AS
82302011-11-03 Andreas Schwab <schwab@redhat.com>
8231
a9ae54a1
AS
8232 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8233 installed.
8234
3d7ba52b
AS
8235 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8236 is disabled.
8237
bc8db248
ST
82382011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8239
8240 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8241
45b96dd6
AS
82422011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8243
647776f6
AS
8244 * include/alloca.h (stackinfo_alloca_round): Define.
8245 (extend_alloca): Use it.
8246 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8247 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8248 here.
8249
d91a8b93
AS
8250 * scripts/check-local-headers.sh: Ignore libaudit.h.
8251
45b96dd6
AS
8252 * nscd/Makefile (extra-objs): Make recursively expanded.
8253
432d41ce
UD
82542011-11-01 Ulrich Drepper <drepper@gmail.com>
8255
34372fc6
UD
8256 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8257 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8258
fadb59f8
UD
8259 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8260 * posix/tst-rfc3484-2.c: Likewise.
8261 * posix/tst-rfc3484-3.c: Likewise.
8262
78239589
UD
8263 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8264 process_vm_writev.
8265 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8266 process_vm_writev.
8267 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8268 process_vm_writev from libc using GLIBC_2.15 version.
8269
432d41ce
UD
8270 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8271
02f9c6cf
PP
82722011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8273
8274 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8275 stack usage.
8276
3a2c0242
UD
82772011-10-31 Ulrich Drepper <drepper@gmail.com>
8278
f4ec4833
UD
8279 [BZ #13367]
8280 * nss/getent.c (initgroups_keys): Show error message in case no group
8281 names are given.
8282
3a2c0242
UD
8283 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8284 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8285 __bump_nl_timestamp.
8286 * nscd/connections (nscd_init): When host database is served open
8287 netlink socket and request notification about configuration changes.
8288 (main_loop_poll): Track netlink file descriptor and bump timestamp
8289 in case data becomes available.
8290 (main_loop_epoll): Likewise.
8291 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8292 (database_pers_head): Add extra_data fileds.
8293 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8294 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8295 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8296 Adjust caller.
8297 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8298 in6ai data, call __free_in6ai.
8299 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8300 Add -DHAVE_NETLINK.
8301 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8302 interface information. Reuse previous data if netlink timestamp
8303 is not changed.
8304 (__bump_nl_timestamp): New function.
8305 (__free_in6ai): New function.
8306
636064eb
UD
83072011-10-30 Ulrich Drepper <drepper@gmail.com>
8308
8309 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8310 close_not_cancel_no_status here.
8311 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8312
9beb2334
UD
83132011-10-29 Ulrich Drepper <drepper@gmail.com>
8314
6ef76f3b
UD
8315 [BZ #13276]
8316 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8317 return value.
8318
0ffc4f3e 8319 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8320 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8321 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8322
cb95113e
UD
83232011-07-03 Andreas Jaeger <aj@suse.de>
8324
8325 [BZ #10709]
8326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8327 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8328 * math/libm-test.inc (sin_test): Add test case.
8329
a1b560ff
UD
83302011-10-29 Ulrich Drepper <drepper@gmail.com>
8331
c9aaface
UD
8332 [BZ #13337]
8333 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8334 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8335
d272e7f1
UD
8336 * elf/chroot_canon.c (chroot_canon): Cleanups.
8337
1bc33071
UD
8338 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8339
1760874d
TJ
8340 [BZ #13335]
8341 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8342 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8343
51d91b18
UD
8344 * string/test-strchr.c: Make usable for strchrnul testing.
8345 * string/test-strchrnul.c: New file.
8346 * string/Makefile (strop-tests): Add strchrnul.
8347
a1b560ff 8348 * po/it.po: Update from translation team.
b611fb81 8349 * po/es.po: Likewise.
a1b560ff 8350
a5b81e1f
UD
83512011-10-28 Ulrich Drepper <drepper@gmail.com>
8352
fd52bc6d
UD
8353 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8354 the three constants needed as parameters. Drop the others.
8355 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8356 __m128i_strloadu_tolower.
52e4b9eb
UD
8357 Create and initialize variable zero and use it in all the places
8358 where _mm_setzero_si128 was used.
fd52bc6d 8359
a5b81e1f
UD
8360 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8361 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8362 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8363 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8364 anymore.
8365 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8366 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8367 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8368 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8369 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8370 __mpranred, __mptan.
8371 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8372 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8373 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8374 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8375 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8376 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8377 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8378 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8379 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8380
b4343346
AS
83812011-10-28 Andreas Schwab <schwab@redhat.com>
8382
0c92d8a8
AS
8383 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8384 redefine if SHARED.
8385 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8386
b4343346
AS
8387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8388 wide char related routines to wcsmbs subdir.
8389
3871f58f
AS
83902011-10-27 Andreas Schwab <schwab@redhat.com>
8391
8392 [BZ #13344]
8393 * misc/sys/cdefs.h (__THROWNL): Define.
8394 * posix/unistd.h: Use __THREADNL instead of __THREAD
8395 for memory synchronization functions.
8396
94d44d9f
RM
83972011-10-26 Roland McGrath <roland@hack.frob.com>
8398
21b64b15 8399 [BZ #13349]
94d44d9f
RM
8400 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8401 doesn't exist.
8402 * manual/stdio.texi (Obstack Streams): Node removed.
8403
f6ce9294
AS
84042011-10-26 Andreas Schwab <schwab@redhat.com>
8405
80479147
AS
8406 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8407 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8408 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8409
f6ce9294
AS
8410 * math/math_private.h (math_force_eval): Allow non-addressable
8411 arguments.
8412 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8413
618280a1
UD
84142011-10-25 Ulrich Drepper <drepper@gmail.com>
8415
e0016b11
UD
8416 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8417 file is not needed.
8418
8419 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8426 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8427 Add AVX variants.
8428 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8429 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8430 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8431 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8432 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8433 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8434 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8435 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8436 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8437 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8438 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8439 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8440 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8441 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8442 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8443 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8444 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8445 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8446 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8447
8448 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8449 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8450
618280a1
UD
8451 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8452 place. Use VEX encoding when compiling for AVX.
8453
37822576
AS
84542011-10-25 Andreas Schwab <schwab@redhat.com>
8455
1f1e1947
AS
8456 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8457 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8458
37822576
AS
8459 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8460
31ea014d
UD
84612011-10-25 Ulrich Drepper <drepper@gmail.com>
8462
d7826aa1 8463 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8464 useless if() expression.
d7826aa1
UD
8465 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8466 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8467 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8468 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8469 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8474 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8475 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8476 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8477 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8478 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8479 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8480 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8482 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8483 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8484
31ea014d
UD
8485 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8486
16437fec
AS
84872011-10-25 Andreas Schwab <schwab@redhat.com>
8488
8489 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8490 condition.
8491 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8492
31d3cc00
UD
84932011-10-25 Ulrich Drepper <drepper@gmail.com>
8494
8495 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8496 .text section. Avoid duplicate constants.
8497 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8507 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8509 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8512 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8514 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8520 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8521 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8522 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8523 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8524 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8525 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8526 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8527 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8528 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8529 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8530 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8531 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8532 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8533 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8534 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8535 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8536 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8537 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8538 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8539 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8540 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8541 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8542
58985aa9
UD
85432011-10-24 Ulrich Drepper <drepper@gmail.com>
8544
202c9deb
UD
8545 * sysdeps/x86_64/dla.h: Move to ...
8546 * sysdeps/x86_64/fpu/dla.h: ...here.
8547 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8548 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8549
af968f62
UD
8550 * config.make.in: Add have-mfma4 entry.
8551 * configure.in: Substitute libc_cv_cc_fma4.
8552 * math/Makefile (dbl-only-routines): Add sincostab.
8553 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8554 Use __sincostab not sincos.
8555 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8556 name is a macro.
8557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8561 using __copysign.
8562 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8563 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8564 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8565 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8566 and __inv.
8567 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8568 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8569 __copysign.
8570 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8571 define aliases when function name is a macro.
8572 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8573 sysdeps/ieee754/dbl-64/sincos.tbl.
8574 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8575 fma4-enabled routines.
8576 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8577 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8578 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8579 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8580 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8581 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8583 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8585 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8586 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8587 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8588 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8589 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8590 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8591 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8592 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8593 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8594 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8596 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8597 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8598 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8599 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8601 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8602 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8603 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8605 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8606
58985aa9
UD
8607 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8608 rename.
8609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8617
a201fbcf
AS
86182011-10-24 Andreas Schwab <schwab@redhat.com>
8619
8620 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8621
fc2ee42a
LD
86222011-10-23 Ulrich Drepper <drepper@gmail.com>
8623
bb3129bd
UD
8624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8625
0275fff8
UD
8626 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8627 prediction.
8628 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8629
2fa2ae85
UD
8630 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8631 Remove unused variable magic_bits.
8632 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8633
fc2ee42a
LD
8634 * string/strnlen.c: Define and use STRNLEN macro.
8635 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8636 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8638 * wcsmbs/wcslen.c: Define and use WCSLEN.
8639 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8640 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8641 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8642 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8643 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8644 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8645 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8646
ce7dd29f
LD
86472011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8648
8649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8650 strnlen-sse2-no-bsf.
8651 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8653 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8654 Add strnlen support.
8655 (USE_AS_STRNLEN): New macro.
8656 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8657 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8658 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8659 * sysdeps/x86_64/wcslen.S: New file.
8660
979c70a3
MZ
86612011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8662
8663 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8664 XMM-moves are used for copying on small sizes.
8665
2d09f82f
LD
86662011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8667
8668 * wcsmbs/Makefile (strop-tests): Add wcschr.
8669 * wcsmbs/test-wcschr.c: New file.
8670 * string/test-strchr.c: Update.
8671 Add wcschr support.
8672 (WIDE): New macro.
8673
619fccca
LD
86742011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8675
2d09f82f 8676 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8677 * wcsmbs/test-wcslen.c: New file.
8678 * string/test-strlen.c: Update.
8679 Add wcslen support.
8680 (WIDE): New macro.
8681
09f699ea
UD
86822011-10-23 Ulrich Drepper <drepper@gmail.com>
8683
8684 * po/it.po: Update from translation team.
8685
95584d3b
LD
86862011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8687
8688 * sysdeps/x86_64/wcscmp.S: Update.
8689 Fix wrong comparison semantics.
8690 wcscmp shall use signed comparison not unsigned.
8691 Don't use substraction to avoid overflow bug.
8692 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8693 * wcsmbc/wcscmp.c: Likewise.
8694 * string/test-strcmp.c: Likewise.
8695 Add new tests to check cases with negative values.
8696
c8b3296b
UD
86972011-10-23 Ulrich Drepper <drepper@gmail.com>
8698
8699 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8700 * sysdeps/x86_64/dla.h: ...here. New file.
8701 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8710
246ad57a
AS
87112011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8712
8713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8714 __ynl_finite aliases.
8715
a1a87169
UD
87162011-10-22 Ulrich Drepper <drepper@gmail.com>
8717
0d355eb7
UD
8718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8719
a1a87169
UD
8720 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8721 define DLA_FMA.
8722 [DLA_FMA] (EMULV): Use DLA_FMA.
8723 [DLA_FMA] (MUL12): Use EMULV.
8724 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8725 that are not needed.
8726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8733
ee2aafe0
AS
87342011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8735
8736 * math/s_nan.c: Undef __nan.
8737 * math/s_nanf.c: Undef __nanf.
8738 * math/s_nanl.c: Undef __nanl.
8739 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8740 "math_private.h".
8741
bc62c2fb
UD
87422011-10-22 Ulrich Drepper <drepper@gmail.com>
8743
77425c63
UD
8744 * math/s_catan.c: Add branch predictions.
8745 * math/s_catanf.c: Likewise.
8746 * math/s_catanh.c: Likewise.
8747 * math/s_catanhf.c: Likewise.
8748 * math/s_catanhl.c: Likewise.
8749 * math/s_catanl.c: Likewise.
8750 * math/s_cexp.c: Likewise.
8751 * math/s_cexpf.c: Likewise.
8752 * math/s_cexpl.c: Likewise.
8753 * math/s_clog.c: Likewise.
8754 * math/s_clog10.c: Likewise.
8755 * math/s_clog10f.c: Likewise.
8756 * math/s_clog10l.c: Likewise.
8757 * math/s_clogf.c: Likewise.
8758 * math/s_clogl.c: Likewise.
8759 * math/s_csqrt.c: Likewise.
8760 * math/s_csqrtf.c: Likewise.
8761 * math/s_csqrtl.c: Likewise.
8762 * math/s_ctanf.c: Likewise.
8763 * math/s_ctanh.c: Likewise.
8764 * math/s_ctanhf.c: Likewise.
8765 * math/s_ctanhl.c: Likewise.
8766 * math/s_ctanl.c: Likewise.
8767
bc62c2fb
UD
8768 * math/math_private.h: Define __nan, __nanf, __nanl.
8769 * math/s_cacosh.c: Include <math_private.h>.
8770 * math/s_cacoshl.c: Likewise.
8771 * math/s_casinh.c: Likewise.
8772 * math/s_casinhf.c: Likewise.
8773 * math/s_casinhl.c: Likewise.
8774 * math/s_ccos.c: Rely entire on ccosh.
8775 * math/s_ccosf.c: Rely entire on ccoshf.
8776 * math/s_ccosl.c: Rely entirely on ccoshl.
8777 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8778 Remove tests for FE_INVALID.
8779 * math/s_ccoshf.c: Likewise.
8780 * math/s_ccoshl.c: Likewise.
8781 * math/s_csin.c: Likewise.
8782 * math/s_csinf.c: Likewise.
8783 * math/s_csinh.c Likewise.
8784 * math/s_csinhf.c: Likewise.
8785 * math/s_csinhl.c: Likewise.
8786 * math/s_csinl.c: Likewise.
8787 * math/s_ctan.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8789 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8790 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8791
8ec250a4
UD
87922011-10-21 Ulrich Drepper <drepper@gmail.com>
8793
c196fed8
UD
8794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8795 compilation problems.
8796
8ec250a4
UD
8797 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8798 __builtin_expect.
8799
8d4f46c6
UD
88002011-10-20 Ulrich Drepper <drepper@gmail.com>
8801
ed72b654
UD
8802 * sysdeps/i386/configure.in: Test for -mfma4 option.
8803 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8804 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8805 COMMON_CPUID_INDEX_80000001.
8806 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8807 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8808 use it if FMA3 is not supported.
8809 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8810
8d4f46c6
UD
8811 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8812 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8813
d45c60c2
AS
88142011-10-20 Andreas Schwab <schwab@redhat.com>
8815
8816 [BZ #12892]
8817 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8818 it would create a cycle with a link time dependency.
8819
d9a4d2ab
UD
88202011-10-19 Ulrich Drepper <drepper@gmail.com>
8821
855d1560
UD
8822 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8823 instruction.
8824 * string/Makefile (strop-tests): Add rawmemchr.
8825 * string/test-rawmemchr.c: New file.
8826
d9a4d2ab
UD
8827 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8828 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8829 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8830 when compiling str{,n}casecmp and when AVX is available. Hook up
8831 new optimized code in initializers.
8832
8f3b1ffe
AS
88332011-10-19 Andreas Schwab <schwab@redhat.com>
8834
8835 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8836 __feraiseexcept instead of feraiseexcept.
8837
d38f1dba
UD
88382011-10-18 Ulrich Drepper <drepper@gmail.com>
8839
d9a8d0ab
UD
8840 * math/math_private.h: Define defaults for libc_fetestexcept and
8841 libc_feupdateenv.
8842 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8843 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8844 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8845 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8846 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8847 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8848 libc_fetestexcept and libc_feupdateenv.
8849
4855e3dd
UD
8850 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8851 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8852 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8853 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8854 libc_feholdexcept_setround.
8855
581d30e3
UD
8856 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8857 Add s_nearbyint-c and s_nearbyintf-c.
8858 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8859 nearbyintf inlines.
8860 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8861 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8862 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8863 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8864
d38f1dba
UD
8865 * math/math_private.h: Define defaults for libc_fegetround,
8866 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8867 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8868 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8870 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8871 standard functions.
8872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8873 Remove comments and hacks for old compiler versions.
8874 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8875 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8876 libc_feholdexceptl.
8877
caa6c9d8
AS
88782011-10-18 Andreas Schwab <schwab@redhat.com>
8879
8880 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8881 (__feraiseexcept_renamed): Add __NTH.
8882 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8883 namespace violations.
8884
97c066e6
UD
88852011-10-17 Ulrich Drepper <drepper@gmail.com>
8886
99ce7b04
UD
8887 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8888
1004d182
UD
8889 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8890
228a984d
UD
8891 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8892 recently added interfaces.
8893 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8894
c8553a6a
UD
8895 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8896 about macro parameter expansion.
8897
ed22dcf6
UD
8898 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8899 __NO_MATH_INLINES is defined. Cleanups.
8900
8901 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8902 and __floorf is target has SSE4.1.
8903 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8904 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8905 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8906 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8907
b171c137
UD
8908 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8909 name.
8910 (floorf): Likewise.
8911
97c066e6
UD
8912 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8913
629f62ef
AS
89142011-10-17 Andreas Schwab <schwab@redhat.com>
8915
49a43d80
AS
8916 * misc/sys/cdefs.h: Fix last change.
8917
629f62ef
AS
8918 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8919 database lookup.
8920
e453f6cd
UD
89212011-10-16 Ulrich Drepper <drepper@gmail.com>
8922
aa78043a
UD
8923 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8924
ad0f5cad
UD
8925 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8931 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8932 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8933 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8934 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8935 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8936 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8937 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8938 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8939 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8940 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8941 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8942 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8943 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8944 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8945 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8946 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8947
8948 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8949 ceil, ceilf, floor, floorf.
8950
8951 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8952 Perform IRELATIVE relocations last.
8953
e453f6cd
UD
8954 * elf/do-rel.h: Add another parameter nrelative, replacing the
8955 local variable with the same name. Change name of the function
8956 to end in Rel or Rela (uppercase).
8957 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8958 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8959 elf_dynamic_do_##reloc function.
8960
fd5bdc09
UD
89612011-10-15 Ulrich Drepper <drepper@gmail.com>
8962
79b195b5
UD
8963 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8964 is sufficient, at least on modern CPUs.
8965
d4a28569
UD
8966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8967
b61099b5
UD
8968 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8969 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8970
bcf01e6d
UD
8971 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8972 __expl_finite.
8973 * math/bits/math-finite.h: Add entries for exp.
8974 * math/e_expl.c: Add __*_finite alias.
8975 * sysdeps/i386/fpu/e_exp.S: Likewise.
8976 * sysdeps/i386/fpu/e_expf.S: Likewise.
8977 * sysdeps/i386/fpu/e_expl.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8979 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8983 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8984 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8985
ba1a0d59
UD
8986 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8987 is sufficient, at least on modern CPUs.
8988
fd5bdc09
UD
8989 * ctype/ctype-info.c (__ctype_init): Define.
8990 * include/ctype.h (__ctype_init): Declare.
8991 (__ctype_b_loc): The variable is always initialized.
8992 (__ctype_toupper_loc): Likewise.
8993 (__ctype_tolower_loc): Likewise.
8994 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8995 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8996
7872cfb0
AS
89972011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8998
b468825a
AS
8999 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9000
7872cfb0
AS
9001 * configure.in: Also look in $cxxmachine/include for C++ system
9002 headers.
9003
be13f7bf
LD
90042011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9005
9006 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9007 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9008 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9009 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9011 (USE_AS_WMEMCMP): New macro.
9012 Fixing indents.
9013 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9014 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9015 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9016 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9018 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9019 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9020 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9021 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9022 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9024 (USE_AS_WMEMCMP): New macro.
9025 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9026 * sysdeps/string/test-memcmp.c: Update.
9027 Fix simple_wmemcmp.
9028 Add new tests.
9029 * wcsmbs/wmemcmp.c: Update.
9030 (WMEMCMP): New macro.
9031 Fix overflow bug.
9032
556a2007
AJ
90332011-10-12 Andreas Jaeger <aj@suse.de>
9034
9035 [BZ #13268]
9036 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9037
538faaa7
UD
90382011-10-15 Ulrich Drepper <drepper@gmail.com>
9039
ab6737ff
UD
9040 * libio/iofwide.c (do_length): Avoid warning.
9041
538faaa7
UD
9042 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9043
396a21b1
UD
90442011-10-14 Ulrich Drepper <drepper@gmail.com>
9045
cdf2901f
UD
9046 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9047
38ad40ce
UD
9048 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9049 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9050 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9051 * sysdeps/i386/i686/fpu/e_log.S: New file.
9052 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9053 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9054
396a21b1
UD
9055 * ctype/ctype.h: Add support for inlined isXXX functions when
9056 compiling C++ code.
9057
6b1f68c9
AS
90582011-10-14 Andreas Schwab <schwab@redhat.com>
9059
349290c0
AS
9060 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9061
6b1f68c9
AS
9062 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9063
f2282d42
RM
90642011-10-13 Roland McGrath <roland@hack.frob.com>
9065
9066 [BZ #13291]
9067 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9068
5298ffa8
AS
90692011-10-13 Andreas Schwab <schwab@redhat.com>
9070
714fad23
AS
9071 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9072 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9073 feraiseexcept.
9074
81dcc7fb
AS
9075 * sysdeps/x86_64/memrchr.S: Check for zero size.
9076
5298ffa8
AS
9077 * string/stratcliff.c: Add memrchr tests.
9078
951fbcec
LD
90792011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9080
9081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9082 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9083 rawmemchr-sse2 rawmemchr-sse2-bsf.
9084 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9085 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9086 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9087 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9088 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9089 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9090 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9091 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9092 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9093 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9094 * string/memrchr.c (MEMRCHR): New macro.
9095
0ac5ae23
UD
90962011-10-12 Ulrich Drepper <drepper@gmail.com>
9097
9098 Add integration with gcc's -ffinite-math-only and optimize wrapper
9099 functions in libm.
9100 * Versions.def: Define GLIBC_2.15 version for libm.
9101 * math/Makefile (headers): Add bits/math-finite.h.
9102 * math/bits/math-finite.h: New file.
9103 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9104 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9105 * math/e_acoshl.c: Add __*_finite alias.
9106 * math/e_acosl.c: Likewise.
9107 * math/e_asinl.c: Likewise.
9108 * math/e_atan2l.c: Likewise.
9109 * math/e_atanhl.c: Likewise.
9110 * math/e_coshl.c: Likewise.
9111 * math/e_exp10.c: Likewise.
9112 * math/e_exp10f.c: Likewise.
9113 * math/e_exp10l.c: Likewise.
9114 * math/e_exp2l.c: Likewise.
9115 * math/e_fmodl.c: Likewise.
9116 * math/e_gammal_r.c: Likewise.
9117 * math/e_hypotl.c: Likewise.
9118 * math/e_j0l.c: Likewise.
9119 * math/e_j1l.c: Likewise.
9120 * math/e_jnl.c: Likewise.
9121 * math/e_lgammal_r.c: Likewise.
9122 * math/e_log10l.c: Likewise.
9123 * math/e_log2l.c: Likewise.
9124 * math/e_logl.c: Likewise.
9125 * math/e_powl.c: Likewise.
9126 * math/e_sinhl.c: Likewise.
9127 * math/e_sqrtl.c: Likewise.
9128 * math/e_scalb.c: Completely rewritten and optimized.
9129 * math/e_scalbf.c: Likewise.
9130 * math/e_scalbl.c: Likewise.
9131 * math/w_acos.c: Likewise.
9132 * math/w_acosf.c: Likewise.
9133 * math/w_acosl.c: Likewise.
9134 * math/w_acosh.c: Likewise.
9135 * math/w_acoshf.c: Likewise.
9136 * math/w_acoshl.c: Likewise.
9137 * math/w_asin.c: Likewise.
9138 * math/w_asinf.c: Likewise.
9139 * math/w_asinl.c: Likewise.
9140 * math/w_atan2.c: Likewise.
9141 * math/w_atan2f.c: Likewise.
9142 * math/w_atan2l.c: Likewise.
9143 * math/w_atanh.c: Likewise.
9144 * math/w_atanhf.c: Likewise.
9145 * math/w_atanhl.c: Likewise.
9146 * math/w_exp10.c: Likewise.
9147 * math/w_exp10f.c: Likewise.
9148 * math/w_exp10l.c: Likewise.
9149 * math/w_fmod.c: Likewise.
9150 * math/w_fmodf.c: Likewise.
9151 * math/w_fmodl.c: Likewise.
9152 * math/w_j0.c: Likewise.
9153 * math/w_j0f.c: Likewise.
9154 * math/w_j0l.c: Likewise.
9155 * math/w_j1.c: Likewise.
9156 * math/w_j1f.c: Likewise.
9157 * math/w_j1l.c: Likewise.
9158 * math/w_jn.c: Likewise.
9159 * math/w_jnf.c: Likewise.
9160 * math/w_log.c: Likewise.
9161 * math/w_logf.c: Likewise.
9162 * math/w_logl.c: Likewise.
9163 * math/w_log10.c: Likewise.
9164 * math/w_log10f.c: Likewise.
9165 * math/w_log10l.c: Likewise.
9166 * math/w_log2.c: Likewise.
9167 * math/w_log2f.c: Likewise.
9168 * math/w_log2l.c: Likewise.
9169 * math/w_pow.c: Likewise.
9170 * math/w_powf.c: Likewise.
9171 * math/w_powl.c: Likewise.
9172 * math/w_remainder.c: Likewise.
9173 * math/w_remainderf.c: Likewise.
9174 * math/w_remainderl.c: Likewise.
9175 * math/w_scalb.c: Likewise.
9176 * math/w_scalbf.c: Likewise.
9177 * math/w_scalbl.c: Likewise.
9178 * math/w_sqrt.c: Likewise.
9179 * math/w_sqrtf.c: Likewise.
9180 * math/w_sqrtl.c: Likewise.
9181 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9182 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9183 used.
9184 * math/math_private.h: Declare __kernel_standard_f.
9185 * math/w_cosh.c: Remove cruft and optimize a bit.
9186 * math/w_coshf.c: Likewise.
9187 * math/w_coshl.c: Likewise.
9188 * math/w_exp2.c: Likewise.
9189 * math/w_exp2f.c: Likewise.
9190 * math/w_exp2l.c: Likewise.
9191 * math/w_hypot.c: Likewise.
9192 * math/w_hypotf.c: Likewise.
9193 * math/w_hypotl.c: Likewise.
9194 * math/w_lgamma.c: Likewise.
9195 * math/w_lgamma_r.c: Likewise.
9196 * math/w_lgammaf.c: Likewise.
9197 * math/w_lgammaf_r.c: Likewise.
9198 * math/w_lgammal.c: Likewise.
9199 * math/w_lgammal_r.c: Likewise.
9200 * math/w_sinh.c: Likewise.
9201 * math/w_sinhf.c: Likewise.
9202 * math/w_sinhl.c: Likewise.
9203 * math/w_tgamma.c: Likewise.
9204 * math/w_tgammaf.c: Likewise.
9205 * math/w_tgammal.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9208 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9209 Minor optimizations. Pretty printing. Remove cruft.
9210 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9211 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9212 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9213 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9214 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9215 * sysdeps/i386/fpu/e_asin.S: Likewise.
9216 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9217 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9218 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9219 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9220 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9221 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9222 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9223 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9224 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9225 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9226 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9227 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9228 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9229 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9230 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9231 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9232 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9233 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9234 * sysdeps/i386/fpu/e_log.S: Likewise.
9235 * sysdeps/i386/fpu/e_log10.S: Likewise.
9236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9237 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9238 * sysdeps/i386/fpu/e_log2.S: Likewise.
9239 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9240 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9241 * sysdeps/i386/fpu/e_logf.S: Likewise.
9242 * sysdeps/i386/fpu/e_logl.S: Likewise.
9243 * sysdeps/i386/fpu/e_pow.S: Likewise.
9244 * sysdeps/i386/fpu/e_powf.S: Likewise.
9245 * sysdeps/i386/fpu/e_powl.S: Likewise.
9246 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9247 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9248 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9250 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9251 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9252 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9253 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9254 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9269 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9276 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9277 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9278 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9279 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9280 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9281 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9282 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9283 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9284 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9285 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9286 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9287 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9288 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9289 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9290 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9291 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9292 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9293 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9294 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9295 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9296 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9335 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9338 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9340 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9343 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9346 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9347 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9348 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9349 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9350 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9351 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9352 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9353 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9354 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9355 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9356 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9357 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9358 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9359 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9360 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9361 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9362 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9363 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9364 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9365 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9366 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9367 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9368 (__isnanf): Likewise.
9369 (__isinf_ns): Likewise.
9370 (__isinf_nsf): Likewise.
9371 (__finite): Likewise.
9372 (__finitef): Likewise.
9373 (__ieee754_sqrt): Define as macro.
9374 (__ieee754_sqrtf): Define as macro.
9375 (__ieee754_sqrtl): Define as macro.
9376 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9377 inlined copy.
9378 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9379 __FINITE_MATH_ONLY__ consistent.
9380 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9381
12cc2fcd
AS
93822011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9383
a843a204
AS
9384 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9385 of rawmemchr.
9386
12cc2fcd
AS
9387 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9388
c853acd5
UD
93892011-10-09 Ulrich Drepper <drepper@gmail.com>
9390
9391 * po/ja.po: Update from translation team.
9392
c658d255
RM
93932011-10-08 Roland McGrath <roland@hack.frob.com>
9394
110946e4
RM
9395 * locale/programs/locarchive.c (prepare_address_space): New function.
9396 (create_archive, enlarge_archive, open_archive): Use it.
9397
50604220
RM
9398 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9399 inside [SHARED], where it is used.
9400
c658d255
RM
9401 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9402
9403 * nss/getent.c (netgroup_keys): Remove unused variable.
9404 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9405
6a621eb7
UD
94062011-10-08 Ulrich Drepper <drepper@gmail.com>
9407
7edb55ce
UD
9408 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9409 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9411 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9412 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9413 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9414 * math/Makefile (libm-calls): Add s_isinf_ns.
9415 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9416 * math/multc3.c: Likewise.
9417 * math/s_casin.c: Likewise.
9418 * math/s_casinf.c: Likewise.
9419 * math/s_casinl.c: Likewise.
9420 * math/s_ccos.c: Likewise.
9421 * math/s_ccosf.c: Likewise.
9422 * math/s_ccosl.c: Likewise.
9423 * math/s_ctan.c: Likewise.
9424 * math/s_ctanf.c: Likewise.
9425 * math/s_ctanh.c: Likewise.
9426 * math/s_ctanhf.c: Likewise.
9427 * math/s_ctanhl.c: Likewise.
9428 * math/s_ctanl.c: Likewise.
9429 * math/w_fmod.c: Likewise.
9430 * math/w_fmodf.c: Likewise.
9431 * math/w_fmodl.c: Likewise.
9432 * math/w_remainder.c: Likewise.
9433 * math/w_remainderf.c: Likewise.
9434 * math/w_remainderl.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9436 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9439 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9440 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9441 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9442 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9443
187da0ae
UD
9444 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9445 of the number.
9446 * stdio-common/printf_fphex.c: Likewise.
9447 * stdio-common/printf_size.c: Likewise.
9448
9277c064
UD
9449 * math/e_exp10.c: Include math_private.h using <...> not "...".
9450 * math/e_exp10f.c: Likewise.
9451 * math/e_exp10l.c: Likewise.
9452 * math/e_exp2l.c: Likewise.
9453 * math/e_j0l.c: Likewise.
9454 * math/e_j1l.c: Likewise.
9455 * math/e_jnl.c: Likewise.
9456 * math/e_lgammal_r.c: Likewise.
9457 * math/e_rem_pio2l.c: Likewise.
9458 * math/e_scalb.c: Likewise.
9459 * math/e_scalbf.c: Likewise.
9460 * math/e_scalbl.c: Likewise.
9461 * math/k_cosl.c: Likewise.
9462 * math/k_sinl.c: Likewise.
9463 * math/k_tanl.c: Likewise.
9464 * math/s_cacoshf.c: Likewise.
9465 * math/s_catan.c: Likewise.
9466 * math/s_catanf.c: Likewise.
9467 * math/s_catanh.c: Likewise.
9468 * math/s_catanhf.c: Likewise.
9469 * math/s_catanhl.c: Likewise.
9470 * math/s_catanl.c: Likewise.
9471 * math/s_ccosh.c: Likewise.
9472 * math/s_ccoshf.c: Likewise.
9473 * math/s_ccoshl.c: Likewise.
9474 * math/s_cexp.c: Likewise.
9475 * math/s_cexpf.c: Likewise.
9476 * math/s_cexpl.c: Likewise.
9477 * math/s_clog.c: Likewise.
9478 * math/s_clog10.c: Likewise.
9479 * math/s_clog10f.c: Likewise.
9480 * math/s_clog10l.c: Likewise.
9481 * math/s_clogf.c: Likewise.
9482 * math/s_clogl.c: Likewise.
9483 * math/s_csin.c: Likewise.
9484 * math/s_csinf.c: Likewise.
9485 * math/s_csinh.c: Likewise.
9486 * math/s_csinhf.c: Likewise.
9487 * math/s_csinhl.c: Likewise.
9488 * math/s_csinl.c: Likewise.
9489 * math/s_csqrt.c: Likewise.
9490 * math/s_csqrtf.c: Likewise.
9491 * math/s_csqrtl.c: Likewise.
9492 * math/s_ctan.c: Likewise.
9493 * math/s_ctanf.c: Likewise.
9494 * math/s_ctanh.c: Likewise.
9495 * math/s_ctanhf.c: Likewise.
9496 * math/s_ctanhl.c: Likewise.
9497 * math/s_ctanl.c: Likewise.
9498 * math/s_ldexp.c: Likewise.
9499 * math/s_ldexpf.c: Likewise.
9500 * math/s_ldexpl.c: Likewise.
9501 * math/s_significand.c: Likewise.
9502 * math/s_significandf.c: Likewise.
9503 * math/s_significandl.c: Likewise.
9504 * math/w_acos.c: Likewise.
9505 * math/w_acosf.c: Likewise.
9506 * math/w_acosh.c: Likewise.
9507 * math/w_acoshf.c: Likewise.
9508 * math/w_acoshl.c: Likewise.
9509 * math/w_acosl.c: Likewise.
9510 * math/w_asin.c: Likewise.
9511 * math/w_asinf.c: Likewise.
9512 * math/w_asinl.c: Likewise.
9513 * math/w_atan2.c: Likewise.
9514 * math/w_atan2f.c: Likewise.
9515 * math/w_atan2l.c: Likewise.
9516 * math/w_atanh.c: Likewise.
9517 * math/w_atanhf.c: Likewise.
9518 * math/w_atanhl.c: Likewise.
9519 * math/w_cosh.c: Likewise.
9520 * math/w_coshf.c: Likewise.
9521 * math/w_coshl.c: Likewise.
9522 * math/w_dremf.c: Likewise.
9523 * math/w_exp10.c: Likewise.
9524 * math/w_exp10f.c: Likewise.
9525 * math/w_exp10l.c: Likewise.
9526 * math/w_exp2.c: Likewise.
9527 * math/w_exp2f.c: Likewise.
9528 * math/w_fmod.c: Likewise.
9529 * math/w_fmodf.c: Likewise.
9530 * math/w_fmodl.c: Likewise.
9531 * math/w_hypot.c: Likewise.
9532 * math/w_hypotf.c: Likewise.
9533 * math/w_hypotl.c: Likewise.
9534 * math/w_j0.c: Likewise.
9535 * math/w_j0f.c: Likewise.
9536 * math/w_j0l.c: Likewise.
9537 * math/w_j1.c: Likewise.
9538 * math/w_j1f.c: Likewise.
9539 * math/w_j1l.c: Likewise.
9540 * math/w_jn.c: Likewise.
9541 * math/w_jnf.c: Likewise.
9542 * math/w_jnl.c: Likewise.
9543 * math/w_lgamma.c: Likewise.
9544 * math/w_lgamma_r.c: Likewise.
9545 * math/w_lgammaf.c: Likewise.
9546 * math/w_lgammaf_r.c: Likewise.
9547 * math/w_lgammal.c: Likewise.
9548 * math/w_lgammal_r.c: Likewise.
9549 * math/w_log.c: Likewise.
9550 * math/w_log10.c: Likewise.
9551 * math/w_log10f.c: Likewise.
9552 * math/w_log10l.c: Likewise.
9553 * math/w_log2.c: Likewise.
9554 * math/w_log2f.c: Likewise.
9555 * math/w_log2l.c: Likewise.
9556 * math/w_logf.c: Likewise.
9557 * math/w_logl.c: Likewise.
9558 * math/w_pow.c: Likewise.
9559 * math/w_powf.c: Likewise.
9560 * math/w_powl.c: Likewise.
9561 * math/w_remainder.c: Likewise.
9562 * math/w_remainderf.c: Likewise.
9563 * math/w_remainderl.c: Likewise.
9564 * math/w_scalb.c: Likewise.
9565 * math/w_scalbf.c: Likewise.
9566 * math/w_scalbl.c: Likewise.
9567 * math/w_sinh.c: Likewise.
9568 * math/w_sinhf.c: Likewise.
9569 * math/w_sinhl.c: Likewise.
9570 * math/w_sqrt.c: Likewise.
9571 * math/w_sqrtf.c: Likewise.
9572 * math/w_sqrtl.c: Likewise.
9573 * math/w_tgamma.c: Likewise.
9574 * math/w_tgammaf.c: Likewise.
9575 * math/w_tgammal.c: Likewise.
9576
6a621eb7
UD
9577 * po/ja.po: Update from translation team.
9578
bf582445
AJ
95792011-09-29 Andreas Jaeger <aj@suse.de>
9580
f9efbf3a
AJ
9581 [BZ #13179]
9582 * sunrpc/netname.c (netname2host): Fix logic.
9583
bf582445
AJ
9584 [BZ #6779]
9585 [BZ #6783]
9586 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9587 correctly.
9588 * math/w_remainder.c (__remainder): Likewise.
9589 * math/w_remainderf.c (__remainderf): Likewise.
9590 * math/libm-test.inc (remainder_test): Add test cases.
9591
48693bea
AK
95922011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9593
9594 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9595 sdiv_qrnnd.
9596
42622229
LD
95972011-10-07 Ulrich Drepper <drepper@gmail.com>
9598
9599 * string/test-memcmp.c: Avoid unncessary #defines.
9600 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9601
093ecf92
LD
96022011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9603
9604 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9605 Use new sse2 version for core i3 - i7 as it's faster
9606 than sse42 version.
9607 (bit_Prefer_PMINUB_for_stringop): New.
9608 * sysdeps/x86_64/rawmemchr.S: Update.
9609 Replace with faster SSE2 version.
9610 * sysdeps/x86_64/memrchr.S: New file.
9611 * sysdeps/x86_64/memchr.S: Update.
9612 Replace with faster SSE2 version.
9613
fde56e5c
MP
96142011-09-12 Marek Polacek <mpolacek@redhat.com>
9615
9616 * elf/dl-load.c (lose): Add cast to avoid warning.
9617
21fd49a9
UD
96182011-10-07 Ulrich Drepper <drepper@gmail.com>
9619
5a06e643
UD
9620 * po/ca.po: Update from translation team.
9621
684ae515
UD
9622 * inet/getnetgrent_r.c: Hook up nscd.
9623 * nscd/Makefile (routines): Add nscd_netgroup.
9624 (nscd-modules): Add netgroupcache.
9625 (CFLAGS-netgroupcache.c): Define.
9626 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9627 (cache_search): Add const to second parameter.
9628 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9629 INNETGR.
9630 (dbs): Add netgrdb entry.
9631 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9632 (verify_persistent_db): Handle netgrdb.
9633 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9634 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9635 GETFDNETGR.
9636 (netgroup_response_header): Define.
9637 (innetgroup_response_header): Define.
9638 (datahead): Add netgroup_response_header and innetgroup_response_header
9639 elements.
9640 * nscd/nscd.conf: Add entries for netgroup cache.
9641 * nscd/nscd.h (dbtype): Add netgrdb.
9642 (_PATH_NSCD_NETGROUP_DB): Define.
9643 (netgroup_iov_disabled): Declare.
9644 (xmalloc, xcalloc, xrealloc): Move declarations here.
9645 (cache_search): Adjust prototype.
9646 Add netgroup-related prototypes.
9647 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9648 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9649 (__nscd_innetgr): Declare.
9650 * nscd/selinux.c (perms): Use access_vector_t as element type and
9651 add netgroup-related initializers.
9652 * nscd/netgroupcache.c: New file.
9653 * nscd/nscd_netgroup.c: New file.
9654 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9655 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9656 For four parameters use innetgr.
9657 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9658 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9659 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9660 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9661
21fd49a9
UD
9662 * nscd/connections.c (register_traced_file): Don't register file
9663 for disabled databases.
9664
054c0457
UD
96652011-10-06 Ulrich Drepper <drepper@gmail.com>
9666
32b63198
UD
9667 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9668
054c0457
UD
9669 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9670 from tree and freeing node.
9671
64031225
JO
96722011-09-25 Jiri Olsa <jolsa@redhat.com>
9673
9674 * nss/nsswitch.c (__nss_database_lookup): Handle
9675 nss_parse_service_list out of memory case.
9676
0490345c
JO
96772011-09-15 Jiri Olsa <jolsa@redhat.com>
9678
9679 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9680 out of memory case.
9681
3a62d00d
AS
96822011-10-04 Andreas Schwab <schwab@redhat.com>
9683
9684 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9685 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9686 pass it down.
9687 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9688 elf_machine_rela, elf_machine_lazy_rel.
9689 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9690 (ELF_DYNAMIC_DO_REL): Likewise.
9691 (ELF_DYNAMIC_DO_RELA): Likewise.
9692 (ELF_DYNAMIC_RELOCATE): Likewise.
9693 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9694 to ELF_DYNAMIC_DO_REL.
9695 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9696 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9697 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9698 elf_machine_rela.
9699 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9700 skip_ifunc, don't call ifunc function if non-zero.
9701 (elf_machine_rela): Likewise.
9702 (elf_machine_lazy_rel): Likewise.
9703 (elf_machine_lazy_rela): Likewise.
9704 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9705 (elf_machine_lazy_rel): Likewise.
9706 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9707 Likewise.
9708 (elf_machine_lazy_rel): Likewise.
9709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9710 Likewise.
9711 (elf_machine_lazy_rel): Likewise.
9712 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9713 (elf_machine_lazy_rel): Likewise.
9714 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9715 (elf_machine_lazy_rel): Likewise.
9716 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9717 (elf_machine_lazy_rel): Likewise.
9718 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9719 (elf_machine_lazy_rel): Likewise.
9720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9721 (elf_machine_lazy_rel): Likewise.
9722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9723 (elf_machine_lazy_rel): Likewise.
9724
68577918
UD
97252011-09-28 Ulrich Drepper <drepper@gmail.com>
9726
9727 * nss/nss_files/files-init.c (_nss_files_init): Use static
9728 initialization for all the *_traced_file variables.
9729
68822d74
AS
97302011-09-28 Andreas Schwab <schwab@redhat.com>
9731
9732 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9733
2056100b
RM
97342011-09-27 Roland McGrath <roland@hack.frob.com>
9735
9736 [BZ #13226]
9737 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9738
32c76b63
AS
97392011-09-27 Andreas Schwab <schwab@redhat.com>
9740
9741 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9742 Reread the line before reparsing it.
9743
bf972c9d
AS
97442011-09-26 Andreas Schwab <schwab@redhat.com>
9745
9746 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9747
e057a1b5
JM
97482011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9749 Maxim Kuvyrkov <maxim@codesourcery.com>
9750 Joseph Myers <joseph@codesourcery.com>
9751
9752 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9753 if needed for __stack_chk_guard.
9754
bc7e1c36
RM
97552011-09-19 Roland McGrath <roland@hack.frob.com>
9756
ecb1482f
RM
9757 * sysdeps/posix/spawni.c (script_execute): Always define it.
9758 It will be optimized away if unused.
9759 (maybe_script_execute): New function.
9760 (__spawni): Call it.
9761
bc7e1c36
RM
9762 * Makerules: Don't include tls.make.
9763 (config-tls): Always set to thread.
9764 * tls.make.c: File removed.
9765
1c3b002b
MF
97662011-09-19 Mike Frysinger <vapier@gentoo.org>
9767
9768 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9769 * config.make.in (CPPFLAGS-config): New substituted variable.
9770
2840865d
UD
97712011-09-15 Ulrich Drepper <drepper@gmail.com>
9772
88738eb6
UD
9773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9774
cbf645a6 9775 [BZ #13192]
2840865d
UD
9776 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9777 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9778
b402e91a
RM
97792011-09-15 Roland McGrath <roland@hack.frob.com>
9780
9781 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9782 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9783 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9784 (CALL_FAIL): Likewise.
9785 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9786 (CALL_FAIL): Macro removed.
9787 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9788
4c1a1f71
UD
97892011-09-15 Ulrich Drepper <drepper@gmail.com>
9790
9791 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9792 for __FINITE_MATH_ONLY__ == 1.
9793
edc121be
AS
97942011-09-15 Andreas Schwab <schwab@redhat.com>
9795
9796 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9797 __ieee754_sqrt instead of sqrt.
9798 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9799 __ieee754_sqrtf instead of sqrtf.
9800 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9801 __floorf instead of floorf.
9802 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9803 __floorf, __truncf instead of floorf, truncf.
9804
cd205654
UD
98052011-09-14 Ulrich Drepper <drepper@gmail.com>
9806
ee4d0315
UD
9807 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9808
cd205654
UD
9809 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9810 __extern_always_inline.
9811 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9812 32-bit.
9813
48b67d71
AS
98142011-09-14 Andreas Schwab <schwab@redhat.com>
9815
9816 * elf/rtld.c (dl_main): Also relocate in dependency order when
9817 doing symbol dependency testing.
9818
1ae12c75
AS
98192011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9820
9821 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9822 Always define `refsym'.
9823
995a80df
AS
98242011-09-13 Andreas Schwab <schwab@redhat.com>
9825
e529793b
AS
9826 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9827 (__FD_ELT): Renamed from __FDELT.
9828 * misc/bits/select2.h (__FD_ELT): Likewise.
9829 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9830 __FD_MASK instead of __FDELT, __FDMASK.
9831 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9832 Likewise.
9833 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9834 Likewise.
9835
52d4fef8
AS
9836 * elf/Makefile (gen-ldd): Fix pattern.
9837
995a80df
AS
9838 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9839 (init_tls): Likewise.
9840
8682f8b0
UD
98412011-09-12 Ulrich Drepper <drepper@gmail.com>
9842
9843 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9844
de82006d
AS
98452011-09-12 Andreas Schwab <schwab@redhat.com>
9846
a7c8e6a1
AS
9847 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9848 `struct cmsghdr *' instead of `void *'.
9849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9850 Likewise.
9851
0f31fe77
AS
98522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9853
9854 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9855 if non-absolute.
9856 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9857 ldd_rewrite_script.
0f31fe77 9858
32b4c839
UD
98592011-09-11 Ulrich Drepper <drepper@gmail.com>
9860
83cd1420
UD
9861 * configure.in: Remove --with-tls option.
9862 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9863 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9864 out in case it is missing.
9865 * sysdeps/ia64/elf/configure.in: Likewise.
9866 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9867 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9868 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9869 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9870 * sysdeps/sh/elf/configure.in: Likewise.
9871 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9872 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9873 * sysdeps/x86_64/elf/configure.in: Likewise.
9874 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9875 * sysdeps/mach/hurd/tls.h: Likewise.
9876
633f745d
UD
9877 [BZ #13067]
9878 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9879
f318beb8
UD
9880 [BZ #13090]
9881 * configure.in: Fix use of AC_INIT.
9882
32b4c839
UD
9883 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9884
3ce1f295
UD
98852011-09-10 Ulrich Drepper <drepper@gmail.com>
9886
bb016596
UD
9887 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9888 __set_errno.
8e58439c
UD
9889 * malloc/hooks.c: Likewise.
9890
aebae053 9891 [BZ #11929]
02d46fc4
UD
9892 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9893 variables statically.
9894 (narenas): Initialize.
9895 (list_lock): Initialize.
bb016596
UD
9896 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9897 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9898 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9899 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9900 Add initializers to main_arena and mp_.
9901 (malloc_state): Remove pagesize member. Change all users to use
9902 GLRO(dl_pagesize).
9903
9904 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9905 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9906 is always initialized.
9907
22a89187
UD
9908 * malloc/malloc.c: Removed unused configurations and dead code.
9909 * malloc/arena.c: Likewise.
9910 * malloc/hooks.c: Likewise.
02d46fc4 9911 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9912
d063d164
UD
9913 * include/tls.h: Removed. USE___THREAD must always be defined.
9914 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9915 * elf/dl-libc.c: Likewise.
9916 * elf/dl-tsd.c: Likewise.
9917 * include/errno.h: Likewise.
9918 * include/netdb.h: Likewise.
9919 * include/resolv.h: Likewise.
9920 * inet/herrno-loc.c: Likewise.
9921 * inet/herrno.c: Likewise.
9922 * malloc/arena.c: Likewise.
9923 * malloc/hooks.c: Likewise.
9924 * malloc/malloc.c: Likewise.
9925 * resolv/res-state.c: Likewise.
9926 * resolv/res_libc.c: Likewise.
9927 * sysdeps/i386/dl-machine.h: Likewise.
9928 * sysdeps/ia64/dl-machine.h: Likewise.
9929 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9930 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9931 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9932 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9933 * sysdeps/sh/dl-machine.h: Likewise.
9934 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9935 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9936 * sysdeps/unix/i386/sysdep.S: Likewise.
9937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9938 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9942 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9943 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9948 * sysdeps/x86_64/dl-machine.h: Likewise.
9949 * tls.make.c: Likewise.
9950
3ce1f295
UD
9951 * configure.in: Remove --with-__thread option. Make tests for
9952 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9953 tls_model attribute fail if no support is available. Remove
9954 USE_IN_LIBIO.
9955 * Makeconfig: Adjust for dropped configure option. All features are
9956 now mandatory.
9957 * Makerules: Likewise.
9958 * Versions.def: Likewise.
9959 * argp/argp-fmtstream.c: Likewise.
9960 * argp/argp-fmtstream.h: Likewise.
9961 * argp/argp-help.c: Likewise.
9962 * assert/assert.c: Likewise.
9963 * config.h.in: Likewise.
9964 * config.make.in: Likewise.
9965 * configure: Likewise.
9966 * configure.in: Likewise.
9967 * csu/Versions: Likewise.
9968 * csu/init.c: Likewise.
9969 * elf/tst-audit2.c: Likewise.
9970 * elf/tst-tls10.c: Likewise.
9971 * elf/tst-tls10.h: Likewise.
9972 * elf/tst-tls11.c: Likewise.
9973 * elf/tst-tls12.c: Likewise.
9974 * elf/tst-tls14.c: Likewise.
9975 * elf/tst-tlsmod11.c: Likewise.
9976 * elf/tst-tlsmod12.c: Likewise.
9977 * elf/tst-tlsmod13.c: Likewise.
9978 * elf/tst-tlsmod13a.c: Likewise.
9979 * elf/tst-tlsmod14a.c: Likewise.
9980 * elf/tst-tlsmod15b.c: Likewise.
9981 * elf/tst-tlsmod16a.c: Likewise.
9982 * elf/tst-tlsmod16b.c: Likewise.
9983 * elf/tst-tlsmod7.c: Likewise.
9984 * elf/tst-tlsmod8.c: Likewise.
9985 * elf/tst-tlsmod9.c: Likewise.
9986 * gmon/gmon.c: Likewise.
9987 * grp/fgetgrent_r.c: Likewise.
9988 * grp/putgrent.c: Likewise.
9989 * hurd/fopenport.c: Likewise.
9990 * include/libc-symbols.h: Likewise.
9991 * include/tls.h: Likewise.
9992 * intl/gettextP.h: Likewise.
9993 * intl/loadinfo.h: Likewise.
9994 * locale/global-locale.c: Likewise.
9995 * locale/localeinfo.h: Likewise.
9996 * mach/devstream.c: Likewise.
9997 * malloc/arena.c: Likewise.
9998 * malloc/set-freeres.c: Likewise.
9999 * misc/err.c: Likewise.
10000 * misc/getttyent.c: Likewise.
10001 * misc/mntent_r.c: Likewise.
10002 * posix/getopt.c: Likewise.
10003 * posix/wordexp.c: Likewise.
10004 * pwd/fgetpwent_r.c: Likewise.
10005 * resolv/Versions: Likewise.
10006 * resolv/res_hconf.c: Likewise.
10007 * shadow/fgetspent_r.c: Likewise.
10008 * shadow/putspent.c: Likewise.
10009 * stdio-common/printf_fphex.c: Likewise.
10010 * stdio-common/tmpfile.c: Likewise.
10011 * stdlib/abort.c: Likewise.
10012 * stdlib/fmtmsg.c: Likewise.
10013 * sunrpc/auth_unix.c: Likewise.
10014 * sunrpc/clnt_perr.c: Likewise.
10015 * sunrpc/clnt_tcp.c: Likewise.
10016 * sunrpc/clnt_udp.c: Likewise.
10017 * sunrpc/clnt_unix.c: Likewise.
10018 * sunrpc/openchild.c: Likewise.
10019 * sunrpc/svc_simple.c: Likewise.
10020 * sunrpc/svc_tcp.c: Likewise.
10021 * sunrpc/svc_udp.c: Likewise.
10022 * sunrpc/svc_unix.c: Likewise.
10023 * sunrpc/xdr.c: Likewise.
10024 * sunrpc/xdr_array.c: Likewise.
10025 * sunrpc/xdr_rec.c: Likewise.
10026 * sunrpc/xdr_ref.c: Likewise.
10027 * sunrpc/xdr_stdio.c: Likewise.
10028
1248c1c4
PB
100292011-09-09 Ulrich Drepper <drepper@gmail.com>
10030
10031 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10032
100332011-07-03 Andreas Jaeger <aj@suse.de>
10034
10035 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10036 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10037 regenerate with gen-libm-tests.pl.
10038
100392010-05-12 Petr Baudis <pasky@suse.cz>
10040
10041 [BZ #11589]
10042 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10043 around j0() zero points by switching to j1().
10044 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10045 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10047 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10048
f22e1074
UD
100492011-09-09 Ulrich Drepper <drepper@gmail.com>
10050
f19009c1
UD
10051 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10052 instead of 0.
10053 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10054 instead of 0. .
10055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10056 Patch in part by Pavel Roskin <proski@gnu.org>.
10057
3f8cc204
UD
10058 [BZ #13138]
10059 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10060 realloc.
10061 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10062 Free memory block if necessary.
10063
f22e1074
UD
10064 [BZ #12847]
10065 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10066 be NULL. Don't lock in this case.
10067
0a2349f9
RM
100682011-09-09 Roland McGrath <roland@hack.frob.com>
10069
10070 * elf/elf.h (ELFOSABI_GNU): New macro.
10071 (ELFOSABI_LINUX): Define to that.
10072
f3cdd467
DZ
100732011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10074
10075 * string/strncat.c (strncat): Undef the symbol in case it has been
10076 defined in bits/string.h.
10077
74718d13
UD
100782011-09-09 Ulrich Drepper <drepper@gmail.com>
10079
633e9e0f
UD
10080 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10081
0a2349f9 10082 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10083 link map.
10084
f9924780
AJ
100852011-08-17 Andreas Jaeger <aj@suse.de>
10086
10087 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10088
7f5517aa
PP
100892011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10090 Ian Lance Taylor <iant@google.com>
10091
10092 * math/libm-test.inc (lround_test): New testcase.
10093 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10094
762011fe
UD
100952011-09-08 Ulrich Drepper <drepper@gmail.com>
10096
92963737
UD
10097 * Makefile: Remove support for automatic cvs check-ins.
10098 * Makerules: Likewise.
10099 * config.make.in: Likewise.
10100 * configure.in: Likewise.
10101 * intl/Makefile: Likewise.
10102 * locale/Makefile: Likewise.
10103 * po/Makefile: Likewise.
10104 * posix/Makefile: Likewise.
10105 * sysdeps/gnu/Makefile: Likewise.
10106 * sysdeps/mach/hurd/Makefile: Likewise.
10107 * sysdeps/sparc/sparc32/Makefile: Likewise.
10108
b0727fd8
JS
10109 [BZ #13118]
10110 * posix/Makefile (bug-regex32-ENV): Define.
10111 Patch by John Stanley <jpsinthemix@verizon.net>.
10112
a0f33f99
UD
10113 * misc/Makefile (headers): Add bits/select2.h.
10114 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10115 * misc/bits/select2.h: New file.
10116 * include/bits/select2.h: New file.
10117 * debug/Makefile (routines): Add fdelt_chk.
10118 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10119 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10120 FD_ISSET.
10121 * debug/fdelt_chk.c: New file.
10122
762011fe
UD
10123 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10124 * wcsmbs/test-wmemcmp.c: Likewise.
10125 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10126 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10127
101282011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10129
10130 * string/Makefile (strop-tests): Add memcmp.
10131 * string/test-wmemcmp.c: New file.
10132 * string/test-memcmp.c: Add wmemcmp support.
10133
7f513ec8
RM
101342011-09-08 Roland McGrath <roland@hack.frob.com>
10135
0442afb4
RM
10136 [BZ #13153]
10137 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10138 2011-07-19 change.
10139
7f513ec8
RM
10140 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10141 garbage value in a __mach_port_mod_refs call in the cases of the
10142 task-self and thread-self ports.
10143
a12b2239
ST
101442011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10145
10146 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10147
610f9ab4
AS
101482011-09-08 Andreas Schwab <schwab@redhat.com>
10149
7f513ec8 10150 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10151
48882a1a
LD
101522011-09-07 Ulrich Drepper <drepper@gmail.com>
10153
b49865be
UD
10154 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10155
fdc86bc9
UD
10156 * elf/dl-libc.c (dlerror_run): Pass back error code from
10157 dl_catch_error.
10158
c966526a
UD
10159 [BZ #13123]
10160 * elf/dl-load.c (lose): Free l_origin if it is valid.
10161
48882a1a
LD
10162 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10163 names.
10164 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10165 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10166 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10167 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10168 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10169 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10170
77a2a8b4
AZ
101712011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10172
10173 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10174 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10175 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10176 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10177 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10178 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10179 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10180 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10181 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10182 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10183
24f579d8
AM
101842011-08-15 Alan Modra <amodra@gmail.com>
10185
10186 [BZ #13092]
10187 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10188 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10189 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10190 ppc_mcount to static-only-routines.
10191 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10192 __mcount_internal.
10193 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10194 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10195
3d4837df
UD
101962011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10197
10198 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10199 for finite and infinity parameters.
10200
22700377
WS
102012011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10202
10203 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10204 and add nop instructions for throughput optimization.
10205 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10206
5025581e
WS
102072011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10208
10209 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10210 aligned copy for power7 with vector-scalar instructions.
10211 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10212
08a300c9
L
102132011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10214
10215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10216 AVX check.
10217
59178ef9
AS
102182011-09-07 Andreas Schwab <schwab@redhat.com>
10219
10220 [BZ #13144]
10221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10222 last change.
10223
e38ba7ab
UD
102242011-09-07 Ulrich Drepper <drepper@gmail.com>
10225
10226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10227 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10228 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10229 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10230 clock_gettime.
10231
d53a73ac
UD
102322011-09-06 Ulrich Drepper <drepper@gmail.com>
10233
fc8bffcc
UD
10234 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10235 Forgot to demangle the pointer.
10236
ceaa0c5d
UD
10237 * sysdeps/i386/sysdep.h: Define atom_text_section.
10238 * sysdeps/x86_64/sysdep.h: Likewise.
10239 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10240 section with atom_text_section.
10241 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10242 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10243 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10245 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10246
a77d3c17
UD
10247 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10249 already be defined. Change to take two parameters and don't assign
10250 result to variable. Adjust all users.
10251 Define INTERNAL_GETTIME if not already defined.
10252 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10253 call.
10254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10255 HAVE_CLOCK_GETTIME_VSYSCALL.
10256 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10257
d53a73ac
UD
10258 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10259 gettimeofday vsyscall, just use time.
10260
a8f84144
AS
102612011-09-06 Andreas Schwab <schwab@redhat.com>
10262
10263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10264 <errno.h>.
10265
ef606249
UD
102662011-09-06 Ulrich Drepper <drepper@gmail.com>
10267
10268 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10269 syscall on x86-64.
10270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10271 syscall.
10272 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10273 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10274 syscall if possible.
10275
6585cb60
UD
102762011-09-05 Ulrich Drepper <drepper@gmail.com>
10277
10278 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10279 e_ident. Don't pass to find_mapsXX.
10280 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10281
a5f524e4
LD
102822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10283
10284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10285 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10286 * sysdeps/x86_64/multiarch/strchr.S: Update.
10287 Check bit_slow_BSF bit.
10288 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10289 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10290 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10291
554881ef
UD
102922011-09-05 Ulrich Drepper <drepper@gmail.com>
10293
d96de963
UD
10294 [BZ #13134]
10295 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10296 before glibc 2.15.
10297 (tryshell): Define.
10298 (__spawni): Change last parameter to be flag. Test
10299 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10300 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10301 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10302 * posix/spawni.c: Likewise.
10303 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10304 * posix/spawnp.c: Likewise. Change normal version to use
10305 SPAWN_XFLAGS_USE_PATH.
10306 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10307 SPAWN_XFLAGS_TRY_SHELL.
10308
d48e5868
UD
10309 [BZ #13150]
10310 * posix/glob.h: Remove gcc 1.x support.
10311
554881ef
UD
10312 [BZ #13068]
10313 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10314
693fb948
LD
103152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10316
10317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10318 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10319 strrchr-sse2-bsf
10320 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10321 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10322 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10323 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10324 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10325 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10326
1b48c537
UD
103272011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10328
49d42c37
UD
10329 * sysdeps/x86_64/wcscmp.S: New file.
10330
1b48c537
UD
10331 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10332 wcscmp-c wcscmp-sse2
10333 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10334 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10335 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10336 * wcsmbs/wcscmp.c: Allow renaming.
10337
15c95c5d
DM
103382011-09-05 David S. Miller <davem@davemloft.net>
10339
10340 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10341 stack slot, rather than the struct return pointer slot.
10342 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10343 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10345 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10346
2f0ad8f3
UD
103472011-09-05 Ulrich Drepper <drepper@gmail.com>
10348
d88ae418
UD
10349 * po/ja.po: Update from translation team.
10350
2f0ad8f3
UD
10351 [BZ #13144]
10352 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10353 kernel in 64-bit binaries.
10354
5f4318d1
DM
103552011-09-01 David S. Miller <davem@davemloft.net>
10356
10357 * elf/elf.h (HWCAP_SPARC_*): Move to..
10358 * sysdeps/sparc/sysdep.h: this new file and add new values.
10359 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10360 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10361 _DL_HWCAP_COUNT to 24.
10362 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10363 entries.
10364 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10365 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10366 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10368 instead of magic constants.
10369 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10370
3ba57516
DM
103712011-08-31 David S. Miller <davem@davemloft.net>
10372
10373 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10375 Reimplement to do errno handling inline.
10376 (SYSCALL_ERROR_HANDLER): New macro.
10377 (__SYSCALL_STRING): Do not do errno handling in asm.
10378 (__CLONE_SYSCALL_STRING): Delete.
10379 (__INTERNAL_SYSCALL_STRING): Delete.
10380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10381 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10382 (PSEUDO): Reimplement to do errno handling inline.
10383 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10384 (SYSCALL_ERROR_HANDLER): New macro.
10385 (__SYSCALL_STRING): Do not do errno handling in asm.
10386 (__CLONE_SYSCALL_STRING): Delete.
10387 (__INTERNAL_SYSCALL_STRING): Delete.
10388 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10389 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10390 i386.
10391 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10392 (inline_syscall*): Add 'err' argument.
10393 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10394 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10395 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10396 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10397
10398 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10399 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10400
2bc17433
AS
104012011-08-30 Andreas Schwab <schwab@redhat.com>
10402
10403 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10404
fbeb5f4d
JO
104052011-08-29 Jiri Olsa <jolsa@redhat.com>
10406
10407 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10408 directive.
10409
ad69cc26
DM
104102011-08-24 David S. Miller <davem@davemloft.net>
10411
10412 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10413
39dd69df
AS
104142011-08-24 Andreas Schwab <schwab@redhat.com>
10415
10416 * elf/Makefile: Add rules to build and run unload8 test.
10417 * elf/unload8.c: New file.
10418 * elf/unload8mod1.c: New file.
10419 * elf/unload8mod1x.c: New file.
10420 * elf/unload8mod2.c: New file.
10421 * elf/unload8mod3.c: New file.
10422
10423 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10424 it wasn't used.
10425
2c0b250a
DM
104262011-08-23 David S. Miller <davem@davemloft.net>
10427
10428 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10429 subtract stack bias.
10430 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10431 %sp not %fp in calculations.
10432 (_JMPBUF_UNWINDS_ADJ): Likewise.
10433
22044b48
DM
10434 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10435 (aio_suspend): Call it to force an exception region around the
10436 AIO_MISC_WAIT() invocation.
10437
2cae4995
AS
104382011-08-23 Andreas Schwab <schwab@redhat.com>
10439
10440 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10441 backslash.
10442
873a772e
AJ
104432011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10444
10445 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10446 protection macro.
10447 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10448 and <dl-machine.h>.
10449 (Elf64_FuncDesc): Remove.
10450
25ad0df1
DM
104512011-08-22 David S. Miller <davem@davemloft.net>
10452
10453 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10454 sigaltstack check, add missing cfi directives.
10455 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10456 missing cfi directives, and sigaltstack handling.
10457
e888bcbe
AS
104582011-08-16 Andreas Schwab <schwab@redhat.com>
10459
10460 [BZ #11724]
10461 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10462 object is seen twice.
10463 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10464
10465 * elf/Makefile (distribute): Add tst-initorder2.c.
10466 (tests): Add tst-initorder2.
10467 (modules-names): Add tst-initorder2a tst-initorder2b
10468 tst-initorder2c tst-initorder2d. Add rules to build them.
10469 ($(objpfx)tst-initorder2.out): New rule.
10470 * elf/tst-initorder2.c: New file.
10471 * elf/tst-initorder2.exp: New file.
10472
87162f46
AS
104732011-08-22 Andreas Schwab <schwab@redhat.com>
10474
70538b7f
AS
10475 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10476
f55ffe58
AS
10477 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10478 dependencies back to end of function.
10479
87162f46
AS
10480 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10481 $(elfobjdir)/ld.so.
10482
91b392a4
UD
104832011-08-21 Ulrich Drepper <drepper@gmail.com>
10484
10485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10486 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10488 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10489 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10490 of __vdso_gettimeofday.
10491 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10492 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10493 attribute_hidden.
10494 (_libc_vdso_platform_setup): Remove initialization of
10495 __vdso_gettimeofday and __vdso_time.
10496
5c43483f
UD
104972011-08-20 Ulrich Drepper <drepper@gmail.com>
10498
775a77e7
UD
10499 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10500 and fgetc_unlocked.
10501 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10502 getc_unlocked.
89f447ed 10503
49c74ba9
UD
10504 * elf/dl-open.c (add_to_global): Report additions to the global scope
10505 for LD_DEBUG=scopes.
10506 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10507 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10508
5c43483f
UD
10509 [BZ #13114]
10510 * stdio-common/Makefile (tests): Add bug24.
10511 * stdio-common/bug24.c: New file.
10512
a101b025
AJ
105132011-08-19 Andreas Jaeger <aj@suse.de>
10514
10515 [BZ #13114]
10516 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10517 non-existant file when using close-on-exec mode.
10518
c88f1766
UD
105192011-08-20 Ulrich Drepper <drepper@gmail.com>
10520
0276a718
UD
10521 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10522 the very first instruction.
10523
c88f1766
UD
10524 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10525 the CFI state in the end.
10526 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10527 inclusion of dl-trampoline.h.
10528 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10529
51ccffa0
AS
105302011-08-19 Andreas Schwab <schwab@redhat.com>
10531
94d7165f
AS
10532 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10533 expectations for long double.
10534
51ccffa0
AS
10535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10536 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10537
fd708658 105382011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10539
10540 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10541 artificual limit depends upon the system page size.
10542
44f0a71e
UD
105432011-08-17 Ulrich Drepper <drepper@gmail.com>
10544
10545 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10546 * resolv/Makefile: Define CFLAGS-libresolv.
10547
8de79a24
AS
105482011-08-17 Andreas Schwab <schwab@redhat.com>
10549
10550 * nss/makedb.c (compute_tables): Make variables used in nested
10551 function static.
10552
27724598
UD
105532011-08-17 Ulrich Drepper <drepper@gmail.com>
10554
c5305d88
UD
10555 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10556 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10557 if buffer was too small.
10558
27724598
UD
10559 * elf/pldd.c (main): Attach to all threads in the process.
10560 Rewrite /proc handling to use *at functions.
10561
076fe015
UD
105622011-08-16 Ulrich Drepper <drepper@gmail.com>
10563
174baab3
UD
10564 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10565 specifies first scope to show.
10566 (dl_open_worker): Update callers. Move printing scope of new
10567 object to before the relocation.
44f0a71e 10568 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10569 * sysdeps/generic/ldsodefs.h: Update declaration.
10570
076fe015
UD
10571 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10572 string for the scope number.
10573
a60df2c3
UD
105742011-08-14 Ulrich Drepper <drepper@gmail.com>
10575
10576 * nscd/servicescache.c (cache_addserv): Make sure written is always
10577 initialized.
10578
5e4287d1
RM
105792011-08-14 Roland McGrath <roland@hack.frob.com>
10580
85ae0589
RM
10581 * sysdeps/i386/i486/bits/atomic.h
10582 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10583 statement expression, so as to suppress "set but not used" warning.
10584 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10585
69f63097
RM
10586 * string/strncat.c (STRNCAT): Use prototype definition.
10587
675456ef
RM
10588 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10589 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10590 -Iprograms here.
10591 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10592 (localedef-modules): Add localedef.
10593 (locale-modules): Add locale.
10594
5e4287d1
RM
10595 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10596 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10597 to avoid a warning.
10598
9c96ff23
DM
105992011-08-14 David S. Miller <davem@davemloft.net>
10600
10601 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10602 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10603
f9ddf089
UD
106042011-08-13 Ulrich Drepper <drepper@gmail.com>
10605
44f0a71e 10606 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10607 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10608 * elf/rtld.c (dl_main): Set l_name of vDSO.
10609 Call _dl_show_scope when DL_DEBUG_SCOPES.
10610 (process_dl_debug): Recognize scopes flag and also set it for all.
10611 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10612 Declare _dl_show_scope.
10613
1dc27704
UD
10614 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10615 (do_dlopen): Pass caller_dlopen to dl_open.
10616 (__libc_dlopen_mode): Initialize caller_dlopen.
10617
f9ddf089
UD
10618 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10619 of libc. Make tolower call locale-independent. Optimize a bit by
10620 using isdigit instead of isalnum.
10621 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10622
9ac533d3
UD
106232011-08-12 Ulrich Drepper <drepper@gmail.com>
10624
10625 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10626 was a dependency or dynamically loaded.
10627
89edf2e9
UD
106282011-08-11 Ulrich Drepper <drepper@gmail.com>
10629
8e999d29
UD
10630 * intl/l10nflist.c: Allow architecture-specific pop function.
10631 * sysdeps/x86_64/l10nflist.c: New file.
10632
89edf2e9
UD
10633 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10634 classification.
10635
14d96785
AS
106362011-08-10 Andreas Schwab <schwab@redhat.com>
10637
10638 * include/dirent.h: Add libc_hidden_proto for scandirat and
10639 scandirat64. Don't declare __scandirat64.
10640 * dirent/scandirat.c: Add libc_hidden_def.
10641 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10642 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10643
6761ac04
DM
106442011-08-10 David S. Miller <davem@davemloft.net>
10645
10646 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10647 enum.
10648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10651
c55fbd1e
UD
106522011-08-09 Ulrich Drepper <drepper@gmail.com>
10653
10654 * Versions.def [libc]: Add GLIBC_2.15.
10655 * dirent/Makefile (routines): Add scandirat and scandirat64.
10656 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10657 GLIBC_2.15.
10658 * dirent/dirent.h: Declare scandirat and scandirat64.
10659 * dirent/scandirat.c: New file.
10660 * dirent/scandirat64.c: New file.
10661 * sysdeps/wordsize-64/scandirat.c: New file.
10662 * sysdeps/wordsize-64/scandirat64.c: New file.
10663 * dirent/opendir.c: Define opendirat.
10664 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10665 using scandirat.
10666 * dirent/scandir64.c: Adjust for scandir.c change.
10667 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10668 __scandirat64, and __scandir_cancel_handler.
10669 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10670 additional parameter and use openat instead of open (outside of ld.so).
10671 Add new __opendir as wrapper around __opendirat.
10672 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10673 here without requiring old scandirat implementation.
10674
879165f2
UD
106752011-08-08 Ulrich Drepper <drepper@gmail.com>
10676
10677 * dirent/scandir.c (cancel_handler): Renamed to
10678 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10679 defined. Adjust users.
10680 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10681 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10682
cb7e923b
UD
106832011-08-04 Ulrich Drepper <drepper@gmail.com>
10684
16292edd
UD
10685 * string/test-string.h (IMPL): Use __STRING to expand name and then
10686 stringify it.
10687
cb7e923b
UD
10688 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10689 of cleanups.
10690
cff82933
LD
106912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10692
10693 * string/Makefile: Update.
10694 (strop-tests): Append strncat.
10695 * string/test-wcscmp.c: New file.
10696 New comprehensive test for wcscmp.
10697 * string/test-strcmp.c: Update.
10698 (WIDE): New define.
10699
9be9bfcc
AS
107002011-07-22 Andreas Schwab <schwab@redhat.com>
10701
10702 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10703 line.
10704
2e96f1c7
AS
107052011-07-26 Andreas Schwab <schwab@redhat.com>
10706
10707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10708 encoding to ACE if AI_IDN.
10709
85188888
JJ
107102011-08-01 Jakub Jelinek <jakub@redhat.com>
10711
10712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10713 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10714
5fa16e9b
LD
107152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10716
10717 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10718 Fix overflow bug in strncat.
10719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10720
10721 * string/test-strncat.c: Update.
10722 Add new tests for checking overflow bugs.
10723
107242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10725
10726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10727 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10728 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10729 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10730 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10731 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10732 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10733 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10734 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10735
10736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10737 (USE_AS_STRCAT): Define.
10738 Add strcat and strncat support.
10739 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10740
8c1a459f
AS
107412011-07-25 Andreas Schwab <schwab@redhat.com>
10742
10743 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10744 __n bigger than INT_MAX+1.
10745 (__strncmp_g): Likewise.
10746
bba33c28
UD
107472011-07-23 Ulrich Drepper <drepper@gmail.com>
10748
798be72d
UD
10749 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10750 * libio/stido.h: Likewise.
10751
8accd4dc
UD
10752 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10753 (AF_NFC): Define.
10754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10755 (AF_NFC): Define.
10756
cbff0d96
UD
10757 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10758 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10759 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10760 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10762
9191c04a
UD
10763 [BZ #13021]
10764 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10765 installed.
10766
bba33c28
UD
10767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10768 typo.
10769 (_dl_x86_64_save_sse): Likewise.
10770
90f139dd
UD
107712011-07-22 Ulrich Drepper <drepper@gmail.com>
10772
1aae088a
UD
10773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10774 OSXSAVE.
10775 (_dl_x86_64_save_sse): Likewise.
10776
8e2045f5
UD
10777 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10778
90f139dd
UD
10779 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10780
1d002f25
AS
107812011-07-21 Andreas Schwab <schwab@redhat.com>
10782
10783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10784 change.
10785 (_dl_x86_64_save_sse): Use correct AVX check.
10786
21137f89
UD
107872011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10788
10789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10790 bug in strncpy/strncat.
10791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10792
a65c0b7a
UD
107932011-07-21 Ulrich Drepper <drepper@gmail.com>
10794
10795 * string/tester.c (test_strcat): Add tests for different alignments
10796 of source and destination.
10797 (test_strncat): Likewise.
10798
6986b98a
UD
107992011-07-20 Ulrich Drepper <drepper@gmail.com>
10800
90bb2039
UD
10801 [BZ #12852]
10802 * posix/glob.c (glob): Check passed in values before using them in
10803 expressions to avoid some overflows.
10804 (glob_in_dir): Likewise.
10805
5644ef54
UD
10806 [BZ #13007]
10807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10808 check for AVX enablement so that we don't crash with old kernels and
10809 new hardware.
10810 * elf/tst-audit4.c: Add same checks here.
10811 * elf/tst-audit6.c: Likewise.
10812
10813 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10814
bfc9dc9b
AS
108152011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10816
10817 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10818
702e64bb
UD
108192011-07-20 Ulrich Drepper <drepper@gmail.com>
10820
10821 * po/cs.po: Update from translation team.
10822 * po/bg.po: Likewise.
10823
295e904f
MP
108242011-07-12 Marek Polacek <mpolacek@redhat.com>
10825
10826 * misc/sys/cdefs.h: Add support for const attribute.
10827 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10828 to gnu_dev_{major,minor,makedev} functions.
10829
3ff94596
MP
108302011-07-20 Marek Polacek <mpolacek@redhat.com>
10831
10832 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10833
28b59fca
AS
108342011-07-20 Andreas Schwab <schwab@redhat.com>
10835
10836 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10837 strlen results.
10838
19df733e
AK
108392011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10840
10841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10842 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10843 register in order to avoid conflicts with the soft frame pointer
10844 being held in r11 when necessary.
10845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10846 (INTERNAL_VSYSCALL_NCS): Likewise.
10847
c8835729
MP
108482011-07-14 Marek Polacek <mpolacek@redhat.com>
10849
10850 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10851 * elf/dl-fini.c (_dl_fini): Adjust caller.
10852 * elf/dl-close.c (_dl_close_worker): Likewise.
10853 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10854
b902330c
MP
108552011-07-15 Marek Polacek <mpolacek@redhat.com>
10856
8991e135
MP
10857 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10858 "aux_cache->nlibs < 0".
10859
b902330c
MP
10860 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10861 in the reload-count case.
10862
99710781
LD
108632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10864
10865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10866 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10867 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10868 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10869 * sysdeps/x86_64/multiarch/strcat.S: New file.
10870 * sysdeps/x86_64/multiarch/strncat.S: New file.
10871 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10872 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10873 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10874 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10875 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10876 (USE_AS_STRCAT): Define.
10877 Add strcat and strncat support.
10878 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10879 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10880 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10881 * string/strncat.c: Update.
10882 (USE_AS_STRNCAT): Define.
10883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10884 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10885 and i7.
10886 * sysdeps/x86_64/multiarch/init-arch.h
10887 (bit_Prefer_PMINUB_for_stringop): New.
10888 (index_Prefer_PMINUB_for_stringop): Likewise.
10889 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10890 bit_Prefer_PMINUB_for_stringop.
10891
7dc6bd90
UD
108922011-07-19 Ulrich Drepper <drepper@gmail.com>
10893
10894 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10895 buffer64.
10896 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10897 of casting of buffer.
10898 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10899 buffer32 and buffer64.
10900 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10901 writes instead of casting of buffer.
10902 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10903 buffer32.
10904 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10905 casting of buffer.
10906
e0e72284
AS
109072011-07-19 Andreas Schwab <schwab@redhat.com>
10908
10909 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10910
feb1eb0b
UD
109112011-07-19 Ulrich Drepper <drepper@gmail.com>
10912
10913 * nscd/nscd.c (termination_handler): Don't do anything for a database
10914 if it has not yet been initialized.
10915
298711ff
UD
109162011-07-18 Ulrich Drepper <drepper@gmail.com>
10917
10918 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10919
109202011-07-15 Marek Polacek <mpolacek@redhat.com>
10921
10922 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10923
f9d68389
UD
109242011-07-18 Ulrich Drepper <drepper@gmail.com>
10925
10926 * po/nl.po: Update from translation team.
10927 * po/sv.po: Likewise.
10928
db290cf5
RM
109292011-07-16 Roland McGrath <roland@hack.frob.com>
10930
10931 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10932 now disallowed by GCC.
5c550700 10933
fd5e21c7
RM
10934 * configure.in (use-default-link): Default to yes if a test -shared
10935 link meets our qualifications.
10936 * configure: Regenerated.
10937
5c550700
RM
10938 * config.make.in (output-format): New variable.
10939 * configure.in: Check for ld --print-output-format support.
10940 * configure: Regenerated.
10941 * Makerules ($(common-objpfx)format.lds)
10942 [$(output-format) != unknown]: Just use $(output-format),
10943 instead of the linker-script munging.
10944
9fa2c032
RM
109452011-07-14 Roland McGrath <roland@hack.frob.com>
10946
a6928d51
RM
10947 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10948 of $(common-objpfx)shlib.lds.
10949 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10950
661607b3
RM
10951 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10952 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10953
9fa2c032
RM
10954 * configure.in (-z relro check): Adjust test code to add a large
10955 writable data section after it.
10956 * configure: Regenerated.
10957
defe9061
RM
109582011-07-11 Roland McGrath <roland@hack.frob.com>
10959
10960 * configure.in (-z relro check): Fix test code to make the variable
10961 truly const.
10962 * configure: Regenerated.
10963
319b9ad4
UD
109642011-07-11 Ulrich Drepper <drepper@gmail.com>
10965
10966 * nscd/nscd.h (struct traced_file): Define.
10967 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10968 elements. Add traced_files.
10969 (inotify_fd): Declare.
10970 (register_traced_file): Declare.
10971 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10972 (inotify_fd): Export.
10973 (resolv_conf_descr): Remove.
10974 (nscd_init): Move inotify descriptor creation to main.
10975 Don't register files for notification here.
10976 (register_traced_file): New function.
10977 (invalidate_cache): Don't use reset_res to determine whether to call
10978 res_init, go through the list of registered files.
10979 (main_loop_poll): The inotify descriptors are now stored in the
10980 structures for the traced files.
10981 (main_loop_epoll): Likewise
10982 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10983 to __nss_disable_nscd.
10984 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10985 for a database anymore. Check the records for all the registered
10986 files instead.
10987 * nss/Makefile (libnss_files-routines): Add files-init.
10988 (libnss_db-routines): Add db-init.
10989 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10990 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10991 * nss/nss_db/db-init.c: New file.
10992 * nss/nss_files/files-init.c: New file.
10993 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10994 __nss_lookup_function.
10995 (__nss_lookup_function): Call nss_load_library.
10996 (nss_load_all_libraries): New function.
10997 (__nss_disable_nscd): Take parameter with callback function for files
10998 to register. Set is_nscd. Load all the DSOs for the NSS modules
10999 used for the cached services.
11000 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11001 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11002 options for features to all the files in nscd.
11003
11004 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11005
23bee3e8
RM
110062011-07-10 Roland McGrath <roland@hack.frob.com>
11007
11008 * csu/elf-init.c (__libc_csu_init): Comment typo.
11009
46a5b7f0
UD
110102011-07-09 Ulrich Drepper <drepper@gmail.com>
11011
11012 * po/pl.po: Update from translation team.
11013 * po/ja.po: Likewise.
11014 * po/ru.po: Likewise.
11015 * po/ko.po: Likewise.
11016 * po/fr.po: Likewise.
11017
d30cf5bb
RM
110182011-07-09 Roland McGrath <roland@hack.frob.com>
11019
113ddea4
RM
11020 * configure.in (.ctors/.dtors header and trailer check):
11021 Use an empirical test on a built program.
11022 * configure: Regenerated.
11023
574920b4
RM
11024 * configure.in (-z relro check): Use an empirical test on a built DSO.
11025 Detect, but do not require, on ia64.
11026 * configure: Regenerated.
11027
d30cf5bb
RM
11028 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11029 Update tests that use readelf to use $READELF instead.
11030 * configure: Regenerated.
11031
8538fdb3
UD
110322011-07-08 Ulrich Drepper <drepper@gmail.com>
11033
11034 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11035 if the result is not used.
11036
04d08991
AJ
110372011-07-05 Andreas Jaeger <aj@suse.de>
11038
11039 [BZ#9696]
11040 * stdlib/tst-strtod.c: Add testcase.
11041
de283087
AD
110422011-07-07 Ulrich Drepper <drepper@gmail.com>
11043
4e5f31c8 11044 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11045 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11046 The latter has a higher limit. Take additional parameter to pass to
11047 the new function.
11048 (__pathconf): Pass file to __statfs_link_max.
11049 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11050 __statfs_link_max.
11051 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11052 __statfs_link_max.
11053
de283087
AD
11054 [BZ #12868]
11055 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11056 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11057 Handle Lustre.
11058 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11059 (__statfs_filesize_max): Likewise.
11060 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11061
c75fa153
AJ
110622011-07-05 Andreas Jaeger <aj@suse.de>
11063
11064 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11065
1a544854
UD
110662011-07-06 Marek Polacek <mpolacek@redhat.com>
11067
11068 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11069 `status' variable.
11070 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11071 Likewise.
11072
6f0eec67
UD
110732011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11074
11075 * Makefile (strop-tests): Add strncat.
11076 * string/test-strncat.c: New file.
11077
aae30307
UD
110782011-06-30 Marek Polacek <mpolacek@redhat.com>
11079
11080 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11081
c0cfb5eb
UD
110822011-06-21 Andreas Jaeger <aj@suse.de>
11083
11084 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11085 Copy rule from iconvdata/Makefile.
11086
01636b21
UD
110872011-07-06 Ulrich Drepper <drepper@gmail.com>
11088
11089 [BZ #12922]
11090 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11091 but no long options are defined, just return 'W'.
11092
9895c8bc
UD
110932011-06-22 Marek Polacek <mpolacek@redhat.com>
11094
11095 [BZ #9696]
11096 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11097
5d4cf042
UD
110982011-07-06 Ulrich Drepper <drepper@gmail.com>
11099
11100 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11101 netgroups to read.
960e5535 11102 (innetgr): Likewise.
5d4cf042 11103
751eb97e
RM
111042011-07-05 Roland McGrath <roland@hack.frob.com>
11105
11106 * config.make.in (install_root): Default to $(DESTDIR).
11107
f15f1e45
UD
111082011-07-05 Ulrich Drepper <drepper@gmail.com>
11109
11110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11111
4e34ac6a
RM
111122011-07-02 Roland McGrath <roland@hack.frob.com>
11113
5e9b6af4
RM
11114 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11115
84f9ea0f
RM
11116 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11117 containing directory rather than embedding absolute directory names.
11118
ea5ee9f7
RM
11119 * scripts/check-local-headers.sh: Rewritten using awk.
11120 Match by word, not by line. Print error messages for matches.
11121 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11122
1b74661a
RM
11123 * Makerules [shlib-lds-flags empty]:
11124 ($(common-objpfx)libc_pic.opts): New target.
11125 ($(common-objpfx)libc_pic.os.clean): New target.
11126 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11127
11128 * config.make.in (OBJCOPY): New variable.
11129 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11130 * configure: Regenerated.
11131
f781ef40
RM
11132 * config.make.in (use-default-link): New variable.
11133 * configure.in (use_default_link): Grok --with-default-link to set it.
11134 * configure: Regenerated.
11135 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11136 (shlib-lds, shlib-lds-flags): Define to empty.
11137
2d4fa81e
RM
11138 * Makerules (shlib-lds): New variable.
11139 (shlib-lds-flags): New variable.
11140 (build-shlib, build-moduile, build-module-asneeded): Use it.
11141 ($(common-objpfx)libc.so): Use $(shlib-lds).
11142 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11143 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11144
31fffa6b
RM
11145 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11146 DT_FLAGS/DT_FLAGS_1 with zero flags.
11147
4e34ac6a
RM
11148 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11149 linker script munging.
11150
fcfc776b
UD
111512011-07-02 Ulrich Drepper <drepper@gmail.com>
11152
11153 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11154 as 128-bit value.
11155 * crypt/sha512.c (sha512_process_block): Perform total addition using
11156 128-bit if possible.
11157 (__sha512_finish_ctx): Likewise.
11158 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11159 as 64-bit value.
11160 * crypt/sha256.c (SWAP64): Define.
11161 (sha256_process_block): Perform total addition using 64-bit if
11162 possible.
11163 (__sha256_finish_ctx): Likewise.
11164
99231d9a
UD
111652011-07-01 Ulrich Drepper <drepper@gmail.com>
11166
11167 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11168 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11169 * nscd/hstcache.c (cache_addhst): Likewise.
11170 * nscd/grpcache.c (cache_addgr): Likewise.
11171 * nscd/aicache.c (addhstaiX): Likewise
11172 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11173
445b4a53
TK
111742011-07-01 Thorsten Kukuk <kukuk@suse.de>
11175
11176 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11177 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11178 * nscd/hstcache.c (cache_addhst): Likewise.
11179 * nscd/grpcache.c (cache_addgr): Likewise.
11180 * nscd/aicache.c (addhstaiX): Likewise
11181
6d4d8e8e
AS
111822011-07-01 Andreas Schwab <schwab@redhat.com>
11183
11184 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11185 domain only when needed.
11186
89f654c5
AS
111872011-06-30 Andreas Schwab <schwab@redhat.com>
11188
11189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11190 is always restored.
11191
cf3b23ff
UD
111922011-06-29 Ulrich Drepper <drepper@gmail.com>
11193
11194 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11195 are re-adding the entry.
11196 * nscd/servicescache.c (cache_addserv): Likewise.
11197
751626f9
AJ
111982011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11199
11200 * sysdeps/generic/dl-irel.h: fix protection against multiple
11201 inclusions.
11202 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11203
9113ea1f
UD
112042011-06-28 Ulrich Drepper <drepper@gmail.com>
11205
5c0b8d90
UD
11206 [BZ #12935]
11207 * malloc/memusage.sh: Fix quoting in message.
11208 * debug/xtrace.sh: Likewise.
11209
9113ea1f
UD
11210 * configure.in: Remove support for --experimental-malloc option, make
11211 it the default.
11212 * config.make.in: Likewise.
11213 * malloc/Makefile: Likewise.
11214
a4172181
AS
112152011-06-27 Andreas Schwab <schwab@redhat.com>
11216
11217 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11218 two-byte characters.
11219
78a7eee7
RM
112202011-06-27 Roland McGrath <roland@hack.frob.com>
11221
62bede13
RM
11222 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11223 AC_CACHE_CHECK invocation.
11224 * configure: Regenerated.
11225
78a7eee7
RM
11226 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11227
5ce33a62
UD
112282011-06-27 Ulrich Drepper <drepper@gmail.com>
11229
034807a9
UD
11230 [BZ #12350]
11231 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11232 bit from old_res_options.
11233
4902da17
UD
11234 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11235
5ce33a62
UD
11236 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11237 value type for setfct.
11238
c2344f56
L
112392011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11240
11241 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11242 __gettimeofday instead of gettimeofday.
11243
68468076
UD
112442011-06-26 Ulrich Drepper <drepper@gmail.com>
11245
11246 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11247
acb0d739
L
112482011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11249
11250 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11251
11252 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11253 info.
11254
8912479f
L
112552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11256
11257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11258 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11259 strcpy-sse2-unaligned strncpy-sse2-unaligned
11260 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11261 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11262 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11263 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11264 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11266 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11267 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11268 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11269 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11270 (STRCPY): Support SSE2 and SSSE3 versions.
11271
d5495a11
UD
112722011-06-24 Ulrich Drepper <drepper@gmail.com>
11273
11274 [BZ #12874]
11275 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11276 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11277 kernels which artificially limit size of requests.
11278
0b1cbaae
L
112792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11280
11281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11282 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11283 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11284 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11285 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11286 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11287 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11288 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11290 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11291 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11292 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11293 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11294 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11295 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11297 Enable unaligned load optimization for Intel Core i3, i5 and i7
11298 processors.
11299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11300 Define.
11301 (index_Fast_Unaligned_Load): Define.
11302 (HAS_FAST_UNALIGNED_LOAD): Define.
11303
07f494a0
MP
113042011-06-23 Marek Polacek <mpolacek@redhat.com>
11305
11306 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11307
fa3fc0fe
UD
113082011-06-22 Ulrich Drepper <drepper@gmail.com>
11309
11310 [BZ #12907]
11311 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11312 until it is clear that the information is realy needed.
11313 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11314
e12df166
AS
113152011-06-22 Andreas Schwab <schwab@redhat.com>
11316
11317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11318
852eb34d
UD
113192011-06-22 Ulrich Drepper <drepper@gmail.com>
11320
84e2a551
UD
11321 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11322 /sys/devices/system/cpu/online if it is usable.
11323
852eb34d
UD
11324 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11325 reading the information from the /proc filesystem to once a second.
11326
6e502e19
UD
113272011-06-21 Andreas Jaeger <aj@suse.de>
11328
11329 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11330 NULL after inclusion of kernel headers.
11331
75d39ff2
UD
113322011-06-21 Ulrich Drepper <drepper@gmail.com>
11333
51f9aa6a
UD
11334 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11335 calls to internal_setent.
11336
c0244a9d
UD
11337 [BZ #12885]
11338 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11339 addresses using gethostbyname4_r ignore IPv4 addresses.
11340
c5e3c2ae
UD
11341 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11342 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11343
75d39ff2
UD
11344 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11345
42675c6f
DM
113462011-06-20 David S. Miller <davem@davemloft.net>
11347
11348 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11349 inclusions.
11350 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11351
11352 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11353 (elf_irel): Use it.
11354 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11355 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11356 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11357 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11358 * sysdeps/x86_64/dl-irel.h: Likewise.
11359
11360 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11361 * elf/dl-sym.c: Likewise.
11362
57912a71
UD
113632011-06-15 Ulrich Drepper <drepper@gmail.com>
11364
11365 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11366 need to dereference resplen2.
11367
ee22793d
AS
113682011-06-14 Andreas Schwab <schwab@redhat.com>
11369
11370 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11371
a9e836b0
UD
113722011-06-15 Ulrich Drepper <drepper@gmail.com>
11373
77fb9117
UD
11374 * Makeconfig: Define vardbdir and inst_vardbdir.
11375 * nss/Makefile: Add rules to install db-Makefile.
11376
40c1b22c
UD
11377 * nss/nss_db/db-XXX.c: Cleanup.
11378
9f2da732
UD
11379 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11380 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11381 GLIBC_PRIVATE.
11382 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11383 * nss/makedb.c: Implement -g option to specify that value strings
11384 are generated and should not be added to table iterated over for
11385 get*ent calls.
11386 * nss/nss_db/db-initgroups.c: New file.
11387
82e9a1f7
UD
11388 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11389 interface.
11390
c41af17e
UD
11391 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11392 (internal_getgrouplist): Adjust to name change.
11393 Update use_initgroups_entry if this is not the first call.
11394 * nss/databases.def: Add initgroups entry.
11395
a9e836b0
UD
11396 * nss/makedb.c (compute_tables): Check result of multiple hash table
11397 sizes to minimize maximum chain length.
11398
2666d441
UD
113992011-06-14 Ulrich Drepper <drepper@gmail.com>
11400
11401 * Versions.def: Add entry for libnss_db.
11402 * shlib-versions: Likewise.
11403 * nss/Makefile: Add rules to build libnss_db.
11404 * nss/Versions: Add libnss_db information. Organize libnss_files
11405 entries better.
11406 * nss/db-Makefile: Add gshadow support. Change rules for the new
11407 makedb progra. Some minor improvements to generate smaller files.
11408 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11409 here from...
11410 * nss/makedb.c: ...here.
11411 Improve database format to be smaller and require less memory at
11412 runtime.
11413 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11414 db anymore.
11415 * nss/nss_db/db-netgrp.c: Likewise.
11416 * nss/nss_db/db-open.c: Likewise.
11417 * nss/nss_files/flies-XXX.x: Adjust comments.
11418 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11419 * nss/nss_files/files-grp.c: Likewise.
11420 * nss/nss_files/files-hosts.c: Likewise.
11421 * nss/nss_files/files-network.c: Likewise.
11422 * nss/nss_files/files-proto.c: Likewise.
11423 * nss/nss_files/files-pwd.c: Likewise.
11424 * nss/nss_files/files-rpc.c: Likewise.
11425 * nss/nss_files/files-service.c: Likewise.
11426 * nss/nss_files/files-sgrp.c: Likewise.
11427 * nss/nss_files/files-spwd.c: Likewise.
11428 * nss/nss_db/db-alias.c: Removed.
11429 * nss/nss_db/dummy-db.h: Removed.
11430
9ee76b5a
UD
114312011-06-02 Ulrich Drepper <drepper@gmail.com>
11432
11433 * nss/makedb.c: Rewritten to not use database library.
11434 * nss/Makefile: Update to build new makedb program.
11435
c71ca1f8
AJ
114362011-06-14 Andreas Jaeger <aj@suse.de>
11437
11438 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11439 memset declaration.
11440
3154bfb8
UD
114412011-06-10 Andreas Schwab <schwab@redhat.com>
11442
11443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11444 tmpbuf.
11445
b350afab
RM
114462011-06-10 Roland McGrath <roland@hack.frob.com>
11447
decd4e50
RM
11448 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11449 * elf/Makefile ($(objpfx)ld.so): Likewise.
11450
5615eaf2
RM
11451 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11452 Don't list ld.so twice in dependencies.
11453
11454 * posix/bug-regex31.c: Include <stdlib.h>.
11455
11456 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11457
11458 * nis/nss_compat/compat-spwd.c
11459 (getspent_next_nss_netgr): Remove unused variable.
11460 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11461
11462 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11463 nonmembers" output to use the right array.
11464
11465 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11466
11467 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11468
11469 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11470 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11471 * catgets/gencat.c (read_input_file): Likewise.
11472 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11473
11474 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11475 variable definition inside #if's controlling its use.
11476
11477 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11478
11479 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11480
11481 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11482
11483 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11484 unreachable code.
11485
11486 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11487
b68e08db
RM
11488 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11489 * configure: Regenerated.
11490
b350afab
RM
11491 * Makerules: Revert last change.
11492 * elf/Makefile: Likewise.
11493
28368601
RM
114942011-06-09 Roland McGrath <roland@hack.frob.com>
11495
11496 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11497 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11498 (reloc-link): Likewise.
11499
11988f8f
UD
115002011-06-09 Ulrich Drepper <drepper@gmail.com>
11501
11502 * elf/Makefile: Add rules to build pldd.
11503 * elf/pldd.c: New file.
11504 * elf/pldd-xx.c: New file.
11505
e80fab37
UD
115062011-06-07 Ulrich Drepper <drepper@gmail.com>
11507
11508 * version.h: Update for 2.15 development version.
11509
9b849836
DM
115102011-06-07 David S. Miller <davem@davemloft.net>
11511
11512 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11513 ifuncs.
11514 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11515 elf_machine_lazy_rel): Likewise.
11516 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11518 elf_machine_lazy_rel): Likewise.
11519 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11520 dl_hwcap via passed in argument.
11521 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11522 Likewise.
11523
5a31b283
AK
115242011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11525
11526 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11527
069e52f8
RM
115282011-06-06 Roland McGrath <roland@hack.frob.com>
11529
11530 [BZ #12849]
11531 * manual/fdl-1.1.texi: New file, verbatim from:
11532 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11533 * manual/lgpl-2.1.texi: New file, verbatim from:
11534 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11535 * manual/Makefile (licenses): New variable, list those new file names.
11536 (texis): Use it.
11537 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11538
11539 * manual/fdl.texi: File removed.
11540 * manual/lesser.texi: File removed.
11541 * manual/libc.texinfo (Copying, Documentation License):
11542 Use new @include file names, put @appendix directive before @include.
11543
f16846a5
JJ
115442011-06-04 Jakub Jelinek <jakub@redhat.com>
11545
11546 [BZ #12841]
11547 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11548 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11549 (mq_open): Add __NTH.
11550
3d29045b
L
115512011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11552
11553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11554 Assume Intel Core i3/i5/i7 processor if AVX is available.
11555
8c297311
UD
115562011-05-31 Ulrich Drepper <drepper@gmail.com>
11557
11558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11559 typo.
11560
c8fc0c91
UD
115612011-05-31 Andreas Schwab <schwab@redhat.com>
11562
11563 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11564 memory. Use alloca_account. Fix memory leak when retrying.
11565
5b27a807
UD
115662011-05-31 Ulrich Drepper <drepper@gmail.com>
11567
356f8bc6
UD
11568 * version.h (RELEASE): Bump for 2.14 release.
11569 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11570
5b27a807
UD
11571 * config.make.in (RANLIB): Remove entry.
11572
01f16ab0
UD
115732011-05-30 Ulrich Drepper <drepper@gmail.com>
11574
41fce8bd
UD
11575 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11576 (libc.pot): Work around missing support for .ksh extension in xgettext.
11577
4769ae77
UD
11578 [BZ #12684]
11579 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11580 if both request failed.
11581 (send_dg): In case of server errors clear resplen or *resplen2.
11582
6b1e7d19
UD
11583 [BZ #12454]
11584 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11585 when there are multiple maps.
11586 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11587 (_dl_fini): Remove test here.
11588
01f16ab0
UD
11589 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11590
b1ebd700
UD
115912011-05-29 Ulrich Drepper <drepper@gmail.com>
11592
7ae22829
UD
11593 [BZ #12350]
11594 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11595 bit from old_res_options.
11596 (gaih_inet): Likewise.
11597
553149f6 11598 [BZ #11099]
18a84741 11599 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11600 as signed.
11601
652ffab1
UD
11602 * resolv/res_init.c (res_setoptions): Make the code more compact.
11603
16985fd0
UD
11604 [BZ #11558]
11605 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11606 set RES_USEVC.
11607
0464f746
UD
11608 [BZ #11634]
11609 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11610
7d17596c
UD
11611 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11612
cf6bbbd7
UD
11613 [BZ #11781]
11614 * malloc/malloc.h: Declare malloc hook variables as volatile.
11615
13f1ab36
UD
11616 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11617 in last patch.
11618
b1ebd700
UD
11619 [BZ #11799]
11620 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11621 raise in the comment.
80e2212d
UD
11622 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11624 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11625
ce67228d
UD
116262011-05-28 Ulrich Drepper <drepper@gmail.com>
11627
8887a920
UD
11628 [BZ #12811]
11629 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11630 grow the buffers more if it already has to be sufficient.
11631 (build_wcs_upper_buffer): Likewise.
11632 * posix/regexec.c (check_matching): Likewise.
11633 (clean_state_log_if_needed): Likewise.
11634 (extend_buffers): Don't enlarge buffers beyond size of the input
11635 buffer.
11636 Patches mostly by Emil Wojak <emil@wojak.eu>.
11637 * posix/bug-regex32.c: New file.
11638 * posix/Makefile (tests): Add bug-regex32.
11639
4f031072
UD
11640 * locale/findlocale.c (_nl_find_locale): Return right away if
11641 _nl_explode_name failed.
11642 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11643
d0478f0c
UD
11644 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11645
de81b246
UD
11646 * debug/xtrace.sh: Unify messages.
11647 * malloc/memusage.sh: Likewise.
11648
c738465a
UD
11649 [BZ #12813]
11650 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11651 time symbol from vDSO. Substitute with vsyscall if not available.
11652 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11653 __vdso_time.
11654
f1f929d7
UD
11655 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11656 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11657 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11658 Add sendmmsg and internal_sendmmsg.
11659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11660 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11661 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11662
ce67228d
UD
11663 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11664 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11665 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11666
e57420c6
UD
116672011-05-27 Ulrich Drepper <drepper@gmail.com>
11668
a8509ca5
UD
11669 [BZ #12813]
11670 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11671 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11672 available.
11673 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11674 __vdso_getcpu.
11675
e57420c6
UD
11676 [BZ #12814]
11677 * iconvdata/Makefile (tests): Add bug-iconv9.
11678 * iconvdata/bug-iconv9.c: New file.
11679
4d07db15
AS
116802011-05-27 Andreas Schwab <schwab@redhat.com>
11681
11682 [BZ #12814]
11683 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11684
ea486f69
JJ
116852011-05-25 Jakub Jelinek <jakub@redhat.com>
11686
11687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11688 (struct user_regs_struct): Change intcs field back to cs.
11689
6f038433
UD
116902011-05-25 Ulrich Drepper <drepper@gmail.com>
11691
11692 * po/ja.po: Update from translation team.
11693
67f86a25
UD
116942011-05-23 Ulrich Drepper <drepper@gmail.com>
11695
11696 [BZ #12795]
11697 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11698 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11699
def7fbd6
AS
117002011-05-20 Andreas Schwab <schwab@redhat.com>
11701
11702 * stdlib/longlong.h: Update from GCC.
11703
f50ef8f1
AS
117042011-05-23 Andreas Schwab <schwab@redhat.com>
11705
11706 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11707 parameter name.
11708 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11709 Add parameter name.
11710 (__sysconf): Pass it down.
11711
de7ce8f1
UD
117122011-05-22 Ulrich Drepper <drepper@gmail.com>
11713
f2962a71
UD
11714 [BZ #12671]
11715 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11716 some situations.
11717 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11718 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11719 add in in __libc_use_alloca calls. Adjust callers.
11720 (glob): Use malloc in some situations.
11721
de7ce8f1
UD
11722 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11723 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11724 pltexit.
11725
aec84f53
UD
117262011-05-21 Ulrich Drepper <drepper@gmail.com>
11727
05bb4a68
UD
11728 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11729 and CLOCK_BOOTTIME_ALARM.
11730
7ea72f99
UD
11731 [BZ #12782]
11732 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11733 is returned.
11734
7e4afad5
UD
11735 * string/_strerror.c (__strerror_r): Print negative errors as signed
11736 numbers.
11737
8e211fec
UD
11738 [BZ #12777]
11739 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11740 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11741 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11742
f7d82dc9
UD
11743 * configure.in: Fix typo in redirection and correct removal of test
11744 files in two cases.
11745
cc9e536d
UD
11746 [BZ #12788]
11747 * locale/setlocale.c (new_composite_name): Fix test to check for
11748 identical name of all categories.
11749
aec84f53
UD
11750 [BZ #12792]
11751 * libio/filedoalloc.c (local_isatty): New function.
11752 (_IO_file_doallocate): Use local_isatty.
11753 * stdio-common/perror.c (perror): In case a new stream is used
11754 forward the stream error.
11755 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11756 error flag.
11757
78e64fdc
RT
117582011-05-20 Ulrich Drepper <drepper@gmail.com>
11759
34a9094f
UD
11760 [BZ #11869]
11761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11762 alloca.
11763 * include/alloca.h (extend_alloca_account): Define.
11764
78e64fdc
RT
11765 [BZ #11857]
11766 * posix/regex.h: Fix comments with documentation of user-accessible
11767 fields after compilation and describe correct free'ing of pattern
11768 after re_compile_pattern.
11769 Patch by Reuben Thomas <rrt@sc3d.org>.
11770
457bddfc
RA
117712011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11772
11773 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11774 and -mno-altivec to prevent the compiler from using Altivec and/or
11775 VSX instructions when the corresponding registers are not available.
11776
a4527b51
AS
117772011-05-19 Andreas Schwab <schwab@redhat.com>
11778
11779 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11780
ed690b2f
UD
117812011-05-19 Ulrich Drepper <drepper@gmail.com>
11782
11783 * libio/freopen.c (freopen): Use __dup2, not dup2.
11784 * libio/freopen64.c (freopen64): Likewise.
11785
8db73634
L
117862011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11787
11788 [BZ #12775]
11789 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11790 * math/Makefile (tests): Add test-powl.
11791 (CFLAGS-test-powl.c): Define.
11792 * math/test-powl.c: New file.
11793
0a197a9d
L
117942011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11797
ee30c380
UD
117982011-05-17 Ulrich Drepper <drepper@gmail.com>
11799
11800 [BZ #11837]
11801 * iconvdata/gb18030.c: Update to GB18020-2005.
11802
6ce75379
UD
118032011-05-16 Ulrich Drepper <drepper@gmail.com>
11804
a4b89fd8
AR
11805 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11806 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11807 Patch by Aharon Robbins <arnold@skeeve.com>.
11808
ea389b12
UD
11809 [BZ #11892]
11810 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11811 on the stack.
11812
68a3f91f
UD
11813 [BZ #11895]
11814 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11815 through underflows.
11816
15cc7dd1
UD
11817 [BZ #12766]
11818 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11819 point to strings before performing equality test for error_one_per_line
11820 mode.
11821
f3799213
UD
11822 [BZ #11697]
11823 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11824
d79a9c94
UD
11825 [BZ #11820]
11826 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11827 (struct user_fpregs_struct): Avoid __uint*_t types.
11828
56e5eb46
UD
11829 [BZ #6420]
11830 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11831 symbol info. Use it instead of calling _dl_addr locally.
11832 (lock_and_info): New function.
11833 (tr_freehook): Call lock_and_info and pass symbol info as additional
11834 parameter to tr_where.
11835 (tr_mallochook): Likewise.
11836 (tr_reallochook): Likewise.
11837 (tr_memalignhook): Likewise.
11838
6ce75379
UD
11839 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11840 used and couldn't be at all thread-safe.
11841
f8a3b5bf
UD
118422011-05-15 Ulrich Drepper <drepper@gmail.com>
11843
94b7cc37
UD
11844 * libio/freopen.c (freopen): Don't close old file descriptor
11845 before the new one is opened. Instead dup the new file descriptor
11846 to the old one after the new stream is created.
11847 * libio/freopen64.c (freopen64): Likewise.
11848 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11849 * libio/fileops.c (_IO_new_file_close_it): Handle new
11850 _IO_FLAGS2_NOCLOSE flag.
11851 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11852 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11853 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11854 _IO_FLAGS2_NOCLOSE flag.
11855 * include/unistd.h: Add hidden_proto for dup3.
11856 Define __have_dup3.
11857 * io/dup3.c: Define hidden symbol.
11858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11859
bd25564e
UD
11860 [BZ #7101]
11861 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11862 when an incomplete long option is used.
11863 * posix/tst-getopt_long1.c: New file.
11864 * posix/Makefile (tests): Add tst-getopt_long1.
11865
c84cfef4
UD
11866 [BZ #10138]
11867 * scripts/config.guess: Update from autoconf-2.68.
11868 * scripts/config.sub: Likewise.
11869
3b85df27
UD
11870 [BZ #10157]
11871 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11872 tests into ...
11873 (has_cpuclock): ...this. New function.
11874 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11875 macro here based on has_cpuclock code.
11876
15a856b1
UD
11877 [BZ #10149]
11878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11879 First byte (not low byte) is now always NUL.
11880 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11881
05f399e6
UD
11882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11883 Use non-cancelable interfaces.
11884
10a52685 11885 [BZ #9809]
94ecc67d
UD
11886 * locale/iso-639.def: Add entry for Sorani.
11887
f8a3b5bf
UD
11888 [BZ #11901]
11889 * include/stdlib.h: Move include protection to the right place.
11890 Define abort_msg_s. Declare __abort_msg with it.
11891 * stdlib/abort.c (__abort_msg): Adjust type.
11892 * assert/assert.c (__assert_fail_base): New function. Majority
11893 of code from __assert_fail. Allocate memory for __abort_msg with
11894 mmap.
11895 (__assert_fail): Now call __assert_fail_base.
11896 * assert/assert-perr.c: Remove bulk of implementation. Use
11897 __assert_fail_base.
11898 * include/assert.hL Declare __assert_fail_base.
11899 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11900 mmap.
11901 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11902
1af4e298
UD
119032011-05-14 Ulrich Drepper <drepper@gmail.com>
11904
f8a3b5bf 11905 [BZ #11952]
d26dfc60
MG
11906 [BZ #12453]
11907 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11908 until all modules are registered in the DTV.
11909 * elf/Makefile: Add rules to build and run tst-tls19.
11910 * elf/tst-tls19.c: New file.
11911 * elf/tst-tls19mod1.c: New file.
11912 * elf/tst-tls19mod2.c: New file.
11913 * elf/tst-tls19mod3.c: New file.
11914 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11915
2fc54d6f
UD
11916 [BZ #12083]
11917 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11918 correctly.
11919
98d76b46
UD
11920 [BZ #12601]
11921 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11922 two-byte sequence errors.
11923 * iconvdata/Makefile (tests): Add bug-iconv8.
11924 * iconvdata/bug-iconv8.c: New file.
11925
da3c19ef
UD
11926 [BZ #12626]
11927 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11928 buf2 definition.
11929
ca408c15
UD
11930 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11931
d6f67f7d
UD
11932 [BZ #12432]
11933 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11934 (dummy_getcfa): New function.
11935 (init): Get _Unwind_GetCFA address, use dummy if not found.
11936 (backtrace_helper): In recursion check, also check whether CFA changes.
11937 (__backtrace): Completely initialize arg.
11938
1af4e298 11939 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11940 storing incomplete byte sequence in state object. Avoid testing for
11941 guaranteed too small input if we know there is enough data available.
1af4e298 11942
da62f81b
AS
119432011-05-11 Andreas Schwab <schwab@redhat.com>
11944
11945 * Makeconfig (+link-pie): Indent.
11946 * Rules (binaries-pie): Define if $(have-fpie) and
11947 $(build-shared).
11948 (binaries-shared): Also filter out $(binaries-pie).
11949 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11950 * nscd/Makefile (others-pie): Add nscd.
11951 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11952 ($(objpfx)nscd): Remove command override.
11953 * login/Makefile (others-pie): Add pt_chown.
11954 ($(objpfx)pt_chown): Remove command override.
11955 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11956 remove command overrides.
11957
fcabc0f8
UD
119582011-05-13 Ulrich Drepper <drepper@gmail.com>
11959
20030ae6
UD
11960 * libio/tst_putwc.c: Fix error messages.
11961
fcabc0f8
UD
11962 [BZ #12724]
11963 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11964 currently writing and seek to current position when not.
11965 * libio/Makefile (tests): Add bug-fclose1.
11966 * libio/bug-fclose1.c: New file.
11967
320a5dc0
PB
119682011-05-12 Ulrich Drepper <drepper@gmail.com>
11969
11970 [BZ #12511]
11971 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11972 don't set DF_1_NODELETE here.
11973 (do_lookup_x): When entering new entry test for copy relocation
11974 and if necessary set DF_1_NODELETE flag.
11975 * elf/tst-unique4.cc: New file.
11976 * elf/tst-unique4.h: New file.
11977 * elf/tst-unique4lib.cc: New file.
11978 * elf/Makefile: Add rules to build and run tst-unique4.
11979 Patch by Piotr Bury <pbury@goahead.com>.
11980
22836f52
UD
119812011-05-11 Ulrich Drepper <drepper@gmail.com>
11982
f574184a
UD
11983 [BZ #12052]
11984 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11985
e1fb097f
UD
11986 [BZ #12625]
11987 * misc/mntent_r.c (addmntent): Flush the stream after the output
11988
22836f52
UD
11989 [BZ #12393]
11990 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11991 (is_trusted_path_normalize): Skip initial colon. Append slash
11992 to empty buffer. Duplicate is_trusted_path code but allow
11993 constructed patch to be prefix.
11994 (is_dst): Allow $ORIGIN followed by /.
11995 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11996 Correct testing of result of is_trusted_path_normalize
11997 (decompose_rpath): Fix warning.
11998
7b3b0b2a
UD
119992011-05-10 Ulrich Drepper <drepper@gmail.com>
12000
12001 [BZ #11257]
12002 * grp/initgroups.c (internal_getgrouplist): When we found the service
12003 list through the initgroups entry in nsswitch.conf do not always
12004 continue on a successful lookup. Don't always use the
eac80ce2 12005 __nss_group_database value if it is set.
7b3b0b2a
UD
12006 * nss/nsswitch.conf (initgroups): Change action for successful db
12007 lookup to continue for compatibility.
12008
2a81eaa5
UD
120092011-05-09 Ulrich Drepper <drepper@gmail.com>
12010
be97a69e
UD
12011 [BZ #11532]
12012 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12013 and CP774 modules.
12014 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12015 and CP774 modules.
12016 * iconvdata/tst-tables.sh: Likewise.
12017 * iconvdata/cp770.c: New file.
12018 * iconvdata/cp771.c: New file.
12019 * iconvdata/cp772.c: New file.
12020 * iconvdata/cp773.c: New file.
12021 * iconvdata/cp774.c: New file.
12022 * iconvdata/testdata/CP770: New file.
12023 * iconvdata/testdata/CP770..UTF8: New file.
12024 * iconvdata/testdata/CP771: New file.
12025 * iconvdata/testdata/CP771..UTF8: New file.
12026 * iconvdata/testdata/CP772: New file.
12027 * iconvdata/testdata/CP772..UTF8: New file.
12028 * iconvdata/testdata/CP773: New file.
12029 * iconvdata/testdata/CP773..UTF8: New file.
12030 * iconvdata/testdata/CP774: New file.
12031 * iconvdata/testdata/CP774..UTF8: New file.
12032
12033 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12034 END CHARMAP line.
12035 * iconvdata/gen-8bit-gap.sh: Likewise.
12036 * iconvdata/gen-8bit.sh: Likewise.
12037
c1e9e399
UD
12038 * locale/iso-639.def: Add ary entry.
12039
24c55fb3 12040 [BZ #11258]
96b4b1b0
UD
12041 * locale/C-translit.h.in: Add U20A1 transliteration.
12042
bdc2f971
KB
12043 [BZ #12178]
12044 * locale/iso-639.def: Add wae entry.
12045 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12046
2952b117
UD
12047 [BZ #12545]
12048 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12049 for n.
12050
2a81eaa5
UD
12051 [BZ #12711]
12052 * locale/C-translit.h.in: Add entry for U20B9.
12053 Patch by pravin.d.s@gmail.com.
12054
28377d1b
UD
120552011-05-08 Ulrich Drepper <drepper@gmail.com>
12056
7fb90fb8
UD
12057 [BZ #12713]
12058 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12059 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12060 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12061 in rtld. Use *stat64.
7fb90fb8 12062 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12063 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12064 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12065 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12066 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12067 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12068 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12069 __fstatat64 macros.
7fb90fb8
UD
12070 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12071 * dirent/rewinddir.c: Add libc_hidden_def.
12072 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12073 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12074
28377d1b
UD
12075 * include/dirent.h (__alloc_dir): Add flags parameter.
12076 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12077 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12078 __alloc_dir.
12079 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12080 from fdopendir if O_CLOEXEC is already set.
12081
66bdbaa4
AM
120822011-03-15 Alan Modra <amodra@gmail.com>
12083
12084 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12085 l_tls_firstbyte_offset non-zero. Save padding offset in
12086 l_tls_firstbyte_offset for later use.
12087 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12088 freeing static tls block.
12089
95721191
JN
120902011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12091
12092 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12093 where #ifdef was intended. The intent is to prevent ARG_MAX from
12094 being defined by the kernel headers.
12095
f87dfb1f
UD
120962011-05-07 Ulrich Drepper <drepper@gmail.com>
12097
12098 [BZ #12734]
12099 * resolv/resolv.h: Define RES_NOTLDQUERY.
12100 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12101 no-tld-query and set RES_NOTLDQUERY.
12102 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12103 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12104 modern BIND to search name as TLD unless forbidden.
12105
47c3cd7a
UD
121062011-05-07 Petr Baudis <pasky@suse.cz>
12107 Ulrich Drepper <drepper@gmail.com>
12108
12109 [BZ #12393]
12110 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12111 (is_trusted_path): ...to here.
c1e9ea35 12112 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12113 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12114 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12115
8a35c912
PP
121162011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12117
12118 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12119 __BEGIN/__END_DECLS.
12120
acd41f47
UD
121212011-05-06 Ulrich Drepper <drepper@gmail.com>
12122
12123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12124 NSS_STATUS_NOTFOUND if no record was found.
12125
597df647
AS
121262011-05-05 Andreas Schwab <schwab@redhat.com>
12127
12128 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12129 (headers-not-in-tirpc): Remove rpc/netdb.h
12130 * resolv/netdb.h: Revert last change.
12131
b9af1301
PP
121322011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12133
12134 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12135 circular dependency between libgcc.a and libc.a.
12136
4e34d5f5
AS
121372011-05-05 Andreas Schwab <schwab@redhat.com>
12138
12139 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12140 * nis/Makefile: Don't install rpcsvc/*.
12141 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12142 instead of <rpc/types.h>.
12143 (MAXHOSTNAMELEN): Define.
12144
00ee369c
AS
121452011-05-03 Andreas Schwab <schwab@redhat.com>
12146
12147 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12148
0b592a30
MB
121492011-04-28 Maciej Babinski <mbabinski@google.com>
12150
12151 [BZ #12714]
12152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12153 gethostbyname4_r when IPv6 results are possible.
12154
6e04cbbe
UD
121552011-05-02 Ulrich Drepper <drepper@gmail.com>
12156
12157 [BZ #12723]
12158 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12159 _PC_PIPE_BUF handling.
12160
e4ecafe0
BH
121612011-04-30 Bruno Haible <bruno@clisp.org>
12162
12163 [BZ #12717]
12164 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12165 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12166 to 'int'.
12167 * inet/getnameinfo.c (getnameinfo): Likewise.
12168
125ee683
UD
121692011-04-29 Ulrich Drepper <drepper@gmail.com>
12170
12171 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12172 to groups setting in database lookup.
12173 * nss/nsswitch.conf: Add initgroups entry.
12174
b722481a
EB
121752011-04-22 Ulrich Drepper <drepper@gmail.com>
12176
12177 [BZ #12685]
12178 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12179 mode string.
12180 Patch by Eric Blake <eblake@redhat.com>.
12181
4df46dbd
L
121822011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12183
12184 * sunrpc/Makefile (need-export-routines): Add svc_run.
12185 (routines): Remove svc_run.
12186 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12187 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12188 * sunrpc/svc_run.c (svc_run): Likewise.
12189 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12190
e84142d2
UD
121912011-04-21 Ulrich Drepper <drepper@gmail.com>
12192
12193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12194 problem in reallocation in last patch.
12195
877175d8
UD
121962011-04-20 Ulrich Drepper <drepper@gmail.com>
12197
12198 * sunrpc/Makefile: Move inclusion of Rules.
12199
ab8eed78
UD
122002011-04-19 Ulrich Drepper <drepper@gmail.com>
12201
12202 * nss/nss_files/files-initgroups.c: New file.
12203 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12204 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12205 _nss_files_initgroups_dyn.
12206
e3d8f584
RS
122072011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12208
12209 * elf/elf.h (R_ARM_IRELATIVE): Define.
12210
af190f45
UD
122112011-04-19 Ulrich Drepper <drepper@gmail.com>
12212
12213 * po/ru.po: Update from translation team.
12214
53cf59ef
UD
122152011-04-17 Ulrich Drepper <drepper@gmail.com>
12216
12217 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12218 dependencies.
12219
4c559bcd
MF
122202011-02-06 Mike Frysinger <vapier@gentoo.org>
12221
12222 [BZ #12653]
12223 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12224 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12226 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12228
4420675c
AS
122292011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12230
12231 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12232 differing bytes.
12233 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12235 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12236
75ea32ab
UD
122372011-04-17 Ulrich Drepper <drepper@gmail.com>
12238
12239 [BZ #12420]
12240 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12241 storing it.
12242 * stdlib/bug-getcontext.c: New file.
12243 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12244
27390476
AK
122452011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12246
12247 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12248 instructions into .machine "z9-109".
12249 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12250 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12251
10442705
AK
122522011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12253
12254 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12255 between environment variables and auxiliary vector.
12256
7b57bfe5
UD
122572011-04-16 Ulrich Drepper <drepper@gmail.com>
12258
12259 * Makefile: Add rules to build linkobj/libc.so.
12260 * include/libc-symbols.h: Define libc_hidden_nolink.
12261 * include/rpc/auth.h: Mark functions which are to be hidden.
12262 * include/rpc/auth_des.h: Likewise.
12263 * include/rpc/auth_unix.h: Likewise.
12264 * include/rpc/clnt.h: Likewise.
12265 * include/rpc/des_crypt.h: Likewise.
12266 * include/rpc/key_prot.h: Likewise.
12267 * include/rpc/pmap_clnt.h: Likewise.
12268 * include/rpc/pmap_prot.h: Likewise.
12269 * include/rpc/pmap_rmt.h: Likewise.
12270 * include/rpc/rpc_msg.h: Likewise.
12271 * include/rpc/svc.h: Likewise.
12272 * include/rpc/svc_auth.h: Likewise.
12273 * include/rpc/xdr.h: Likewise.
12274 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12275 * nss/Makefile: Likewise.
12276 * sunrpc/Makefile: Don't install headers. Build library with normal
12277 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12278 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12279 for the compat linking library. Remove use of INTDEF/INTUSE.
12280 * sunrpc/auth_none.c: Likewise.
12281 * sunrpc/auth_unix.c: Likewise.
12282 * sunrpc/authdes_prot.c: Likewise.
12283 * sunrpc/authuxprot.c: Likewise.
12284 * sunrpc/clnt_gen.c: Likewise.
12285 * sunrpc/clnt_perr.c: Likewise.
12286 * sunrpc/clnt_raw.c: Likewise.
12287 * sunrpc/clnt_simp.c: Likewise.
12288 * sunrpc/clnt_tcp.c: Likewise.
12289 * sunrpc/clnt_udp.c: Likewise.
12290 * sunrpc/clnt_unix.c: Likewise.
12291 * sunrpc/des_crypt.c: Likewise.
12292 * sunrpc/des_soft.c: Likewise.
12293 * sunrpc/get_myaddr.c: Likewise.
12294 * sunrpc/key_call.c: Likewise.
12295 * sunrpc/key_prot.c: Likewise.
12296 * sunrpc/netname.c: Likewise.
12297 * sunrpc/pm_getmaps.c: Likewise.
12298 * sunrpc/pm_getport.c: Likewise.
12299 * sunrpc/pmap_clnt.c: Likewise.
12300 * sunrpc/pmap_prot.c: Likewise.
12301 * sunrpc/pmap_prot2.c: Likewise.
12302 * sunrpc/pmap_rmt.c: Likewise.
12303 * sunrpc/publickey.c: Likewise.
12304 * sunrpc/rpc_cmsg.c: Likewise.
12305 * sunrpc/rpc_common.c: Likewise.
12306 * sunrpc/rpc_dtable.c: Likewise.
12307 * sunrpc/rpc_prot.c: Likewise.
12308 * sunrpc/rpc_thread.c: Likewise.
12309 * sunrpc/rtime.c: Likewise.
12310 * sunrpc/svc.c: Likewise.
12311 * sunrpc/svc_auth.c: Likewise.
12312 * sunrpc/svc_authux.c: Likewise.
12313 * sunrpc/svc_raw.c: Likewise.
12314 * sunrpc/svc_run.c: Likewise.
12315 * sunrpc/svc_simple.c: Likewise.
12316 * sunrpc/svc_tcp.c: Likewise.
12317 * sunrpc/svc_udp.c: Likewise.
12318 * sunrpc/svc_unix.c: Likewise.
12319 * sunrpc/svcauth_des.c: Likewise.
12320 * sunrpc/xcrypt.c: Likewise.
12321 * sunrpc/xdr.c: Likewise.
12322 * sunrpc/xdr_array.c: Likewise.
12323 * sunrpc/xdr_float.c: Likewise.
12324 * sunrpc/xdr_intXX_t.c: Likewise.
12325 * sunrpc/xdr_mem.c: Likewise.
12326 * sunrpc/xdr_rec.c: Likewise.
12327 * sunrpc/xdr_ref.c: Likewise.
12328 * sunrpc/xdr_sizeof.c: Likewise.
12329 * sunrpc/xdr_stdio.c: Likewise.
12330
e6c61494
UD
123312011-04-10 Ulrich Drepper <drepper@gmail.com>
12332
12333 [BZ #12650]
12334 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12335 * sysdeps/ia64/dl-tls.h: Likewise.
12336 * sysdeps/powerpc/dl-tls.h: Likewise.
12337 * sysdeps/s390/dl-tls.h: Likewise.
12338 * sysdeps/sh/dl-tls.h: Likewise.
12339 * sysdeps/sparc/dl-tls.h: Likewise.
12340 * sysdeps/x86_64/dl-tls.h: Likewise.
12341 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12342
34fe483e
AS
123432011-03-14 Andreas Schwab <schwab@redhat.com>
12344
12345 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12346 rpath element also skip the following colon.
12347 (expand_dynamic_string_token): Add is_path parameter and pass
12348 down to DL_DST_REQUIRED and _dl_dst_substitute.
12349 (decompose_rpath): Call expand_dynamic_string_token with
12350 non-zero is_path. Ignore empty rpaths.
12351 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12352 with zero is_path.
12353
f12a32e6
AS
123542011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12355
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12357 Make cancelable.
12358
38a7d692
UD
123592011-04-09 Ulrich Drepper <drepper@gmail.com>
12360
12361 [BZ #12655]
12362 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12363 Patch by Filipe David Manana <fdmanana@apache.org>.
12364
e451d22b
AS
123652011-04-07 Andreas Schwab <schwab@redhat.com>
12366
12367 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12368 Maintain aligned stack.
12369 (CHECK_RSP): Remove unused macro.
12370
dedc7c7b
UD
123712011-04-03 Ulrich Drepper <drepper@gmail.com>
12372
12373 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12374 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12375
94521213
UD
123762011-04-02 Ulrich Drepper <drepper@gmail.com>
12377
12378 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12379
8cb700c0 12380 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12381
0354e355
L
123822011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12383
12384 [BZ #12518]
12385 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12386 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12387 * sysdeps/x86_64/memmove.c: New file.
12388 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12389 (memcpy): Renamed to ...
12390 (__new_memcpy): This.
12391 (memcpy): Provide GLIBC_2_14 memcpy.
12392 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12393 (memcpy): Provide GLIBC_2_2_5 memcpy.
12394
8593482f
UD
123952011-04-01 Ulrich Drepper <drepper@gmail.com>
12396
12397 [BZ #12631]
12398 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12399
81a5726b
AS
124002011-03-30 Andreas Schwab <schwab@redhat.com>
12401
12402 * misc/syncfs.c: New file.
12403 * misc/Makefile (routines): Add syncfs.
12404 * posix/unistd.h: Declare syncfs.
12405 * sysdeps/unix/syscalls.list: Add syncfs.
12406
00e5419f
AS
124072011-04-01 Andreas Schwab <schwab@redhat.com>
12408
12409 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12410 open_by_handle_at.
12411 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12412 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12416 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12417 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12418
748876bf
UD
124192011-04-01 Ulrich Drepper <drepper@gmail.com>
12420
658e451d
UD
12421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12423 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12428
748876bf
UD
12429 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12430 sync_file_range.c with -fexceptions.
12431 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12432 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12433 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12434 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12435 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12436 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12438 sync_file_range as cancellation point
12439 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12440 now a wrapper around __call_sync_file_range with cancellation handling.
12441 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12442 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12443 function name to __call_sync_file_range.
12444 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12445 Add call_sync_file_range.
748876bf 12446
6e63d5e1
AS
124472011-04-01 Andreas Schwab <schwab@redhat.com>
12448
12449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12450 bits/timex.h.
6e63d5e1 12451
46998f74
UD
124522011-04-01 Ulrich Drepper <drepper@gmail.com>
12453
4c1423ed
UD
12454 * iconv/iconv.h: Fix typo in comment.
12455 * io/fcntl.h: Likewise.
12456 * libio/stdio.h: Likewise.
12457 * posix/spawn.h: Likewise.
12458 * posix/unistd.h: Likewise.
12459 * stdlib/stdlib.h: Likewise.
12460 * time/time.h: Likewise.
12461 * wcsmbs/wchar.h: Likewise.
12462
158648c0
UD
12463 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12464 open_by_handle): Add.
12465 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12466 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12467 Augment a few comments.
12468 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12473 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12474 open_by_handle.
12475
46998f74
UD
12476 * io/fcntl.h (AT_EMPTY_PATH): Define.
12477
83fe108b
UD
124782011-03-30 Ulrich Drepper <drepper@gmail.com>
12479
12480 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12481 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12482 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12483 to...
12484 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12485 * Versions.def: Add GLIBC_2.14.
12486 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12487 Export.
83fe108b 12488
bb242059
UD
124892011-03-22 Ulrich Drepper <drepper@gmail.com>
12490
12491 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12492 round counter.
12493 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12494
c97a1282
L
124952011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12496
12497 [BZ #12597]
12498 * string/test-strncmp.c (do_page_test): New function.
12499 (check2): Likewise.
12500 (test_main): Call check2.
12501 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12502
2a115601
UD
125032011-03-20 Ulrich Drepper <drepper@gmail.com>
12504
12505 [BZ #12587]
12506 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12507 Handle cache information in CPU leaf 4.
12508 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12509
8126d904
UD
125102011-03-18 Ulrich Drepper <drepper@gmail.com>
12511
042c49c6 12512 [BZ #12583]
8126d904
UD
12513 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12514 character representation.
12515 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12516
ccfe366e
RA
125172011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12518
12519 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12520 END(__isnan) to END(__isnanf) to match function entry point/label
12521 EALIGN(__isnanf,...).
12522
c6e13027
JJ
125232011-03-10 Jakub Jelinek <jakub@redhat.com>
12524
12525 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12526
33f85a3f
UD
125272011-03-10 Ulrich Drepper <drepper@gmail.com>
12528
028478fa
UD
12529 [BZ #12510]
12530 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12531 copy from the symbol referenced in the relocation to initialize the
12532 used variable.
12533 Patch by Piotr Bury <pbury@goahead.com>.
12534 * elf/Makefile: Add rules to build and tst-unique3.
12535 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12536 * elf/tst-unique3.cc: New file.
12537 * elf/tst-unique3.h: New file.
12538 * elf/tst-unique3lib.cc: New file.
12539 * elf/tst-unique3lib2.cc: New file.
12540
33f85a3f
UD
12541 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12542
03592fc7
MF
125432011-03-10 Mike Frysinger <vapier@gentoo.org>
12544
12545 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12546 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12547 to _start.
03592fc7 12548
6a5ee102
UD
125492011-03-06 Ulrich Drepper <drepper@gmail.com>
12550
12551 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12552 to-be-loaded object along a path to loader is ld.so.
12553
7e4ba49c
HJ
125542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12555 Ulrich Drepper <drepper@gmail.com>
12556
12557 * sysdeps/x86_64/memset.S: After aligning destination, code
12558 branches to different locations depending on the value of
12559 misalignment, when multiarch is enabled. Fix this.
12560
125612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12562
12563 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12564 Set _x86_64_preferred_memory_instruction for AMD processsors.
12565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12566 Set bit_Prefer_SSE_for_memop for AMD processors.
12567
13a804de
UD
125682011-03-04 Ulrich Drepper <drepper@gmail.com>
12569
12570 * libio/fmemopen.c (fmemopen): Optimize a bit.
12571
9d25c392
AS
125722011-03-03 Andreas Schwab <schwab@redhat.com>
12573
12574 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12575
a5543c6a
RM
125762011-03-03 Roland McGrath <roland@redhat.com>
12577
12578 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12579
012d35f7
DM
125802011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12581
7e4ba49c 12582 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12583 __bzero_ultra1 instead of __memset_ultra1.
12584
4bff6e01
AS
125852011-02-23 Andreas Schwab <schwab@redhat.com>
12586 Ulrich Drepper <drepper@gmail.com>
12587
12588 [BZ #12509]
12589 * include/link.h (struct link_map): Add l_orig_initfini.
12590 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12591 returning unsuccessfully.
12592 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12593 close of a file loaded at startup, restore the original l_initfini
12594 list.
12595 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12596 list, store the pointer.
12597 * elf/Makefile ($(objpfx)noload-mem): New rule.
12598 (noload-ENV): Define.
12599 (tests): Add $(objpfx)noload-mem.
12600 * elf/noload.c: Include <memcheck.h>.
12601 (main): Call mtrace. Close all opened handles.
12602
f2092faf
AS
126032011-02-17 Andreas Schwab <schwab@redhat.com>
12604
12605 [BZ #12454]
12606 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12607 dependencies are missing.
12608
6c8a2e88
ST
126092011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12610
f2092faf 12611 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12612 Hurd needs munmap.
12613 * sysdeps/mach/hurd/ifreq.h: New file.
12614
84a42118
PB
126152011-01-27 Petr Baudis <pasky@suse.cz>
12616 Ulrich Drepper <drepper@gmail.com>
12617
071f805e 12618 [BZ 12445]#
84a42118
PB
12619 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12620 to extend_alloca().
12621 * stdio-common/bug23.c: New file.
12622 * stdio-common/Makefile (tests): Add bug23.
12623
e23fe25b
AS
126242010-09-28 Andreas Schwab <schwab@redhat.com>
12625 Ulrich Drepper <drepper@gmail.com>
12626
12627 [BZ #12489]
12628 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12629 before performing relro protection. At old place add assertion
12630 to make sure nothing changed.
12631
d3f02e10
NS
126322011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12633 Glauber de Oliveira Costa <glommer@gmail.com>
12634
12635 * elf/elf.h: Add new ARM TLS relocs.
12636
d55fd7a5
RA
126372011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12638
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12640 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12641 cast from r3.
12642 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12643 'tests' variable.
12644 * sysdeps/wordsize-64/tst-writev.c: New file.
12645
2206397e
RA
126462011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12647
12648 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12649 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12650 insns in _dl_start to prevent a TOC reference before relocs are
12651 resolved.
12652
e9433893
UD
126532011-02-15 Ulrich Drepper <drepper@gmail.com>
12654
12655 [BZ #12469]
12656 * Makeconfig: Remove RANLIB definition.
12657 * Makerules: Don't use RANLIB.
12658 * aclocal.m4: Remove ranlib test.
12659 * configure.in: No need to check for ranlib.
12660 * elf/rtld-Rules: Don't use RANLIB.
12661
f75286c6
ST
126622011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12663
8e31c82d
ST
12664 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12665 protection macro.
12666 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12667 inclusion protection macro.
12668
f75286c6
ST
12669 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12670 SIGRTMIN and SIGRTMAX and print information in that case only when
12671 SIGRTMIN is defined.
12672
c1d0e639
JJ
126732011-02-11 Jakub Jelinek <jakub@redhat.com>
12674
12675 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12676 arginfo fn returning -1.
12677
12678 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12679 and thousands string is zero terminated.
12680
edf9294e
AS
126812011-02-03 Andreas Schwab <schwab@redhat.com>
12682
12683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12684 sysdeps/unix/sysv/linux/bits/socket.h.
12685
2b7e92df
ST
126862011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12687
edf9294e
AS
12688 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12689 (__CPU_COUNT): Remove old macros.
12690 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12691 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12692 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12693 (__sched_cpualloc, __sched_cpufree): Add declarations.
12694
a4c7ea7b
UD
126952011-02-05 Ulrich Drepper <drepper@gmail.com>
12696
12697 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12698 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12699 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12700 (readdhstai): Return value of addhstaiX call.
12701 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12702 (addgrbyX): Return value returned by cache_addgr.
12703 (readdgrbyname): Return value returned by addgrbyX.
12704 (readdgrbygid): Likewise.
12705 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12706 (addpwbyX): Return value returned by cache_addpw.
12707 (readdpwbyname): Return value returned by addhstbyX.
12708 (readdpwbyuid): Likewise.
12709 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12710 (addservbyX): Return value returned by cache_addserv.
12711 (readdservbyname): Return value returned by addservbyX:
12712 (readdservbyport): Likewise.
12713 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12714 (addhstbyX): Return value returned by cache_addhst.
12715 (readdhstbyname): Return value returned by addhstbyX.
12716 (readdhstbyaddr): Likewise.
12717 (readdhstbynamev6): Likewise.
12718 (readdhstbyaddrv6): Likewise.
12719 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12720 (readdinitgroups): Return value returned by addinitgroupsX.
12721 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12722 (prune_cache): Keep track of timeout value of re-added entries.
12723 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12724 * nscd/nscd.h: Adjust prototypes of readd* functions.
12725
a0bf67cc
RM
127262011-02-04 Roland McGrath <roland@redhat.com>
12727
12728 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12729 (nis_stats): Likewise.
12730 * nis/nis_modify.c (nis_modify): Likewise.
12731 * nis/nis_remove.c (nis_remove): Likewise.
12732 * nis/nis_add.c (nis_add): Likewise.
12733
12734 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12735
12736 * posix/fnmatch_loop.c: Add some consts.
12737
12738 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12739
435b95eb
L
127402011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12741
12742 [BZ #12460]
12743 * config.make.in (config-cflags-novzeroupper): Define.
12744 * configure.in: Substitute libc_cv_cc_novzeroupper.
12745 * elf/Makefile (AVX-CFLAGS): Define.
12746 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12747 (CFLAGS-tst-auditmod4a.c): Likewise.
12748 (CFLAGS-tst-auditmod4b.c): Likewise.
12749 (CFLAGS-tst-auditmod6b.c): Likewise.
12750 (CFLAGS-tst-auditmod6c.c): Likewise.
12751 (CFLAGS-tst-auditmod7b.c): Likewise.
12752 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12753
8517b15e
UD
127542011-02-02 Ulrich Drepper <drepper@gmail.com>
12755
12756 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12757 function to the callback.
12758 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12759
10a656fe
AS
127602011-02-02 Andreas Schwab <schwab@redhat.com>
12761
12762 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12763 of errno.
12764
968dad0a
UD
127652011-01-19 Ulrich Drepper <drepper@gmail.com>
12766
9f94d2ea 12767 [BZ #11724]
968dad0a
UD
12768 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12769 of constructors.
12770 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12771 of destructors.
12772 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12773
12774 [BZ #11724]
12775 * elf/Makefile: Add rules to build and run new test.
12776 * elf/tst-initorder.c: New file.
12777 * elf/tst-initorder.exp: New file.
12778 * elf/tst-initordera1.c: New file.
12779 * elf/tst-initordera2.c: New file.
12780 * elf/tst-initordera3.c: New file.
12781 * elf/tst-initordera4.c: New file.
12782 * elf/tst-initorderb1.c: New file.
12783 * elf/tst-initorderb2.c: New file.
12784 * elf/tst-order-a1.c: New file.
12785 * elf/tst-order-a2.c: New file.
12786 * elf/tst-order-a3.c: New file.
12787 * elf/tst-order-a4.c: New file.
12788 * elf/tst-order-b1.c: New file.
12789 * elf/tst-order-b2.c: New file.
12790 * elf/tst-order-main.c: New file.
12791 New test case by George Gensure <werkt0@gmail.com>.
12792
86e92359
UD
127932010-10-01 Andreas Schwab <schwab@redhat.com>
12794
12795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12796 decoding ACE if AI_CANONIDN.
12797
5d5732b0
UD
127982011-01-18 Ulrich Drepper <drepper@gmail.com>
12799
12800 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12801
a77e8cbc
UD
128022011-01-17 Ulrich Drepper <drepper@gmail.com>
12803
6392473f
UD
12804 * version.h (RELEASE): Bump for 2.13 release.
12805 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12806
620a0529
UD
12807 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12808
18ba70a5
UD
12809 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12810 MADV_NOHUGEPAGE.
32465c3e
UD
12811 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12813 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12816 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12817
c0dafcf1
UD
12818 * posix/getconf.c: Update copyright year.
12819 * catgets/gencat.c: Likewise.
12820 * csu/version.c: Likewise.
12821 * debug/catchsegv.sh: Likewise.
12822 * debug/xtrace.sh: Likewise.
12823 * elf/ldconfig.c: Likewise.
12824 * elf/ldd.bash.in: Likewise.
12825 * elf/sprof.c (print_version): Likewise.
12826 * iconv/iconv_prog.c: Likewise.
12827 * iconv/iconvconfig.c: Likewise.
12828 * locale/programs/locale.c: Likewise.
12829 * locale/programs/localedef.c: Likewise.
12830 * malloc/memusage.sh: Likewise.
12831 * malloc/mtrace.pl: Likewise.
12832 * nscd/nscd.c (print_version): Likewise.
12833 * nss/getent.c: Likewise.
12834
a77e8cbc
UD
12835 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12836 PF_CAIF, and PF_ALG.
12837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12838
77e8bddf
AS
128392011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12840
1f20b93a
AS
12841 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12842 (modules-names): Use them.
12843 (ifunc-test-modules, ifunc-pie-tests): Define.
12844 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12845 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12846 (test-extras): Likewise.
12847 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12848 $(compile-command.c).
12849 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12850 (all-built-dso): Define.
12851 (check-textrel.out, check-execstack.out): Depend on it.
12852
77e8bddf
AS
12853 * configure.in: Don't override --enable-multi-arch.
12854
bc425b33
UD
128552011-01-15 Ulrich Drepper <drepper@gmail.com>
12856
12857 [BZ #6812]
12858 * nscd/hstcache.c (tryagain): Define.
12859 (cache_addhst): Return tryagain not notfound for temporary errors.
12860 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12861 failed.
12862
794c3ad3
UD
128632011-01-14 Ulrich Drepper <drepper@gmail.com>
12864
70181fdd
UD
12865 [BZ #10563]
12866 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12867 to make the syscall.
12868 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12869
794c3ad3
UD
12870 [BZ #12378]
12871 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12872 and fall back to matching as normal character if the string ends before
12873 the matching ']' is found. This is what POSIX requires.
12874 * posix/testfnm.c: Adjust test result.
12875 * posix/globtest.sh: Adjust test result. Add new test.
12876 * posix/tst-fnmatch.input: Likewise.
12877 * posix/tst-fnmatch2.c: Add new test.
12878
68dc9497
AS
128792010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12880
12881 * elf/Makefile (check-execstack): Revert last change. Depend on
12882 check-execstack.h.
12883 (check-execstack.h): New target.
12884 (generated): Add check-execstack.h.
12885 * elf/check-execstack.c: Include "check-execstack.h".
12886 (main): Revert last change.
12887 (handle_file): Return zero if GNU_STACK is absent and
12888 DEFAULT_STACK_PERMS doesn't include PF_X.
12889
451f001b
UD
128902011-01-13 Ulrich Drepper <drepper@gmail.com>
12891
cfa28e56
UD
12892 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12893 in child fails because the descriptor is already closed.
8cf8ce17
UD
12894 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12895 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12896 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12897
1086d70d
UD
12898 [BZ #12397]
12899 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12900 syscall.
12901
451f001b
UD
12902 [BZ #10484]
12903 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12904 temporary buffer used to handle multi lookups locally.
a85b5cb4 12905 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12906
08769175
UD
129072011-01-12 Ulrich Drepper <drepper@gmail.com>
12908
12909 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12910 loader is ld.so.
12911
5e49c52e
UD
129122011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12913
12914 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12915 alignment for SSE2.
12916
60522a5f
UD
129172011-01-12 Ulrich Drepper <drepper@gmail.com>
12918
12919 [BZ #12394]
12920 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12921 characters. When rounding increased number of integer digits recompute
12922 number of groups.
12923 * stdio-common/tst-grouping.c: New file.
12924 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12925
f257bbd7
UD
129262011-01-09 Ulrich Drepper <drepper@gmail.com>
12927
12928 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12929 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12930
12931 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12932 void.
12933 * bits/select.h: Likewise.
12934
fa9c15cb
UD
129352011-01-08 Ulrich Drepper <drepper@gmail.com>
12936
12937 * po/ja.po: Update from translation team.
12938
16c2895f
DM
129392011-01-04 David S. Miller <davem@sunset.davemloft.net>
12940
12941 [BZ #11155]
12942 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12943 implementation just like for lxstat, fxstatat, et al.
12944
2543fef2
JM
129452010-12-27 Jim Meyering <meyering@redhat.com>
12946
12947 [BZ #12348]
12948 * posix/regexec.c (build_trtable): Return failure indication upon
12949 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12950
98727dbe
UD
129512010-12-25 Ulrich Drepper <drepper@gmail.com>
12952
5bd6dc5c
UD
12953 [BZ #12201]
12954 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12955 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12956 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12957 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12958
97983464
UD
12959 [BZ #12207]
12960 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12961
98727dbe
UD
12962 [BZ #12204]
12963 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12964 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12965
4a531bb0
L
129662010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12967
12968 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12969 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12970 script has SORT_BY_INIT_PRIORITY.
12971 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12972 NO_CTORS_DTORS_SECTIONS is defined.
12973 * elf/soinit.c: Likewise.
12974 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12975 NO_CTORS_DTORS_SECTIONS is defined.
12976 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12977 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12978 * sysdeps/sh/init-first.c: Likewise.
12979 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12980
07eb4b71
UD
129812010-12-24 Ulrich Drepper <drepper@gmail.com>
12982
12983 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12984 always use the slow path.
12985
30950a5f
RA
129862010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12987
12988 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12989 similar rule which adds the sysdep directories to the header search in
12990 order to pick up the correct platform stackinfo.h.
12991 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12992 perform test if it is, otherwise return successfully without testing.
12993 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12994 DEFAULT_STACK_PERMS define in stackinfo.h.
12995 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12996 defined in stackinfo.h.
12997 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12998 DEFAULT_STACK_PERMS defined in stackinfo.h.
12999 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13000 * sysdeps/ia64/stackinfo.h: Likewise.
13001 * sysdeps/s390/stackinfo.h: Likewise.
13002 * sysdeps/sh/stackinfo.h: Likewise.
13003 * sysdeps/sparc/stackinfo.h: Likewise.
13004 * sysdeps/x86_64/stackinfo.h: Likewise.
13005 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13006 PF_X for powerpc64. Retain PF_X for powerpc32.
13007
db753e2c
UD
130082010-12-19 Ulrich Drepper <drepper@gmail.com>
13009
14b697f7
UD
13010 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13011 accurately.
db753e2c
UD
13012 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13013 GETDENTS_64BIT_ALIGNED.
13014
28300719
UD
130152010-12-14 Ulrich Drepper <dreper@gmail.com>
13016
14b697f7 13017 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13018
4f197237
AS
130192010-12-10 Andreas Schwab <schwab@redhat.com>
13020
dbb0472f
AS
13021 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13022 _GNU_SOURCE.
13023
4f197237
AS
13024 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13025 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13026 Remove __restrict.
13027 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13028 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13029
fb88ac72
UD
130302010-12-09 Ulrich Drepper <drepper@gmail.com>
13031
13032 [BZ #11655]
13033 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13034 are initialized.
13035
42acbb92
JJ
130362010-12-09 Jakub Jelinek <jakub@redhat.com>
13037
13038 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13039
c038d98d
UD
130402010-12-03 Ulrich Drepper <drepper@gmail.com>
13041
13042 * po/it.po: Update from translation team.
13043
3a4a2499
L
130442010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13045
13046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13047 unused codes.
13048
1e24cf6e
UD
130492010-11-30 Ulrich Drepper <drepper@gmail.com>
13050
13051 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13052
a7690819
AS
130532010-11-24 Andreas Schwab <schwab@redhat.com>
13054
13055 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13056 specially.
13057 (gaih_getanswer_slice): Likewise.
13058
3bf8d1b1
JJ
130592010-10-20 Jakub Jelinek <jakub@redhat.com>
13060
13061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13062
6db52fbb
PB
130632010-05-31 Petr Baudis <pasky@suse.cz>
13064
13065 [BZ #11149]
13066 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13067 silently even in the chroot mode.
13068
eaca7569
UD
130692010-11-22 Ulrich Drepper <drepper@gmail.com>
13070
13071 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13072 last patch a bit. Pretty printing
13073
3056dcdb
UD
130742010-05-31 Petr Baudis <pasky@suse.cz>
13075
13076 [BZ #10085]
13077 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13078 initialization of skip_initgroups_dyn.
13079
cf7c9078
UD
130802010-11-19 Ulrich Drepper <drepper@gmail.com>
13081
13082 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13084
a1fb5e3e
UD
130852010-11-16 Ulrich Drepper <drepper@gmail.com>
13086
13087 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13088
3540d66b
AS
130892010-11-11 Andreas Schwab <schwab@redhat.com>
13090
13091 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13092 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13093 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13094 ($(objpfx)tst-fnmatch-mem): New rule.
13095 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13096 * posix/tst-fnmatch.c (main): Call mtrace.
13097
13b69574
L
130982010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13099
13100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13101 Support Intel processor model 6 and model 0x2c.
13102
da93d214
LM
131032010-11-10 Luis Machado <luisgpm@br.ibm.com>
13104
13105 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13106 signed comparison.
13107
8ca52c6e
L
131082010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13109
13110 [BZ #12205]
13111 * string/test-strncasecmp.c (check_result): New function.
13112 (do_one_test): Use it.
13113 (check1): New function.
13114 (test_main): Use it.
13115 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13116 Support strcasecmp and strncasecmp.
13117
69da074d
UD
131182010-11-08 Ulrich Drepper <drepper@gmail.com>
13119
13120 [BZ #12194]
13121 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13122 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13123
ff02d528
L
131242010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13125
13126 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13127 IFUNC support.
13128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13129 memset-x86-64.
13130 * sysdeps/x86_64/multiarch/bzero.S: New file.
13131 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13132 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13133 * sysdeps/x86_64/multiarch/memset.S: New file.
13134 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13136 Set bit_Prefer_SSE_for_memop for Intel processors.
13137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13138 Define.
13139 (index_Prefer_SSE_for_memop): Define.
13140 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13141
344d0b54
LM
131422010-11-04 Luis Machado <luisgpm@br.ibm.com>
13143
13144 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13145 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13146
c0dde15b
UD
131472010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13148
13149 [BZ #12191]
13150 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13151 (__x86_64_raw_data_cache_size_half): Likewise.
13152 (__x86_64_raw_shared_cache_size): Likewise.
13153 (__x86_64_raw_shared_cache_size_half): Likewise.
13154
13155 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13156 (__x86_64_raw_data_cache_size_half): Likewise.
13157 (__x86_64_raw_shared_cache_size): Likewise.
13158 (__x86_64_raw_shared_cache_size_half): Likewise.
13159 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13160 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13161 and __x86_64_raw_shared_cache_size_half. Round
13162 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13163 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13164 to multiple of 256 bytes.
13165
0e516e0e
MS
131662010-11-03 Ulrich Drepper <drepper@gmail.com>
13167
13168 [BZ #12167]
13169 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13170 of inacessible symlinks. Verify result of symlink before returning it.
13171 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13172 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13173
0e012e87
ER
131742010-10-28 Erich Ritz <erichritz@gmail.com>
13175
13176 * math/math.h (isinf): Fix typo in comment.
13177
de0ff7bc
UD
131782010-11-01 Ulrich Drepper <drepper@gmail.com>
13179
13180 * po/da.po: Update from translation team.
13181
fa41c84d
UD
131822010-10-26 Ulrich Drepper <drepper@gmail.com>
13183
13184 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13185 is added to the list.
13186
f0967738
AK
131872010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13188 Ulrich Drepper <drepper@gmail.com>
13189
13190 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13191 the global list here. Move code to...
13192 (_dl_add_to_namespace_list): ...here. New function.
13193 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13194 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13195 * elf/dl-load.c (lose): Don't remove the element from the list.
13196 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13197 (_dl_map_object): Likewise.
13198
131992010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13200
13201 [BZ #12159]
13202 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13203 into all bytes of SSE register.
13204 Patch by Richard Li <richardpku@gmail.com>.
13205
f0967738 132062010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13207
13208 [BZ #12140]
13209 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13210 perturbing.
13211
d0b9e94f
MB
132122010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13213
13214 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13215 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13216 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13217 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13219 submachine.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13221
8e9f92e9
AS
132222010-10-22 Andreas Schwab <schwab@redhat.com>
13223
13224 * include/dlfcn.h (__RTLD_SECURE): Define.
13225 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13226 mode & __RTLD_SECURE instead.
13227 (open_path): Rename preloaded parameter to secure.
13228 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13229 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13230 * elf/dl-deps.c (openaux): Likewise.
13231 * elf/rtld.c (struct map_args): Remove is_preloaded.
13232 (map_doit): Don't use it.
13233 (dl_main): Likewise.
13234 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13235 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13236
bc96fbda
AS
132372010-09-09 Andreas Schwab <schwab@redhat.com>
13238
13239 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13240 (sysd-rules-targets): Remove duplicates.
13241 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13242 rtld-%.$o dependency.
13243
22cd1c9b
AS
132442010-10-18 Andreas Schwab <schwab@redhat.com>
13245
13246 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13247 _dl_map_object do it.
13248
18edac48
UD
132492010-10-19 Ulrich Drepper <drepper@gmail.com>
13250
13251 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13252 fast fma builtins, define the macros in the C99 standard.
13253 (FP_FAST_FMAF): Likewise.
13254 (FP_FAST_FMAL): Likewise.
13255 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13256
13257 * bits/mathdef.h: Update copyright year.
13258 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13259
d2050124
MM
132602010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13261
13262 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13263 builtins, define the macros in the C99 standard.
13264 (FP_FAST_FMAF): Likewise.
13265 (FP_FAST_FMAL): Likewise.
13266 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13267 multiply/add.
13268 (FP_FAST_FMAF): Likewise.
13269
475facd1
JJ
132702010-10-15 Jakub Jelinek <jakub@redhat.com>
13271
13272 [BZ #3268]
13273 * math/libm-test.inc (fma_test): Some new testcases.
13274 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13275 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13276 y and infinite z. Do multiplication by C already in long double.
13277 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13279 y and infinite z. Do bitwise or of inexact bit into u.d.
13280 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13281 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13282 * sysdeps/i386/fpu/s_fma.S: Removed.
13283 * sysdeps/i386/fpu/s_fmal.S: Removed.
13284
7c08a05c
JJ
132852010-10-16 Jakub Jelinek <jakub@redhat.com>
13286
13287 [BZ #3268]
13288 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13290 computation is not scheduled after fetestexcept. Fix value
13291 of minimum denormal long double.
13292
f3f7372d
JJ
132932010-10-14 Jakub Jelinek <jakub@redhat.com>
13294
13295 [BZ #3268]
13296 * math/libm-test.inc (fma_test): Add some more tests.
13297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13298 correctly.
13299
14d43591
AS
133002010-10-15 Andreas Schwab <schwab@redhat.com>
13301
13302 * scripts/data/localplt-s390-linux-gnu.data: New file.
13303 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13304
5e908464
JJ
133052010-10-13 Jakub Jelinek <jakub@redhat.com>
13306
13307 [BZ #3268]
13308 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13309 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13310 instead of dbl-64.
13311 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13312 inlines.
13313 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13315 if one of x and y is very large and the other is subnormal.
13316 * sysdeps/s390/fpu/s_fmaf.c: New file.
13317 * sysdeps/s390/fpu/s_fma.c: New file.
13318 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13319 * sysdeps/powerpc/fpu/s_fma.S: New file.
13320 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13321 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13322 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13323
133242010-10-12 Jakub Jelinek <jakub@redhat.com>
13325
13326 [BZ #3268]
13327 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13328 fma tests.
13329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13330 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13331 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13332 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13333 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13334 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13336
b833d51f
UD
133372010-10-12 Ulrich Drepper <drepper@redhat.com>
13338
13339 [BZ #12078]
13340 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13341 * posix/bug-regex31.input: Add test case.
13342
1751705d
UD
133432010-10-11 Ulrich Drepper <drepper@gmail.com>
13344
e9b9cbf5
UD
13345 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13346 * posix/bug-regex31.input: New file.
13347
13348 [BZ #12078]
13349 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13350 (parse_sub_exp): Fix last change, use postorder.
13351
ef06edbe
UD
13352 * posix/bug-regex31.c: New file.
13353 * posix/Makefile: Add rules to build and run bug-regex31.
13354
a129c80d
UD
13355 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13356
13357 [BZ #12078]
13358 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13359
b76b818e
UD
13360 [BZ #12108]
13361 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13362 to have entries in sys_siglist.
13363
1751705d
UD
13364 [BZ #12093]
13365 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13366 be NULL.
13367
9ff8d36f
JJ
133682010-10-07 Jakub Jelinek <jakub@redhat.com>
13369
13370 [BZ #3268]
13371 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13372 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13373 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13374 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13375 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13376 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13377 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13378 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13379 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13380 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13381 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13382 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13383 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13384 * math/ftestexcept.c (fetestexcept): Likewise.
13385 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13386 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13387 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13388 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13389 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13390 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13391 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13392
af325969
UD
133932010-10-11 Ulrich Drepper <drepper@gmail.com>
13394
c579b202 13395 [BZ #12107]
af325969
UD
13396 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13397 newline.
13398
67a67b95
UD
133992010-10-06 Ulrich Drepper <drepper@gmail.com>
13400
13401 * string/bug-strstr1.c: New file.
13402 * string/Makefile: Add rules to build and run bug-strstr1.
13403
5fb308bc
EB
134042010-10-05 Eric Blake <eblake@redhat.com>
13405
13406 [BZ #12092]
13407 * string/str-two-way.h (two_way_long_needle): Always clear memory
13408 when skipping input due to the shift table.
13409
45db99c7
UD
134102010-10-03 Ulrich Drepper <drepper@gmail.com>
13411
3b111893
UD
13412 [BZ #12005]
13413 * malloc/mcheck.c: Handle large requests.
13414
45db99c7
UD
13415 [BZ #12077]
13416 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13417 for strncmp and strncasecmp.
13418 * string/stratcliff.c: Add tests for strcmp and strncmp.
13419 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13420
cf7a1eb8
NI
134212010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13422
13423 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13424 __set_fpscr.
13425
6484ba5e
AJ
134262010-09-30 Andreas Jaeger <aj@suse.de>
13427
13428 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13429 (CGROUP_SUPER_MAGIC): Define.
13430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13431 Handle btrfs and cgroup file systems.
13432 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13433 Likewise.
13434
91c42559
LM
134352010-09-27 Luis Machado <luisgpm@br.ibm.com>
13436
13437 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13438 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13439
87a97932
AK
134402010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13441
13442 [BZ #12067]
13443 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13444 trying to locate the ELF header.
13445
c21cc9bc
AS
134462010-09-27 Andreas Schwab <schwab@redhat.com>
13447
13448 [BZ #11611]
13449 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13450 Mask out sign-bit copies when constructing f_fsid.
13451
315970f6
PB
134522010-09-24 Petr Baudis <pasky@suse.cz>
13453
13454 * debug/stack_chk_fail_local.c: Add missing licence exception.
13455 * debug/warning-nop.c: Likewise.
13456
1ac7a2c7
JM
134572010-09-15 Joseph Myers <joseph@codesourcery.com>
13458
13459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13460 implementing getdents64 using getdents syscall, set d_type if
13461 __ASSUME_GETDENTS32_D_TYPE.
13462
56801c50
AS
134632010-09-16 Andreas Schwab <schwab@redhat.com>
13464
13465 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13466 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13467
dda51327
UD
134682010-09-21 Ulrich Drepper <drepper@redhat.com>
13469
13470 [BZ #12037]
13471 * posix/unistd.h: Undo change of feature selection for ftruncate from
13472 2010-01-11.
13473
8ffcee4a
UD
134742010-09-20 Ulrich Drepper <drepper@redhat.com>
13475
a545ecd9 13476 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13477 detection.
13478
e24f0a8b
AS
134792010-09-20 Andreas Schwab <schwab@redhat.com>
13480
13481 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13482 fanotify_mark.
13483 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13484
7291c56f
AS
134852010-09-14 Andreas Schwab <schwab@redhat.com>
13486
13487 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13488 variables after CHECK_SP call.
13489 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13490
bc5fb037
AS
134912010-09-13 Andreas Schwab <schwab@redhat.com>
13492 Ulrich Drepper <drepper@redhat.com>
13493
13494 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13495 re-relocationg ld.so.
13496 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13497 _dl_init_paths call.
13498 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13499 here anymore.
13500
e66e7419
UD
135012010-09-14 Ulrich Drepper <drepper@redhat.com>
13502
13503 * resolv/res_init.c (__res_vinit): Count the default server we added.
13504
c044aa75
CLT
135052010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13506 Ulrich Drepper <drepper@redhat.com>
13507
13508 [BZ #11968]
13509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13510 (____longjmp_chk): Use %ebx for saving value across system call.
13511 Add unwind info.
13512
32cf4069
AS
135132010-09-06 Andreas Schwab <schwab@redhat.com>
13514
13515 * manual/Makefile: Don't mix pattern rules with normal rules.
13516
817328ee
AS
135172010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13518
13519 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13520 operation.
13521 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13522 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13523 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13524 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13526 Likewise.
13527
29fddf61
UD
135282010-09-04 Ulrich Drepper <drepper@redhat.com>
13529
13530 [BZ #11979]
13531 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13532 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13533
0959ffc9
UD
135342010-09-02 Ulrich Drepper <drepper@redhat.com>
13535
13536 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13537 * sysdeps/x86_64/addmul_1.S: Likewise.
13538 * sysdeps/x86_64/lshift.S: Likewise.
13539 * sysdeps/x86_64/mul_1.S: Likewise.
13540 * sysdeps/x86_64/rshift.S: Likewise.
13541 * sysdeps/x86_64/sub_n.S: Likewise.
13542 * sysdeps/x86_64/submul_1.S: Likewise.
13543
ece29840
ST
135442010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13545
0959ffc9
UD
13546 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13547 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13548 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13549 * bits/sched.h [__need_schedparam]
ece29840 13550 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13551 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13552 (__defined_schedparam): Define to 1.
ece29840
ST
13553 (__sched_param): New structure, identical to sched_param.
13554 (__need_schedparam): Undefine.
13555
e53a31fe
MF
135562010-08-31 Mike Frysinger <vapier@gentoo.org>
13557
fdc0c10d
MF
13558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13559 (epoll_create1): Declare.
13560
e53a31fe
MF
13561 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13562
a726d796
AS
135632010-08-31 Andreas Schwab <schwab@redhat.com>
13564
13565 [BZ #7066]
13566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13567 shifting retval into place.
13568
2f3e3dc7
UD
135692010-09-01 Ulrich Drepper <drepper@redhat.com>
13570
f2933da9
UD
13571 * nis/rpcsvc/nis.h: Update copyright notice.
13572 * nis/rpcsvc/nis.x: Likewise.
13573 * nis/rpcsvc/nis_callback.h: Likewise.
13574 * nis/rpcsvc/nis_callback.x: Likewise.
13575 * nis/rpcsvc/nis_object.x: Likewise.
13576 * nis/rpcsvc/nis_tags.h: Likewise.
13577 * nis/rpcsvc/yp.h: Likewise.
13578 * nis/rpcsvc/yp.x: Likewise.
13579 * nis/rpcsvc/ypupd.h: Likewise.
13580 * nis/yp_xdr.c: Likewise.
13581 * nis/ypupdate_xdr.c: Likewise.
13582
2f3e3dc7
UD
13583 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13584 mainly the body of pmap_getport. Add parameters to specify timeouts.
13585 (pmap_getport): Use __libc_rpc_getport.
13586 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13587 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13588 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13589
f3dcc2f9
AS
135902010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13591
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13593 fanotify_mark.
13594
6d34eb5b
RM
135952010-08-27 Roland McGrath <roland@redhat.com>
13596
13597 * sysdeps/i386/i686/multiarch/Makefile
13598 (CFLAGS-varshift.c): New variable.
13599
9ea3de11
UD
136002010-08-27 Ulrich Drepper <drepper@redhat.com>
13601
c96d23fc
UD
13602 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13603 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13604
9ea3de11
UD
13605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13606
13607 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13608
623aac7f
L
136092010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13610
13611 * sysdeps/x86_64/strlen.S: Unroll the loop.
13612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13613 strlen-sse2 strlen-sse2-bsf.
13614 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13615 __strlen_no_bsf if bit_Slow_BSF is set.
13616 (__strlen_sse42): Removed.
13617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13618 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13619
8b2b7715
RM
136202010-08-25 Roland McGrath <roland@redhat.com>
13621
13622 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13623 * sysdeps/x86_64/multiarch/varshift.c: New file.
13624 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13625 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13626 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13627 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13628
e73015f2
L
136292010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13630
13631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13632 strlen-sse2 strlen-sse2-bsf.
13633 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13634 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13635 (__strlen_sse2): Removed.
13636 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13639 bit_Slow_BSF for Atom.
13640 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13641 (index_Slow_BSF): Define.
13642 (HAS_SLOW_BSF): Define.
13643
df24a73e
UD
136442010-08-25 Ulrich Drepper <drepper@redhat.com>
13645
13646 [BZ #10851]
13647 * resolv/res_init.c (__res_vinit): When no server address at all
13648 is given default to loopback.
13649
f2ac4868
RM
136502010-08-24 Roland McGrath <roland@redhat.com>
13651
09055553
RM
13652 * configure.in: Remove config-name.h generation.
13653 * configure: Regenerated.
13654 * config-name.in: File removed.
13655 * scripts/config-uname.sh: New file.
13656 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13657 ($(objdir)config-name.h): New target.
13658
f2ac4868
RM
13659 * sunrpc/rpc_parse.h: Avoid nested comment.
13660
73f27d5e
RH
136612010-08-24 Richard Henderson <rth@redhat.com>
13662 Ulrich Drepper <drepper@redhat.com>
13663 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13667 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13668 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13669 _mm_alignr_epi8 with _mm_loadu_si128.
13670 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13671 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13672 (__m128i_shift_right): Removed.
13673 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13674 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13675 * sysdeps/x86_64/multiarch/varshift.h: New file.
13676 * sysdeps/x86_64/multiarch/varshift.S: New file.
13677
84b9230c
MF
136782010-08-21 Mike Frysinger <vapier@gentoo.org>
13679
13680 * configure.in: Move assembler checks to before sysdep dir checking.
13681
9bbd0ddc
PB
136822010-08-20 Petr Baudis <pasky@suse.cz>
13683
13684 * LICENSES: Sync the sunrpc license.
13685
9da4bb31
UD
136862010-08-19 Ulrich Drepper <drepper@redhat.com>
13687
a7ab6ec8
UD
13688 * sunrpc/auth_des.c: Update copyright notice once again.
13689 * sunrpc/auth_none.c: Likewise.
13690 * sunrpc/auth_unix.c: Likewise.
13691 * sunrpc/authdes_prot.c: Likewise.
13692 * sunrpc/authuxprot.c: Likewise.
13693 * sunrpc/bindrsvprt.c: Likewise.
13694 * sunrpc/clnt_gen.c: Likewise.
13695 * sunrpc/clnt_perr.c: Likewise.
13696 * sunrpc/clnt_raw.c: Likewise.
13697 * sunrpc/clnt_simp.c: Likewise.
13698 * sunrpc/clnt_tcp.c: Likewise.
13699 * sunrpc/clnt_udp.c: Likewise.
13700 * sunrpc/clnt_unix.c: Likewise.
13701 * sunrpc/des_crypt.c: Likewise.
13702 * sunrpc/des_soft.c: Likewise.
13703 * sunrpc/get_myaddr.c: Likewise.
13704 * sunrpc/getrpcport.c: Likewise.
13705 * sunrpc/key_call.c: Likewise.
13706 * sunrpc/key_prot.c: Likewise.
13707 * sunrpc/openchild.c: Likewise.
13708 * sunrpc/pm_getmaps.c: Likewise.
13709 * sunrpc/pm_getport.c: Likewise.
13710 * sunrpc/pmap_clnt.c: Likewise.
13711 * sunrpc/pmap_prot.c: Likewise.
13712 * sunrpc/pmap_prot2.c: Likewise.
13713 * sunrpc/pmap_rmt.c: Likewise.
13714 * sunrpc/rpc/auth.h: Likewise.
13715 * sunrpc/rpc/auth_unix.h: Likewise.
13716 * sunrpc/rpc/clnt.h: Likewise.
13717 * sunrpc/rpc/des_crypt.h: Likewise.
13718 * sunrpc/rpc/key_prot.h: Likewise.
13719 * sunrpc/rpc/netdb.h: Likewise.
13720 * sunrpc/rpc/pmap_clnt.h: Likewise.
13721 * sunrpc/rpc/pmap_prot.h: Likewise.
13722 * sunrpc/rpc/pmap_rmt.h: Likewise.
13723 * sunrpc/rpc/rpc.h: Likewise.
13724 * sunrpc/rpc/rpc_des.h: Likewise.
13725 * sunrpc/rpc/rpc_msg.h: Likewise.
13726 * sunrpc/rpc/svc.h: Likewise.
13727 * sunrpc/rpc/svc_auth.h: Likewise.
13728 * sunrpc/rpc/types.h: Likewise.
13729 * sunrpc/rpc/xdr.h: Likewise.
13730 * sunrpc/rpc_clntout.c: Likewise.
13731 * sunrpc/rpc_cmsg.c: Likewise.
13732 * sunrpc/rpc_common.c: Likewise.
13733 * sunrpc/rpc_cout.c: Likewise.
13734 * sunrpc/rpc_dtable.c: Likewise.
13735 * sunrpc/rpc_hout.c: Likewise.
13736 * sunrpc/rpc_main.c: Likewise.
13737 * sunrpc/rpc_parse.c: Likewise.
13738 * sunrpc/rpc_parse.h: Likewise.
13739 * sunrpc/rpc_prot.c: Likewise.
13740 * sunrpc/rpc_sample.c: Likewise.
13741 * sunrpc/rpc_scan.c: Likewise.
13742 * sunrpc/rpc_scan.h: Likewise.
13743 * sunrpc/rpc_svcout.c: Likewise.
13744 * sunrpc/rpc_tblout.c: Likewise.
13745 * sunrpc/rpc_util.c: Likewise.
13746 * sunrpc/rpc_util.h: Likewise.
13747 * sunrpc/rpcinfo.c: Likewise.
13748 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13749 * sunrpc/rpcsvc/key_prot.x: Likewise.
13750 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13751 * sunrpc/rpcsvc/mount.x: Likewise.
13752 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13753 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13754 * sunrpc/rpcsvc/rex.x: Likewise.
13755 * sunrpc/rpcsvc/rstat.x: Likewise.
13756 * sunrpc/rpcsvc/rusers.x: Likewise.
13757 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13758 * sunrpc/rpcsvc/spray.x: Likewise.
13759 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13760 * sunrpc/rtime.c: Likewise.
13761 * sunrpc/svc.c: Likewise.
13762 * sunrpc/svc_auth.c: Likewise.
13763 * sunrpc/svc_authux.c: Likewise.
13764 * sunrpc/svc_raw.c: Likewise.
13765 * sunrpc/svc_run.c: Likewise.
13766 * sunrpc/svc_simple.c: Likewise.
13767 * sunrpc/svc_tcp.c: Likewise.
13768 * sunrpc/svc_udp.c: Likewise.
13769 * sunrpc/svc_unix.c: Likewise.
13770 * sunrpc/svcauth_des.c: Likewise.
13771 * sunrpc/xcrypt.c: Likewise.
13772 * sunrpc/xdr.c: Likewise.
13773 * sunrpc/xdr_array.c: Likewise.
13774 * sunrpc/xdr_float.c: Likewise.
13775 * sunrpc/xdr_mem.c: Likewise.
13776 * sunrpc/xdr_rec.c: Likewise.
13777 * sunrpc/xdr_ref.c: Likewise.
13778 * sunrpc/xdr_sizeof.c: Likewise.
13779 * sunrpc/xdr_stdio.c: Likewise.
13780
9da4bb31
UD
13781 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13782 handling.
13783
bdaa77bc
AS
137842010-08-19 Andreas Schwab <schwab@redhat.com>
13785
13786 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13787
fe2f79db
LM
137882010-08-19 Luis Machado <luisgpm@br.ibm.com>
13789
13790 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13791 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13792 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13793 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13795 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13796 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13797 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13798 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13799 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13800 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13801 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13802 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13803 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13804
b9b42ee0
AB
138052010-07-26 Anton Blanchard <anton@samba.org>
13806
13807 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13808 * malloc/arena.c (heap_trim): Likewise.
13809
1c06ba31
UD
138102010-08-16 Ulrich Drepper <drepper@redhat.com>
13811
13812 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13813 here. Not...
13814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13815 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13816
f8392f40
L
138172010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13818
13819 * sysdeps/i386/elf/Makefile: New file.
13820
3162f12e
AS
138212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13822
13823 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13824 from fanotify_init.
13825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13827
28c90b2c
UD
138282010-08-15 Ulrich Drepper <drepper@redhat.com>
13829
13830 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13831 of strncasecmp_l.
1feccb6c 13832 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13833
ca6bb004
UD
138342010-08-14 Ulrich Drepper <drepper@redhat.com>
13835
e9f82e0d
UD
13836 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13837 strncase_l-nonascii.
13838 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13839 Add strncase_l-ssse3.
13840 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13841 * sysdeps/x86_64/strcmp.S: Likewise.
13842 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13843 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13844 * sysdeps/x86_64/strncase.S: New file.
13845 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13846 * sysdeps/x86_64/strncase_l.S: New file.
13847 * string/Makefile (strop-tests): Add strncasecmp.
13848 * string/test-strncasecmp.c: New file.
13849
13850 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13851 warning.
13852
ca6bb004
UD
13853 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13854 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13855
052fa7b3
AS
138562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13857
13858 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13859
962dba78
UD
138602010-08-12 Ulrich Drepper <drepper@redhat.com>
13861
13862 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13863 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13864 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13865
bebff237
AM
138662010-05-01 Alan Modra <amodra@gmail.com>
13867
13868 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13869 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13870 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13871 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13872 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13873 tidying. Don't tail-call __sigjmp_save for static lib.
13874 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13875 save location.
13876 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13877 (CALL_MCOUNT): Add eh info, and nop after bl.
13878 (TAIL_CALL_SYSCALL_ERROR): New macro.
13879 (PSEUDO_RET): Use it.
13880 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13881 Correct save location of integer regs and cr.
13882 (_dl_profile_resolve): Correct cr save location. Delete nops
13883 after bl when SHARED. Reduce cfi size a little by better
13884 placement of cfi directives.
13885 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13886 make a stack frame. Instead use parm save area as a temp.
13887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13888 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13890 Don't make a stack frame for parent, use parm save area.
13891 Increase child stack frame to 112 bytes. Don't save unused reg,
13892 and adjust reg usage. Set up cfi on error recovery and
13893 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13895 (__makecontext): Add dummy nop after jump to exit.
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13897 Use correct parm save area and cr save, reduce stack frame.
13898 Correct cfi for possible PSEUDO_RET frame setup.
13899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13900 Branch to local label emitted by PSEUDO_RET rather than
13901 __syscall_error.
13902
02637374
AS
139032010-08-12 Andreas Schwab <schwab@redhat.com>
13904
13905 [BZ #11904]
13906 * locale/programs/locale.c (print_assignment): New function.
13907 (show_locale_vars): Use it.
13908
c3e2f19b
UD
139092010-08-11 Ulrich Drepper <drepper@redhat.com>
13910
3cdaa6ad
UD
13911 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13912 field.
13913 (struct statfs64): Likewise.
13914 (_STATFS_F_FLAGS): Define.
13915 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13916 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13917 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13918 (ST_VALID): Define locally.
13919 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13920 __statvfs_getflags, use the provided value.
13921 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13922 __ASSUME_STATFS_F_FLAGS.
13923
754f7da3
UD
13924 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13925
10b3bedc
UD
13926 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13927 Add sys/fanotify.h.
13928 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13929 fanotify_mask for GLIBC_2.13.
13930 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13931 fanotify_init and fanotify_mark.
13932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13933 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13934
c08fb0d7
UD
13935 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13936 Add prlimit.
13937 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13938 prlimit64 for GLIBC_2.13.
13939 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13940 prlimit64.
13941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13942 syscall.
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13944 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13945 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13948 add prlimit alias.
13949 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13950
15bac72b
UD
13951 [BZ #11903]
13952 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13953 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13954
c3e2f19b
UD
13955 * nss/Makefile: Add rules to build and run tst-nss-test1.
13956 * shlib-versions: Add entry for libnss_test1.
13957 * nss/nss_test1.c: New file.
13958 * nss/tst-nss-test1.c: New file.
13959
13960 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13961 (__nss_configure_lookup): Set appropriate entry in
13962 __nss_configure_lookup to true.
13963 * nss/nsswitch.h: Define enum with indeces of databases in
13964 databases and __nss_database_custom arrays. Declare
13965 __nss_database_custom.
13966 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13967 to avoid using nscd when custom rules are installed.
13968 * nss/getXXbyYY_r.c: Likewise.
13969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13970
13971 * nss/nss_files/files-parse.c: Whitespace fixes.
13972
f15ce4d8
UD
139732010-08-09 Ulrich Drepper <drepper@redhat.com>
13974
13975 [BZ #11883]
13976 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13977 * posix/fnmatch_loop.c: Likewise.
13978
d22e4cc9
AK
139792010-07-17 Andi Kleen <ak@linux.intel.com>
13980
13981 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13982 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13983 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13984 * Versions.def [GLIBC_2.13]: Add.
13985
805bc17d
UD
139862010-08-06 Ulrich Drepper <drepper@redhat.com>
13987
13988 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13989 Also fail if tpwd after pwuid call is NULL.
13990
5a42321d
ST
139912010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13992
13993 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13994 when converting to ms.
13995
fd3ebeda
ST
139962010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13997
13998 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13999 EOPNOTSUPP errors with ENOTTY.
14000 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14001 EOPNOTSUPP errors with ENOTTY.
14002
73507d3a
UD
140032010-07-31 Ulrich Drepper <drepper@redhat.com>
14004
14005 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14006 Add strcasecmp_l-ssse3.
14007 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14008 strcasecmp.
14009 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14010 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14011 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14012
fe36dd02
UD
140132010-07-30 Ulrich Drepper <drepper@redhat.com>
14014
66f6765a
UD
14015 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14016
42e08a54
UD
14017 * string/Makefile (strop-tests): Add strcasecmp.
14018 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14019 strcasecmp_l-nonascii.
14020 (gen-as-const-headers): Add locale-defines.sym.
14021 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14022 * sysdeps/x86_64/strcasecmp.S: New file.
14023 * sysdeps/x86_64/strcasecmp_l.S: New file.
14024 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14025 * sysdeps/x86_64/locale-defines.sym: New file.
14026 * string/test-strcasecmp.c: New file.
14027
fe36dd02
UD
14028 * string/test-strcasestr.c: Test both ends of the range of characters.
14029 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14030
48cbc0d6
RM
140312010-07-29 Roland McGrath <roland@redhat.com>
14032
76e6d6bc 14033 [BZ #11856]
48cbc0d6
RM
14034 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14035
880113d9
UD
140362010-07-27 Ulrich Drepper <drepper@redhat.com>
14037
14038 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14039 for ld.so.
14040
deb9cabb
AS
140412010-07-27 Andreas Schwab <schwab@redhat.com>
14042
14043 * manual/memory.texi (Malloc Tunable Parameters): Document
14044 M_PERTURB.
14045
1c7570ff
RM
140462010-07-26 Roland McGrath <roland@redhat.com>
14047
14048 [BZ #11840]
14049 * configure.in (-fgnu89-inline check): Set and substitute
14050 gnu89_inline, not libc_cv_gnu89_inline.
14051 * configure: Regenerated.
14052 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14053
24fb0f88
UD
140542010-07-26 Ulrich Drepper <drepper@redhat.com>
14055
14056 * string/test-strnlen.c: New file.
14057 * string/Makefile (strop-tests): Add strnlen.
14058 * string/tester.c (test_strnlen): Add a few more test cases.
14059 * string/tst-strlen.c: Better error reporting.
14060
14061 * sysdeps/x86_64/strnlen.S: New file.
14062
8e96b93a
UD
140632010-07-24 Ulrich Drepper <drepper@redhat.com>
14064
14065 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14066 lower-latency instructions.
14067
dbc676d4
UD
140682010-07-23 Ulrich Drepper <drepper@redhat.com>
14069
14070 * string/test-strcasestr.c: New file.
14071 * string/test-strstr.c: New file.
14072 * string/Makefile (strop-tests): Add strstr and strcasestr.
14073 * string/str-two-way.h: Don't undefine MAX.
14074 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14075
f6a31e0e
AS
140762010-07-21 Andreas Schwab <schwab@redhat.com>
14077
14078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14079 strcasestr-nonascii.
14080 (CFLAGS-strcasestr-nonascii.c): Define.
14081 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14082 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14083 Remove unused attribute.
14084
5dbc3b6c
RM
140852010-07-20 Roland McGrath <roland@redhat.com>
14086
14087 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14088 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14089 ld.so.cache was broken. With it, there is no way to disable dsocaps
14090 like LD_HWCAP_MASK can disable hwcaps.
14091
23d101d8
EPM
140922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14093
14094 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14095
cc9f2e47
UD
140962010-07-16 Ulrich Drepper <drepper@redhat.com>
14097
14098 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14099 call in strcasestr.
14100 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14101 __strcasestr_sse42_nonascii.
14102 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14103 strcasestr-nonascii.c.
14104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14105
77c1b069
LM
141062010-06-15 Luis Machado <luisgpm@br.ibm.com>
14107
14108 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14110 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14111 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14112
440566c3
UD
141132010-07-09 Ulrich Drepper <drepper@redhat.com>
14114
14115 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14116 fcntl.
14117
5be9d05d
AS
141182010-07-06 Andreas Schwab <schwab@redhat.com>
14119
c30b7ee2 14120 [BZ #11577]
5be9d05d
AS
14121 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14122 dl_signal_cerror.
14123
8a492a67
UD
141242010-07-06 Ulrich Drepper <drepper@redhat.com>
14125
14126 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14127 _PC_PIPE_BUF using F_GETPIPE_SZ.
14128
713df3d5
RM
141292010-07-05 Roland McGrath <roland@redhat.com>
14130
14131 * manual/arith.texi (Rounding Functions): Fix rint description
14132 implicit in round description.
14133
702e8f14
UD
141342010-07-02 Ulrich Drepper <drepper@redhat.com>
14135
14136 * elf/Makefile: Fix linking for a few tests to make recent linker
14137 happy.
14138
52ed8be9
AS
141392010-06-30 Andreas Schwab <schwab@redhat.com>
14140
14141 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14142 $(common-objpfx)libc_nonshared.a.
14143
f47c9a11
LM
141442010-06-21 Luis Machado <luisgpm@br.ibm.com>
14145
14146 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14147 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14148 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14149 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14150 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14151 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14152 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14153 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14168 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14169 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14170 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14171 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14172 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14173 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14174 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14175 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14176 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14177 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14178 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14179 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14194
6fb8cbcb
L
141952010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14196
14197 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14198 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14199 * string/memmove.c (memmove): Renamed to ...
14200 (MEMMOVE): ...this. Default to memmove.
14201 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14202 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14203 (END_CHK): Define.
14204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14205 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14206 mempcpy-ssse3-back memmove-ssse3-back.
14207 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14209 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14210 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14211 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14212 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14213 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14214 * sysdeps/x86_64/multiarch/memmove.c: New file.
14215 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14216 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14217 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14218 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14219 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14221 Define.
14222 (index_Fast_Copy_Backward): Define.
14223 (HAS_ARCH_FEATURE): Define.
14224 (HAS_FAST_REP_STRING): Define.
14225 (HAS_FAST_COPY_BACKWARD): Define.
14226
4e733bac 142272010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14228
14229 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14230 Restore proper fallback handling.
14231
63c4ed22
UD
142322010-06-19 Ulrich Drepper <drepper@redhat.com>
14233
ac2b484c
UD
14234 [BZ #11701]
14235 * posix/group_member.c (__group_member): Correct checking loop.
14236
63c4ed22
UD
14237 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14238 OOM in getpwuid_r correctly. Return error number when the caller
14239 should return, otherwise -1.
14240 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14241 call returning > 0 value.
14242 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14243
765ade4b
AS
142442010-06-07 Andreas Schwab <schwab@redhat.com>
14245
14246 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14247 libc_nonshared.a from targets in modules-names.
14248
80da2e09
KS
142492010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14250
14251 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14252 requires it.
14253
158db122
LM
142542010-06-10 Luis Machado <luisgpm@br.ibm.com>
14255
14256 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14257 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14258 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14259 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14260
caa78cf8
AS
142612010-06-02 Andreas Schwab <schwab@redhat.com>
14262
14263 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14264
b2ef2c01
UD
142652010-06-14 Ulrich Drepper <drepper@redhat.com>
14266
14267 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14268 and F_GETPIPE_SZ.
14269 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14274 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14275
fbd643b6
RM
142762010-06-14 Roland McGrath <roland@redhat.com>
14277
14278 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14279
f32f2869
JJ
142802010-06-07 Jakub Jelinek <jakub@redhat.com>
14281
14282 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14283 __REDIRECT followed by __THROW.
14284 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14285 * posix/getopt.h (getopt): Likewise.
14286
2a50c078
EPM
142872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14288
14289 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14290 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14291 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14292 in AT_FLAGS.
14293 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14294 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14295
eb5ad2eb
LM
142962010-05-28 Luis Machado <luisgpm@br.ibm.com>
14297
14298 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14299
3c88fe1e
L
143002010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14301
14302 [BZ #11640]
14303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14304 Properly check family and model.
14305
d2f73151
TY
143062010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14307
14308 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14309
ebd2e13d
LM
143102010-05-24 Luis Machado <luisgpm@br.ibm.com>
14311
14312 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14313
b32b8b45
UD
143142010-05-21 Ulrich Drepper <drepper@redhat.com>
14315
14316 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14317 symbol reference.
14318
9acbe24d
AS
143192010-05-19 Andreas Schwab <schwab@redhat.com>
14320
14321 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14322 symbol reference.
14323
f0ccf6ea
AS
143242010-05-21 Andreas Schwab <schwab@redhat.com>
14325
3d04ff3a
AS
14326 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14327 and internal_recvmmsg.
14328 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14329 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14330 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14331 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14332
f0ccf6ea
AS
14333 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14334 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14335 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14336
5b08ac57
AS
143372010-05-20 Andreas Schwab <schwab@redhat.com>
14338
14339 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14340
4828935d
LM
143412010-05-17 Luis Machado <luisgpm@br.ibm.com>
14342
14343 POWER7 optimizations.
14344 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14345 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14346
373d545e
UD
143472010-05-19 Ulrich Drepper <drepper@redhat.com>
14348
14349 * version.h: Update for 2.13 development version.
14350
21a2b1ae
AS
143512010-05-12 Andrew Stubbs <ams@codesourcery.com>
14352
14353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14354 exceptions. Return 0.
14355
3f7dcb2b
RM
143562010-05-07 Roland McGrath <roland@redhat.com>
14357
14358 * elf/ldconfig.c (main): Add a const.
14359
5f24d53a 143602010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14361
a160f8d8
UD
14362 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14363 (args_options): Add no-idn option.
14364 (ahosts_keys_int): Add idn_flags to ai_flags.
14365 (parse_option): Handle 'i' option to clear idn_flags.
14366
5f24d53a
UD
14367 * malloc/malloc.c (_int_free): Possible race in the most recently
14368 added check. Only act on the data if no current modification
14369 happened.
265bb1ce
UD
14370
14371See ChangeLog.17 for earlier changes.