]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
configure change to handle Implies-{before,after} files
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ba75122d
RM
12012-05-15 Roland McGrath <roland@hack.frob.com>
2
3 * configure.in (sysnames): Look for Implies-before and Implies-after
4 files.
5 * configure: Regenerated.
6
890d8bd8
L
72012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8
9 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10 8-byte data alignment with LP_SIZE alignment.
11
f6ee6623
L
122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13
14 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
15 into R10_LP.
16
ea2626f6
L
172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18
19 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20
085f715e
L
212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22
23 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26 Likewise.
27 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28
be8498fc
L
292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30
31 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32 (stackinfo_sub_sp): Likewise.
33
70bc83b9
L
342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35
36 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37 RAX_LP.
38
9bc0b730
L
392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40
41 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42 into R*_LP.
43
6d2850e7
L
442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45
46 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47 sizes into R*_LP.
48
3cb84561
L
492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50
51 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52
54e2ed81
L
532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
54
55 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56 into R11_LP and load __x86_64_shared_cache_size_half into
57 R8_LP.
58
8a17f349
L
592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60
61 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62 R8_LP.
63
777b1eea
AZ
642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65
66 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67 logb for POWER7.
68 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69 logbf for POWER7.
70 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71 logbl for POWER7.
72 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73 powerpc32/power7/fpu/s_logb.c via #include.
74 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
75 powerpc32/power7/fpu/s_logbf.c via #include.
76 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
77 powerpc32/power7/fpu/s_logbl.c via #include.
78
d20d4ac2
JM
792012-05-15 Joseph Myers <joseph@codesourcery.com>
80
81 * README.libm: Remove file.
82
6cdef1ab
L
832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
84
85 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
86 count for x32. Use R*_LP and omit operand-size suffix.
87
0b254d8f
L
882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
89
90 * shlib-versions: Move x86_64-.*-linux.* entries to ...
91 * sysdeps/x86_64/64/shlib-versions: Here. New file.
92 * sysdeps/x86_64/x32/shlib-versions: New file.
93
ceb809dc
RM
942012-05-14 Roland McGrath <roland@hack.frob.com>
95
96 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
97 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
98 Use _dl_fatal_printf instead.
99
37f1abd4
JM
1002012-05-14 Joseph Myers <joseph@codesourcery.com>
101
102 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
103 set if not set by the user. Do not allow for being unset.
104 * sysdeps/unix/sysv/linux/configure: Regenerated.
105
11de3a33
L
1062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
107
108 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
109 the `q' suffix from lea and replace .quad with ASM_ADDR.
110
e02f153a
L
1112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
112
113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
114 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
115 instead of $17.
116 (PTR_DEMANGLE): Likewise.
117
520ae0fd
L
1182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
119
120 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
121 (LP_OP): Likewise.
122 (ASM_ADDR): Likewise.
123 (RAX_LP): Likewise.
124 (RBP_LP): Likewise.
125 (RBX_LP): Likewise.
126 (RCX_LP): Likewise.
127 (RDI_LP): Likewise.
128 (RSI_LP): Likewise.
129 (RSP_LP): Likewise.
130 (R8_LP): Likewise.
131 (R9_LP): Likewise.
132 (R10_LP): Likewise.
133 (R10_LP): Likewise.
134 (R11_LP): Likewise.
135 (R12_LP): Likewise.
136 (R13_LP): Likewise.
137 (R14_LP): Likewise.
138 (R15_LP): Likewise.
139
b985be81
L
1402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
141
142 * sysdeps/x86_64/x32/dl-machine.h: New file.
143
6a4888ff
AJ
1442012-05-14 Andreas Jaeger <aj@suse.de>
145
146 * manual/Makefile (subdir): Remove export of subdir.
147 (all): Remove target.
148 (.PHONY): Remove all from list.
149 (mkinstalldirs): Remove.
150 (.PHONY): Remove installdirs from list.
151 ($(inst_infodir)/libc.info): Use make-target-directory.
152 (installdirs): Remove.
153 (subdir_%): Remove.
154 (glibc-targets): Remove.
155 (lib): Remove.
156 (stubs): Remove.
157 ($(objpfx)stubs ../po/manual.pot): Remove.
158 ($(objpfx)stamp%): Remove.
159 (make-target-directory): Remove.
160 (subdir_install): Remove.
161 (routines): Remove.
162 (aux): Remove.
163 (sources): Remove.
164 (objects): Remove.
165 (headers): Remove.
166
167 [BZ #13750]
168 * manual/.gitignore: Remove, it's not needed anymore.
169 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
170 all files in it.
171 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
172 directory.
173 (texis): Renamed to $(objpfx)texis.
174 (texis-path): New, contains path to generated files.
175 (chapters.%): Use texis-path for complete path, add extra argument
176 libc-texinfo.sh.
177 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
178 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
179 (summary,texi, stamp-summary): Use complete path of
180 files. Generate files in build dir.
181 (dir-add.texi): Build in build dir.
182 (libm-err.texi,stamp-libm-err): Likewise.
183 (version.texi, stamp-version): Likewise.
184 (.%c.texi): Likewise.
185 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
186 (mostlyclean): Remove target.
187 (realclean): Remove target.
188 (generated): Add new variable with contents from mostlyclean and
189 realclean, remove entries duplicated in common-mostlyclean, add
190 stamp-libm-err and stamp-version.
191 (generated-dirs): Add libc directory.
192 ($(inst_infodir)/libc.info): Install files from build dir.
193
194 * manual/install.texi (Configuring and compiling): Adjust since
195 the info files are not part of the tar ball anymore.
196
7ac77294
AJ
1972012-05-14 Andreas Jaeger <aj@suse.de>
198
199 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
200 variable.
201
ffb7875d
JM
2022012-05-14 Joseph Myers <joseph@codesourcery.com>
203
204 [BZ #13717]
205 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
206 to 2.2.0 where earlier.
207 * sysdeps/unix/sysv/linux/configure: Regenerated.
208 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
209 Remove conditional code.
210 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
211 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
212 Remove conditional code.
213 [!__NR_lchown]: Likewise.
214 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
215 [__NR_lchown]: Likewise.
216 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
217 comment referencing __ASSUME_LCHOWN_SYSCALL.
218 * sysdeps/unix/sysv/linux/i386/sigaction.c
219 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
220 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
221 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
222 Remove conditional code.
223 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
224 (__protocol_available): Remove #if 0 code.
225 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
226 conditional code.
227 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
228 * sysdeps/unix/sysv/linux/kernel-features.h
229 (__ASSUME_GETCWD_SYSCALL): Don't define.
230 (__ASSUME_REALTIME_SIGNALS): Likewise.
231 (__ASSUME_PREAD_SYSCALL): Likewise.
232 (__ASSUME_PWRITE_SYSCALL): Likewise.
233 (__ASSUME_POLL_SYSCALL): Likewise.
234 (__ASSUME_LCHOWN_SYSCALL): Likewise.
235 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
236 non-SPARC.
237 (__ASSUME_SIOCGIFNAME): Don't define.
238 (__ASSUME_MSG_NOSIGNAL): Likewise.
239 (__ASSUME_SENDFILE): Define unconditionally.
240 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
241 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
242 conditional code.
243 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
244 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
245 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
246 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
247 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
248 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
249 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
251 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
254 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
263 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
266 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
269 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
272 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
274 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
275 Remove conditional code.
276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
277 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
278 Remove conditional code.
279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
280 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
281 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
282 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
283 Remove conditional code.
284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
285 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
286 Remove conditional code.
287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
288 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
289 Remove conditional code.
290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
291 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
292 Remove conditional code.
293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
294 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
295 Remove conditional code.
296 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
297 * sysdeps/unix/sysv/linux/sh/pwrite64.c
298 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
300 * sysdeps/unix/sysv/linux/sigaction.c
301 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
302 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
303 * sysdeps/unix/sysv/linux/sigpending.c
304 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
305 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
306 * sysdeps/unix/sysv/linux/sigprocmask.c
307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
309 * sysdeps/unix/sysv/linux/sigsuspend.c
310 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
311 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
312 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
313 (__libc_missing_rt_sigs): Remove.
314 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
315 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
316 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
317 Remove conditional code.
318 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
319 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
320 return 1.
321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
322 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
323 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
324 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
325
1bfb7291
AJ
3262012-05-14 Andreas Jaeger <aj@suse.de>
327
caae5a81
AJ
328 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
329 it's not used in glibc.
330 (__coshm1): Likewise.
331 (__acosh1p): Likewise.
332 (__sgn): Likewise.
333
1bfb7291
AJ
334 * manual/string.texi (Copying and Concatenation): Add missing
335 variable in concat example.
336 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
337
c044d724
L
3382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
339
144c5467 340 [BZ #14103]
c044d724
L
341 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
342 __builtin_clzl with __builtin_clzll.
343
2523c62b
L
3442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
345
346 [BZ #14104]
347 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
348 libc_freeres_ptr.
349
d7bb4c42
LD
3502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
351
352 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
353 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
354 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
355 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
356
9dc4e1fb
MF
3572012-05-14 Mike Frysinger <vapier@gentoo.org>
358
359 * NEWS: Update ia64 info.
360
c7df0112
AS
3612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
362
363 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
364 used as bcopy.
365
dc70356c
TS
3662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
367
368 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
369 * sysdeps/unix/syscalls.list (dup3): Likewise.
370 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
371 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
372
9fb1a21f
L
3732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
374
375 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
376 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
377
4822a2a5
L
3782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
379
380 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
381 thread pointer.
382 (TLS_IE): Use mov/add instead of movq/addq to load thread
383 pointer.
384 (TLS_GD_PREFIX): New.
385 (TLS_GD): Use it.
386
842b81d6
DM
3872012-05-11 David S. Miller <davem@davemloft.net>
388
389 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
390 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
391 (_FPU_SETCW): Likewise.
392
1cf463cd
L
3932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
394
395 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
396 is 32-byte aligned.
397
60cc4a18
AS
3982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
399
400 [BZ #11837]
401 * iconvdata/gb18030.c: Update tables.
402 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
403 characters specially.
404 (BODY for TO_LOOP): Add encoding of missing ranges.
405
febb44a4
TS
4062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
407
408 [BZ #13673]
409 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
410 * sysdeps/mach/hurd/dup3.c: Likewise.
411 * sysdeps/mach/hurd/readlinkat.c: Likewise.
412 * sysdeps/powerpc/memmove.c:: Likewise.
413
0a10fb9e
L
4142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
415
416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
417 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
418
df8a552f
L
4192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
420
421 * elf/elf.h (R_X86_64_RELATIVE64): New.
422 (R_X86_64_NUM): Updated.
423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
424 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
425 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
426 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
427 tst-quad1pie tst-quad2pie
428 (modules-names): Add tst-quadmod1 tst-quadmod2.
429 ($(objpfx)tst-quad1): New dependency.
430 ($(objpfx)tst-quad2): Likewise.
431 ($(objpfx)tst-quad1pie): Likewise.
432 ($(objpfx)tst-quad2pie): Likewise.
433 * sysdeps/x86_64/tst-quad1.c: New file.
434 * sysdeps/x86_64/tst-quad1pie.c: New file.
435 * sysdeps/x86_64/tst-quad2.c: Likewise.
436 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
437 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
438 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
439 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
440 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
441
f34d6f84
ST
4422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
443
f42d41d1
ST
444 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
445 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
446 * streams/stropts.h (t_scalar_t): Define type.
447
3c3571fc
ST
448 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
449 (_PATH_PRESERVE): Set to "/var/lib".
450 (_PATH_RWHODIR): Set to "/var/spool/rwho".
451
61f06bd3
ST
452 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
453 instead of int.
454
918d4d71
ST
455 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
456 if __dir_mkfile succeeded.
457
f34d6f84
ST
458 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
459 checking for _hurd_dtablesize. Unlock it right after having
460 finished _hurd_dtable allocation.
461
10589b4a
TS
4622012-05-10 Thomas Schwinge <thomas@schwinge.name>
463
674cdbc7
TS
464 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
465 * sysdeps/mach/hurd/configure: Regenerated.
466 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
467 special-casing to...
468 * sysdeps/gnu/configure.in: ... this new file.
469 * sysdeps/unix/sysv/linux/configure: Regenerated.
470 * sysdeps/gnu/configure: New generated file.
471
8e41b99f
TS
472 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
473 for Linux: use nsec instead of usec, as well as:
474 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
475 members of type struct timespec.
476 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
477 New macros.
478 (struct stat64): Likewise.
479 (_STATBUF_ST_NSEC): New macro.
480 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
481
10589b4a
TS
482 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
483 __strtoul_internal rather than strtoul.
484
63643c85
PT
4852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
486
487 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
488 and reject them.
489
3faebe6a
ST
4902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
491
492 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
493 which preserves existing values.
494 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
495
c6474b07
PT
4962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
497
498 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
499 TIMEOUT values. Return EINVAL for NFDS values either negative or
500 greater than FD_SETSIZE.
501
1043890b
ST
5022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
503
504 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
505 allocated, call __vm_protect to finish enabling the existing space, and
506 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
507 allocate the remainder.
508
37ed8b9b
PT
5092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
510
511 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
512 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
513
db653660
ST
5142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
515
37ed8b9b
PT
516 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
517 sysdeps/mach/hurd/readlink.c.
b29d4053 518
db653660
ST
519 * posix/tst-sysconf.c (posix_options): Only use
520 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
521 _POSIX_SYNCHRONIZED_IO when they are defined
522 * sysdeps/mach/hurd/bits/posix_opt.h:
523 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
524 (_XOPEN_REALTIME): Undefine macro.
525 (_XOPEN_REALTIME_THREADS): Undefine macro.
526 (_XOPEN_SHM): Undefine macro.
527 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
528 macro to -1.
529 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
530 macro to -1.
531 (_POSIX_ASYNC_IO): Undefine macro.
532 (_POSIX_PRIORITIZED_IO): Undefine macro.
533 (_POSIX_SPIN_LOCKS): Define macro to -1.
534
ee16e894
ST
535 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
536 SA_NODEFER, SA_RESETHAND.
537 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
538 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
539 F_DUPFD_CLOEXEC.
540
6103ae3b
TS
5412012-05-10 Thomas Schwinge <thomas@schwinge.name>
542
543 * elf/Makefile (pldd-modules): Define unconditionally.
544
80b4e5f3
TS
5452012-05-10 Thomas Schwinge <thomas@schwinge.name>
546
547 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
548
edadcbd6
ST
5492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
550
551 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
552 Return ENOENT when name is empty.
553 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
554
80694780
TS
5552012-05-10 Thomas Schwinge <thomas@schwinge.name>
556
1792c087
TS
557 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
558
80694780
TS
559 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
560
6b645f0d
ST
5612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
562
80694780
TS
563 Fix mlock in all cases except non-readable pages.
564 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
565 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 566
6b645f0d
ST
567 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
568 (__mkdir): When path is `/', just fail with EEXIST.
569 * sysdeps/mach/hurd/mkdirat.c: Likewise.
570
e468f8a3
TS
5712012-05-10 Thomas Schwinge <thomas@schwinge.name>
572
573 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
574 <sys/uio.h> (for writev).
575 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
576 and <sys/param.h> (for MIN).
577
a4186cff
PT
5782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
579
580 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
581 REQUESTED_TIME. Properly set the remaining time and return EINTR
582 if interrupted.
583
510bbf14
TS
5842012-05-10 Thomas Schwinge <thomas@schwinge.name>
585
586 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
587 Depend on against $(link-rpcuserlibs).
588
5d5722e8
ST
5892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
590
a4186cff
PT
591 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
592 (__libc_stack_end): Do not use attribute_relro.
593 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
594 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 595 to libthread-provided value.
a4186cff
PT
596 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
597 attribute_relro.
5d5722e8 598
37233df9
TS
5992012-05-10 Thomas Schwinge <thomas@schwinge.name>
600
be971a2b
TS
601 [BZ #3748]
602 * bits/libc-lock.h (__libc_once_get): New macro.
603 * sysdeps/mach/bits/libc-lock.h: Likewise.
604 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
606 instead of using implementation details.
607
37233df9
TS
608 * libio/fileops.c: Unconditionally include <kernel-features.h>.
609 * libio/freopen.c: Likewise.
610 * libio/freopen64.c: Likewise.
611 * misc/syslog.c: Likewise.
612 * nscd/connections.c: Likewise.
613 * nscd/netgroupcache.c: Likewise.
614 * sysdeps/posix/getcwd.c: Likewise.
615
38de94a5
RM
6162012-05-10 Roland McGrath <roland@hack.frob.com>
617
618 * math/w_ilogbf.c: Add #include <limits.h>.
619
67530489
ST
6202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
621
a4186cff 622 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
623 path instead of returning without unlocking.
624
67530489
ST
625 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
626 immediate-write ioctls.
627 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
628
5aa3a74a
TS
6292012-05-10 Thomas Schwinge <thomas@schwinge.name>
630
18bad2ae
TS
631 * sysdeps/mach/hurd/i386/init-first.c (init): Use
632 __builtin_frame_address instead of making assumptions about the
633 location of the return address relative to DATA. Force early load of
634 the return address.
635 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
636 __builtin_frame_address.
637
5aa3a74a
TS
638 dup3 for GNU Hurd.
639 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
640 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
641 implement dup3 and do some further code clean-ups.
642 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
643 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
644
ecd0de9a
ST
6452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
646
cd9fa985
ST
647 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
648
a4186cff
PT
649 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
650 HURD_CRITICAL_END around holding _hurd_dtable_lock.
651 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
652 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
653 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
654 d->port.lock.
802ca5a5 655
a4186cff
PT
656 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
657 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
658 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 659
bcf55240
TS
6602012-05-10 Thomas Schwinge <thomas@schwinge.name>
661
6960eb42
TS
662 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
663 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
664 definitions.
665
eb43375f
TS
666 accept4 for GNU Hurd.
667 * include/sys/socket.h (__libc_accept4): New prototype.
668 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
669 to implement __libc_accept4.
670 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
671 __libc_accept4.
672 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
673
bcf55240
TS
674 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
675 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
676 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
677 signal-defines.sym.
678
6178c55b
ST
6792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
680
a4186cff 681 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 682
6f080c2f
TS
6832012-05-10 Thomas Schwinge <thomas@schwinge.name>
684
685 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
686 assertion on O_CLOEXEC flag.
687 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
688 * hurd/intern-fd.c: Likewise.
689 * hurd/port2fd.c: Likewise.
690
bcfe3a54
ST
6912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
692
693 [BZ #3906]
694 * bits/in.h (IPV6_PKTINFO): Define new macro.
695 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
696
89c9aa49
AZ
6972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
698
699 [BZ #13954]
700 [BZ #13955]
701 [BZ #13956]
702 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
703 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
704 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
705 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
707 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
708 * math/libm-test.inc (logb_test) : Additional logb tests.
709
021db4be
AJ
7102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
711 Andreas Jaeger <aj@suse.de>
712
713 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
714 * configure: Regenerated.
715 * config.h.in (LINK_OBSOLETE_RPC): New macro.
716 * config.make.in (link-obsolete-rpc): New substituted variable.
717 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
718 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
719 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
720 (shared-only-routines): Don't set it under [link-obsolete-rpc],
721 so that libc.a contains the symbols.
722 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
723 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
724 * sunrpc/auth_none.c: Likewise.
725 * sunrpc/auth_unix.c: Likewise.
726 * sunrpc/authdes_prot.c: Likewise.
727 * sunrpc/authuxprot.c: Likewise.
728 * sunrpc/clnt_gen.c: Likewise.
729 * sunrpc/clnt_perr.c: Likewise.
730 * sunrpc/clnt_raw.c: Likewise.
731 * sunrpc/clnt_simp.c: Likewise.
732 * sunrpc/clnt_tcp.c: Likewise.
733 * sunrpc/clnt_udp.c: Likewise.
734 * sunrpc/clnt_unix.c: Likewise.
735 * sunrpc/des_crypt.c: Likewise.
736 * sunrpc/des_soft.c: Likewise.
737 * sunrpc/get_myaddr.c: Likewise.
738 * sunrpc/key_call.c: Likewise.
739 * sunrpc/key_prot.c: Likewise.
740 * sunrpc/netname.c: Likewise.
741 * sunrpc/pm_getmaps.c: Likewise.
742 * sunrpc/pm_getport.c: Likewise.
743 * sunrpc/pmap_clnt.c: Likewise.
744 * sunrpc/pmap_prot.c: Likewise.
745 * sunrpc/pmap_prot2.c: Likewise.
746 * sunrpc/pmap_rmt.c: Likewise.
747 * sunrpc/publickey.c: Likewise.
748 * sunrpc/rpc_cmsg.c: Likewise.
749 * sunrpc/rpc_common.c: Likewise.
750 * sunrpc/rpc_dtable.c: Likewise.
751 * sunrpc/rpc_prot.c: Likewise.
752 * sunrpc/rpc_thread.c: Likewise.
753 * sunrpc/rtime.c: Likewise.
754 * sunrpc/svc.c: Likewise.
755 * sunrpc/svc_auth.c: Likewise.
756 * sunrpc/svc_raw.c: Likewise.
757 * sunrpc/svc_run.c: Likewise.
758 * sunrpc/svc_tcp.c: Likewise.
759 * sunrpc/svc_udp.c: Likewise.
760 * sunrpc/svc_unix.c: Likewise.
761 * sunrpc/svcauth_des.c: Likewise.
762 * sunrpc/xcrypt.c: Likewise.
763 * sunrpc/xdr.c: Likewise.
764 * sunrpc/xdr_array.c: Likewise.
765 * sunrpc/xdr_float.c: Likewise.
766 * sunrpc/xdr_intXX_t.c: Likewise.
767 * sunrpc/xdr_mem.c: Likewise.
768 * sunrpc/xdr_rec.c: Likewise.
769 * sunrpc/xdr_ref.c: Likewise.
770 * sunrpc/xdr_sizeof.c: Likewise.
771 * sunrpc/xdr_stdio.c: Likewise.
772
b5c086a2
RM
7732012-05-10 Roland McGrath <roland@hack.frob.com>
774
775 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
776 change. Update copyright years.
777
6d74dd09
JM
7782012-05-10 Joseph Myers <joseph@codesourcery.com>
779
780 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
781
28e72501
MK
7822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
783 Joseph Myers <joseph@codesourcery.com>
784 Paul Pluzhnikov <ppluzhnikov@google.com>
785
786 [BZ #14012]
787 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
788 requiring rpcgen.
789 [cross-compiling] (extra-libs): Likewise.
790 [cross-compiling] (extra-libs-others): Likewise.
791 [cross-compiling] (librpcsvc-routines): Likewise.
792 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
793 [cross-compiling] (omit-deps): Likewise.
794 (sunrpc-CPPFLAGS): New variable.
795 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
796 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
797 (cross-rpcgen-objs): New variable.
798 (extra-objs): Append $(cross-rpcgen-objs).
799 ($(cross-rpcgen-objs)): New rule.
800 ($(objpfx)cross-rpcgen): Likewise.
801 (rpcgen-cmd): Define to use $(built-program-file). Expand
802 comment.
803 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
804 ($(objpfx)x%.stmp): Likewise.
805 * sunrpc/proto.h [IS_IN_build] (_): Define.
806 [IS_IN_build] (_libc_intl_domainname): Likewise.
807
c8c59454
L
8082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
809
810 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
811 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
812 and R_X86_64_TPOFF64.
813
6f27cd16
JM
8142012-05-10 Joseph Myers <joseph@codesourcery.com>
815
816 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
817 sysdeps/unix/sysv/syscalls.list.
818 (stime): Likewise.
819 (utime): Likewise.
820 * sysdeps/unix/sysv/syscalls.list: Remove file.
821
02467e1c
PE
8222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
823
824 [BZ #3440]
825 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
826 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
827 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
828 (__LC_IDENTIFICATION): Make these macros useful in #if
829 expressions, as required by C99.
830
da392631
AS
8312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
832
833 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
834 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
835 after this.
836
8115f29b
L
8372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
838
839 * stdlib/longlong.h: Updated from GCC.
840
bdd74070
AJ
8412012-05-09 Andreas Jaeger <aj@suse.de>
842
edfe0dbe
AJ
843 * nscd/nscd.c (run_modes): Make named enum, reorder so that
844 default is first entry.
845 (run_mode): Set type.
846 (main): Remove informal message about syslog.
847 (options): Fix typo.
848
bcfe3a54
ST
849 [BZ #14053]
850 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 851 to asm.
bcfe3a54
ST
852 (lrint): Likewise.
853 (llrintf): Likewise.
854 (llrint): Likewise.
855 (rint): Likewise.
856 (rintf): Likewise.
857 (nearbyint): Likewise.
858 (nearbyintf): Likewise.
bdd74070 859
91d8d69e
AJ
8602012-05-09 Andreas Jaeger <aj@suse.de>
861 Pedro Alves <palves@redhat.com>
862
863 * nscd/nscd.c (run_mode): Use enum.
864 (main): Cleanup coding style issue.
865
bb90b80b
AJ
8662012-05-09 Alexandre Oliva <aoliva@redhat.com>
867 Andreas Jaeger <aj@suse.de>
868
bcfe3a54
ST
869 * nscd/nscd.c (go_background): Replaced with...
870 (run_mode): ... this.
bb90b80b 871 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
872 (options): Add -F --foreground.
873 (main): Implement it.
874 (parse_opt): Parse it.
bb90b80b 875
1a4b75a1
AJ
8762012-05-09 Andreas Jaeger <aj@suse.de>
877
878 [BZ #14083]
879 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
880 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
881 -Wconversion warning.
882 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
883 Likewise.
884
b1cc2472
JM
8852012-05-09 Joseph Myers <joseph@codesourcery.com>
886
887 * conform/data/locale.h-data (NULL): Use macro-constant. Require
888 == 0.
889 (LC_ALL): Use macro-int-constant.
890 (LC_COLLATE): Likewise.
891 (LC_CTYPE): Likewise.
892 (LC_MESSAGES): Likewise.
893 (LC_MONETARY): Likewise.
894 (LC_NUMERIC): Likewise.
895 (LC_TIME): Likewise.
896 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
897 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
898 [ISO || ISO99 || ISO11] (*_t): Do not allow.
899 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
900 Specify type.
901 [C99-based standards] (float_t): Expect type.
902 [C99-based standards] (double_t): Expect type.
903 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
904 type.
905 [C99-based standards] (HUGE_VALL): Likewise.
906 [C99-based standards] (INFINITY): Likewise.
907 [C99-based standards] (NAN): Likewise.
908 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
909 [C99-based standards] (FP_NAN): Likewise.
910 [C99-based standards] (FP_NORMAL): Likewise.
911 [C99-based standards] (FP_SUBNORMAL): Likewise.
912 [C99-based standards] (FP_ZERO): Likewise.
913 [C99-based standards] (FP_FAST_FMA): Use
914 optional-macro-int-constant. Specify type. Require == 1.
915 [C99-based standards] (FP_FAST_FMAF): Likewise.
916 [C99-based standards] (FP_FAST_FMAL): Likewise.
917 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
918 [C99-based standards] (FP_ILOGBNAN): Likewise.
919 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
920 Specify type.
921 [C99-based standards] (MATH_ERREXCEPT): Likewise.
922 [C99-based standards] (math_errhandling): Specify type.
923 [ISO99 || ISO11] (signgam): Do not allow.
924 [non-C99-based standards] (copysignf): Do not allow.
925 [non-C99-based standards] (exp2f): Likewise.
926 [non-C99-based standards] (log2f): Likewise.
927 [non-C99-based standards] (modff): Allow.
928 [non-C99-based standards] (erff): Do not allow.
929 [non-C99-based standards] (erfcf): Likewise.
930 [non-C99-based standards] (gammaf): Likewise.
931 [non-C99-based standards] (hypotf): Likewise.
932 [non-C99-based standards] (j0f): Likewise.
933 [non-C99-based standards] (j1f): Likewise.
934 [non-C99-based standards] (jnf): Likewise.
935 [non-C99-based standards] (lgammaf): Likewise.
936 [non-C99-based standards] (tgammaf): Likewise.
937 [non-C99-based standards] (y0f): Likewise.
938 [non-C99-based standards] (y1f): Likewise.
939 [non-C99-based standards] (ynf): Likewise.
940 [non-C99-based standards] (isnanf): Likewise.
941 [non-C99-based standards] (acoshf): Likewise.
942 [non-C99-based standards] (asinhf): Likewise.
943 [non-C99-based standards] (atanhf): Likewise.
944 [non-C99-based standards] (cbrtf): Likewise.
945 [non-C99-based standards] (expm1f): Likewise.
946 [non-C99-based standards] (ilogbf): Likewise.
947 [non-C99-based standards] (log1pf): Likewise.
948 [non-C99-based standards] (logbf): Likewise.
949 [non-C99-based standards] (nextafterf): Likewise.
950 [non-C99-based standards] (remainderf): Likewise.
951 [non-C99-based standards] (rintf): Likewise.
952 [non-C99-based standards] (scalbf): Likewise.
953 [non-C99-based standards] (copysignl): Likewise.
954 [non-C99-based standards] (exp2l): Likewise.
955 [non-C99-based standards] (log2l): Likewise.
956 [non-C99-based standards] (modfl): Allow.
957 [non-C99-based standards] (erfl): Do not allow.
958 [non-C99-based standards] (erfcl): Likewise.
959 [non-C99-based standards] (gammal): Likewise.
960 [non-C99-based standards] (hypotl): Likewise.
961 [non-C99-based standards] (j0l): Likewise.
962 [non-C99-based standards] (j1l): Likewise.
963 [non-C99-based standards] (jnl): Likewise.
964 [non-C99-based standards] (lgammal): Likewise.
965 [non-C99-based standards] (tgammal): Likewise.
966 [non-C99-based standards] (y0l): Likewise.
967 [non-C99-based standards] (y1l): Likewise.
968 [non-C99-based standards] (ynl): Likewise.
969 [non-C99-based standards] (isnanl): Likewise.
970 [non-C99-based standards] (acoshl): Likewise.
971 [non-C99-based standards] (asinhl): Likewise.
972 [non-C99-based standards] (atanhl): Likewise.
973 [non-C99-based standards] (cbrtl): Likewise.
974 [non-C99-based standards] (expm1l): Likewise.
975 [non-C99-based standards] (ilogbl): Likewise.
976 [non-C99-based standards] (log1pl): Likewise.
977 [non-C99-based standards] (logbl): Likewise.
978 [non-C99-based standards] (nextafterl): Likewise.
979 [non-C99-based standards] (remainderl): Likewise.
980 [non-C99-based standards] (rintl): Likewise.
981 [non-C99-based standards] (scalbl): Likewise.
982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
983 [non-C99-based standards] (FP_*): Do not allow.
984 [C99-based standards] (FP_*): Change to
985 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
986 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
987 allow.
988 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
989 (SIG_ERR): Likewise.
990 [X/Open-based standards] (SIG_HOLD): Likewise.
991 (SIG_IGN): Likewise.
992 (SIGABRT): Use macro-int-constant. Specify type. Require
993 positive value.
994 (SIGFPE): Likewise.
995 (SIGILL): Likewise.
996 (SIGINT): Likewise.
997 (SIGSEGV): Likewise.
998 (SIGTER): Likewise.
999 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1000 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1001 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1002 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1003 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1004 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1005 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1006 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1007 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1008 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1009 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1010 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1011 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1012 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1013 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1014 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1015 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1016 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1017 [X/Open-based standards] (SIGTRAP): Likewise.
1018 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1019 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1020 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1021 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1022 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1023 allow.
1024
b9f1922d
IW
10252012-05-08 Ian Wienand <ianw@vmware.com>
1026
1027 [BZ #14080]
1028 * time/tzset.c (__tzset_parse_tz): Update default rules for
1029 daylight time changes in the Energy Policy Act of 2005.
1030
1db86e88
AJ
10312012-05-09 Andreas Jaeger <aj@suse.de>
1032
1033 [BZ #13983]
1034 * elf/ldconfig.c (parse_conf): Change string to make clear that
1035 ldconfig only issued a warning if ld.so.conf does not exist.
1036
dee4a4e3
DM
10372012-05-08 David S. Miller <davem@davemloft.net>
1038
ee0db190
DM
1039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1040 movxtod instead of popping the value on the stack.
1041
dee4a4e3
DM
1042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1043
6a43ec98
CD
10442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1045
1046 * config.h.in: Add HAVE_ARM_PCS_VFP.
1047
05c2c961
RMG
10482012-05-08 Roland Mc Grath <roland@hack.frob.com>
1049
bcfe3a54
ST
1050 [BZ #13979]
1051 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1052 checking but the checks are disabled for any reason.
05c2c961 1053
4b30f61a
L
10542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1055
1056 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1057 and ELF64_R_TYPE with ELFW(R_TYPE).
1058
eee2bc67
JM
10592012-05-08 Joseph Myers <joseph@codesourcery.com>
1060
7ea5391a
JM
1061 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1062 (ulimit): Likewise.
1063
eee2bc67
JM
1064 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1065 (settimeofday): Likewise.
1066
abb66a67
MF
10672012-05-08 Mike Frysinger <vapier@gentoo.org>
1068
1069 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1070 a struct th_u2 inside the union, and move tu_block/tu_code into
1071 a new th_u3 union of tu_block/tu_code inside of that. Move
1072 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1073 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1074 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1075 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1076 (th_stuff): Change to th_u1.tu_stuff.
1077 (th_data): Define.
1078 (th_msg): Change to th_u1.th_u2.tu_data.
1079
7f18b530
DM
10802012-05-07 David S. Miller <davem@davemloft.net>
1081
05760585
DM
1082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1083
7f18b530
DM
1084 [BZ #14074]
1085 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1086 (SETUP_PIC_REG): Use it.
1087 (SETUP_PIC_REG_LEAF): Use it.
1088
495fd99f
JM
10892012-05-07 Joseph Myers <joseph@codesourcery.com>
1090
1091 [BZ #13885]
1092 [BZ #13923]
1093 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1094 USE_AS_EXPM1L.
1095 (EXPL_FINITE): Likewise.
1096 (FLDLOG): Likewise.
1097 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1098 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1099 e_expl.S.
1100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1101 USE_AS_EXPM1L.
1102 (EXPL_FINITE): Likewise.
1103 (FLDLOG): Likewise.
1104 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1105 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1106 e_expl.S.
1107 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1108 test of -max_value argument for long double.
1109 * sysdeps/i386/fpu/libm-test-ulps: Update.
1110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1111
6693d694
DM
11122012-05-06 David S. Miller <davem@davemloft.net>
1113
1114 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1115 quad soft-float symbols whose references which are compiler
1116 generated.
1117 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1118
6c23e11c
JM
11192012-05-06 Joseph Myers <joseph@codesourcery.com>
1120
d8b82cad
JM
1121 [BZ #13884]
1122 [BZ #13914]
1123 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1124 USE_AS_EXP10L.
1125 (EXPL_FINITE): Likewise.
1126 (FLDLOG): Likewise.
1127 (c0): Likewise.
1128 (c1): Likewise.
1129 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1130 Adjust comments for base varying.
1131 (__expl_finite): Change alias to EXPL_FINITE.
1132 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1133 e_expl.S.
1134 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1135 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1136 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1137 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1138 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1139 USE_AS_EXP10L.
1140 (EXPL_FINITE): Likewise.
1141 (FLDLOG): Likewise.
1142 (c0): Likewise.
1143 (c1): Likewise.
1144 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1145 Adjust comments for base varying.
1146 (__expl_finite): Change alias to EXPL_FINITE.
1147 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1148 tests for bugs.
1149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1150
6c23e11c
JM
1151 [BZ #14064]
1152 * math/libm-test.inc (check_float_internal): Correct ulp
1153 calculation for subnormal expected results.
1154
29ba805c
AJ
11552012-05-06 Andreas Jaeger <aj@suse.de>
1156
1157 * Makeconfig (+math-flags): New, set to -frounding-math.
1158 (+cflags): Add +math-flags so that all of glibc gets compiled with
1159 it.
1160
1161 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1162
7b17aeda
JM
11632012-05-05 Joseph Myers <joseph@codesourcery.com>
1164
5779f134
JM
1165 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1166 Disable one test.
1167
41498f4d
JM
1168 [BZ #13787]
1169 [BZ #13922]
1170 [BZ #14036]
1171 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1172 (__ieee754_expl): Allow for and saturate large arguments.
1173 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1174 (u_threshold): Likewise.
1175 (__exp): Call __ieee754_exp before checking for overflow and
1176 underflow.
1177 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1178 (u_threshold): Likewise.
1179 (__expf): Call __ieee754_expf before checking for overflow and
1180 underflow.
1181 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1182 (u_threshold): Likewise.
1183 (__expl): Call __ieee754_expl before checking for overflow and
1184 underflow.
1185 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1186 (__ieee754_expl): Allow for and saturate large arguments.
1187 * math/libm-test.inc (exp_test): Add another test. Do not allow
1188 missing overflow exception on overflow.
1189 (expm1_test): Do not allow missing overflow exception on overflow.
1190
6698b8bf
JM
1191 * sysdeps/i386/fpu/e_expl.c: Move to ...
1192 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1193 rather than using inline asm.
1194 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1195 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1196 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1197
7b17aeda
JM
1198 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1199 (nice): Likewise.
1200 (poll): Likewise.
1201 (signal): Likewise.
1202 (time): Likewise.
1203 (times): Likewise.
1204
f7c85819
JM
12052012-05-04 Joseph Myers <joseph@codesourcery.com>
1206
1207 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1208 sysdeps/unix/common/syscalls.list.
1209 (fchmod): Likewise.
1210 (fchown): Likewise.
1211 (ftruncate): Likewise.
1212 (getrusage): Likewise.
1213 (gettimeofday): Likewise.
1214 (setpgid): Likewise.
1215 (setregid): Likewise.
1216 (setreuid): Likewise.
1217 (sigaction): Likewise.
1218 (truncate): Likewise.
1219 (vhangup): Likewise.
1220 * sysdeps/unix/common/syscalls.list: Remove file.
1221 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1222 * sysdeps/unix/sysv/linux/Implies: Likewise.
1223
336270d0
L
12242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1225
1226 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1228 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1229 Moved to ...
1230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1231 Here.
1232 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1233 to ...
1234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1235 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1236 to ...
1237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1238 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1239 to ...
1240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1241 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1242 to ...
1243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1244 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1245 to ...
1246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1247 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1248 to ...
1249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1250 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1251 to ...
1252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1253 Here.
1254 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1255 to ...
1256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1257 Here.
1258 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1259 to ...
1260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1261 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1262 Moved to ...
1263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1264 Here.
1265 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1266 to ...
1267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1268
d128e450
JM
12692012-05-04 Joseph Myers <joseph@codesourcery.com>
1270
fa8ee516
JM
1271 * sysdeps/unix/common/bits/dirent.h: Remove file.
1272 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1273
d128e450
JM
1274 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1275 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1276 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1277 * sysdeps/unix/bsd/isatty.c: Likewise.
1278 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1279 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1280 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1281
ff8faaf0 12822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1283
62881be4 1284 [BZ #13563]
31dc8730
AZ
1285 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1286 long double comparison inaccuracies.
1287 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1289
6fef930c
AS
12902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1291
1292 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1294
8f203e6c
JM
12952012-05-04 Joseph Myers <joseph@codesourcery.com>
1296
1297 [BZ #14049]
1298 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1299 nonzero digits before rounding a hex value.
1300 * stdlib/tst-strtod.c (tests): Add another test.
1301
5197d9c2
AK
13022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1303
1304 * sysdeps/s390/fpu/libm-test-ulps: Update.
1305
f0c1dedf
AJ
13062012-05-03 Andreas Jaeger <aj@suse.de>
1307
1308 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1309 does not get optimized out.
1310 (malloc_opt_barrier): New.
1311
a65ef2ae 13122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1313 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1314
2b942cb7 1315 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1316 intermediate file deletion.
2b942cb7 1317 (generated): Add .symlist files.
a65ef2ae 1318
54b71e02
JM
13192012-05-03 Joseph Myers <joseph@codesourcery.com>
1320
1321 [BZ #13775]
1322 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1323 Redirect under this condition.
1324 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1325 [__USE_GNU] (__dprintf_chk): Not under this condition.
1326 [__USE_GNU] (__vdprintf_chk): Likewise.
1327 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1328 under this condition.
1329 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1330 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1331 [__USE_XOPEN2K8] (vdprintf): Likewise.
1332 [__USE_GNU] (__dprintf_chk): Not under this condition.
1333 [__USE_GNU] (__vdprintf_chk): Likewise.
1334 [__USE_GNU] (dprintf): Likewise.
1335 [__USE_GNU] (vdprintf): Likewise.
1336
d3dfcc41
RM
13372012-05-03 Roland McGrath <roland@hack.frob.com>
1338
1339 * elf/Makefile (common-generated): Set this instead of generated for
1340 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1341 $(all-built-dso)-derived lists.
1342
7ac30cc5
AJ
13432012-05-03 Andreas Jaeger <aj@suse.de>
1344
0c51e550
AJ
1345 * sysdeps/i386/fpu/libm-test-ulps: Update.
1346
7ac30cc5
AJ
1347 * FAQ: Removed.
1348 * FAQ.in: Likewise.
1349 * scripts/gen-FAQ.pl: Likewise.
1350 * manual/install.texi (Installation): Point to online location of
1351 FAQ.
1352 * Makefile (files-for-dist): Remove FAQ.
1353 (FAQ): Remove.
1354
d4c2917f
AM
13552012-05-02 Allan McRae <allan@archlinux.org>
1356
1357 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1358 (LDFLAGS-reldepmod5.so): Likewise.
1359 (LDFLAGS-reldep6mod1.so): Likewise.
1360 (LDFLAGS-reldep6mod4.so): Likewise.
1361 (LDFLAGS-reldep8mod3.so): Likewise.
1362 (LDFLAGS-unload4mod1.so): Likewise.
1363 (LDFLAGS-unload4mod2.so): Likewise.
1364 (LDFLAGS-tst-initorder): Likewise.
1365 (LDFLAGS-tst-initordera2.so): Likewise.
1366 (LDFLAGS-tst-initordera3.so): Likewise.
1367 (LDFLAGS-tst-initordera4.so): Likewise.
1368 (LDFLAGS-tst-initorderb2.so): Likewise.
1369 (LDFLAGS-noload): Likewise.
1370 (LDFLAGS-next): Likewise.
1371 (LDFLAGS-order2mod1.so): Likewise.
1372 (LDFLAGS-order2mod2.so): Likewise.
1373 (LDFLAGS-tst-initorder2): Likewise.
1374 (LDFLAGS-tst-initorder2a.so): Likewise.
1375 (LDFLAGS-tst-initorder2b.so): Likewise.
1376 (LDFLAGS-tst-initorder2c.so): Likewise.
1377 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1378
d77f993f
DM
13792012-05-02 David S. Miller <davem@davemloft.net>
1380
1381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1382
171a70b4
PP
13832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1384
1385 [BZ #14055]
1386 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1387
0be196ad
AJ
13882012-05-02 Andreas Jaeger <aj@suse.de>
1389
1390 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1391 since we manipulate rounding mode.
1392 (CPPFLAGS-test-idouble.c): Likewise.
1393 (CPPFLAGS-test-ifloat.c): Likewise.
1394 (CFLAGS-test-ldouble.c): Likewise.
1395 (CFLAGS-test-double.c): Likewise.
1396 (CFLAGS-test-float.c): Likewise.
1397 (CFLAGS-test-misc.c): Likewise.
1398 (CFLAGS-test-test-fenv.c): Likewise.
1399
4f9d04aa
AZ
14002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1401
2b942cb7
RM
1402 [BZ #2550]
1403 [BZ #2570]
1404 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1405 comparisons to determine direction to adjust input.
4f9d04aa 1406
82a79e7d
RM
14072012-05-01 Roland McGrath <roland@hack.frob.com>
1408
f5a01ca9
RM
1409 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1410 output to the target.
1411
90fe4186
RM
1412 * scripts/localplt.awk: New file.
1413 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1414 (check-localplt-CFLAGS): Variable removed.
1415 ($(all-built-dso:=.jmprel)): New static pattern rule.
1416 (generated): Add those targets.
1417 (localplt-built-dso): New variable.
1418 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1419
1420 * elf/check-localplt.c: File removed.
1421
82397ed6
RM
1422 * scripts/check-execstack.awk: New file.
1423 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1424 (check-execstack-CFLAGS): Variable removed.
1425 ($(objpfx)check-execstack.h): Target removed.
1426 ($(objpfx)execstack-default): New target.
1427 (generated): Add that instead of check-execstack.h.
1428 ($(all-built-dso:=.phdr)): New static pattern rule.
1429 (generated): Add those targets.
1430 * elf/check-execstack.c: File removed.
1431
82a79e7d
RM
1432 * scripts/check-textrel.awk: New file.
1433 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1434 (check-textrel-CFLAGS): Variable removed.
1435 (all-built-dso): Use := to define.o
1436 ($(all-built-dso:=.dyn)): New static pattern rule.
1437 (generated): Add those targets.
1438 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1439 * config.make.in (READELF): New substituted variable.
1440 * elf/check-textrel.c: File removed.
1441
62fde54f 14422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1443
615605c9
JM
1444 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1445 allow.
1446 * conform/data/ctype.h-data [C99-based standards] (isblank):
1447 Expect function.
1448 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1449 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1451 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1452 Specify type. Require positive value.
1453 (EILSEQ): Likewise.
1454 (ERANGE): Likewise.
1455 [ISO || POSIX] (EILSEQ): Do not expect.
1456 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1457 Specify type. Require positive value.
1458 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1459 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1460 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1461 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1462 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1463 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1464 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1465 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1466 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1467 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1468 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1469 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1470 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1471 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1472 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1473 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1474 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1475 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1476 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1477 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1478 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1479 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1480 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1481 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1482 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1483 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1484 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1485 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1486 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1487 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1488 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1490 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1491 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1492 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1493 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1494 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1495 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1496 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1497 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1498 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1499 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1500 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1501 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1502 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1503 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1504 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1505 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1506 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1507 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1508 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1509 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1510 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1511 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1512 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1513 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1514 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1515 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1516 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1517 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1518 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1519 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1520 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1521 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1522 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1523 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1524 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1525 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1526 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1527 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1528 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1529 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1530 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1531 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1532 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1533 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1534 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1535 Require >= 2.
1536 (FLT_ROUNDS): Expect as macro, not constant.
1537 (FLT_MANT_DIG): Use macro-int-constant.
1538 (DBL_MANT_DIG): Likewise.
1539 (LDBL_MANT_DIG): Likewise.
1540 (FLT_DIG): Likewise.
1541 (DBL_DIG): Likewise.
1542 (LDBL_DIG): Likewise.
1543 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1544 (DBL_MIN_EXP): Likewise.
1545 (LDBL_MIN_EXP): Likewise.
1546 (FLT_MAX_EXP): Use macro-int-constant.
1547 (DBL_MAX_EXP): Likewise.
1548 (LDBL_MAX_EXP): Likewise.
1549 (FLT_MAX_10_EXP): Likewise.
1550 (DBL_MAX_10_EXP): Likewise.
1551 (LDBL_MAX_10_EXP): Likewise.
1552 (FLT_MAX): Use macro-constant.
1553 (DBL_MAX): Likewise.
1554 (LDBL_MAX): Likewise.
1555 (FLT_EPSILON): Use macro-constant. Give upper bound.
1556 (DBL_EPSILON): Likewise.
1557 (LDBL_EPSILON): Likewise.
1558 (FLT_MIN): Likewise.
1559 (DBL_MIN): Likewise.
1560 (LDBL_MIN): Likewise.
1561 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1562 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1563 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1564 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1565 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1566 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1567 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1568 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1569 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1570 [ISO11] (FLT_TRUE_MIN): Likewise.
1571 [ISO11] (LDBL_TRUE_MIN): Likewise.
1572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1573 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1574 (SCHAR_MIN): Use macro-int-constant. Specify type.
1575 (SCHAR_MAX): Likewise.
1576 (UCHAR_MAX): Likewise.
1577 (CHAR_MIN): Likewise.
1578 (CHAR_MAX): Likewise.
1579 (MB_LEN_MAX): Use macro-int-constant.
1580 (SHRT_MIN): Use macro-int-constant. Specify type.
1581 (SHRT_MAX): Likewise.
1582 (USHRT_MAX): Likewise.
1583 (INT_MAX): Likewise.
1584 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1585 bound negative.
1586 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1587 bound with "U".
1588 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1589 bound with "L".
1590 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1591 bound negative. Suffix upper bound with "L".
1592 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1593 bound with "UL".
1594 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1595 Specify type.
1596 [C99-based standards] (LLONG_MAX): Likewise.
1597 [C99-based standards] (ULLONG_MAX): Likewise.
1598 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1599 == 0.
1600 [ISO11] (max_align_t): Require type.
1601 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1602
c9140a62
JM
1603 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1604 from $CFLAGS, without defining away __attribute__ calls.
1605 (checknamespace): Use $CFLAGS_namespace.
1606
9af0bf29
JM
1607 * conform/conformtest.pl (@keywords): Only include C99 keywords
1608 for standards based on C99 or C11.
1609
343222a2
JM
1610 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1611 Disable tests.
1612 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1613 UNIX98]: Likewise.
1614
661f8cf0
JM
1615 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1616 usability of symbols in #if.
1617
ee74b9cb
JM
1618 * conform/conformtest.pl: If macro or constant types start
1619 "promoted:", expect the symbol to be of the following type
1620 promoted by the integer promotions.
62fde54f 1621
aafc49b3
JM
1622 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1623 in one place. Also handle "macro-constant".
1624
fefdf574
JM
1625 * conform/conformtest.pl: Only accept expected macro values with
1626 "==". Parse all "macro" lines in one place.
1627 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1628
f2d922fe
JM
1629 * conform/conformtest.pl: Handle braced types on "constant" lines
1630 instead of handling "typed-constant".
1631 * conform/data/signal.h-data: Use "constant" instead of
1632 "typed-constant".
1633
d22956c9
JM
1634 * conform/conformtest.pl: Handle "optional-" at start of lines in
1635 one place rather than duplicating several cases. Handle each
1636 format of "macro" line with initial "optional-".
1637
028e2e38
JM
1638 * conform/conformtest.pl: Only accept expected constant or
1639 optional-constant values with "==". Parse all "constant" lines in
1640 one place. Parse all "optional-constant" lines in one place.
1641 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1642 * conform/data/fmtmsg.h-data: Likewise.
1643 * conform/data/netinet/in.h-data: Likewise.
1644 * conform/data/tar.h-data: Likewise.
1645 * conform/data/limits.h-data: Use "==" form on "constant" and
1646 "optional-constant" lines.
1647
1b8f2850
JM
1648 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1649 Use -std=c99 for XOPEN2K.
1650 (@knownproblems): Remove.
1651 (newtoken): Don't check %isknown.
1652
a05a144b
JM
1653 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1654 Do not expect macro.
1655 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1657 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1667 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1668 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1685 [XPG3] (acosh): Likewise.
1686 [XPG3] (asinh): Likewise.
1687 [XPG3] (atanh): Likewise.
1688 [XPG3] (cbrt): Likewise.
1689 [XPG3] (expm1): Likewise.
1690 [XPG3] (ilogb): Likewise.
1691 [XPG3] (log1p): Likewise.
1692 [XPG3] (logb): Likewise.
1693 [XPG3] (nextafter): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1696 [XPG3] (remainder): Likewise.
1697 [XPG3] (rint): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1705 [UNIX98 || XOPEN2K] (scalb): Expect.
1706 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1707 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1742 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1743 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1744 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1745 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1746 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1748 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1752 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1753 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1755 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1756 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1757 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1758 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1759 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1760 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1761 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1762 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1763 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1772 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1773 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1774 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1775 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1776 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1777 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1778 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1779 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1780 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1781 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1784 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1785 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1790 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1791 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1792 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1793 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1794 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1795 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1796 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1797 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1798 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1799 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1801 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1802 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1803 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1804 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1805 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1806 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1807 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1808 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1810 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1811 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1812 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1813 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1814 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1815 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1816 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1817 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1818 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1819 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1820 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1821 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1822 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1823 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1824 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1825 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1826 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1827 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1829 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1830 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1831 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1832 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1833 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1834 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1835 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1836 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1837 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1838 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1839 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1840 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1841 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1842 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1843
73c5ebe3
JM
1844 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1845 _XOPEN_SOURCE_EXTENDED for XPG4.
1846
39c33b6c
JM
1847 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1848
62fde54f
JM
1849 * Makeconfig (localtime): Remove variable.
1850 (inst_localtime-file): Likewise.
1851
0741d64c
AS
18522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1853
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1855 Update.
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1857 Update.
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1859 Update.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1861 Update.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1863 Update.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1865 Update.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1867 Update.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1869 Update.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1871 Update.
1872
7cb029ee
JM
18732012-05-01 Joseph Myers <joseph@codesourcery.com>
1874
1875 [BZ #2550]
1876 [BZ #2570]
1877 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1878 comparisons to determine direction to adjust input.
1879 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1880 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1881 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1882 Likewise.
1883 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1884 Likewise.
1885 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1886 Likewise.
1887 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1888 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1889 Likewise.
1890 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1891 Likewise.
1892 * math/libm-test.inc (nexttoward_test): Add more tests.
1893
412bd966
AS
18942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1895
1896 [BZ #14040]
1897 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1898 in version GLIBC_2.1, not GLIBC_2.0.
1899 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1900 Likewise.
1901
9568c0c2
JM
19022012-04-30 Joseph Myers <joseph@codesourcery.com>
1903
adfbc8ac
JM
1904 [BZ #13942]
1905 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1906 (1 - x) * (1 + x).
1907 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1908 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1909 * math/libm-test.inc (acos_test): Add more tests.
1910 (asin_test): Likewise.
1911 * sysdeps/i386/fpu/libm-test-ulps: Update.
1912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1913
5ba3cc69
JM
1914 [BZ #14034]
1915 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1916 of square root.
1917 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1918 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1919 * math/libm-test.inc (acos_test_tonearest): New function.
1920 (acos_test_towardzero): Likewise.
1921 (acos_test_downward): Likewise.
1922 (acos_test_upward): Likewise.
1923 (asin_test_tonearest): Likewise.
1924 (asin_test_towardzero): Likewise.
1925 (asin_test_downward): Likewise.
1926 (asin_test_upward): Likewise.
1927 (main): Call the new functions.
1928 * sysdeps/i386/fpu/libm-test-ulps: Update.
1929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1930
9568c0c2
JM
1931 [BZ #13884]
1932 [BZ #13924]
1933 * math/e_exp10.c: Include <float.h>.
1934 (__ieee754_exp10): Handle underflow here rather than multiplying
1935 large negative argument by M_LN10.
1936 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1937 of __ieee754_expf.
1938 * math/e_exp10l.c: Include <float.h>.
1939 (__ieee754_exp10l): Handle underflow here rather than multiplying
1940 large negative argument by M_LN10l.
1941 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1942 spurious overflow exception on underflow.
1943
5ac3ea17
MP
19442012-04-29 Marek Polacek <polacek@redhat.com>
1945
1946 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1947 (__fortify_function): New macro.
1948 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1949 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1950 __extern_always_inline.
1951 * libio/bits/stdio2.h: Likewise.
1952 * libio/bits/stdio.h: Likewise.
1953 * string/string.h: Likewise.
1954 * string/bits/string3.h: Likewise.
1955 * include/stdio.h: Likewise.
1956 * stdlib/bits/stdlib.h: Likewise.
1957 * stdlib/stdlib.h: Likewise.
1958 * rt/bits/mqueue2.h: Likewise.
1959 * rt/mqueue.h: Likewise.
1960 * posix/bits/unistd.h: Likewise.
1961 * posix/unistd.h: Likewise.
1962 * io/bits/poll2.h: Likewise.
1963 * io/bits/fcntl2.h: Likewise.
1964 * io/fcntl.h: Likewise.
1965 * io/sys/poll.h: Likewise.
1966 * misc/bits/syslog.h: Likewise.
1967 * misc/bits/syslog-ldbl.h: Likewise.
1968 * misc/sys/syslog.h: Likewise.
1969 * socket/bits/socket2.h: Likewise.
1970 * socket/sys/socket.h: Likewise.
1971 * debug/tst-chk1.c: Likewise.
1972 * wcsmbs/bits/wchar2.h: Likewise.
1973 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1974 * wcsmbs/wchar.h: Likewise.
1975
ecf0ebfb
AJ
19762012-04-29 Andreas Jaeger <aj@suse.de>
1977
1978 * Makerules (tests): Remove enable-check-abi protection.
1979 (check-abi-warn): Remove.
1980 (check-abi-%): Remove check-abi-warn usage.
1981
1982 * configure.in: Remove check-abi configure option.
1983 * configure: Regenerated.
1984 * config.make.in (enable-check-abi): Remove.
1985
6d5c57fa
AS
19862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1987
24c5d07e 1988 [BZ #14033]
ded5180a
AS
1989 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1990 double functions to double *_finite functions.
1991
7e0d315d
AS
1992 [BZ #13941]
1993 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1994 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1995 LDBL_MIN_EXP.
1996 * stdio-common/Makefile (tests): Add tst-sprintf3.
1997 * stdio-common/tst-sprintf3.c: New file.
1998
6d5c57fa
AS
1999 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2000 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2001
0749ff8b
JM
20022012-04-28 Joseph Myers <joseph@codesourcery.com>
2003
2004 * conform/conformtest.pl: Remove duplicate typed-constant
2005 handling.
2006
8dbd5d7b
DM
20072012-04-28 David S. Miller <davem@davemloft.net>
2008
2009 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2010 (check-abi-%): Remove AWK script prerequisite and explicit
2011 abilist directory.
2012 (check-abi): Rewrite to just diff the symlist with the abilist.
2013 (config-tls, config-abi-config): Delete, no longer used.
2014 (update-abi-%): Remove AWK script and explicit abilist directory.
2015 (update-abi): Rewrite to simply compare and conditionally copy the
2016 symlist and the sysdep abilist file. Remove update-abi-config
2017 checks.
2018 * abilist/ld.abilist: Remove.
2019 * abilist/libBrokenLocale.abilist: Remove.
2020 * abilist/libanl.abilist: Remove.
2021 * abilist/libcrypt.abilist: Remove.
2022 * abilist/libdl.abilist: Remove.
2023 * abilist/librt.abilist: Remove.
2024 * abilist/libthread_db.abilist: Remove.
2025 * abilist/libutil.abilist: Remove.
2026 * scripts/extract-abilist.awk: Remove.
2027 * scripts/merge-abilist.awk: Remove.
2028 * sysdeps/generic/libcidn.abilist: New file.
2029 * sysdeps/generic/libnss_compat.abilist: New file.
2030 * sysdeps/generic/libnss_db.abilist: New file.
2031 * sysdeps/generic/libnss_dns.abilist: New file.
2032 * sysdeps/generic/libnss_files.abilist: New file.
2033 * sysdeps/generic/libnss_hesiod.abilist: New file.
2034 * sysdeps/generic/libnss_nis.abilist: New file.
2035 * sysdeps/generic/libnss_nisplus.abilist: New file.
2036 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2037 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2038 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2039 file.
2040 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2041 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2042 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2043 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2044 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2045 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2046 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2047 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2048 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2049 file.
2050 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2051 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2052 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2053 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2054 file.
2055 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2056 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2057 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2058 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2059 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2060 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2061 file.
2062 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2063 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2064 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2065 file.
2066 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2068 New file.
2069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2070 New file.
2071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2072 New file.
2073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2074 New file.
2075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2076 New file.
2077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2078 New file.
2079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2080 New file.
2081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2082 New file.
2083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2084 New file.
2085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2086 New file.
2087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2088 New file.
2089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2090 New file.
2091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2092 New file.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2094 file.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2096 New file.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2098 New file.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2100 file.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2102 New file.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2104 New file.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2106 file.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2108 New file.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2110 New file.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2112 New file.
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2114 New file.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2116 New file.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2118 New file.
2119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2121 file.
2122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2123 New file.
2124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2125 file.
2126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2127 file.
2128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2129 file.
2130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2131 file.
2132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2133 file.
2134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2135 New file.
2136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2137 file.
2138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2139 file.
2140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2141 New file.
2142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2143 file.
2144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2146 file.
2147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2148 New file.
2149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2150 file.
2151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2152 file.
2153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2154 file.
2155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2156 file.
2157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2158 file.
2159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2160 New file.
2161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2162 file.
2163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2164 file.
2165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2166 New file.
2167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2168 file.
2169 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2170 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2171 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2172 file.
2173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2174 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2175 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2176 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2177 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2178 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2179 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2180 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2181 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2182 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2185 file.
2186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2187 New file.
2188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2189 file.
2190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2191 file.
2192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2193 file.
2194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2195 file.
2196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2197 file.
2198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2199 New file.
2200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2201 New file.
2202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2203 file.
2204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2205 New file.
2206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2207 file.
2208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2210 file.
2211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2212 New file.
2213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2214 file.
2215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2216 file.
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2218 file.
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2220 file.
2221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2222 file.
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2224 New file.
2225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2226 New file.
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2228 file.
2229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2230 New file.
2231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2232 file.
2233
41d73a1b
JM
22342012-04-28 Joseph Myers <joseph@codesourcery.com>
2235
2236 * conform/conformtest.pl: Fix typo in handling typed-constant from
2237 allow-header.
2238
28aeeda4
JM
22392012-04-27 Joseph Myers <joseph@codesourcery.com>
2240
adae8f5e
JM
2241 * README: Cut down references to pre-2.6 Linux kernels and
2242 Linuxthreads. Update lists of configurations in libc and ports
2243 and sort alphabetically. Say "or newer" with Linux kernel version
2244 requirements.
2245
28aeeda4
JM
2246 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2247
a462cb63
RA
22482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2249
2250 [BZ #887]
2251 * math/libm-test.inc (logb_test_downward): New test to expose
2252 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2253 rounding mode.
2254
6ad3493e
JM
22552012-04-27 Joseph Myers <joseph@codesourcery.com>
2256
2257 [BZ #14027]
2258 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2259 to be done.
2260 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2261 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2262
2ce4f015
JM
22632012-04-26 Joseph Myers <joseph@codesourcery.com>
2264
5aeb141a
JM
2265 * sysdeps/unix/i386/brk.S: Remove file.
2266 * sysdeps/unix/i386/dl-brk.S: Likewise.
2267 * sysdeps/unix/i386/pipe.S: Likewise.
2268 * sysdeps/unix/i386/sigreturn.S: Likewise.
2269 * sysdeps/unix/i386/syscall.S: Likewise.
2270 * sysdeps/unix/i386/vfork.S: Likewise.
2271 * sysdeps/unix/i386/wait.S: Likewise.
2272
7143acae
JM
2273 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2274 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2275
2ce4f015
JM
2276 * configure.in (arm*-none*): Do not allow without
2277 --enable-hacker-mode.
2278 (netbsd*): Remove case setting base_os.
2279 (386bsd*): Likewise.
2280 (freebsd*): Likewise.
2281 (bsdi*): Likewise.
2282 (osf*): Likewise.
2283 (sunos*): Likewise.
2284 (ultrix*): Likewise.
2285 (newsos*): Likewise.
2286 (dynix*): Likewise.
2287 (*bsd*): Likewise.
2288 (sysv*): Likewise.
2289 (isc*): Likewise.
2290 (esix*): Likewise.
2291 (sco*): Likewise.
2292 (minix*): Likewise.
2293 (irix4*): Likewise.
2294 (irix6*): Likewise.
2295 (solaris[2-9]*): Likewise.
2296 (none): Likewise.
2297 * configure: Regenerated.
2298
0ac229c8
AZ
22992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2300
2301 [BZ #11521]
2302 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2303 overflow or cancellation in calculating denominator.
2304 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2306 down expression to avoid unexpected rounding in newer GCCs.
2307 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2308
33f244f4
DM
23092012-04-26 David S. Miller <davem@davemloft.net>
2310
2311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2312 long-double compat symbols.
2313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2326
cfa1f3e8
DM
23272012-04-25 David S. Miller <davem@davemloft.net>
2328
2329 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2330 HWCAP_* values only after the memory barriers have been defined.
2331 (atomic_full_barrier): Define.
2332 (atomic_read_barrier): Define.
2333 (atomic_write_barrier): Define.
2334
6e236b92
SP
23352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2336
2337 * shlib-versions: Add libgcc_s version information.
2338 * sysdeps/generic/libgcc_s.h: Remove.
2339 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2340 libgcc_s.h.
2341 * sysdeps/gnu/unwind-resume.c: Likewise.
2342 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2343
aab39a09
DM
23442012-04-25 David S. Miller <davem@davemloft.net>
2345
2346 * sysdeps/unix/sparc/brk.S: Delete.
2347 * sysdeps/unix/sparc/dl-brk.S: Delete.
2348 * sysdeps/unix/sparc/pipe.S: Delete.
2349 * sysdeps/unix/sparc/sysdep.S: Delete.
2350 * sysdeps/unix/sparc/sysdep.h: Delete.
2351 * sysdeps/unix/sparc/vfork.S: Delete.
2352 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2353 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2354 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2355 ret_ERRVAL, r0, r1, MOVE): Define.
2356 (JUMPTARGET): Remove.
2357 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2358 sysdeps/unix/sparc/sysdep.h
2359 (ENTRY, END): Remove.
2360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2361
a3cc4f48
JM
23622012-04-25 Joseph Myers <joseph@codesourcery.com>
2363
2ed8cda2
JM
2364 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2365 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2366 -DIS_IN_build.
2367
35d76d59
JM
2368 * timezone/README: Update upstream location and email address for
2369 tzcode and tzdata.
2370 * timezone/zdump.c: Update from tzcode 2012b.
2371 * timezone/zic.c: Likewise.
2372
a3cc4f48
JM
2373 * configure.in (libc_cv_as_needed): Remove test.
2374 * configure: Regenerated.
2375 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2376 conditional definition.
2377 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2378 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2379 * config.make.in (have-as-needed): Remove variable.
2380
ceab42c3
SP
23812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2382 Paul Pluzhnikov <ppluzhnikov@google.com>
2383
2384 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2385 strings correctly.
2386
3ce2865f
CLT
23872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2388
2389 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2390 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2391 * sysdeps/sh/strlen.S: Likewise.
2392
f37e0d68
JM
23932012-04-24 Joseph Myers <joseph@codesourcery.com>
2394
ae186e9a
JM
2395 * sysdeps/unix/fork.S: Remove file.
2396 * sysdeps/unix/i386/fork.S: Likewise.
2397 * sysdeps/unix/sparc/fork.S: Likewise.
2398
b96914af
JM
2399 * sysdeps/unix/system.c: Remove file.
2400 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2401
f37e0d68
JM
2402 * sysdeps/unix/getegid.S: Remove file.
2403 * sysdeps/unix/geteuid.S: Likewise.
2404
87ef29ca
RM
24052012-04-24 Roland McGrath <roland@hack.frob.com>
2406
83bcd236
RM
2407 * scripts/check-localplt.awk: New file.
2408 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2409 of diff.
2410 * scripts/data/localplt-generic.data: Add a comment.
2411
87ef29ca
RM
2412 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2413 NODE when __dir_mkfile failed.
2414 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2415 Reported by Ludovic Courtès <ludo@gnu.org>.
2416
e5a6e567
AJ
24172012-04-24 Andreas Jaeger <aj@suse.de>
2418
2419 * Makerules (common-clean): Also remove gen-as-const-headers
2420 files.
2421
c1820385
JM
24222012-04-24 Joseph Myers <joseph@codesourcery.com>
2423
2424 * Makerules (native-compile): Do not change working directory for
2425 build. Use $(OUTPUT_OPTION) in command.
2426 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2427
94e02fc4
AZ
24282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2429
2430 [BZ #13886]
2431 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2432 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2433 * math/libm-test.inc (floor_test): Add more tests.
2434 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2435
3a533ca3
JM
24362012-04-24 Joseph Myers <joseph@codesourcery.com>
2437
940ab4b3
JM
2438 * sysdeps/unix/getdents.c: Remove file.
2439 * sysdeps/unix/sysv/getdents.c: Likewise.
2440 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2441
90e037bd
JM
2442 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2443 sysdeps/unix/mman/syscalls.list.
2444 (mmap): Likewise.
2445 (mprotect): Likewise.
2446 (msync): Likewise.
2447 (munmap): Likewise.
2448 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2449 * sysdeps/unix/mman/syscalls.list: Remove.
2450 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2451
3a533ca3
JM
2452 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2453 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2454 * configure: Regenerated.
2455 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2456 $(libgcc_s_suffix).
2457 * config.make.in (libgcc_s_suffix): Remove variable.
2458
1ad743de
JM
24592012-04-23 Joseph Myers <joseph@codesourcery.com>
2460
4ad451e2
JM
2461 * sysdeps/unix/sysv/gethostname.c: Move to ...
2462 * sysdeps/posix/gethostname.c: ... here.
2463
5e37ce39
JM
2464 * sysdeps/unix/execve.S: Remove file.
2465
1ad743de
JM
2466 * sysdeps/unix/_exit.S: Remove file.
2467
4e681b5b
AJ
24682012-04-23 Andreas Jaeger <aj@suse.de>
2469
2470 [BZ #13739]
2471 * manual/Makefile: Remove make dist support, there's no
2472 need for a stand-alone documentation tar ball.
2473 (TEXI2DVI): Define always, it's not in Makeconfig.
2474 (dist): Removed.
2475 (tar-it): Removed.
2476 (edition): Removed.
2477 (glibc-doc-$(edition).tar): Removed
2478 (%.Z): Removed.
2479 (%.gz): Removed.
2480 (%.uu): Removed.
2481 (ETAGS): Remove, it's in Makeconfig.
2482 (move-if-change): Remove, it's in Makeconfig.
2483
c0baea34
PE
24842013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2485
2486 [BZ #13970]
2487 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2488 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2489 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2490 (strtod_l, strtof_l, strtold_l): Remove __wur.
2491 It is not necessarily an error to ignore strtol's return value.
2492 One can reliably look at the stored endptr to decide whether
2493 the number had valid syntax.
2494
7c0616fa
AJ
24952012-04-21 Andreas Jaeger <aj@suse.de>
2496
803cb6b7 2497 [BZ #13739]
7c0616fa
AJ
2498 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2499
b0fe253f
JM
25002012-04-21 Joseph Myers <joseph@codesourcery.com>
2501
2502 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2503 * sysdeps/unix/sysv/Versions: Remove file.
2504
8280f22d
MT
25052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2506
2507 [BZ #13927]
2508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2509
75ce411f 25102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2511
2512 [BZ #7064]
2513 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2514 version from __vm86.
2515
097d59fa
JM
25162012-04-20 Joseph Myers <joseph@codesourcery.com>
2517
a90f3bcb
JM
2518 * sysdeps/unix/common/lxstat.c: Remove file.
2519 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2520
edc7ea78
JM
2521 * sysdeps/unix/sysv/Makefile: Remove file.
2522
cb78c221
JM
2523 * sysdeps/unix/sysv/direct.h: Remove file.
2524
efa6a45f
JM
2525 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2526 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2527 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2528 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2529 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2530 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2531 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2532
9c9f2d0c
JM
2533 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2534
4541c83b
JM
2535 * sysdeps/unix/xmknod.c: Remove file.
2536 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2537
f5d153a0
JM
2538 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2539
aa746595
JM
2540 * sysdeps/unix/sysv/i386/time.S: Remove file.
2541
cce5905e
JM
2542 * sysdeps/unix/fxstat.c: Remove file.
2543 * sysdeps/unix/xstat.c: Likewise.
2544 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2545
37fa3841
JM
2546 * sysdeps/unix/sysv/sigaction.c: Remove file.
2547
ff1962a3
JM
2548 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2549 (sysdep_headers): Remove variable.
2550 [termio.h not in sysdep_headers] (generated): Likewise.
2551 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2552 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2553 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2554 * sysdeps/unix/sysv/tcflow.c: Likewise.
2555 * sysdeps/unix/sysv/tcflush.c: Likewise.
2556 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2557 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2558 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2559 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2560 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2561
e7740d31
JM
2562 * sysdeps/unix/siglist.c: Remove file.
2563
ee06f18b
JM
2564 * sysdeps/unix/getppid.S: Remove file.
2565
097d59fa
JM
2566 * sysdeps/unix/mkdir.c: Remove file.
2567 * sysdeps/unix/rmdir.c: Likewise.
2568
ff3d51ec
AS
25692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2570
2571 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2572 ERR_MAX value.
2573 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2574 errlist-compat value.
2575
50f81fd7
DM
25762012-04-18 David S. Miller <davem@davemloft.net>
2577
2578 * sysdeps/generic/memcopy.h (reg_char): Delete.
2579 * debug/strcat_chk.c: Use char, not reg_char.
2580 * debug/strcpy_chk.c: Likewise.
2581 * debug/strncat_chk.c: Likewise.
2582 * debug/strncpy_chk.c: Likewise.
2583 * string/memchr.c: Likewise.
2584 * string/memrchr.c: Likewise.
2585 * string/rawmemchr.c: Likewise.
2586 * string/strcat.c: Likewise.
2587 * string/strchr.c: Likewise.
2588 * string/strchrnul.c: Likewise.
2589 * string/strcmp.c: Likewise.
2590 * string/strcpy.c: Likewise.
2591 * string/strncat.c: Likewise.
2592 * string/strncmp.c: Likewise.
2593 * string/strncpy.c: Likewise.
2594
8ff41c46
WS
25952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2596
2597 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2598 __builtin_memcopy is called when src and dest ranges are known to not
2599 overlap.
2600
6b652f46
WS
26012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2602
2603 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2604 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2605 fwd_align_merge macro call.
2606 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2607 bwd_align_merge macro call.
2608 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2609
b282631e
WS
26102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2611
2612 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2613 bwd_align_merge macros.
2614 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2615 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2616 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2617
95aa737c
DM
26182012-04-18 David S. Miller <davem@davemloft.net>
2619
2620 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2621
7a99a614
AJ
26222012-04-18 Andreas Jaeger <aj@suse.de>
2623
2624 [BZ# 6794]
2625 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2626 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2627 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2628
2629 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2630 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2631 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2632
2633 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2634 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2635 Adjust for changed ldbl-128 files.
2636
2637 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2638 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2639 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2640
e5270c23
DM
26412012-04-17 David S. Miller <davem@davemloft.net>
2642
2643 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2644
fb5e92c9
AS
26452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2646
2647 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2648 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2649 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2650 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2651 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2652 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2653
76da7265
AZ
26542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2655
2656 [BZ #6794]
2657 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2658 * math/libm-test.inc: Add ilogb errno and exception tests.
2659 * math/w_ilogb.c: New file: ilogb wrapper.
2660 * math/w_ilogbf.c: New file: ilogbf wrapper.
2661 * math/w_ilogbl.c: New file: ilogbl wrapper.
2662 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2663 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2664 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2665 exception being thrown with 0.0 as argument.
2666 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2667 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2668 exception being thrown with 0.0 as argument.
2669 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2670 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2671 exception being thrown with 0.0 as argument.
2672 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2673 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2674 exception being thrown with 0.0 as argument.
2675 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2676 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2677 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2678 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2679 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2680 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2681 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2682 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2683 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2684
0396e69d
PB
26852012-04-17 Petr Baudis <pasky@ucw.cz>
2686
2687 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2688 with altivec.
2689
750b5926
MP
26902012-04-16 Marek Polacek <polacek@redhat.com>
2691
2692 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2693
751728a1
MP
26942012-04-16 Marek Polacek <polacek@redhat.com>
2695
2696 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2697 operands of fdivp instruction.
2698
34a27407
L
26992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2702 * elf/tst-auditmod3b.c: Likewise.
2703 * elf/tst-auditmod4b.c: Likewise.
2704 * elf/tst-auditmod5b.c: Likewise.
2705 * elf/tst-auditmod6b.c: Likewise.
2706 * elf/tst-auditmod6c.c: Likewise.
2707 * elf/tst-auditmod7b.c: Likewise.
2708 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2709 * sysdeps/x86_64/preconfigure.in: Likewise.
2710 * sysdeps/x86_64/preconfigure: Regenerated.
2711
7e73e17d
L
27122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2715 __ILP32__.
2716
c7a6ab72
AB
27172012-04-13 Antoine Balestrat <merkil33@gmail.com>
2718
2719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2720 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2721
a9e8e0e0
CL
27222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2723
2724 [BZ #13973]
2725 * locale/iso-639.def: Fix gl language name. Spotted by
2726 Yaron Shahrabani.
2727
ec98af7d
RM
27282012-04-12 Roland McGrath <roland@hack.frob.com>
2729
2730 [BZ #2074]
2731 * libio/libio.h (__io_write_fn): Update comment.
2732
247c3ede
PB
27332012-04-12 Petr Baudis <pasky@ucw.cz>
2734
2735 [BZ #2074]
2736 * stdio.texi (Hook Functions): The user provided writer function
2737 is not allowed to return -1.
2738
55939d6d
DM
27392012-04-11 David S. Miller <davem@davemloft.net>
2740
2741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2742
90020f5a
MF
27432012-04-11 Mike Frysinger <vapier@gentoo.org>
2744
2745 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2746 Add a leading slash to rtkaio.
2747
288f9098
JM
27482012-04-11 Jim Meyering <meyering@redhat.com>
2749
90020f5a
MF
2750 [BZ #11959]
2751 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2752 It is not necessarily an error to ignore fwrite's return
2753 value. One can reliably use ferror to test for errors after
2754 the fact.
288f9098 2755
4be2b570
L
27562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2757
2758 * bits/types.h (__snseconds_t): New type.
2759 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2760
2761 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2763 (__SNSECONDS_T_TYPE): Likewise.
2764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2765 (__SNSECONDS_T_TYPE): Likewise.
2766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2767 (__SNSECONDS_T_TYPE): Likewise.
2768
288f9098 27692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2770
2771 [BZ #2636]
2772 * manual/time.texi (Processor Time): Return type of times is
2773 elapsed real time since an arbitrary point in the past.
2774 (CPU Time): Move CLK_TCK from here...
2775 (Processor Time): ...to here. Correct description.
2776 * manual/conf.texi (Constants for Sysconf): Correct description of
2777 _SC_CLK_TCK.
2778
d7dd4413
DM
27792012-04-10 David S. Miller <davem@davemloft.net>
2780
2781 [BZ #13967]
2782 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2783 where the is a gap between DT_REL(A) and DT_JMPREL.
2784
b46068fc
L
27852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2786
2787 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2788 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2789 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2790
73d65cc3
SP
27912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2792
2793 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2794 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2795 (dl_main): Handle --inhibit-cache.
2796 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2797 _dl_inhibit_cache.
2798 * elf/dl-load.c (_dl_map_object): Use it.
2799 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2800
bcc8d661
JM
28012012-04-09 Joseph Myers <joseph@codesourcery.com>
2802
8f9a2fae
JM
2803 [BZ #13872]
2804 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2805 (__ieee754_powl): Saturate large exponents rather than testing for
2806 overflow of y*log2(x).
2807 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2808 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2809 exceptions.
2810
bcc8d661
JM
2811 [BZ #11521]
2812 * math/s_ctan.c: Include <float.h>.
2813 (__ctan): Avoid internal overflow or cancellation in calculating
2814 denominator.
2815 * math/s_ctanf.c: Likewise.
2816 * math/s_ctanl.c: Likewise.
2817 * math/s_ctanh.c: Likewise.
2818 * math/s_ctanhf.c: Likewise.
2819 * math/s_ctanhl.c: Likewise.
2820 * math/libm-test.inc (ctan_test): Add more tests.
2821 (ctanh_test): Likewise.
2822 * sysdeps/i386/fpu/libm-test-ulps: Update.
2823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2824
823fbbb4
AJ
28252012-04-09 Andreas Jaeger <aj@suse.de>
2826
03879793
AJ
2827 [BZ #6894]
2828 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2829 is an optional BSD extension.
2830
823fbbb4
AJ
2831 [BZ #10254]
2832 * manual/stdio.texi (Opening Streams): Document additional fopen
2833 parameters.
2834
8de131cb
RM
28352012-04-09 Roland McGrath <roland@hack.frob.com>
2836
2837 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2838 %eax without telling the compiler.
2839
c0ed9d7d
CD
28402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2841
2842 [BZ # 13963]
2843 * manual/install.texi: Use sourceware.org.
2844
c483f6b4
JM
28452012-04-09 Joseph Myers <joseph@codesourcery.com>
2846
d7dd9453
JM
2847 [BZ #13873]
2848 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2849 (__ieee754_pow): Generate overflow and underflow using huge*huge
2850 and tiny*tiny rather than just returning constant infinity or zero
2851 for large exponents.
2852 * math/libm-test.inc (pow_test): Require overflow exceptions for
2853 applicable cases of large exponents.
2854
c483f6b4
JM
2855 [BZ #706]
2856 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2857 (__ieee754_pow): Use iterative multiplication algorithm only for
2858 integer exponents with absolute value below 1024. Check for odd
2859 integer exponents when using algorithm for real exponents.
2860 * math/libm-test.inc (pow_test): Add more tests.
2861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2862
d2de7579
JM
28632012-04-08 Joseph Myers <joseph@codesourcery.com>
2864
2865 [BZ #13705]
2866 * math/libm-test.inc (exp_test): Do not allow overflow exception
2867 on underflow test.
2868
f77f1232
AJ
28692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2870
2871 [BZ #13705]
2872 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2873 instead of __kernel_standard_f.
2874
3884932b
MF
28752012-04-08 Mike Frysinger <vapier@gentoo.org>
2876
2877 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2878 * sysdeps/x86_64/memset_chk.S: Likewise.
2879
54472e9c
AJ
28802012-04-08 Andreas Jaeger <aj@suse.de>
2881
6ab0fbfc
AJ
2882 [BZ #10153]
2883 * manual/startup.texi (Environment Access): Describe return value
2884 for putenv and setenv.
2885
61efba8c
AJ
2886 [BZ #6895]
2887 * manual/filesys.texi (Directory Entries): Add description for
2888 DT_LNK.
2889
95c3f29a
AJ
2890 [BZ #6890]
2891 * manual/filesys.texi (Directory Entries): Clarify that it's file
2892 system not operating system in the description of DT_UNKNOWN.
2893
54472e9c
AJ
2894 [BZ #6578]
2895 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2896
624254b1
SC
28972012-04-08 Stephen Compall <s11@member.fsf.org>
2898
2899 [BZ #6649]
2900 * manual/llio.texi (Opening and Closing Files): Add cross
2901 reference to explain mode argument.
2902
1e4920e0
MF
29032012-04-07 Mike Frysinger <vapier@gentoo.org>
2904
2905 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2906 * sysdeps/x86_64/memset_chk.S: Likewise.
2907
5ed848f3
DM
29082012-04-07 David S. Miller <davem@davemloft.net>
2909
2910 * elf/elf.h (R_SPARC_WDISP10): Define.
2911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2912 R_SPARC_SIZE32.
2913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2914 R_SPARC_SIZE64 and R_SPARC_H34.
2915
96154cd8
CD
29162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2917
2918 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2919 conditions and remove no longer applicable assertion.
2920
9904dc47
L
29212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2922
2923 * bits/byteswap.h: Include <features.h>.
2924 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2925 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2926
f8887d0a
L
29272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2928
2929 * bits/byteswap.h (__bswap_16): Removed.
2930 Include <bits/byteswap-16.h> to get __bswap_16.
2931 * sysdeps/i386/bits/byteswap.h: Likewise.
2932 * sysdeps/s390/bits/byteswap.h: Likewise.
2933 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2934 * bits/byteswap-16.h: New file.
2935 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2936 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2937 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2938 * string/Makefile (headers): Add bits/byteswap-16.h.
2939
62470f60
PP
29402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2941
2942 [BZ #13895]
2943 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2944 extra indirection.
2945 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2946 * nss/tst-nss-static.c: New.
2947
4dad7bab
RM
29482012-04-06 Robert Millan <rmh@gnu.org>
2949
2950 [BZ #6486]
2951 * manual/llio.texi (File Position Primitive): lseek
2952 refers to WHENCE when it really means OFFSET.
2953
e9142a17
AJ
29542012-04-06 Andreas Jaeger <aj@suse.de>
2955
2c040eff
AJ
2956 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2957 strncmp declarations.
2958
e9142a17
AJ
2959 * abilist/libc.abilist: Add __poll and __ppoll.
2960
ff9f1c5f
DM
29612012-04-05 David S. Miller <davem@davemloft.net>
2962
dcd2ae90
DM
2963 * scripts/check-local-headers.sh: Accept a host triplet in the
2964 path matched by the exclude regexp.
2965
993eb054
DM
2966 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2967 definition.
2968 * sysdeps/powerpc/powerpc32/dl-machine.h
2969 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2970 * sysdeps/s390/s390-32/dl-machine.h
2971 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2972 * sysdeps/sparc/sparc32/dl-machine.h
2973 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2974 * sysdeps/sparc/sparc64/dl-machine.h
2975 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2976
ff9f1c5f
DM
2977 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2978 lazy binding.
48e2e132 2979 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2980 undefined symbol errors.
2981
48e2e132 2982 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2983 DT_NEEDED entries.
2984
e80d6f94
MM
29852012-04-05 Michael Matz <matz@suse.de>
2986
2987 [BZ #13592]
2988 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2989
349fa79f
AJ
29902012-04-05 Andreas Jaeger <aj@suse.de>
2991
2992 [BZ #13908]
2993 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2994 comment.
2995
f402708f
KK
29962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2997
2998 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2999 which ROUND is no valid rounding mode.
3000
2ecccfc9
KK
30012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3002
3003 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3004 read again.
3005 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3006
8a53f50f
KK
30072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3008
3009 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3010 an exception using FPU order intentionally.
3011
30122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3013
3014 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3015 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3016 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3017 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3018
d653abb7
SJ
30192012-04-05 Simon Josefsson <simon@josefsson.org>
3020
3021 [BZ #12340]
3022 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3023 EINVAL when BUFLEN is too smal.
3024
c3b1bf7d
TS
30252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3026
3027 [BZ #13553]
3028 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3029 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3030
b1aa60f3
AJ
30312012-04-03 Andreas Jaeger <aj@suse.de>
3032
c3b1bf7d 3033 [BZ #13938]
67f60a26
AJ
3034 * manual/setjmp.texi (System V contexts): Fix sentence.
3035
b1aa60f3
AJ
3036 [BZ #13926]
3037 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3038 New macro for this case.
3039 [!__GNUC__] (__bswap_64): New inline function for this case.
3040 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3041 * bits/byteswap.h: Likewise.
3042 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3043 ull, guard with __GLIBC_HAVE_LONG_LONG.
3044
3045 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3046 __GLIBC_HAVE_LONG_LONG.
3047
3048 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3049 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3050
39c59c35
TMQMF
30512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3052
3053 [BZ #13691]
3054 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3055 inptr and inend, rather than using last_ch.
3056
135ffda8
DM
30572012-04-02 David S. Miller <davem@davemloft.net>
3058
3059 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3060 * stdio-common/printf-parse.h (read_int): Change return type to
3061 'int', return -1 on INT_MAX overflow.
3062 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3063 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3064 overflows INT_MAX. Check for overflow of in-format-string precision
3065 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3066 SIZE_MAX not INT_MAX for integer overflow test.
3067 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3068 skip the construct in the format string but do not record anything.
3069 * stdio-common/bug22.c: Adjust to test both width/prevision
3070 INT_MAX overflow as well as total length INT_MAX overflow. Check
3071 explicitly for proper errno values.
3072
228c019e
TS
30732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3074
302cadd3
TS
3075 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3076 CHAR_MAX.
3077 * string/test-strcmp.c [! WIDE]: Likewise.
3078 * time/tst-mktime2.c: Likewise for INT_MAX.
3079 * string/test-string.h: #include <sys/param.h> for MIN.
3080
228c019e
TS
3081 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3082 * sysdeps/i386/init-first.c (init): Likewise.
3083 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3084 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3085 * sysdeps/sh/init-first.c (init): Likewise.
3086
cfa633f5
UD
30872012-04-01 Ulrich Drepper <drepper@gmail.com>
3088
3089 * po/ru.po: Update from translation team.
d1635ef8 3090 * po/vi.po: Likewise.
cfa633f5 3091
6cd0a5ea
SP
30922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3093
3094 * resolv/nss_dns/dns-host.c: Merge copyright years.
3095
4b43400f
LD
30962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3097
3098 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3099 Optimize memcpy with prefetch if
3100 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3101 src, dst pointers have unequal 16 byte alignments.
3102
48c41d04
SP
31032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3104
3105 [BZ #13928]
3106 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3107 from a CNAME entry and return the minimum ttl for the query.
3108 (gaih_getanswer_slice): Likewise.
3109
b8dc394d
JL
31102012-03-30 Jeff Law <law@redhat.com>
3111
3112 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3113 due to long keys.
3114 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3115 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3116
2f5a5ed0
JL
3117 * resolv/nss_dns/dns-host.c: Update copyright year.
3118
1d39e359
UD
31192012-03-30 Ulrich Drepper <drepper@gmail.com>
3120
c030f70c 3121 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3122 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3123
1d39e359
UD
3124 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3125 comments for sendmmsg.
3126
31272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3128
3129 [BZ #13691]
3130 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3131 with only 1 character between 0x0041 and 0x01b0.
3132 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3133 * wcsmbs/tst-mbsnrtowcs.c: New file.
3134
20fde227
DM
31352012-03-29 David S. Miller <davem@davemloft.net>
3136
3137 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3138 small copies by hand.
3139
984a4237
JL
31402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3141
3142 [BZ #13761]
3143 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3144 _nss_compat_initgroups_dyn): Fall back to malloc/free
3145 for large group memberships.
3146
18c9d62b
DM
31472012-03-28 David S. Miller <davem@davemloft.net>
3148
88d85d4f
DM
3149 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3150 that branches into memcpy.
3151 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3153 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3154 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3156 bits.
3157 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3158 implementation too.
3159 * sysdeps/sparc/mempcpy.S: New file.
3160
e5aa83e1
DM
3161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3162 the IFUNC routine in the libc case.
3163 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3164
88570753
DM
3165 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3166 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3167 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3168 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3169 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3170 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3171 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3172 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3173
249d7567
DM
3174 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3175 loop to 256 bytes instead of 64 bytes and fix test signedness.
3176
18c9d62b
DM
3177 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3178 * sysdeps/sparc/sparc32/Makefile: rather than here...
3179 * sysdeps/sparc/sparc64/Makefile: and here.
3180
05f3d1f6
UD
31812012-03-28 Ulrich Drepper <drepper@gmail.com>
3182
3183 * malloc/mallocbug.c: Avoid warnings about unused variables.
3184
86ae07a8
JL
31852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3186
3187 [BZ #13760]
3188 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3189 in the right place. Discard and retry query if response is
3190 larger than input buffer size.
3191
41bf21a1
JM
31922012-03-28 Joseph Myers <joseph@codesourcery.com>
3193
d6270972
JM
3194 [BZ #369]
3195 [BZ #2678]
3196 [BZ #3866]
3197 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3198 x for large integer exponent.
3199 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3200 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3201 sign of result as needed afterwards.
3202 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3203 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3204 result for underflowing pow the same as for overflow.
3205 (__kernel_standard_l): Handle powl overflow and underflow here
3206 rather than calling __kernel_standard.
3207 * math/libm-test.inc (pow_test): Add more tests.
3208
414fca03 3209 [BZ #3868]
41bf21a1
JM
3210 [BZ #13879]
3211 [BZ #13910]
3212 [BZ #13911]
3213 [BZ #13912]
3214 [BZ #13913]
3215 [BZ #13915]
3216 [BZ #13916]
3217 [BZ #13917]
3218 [BZ #13918]
3219 [BZ #13919]
3220 [BZ #13920]
3221 [BZ #13921]
3222 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3223 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3224 (__kernel_standard_l): New function.
3225 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3226 __kernel_standard.
3227 * math/w_acosl.c (__acosl): Likewise.
3228 * math/w_asinl.c (__asinl): Likewise.
3229 * math/w_atan2l.c (__atan2l): Likewise.
3230 * math/w_atanhl.c (__atanhl): Likewise.
3231 * math/w_coshl.c (__coshl): Likewise.
3232 * math/w_exp10l.c (__exp10l): Likewise.
3233 * math/w_exp2l.c (__exp2l): Likewise.
3234 * math/w_fmodl.c (__fmodl): Likewise.
3235 * math/w_hypotl.c (__hypotl): Likewise.
3236 * math/w_j0l.c (__j0l, __y0l): Likewise.
3237 * math/w_j1l.c (__j1l, __y1l): Likewise.
3238 * math/w_jnl.c (__jnl, __ynl): Likewise.
3239 * math/w_lgammal.c (__lgammal): Likewise.
3240 * math/w_log10l.c (__log10l): Likewise.
3241 * math/w_log2l.c (__log2l): Likewise.
3242 * math/w_logl.c (__logl): Likewise.
3243 * math/w_powl.c (__powl): Likewise.
3244 * math/w_remainderl.c (__remainderl): Likewise.
3245 * math/w_scalbl.c (sysv_scalbl): Likewise.
3246 * math/w_sinhl.c (__sinhl): Likewise.
3247 * math/w_sqrtl.c (__sqrtl): Likewise.
3248 * math/w_tgammal.c (__tgammal): Likewise.
3249 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3250 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3251 * math/libm-test.inc (acos_test): Add more tests.
3252 (acosh_test): Likewise.
3253 (asin_test): Likewise.
3254 (atanh_test): Likewise.
3255 (exp_test): Likewise.
3256 (exp10_test): Likewise.
3257 (exp2_test): Likewise.
3258 (expm1_test): Likewise.
3259 (lgamma_test): Likewise.
3260 (log_test): Likewise.
3261 (log10_test): Likewise.
3262 (log1p_test): Likewise.
3263 (log2_test): Likewise.
3264 (pow_test): Do not allow some spurious overflow exceptions.
3265 (sqrt_test): Add more tests.
3266 (tgamma_test): Likewise.
3267 (y0_test): Likewise.
3268 (y1_test): Likewise.
3269 (yn_test): Likewise.
3270
dd62fda6
AB
32712012-03-27 Anton Blanchard <anton@samba.org>
3272
3273 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3274 MAP_HUGETLB.
3275 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3276 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3277 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3278
1e3cdfda
AJ
32792012-03-27 David S. Miller <davem@davemloft.net>
3280
b855ab85
DM
3281 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3282
1e3cdfda
AJ
3283 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3284 have-as-vis3 check.
3285
32862012-03-27 Andreas Jaeger <aj@suse.de>
3287
3288 * sysdeps/x86_64/elf/configure.in: Moved to ...
3289 * sysdeps/x86_64/configure.in: ... here.
3290 * sysdeps/x86_64/elf/start.S: Moved to ...
3291 * sysdeps/x86_64/start.S: ... here.
3292 * sysdeps/x86_64/elf/configure: Delete.
3293
3294 * sysdeps/x86_64/configure.in: Merge contents from
3295 sysdeps/i386/configure.in (without i686 check).
3296
3297 * sysdeps/i386/elf/Versions: Merge into ...
3298 * sysdeps/i386/Versions: ... this.
3299 * sysdeps/i386/elf/Versions: Delete file.
3300 * sysdeps/i386/elf/start.S: Moved to ...
3301 * sysdeps/i386/start.S: ...here.
3302 * sysdeps/i386/elf/configure.in: Merge into...
3303 * sysdeps/i386/configure.in: ...here.
3304 * sysdeps/i386/elf/configure.in: Delete file.
3305 * sysdeps/i386/elf/configure: Delete file.
3306
3307 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3308 * debug/backtracesyms.c: ... here.
3309 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3310 * debug/backtracesymsfd.c: ... here.
3311 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3312 * sysdeps/generic/ifunc-sel.h: ... here.
3313
3314 * sysdeps/unix/i386/start.c: Delete file.
3315 * sysdeps/unix/sparc/start.c: Delete file.
3316 * sysdeps/unix/start.c: Delete file.
3317
3318 * sysdeps/sh/elf/configure.in: Moved to ...
3319 * sysdeps/sh/configure.in: ... here.
3320 * sysdeps/sh/elf/start.S: Moved to ...
3321 * sysdeps/sh/start.S: ... here.
3322 * sysdeps/sh/elf/configure: Delete file.
3323
3324 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3325 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3326 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3327 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3328 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3329 * sysdeps/powerpc/powerpc64/start.S: here.
3330 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3331 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3332 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3333 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3334 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3335
3336 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3337 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3338 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3339 * sysdeps/powerpc/powerpc32/start.S: ... here.
3340 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3341 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3342 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3343
3344 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3345 * sysdeps/powerpc/ifunc-sel.h: ... here.
3346 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3347 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3348
3349 * sysdeps/sparc/elf/configure.in: Moved to ...
3350 * sysdeps/sparc/configure.in: ... here.
3351 * sysdeps/sparc/elf/configure: Delete file.
3352 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3353 * sysdeps/sparc/sparc32/start.S: ... here.
3354 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3355 * sysdeps/sparc/sparc64/start.S: ... here.
3356 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3357 * sysdeps/sparc/sparc32/Makefile: ... this.
3358 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3359 * sysdeps/sparc/sparc64/Makefile: ... this.
3360
3361 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3362 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3363 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3364 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3365 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3366 * sysdeps/s390/s390-32/setjmp.S: ... here.
3367 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3368 * sysdeps/s390/s390-32/configure.in: ... here.
3369 * sysdeps/s390/s390-32/elf/configure: Delete file.
3370 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3371 * sysdeps/s390/s390-32/start.S: ... here.
3372
3373 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3374 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3375 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3376 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3377 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3378 * sysdeps/s390/s390-64/setjmp.S: ... here.
3379 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3380 * sysdeps/s390/s390-64/configure.in: ... here
3381 * sysdeps/s390/s390-64/elf/configure: Delete file.
3382 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3383 * sysdeps/s390/s390-64/start.S: ... here.
3384 * sysdeps/s390/s390-64/elf/configure: Delete.
3385
3386 * configure.in: Remove support for elf directories in sysdeps.
3387
3388 * configure: Regenerated.
3389 * sysdeps/i386/configure: Regenerated.
3390 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3391 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3392 * sysdeps/s390/s390-32/configure: Regenerated.
3393 * sysdeps/s390/s390-64/configure: Regenerated.
3394 * sysdeps/sh/configure: Regenerated.
3395 * sysdeps/sparc/configure: Regenerated.
3396 * sysdeps/x86_64/configure: Regenerated.
3397
a3f61311
AS
33982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3399
c876e002
AS
3400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3401
a3f61311
AS
3402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3403 denormal result into account.
3404
ac4c54f0
RM
34052012-03-25 Roland McGrath <roland@hack.frob.com>
3406
3407 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3408 Reported by Allan McRae <allan@archlinux.org>.
3409
6a9b9c02
JL
34102012-03-23 Jeff Law <law@redhat.com>
3411
3412 * nss/getnssent.c (__nss_getent): Fix typo.
3413
4c42a0c1
DM
34142012-03-23 David S. Miller <davem@davemloft.net>
3415
3416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3417
1532c7ac
L
34182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3419
3420 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3421 to pad to uint64_t for each field.
3422 (dl_tls_index): Replace unsigned long with uint64_t.
3423
3ff42526
PP
34242012-03-23 Daniel Jacobowitz <dmj@google.com>
3425 Paul Pluzhnikov <ppluzhnikov@google.com>
3426
3427 [BZ #6528]
3428 * grp/Makefile (otherlibs): Don't set it.
3429 * inet/Makefile (otherlibs): Likewise.
3430 * login/Makefile (otherlibs): Likewise.
3431 * nscd/Makefile (otherlibs): Likewise.
3432 * posix/Makefile (otherlibs): Likewise.
3433 * pwd/Makefile (otherlibs): Likewise.
3434 * rt/Makefile (otherlibs): Likewise.
3435 * sunrpc/Makefile (otherlibs): Likewise.
3436 * nss/Makefile (otherlibs): Likewise.
3437 Add libnss_files to routines and static-only-routines.
3438 ($(objpfx)getent): Remove rule.
3439 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3440 static-only-routines.
3441
7c69cd14
JM
34422012-03-22 Joseph Myers <joseph@codesourcery.com>
3443
3444 [BZ #13892]
3445 * math/s_cexp.c: Include <float.h>.
3446 (__cexp): Handle exp result overflowing not necessarily
3447 overflowing both real and imaginary parts of result.
3448 * math/s_cexpf.c: Likewise.
3449 * math/s_cexpl.c: Likewise.
3450 * math/libm-test.inc (cexp_test): Add more tests.
3451 * sysdeps/i386/fpu/libm-test-ulps: Update.
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3453
81b035fe
L
34542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 * include/link.h (ELFW): New macro.
3457 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3458 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3459
1da7940c
L
34602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3461
3462 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3463 with uint64_t.
3464
b749dbb9
L
34652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3466
3467 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3468 declaration.
3469 (struct La_x32_retval): Likewise.
3470
2ff87f3f
L
34712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3472
3473 * sysdeps/x86_64/preconfigure.in: New file.
3474 * sysdeps/x86_64/preconfigure: New generated file.
3475
c0df8e69
JM
34762012-03-22 Joseph Myers <joseph@codesourcery.com>
3477
48e44791
JM
3478 [BZ #13824]
3479 * math/e_exp2l.c: Include <float.h>.
3480 (__ieee754_exp2l): Handle overflow and underflow cases
3481 separately. Only pass fractional part of argument to
3482 __ieee754_expl.
3483 * math/libm-test.inc (exp2_test): Add more tests.
3484
c0df8e69
JM
3485 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3486 negating x to take absolute value.
3487 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3488 Likewise.
3489 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3490 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3491 Likewise.
3492 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3493 computing low part if x was negated.
3494 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3495
c8e43ba7
L
34962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3497
3498 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3499 la_x32_gnu_pltexit.
3500 (pltexit): Cast int_retval to ptrdiff_t.
3501 * elf/tst-auditmod3b.c: Likewise.
3502 * elf/tst-auditmod4b.c: Likewise.
3503 * elf/tst-auditmod5b.c: Likewise.
3504 * elf/tst-auditmod6b.c: Likewise.
3505 * elf/tst-auditmod6c.c: Likewise.
3506 * elf/tst-auditmod7b.c: Likewise.
3507
3508 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3509 and x32_gnu_pltexit.
3510
3511 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3512 __ELF_NATIVE_CLASS.
3513 (La_x32_regs): New macro.
3514 (La_x32_retval): Likewise.
3515 (la_x32_gnu_pltenter): New function prototype.
3516 (la_x32_gnu_pltexit): Likewise.
3517
7998fa78
AS
35182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3519
dcb33988
AS
3520 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3521 exponent.
3522
233fc563
AS
3523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3524
7998fa78
AS
3525 * configure.in (libc_cv_cc_nofma): Check for option to disable
3526 generation of FMA instructions.
3527 * configure: Regenerate.
3528 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3529 * sysdeps/ieee754/dbl-64/Makefile: New file.
3530 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3531 Remove brandred-fma4.
3532 (CFLAGS-brandred-fma4.c): Remove.
3533 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3534 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3535 define.
3536 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3537 define.
3538
8e95c99a
L
35392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3540
3541 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3542 LLONG_MAX != LONG_MAX.
3543 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3544 (_fitoa_word): Likewise.
3545 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3546 LLONG_MAX != LONG_MAX.
3547 * stdio-common/_itowa.h: Include <_itoa.h>.
3548 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3549 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3550 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3551 only if not defined.
3552 (_ITOA_WORD_TYPE): Likewise.
3553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3554 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3555
6f4db457
DM
35562012-03-21 David S. Miller <davem@davemloft.net>
3557
3558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3559
7785fe5a
L
35602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3561
3562 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3563 of x86_64 when setting libc_cv_slibdir, libdir and
3564 libc_cv_localedir.
3565 * sysdeps/unix/sysv/linux/configure: Regenerated.
3566
4535cd55
JM
35672012-03-21 Joseph Myers <joseph@codesourcery.com>
3568
3569 * manual/lang.texi (Old Varargs): Remove section.
3570 (How Variadic): Update menu.
3571 (va_start): Do not mention varargs.h.
3572
17228132
TS
35732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3574 Joseph Myers <joseph@codesourcery.com>
3575
3576 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3577 link test.
3578 * configure: Regenerated.
3579
8149f976
TS
35802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3581
05f3d1f6
UD
3582 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3583 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3584 conformtest.pl
8149f976 3585
1a4ac776
JM
35862012-03-21 Joseph Myers <joseph@codesourcery.com>
3587
be22ce65
JM
3588 * NOTES: Remove.
3589 * Makefile (files-for-dist): Remove NOTES.
3590 (NOTES): Remove rule.
3591 * README: Don't refer to NOTES.
3592 * manual/creature.texi: Don't include macros.texi.
3593 * manual/intro.texi (creature.texi): Remove comment referring to
3594 NOTES.
3595
40b601fb
JM
3596 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3597 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3598 * configure: Regenerated.
3599 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3600 LIBC_TRY_CC_OPTION.
3601 (libc_cv_as_i686): Likewise.
3602 (libc_cv_cc_avx): Likewise.
3603 (libc_cv_cc_sse2avx): Likewise.
3604 (libc_cv_cc_fma4): Likewise.
3605 (libc_cv_cc_novzeroupper): Likewise.
3606 * sysdeps/i386/configure: Regenerated.
3607
1a4ac776
JM
3608 [BZ #13883]
3609 * sysdeps/i386/fpu/s_cexp.S: Remove.
3610 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3611 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3612 * math/libm-test.inc (cexp_test): Add more tests.
3613 * sysdeps/i386/fpu/libm-test-ulps: Update.
3614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3615
a458e7fe
AM
36162012-03-21 Allan McRae <allan@archlinux.org>
3617
3618 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3619
0cb7efc5
JM
36202012-03-21 Joseph Myers <joseph@codesourcery.com>
3621
3622 [BZ #13871]
3623 * math/w_exp2.c: Do not include <float.h>.
3624 (o_threshold, u_threshold): Remove.
3625 (__exp2): Calculate result before checking finiteness and calling
3626 __kernel_standard.
3627 * math/w_exp2f.c: Likewise.
3628 * math/w_exp2l.c: Likewise.
3629 * math/libm-test.inc (exp2_test): Require overflow exception for
3630 1e6 input.
2460d3aa
JM
3631
3632 [BZ #3866]
3633 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3634 range of signed 64-bit integers before using fistpll. Remove
3635 checks for whether integers fit in mantissa bits.
3636 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3637 the range of signed 32-bit integers before using fistpl. Remove
3638 checks for whether integers fit in mantissa bits.
3639 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3640 (__ieee754_powl): Test for y outside the range of signed 64-bit
3641 integers before using fistpll. Reduce 64-bit values to 63-bit
3642 ones as needed.
3643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3644 divide-by-zero is raised for zero to large negative powers.
3645 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3646 (__ieee754_powl): Test for y outside the range of signed 64-bit
3647 integers before using fistpll. Reduce 64-bit values to 63-bit
3648 ones as needed.
3649 * math/libm-test.inc (pow_test): Add more tests.
3650
eb96ffb0
L
36512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3654 <stdio-common/_itoa.h>.
3655 * debug/segfault.c: Likewise.
3656 * elf/dl-cache.c: Likewise.
3657 * elf/dl-minimal.c: Likewise.
3658 * elf/dl-misc.c: Likewise.
3659 * elf/dl-sysdep.c: Likewise.
3660 * elf/dl-version.c: Likewise.
3661 * elf/rtld.c: Likewise.
3662 * hurd/hurdsock.c: Likewise.
3663 * hurd/lookup-retry.c: Likewise.
3664 * malloc/malloc.c: Likewise.
3665 * malloc/mtrace.c: Likewise.
3666 * nscd/nscd_getgr_r.c: Likewise.
3667 * nscd/nscd_getpw_r.c: Likewise.
3668 * nscd/nscd_getserv_r.c: Likewise.
3669 * posix/getopt_init.c: Likewise.
3670 * posix/wordexp.c: Likewise.
3671 * stdio-common/_itoa.c: Likewise.
3672 * stdio-common/printf_fphex.c: Likewise.
3673 * stdio-common/vfprintf.c: Likewise.
3674 * string/_strerror.c: Likewise.
3675 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3676 * sysdeps/i386/i686/hp-timing.h: Likewise.
3677 * sysdeps/mach/_strerror.c: Likewise.
3678 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3679 * sysdeps/mach/hurd/sethostid.c: Likewise.
3680 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3681 * sysdeps/mach/xpg-strerror.c: Likewise.
3682 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3683 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3684 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3685 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3686 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3687 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3688 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3689 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3690 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3691 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3692 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3693 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3694 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3695 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3696 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3697 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3698 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3699 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3700 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3701 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3702 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3703
3704 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3705
3706 * stdio-common/_itoa.h: Moved to ...
3707 * sysdeps/generic/_itoa.h: Here.
3708
3709 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3710
3711 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3712 instead of "_itoa.h" and "_itowa.h".
3713 * stdio-common/vfprintf.: Likewise.
3714
d1af992d
L
37152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3716
3717 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3718 <bits/wordsize.h>.
3719 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3720 (__signbit): Likwise.
3721 (llrintf): Likwise.
3722 (llrint): Likwise.
3723
114883e0
L
37242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3725
3726 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3727 __WORDSIZE != 64.
3728
c135cc1b
JM
37292012-03-20 Joseph Myers <joseph@codesourcery.com>
3730
3731 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3732 OVERFLOW_EXCEPTION_OK.
3733 * math/libm-test.inc ("Philosophy"): Update comment about
3734 exception testing.
3735 (OVERFLOW_EXCEPTION): Define.
3736 (OVERFLOW_EXCEPTION_OK): Likewise.
3737 (INVALID_EXCEPTION_OK): Renumber.
3738 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3739 (IGNORE_ZERO_INF_SIGN): Likewise.
3740 (test_exceptions): Handle FE_OVERFLOW.
3741 (exp10_test): Expect overflow exceptions.
3742 (exp2_test): Likewise.
3743 (expm1_test): Likewise.
3744 (nextafter_test): Likewise.
3745 (pow_test): Likewise.
3746 (scalbn_test): Likewise.
3747 (scalbln_test): Likewise.
3748
95443d88
L
37492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 * sysdeps/x86_64/bits/atomic.h
3752 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3753 64bit integer.
3754 (atomic_exchange_acq): Likewise.
3755 (__arch_exchange_and_add_body): Likewise.
3756 (__arch_add_body): Likewise.
3757 (atomic_add_negative): Likewise.
3758 (atomic_add_zero): Likewise.
3759
490df6c4
L
37602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3761
c2722551 3762 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3763 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3764
5e52b189
L
37652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3766
3767 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3768 Check __x86_64__ instead of __WORDSIZE.
3769
a9879d4c
L
37702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3771
3772 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3773
5df98260
DM
37742012-03-19 David S. Miller <davem@davemloft.net>
3775
e1497744
DM
3776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3777
5df98260
DM
3778 * sysdeps/sparc/fpu/fenv_private.h: New file.
3779 * sysdeps/sparc/fpu/math_private.h: Use it.
3780 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3781 Remove.
3782 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3783 (libc_feholdexcept_setroundl): Remove.
3784 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3785 Remove.
3786 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3787 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3788
b4c35121
L
37892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3790
3791 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3792 int64_t instead of long int.
3793 (INSERT_WORDS64): Likwise.
3794
56965fd7
L
37952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3796
3797 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3798 _Unwind_GetCFA return to _Unwind_Ptr first.
3799
83d1aec8
JM
38002012-03-19 Joseph Myers <joseph@codesourcery.com>
3801
1897ad44
JM
3802 [BZ #13629]
3803 * math/s_clog.c: Include <float.h>.
3804 (__clog): Scale large or subnormal inputs.
3805 * math/s_clogf.c: Likewise.
3806 * math/s_clogl.c: Likewise.
3807 * math/s_clog10.c: Include <float.h>.
3808 (M_LOG10_2): Define.
3809 (__clog10): Scale large or subnormal inputs.
3810 * math/s_clog10f.c: Likewise.
3811 * math/s_clog10l.c: Likewise.
3812 * math/libm-test.inc (clog_test): Add more tests.
3813 (clog10_test): Likewise.
3814 * sysdeps/i386/fpu/libm-test-ulps: Update.
3815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3816
7726d6a9
JM
3817 [BZ #11451]
3818 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3819 x and y.
3820 * math/libm-test.inc (atan2_test): Add another test.
3821
83d1aec8
JM
3822 * Makerules (common-objdir-compile): Remove.
3823 * sysdeps/unix/Makefile (config-generated): Do not add
3824 $(unix-generated) to variable.
3825 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3826 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3827 Remove rule.
3828 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3829 Likewise.
3830 [generic bits/local_lim.h] (before-compile): Do not append to
3831 variable.
3832 [generic bits/local_lim.h] (common-generated): Likewise.
3833 [generic sys/param.h] (before-compile): Do not append to variable.
3834 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3835 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3836 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3837 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3838 include.
3839 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3840 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3841 [generic sys/param.h] ($(addprefix
3842 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3843 [generic sys/param.h] (common-generated): Do not append to
3844 variable.
3845 [generic sys/param.h] (sysdep_headers): Likewise.
3846 [generic bits/errno.h] (before-compile): Do not append to
3847 variable.
3848 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3849 rule.
3850 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3851 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3852 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3853 [generic bits/errno.h] (common-generated): Do not append to
3854 variable.
3855 [generic bits/ioctls.h] (before-compile): Do not append to
3856 variable.
3857 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3858 rule.
3859 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3860 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3861 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3862 rule.
3863 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3864 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3865 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3866 [generic bits/ioctls.h] (common-generated): Do not append to
3867 variable.
3868 [generic sys/syscall.h] (syscall.h): Remove variable.
3869 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3870 rule.
3871 [generic sys/syscall.h] (before-compile): Do not append to
3872 variable.
3873 [generic sys/syscall.h] (common-generated): Likewise.
3874 * sysdeps/unix/errnos-tmpl.c: Remove file.
3875 * sysdeps/unix/errnos.awk: Likewise.
3876 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3877 * sysdeps/unix/ioctls.awk: Likewise.
3878 * sysdeps/unix/mk-local_lim.c: Likewise.
3879 * sysdeps/unix/snarf-ioctls: Likewise.
3880
4851a949
RH
38812012-03-19 Richard Henderson <rth@twiddle.net>
3882
bd37f2ee
RH
3883 * sysdeps/i386/fpu/fenv_private.h: New file.
3884 * sysdeps/i386/fpu/math_private.h: Use it.
3885 (math_opt_barrier, math_force_eval): Remove.
3886 (libc_feholdexcept_setround_53bit): Remove.
3887 (libc_feupdateenv_53bit): Remove.
3888 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3889 (math_opt_barrier, math_force_eval): Remove.
3890 (libc_feholdexcept): Remove.
3891 (libc_feholdexcept_setround): Remove.
3892 (libc_fetestexcept, libc_fesetenv): Remove.
3893 (libc_feupdateenv_test): Remove.
3894 (libc_feupdateenv, libc_feholdsetround): Remove.
3895 (libc_feresetround): Remove.
3896
d0adc922
RH
3897 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3898 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3899
0fe0f1f8
RH
3900 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3901 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3902 (libc_feupdateenv_testl): New.
3903 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3904 (libc_feupdateenv_testf): New.
3905 (libc_feupdateenv): Use libc_feupdateenv_test.
3906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3907 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3908
eb92c487
RH
3909 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3910 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3911 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3912 (libc_feresetround_noex): New.
3913 (libc_feresetround_noexf): New.
3914 (libc_feresetround_noexl): New.
3915 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3916 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3917 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3918 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3919 SET_RESTORE_ROUND.
3920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3921 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3922 (__cos): Likewise.
3923 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3924 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3925 SET_RESTORE_ROUND_NOEX.
3926 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3927 SET_RESTORE_ROUND_NOEXF.
3928 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3929 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3930 (libc_feholdsetroundf): New.
3931 (libc_feresetround, libc_feresetroundf): New.
3932
7d2e8012
RH
3933 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3934 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3935 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3936
b4dabbb4
RH
3937 * sysdeps/generic/math_private.h: Include <fenv.h>.
3938 (default_libc_feholdexcept): New.
3939 (default_libc_feholdexcept_setround): New.
3940 (default_libc_fesetenv, default_libc_feupdateenv): New.
3941 (libc_feholdexcept): Only define if undefined.
3942 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3943 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3944 (libc_feholdexcept_setroundl): Likewise.
3945 (libc_feholdexcept_setround_53bit): Likewise.
3946 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3947 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3948 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3949 (libc_feupdateenv_53bit): Likewise.
3950 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3951 (libc_feholdexcept): Convert from macro to inline function.
3952 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3953 (libc_fesetenv, libc_feupdateenv): Likewise.
3954
4851a949
RH
3955 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3956 not previously defined.
3957 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3958 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3959 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3960 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3961 * sysdeps/ieee754/flt-32/math_private.h: New file.
3962 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3963 math_private.h below SET_FLOAT_WORD.
3964 (__isnan, __isinf_ns, __finite): Remove.
3965 (__isnanf, __isinf_nsf, __finitef): Remove.
3966
e79d442e
AS
39672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3968
3969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3970
90b80344
DM
39712012-03-17 David S. Miller <davem@davemloft.net>
3972
3973 [BZ #6471]
3974 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3975 for 2.16.
3976
edc21804
DM
39772012-03-16 David S. Miller <davem@davemloft.net>
3978
77e927af
DM
3979 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3980 warnings.
3981
374976dd
DM
3982 [BZ #6471]
3983 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3984 properly.
3985 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3986 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3987 sysdep_routines when subdir is sysvipc.
3988 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3989 __getshmlba helper.
3990
edc21804
DM
3991 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3992
473c3ef3
L
39932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3994
3995 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3996 [__LP64__].
3997
eb0f39b6
L
39982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3999
4000 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4001 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4002 (__lround): Renamed to ...
4003 (__llround): This. Replace long int with long long int.
4004 Define lround functions as aliases of llround functions.
4005 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4006
6b6cd74b
L
40072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4008
4009 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4010 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4011 adresses to uintptr_t. Replace "long int" and "unsigned long
4012 int" with "greg_t" on va_arg.
4013
f1a77b01
L
40142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4015
4016 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4017 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4018
4019 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4020 Move e_machine check before EI_CLASS check. Handle x32
4021 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4022 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4023 SKIP_EM_IA_64 and include
4024 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4025
4026 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4027 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4028 (add_system_dir): New macro.
4029
4030 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4031 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4032
11b90b9f
JM
40332012-03-16 Joseph Myers <joseph@codesourcery.com>
4034
c36e1d23
JM
4035 [BZ #2551]
4036 [BZ #2552]
4037 [BZ #2553]
4038 [BZ #2554]
4039 [BZ #2562]
4040 [BZ #2563]
4041 [BZ #2565]
4042 [BZ #2566]
4043 [BZ #2576]
4044 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4045 (y0): Likewise.
4046 * math/w_j0f.c (j0f): Likewise.
4047 (y0f): Likewise.
4048 * math/w_j0l.c (__j0l): Likewise.
4049 (__y0l): Likewise.
4050 * math/w_j1.c (j1): Likewise.
4051 (y1): Likewise.
4052 * math/w_j1f.c (j1f): Likewise.
4053 (y1f): Likewise.
4054 * math/w_j1l.c (__j1l): Likewise.
4055 (__y1l): Likewise.
4056 * math/w_jn.c (jn): Likewise.
4057 (yn): Likewise.
4058 * math/w_jnf.c (jnf): Likewise.
4059 (ynf): Likewise.
4060 * math/w_jnl.c (__jnl): Likewise.
4061 (__ynl): Likewise.
4062 * math/libm-test.inc (j0_test): Add more tests.
4063 (j1_test): Likewise.
4064 (jn_test): Likewise. Add trailing semicolon to existing test.
4065 (y0_test): Likewise.
4066 (y1_test): Likewise.
4067 * sysdeps/i386/fpu/libm-test-ulps: Update.
4068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4069
11b90b9f
JM
4070 [BZ #13851]
4071 [BZ #13854]
4072 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4073 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4074 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4075 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4076 (__tanl): Set errno for infinite argument.
4077 * sysdeps/i386/fpu/mptan.c: Remove.
4078 * sysdeps/i386/fpu/s_tan.S: Likewise.
4079 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4080 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4081 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4082 * math/libm-test.inc (tan_test): Add more tests and enable more
4083 tests for double and long double.
4084 * sysdeps/i386/fpu/libm-test-ulps: Update.
4085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4086
6a1bd2a1
JK
40872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4088
4089 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4090 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4091
10a803e0
RM
40922012-03-16 Roland McGrath <roland@hack.frob.com>
4093
4094 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4095 * configure.in: Use it for both main tree and add-ons.
4096 * configure: Regenerated.
4097
f196c7f7
L
40982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4101
8848d99d
JM
41022012-03-16 Joseph Myers <joseph@codesourcery.com>
4103
96cbe7f4
JM
4104 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4105 in comment.
4106
8848d99d
JM
4107 [BZ #13851]
4108 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4109 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4113 infinite argument.
4114 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4116 != 0 for prec == 2.
4117 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4118 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4119 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4120 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4121 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4122 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4123 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4124 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4125 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4126 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4127 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4128 * math/libm-test.inc (cos_test): Add more tests and enable more
4129 tests for long double.
4130 (sin_test): Likewise.
4131 (sincos_test): Likewise.
4132 * sysdeps/i386/fpu/libm-test-ulps: Update.
4133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4134
dd7f4703
DM
41352012-03-16 David S. Miller <davem@davemloft.net>
4136
4137 * sysdeps/sparc/fpu/math_private.h: New file.
4138
006f1daa
DM
41392012-03-15 David S. Miller <davem@davemloft.net>
4140
c0c83bc8
DM
4141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4142 file.
e6a62e18 4143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4145 file.
e6a62e18
DM
4146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4152 sysdep routines.
4153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4154
88cb87d9
DM
4155 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4156 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4157
006f1daa 4158 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4160 sparc-ifunc.h
006f1daa 4161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4163 Likewise.
4164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4165 Likewise.
006f1daa
DM
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4170 Likewise.
006f1daa
DM
4171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4176 Likewise.
4177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4178 Likewise.
006f1daa
DM
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4185 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4186 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4203
11e0098e
AS
42042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4205
4206 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4207 scaling.
4208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4209
e85b09d0
AJ
42102012-03-15 Andreas Jaeger <aj@suse.de>
4211
4212 [BZ #13852]
4213 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4214 ieee754/flt-32 implementation for sin, cos and sincos.
4215 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4216 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4217 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4218 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4219 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4220 ieee754/flt-32 implementation for tan.
4221
4222 * math/libm-test.inc (cos_test): Enable some large input tests for
4223 float as well
4224 (sin_test): Likewise.
4225 (sincos_test): Likewise.
4226 (tan_test): Add tests for large input.
4227
4228 * sysdeps/i386/fpu/libm-test-ulps: Update.
4229
81c64153
AJ
42302012-03-15 Andreas Jaeger <aj@suse.de>
4231
4232 [BZ #13658]
4233 * math/libm-test.inc (cos_test): Add more test cases.
4234 (sin_test): Likewise.
4235 (sincos_test): Likewise.
4236
7bbfa5c6
AJ
42372012-03-15 Andreas Jaeger <aj@suse.de>
4238
4239 [BZ #13837]
4240 * math/libm-test.inc (cos_test): Add a test case for large input
4241 value.
4242 (sin_test): Likewise.
4243 (sincos_test): Likewise.
4244
42452012-03-15 Andreas Jaeger <aj@suse.de>,
4246 Joseph Myers <joseph@codesourcery.com>
4247
4248 [BZ #13658]
0671f479 4249 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4250 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4251 * sysdeps/i386/fpu/branred.c: Likewise.
4252 * sysdeps/i386/fpu/dosincos.c: Likewise.
4253 * sysdeps/i386/fpu/mpa.c: Likewise.
4254 * sysdeps/i386/fpu/s_cos.S: Likewise.
4255 * sysdeps/i386/fpu/s_sin.S: Likewise.
4256 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4257 * sysdeps/i386/fpu/sincos32.c: Likewise.
4258
4259 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4260 Define.
4261 (libc_feupdateenv_53bit): Define.
4262 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4263 Define.
4264 (libc_feupdateenv_53bit): Define.
4265
4266 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4267 53 bit (without extend i386 double precision).
4268
4269 * math/libm-test.inc (sincos_test): Add tests for large input.
4270 (sin): Likewise.
4271 (cos): Likewise.
4272
4273 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4274
9cad04ea
AS
42752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4276
4277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4278
f7062b9a
DM
42792012-03-15 David S. Miller <davem@davemloft.net>
4280
4281 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4282 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4283 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4284 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4297 file.
f7062b9a 4298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4300 file.
f7062b9a 4301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4303 file.
f7062b9a 4304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4306 file.
f7062b9a
DM
4307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4309 fmin/fmax sysdep routines.
4310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4311
7bd951ff
DM
43122012-03-14 David S. Miller <davem@davemloft.net>
4313
559398ab
DM
4314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4335 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4343 routines.
4344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4345 file.
559398ab 4346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4348 file.
559398ab 4349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4351 file.
559398ab 4352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4354 file.
559398ab 4355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4357 file.
559398ab 4358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4360 file.
4361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4362 file.
4363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4364 file.
4365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4366 file.
4367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4368 New file.
4369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4370 file.
4371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4372 file.
559398ab 4373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4375 file.
559398ab 4376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4378 file.
559398ab 4379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4381 file.
559398ab 4382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4384 VIS3 routines.
559398ab
DM
4385
4386 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4387 New file.
4388
5a1c1e32
DM
4389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4390
eae47a36
DM
4391 * sysdeps/sparc/configure.in: New file.
4392 * sysdeps/sparc/configure: Generate.
4393 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4394 * configure: Regenerate.
4395 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4396 * config.make.in (have-as-vis3): New.
4397 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4398 available use -Av9d instead of -Av9a.
4399 * sysdeps/sparc/sparc64/Makefile: Likewise.
4400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4402 New file.
4403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4404 file.
4405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4406 New file.
4407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4408 file.
eae47a36
DM
4409 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4414
c0c83bc8
DM
4415 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4416 fzeros/fnegs to load 0x80000000 into a float register instead of
4417 using the stack.
7bd951ff
DM
4418 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4419
bd951ccb
JM
44202012-03-14 Joseph Myers <joseph@codesourcery.com>
4421
4422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4423 bits/syscall.h.
4424 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4425 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4426 ($(inst_includedir)/bits/syscall.h): Remove rule.
4427 ($(objpfx)bits/syscall.d): Include instead of
4428 $(objpfx)syscall-list.d.
4429 (generated): Change syscall-list.h and syscall-list.d to
4430 bits/syscall.h and bits/syscall.d.
4431
bb4e6db2
RM
44322012-03-14 Roland McGrath <roland@hack.frob.com>
4433
4434 [BZ #13846]
4435 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4436
aa4a2ae1
JM
44372012-03-14 Joseph Myers <joseph@codesourcery.com>
4438
e456826d
JM
4439 [BZ #13841]
4440 * math/s_csqrt.c: Include <float.h>.
4441 (__csqrt): Scale large or subnormal inputs.
4442 * math/s_csqrtf.c: Likewise.
4443 * math/s_csqrtl.c: Likewise.
4444 * math/libm-test.inc (csqrt_test): Add more tests.
4445 * sysdeps/i386/fpu/libm-test-ulps: Update.
4446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4447
aa4a2ae1
JM
4448 [BZ #13840]
4449 * math/libm-test.inc (hypot_test): Add more tests.
4450
7c10fd35
DM
44512012-03-13 David S. Miller <davem@davemloft.net>
4452
4453 [BZ #13840]
4454 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4455 double-precision for the calculation instead of scaling.
4456
f453b98b
JM
44572012-03-13 Joseph Myers <joseph@codesourcery.com>
4458
4459 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4460 manipulate bits before adding and subtracting TWO52[sx].
4461 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4462 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4463 Likewise.
4464 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4465
09a3453f
DM
44662012-03-13 David S. Miller <davem@davemloft.net>
4467
8e59da90
DM
4468 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4469 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4471 rtld-global-offsets.h
4472 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4473
2a8ab7f2
DM
4474 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4475 large parameters.
4476
10f62770
DM
4477 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4478
5f0bdb18
DM
4479 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4480 'err' in the ifdef scope in which it is actually used.
4481
09a3453f
DM
4482 * nss/nss_db/db-init.c: Include string.h
4483
b4b2eb5e
DM
44842012-03-12 David S. Miller <davem@davemloft.net>
4485
98bb2f1c
DM
4486 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4487 masking out of the most significant byte of random value used.
4488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4489 Fix coding style in previous change.
4490
b4b2eb5e
DM
4491 * sysdeps/unix/sysv/linux/kernel-features.h
4492 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4493 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4494 expression.
4495 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4496 later.
4497
6e226b09
DM
44982012-03-11 David S. Miller <davem@davemloft.net>
4499
a1bcbd40
DM
4500 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4501 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4502 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4503 for 'resultvar' otherwise things get truncated on 64-bit.
4504
cb9d6174
DM
4505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4506 Fix masking out of the most significant byte of random value used.
4507
6e226b09
DM
4508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4509
058c132d
AS
45102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4511
4512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4513
2d2cd515
DM
45142012-03-09 David S. Miller <davem@davemloft.net>
4515
4516 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4517 variables with appropriate CPP guards.
4518 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4519 frame pointer, not the stack pointer. Correct layout comments. Fix test
4520 on resulting framesize and the management of the outregs buffer for pltexit.
4521 Preserve floating point return values across _dl_call_pltexit call.
4522 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4523 framesize and the management of the outregs buffer for pltexit.
4524 Preserve floating point return values across _dl_call_pltexit
4525 call.
4526 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4527 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4528 (print_exit): Fix format string for return register value.
4529
9a07f9d0
JM
45302012-03-10 Joseph Myers <joseph@codesourcery.com>
4531
4532 * sunrpc/Makefile (others): Add rpcgen.
4533 ($(objpfx)rpcgen): Remove special build rule and dependency on
4534 libc.
4535 * sunrpc/rpcgen.c: New file.
4536
547b5e30
PE
45372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4538
c524201a
PE
4539 [BZ #13673]
4540 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4541 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4542 * sysdeps/i386/crti.S: Likewise.
4543 * sysdeps/i386/crtn.S: Likewise.
4544 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4545 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4546 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4547 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4548 * sysdeps/sh/crti.S: Likewise.
4549 * sysdeps/sh/crtn.S: Likewise.
4550 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4551
7b6235f2
PE
4552 [BZ #13673]
4553 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4554 with URL.
4555 * locale/programs/locfile-kw.gperf: Likewise.
4556 * locale/programs/charmap-kw.h: Regenerated.
4557 * locale/programs/locfile-kw.h: Likewise.
4558
547b5e30
PE
4559 [BZ #13673]
4560 * intl/plural.y: Replace FSF snail mail address with URL.
4561 * intl/plural.c: Regenerated.
4562
5f0a5dae
RH
45632012-03-09 Richard Henderson <rth@twiddle.net>
4564
4565 * include/math_private.h: Remove file.
4566 * math/math_private.h: Move file ...
4567 * sysdeps/generic/math_private.h: ... here.
4568
b8c03620
RH
4569 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4570 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4571 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4572
4e234f5d 4573 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4574 and <math_private.h>.
4575 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4576 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4577 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4578 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4579 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4580 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4581 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4583 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4584 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4586 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4587 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4589 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4590 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4591 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4594 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4596 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4597 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4599 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4600 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4601 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4602 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4604 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4605 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4607 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4608 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4609 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4612 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4613 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4616 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4618 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4619 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4621 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4622 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4624 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4625 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4626 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4628 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4653 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4654 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4655 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4656 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4657 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4658 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4659 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4661 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4662 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4663 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4664 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4665 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4666 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4667 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4668 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4669 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4670 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4672 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4674 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4675 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4676 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4677 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4678 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4679 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4680 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4681 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4682 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4683 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4684 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4685 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4686 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4687 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4688 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4689 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4690 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4691 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4692 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4693 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4694 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4695 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4696 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4697 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4698 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4699 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4700 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4702 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4703 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4704 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4705 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4706 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4707 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4708 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4709 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4710 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4711 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4712 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4713 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4714 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4715 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4716 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4717 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4718 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4719 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4720 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4721 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4722 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4723 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4724 * sysdeps/ieee754/k_standard.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4737 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4738 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4739 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4741 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4742 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4744 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4745 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4756 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4757 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4758 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4775 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4776 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4777 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4778 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4780 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4781 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4784 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4786 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4789 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4792 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4793 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4794 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4796 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4797 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4798 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4802 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4803 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4804 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4805 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4809 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4840 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4844 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4845 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4846 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4847 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4852 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4857 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4861 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4873 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4874 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4875 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4880 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4885 * sysdeps/ieee754/s_lib_version.c: Likewise.
4886 * sysdeps/ieee754/s_matherr.c: Likewise.
4887 * sysdeps/ieee754/s_signgam.c: Likewise.
4888 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4889 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4890 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4891 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4892 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4893 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4894 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4895 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4896 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4897 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4898 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4899 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4900 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4901 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4902 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4903 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4904 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4905 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4906 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4909
1991fa03
JM
49102012-03-09 Joseph Myers <joseph@codesourcery.com>
4911
4912 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4913 * sunrpc/rpc_main.c: Likewise.
4914 * sunrpc/rpc_svcout.c: Likewise.
4915
60d6f5a6
DM
49162012-03-09 David S. Miller <davem@davemloft.net>
4917
4918 * include/math_private.h: New file.
4919
4962050e
JM
49202012-03-09 Joseph Myers <joseph@codesourcery.com>
4921
02a6f887
JM
4922 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4923 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4924 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4925 from <bits/socket_type.h>.
4926 (enum __socket_type): Don't define here.
4927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4929 bits/socket_type.h.
4930
c6e013c1
JM
4931 [BZ #13566]
4932 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4933 checking __USE_GNU.
4934
4962050e
JM
4935 * Makerules ($(inst_includedir)/%.h): New rule.
4936 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4937 (install-others): Remove variable setting.
4938 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4939
38842f45
RH
49402012-03-08 Richard Henderson <rth@twiddle.net>
4941
67bb6da6
RH
4942 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4943 from macro to inline function; merge with the
4944 !__LIBC_INTERNAL_MATH_INLINES version.
4945 (__ieee754_sqrtf): Likewise.
4946
15194b4b
RH
4947 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4948 to inline function.
4949 (__rintf, __floor, __floorf): Likewise.
4950
64e21ede
RH
4951 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4952 macro to inline function.
4953 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4954
38842f45
RH
4955 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4956 not <math/math_private.h>.
4957
c64bf5fe
DM
49582012-03-08 David S. Miller <davem@davemloft.net>
4959
4960 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4961 copyright year.
4962 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4963
82d86f28
TS
49642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4965
4966 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4967 normalization.
4968 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4969 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4970
aea5d727
UD
49712012-03-08 Ulrich Drepper <drepper@gmail.com>
4972
4973 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4974 be defined individually, they must be defined as a block. Define
4975 S for printing a string instead of hidint the different by using a
4976 macro for adding the 'l'.
4977 * stdio-common/tst-fphex-wide.c: Adjust.
4978
70bca0a3
MP
49792012-03-07 Marek Polacek <polacek@redhat.com>
4980
4981 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4982
65b81130
MP
49832012-03-08 Marek Polacek <polacek@redhat.com>
4984
4985 [BZ #13806]
4986 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4987 * stdio-common/tst-fphex.c: Define a few macros to make the
4988 test reusable. Use them.
4989 * stdio-common/tst-fphex-wide.c: New file.
4990
07037eeb
JM
49912012-03-08 Joseph Myers <joseph@codesourcery.com>
4992
a7a93d50
JM
4993 [BZ #6911]
4994 * manual/macros.texi (gnusystems): New macro.
4995 (nongnusystems): Likewise.
4996 (gnulinuxhurdsystems): Likewise.
4997 (gnuhurdsystems): Likewise..
4998 (gnulinuxsystems): Likewise.
4999 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5000 variants of the GNU system, not "GNU system".
5001 * manual/conf.texi: Likewise.
5002 * manual/errno.texi: Likewise. Update example of errno macro
5003 expansion.
5004 * manual/filesys.texi: Likewise.
5005 (getumask): Document as specific to GNU/Hurd.
5006 * manual/install.texi: Likewise. Reword some references to
5007 GNU/Linux.
5008 * manual/intro.texi: Likewise.
5009 * manual/io.texi: Likewise.
5010 (File Name Portability): Detail which constraints are inapplicable
5011 to all GNU systems and which are only inapplicable to GNU/Hurd.
5012 * manual/job.texi: Likewise.
5013 * manual/llio.texi: Likewise.
5014 (O_NOCTTY): Document as present on GNU/Linux.
5015 * manual/maint.texi: Likewise.
5016 * manual/memory.texi: Likewise.
5017 * manual/pattern.texi: Likewise.
5018 * manual/pipe.texi: Likewise.
5019 * manual/process.texi: Likewise.
5020 * manual/resource.texi: Likewise.
5021 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5022 child on GNU/Hurd.
5023 * manual/setjmp.texi: Likewise.
5024 * manual/signal.texi: Likewise.
5025 * manual/startup.texi: Likewise.
5026 * manual/stdio.texi: Likewise.
5027 * manual/terminal.texi: Likewise.
5028 (ONLCR): Document as POSIX.
5029 (OXTABS): Document availability on GNU/Linux as XTABS.
5030 (ONOEOT): Document availability separately from other bits.
5031 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5032 * manual/time.texi: Likewise.
5033 * manual/users.texi: Likewise.
5034 * INSTALL: Regenerated.
5035 * sysdeps/gnu/errlist.c: Regenerated.
5036
07037eeb
JM
5037 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5038 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5039 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5040 puts.
5041 * configure: Regenerated.
5042
d1d3431a
JM
50432012-03-07 Joseph Myers <joseph@codesourcery.com>
5044
af6a1e37
JM
5045 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5046 default includes instead of AC_HEADER_CHECK.
5047 * sysdeps/i386/configure: Regenerated.
5048
d1d3431a
JM
5049 [BZ #10716]
5050 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5051 * math/s_cacoshf.c (__cacoshf): Likewise.
5052 * math/s_cacoshl.c (__cacoshl): Likewise.
5053 * math/s_casinh.c (__casinh): Set signs of result from argument.
5054 * math/s_casinhf.c (__casinhf): Likewise.
5055 * math/s_casinhl.c (__casinhl): Likewise.
5056 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5057 (casinh_test): Add more tests.
5058 * sysdeps/i386/fpu/libm-test-ulps: Update.
5059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5060
482ff4da
UD
50612012-03-07 Ulrich Drepper <drepper@gmail.com>
5062
872fda05
UD
5063 * po/zh_TW.po: Update from translation team.
5064
a4300c7a
UD
5065 * login/Makefile (distribute): Remove variable.
5066 * catgets/Makefile: Likewise.
5067 * mach/Makefile: Likewise.
5068 * malloc/Makefile: Likewise.
5069 * misc/Makefile: Likewise.
5070 * iconv/Makefile: Likewise.
5071 * nscd/Makefile: Likewise.
5072 * hurd/Makefile: Likewise.
5073 * manual/Makefile: Likewise.
5074 * locale/Makefile: Likewise.
5075 * intl/Makefile: Likewise.
5076 * conform/Makefile: Likewise.
5077 * nss/Makefile: Likewise.
5078 * time/Makefile: Likewise.
5079 * soft-fp/Makefile: Likewise.
5080 * dirent/Makefile: Likewise.
5081 * gmon/Makefile: Likewise.
5082 * po/Makefile: Likewise.
5083 * rt/Makefile: Likewise.
5084 * socket/Makefile: Likewise.
5085 * math/Makefile: Likewise.
5086 * signal/Makefile: Likewise.
5087 * debug/Makefile: Likewise.
5088 * elf/Makefile: Likewise.
5089 * timezone/Makefile: Likewise.
5090 * stdlib/Makefile: Likewise.
5091 * iconvdata/Makefile: Likewise.
5092 * sunrpc/Makefile: Likewise.
5093 * io/Makefile: Likewise.
5094 * argp/Makefile: Likewise.
5095 * inet/Makefile: Likewise.
5096 * hesiod/Makefile: Likewise.
5097 * grp/Makefile: Likewise.
5098 * csu/Makefile: Likewise.
5099 * wctype/Makefile: Likewise.
5100 * crypt/Makefile: Likewise.
5101 * libio/Makefile: Likewise.
5102 * string/Makefile: Likewise.
5103 * nis/Makefile: Likewise.
5104 * resolv/Makefile: Likewise.
5105 * stdio-common/Makefile: Likewise.
5106 * wcsmbs/Makefile: Likewise.
5107 * dlfcn/Makefile: Likewise.
5108 * posix/Makefile: Likewise.
5109
3b7c4e74 5110 [BZ #6959]
482ff4da
UD
5111 * timezone/Makefile: Don't install timezone files, just the programs
5112 and scripts.
5113
f72ed77d
UD
51142012-03-06 Ulrich Drepper <drepper@gmail.com>
5115
a000466f
UD
5116 * nss/databases.def: Add missing gshadow entry.
5117
f72ed77d
UD
5118 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5119
a53b7a4e
MP
51202012-03-06 Marek Polacek <polacek@redhat.com>
5121
5122 [BZ #13726]
5123 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5124 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5125 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5126 * stdio-common/tst-long-dbl-fphex.c: New file.
5127
e9258400
DM
51282012-03-06 David S. Miller <davem@davemloft.net>
5129
5130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5131 (set_obp_int): New function.
5132 (get_obp_int): New function.
5133 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5134 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5135 Avoid unused variable warnings on 'val' and use builtin_expect.
5136 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5137 __builtin_expect.
e9258400
DM
5138 (INLINE_CLONE_SYSCALL): Likewise.
5139
3bd2c723
DM
51402012-03-05 David S. Miller <davem@davemloft.net>
5141
5142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5143
bbb78d03
AS
51442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5145
884c5db4
AS
5146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5147
bbb78d03
AS
5148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5149 only for |x| >= 40.
5150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5151
1c9f702a 51522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5153
5154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5155 Replace gettimeofday with __vdso_gettimeofday.
5156
7be16f82
RM
5157 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5158 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5159 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5160
5161 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5162 time with __vdso_time.
5163
ed58a00f
JM
51642012-03-05 Joseph Myers <joseph@codesourcery.com>
5165
5166 * manual/lang.texi (size_t): Note types to which size_t may be
5167 equivalent with the GNU C Library, but do not describe when
5168 differences between them are significant.
5169
30ee4ced
AJ
51702012-03-05 Andreas Jaeger <aj@suse.de>
5171
5172 * sysdeps/i386/fpu/libm-test-ulps: Update.
5173
b7cd39e8
JM
51742012-03-05 Joseph Myers <joseph@codesourcery.com>
5175
5176 [BZ #3976]
5177 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5178 (__ieee754_pow): Save and restore rounding mode and use
5179 round-to-nearest for main computations.
5180 * math/libm-test.inc (pow_test_tonearest): New function.
5181 (pow_test_towardzero): Likewise.
5182 (pow_test_downward): Likewise.
5183 (pow_test_upward): Likewise.
5184 (main): Call the new functions.
5185 * sysdeps/i386/fpu/libm-test-ulps: Update.
5186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5187
5188 [BZ #3976]
5189 * math/libm-test.inc (cosh_test_tonearest): New function.
5190 (cosh_test_towardzero): Likewise.
5191 (cosh_test_downward): Likewise.
5192 (cosh_test_upward): Likewise.
5193 (sinh_test_tonearest): Likewise.
5194 (sinh_test_towardzero): Likewise.
5195 (sinh_test_downward): Likewise.
5196 (sinh_test_upward): Likewise.
5197 (main): Call the new functions.
5198 * sysdeps/i386/fpu/libm-test-ulps: Update.
5199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5200
6c6a98c9
TV
52012012-03-05 Tom de Vries <tom@codesourcery.com>
5202
5203 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5204 default stack guard is set in last bytes.
5205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5206
21bb2d2e 52072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5208
21bb2d2e 5209 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5210
21bb2d2e
AJ
5211 [BZ #13656]
5212 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5213 possibly allocate from heap instead of stack.
5214 * stdio-common/bug-vfprintf-nargs.c: New file.
5215 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5216
c6922934
AS
52172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5218
5219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5220
bc957d53
MP
52212012-03-03 Marek Polacek <polacek@redhat.com>
5222
5223 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5224 * math/math_private.h: Likewise.
5225 * stdlib/tst-strtod.c: Likewise.
5226 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5227 * sysdeps/x86_64/bits/atomic.h: Likewise.
5228
6358490d
DM
52292012-03-02 David S. Miller <davem@davemloft.net>
5230
5231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5235 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5236 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5237 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5238 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5239
01ae168d
RM
52402012-03-02 Roland McGrath <roland@hack.frob.com>
5241
d9a17c07
RM
5242 [BZ #13792]
5243 * manual/examples/README: New file, says the example source files
5244 can be used under GPL>=2.
5245 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5246 line containing just "*/".
5247 * manual/examples/add.c: Add copyright header (GPL>=2).
5248 * manual/examples/argp-ex1.c: Likewise.
5249 * manual/examples/argp-ex2.c: Likewise.
5250 * manual/examples/argp-ex3.c: Likewise.
5251 * manual/examples/argp-ex4.c: Likewise.
5252 * manual/examples/atexit.c: Likewise.
5253 * manual/examples/db.c: Likewise.
5254 * manual/examples/dir.c: Likewise.
5255 * manual/examples/dir2.c: Likewise.
5256 * manual/examples/execinfo.c: Likewise.
5257 * manual/examples/filecli.c: Likewise.
5258 * manual/examples/filesrv.c: Likewise.
5259 * manual/examples/fmtmsgexpl.c: Likewise.
5260 * manual/examples/genpass.c: Likewise.
5261 * manual/examples/inetcli.c: Likewise.
5262 * manual/examples/inetsrv.c: Likewise.
5263 * manual/examples/isockad.c: Likewise.
5264 * manual/examples/longopt.c: Likewise.
5265 * manual/examples/memopen.c: Likewise.
5266 * manual/examples/memstrm.c: Likewise.
5267 * manual/examples/mkfsock.c: Likewise.
5268 * manual/examples/mkisock.c: Likewise.
5269 * manual/examples/mygetpass.c: Likewise.
5270 * manual/examples/pipe.c: Likewise.
5271 * manual/examples/popen.c: Likewise.
5272 * manual/examples/rprintf.c: Likewise.
5273 * manual/examples/search.c: Likewise.
5274 * manual/examples/select.c: Likewise.
5275 * manual/examples/setjmp.c: Likewise.
5276 * manual/examples/sigh1.c: Likewise.
5277 * manual/examples/sigusr.c: Likewise.
5278 * manual/examples/stpcpy.c: Likewise.
5279 * manual/examples/strdupa.c: Likewise.
5280 * manual/examples/strftim.c: Likewise.
5281 * manual/examples/strncat.c: Likewise.
5282 * manual/examples/subopt.c: Likewise.
5283 * manual/examples/swapcontext.c: Likewise.
5284 * manual/examples/termios.c: Likewise.
5285 * manual/examples/testopt.c: Likewise.
5286 * manual/examples/testpass.c: Likewise.
5287 * manual/examples/timeval_subtract.c: Likewise.
5288
01ae168d
RM
5289 [BZ #13792]
5290 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5291 function to ...
5292 * manual/timeval_subtract.c.texi: ... here, new file.
5293
49efa33d
DM
52942012-03-02 David S. Miller <davem@davemloft.net>
5295
5296 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5297
28afd92d
JM
52982012-03-02 Joseph Myers <joseph@codesourcery.com>
5299
804360ed
JM
5300 [BZ #3976]
5301 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5302 (__sin): Save and restore rounding mode and use round-to-nearest
5303 for all computations.
5304 (__cos): Save and restore rounding mode and use round-to-nearest
5305 for all computations.
5306 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5307 <fenv.h>.
5308 (tan): Save and restore rounding mode and use round-to-nearest for
5309 all computations.
5310 * math/libm-test.inc (cos_test_tonearest): New function.
5311 (cos_test_towardzero): Likewise.
5312 (cos_test_downward): Likewise.
5313 (cos_test_upward): Likewise.
5314 (sin_test_tonearest): Likewise.
5315 (sin_test_towardzero): Likewise.
5316 (sin_test_downward): Likewise.
5317 (sin_test_upward): Likewise.
5318 (tan_test_tonearest): Likewise.
5319 (tan_test_towardzero): Likewise.
5320 (tan_test_downward): Likewise.
5321 (tan_test_upward): Likewise.
5322 (main): Call the new functions.
5323 * sysdeps/i386/fpu/libm-test-ulps: Update.
5324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5325
a6d06d7b
JM
5326 [BZ #10135]
5327 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5328 small n, then large n, before computing and testing k+n.
5329 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5331 Likewise.
5332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5333 Likewise.
5334 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5335 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5336 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5337 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5338 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5339 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5340 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5341 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5342 * math/libm-test.inc (scalbn_test): Add more tests.
5343 (scalbln_test): Likewise.
5344
07e12bb3
JM
5345 * manual/filesys.texi (mode_t): Describe constraints on size and
5346 signedness, not exact equivalence to a particular type.
5347 (ino_t): Likewise.
5348 (ino64_t): Likewise.
5349 (dev_t): Likewise.
5350 (nlink_t): Likewise.
5351 (blkcnt_t): Likewise.
5352 (blkcnt64_t): Likewise.
5353 * manual/llio.texi (off_t): Likewise.
5354
28afd92d
JM
5355 [BZ #3976]
5356 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5357 (__ieee754_exp): Save and restore rounding mode and use
5358 round-to-nearest for all computations.
5359 * math/libm-test.inc (exp_test_tonearest): New function.
5360 (exp_test_towardzero): Likewise.
5361 (exp_test_downward): Likewise.
5362 (exp_test_upward): Likewise.
5363 (main): Call the new functions.
5364 * sysdeps/i386/fpu/libm-test-ulps: Update.
5365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5366
b1eeb65d
CD
53672012-03-01 Chris Demetriou <cgd@google.com>
5368
5369 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5370 have predictable order.
5371
53362a4b
DM
53722012-03-01 David S. Miller <davem@davemloft.net>
5373
3c969083
DM
5374 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5375
759707de
DM
5376 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5377 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5378 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5379 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5380
dfdb8ff2
DM
5381 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5382 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5383 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5385 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5386 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5387 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5388 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5389 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5390
ead89f96
DM
5391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5392
7f66bd07
DM
5393 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5394 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5395 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5396
53362a4b
DM
5397 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5398 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5399 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5400 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5401 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5402 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5404 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5405 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5406 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5407 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5410 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5411 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5413 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5414 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5415 * sysdeps/sparc/elf/configure: Regenerated.
5416
7b1902cb
JM
54172012-03-01 Joseph Myers <joseph@codesourcery.com>
5418
bec039bc
JM
5419 * configure.in (AS, LD): Require binutils 2.20 or later.
5420 * configure: Regenerated.
5421 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5422 as required minimum version.
5423 * INSTALL: Regenerated.
5424
7b1902cb
JM
5425 [BZ #2541]
5426 [BZ #4108]
5427 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5428 before squaring exponent.
5429 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5430 bottom long double and 27 bits of top long double before squaring
5431 exponent.
5432 * math/libm-test.inc (erfc_test): Add more tests.
5433 * sysdeps/i386/fpu/libm-test-ulps: Update.
5434 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5436
f775c276
KT
54372012-03-01 Kai Tietz <ktietz@redhat.com>
5438
5439 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5440 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5441 containing bit-fields.
5442 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5443 * soft-fp/single.h (_FP_UNION_S): Likewise.
5444 * soft-fp/double.h (_FP_UNION_D): Likewise.
5445
5b8a4d4a
JM
54462012-02-29 Joseph Myers <joseph@codesourcery.com>
5447
0bab47b6
JM
5448 [BZ #13786]
5449 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5450 not include ../strcmp.S.
5451 [USE_AS_STRNCASECMP_L]: Likewise.
5452 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5453 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5454 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5455 (__strncasecmp_l_ia32): Define as alias to
5456 __strncasecmp_l_nonascii.
5457
0fcad3e2
JM
5458 [BZ #5794]
5459 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5460 * sysdeps/i386/fpu/libm-test-ulps: Update.
5461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5462
5b8a4d4a
JM
5463 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5465
8fdceb2e
JL
54662012-02-29 Jeff Law <law@redhat.com>
5467
5468 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5469 out of bounds read.
5470
1f393a11
MP
54712012-02-29 Marek Polacek <polacek@redhat.com>
5472
5473 [BZ #13706]
5474 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5475 * elf/Makefile: Add rules to run tst-unused-dep.out.
5476
8847f037
DM
54772012-02-28 David S. Miller <davem@davemloft.net>
5478
5479 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5480 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5481 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5482 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5483 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5484 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5485
169d7f11
JM
54862012-02-29 Joseph Myers <joseph@codesourcery.com>
5487
5488 * math/libm-test.inc (llround_test): Move one test from
5489 lround_test. Use TEST_f_L in moved test.
5490 (lround_test): Move misplaced test to llround_test. Add testcase
5491 from bug 2561.
5492
39adf059
UD
54932012-02-28 Ulrich Drepper <drepper@gmail.com>
5494
5495 * sysdeps/x86_64/fpu/e_expf.S: New file.
5496 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5497
71b5d1c5
SB
54982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5499
5500 [BZ #13637]
5501 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5502 of remain_len that may cause incomplete multi-byte character and
5503 false match.
5504 * posix/bug-regex33.c: New file.
5505 * posix/Makefile (tests): Add bug-regex33.
5506
1f77f049
JM
55072012-02-28 Joseph Myers <joseph@codesourcery.com>
5508
5509 * manual/macros.texi: New file.
5510 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5511 * manual/libc.texinfo: Include macros.texi.
5512 * manual/creatute.texi: Likewise.
5513 * manual/install.texi: Likewise.
5514 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5515 @glibcadj{} in references to the GNU C Library.
5516 * manual/charset.texi: Likewise.
5517 * manual/conf.texi: Likewise.
5518 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5519 when not using those macros.
5520 * manual/creature.texi: Likewise.
5521 * manual/crypt.texi: Likewise.
5522 * manual/errno.texi: Likewise.
5523 * manual/filesys.texi: Likewise.
5524 * manual/header.texi: Likewise.
5525 * manual/install.texi: Likewise.
5526 * manual/intro.texi: Likewise.
5527 * manual/io.texi: Likewise.
5528 * manual/job.texi: Likewise.
5529 * manual/lang.texi: Likewise.
5530 * manual/libc.texiinfo: Likewise.
5531 * manual/llio.texi: Likewise.
5532 * manual/locale.texi: Likewise.
5533 * manual/maint.texi: Likewise.
5534 * manual/math.texi: Likewise.
5535 * manual/memory.texi: Likewise.
5536 * manual/message.texi: Likewise.
5537 * manual/nss.texi: Likewise.
5538 * manual/pattern.texi: Likewise.
5539 * manual/process.texi: Likewise.
5540 * manual/resource.texi: Likewise.
5541 * manual/search.texi: Likewise.
5542 * manual/setjmp.texi: Likewise.
5543 * manual/signal.texi: Likewise.
5544 * manual/socket.texi: Likewise.
5545 * manual/startup.texi: Likewise.
5546 * manual/stdio.texi: Likewise.
5547 * manual/string.texi: Likewise.
5548 * manual/sysinfo.texi: Likewise.
5549 * manual/syslog.texi: Likewise.
5550 * manual/terminal.texi: Likewise.
5551 * manual/time.texi: Likewise.
5552 * manual/users.texi: Likewise.
5553 * INSTALL: Regenerated.
5554 * NOTES: Regenerated.
d40c5d54 5555 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5556
450bf206
AS
55572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5558
5559 * include/dirent.h: Include <dirstream.h> before
5560 <dirent/dirent.h>.
5561
741a235b
DM
55622012-02-28 David S. Miller <davem@davemloft.net>
5563
5564 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5565 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5566 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5567 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5568
d6b5aa58
DM
55692012-02-27 David S. Miller <davem@davemloft.net>
5570
1aff59a3
DM
5571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5573 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5574 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5575
d6b5aa58
DM
5576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5577 frame pointer instead of stack pointer relative arg slot.
5578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5579 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5580 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5581
433f48bf
CD
55822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5583
5584 [BZ #3992]
5585 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5586
d674b76d
DM
55872012-02-27 David S. Miller <davem@davemloft.net>
5588
5589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5593 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5594 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5595 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5596 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5597
0e7727f7
JM
55982012-02-27 Joseph Myers <joseph@codesourcery.com>
5599
5600 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5601 later. Allow versions 5-9.
43be4ca2 5602 * configure: Regenerated.
0e7727f7
JM
5603 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5604 required minimum version and 4.6 as recommended version. Do not
5605 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5606 * INSTALL: Regenerated.
0e7727f7 5607
a78bc654
DM
56082012-02-27 David S. Miller <davem@davemloft.net>
5609
428d5830
DM
5610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5614 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5615 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5616 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5617 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5618
a78bc654
DM
5619 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5620 manipulate bits before adding and subtracting TWO112[sx].
5621 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5622
4579f81c
RM
56232012-02-27 Roland McGrath <roland@hack.frob.com>
5624
36c8acb4
RM
5625 [BZ #13775]
5626 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5627 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5628 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5629 being in POSIX, because they are in 1003.1-2008.
5630
84ad622b
RM
5631 * rt/tst-aio.c: Include <fcntl.h>.
5632 * rt/tst-aio7.c: Likewise.
5633 * rt/tst-aio64.c: Likewise.
5634
4579f81c
RM
5635 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5636
abd923db
JM
56372012-02-27 Joseph Myers <joseph@codesourcery.com>
5638
5639 * manual/install.texi (--with-headers): Describe headers as
5640 interface headers, not private headers.
5641 (Specific advice for GNU/Linux systems): Describe use of headers
5642 from "make headers_install", not private headers from older
5643 kernels.
43be4ca2 5644 * INSTALL: Regenerated.
abd923db
JM
5645 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5646 Change to 2.6.19.
5647 * sysdeps/unix/sysv/linux/configure: Regenerated.
5648
6664049b
JM
5649 * manual/llio.texi (fclean): Remove documentation.
5650
bb8b6697
JM
5651 * manual/Makefile (libc-texi-generated): New variable. Include
5652 version.texi.
5653 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5654 $(libc-texi-generated), not duplicated list of files.
5655 (version.texi, stamp-version): New rules.
5656 (realclean): Remove $(libc-texi-generated), not individual files
5657 from that list. Do not remove dir-add.texinfo.
5658 * manual/libc.texinfo: Comment out uses of edition numbers and
5659 references to printed manual. Remove last-updated dates.
5660 (EDITION): Comment out.
5661 (ISBN): Likewise.
5662 (VERSION, UPDATED): Remove.
5663 (version.texi): Include.
5664
12e5c3b9
AS
56652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5666
5667 * sysdeps/posix/spawni.c: Include <signal.h>.
5668 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5669 * sysdeps/pthread/aio_fsync.c: Likewise.
5670
4efeffc1 56712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5672
ba63ba08
UD
5673 * conform/Makefile (tests): Run only when not cross-compiling and
5674 when fast-check is not defined.
5675
d94a4670
UD
5676 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5677 * conform/data/limits.h-data: Fixes for POSIX2008.
5678 * conform/run-conformtest.sh: Run all tests.
5679 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5680 headers.
5681 * include/bits/dlfcn.h: Likewise.
5682 * include/langinfo.h: Likewise.
5683 * include/monetary.h: Likewise.
5684 * include/sys/poll.h: Likewise.
5685
5686 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5687 for __USE_GNU.
5688 * posix/spawn.h: Define __need_sigset_t.
5689 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5690 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5691 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5692 to get sigevent_t only.
5693 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5694 only for __USE_GNU.
5695 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5696 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5697 process_vm_writev only for __USE_GNU.
5698 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5699
5700 * conform/Makefile: For now ignore errors from run-conformtest.
5701 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5702 POSIX to avoid namespace pollution. Don't prepend headers.
5703 * conform/data/aio.h-data: Fixes for POSIX testing.
5704 * conform/data/fcntl.h-data: Likewise.
5705 * conform/data/glob.h-data: Likewise.
5706 * conform/data/grp.h-data: Likewise.
5707 * conform/data/pthread.h-data: Likewise.
5708 * conform/data/pwd.h-data: Likewise.
5709 * conform/data/signal.h-data: Likewise.
5710 * conform/data/spawn.h-data: Likewise.
5711 * conform/data/stdio.h-data: Likewise.
5712 * conform/data/stdlib.h-data: Likewise.
5713 * conform/data/stropts.h-data: Likewise.
5714 * conform/data/sys/mman.h-data: Likewise.
5715 * conform/data/sys/stat.h-data: Likewise.
5716 * conform/data/sys/types.h-data: Likewise.
5717 * conform/data/sys/wait.h-data: Likewise.
5718 * conform/data/time.h-data: Likewise.
5719 * conform/data/unistd.h-data: Likewise.
5720 * conform/data/utime.h-data: Likewise.
5721
5722 * io/sys/stat.h: fchmod was always in POSIX.
5723 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5724 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5725 * rt/aio.h: Define __need_timespec before including <time.h>.
5726 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5727 struct. Add forward declaration of pthread_attr_t and use it in
5728 sigevent.
5729 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5730 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5731 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5732 always remove CLK_TCK definition.
5733
c20105c3
AS
57342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5735
5736 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5737
7a270350
UD
57382012-02-25 Ulrich Drepper <drepper@gmail.com>
5739
31341567
UD
5740 * conform/run-conformtest.sh: New file.
5741 * conform/Makefile: Run run-conformtest for tests.
5742 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5743 support.
5744
5745 * conform/data/uchar.h-data: New file.
5746 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5747 * conform/data/arpa/inet.h-data: Likewise.
5748 * conform/data/assert.h-data: Likewise.
5749 * conform/data/complex.h-data: Likewise.
5750 * conform/data/cpio.h-data: Likewise.
5751 * conform/data/ctype.h-data: Likewise.
5752 * conform/data/dirent.h-data: Likewise.
5753 * conform/data/dlfcn.h-data: Likewise.
5754 * conform/data/errno.h-data: Likewise.
5755 * conform/data/fcntl.h-data: Likewise.
5756 * conform/data/float.h-data: Likewise.
5757 * conform/data/fmtmsg.h-data: Likewise.
5758 * conform/data/fnmatch.h-data: Likewise.
5759 * conform/data/ftw.h-data: Likewise.
5760 * conform/data/glob.h-data: Likewise.
5761 * conform/data/grp.h-data: Likewise.
5762 * conform/data/iconv.h-data: Likewise.
5763 * conform/data/inttypes.h-data: Likewise.
5764 * conform/data/langinfo.h-data: Likewise.
5765 * conform/data/libgen.h-data: Likewise.
5766 * conform/data/limits.h-data: Likewise.
5767 * conform/data/locale.h-data: Likewise.
5768 * conform/data/math.h-data: Likewise.
5769 * conform/data/monetary.h-data: Likewise.
5770 * conform/data/mqueue.h-data: Likewise.
5771 * conform/data/ndbm.h-data: Likewise.
5772 * conform/data/net/if.h-data: Likewise.
5773 * conform/data/netdb.h-data: Likewise.
5774 * conform/data/netinet/in.h-data: Likewise.
5775 * conform/data/nl_types.h-data: Likewise.
5776 * conform/data/poll.h-data: Likewise.
5777 * conform/data/pthread.h-data: Likewise.
5778 * conform/data/pwd.h-data: Likewise.
5779 * conform/data/regex.h-data: Likewise.
5780 * conform/data/sched.h-data: Likewise.
5781 * conform/data/search.h-data: Likewise.
5782 * conform/data/semaphore.h-data: Likewise.
5783 * conform/data/setjmp.h-data: Likewise.
5784 * conform/data/signal.h-data: Likewise.
5785 * conform/data/spawn.h-data: Likewise.
5786 * conform/data/stdarg.h-data: Likewise.
5787 * conform/data/stdio.h-data: Likewise.
5788 * conform/data/stdlib.h-data: Likewise.
5789 * conform/data/string.h-data: Likewise.
5790 * conform/data/strings.h-data: Likewise.
5791 * conform/data/stropts.h-data: Likewise.
5792 * conform/data/sys/ipc.h-data: Likewise.
5793 * conform/data/sys/mman.h-data: Likewise.
5794 * conform/data/sys/msg.h-data: Likewise.
5795 * conform/data/sys/resource.h-data: Likewise.
5796 * conform/data/sys/select.h-data: Likewise.
5797 * conform/data/sys/sem.h-data: Likewise.
5798 * conform/data/sys/shm.h-data: Likewise.
5799 * conform/data/sys/socket.h-data: Likewise.
5800 * conform/data/sys/stat.h-data: Likewise.
5801 * conform/data/sys/statvfs.h-data: Likewise.
5802 * conform/data/sys/time.h-data: Likewise.
5803 * conform/data/sys/timeb.h-data: Likewise.
5804 * conform/data/sys/times.h-data: Likewise.
5805 * conform/data/sys/types.h-data: Likewise.
5806 * conform/data/sys/uio.h-data: Likewise.
5807 * conform/data/sys/un.h-data: Likewise.
5808 * conform/data/sys/utsname.h-data: Likewise.
5809 * conform/data/sys/wait.h-data: Likewise.
5810 * conform/data/syslog.h-data: Likewise.
5811 * conform/data/tar.h-data: Likewise.
5812 * conform/data/termios.h-data: Likewise.
5813 * conform/data/utime.h-data: Likewise.
5814 * conform/data/utmpx.h-data: Likewise.
5815 * conform/data/varargs.h-data: Likewise.
5816 * conform/data/wchar.h-data: Likewise.
5817 * conform/data/wctype.h-data: Likewise.
5818 * conform/data/wordexp.h-data: Likewise.
5819
5820 * include/stropts.h: New file.
5821 * include/uchar.h: New file.
5822 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5823 * include/assert.h: Likewise.
5824 * include/ctype.h: Likewise.
5825 * include/dirent.h: Likewise.
5826 * include/dlfcn.h: Likewise.
5827 * include/fcntl.h: Likewise.
5828 * include/fnmatch.h: Likewise.
5829 * include/glob.h: Likewise.
5830 * include/grp.h: Likewise.
5831 * include/libio.h: Likewise.
5832 * include/locale.h: Likewise.
5833 * include/math.h: Likewise.
5834 * include/net/if.h: Likewise.
5835 * include/netdb.h: Likewise.
5836 * include/netinet/in.h: Likewise.
5837 * include/pthread.h: Likewise.
5838 * include/pwd.h: Likewise.
5839 * include/regex.h: Likewise.
5840 * include/sched.h: Likewise.
5841 * include/search.h: Likewise.
5842 * include/setjmp.h: Likewise.
5843 * include/signal.h: Likewise.
5844 * include/stdio.h: Likewise.
5845 * include/stdlib.h: Likewise.
5846 * include/string.h: Likewise.
5847 * include/sys/cdefs.h: Likewise.
5848 * include/sys/mman.h: Likewise.
5849 * include/sys/msg.h: Likewise.
5850 * include/sys/resource.h: Likewise.
5851 * include/sys/select.h: Likewise.
5852 * include/sys/socket.h: Likewise.
5853 * include/sys/stat.h: Likewise.
5854 * include/sys/statvfs.h: Likewise.
5855 * include/sys/time.h: Likewise.
5856 * include/sys/times.h: Likewise.
5857 * include/sys/uio.h: Likewise.
5858 * include/sys/utsname.h: Likewise.
5859 * include/sys/wait.h: Likewise.
5860 * include/termios.h: Likewise.
5861 * include/time.h: Likewise.
5862 * include/ulimit.h: Likewise.
5863 * include/unistd.h: Likewise.
5864 * include/utime.h: Likewise.
5865 * include/wchar.h: Likewise.
5866 * include/wctype.h: Likewise.
5867 * include/wordexp.h: Likewise.
5868
5869 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5870
7a270350
UD
5871 * time/time.h: TIME_UTC must be a macro.
5872 Make timespec_get available for ISO C11 only as well.
5873
7724defc
UD
58742012-02-24 Ulrich Drepper <drepper@gmail.com>
5875
5876 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5877 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5878
6b1d1d46
JM
58792012-02-24 Joseph Myers <joseph@codesourcery.com>
5880
5881 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5882
0f8bbd69
JM
58832012-02-24 Joseph Myers <joseph@codesourcery.com>
5884
5885 * manual/texinfo.tex: Update to version 2012-01-19.16.
5886
66ab80bc
JM
58872012-02-24 Joseph Myers <joseph@codesourcery.com>
5888
5889 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5890
74981cc5
RM
58912012-02-24 Roland McGrath <roland@hack.frob.com>
5892
ee968201
RM
5893 [BZ #13738]
5894 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5895 * manual/fdl-1.3.texi: New file.
5896 * manual/fdl-1.1.texi: File removed.
5897
74981cc5
RM
5898 [BZ #13738]
5899 * manual/libc.texinfo (FDL_VERSION): New @set.
5900 Use it for mention of FDL in cover text.
5901 (Documentation License): Use it in @include file name.
5902
7bb764bc
JM
59032012-02-22 Joseph Myers <joseph@codesourcery.com>
5904 Roland McGrath <roland@hack.frob.com>
5905
5906 [BZ #5461]
5907 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5908 not LONG_LONG_MAX and LONG_LONG_MIN.
5909 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5910 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5911 name.
5912 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5913
6cbeae47
JM
59142012-02-22 Joseph Myers <joseph@codesourcery.com>
5915
5916 [BZ #2547]
5917 [BZ #11365]
5918 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5919 manipulate bits before adding and subtracting TWO23[sx].
5920 * math/libm-test.inc (nearbyint_test): Add more tests.
5921
fe45ce09
JM
59222012-02-22 Joseph Myers <joseph@codesourcery.com>
5923
5924 [BZ #2548]
5925 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5926 bits before adding and subtracting TWO23[sx].
5927 * math/libm-test.inc (rint_test): Add more tests.
5928 (rint_test_tonearest): Likewise.
5929 (rint_test_towardzero): Likewise.
5930 (rint_test_downward): Likewise.
5931 (rint_test_upward: Likewise.
5932
ff3b3d82
JM
59332012-02-22 Joseph Myers <joseph@codesourcery.com>
5934
5935 [BZ #10110]
5936 * include/stdc-predef.h: New file. Extracted from features.h.
5937 * include/features.h: Include stdc-predef.h.
5938 * Makefile (headers): Add stdc-predef.h.
5939 * CONFORMANCE (Compiler limitations): Update.
5940
ef0aab35
JM
59412012-02-22 Joseph Myers <joseph@codesourcery.com>
5942
5943 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5944
58639409
DM
59452012-02-21 David S. Miller <davem@davemloft.net>
5946
5947 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5948 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5949
c0e70b25
DM
59502012-02-20 David S. Miller <davem@davemloft.net>
5951
5952 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5953 using a normal save/restore sequence, rather than allocating a
5954 dummy stack frame just to store a frame pointer and restore.
5955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5956
fb06851d
JM
59572012-02-21 Joseph Myers <joseph@codesourcery.com>
5958
5959 * manual/install.texi: Fix stray word in line-wrapped comment.
5960
7a8b71c3
DM
59612012-02-20 David S. Miller <davem@davemloft.net>
5962
d510c123
DM
5963 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5964 both binutils and gcc support GOTDATA.
5965
0722d7c2
DM
5966 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5967 "rd %pc" in the PIC register setup sequences.
5968
3d2b3019
DM
5969 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5970 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5971 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5972 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5973 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5974 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5975 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5978 (SYSCALL_ERROR_HANDLER): Likewise.
5979 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5980 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5982 (SYSCALL_ERROR_HANDLER): Likewise.
5983
c80098a9
DM
5984 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5985 (HAVE_GCC_GOTDATA): New.
5986 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5987 relocation support in both binutils and gcc.
5988 * sysdeps/sparc/elf/configure: Regenerate.
5989
3a2545a0
DM
5990 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5991 * sysdeps/sparc/sparc32/elf/configure: Delete.
5992 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5993 * sysdeps/sparc/sparc64/elf/configure: Delete.
5994 * sysdeps/sparc/elf/configure.in: New file.
5995 * sysdeps/sparc/elf/configure: Generate.
5996
7a8b71c3
DM
5997 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5998 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5999 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6000 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6001 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6002
f1e86fca
JM
60032012-02-21 Joseph Myers <joseph@codesourcery.com>
6004
6005 * manual/install.texi: Do not mention specific glibc version
6006 numbers.
6007 * manual/libc.texinfo (VERSION, UPDATED): Update.
6008 (@copying): Use @copyright{} and range of years.
6009
0e7dfaef
JM
60102012-02-21 Joseph Myers <joseph@codesourcery.com>
6011
6012 [BZ #13695]
6013 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6014 [crti.S not in sysdirs] (generated): Do not append.
6015 [crti.S not in sysdirs] (omit-deps): Likewise.
6016 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6017 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6018 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6019 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6020 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6021 Likewise.
6022 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6023 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6024 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6025 * csu/defs.awk: Remove file.
6026 * sysdeps/generic/initfini.c: Likewise.
6027 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6028 variable.
6029 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6030 Likewise.
6031
599af3ca
JM
60322012-02-20 Joseph Myers <joseph@codesourcery.com>
6033
6034 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6035 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6036 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6037 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6038 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6039 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6040 <bits/epoll.h>.
6041 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6042 (__EPOLL_PACKED): Define to empty if not defined by
6043 <bits/epoll.h>.
6044 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6046 bits/epoll.h.
6047
0e499750
JM
60482012-02-20 Joseph Myers <joseph@codesourcery.com>
6049
6050 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6051 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6052 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6053 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6054 <bits/timerfd.h>.
6055 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6057 bits/timerfd.h.
6058
5ad91f6e
JM
60592012-02-20 Joseph Myers <joseph@codesourcery.com>
6060
6061 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6062 in C locale.
6063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6064 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6065 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6067
06b99b02
AJ
60682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6069
6070 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6071 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6072
7638c0fd
AS
60732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6074
6075 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6076 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6077 defined.
6078 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6079 Likewise.
6080 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6081 entry for 2.16.
6082
92221550
AJ
60832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6084
6085 * math/w_acos.c: Use non-signaling floating-point comparisons.
6086 * math/w_acosf.c: Likewise.
6087 * math/w_acosh.c: Likewise.
6088 * math/w_acoshf.c: Likewise.
6089 * math/w_acoshl.c: Likewise.
6090 * math/w_acosl.c: Likewise.
6091 * math/w_asin.c: Likewise.
6092 * math/w_asinf.c: Likewise.
6093 * math/w_asinl.c: Likewise.
6094 * math/w_atanh.c: Likewise.
6095 * math/w_atanhf.c: Likewise.
6096 * math/w_atanhl.c: Likewise.
6097 * math/w_exp2.c: Likewise.
6098 * math/w_exp2f.c: Likewise.
6099 * math/w_exp2l.c: Likewise.
6100 * math/w_j0.c: Likewise.
6101 * math/w_j0f.c: Likewise.
6102 * math/w_j0l.c: Likewise.
6103 * math/w_j1.c: Likewise.
6104 * math/w_j1f.c: Likewise.
6105 * math/w_j1l.c: Likewise.
6106 * math/w_jn.c: Likewise.
6107 * math/w_jnf.c: Likewise.
6108 * math/w_log.c: Likewise.
6109 * math/w_log10.c: Likewise.
6110 * math/w_log10f.c: Likewise.
6111 * math/w_log10l.c: Likewise.
6112 * math/w_log2.c: Likewise.
6113 * math/w_log2f.c: Likewise.
6114 * math/w_log2l.c: Likewise.
6115 * math/w_logf.c: Likewise.
6116 * math/w_logl.c: Likewise.
6117 * math/w_sqrt.c: Likewise.
6118 * math/w_sqrtf.c: Likewise.
6119 * math/w_sqrtl.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6122 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6123 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6124 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6125
ebaf36eb
JM
61262012-02-19 Joseph Myers <joseph@codesourcery.com>
6127
6128 [BZ #9739]
6129 * manual/string.texi (strnlen): Use correct parameter name in
6130 equivalent expression.
6131
71c254a6
JM
61322012-02-19 Joseph Myers <joseph@codesourcery.com>
6133
6134 [BZ #11174]
6135 * manual/users.texi (seteuid): Consistently use neweuid for
6136 argument name.
6137
16d2c631
JM
61382012-02-19 Joseph Myers <joseph@codesourcery.com>
6139
6140 [BZ #13704]
6141 * manual/nss.texi (Services in the NSS configuration): Correct
6142 list of services in example configuration file.
6143
cd837b09
NB
61442012-02-19 Nick Bowler <nbowler@draconx.ca>
6145
6146 [BZ #11322]
6147 * manual/arith.texi: Remove statements about negative zero
6148 behaving identically to zero.
6149
02c4bbad
JM
61502012-02-18 Joseph Myers <joseph@codesourcery.com>
6151
6152 [BZ #5993]
6153 * manual/install.texi: Do not document upgrading from libc5.
6154
366842e7
JM
61552012-02-18 Joseph Myers <joseph@codesourcery.com>
6156
6157 [BZ #4596]
6158 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6159
dd54084d
DM
61602012-02-18 David S. Miller <davem@davemloft.net>
6161
6162 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6163 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6164 %o7 across the call.
6165 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6166 instead.
6167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6168 SETUP_PIC_REG_LEAF.
6169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6170 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6171 * sysdeps/sparc/crtn.S: Likewise.
6172
2bcc53a3
UD
61732012-02-17 Ulrich Drepper <drepper@gmail.com>
6174
6175 * aout/Makefile: Remove.
6176
09c093b5
RK
61772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6178
6179 [BZ #13058]
6180 * manual/examples/argp-ex1.c (main): Format definition in GNU
6181 style.
6182 * manual/examples/argp-ex2.c (main): Likewise.
6183 * manual/examples/argp-ex3.c (main): Likewise.
6184 * manual/examples/argp-ex4.c (main): Likewise.
6185 * manual/examples/longopt.c (main): Use new-style prototype
6186 definition.
6187 * manual/examples/strncat.c (main): Specify return type and use
6188 (void) for arguments.
6189 * manual/examples/subopt.c (main): Use char **argv argument.
6190
2ee633a2
JM
61912012-02-17 Joseph Myers <joseph@codesourcery.com>
6192
6193 [BZ #5077]
6194 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6195 rounding modes.
6196
0520adde
FB
61972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6198
6199 [BZ #6907]
6200 * manual/string.texi (strchr): Change when strchrnul is
6201 recommended.
6202
3f4081cd
DGM
62032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6204
6205 [BZ #174]
6206 * manual/locale.texi (setlocale): Document LOCPATH.
6207
d1b10e78
JM
62082012-02-17 Joseph Myers <joseph@codesourcery.com>
6209
6210 [BZ #10210]
6211 * manual/process.texi (execle): Move @dots{} before last argument.
6212
79c6869c
PB
62132012-02-17 Paul Bolle <pebolle@tiscali.nl>
6214
6215 [BZ #12047]
6216 * manual/charset.texi (Generic Charset Conversion): Fix typo
6217 (LC_TYPE -> LC_CTYPE).
6218
cc6e48bc
NB
62192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6220
6221 [BZ #5805]
6222 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6223 (scalbnf): Likewise.
6224 (scalbnl): Likewise.
6225 (scalbln): Likewise.
6226 (scalblnf): Likewise.
6227 (scalblnl): Likewise.
6228 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6229 (vwarnx): Likewise.
6230 (verr): Likewise.
6231 (verrx): Likewise.
6232 * manual/filesys.texi (telldir): Use braces around return type.
6233 * manual/llio.texi (mmap): Add space after comma.
6234 (mmap64): Likewise.
6235 * manual/math.texi (jn): Use @var{} on parameter names.
6236 (jnf): Likewise.
6237 (jnl): Likewise.
6238 (yn): Likewise.
6239 (ynf): Likewise.
6240 (ynl): Likewise.
6241 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6242 line.
6243 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6244 "...".
6245 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6246 (sched_get_priority_max): Likewise.
6247 * manual/signal.texi (sigvec): Add space after comma.
6248 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6249 names.
6250 (if_indextoname): Likewise.
6251 (if_freenameindex): Likewise.
6252 (sendto): Use ',' instead of '.' in prototype.
6253 * manual/startup.texi (syscall): Use @dots{} instead of literal
6254 "...".
6255 * manual/stdio.texi (__fpending): Separate initial words of
6256 paragraph from @deftypefun line.
6257 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6258 "...".
6259 (vsyslog): Use @var{} on parameter names.
6260 * manual/terminal.texi (stty): Use @var{} on parameter names.
6261 * manual/users.texi (getutmp): Use @var{} on parameter names.
6262 (getutmpx): Likewise.
6263
5b23062f
JM
62642012-02-17 Joseph Myers <joseph@codesourcery.com>
6265
6266 [BZ #6884]
6267 * manual/stdio.texi (fopen): Fix typos in description of
6268 ",ccs=STRING".
6269
8dee4833
AJ
62702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6271
6272 [BZ #4026]
6273 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6274 get clock_id definition.
6275
9078ce93
TS
62762012-02-17 Thomas Schwinge <thomas@schwinge.name>
6277
6278 [BZ #4822]
6279 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6280 (madvise): Cast every argument to void on its own.
6281
3835c55f
JM
62822012-02-17 Joseph Myers <joseph@codesourcery.com>
6283
6284 [BZ #9902]
6285 * manual/startup.texi (Exit Status): Fix typo.
6286
35c47e37
JM
62872012-02-17 Joseph Myers <joseph@codesourcery.com>
6288
6289 [BZ #10140]
6290 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6291 * manual/examples/argp-ex2.c: Likewise.
6292 * manual/examples/argp-ex3.c: Likewise.
6293
e3b69ca7
RH
62942012-02-16 Richard Henderson <rth@redhat.com>
6295
6296 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6297 * sysdeps/s390/s390-32/initfini.c: Remove.
6298 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6299 * sysdeps/s390/s390-64/initfini.c: Remove.
6300
df83af67
KK
63012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6302
6303 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6304 compiler output for sysdeps/generic/initfini.c.
6305 * sysdeps/sh/elf/initfini.c: Remove file.
6306
f63f3380
DM
63072012-02-16 David S. Miller <davem@davemloft.net>
6308
fb59b3a4
DM
6309 [BZ #11494]
6310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6311
f63f3380
DM
6312 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6313 * sysdeps/sparc/crti.S: New file.
6314 * sysdeps/sparc/crtn.S: New file.
6315 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6316 * sysdeps/sparc/sparc64/Makefile: Likewise.
6317
df6a4a4a
MF
63182012-02-15 Mike Frysinger <vapier@gentoo.org>
6319
6dd8f3dc 6320 [BZ #3335]
df6a4a4a
MF
6321 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6322
1cac7236
RM
63232012-02-15 Roland McGrath <roland@hack.frob.com>
6324
d2c736f8
RM
6325 [BZ #4822]
6326 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6327
1cac7236
RM
6328 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6329 (write, read, close): Likewise.
6330 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6331
8e475601
JM
63322012-02-15 Joseph Myers <joseph@codesourcery.com>
6333
6334 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6335 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6336 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6337 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6338 <bits/signalfd.h>.
6339 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6341 bits/signalfd.h.
6342
ed656b40
MP
63432012-02-14 Marek Polacek <polacek@redhat.com>
6344
6345 * sysdeps/x86_64/crti.S: New file.
6346 * sysdeps/x86_64/crtn.S: New file.
6347 * sysdeps/x86_64/elf/initfini.c: Remove file.
6348
2a979d3a
JM
63492012-02-13 Joseph Myers <joseph@codesourcery.com>
6350
6351 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6352 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6353 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6354 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6355 <bits/inotify.h>.
6356 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6358 bits/inotify.h.
6359
2a418ac3
JM
63602012-02-13 Joseph Myers <joseph@codesourcery.com>
6361
6362 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6363 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6364 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6365 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6366 <bits/eventfd.h>.
6367 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6369 bits/eventfd.h.
6370
fb779be7
TS
63712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6372
e19e83c5
RM
6373 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6374 __feraiseexcept instead of feraiseexcept.
7c35ffed 6375
fb779be7
TS
6376 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6377 nanosleep invocations.
6378 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6379 strings, and add error checking for a nanosleep invocations.
6380
59ba27a6
PE
63812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6382
6383 Replace FSF snail mail address with URLs, as per GNU coding standards.
6384 Most of the snail mail addresses were wrong anyway, and omitting
6385 them makes the source code easier to maintain. Almost all of the
6386 changes are to license notices and to locale LC_IDENTIFICATION
6387 addresses, except for this one:
6388 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6389 not its snail mail address.
6390
57b957eb
RH
63912012-02-09 Richard Henderson <rth@twiddle.net>
6392
af850b1c
RH
6393 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6394 of kernel-features.h.
6395
57b957eb
RH
6396 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6397
6b73181a
MP
63982012-02-08 Marek Polacek <polacek@redhat.com>
6399
6400 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6401 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6402 * sysdeps/gnu/_G_config.h: Likewise.
6403 * sysdeps/generic/_G_config.h: Likewise.
6404
26ecc33a
AS
64052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6406
6c6dbc63
AS
6407 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6408 tests.
6409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6410
e216c012
AS
6411 * sysdeps/powerpc/powerpc32/crti.S: New file.
6412 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6413 * sysdeps/powerpc/powerpc64/crti.S: New file.
6414 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6415
26ecc33a
AS
6416 * Makeconfig (have-initfini): Don't set.
6417 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6418 * configure.in (nopic_initfini): Don't substitute.
6419 * config.h.in (HAVE_INITFINI): Don't #undef.
6420 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6421 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6422
3add8e13
JM
64232012-02-08 Joseph Myers <joseph@codesourcery.com>
6424
6425 Support crti.S and crtn.S provided directly by architectures.
6426 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6427 [crti.S in sysdirs] (omit-deps): Likewise.
6428 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6429 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6430 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6431 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6432 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6433 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6434 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6435 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6436 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6437 compiler output for sysdeps/generic/initfini.c.
6438 * sysdeps/i386/elf/Makefile: Remove file.
6439 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6440
a22f12b4
MP
64412012-02-07 Marek Polacek <polacek@redhat.com>
6442
6443 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6444 * sysdeps/gnu/_G_config.h: Likewise.
6445 * sysdeps/mach/hurd/_G_config.h: Likewise.
6446
148cf100
MP
64472012-02-07 Marek Polacek <polacek@redhat.com>
6448
6449 * math/Makefile (tests): Add tst-CMPLX2.
6450 * math/tst-CMPLX2.c: New file.
6451
cfdc0dd7
AS
64522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6453
84ba42c4
AS
6454 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6455
cfdc0dd7
AS
6456 * math/libm-test.inc (jn_test): Add missing L suffix.
6457
622c86f4
MP
64582012-02-06 Marek Polacek <polacek@redhat.com>
6459
6460 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6461 * sysdeps/i386/fpu/e_powf.S: Likewise.
6462 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6463 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6464 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6465 * sysdeps/i386/fpu/e_pow.S: Likewise.
6466 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6467 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6468 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6469 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6470 * sysdeps/i386/fpu/e_log2.S: Likewise.
6471 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6472 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6473 * sysdeps/i386/fpu/e_powl.S: Likewise.
6474 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6475 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6476 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6477 * sysdeps/i386/fpu/e_logl.S: Likewise.
6478 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6479 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6480 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6481 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6482 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6483 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6484 * sysdeps/i386/fpu/e_log.S: Likewise.
6485 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6486 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6487 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6488 * sysdeps/i386/fpu/e_logf.S: Likewise.
6489 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6490 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6491 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6492 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6493 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6494 * sysdeps/i386/fpu/e_log10.S: Likewise.
6495 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6496 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6497 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6498 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6499 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6500 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6501 * sysdeps/i386/asm-syntax.h: Likewise.
6502 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6503 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6504 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6505 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6506 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6507 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6508 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6509 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6510 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6511 * sysdeps/powerpc/sysdep.h: Likewise.
6512 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6513 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6514
d4a54ac6
JM
65152012-02-06 Joseph Myers <joseph@codesourcery.com>
6516
6517 [BZ #411]
6518 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6519
314054ea
JM
65202012-02-06 Joseph Myers <joseph@codesourcery.com>
6521
6522 * sysdeps/i386/sysdep.h: Include <features.h>.
6523 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6524 version.
6525
d8e0ca50
JM
65262012-02-05 Joseph Myers <joseph@codesourcery.com>
6527
6528 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6529 Define.
6530 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6531 LOAD_PIC_REG_STR.
6532
b1da7dd9
JM
65332012-02-03 Joseph Myers <joseph@codesourcery.com>
6534
6535 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6536 (SETUP_PIC_REG): Use GET_PC_THUNK.
6537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6538 macro.
6539
9a1d9254
JM
65402012-02-03 Joseph Myers <joseph@codesourcery.com>
6541
6542 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6543 for non-PIC compilation.
6544 (SETUP_PIC_REG): Add .p2align directive.
6545 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6546 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6547 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6548 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6549 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6550 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6551 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6553 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6554 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6555 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6556 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6557 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6558 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6559 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6560 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6561 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6562 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6563 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6564 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6565 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6567 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6568 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6569 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6571 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6572 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6573 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6574 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6575 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6576 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6577 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6578 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6579 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6580 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6581 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6585 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6586
65dc3b75
JM
65872012-02-03 Joseph Myers <joseph@codesourcery.com>
6588
6589 * math/tst-CMPLX.c: Include <stdio.h>.
6590
d55bf177
JM
65912012-01-31 Joseph Myers <joseph@codesourcery.com>
6592
6593 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6594 float.
6595 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6596 * sysdeps/sparc/bits/mathdef.h: Likewise.
6597
69db4f8f
MP
65982012-01-31 Marek Polacek <polacek@redhat.com>
6599
6600 * libio/libio.h: Don't define _PARAMS.
6601 * locale/programs/config.h: Don't define PARAMS.
6602 * stdlib/strtol_l.c: Likewise.
6603 (__strtol_l): Remove PARAMS from the prototype.
6604
41b81892
UD
66052012-01-31 Ulrich Drepper <drepper@gmail.com>
6606
3b49edc0
UD
6607 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6608 names. Just use the correct names. Remove unnecessary wrapper
6609 functions.
6610 * malloc/arena.c: Likewise.
6611 * malloc/hooks.c: Likewise.
6612
41b81892
UD
6613 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6614 ARENA_TEST says not to. Simplify test for creation of a new arena.
6615 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6616
27a25b6e
UD
66172012-01-30 Ulrich Drepper <drepper@gmail.com>
6618
6619 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6620 into tail calls.
6621 (update_get_addr): New function.
6622 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6623 GET_ADDR_MODULE parameter.
6624
c8a89e7d
JM
66252012-01-30 Joseph Myers <joseph@codesourcery.com>
6626
6627 * crypt/cert.c: Remove __STDC__ conditionals.
6628 * crypt/crypt-entry.c: Likewise.
6629 * crypt/crypt_util.c: Likewise.
6630 * libio/filedoalloc.c: Likewise.
6631 * libio/fileops.c: Likewise.
6632 * libio/genops.c: Likewise.
6633 * libio/iofclose.c: Likewise.
6634 * libio/iofdopen.c: Likewise.
6635 * libio/iofopen.c: Likewise.
6636 * libio/iofopen64.c: Likewise.
6637 * libio/iogetdelim.c: Likewise.
6638 * libio/iopopen.c: Likewise.
6639 * libio/obprintf.c: Likewise.
6640 * libio/oldfileops.c: Likewise.
6641 * libio/oldiofclose.c: Likewise.
6642 * libio/oldiofdopen.c: Likewise.
6643 * libio/oldiofopen.c: Likewise.
6644 * libio/oldiopopen.c: Likewise.
6645 * libio/wfiledoalloc.c: Likewise.
6646 * libio/wgenops.c: Likewise.
6647 * locale/programs/xmalloc.c: Likewise.
6648 * misc/syslog.c: Likewise.
6649 * stdio-common/xbug.c: Likewise.
6650 * string/memchr.c: Likewise.
6651 * string/memcmp.c: Likewise.
6652 * string/memrchr.c: Likewise.
6653 * string/rawmemchr.c: Likewise.
6654 * sysdeps/posix/getcwd.c: Likewise.
6655 * time/strftime_l.c: Likewise.
6656
3b100462
JM
66572012-01-30 Joseph Myers <joseph@codesourcery.com>
6658
6659 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6660 * config.make.in (config-cflags-sse2avx): Define.
6661 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6662 Fix typo.
6663
607998af
CM
66642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6665
6666 * scripts/config.guess: Update from upstream config git repository.
6667 * scripts/config.sub: Likewise.
6668
3601428f
CM
66692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6670
3ac8b282
CM
6671 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6672 (EM_NUM): Update.
6673 (R_TILEPRO_*, R_TILEGX_*): New macros.
6674
e034841e
CM
6675 * scripts/firstversions.awk: Fix bug in version range handling.
6676
540d7568
CM
6677 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6678
3601428f
CM
6679 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6680
463de862
CM
6681 * include/sys/epoll.h: New file.
6682 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6683 libc_hidden_def.
6684
73139a76
UD
66852012-01-28 Ulrich Drepper <drepper@gmail.com>
6686
96bc5b45
UD
6687 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6688 Avoid unnecessary __WORDSIZE == 64 test.
6689 (fmaxf): Use VEX format if possible.
6690 (fmax): Likewise.
6691 (fminf): Likewise.
6692 (fmin): Likewise.
6693
56f6f6a2
UD
6694 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6695 * math/math_private.h: Remove libc_fegetround* and
6696 libc_fesetround*.
6697 * sysdeps/i386/configure.in: Check for -msse2avx.
6698 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6699 also if SSE2AVX is defined.
6700 Remove libc_fegetround* and libc_fesetround*.
6701 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6702 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6704 of HAS_YMM_USABLE.
6705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6710
73139a76
UD
6711 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6712
d73f93a4
AZ
67132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6714
6715 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6716 size is not set.
6717 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6718
6ee65ed6
UD
67192012-01-27 Ulrich Drepper <drepper@gmail.com>
6720
6721 [BZ #13618]
6722 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6723 relocation.
6724 * Makeconfig (libm): Define.
6725 * elf/Makefile: Add rules to build and run tst-relsort1.
6726 * elf/tst-relsort1.c: New file.
6727 * elf/tst-relsort1mod1.c: New file.
6728 * elf/tst-relsort1mod2.c: New file.
6729
8db21882
JM
67302012-01-27 Joseph Myers <joseph@codesourcery.com>
6731
6732 * math/s_ldexp.c: Remove __STDC__ conditionals.
6733 * math/s_ldexpf.c: Likewise.
6734 * math/s_ldexpl.c: Likewise.
6735 * math/s_nextafter.c: Likewise.
6736 * math/s_nexttowardf.c: Likewise.
6737 * math/s_significand.c: Likewise.
6738 * math/s_significandf.c: Likewise.
6739 * math/s_significandl.c: Likewise.
6740 * math/w_jnl.c: Likewise.
6741 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6742 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6743 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6744 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6745 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6750 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6751 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6753 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6754 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6755 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6756 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6760 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6761 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6762 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6763 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6764 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6765 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6766 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6767 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6768 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6769 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6770 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6771 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6772 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6773 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6774 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6775 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6776 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6777 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6778 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6779 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6780 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6781 * sysdeps/ieee754/k_standard.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6843 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6848 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6856 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6857 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6861 * sysdeps/ieee754/s_matherr.c: Likewise.
6862 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6863 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6866
965a54a4
JM
68672012-01-26 Joseph Myers <joseph@codesourcery.com>
6868
6869 * crypt/md5.h: Remove __STDC__ conditionals.
6870 * libio/libioP.h: Likewise.
6871 * locale/programs/config.h: Likewise.
6872 * sysdeps/generic/sysdep.h: Likewise.
6873 * sysdeps/i386/asm-syntax.h: Likewise.
6874 * sysdeps/s390/asm-syntax.h: Likewise.
6875 * sysdeps/unix/sysdep.h: Likewise.
6876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6878
7071ad79
JM
68792012-01-26 Joseph Myers <joseph@codesourcery.com>
6880
6881 * libio/libio.h: Remove __STDC__ conditionals.
6882 * malloc/obstack.h: Likewise.
6883 * math/complex.h: Likewise.
6884 * math/math.h: Likewise.
6885 * sysdeps/generic/_G_config.h: Likewise.
6886 * sysdeps/gnu/_G_config.h: Likewise.
6887 * sysdeps/mach/hurd/_G_config.h: Likewise.
6888 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6889 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6890 * sysdeps/sparc/bits/mathdef.h: Likewise.
6891
afc5ed09
UD
68922012-01-26 Ulrich Drepper <drepper@gmail.com>
6893
6894 [BZ #13583]
6895 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6896 Clean up HAS_* macros.
afc5ed09 6897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6898 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6899 possible.
6900 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6901 HAS_AVX.
6902 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6903 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6904 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6905 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6906 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6907
bdb6de1d
JM
69082012-01-25 Joseph Myers <joseph@codesourcery.com>
6909
6910 * elf/tst-unique3.cc (gets): Remove declaration.
6911 * elf/tst-unique3lib.cc (gets): Likewise.
6912 * elf/tst-unique3lib2.cc (gets): Likewise.
6913 * elf/tst-unique4.cc (gets): Likewise.
6914
b15549e6
UD
69152012-01-24 Ulrich Drepper <drepper@gmail.com>
6916
6917 * include/stdio.h: Add C++ protection. Add gets declarations and
6918 definitions.
6919 * debug/tst-chk1.c: Don't declare gets here.
6920 * stdio-common/tst-gets.c: Likewise.
6921
a037381f
JM
69222012-01-24 Joseph Myers <joseph@codesourcery.com>
6923
6924 * posix/glob: Remove directory.
6925
f1d4aa75
JM
69262012-01-24 Joseph Myers <joseph@codesourcery.com>
6927
6928 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6929
81c0c964
PT
69302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6931
6932 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6933 of the non-standard EPFNOSUPPORT.
6934
0ea698ae
ST
69352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6936
6937 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6938 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6939 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6940
d220b117
UD
69412012-01-21 Ulrich Drepper <drepper@gmail.com>
6942
6943 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6944
3e1aa84e
UD
69452012-01-20 Ulrich Drepper <drepper@gmail.com>
6946
6947 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6948 transient errors.
6949 * nscd/grpcache.c (cache_addgr): Likewise.
6950 * nscd/hstcache.c (cache_addhst): Likewise.
6951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6952 * nscd/pwdcache.c (cache_addpw): Likewise.
6953 * nscd/servicescache.c (cache_addserv): Likewise.
6954
400aa020
UD
69552012-01-16 Ulrich Drepper <drepper@gmail.com>
6956
d77e7869
UD
6957 * malloc/malloc.c: Various cleanups.
6958 * malloc/hooks.c: Likewise.
6959
400aa020
UD
6960 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6961 * stdlib/bug-fmtmsg1.c: New file.
6962
6963 * stdlib/fmtmsg.c (init): Add missing unlock.
6964 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6965
e0a309cf
MP
69662012-01-12 Marek Polacek <polacek@redhat.com>
6967
6968 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6969 and _GNU_SOURCE.
6970
929d11c7
WS
69712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6972
6973 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6974 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6975 macro to ensure uniqueness of label name.
6976 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6977 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6978
41d0e869
UD
69792012-01-11 Ulrich Drepper <drepper@gmail.com>
6980
0cc5ed3b
UD
6981 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6982
41d0e869
UD
6983 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6984 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6985 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6987
a47a831a
UD
69882012-01-10 Ulrich Drepper <drepper@gmail.com>
6989
daa891c0
UD
6990 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6991
6992 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6993 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6994 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6995
e58ef0f2
UD
6996 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6997
a47a831a 6998 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6999 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7000 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7002
7003 * math/bits/math-finite.h: Add ldexp support.
7004
a0bfc9c7
MP
70052012-01-10 Marek Polacek <polacek@redhat.com>
7006
7007 * locale/programs/localedef.h (show_archive_content): Add noreturn
7008 attribute.
7009
d6e97a1d
UD
70102012-01-09 Ulrich Drepper <drepper@gmail.com>
7011
7012 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7013
d5835c26
UD
70142012-01-08 Ulrich Drepper <drepper@gmail.com>
7015
e5f484c6
UD
7016 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7017
d5835c26
UD
7018 * io/Makefile (headers): Add bits/poll2.h.
7019
d1f741e9
WS
70202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7021
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7023 typo #include statement.
7024
ec09c1c4
UD
70252012-01-08 Ulrich Drepper <drepper@gmail.com>
7026
7027 * include/sys/cdefs.h: Define __attribute_alloc_size.
7028 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7029 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7030 * elf/pldd.c: Likewise.
7031 * iconv/iconv_charmap.c: Likewise.
7032 * iconv/iconvconfig.c: Likewise.
7033 * iconv/strtab.c: Likewise.
7034 * locale/programs/locale.c: Likewise.
7035 * locale/programs/localedef.h: Likewise.
7036 * locale/programs/simple-hash.c: Likewise.
7037 * nscd/nscd.h: Likewise.
7038 * nss/makedb.c: Likewise.
7039 * sysdeps/generic/ldconfig.h: Likewise.
7040 * locale/programs/localedef.c: Remove xmalloc prototype.
7041 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7042
20b38e03
PP
70432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7044
7045 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7046 appropriate.
7047
a0da5fe1
UD
70482012-01-08 Ulrich Drepper <drepper@gmail.com>
7049
1d5a644a 7050 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7051 * math/tst-CMPLX.c: New file.
1d5a644a 7052
8784a6db
UD
7053 * math/complex.h (CMPLXL): Fix typo.
7054
d9a216c0
UD
7055 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7056 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7057 GLIBC_2.16.
7058 * debug/tst-chk1.c: Add poll and ppoll tests.
7059 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7060 * include/sys/poll.h: Add hidden proto for ppoll.
7061 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7062 * sysdeps/mach/hurd/ppoll.c: Likewise.
7063 * io/ppoll.c: Likewise.
7064 * debug/poll_chk.c: New file.
7065 * debug/ppoll_chk.c: New file.
7066 * include/bits/poll2.h: New file.
7067 * io/bits/poll2.h: New file.
7068
ac097f5c
UD
7069 [BZ #1350]
7070 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7071
2119dcfa
UD
7072 * configure.in: static is always set to yes. Remove.
7073 * config.make.in: Don't set build-static.
7074 * Makeconfig: Remove use of build-static.
7075 * dlfcn/Makefile: Likewise.
7076 * elf/Makefile: Likewise.
7077 * math/Makefile: Likewise.
7078 * misc/Makefile: Likewise.
7079 * nptl/Makefile: Likewise.
7080 * sysdeps/mach/hurd/Makefile: Likewise.
7081
121766a9
UD
7082 * configure.in: PWD_P is not used anymore.
7083 * config.make.in: Remove PWD_P entry.
7084
51a1d39c 7085 * configure.in: Remove last remnants of RANLIB.
8720d066 7086 No need to check for signed size_t anymore.
215f4bdc
UD
7087 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7088 and IA-64.
3857022a 7089 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7090 * aclocal.m4: Likewise.
7091
d3ed7225
UD
7092 * wcsmbs/mbrtoc16.c: Implement using towc function.
7093 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7094 * wcsmbs/wcsmbsload.c: Likewise.
7095 * iconv/gconv_simple.c: Likewise.
7096 * iconv/gconv_int.h: Likewise.
7097 * iconv/gconv_builtin.h: Likewise.
7098 * iconv/iconv_prog.c: Remove CHAR16 handling.
7099
7100 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7101
7102 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7103
a0da5fe1
UD
7104 * configure.in: Remove --with-elf and --enable-bounded options.
7105 Dont set base_machine for ia64. More non-ELF conditions removed.
7106 Remove testing and setting of leading underscore information.
7107 * config.make.in (build-bounded): Set to no.
7108 * config.h.in: Remove NO_UNDERSCORES entry.
7109 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7110 them.
7111 * csu/start.c: Remove !NO_UNDERSCORE code.
7112 * locale/localeinfo.h: Likewise.
7113 * sysdeps/generic/machine-gmon.h: Likewise.
7114 * sysdeps/generic/sysdep.h: Likewise.
7115 * sysdeps/i386/sysdep.h: Likewise.
7116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7117 * sysdeps/mach/sysdep.h: Likewise.
7118 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7119 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7120 * sysdeps/sh/sysdep.h: Likewise.
7121 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7122 * sysdeps/unix/i386/sysdep.S: Likewise.
7123 * sysdeps/unix/sparc/start.c: Likewise.
7124 * sysdeps/unix/sparc/sysdep.S: Likewise.
7125 * sysdeps/unix/sparc/sysdep.h: Likewise.
7126 * sysdeps/unix/start.c: Likewise.
7127 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7128 * sysdeps/x86_64/sysdep.h: Likewise.
7129
df78418a
UD
71302012-01-07 Ulrich Drepper <drepper@gmail.com>
7131
a784e502
UD
7132 [BZ #13553]
7133 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7134 for non-gcc.
7135 * argp/argp-fmtstream.h: Use const instead __const.
7136 * argp/argp.h: Likewise.
7137 * assert/assert.h: Likewise.
7138 * bits/fenv.h: Likewise.
7139 * bits/sched.h: Likewise.
7140 * bits/sigset.h: Likewise.
7141 * bits/sigthread.h: Likewise.
7142 * catgets/nl_types.h: Likewise.
7143 * conform/data/pthread.h-data: Likewise.
7144 * crypt/crypt-private.h: Likewise.
7145 * crypt/crypt.h: Likewise.
7146 * crypt/crypt_util.c: Likewise.
7147 * ctype/ctype.h: Likewise.
7148 * debug/execinfo.h: Likewise.
7149 * debug/mbsnrtowcs_chk.c: Likewise.
7150 * debug/mbsrtowcs_chk.c: Likewise.
7151 * debug/wcsnrtombs_chk.c: Likewise.
7152 * debug/wcsrtombs_chk.c: Likewise.
7153 * debug/wcstombs_chk.c: Likewise.
7154 * dirent/dirent.h: Likewise.
7155 * dlfcn/dlfcn.h: Likewise.
7156 * elf/neededtest4.c: Likewise.
7157 * grp/grp.h: Likewise.
7158 * gshadow/gshadow.h: Likewise.
7159 * iconv/gconv.h: Likewise.
7160 * iconv/gconv_int.h: Likewise.
7161 * iconv/gconv_simple.c: Likewise.
7162 * iconv/iconv.h: Likewise.
7163 * iconv/loop.c: Likewise.
7164 * iconv/skeleton.c: Likewise.
7165 * include/aio.h: Likewise.
7166 * include/aliases.h: Likewise.
7167 * include/argz.h: Likewise.
7168 * include/arpa/inet.h: Likewise.
7169 * include/assert.h: Likewise.
7170 * include/dirent.h: Likewise.
7171 * include/dlfcn.h: Likewise.
7172 * include/execinfo.h: Likewise.
7173 * include/fcntl.h: Likewise.
7174 * include/fenv.h: Likewise.
7175 * include/glob.h: Likewise.
7176 * include/grp.h: Likewise.
7177 * include/libintl.h: Likewise.
7178 * include/mntent.h: Likewise.
7179 * include/netdb.h: Likewise.
7180 * include/pwd.h: Likewise.
7181 * include/rpc/netdb.h: Likewise.
7182 * include/sched.h: Likewise.
7183 * include/search.h: Likewise.
7184 * include/shadow.h: Likewise.
7185 * include/signal.h: Likewise.
7186 * include/stdio.h: Likewise.
7187 * include/stdlib.h: Likewise.
7188 * include/string.h: Likewise.
7189 * include/sys/socket.h: Likewise.
7190 * include/sys/stat.h: Likewise.
7191 * include/sys/statfs.h: Likewise.
7192 * include/sys/statvfs.h: Likewise.
7193 * include/sys/syslog.h: Likewise.
7194 * include/sys/time.h: Likewise.
7195 * include/sys/uio.h: Likewise.
7196 * include/time.h: Likewise.
7197 * include/unistd.h: Likewise.
7198 * include/utmp.h: Likewise.
7199 * include/wchar.h: Likewise.
7200 * include/wctype.h: Likewise.
7201 * inet/aliases.h: Likewise.
7202 * inet/arpa/inet.h: Likewise.
7203 * inet/netinet/ether.h: Likewise.
7204 * inet/netinet/in.h: Likewise.
7205 * intl/libintl.h: Likewise.
7206 * io/bits/fcntl2.h: Likewise.
7207 * io/fcntl.h: Likewise.
7208 * io/ftw.h: Likewise.
7209 * io/sys/poll.h: Likewise.
7210 * io/sys/stat.h: Likewise.
7211 * io/sys/statfs.h: Likewise.
7212 * io/sys/statvfs.h: Likewise.
7213 * io/utime.h: Likewise.
7214 * libio/bits/stdio.h: Likewise.
7215 * libio/bits/stdio2.h: Likewise.
7216 * libio/libio.h: Likewise.
7217 * libio/libioP.h: Likewise.
7218 * libio/stdio.h: Likewise.
7219 * locale/lc-ctype.c: Likewise.
7220 * locale/locale.h: Likewise.
7221 * login/utmp.h: Likewise.
7222 * malloc/arena.c: Likewise.
7223 * malloc/malloc.c: Likewise.
7224 * malloc/malloc.h: Likewise.
7225 * malloc/mcheck.c: Likewise.
7226 * malloc/mtrace.c: Likewise.
7227 * math/bits/mathcalls.h: Likewise.
7228 * math/fenv.h: Likewise.
7229 * math/math_private.h: Likewise.
7230 * misc/bits/error.h: Likewise.
7231 * misc/bits/syslog.h: Likewise.
7232 * misc/err.h: Likewise.
7233 * misc/error.h: Likewise.
7234 * misc/fstab.h: Likewise.
7235 * misc/mntent.h: Likewise.
7236 * misc/regexp.h: Likewise.
7237 * misc/search.h: Likewise.
7238 * misc/sgtty.h: Likewise.
7239 * misc/sys/mman.h: Likewise.
7240 * misc/sys/syslog.h: Likewise.
7241 * misc/sys/uio.h: Likewise.
7242 * misc/sys/xattr.h: Likewise.
7243 * misc/ttyent.h: Likewise.
7244 * nis/rpcsvc/ypclnt.h: Likewise.
7245 * nss/nss.h: Likewise.
7246 * posix/bits/unistd.h: Likewise.
7247 * posix/fnmatch.h: Likewise.
7248 * posix/glob.h: Likewise.
7249 * posix/sched.h: Likewise.
7250 * posix/spawn.h: Likewise.
7251 * posix/sys/wait.h: Likewise.
7252 * posix/unistd.h: Likewise.
7253 * posix/wordexp.h: Likewise.
7254 * pwd/pwd.h: Likewise.
7255 * resolv/netdb.h: Likewise.
7256 * resource/sys/resource.h: Likewise.
7257 * rt/aio.h: Likewise.
7258 * rt/bits/mqueue2.h: Likewise.
7259 * rt/mqueue.h: Likewise.
7260 * shadow/shadow.h: Likewise.
7261 * signal/signal.h: Likewise.
7262 * socket/send.c: Likewise.
7263 * socket/sendto.c: Likewise.
7264 * socket/sys/socket.h: Likewise.
7265 * stdio-common/printf.h: Likewise.
7266 * stdlib/bits/stdlib.h: Likewise.
7267 * stdlib/fmtmsg.h: Likewise.
7268 * stdlib/monetary.h: Likewise.
7269 * stdlib/stdlib.h: Likewise.
7270 * stdlib/ucontext.h: Likewise.
7271 * streams/stropts.h: Likewise.
7272 * string/argz.h: Likewise.
7273 * string/bits/string2.h: Likewise.
7274 * string/string.h: Likewise.
7275 * string/strings.h: Likewise.
7276 * sunrpc/rpc/auth.h: Likewise.
7277 * sunrpc/rpc/auth_des.h: Likewise.
7278 * sunrpc/rpc/clnt.h: Likewise.
7279 * sunrpc/rpc/netdb.h: Likewise.
7280 * sunrpc/rpc/pmap_clnt.h: Likewise.
7281 * sunrpc/rpc/xdr.h: Likewise.
7282 * sysdeps/generic/inttypes.h: Likewise.
7283 * sysdeps/generic/net/if.h: Likewise.
7284 * sysdeps/generic/sys/swap.h: Likewise.
7285 * sysdeps/gnu/net/if.h: Likewise.
7286 * sysdeps/gnu/utmpx.h: Likewise.
7287 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7288 * sysdeps/i386/i486/bits/string.h: Likewise.
7289 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7290 * sysdeps/s390/bits/string.h: Likewise.
7291 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7292 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7293 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7294 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7295 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7296 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7297 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7298 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7299 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7300 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7301 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7302 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7303 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7304 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7305 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7306 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7307 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7310 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7311 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7312 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7313 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7314 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7315 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7316 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7317 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7318 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7319 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7320 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7321 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7322 * sysvipc/sys/ipc.h: Likewise.
7323 * sysvipc/sys/msg.h: Likewise.
7324 * sysvipc/sys/sem.h: Likewise.
7325 * sysvipc/sys/shm.h: Likewise.
7326 * termios/termios.h: Likewise.
7327 * time/sys/time.h: Likewise.
7328 * time/time.h: Likewise.
7329 * wcsmbs/bits/wchar2.h: Likewise.
7330 * wcsmbs/uchar.h: Likewise.
7331 * wcsmbs/wchar.h: Likewise.
7332 * wctype/wctype.h: Likewise.
7333
0269750c
UD
7334 [BZ #13551]
7335 * Makeconfig: Remove all but ELF support including AIX support.
7336 * Makerules: Likewise.
7337 * config.h.in: Likewise.
7338 * config.make.in: Likewise.
7339 * configure: Likewise.
7340 * configure.in: Likewise.
7341 * csu/Makefile: Likewise.
7342 * csu/version.c: Likewise.
7343 * debug/Makefile: Likewise.
7344 * dlfcn/Makefile: Likewise.
7345 * elf/Makefile: Likewise.
7346 * extra-lib.mk: Likewise.
7347 * iconv/Makefile: Likewise.
7348 * include/libc-symbols.h: Likewise.
7349 * include/shlib-compat.h: Likewise.
7350 * resolv/Makefile: Likewise.
7351 * resolv/res_libc.c: Likewise.
7352 * rt/Makefile: Likewise.
7353 * sysdeps/i386/asm-syntax.h: Likewise.
7354 * sysdeps/i386/sysdep.h: Likewise.
7355 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7356 * sysdeps/mach/sysdep.h: Likewise.
7357 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7358 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7359 * sysdeps/s390/asm-syntax.h: Likewise.
7360 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7361 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7362 * sysdeps/sh/sysdep.h: Likewise.
7363 * sysdeps/unix/sparc/sysdep.h: Likewise.
7364 * sysdeps/wordsize-32/divdi3.c: Likewise.
7365 * sysdeps/x86_64/sysdep.h: Likewise.
7366
00bbd29b
UD
7367 * argp/Versions: Remove _argp_unlock_xxx.
7368
7369 [BZ #13559]
7370 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7371 * abilist/libBrokenLocale.abilist: Likewise.
7372 * abilist/libanl.abilist: Likewise.
7373 * abilist/libc.abilist: Likewise.
7374 * abilist/libcrypt.abilist: Likewise.
7375 * abilist/libdl.abilist: Likewise.
7376 * abilist/libm.abilist: Likewise.
7377 * abilist/libnsl.abilist: Likewise.
7378 * abilist/libpthread.abilist: Likewise.
7379 * abilist/libresolv.abilist: Likewise.
7380 * abilist/librt.abilist: Likewise.
7381 * abilist/libthread_db.abilist: Likewise.
7382 * abilist/libutil.abilist: Likewise.
7383 * abilist/libnss_db.abilist: New file.
7384
7385 * scripts/abilist.awk: Add support for indirect functions.
7386
a2693a0e
UD
7387 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7388
3f05895f
UD
7389 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7390
ecb6fb48
UD
7391 * shlib-versions: Remove entries for ports architectures.
7392
664f8cb9
UD
7393 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7394 files in ports.
7395 * elf/stackguard-macros.h: Remove support for IA-64.
7396 * elf/tst-auditmod1.c: Likewise.
7397 * sysdeps/generic/ldsodefs.h: Likewise.
7398
7ae81d88
UD
7399 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7400 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7401 configure files.
7402
bdeba135
UD
7403 [BZ #13552]
7404 * configure.in: Remove --enable-omitfp support.
7405 * FAQ.in: Adjust.
7406 * config.make.in: Likewise.
7407 * Makeconfig: Likewise.
7408 * manual/install.texi: Likewise.
7409
d75a0a62
UD
7410 In case anyone cares, the IA-64 architecture could move to ports.
7411 * sysdeps/ia64/*: Removed.
7412 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7413 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7414
dcc9756b
UD
7415 [BZ #13555]
7416 * configure.in: Remove entries for unsupported architectures.
7417
d3761ebc 7418 [BZ #13533]
9954432e
UD
7419 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7420 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7421 routines.
7422 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7423 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7424 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7425 fall back to using wcrtomb.
7426 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7427 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7428 renaming.
7429 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7430 * wcsmbs/tst-c16c32-1.c: New file.
7431
7432 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7433 local variable.
7434
c3a87236
UD
7435 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7436
28926a1b
UD
7437 * elf/tst-unique3.cc: Add explicit declaration of gets.
7438 * elf/tst-unique3lib.cc: Likewise.
7439 * elf/tst-unique3lib2.cc: Likewise.
7440 * elf/tst-unique4.cc: Likewise.
7441
df78418a
UD
7442 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7443
8ecd6b2a
JM
74442012-01-06 Joseph Myers <joseph@codesourcery.com>
7445
7446 [BZ #13566]
7447 * assert/assert.h (static_assert): Don't define for C++.
7448 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7449 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7450
9f115170
UD
74512012-01-03 Ulrich Drepper <drepper@gmail.com>
7452
5e0d0300
UD
7453 * iconv/loop.c (single loop): Fix assertion in storing of
7454 remaining bytes.
7455
9f115170
UD
7456 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7457
81fb02b0
UD
74582012-01-01 Ulrich Drepper <drepper@gmail.com>
7459
7460 * posix/getconf.c: Update copyright year.
7461 * nss/getent.c: Likewise.
a316c1f6 7462 * nss/makedb.c: Likewise.
81fb02b0
UD
7463 * iconv/iconvconfig.c: Likewise.
7464 * iconv/iconv_prog.c: Likewise.
7465 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7466 * elf/pldd.c: Likewise.
7467 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7468 * catgets/gencat.c: Likewise.
7469 * csu/version.c: Likewise.
7470 * elf/ldd.bash.in: Likewise.
7471 * elf/sprof.c (print_version): Likewise.
7472 * locale/programs/locale.c: Likewise.
7473 * locale/programs/localedef.c: Likewise.
a316c1f6 7474 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7475 * nscd/nscd.c (print_version): Likewise.
7476 * debug/xtrace.sh: Likewise.
7477 * malloc/memusage.sh: Likewise.
7478 * malloc/mtrace.pl: Likewise.
7479 * debug/catchsegv.sh: Likewise.
7480
2ba92745
JJ
74812011-12-30 Jakub Jelinek <jakub@redhat.com>
7482
7483 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7484 pure attribute.
7485
dadebdae
UD
74862011-12-24 Ulrich Drepper <drepper@gmail.com>
7487
d3761ebc 7488 [BZ #13533]
db6af3eb
UD
7489 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7490 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7491 transformations.
7492 * iconv/gconv_int.h: Likewise.
7493 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7494 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7495 from libc for GLIBC_2.16.
7496 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7497 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7498 * wcsmbs/uchar.h: Really define mbstate_t.
7499 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7500 * wcsmbs/c16rtomb.c: New file.
7501 * wcsmbs/mbrtoc16.c: New file.
7502 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7503 for C/POSIX locale.
7504 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7505 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7506
dadebdae
UD
7507 * wcsmbs/wchar.h: Add missing __restrict.
7508
67371b56
UD
75092011-12-23 Ulrich Drepper <drepper@gmail.com>
7510
74033a25
UD
7511 [BZ #13532]
7512 * time/Makefile (routines): Add timespec_get.
7513 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7514 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7515 timespec for ISO C11.
7516 * time/timespec_get.c: New file.
7517 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7518 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7519
380d7e87
UD
7520 [BZ #13531]
7521 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7522 * stdlib/stdlib.h: Declare aligned_alloc.
7523 * Versions.def: Add GLIBC_2.16 for libc.
7524 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7525
4e9e7a35
UD
7526 [BZ 13527]
7527 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7528 ISO C11.
7529
380d7e87 7530 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7531 code.
7532
03a71829
UD
7533 [BZ #13528]
7534 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7535
839e283e
UD
7536 [BZ #13529]
7537 * assert/assert.h (static_assert): Define.
7538
ce5294e2 7539 * version.h: Update for 2.16 development version.
90fa7312 7540
8d44e150 7541 [BZ #13526]
d7809905
UD
7542 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7543 _ISOC11_SOURCE.
7544
c0da14cd
UD
7545 * version.h (RELEASE): Bump for 2.15 release.
7546 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7547
530a3249
MP
7548 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7549 Patch by Marek Polacek <mpolacek@redhat.com>.
7550
67371b56
UD
7551 * bits/byteswap.h: Protect long long constants with __extension__.
7552 * sysdeps/i386/bits/byteswap.h: Likewise.
7553 * sysdeps/ia64/bits/byteswap.h: Likewise.
7554 * sysdeps/s390/bits/byteswap.h: Likewise.
7555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7556
15db4de1
LD
75572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7558
7559 [BZ #13540]
bbe315ea
LD
7560 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7561 destination buffer.
15db4de1
LD
7562 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7563
2b2596b1
MP
75642011-12-23 Marek Polacek <polacek@redhat.com>
7565
7566 * elf/dl-addr.c (determine_info): Add inline keyword.
7567 * elf/tst-auditmod4b.c (check_avx): Likewise.
7568 * elf/tst-auditmod6b.c (check_avx): Likewise.
7569 * elf/tst-auditmod6c.c (check_avx): Likewise.
7570 * elf/tst-auditmod7b.c (check_avx): Likewise.
7571
70c6c246
UD
75722011-12-23 Ulrich Drepper <drepper@gmail.com>
7573
7574 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7575 !__SSE_MATH__.
7576
c044cf14
LD
75772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7578
15db4de1 7579 [BZ #13540]
c044cf14
LD
7580 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7581 processing for last bytes.
7582
6b13d9d9
BH
75832011-08-06 Bruno Haible <bruno@clisp.org>
7584
d455f537
BH
7585 [BZ #13061]
7586 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7587 U+0385, not to U+1FEE.
7588
6b13d9d9
BH
7589 [BZ #13062]
7590 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7591 entry for U+00A5 U+0301.
7592
db910efd
UD
75932011-12-22 Ulrich Drepper <drepper@gmail.com>
7594
27deeafc
UD
7595 [BZ #13166]
7596 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7597 buffer for the output is too small.
7598
aed9d171
UD
7599 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7600 optimization.
7601
db910efd
UD
7602 [BZ #13185]
7603 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7604 SSE flags if possible.
7605
2bd779ae
LD
76062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7607
e7f9dac3 7608 [BZ #13540]
2bd779ae
LD
7609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7610 processing for last bytes.
7611
154bfc16
JM
76122011-12-22 Joseph Myers <joseph@codesourcery.com>
7613
7614 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7615 (syscall-list-default-options, syscall-list-default-condition)
7616 (syscall-list-includes): Define.
7617 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7618 list of ABIs and options and #if conditions for each ABI. Do not
7619 handle common syscalls between ABIs specially.
7620 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7621 Remove.
7622 (syscall-list-variants, syscall-list-32bit-options)
7623 (syscall-list-32bit-condition, syscall-list-64bit-options)
7624 (syscall-list-64bit-condition): Define.
7625 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7626 (syscall-list-variants, syscall-list-32bit-options)
7627 (syscall-list-32bit-condition, syscall-list-64bit-options)
7628 (syscall-list-64bit-condition): Define.
7629 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7630 Remove.
7631 (syscall-list-variants, syscall-list-32bit-options)
7632 (syscall-list-32bit-condition, syscall-list-64bit-options)
7633 (syscall-list-64bit-condition): Define.
7634 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7635 Remove.
7636 (syscall-list-variants, syscall-list-32bit-options)
7637 (syscall-list-32bit-condition, syscall-list-64bit-options)
7638 (syscall-list-64bit-condition): Define.
7639
21eaf3a5
UD
76402011-12-22 Ulrich Drepper <drepper@gmail.com>
7641
16c6f992
UD
7642 * locale/iso-639.def: Add brx entry.
7643
41043168
UD
7644 [BZ #13328]
7645 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7646 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7647
21eaf3a5
UD
7648 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7649 __feraiseexcept_renamed.
7650
e3a851a2
UD
76512011-12-21 Ulrich Drepper <drepper@gmail.com>
7652
4920765e
UD
7653 [BZ #13538]
7654 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7655 EPOLLET with unsigned values.
7656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7658
e3a851a2
UD
7659 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7660 to large cancellation.
7661 * math/s_cacoshf.c: Likewise.
7662 * math/s_cacoshl.c: Likewise.
7663
b27e24b8
RK
76642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7665
7666 [BZ #13305]
aebefeee 7667 [BZ #12786]
b27e24b8
RK
7668 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7669 * math/s_cacoshf.c: Likewise.
7670 * math/s_cacoshl.c: Likewise.
7671
ee190f67
UD
76722011-12-21 Ulrich Drepper <drepper@gmail.com>
7673
7674 [BZ #13439]
7675 * iconv/gconv.h: Define __GCONV_SWAP.
7676 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7677 * iconvdata/utf-16.c: Likewise.
7678 * iconvdata/utf-32.c: Likewise.
7679
707f25df
AS
76802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7681
7682 [BZ #13524]
7683 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7684 numerator after shifting it by one limb.
7685
d2daaa1e
RÁE
76862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7687
7688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7689 under [__USE_EXTERN_INLINES].
7690
a4647e72
UD
76912011-12-17 Ulrich Drepper <drepper@gmail.com>
7692
7693 [BZ #13446]
7694 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7695
f0b264f1
AZ
76962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7697
7698 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7699 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7700 optimized code.
7701 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7702 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7703 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7704 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7705 for strncasecmp/strncasecmp_l compilation.
7706 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7707 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7708
8ef4f244
MP
77092011-12-08 Marek Polacek <mpolacek@redhat.com>
7710
7711 [BZ #13484]
7712 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7713 of __asm__.
7714
97ac2654
UD
77152011-12-17 Ulrich Drepper <drepper@gmail.com>
7716
7717 [BZ #13506]
7718 * time/tzfile.c (__tzfile_read): Check values from file header.
7719
91d2a845
WS
77202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7721
7722 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7723 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7724 * powerpc/powerpc32/dl-start.S: Likewise.
7725 * powerpc/powerpc32/elf/start.S: Likewise.
7726 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7727 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7728 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7729 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7730 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7731 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7732 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7733 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7734 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7735 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7736 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7737 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7738 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7739 * powerpc/powerpc32/memset.S: Likewise.
7740 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7741 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7742 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7743 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7744 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7745 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7746 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7747 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7748 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7749 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7750 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7751 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7752 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7753
a1267ba1
AZ
77542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7755
7756 * math/libm-test.inc: Added more nearbyint tests.
7757 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7759 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7761
ad8ac1bd
RL
77622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7763
7764 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7765 FD_CLOEXEC.
7766
1d3e4b61
UD
77672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7768
7769 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7770 Add wcscpy-ssse3 wcscpy-c.
7771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7772 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7773 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7774 * sysdeps/x86_64/wcschr.S: New file.
7775 * sysdeps/x86_64/wcsrchr.S: New file.
7776 * string/test-strcmp.c: Remove checking of wcscmp function for
7777 wrong alignments.
7778 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7779 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7780 wcsrchr-sse2 wcsrchr-c.
7781 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7782 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7783 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7784 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7785 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7786 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7787 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7788 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7790 * wcsmbc/wcschr.c (WCSCHR): New macro.
7791
5b330a2d
UD
77922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7793
7794 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7795 * wcsmbs/test-wcsrchr.c: New file.
7796 * string/test-strrchr.c: Add wcsrchr support.
7797 (WIDE): New macro.
7798 * wcsmbs/test-wcscpy.c: New file.
7799 * string/test-strcpy.c: Add wcscpy support.
7800 (WIDE): New macro.
26428b7c 7801
f039c043
UD
78022011-12-10 Ulrich Drepper <drepper@gmail.com>
7803
7804 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7805 the inner loop.
7806
850fb039
AS
78072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7808
7809 [BZ #13472]
7810 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7811
4efbd5cb
UD
78122011-12-04 Ulrich Drepper <drepper@gmail.com>
7813
52ff5dd0 7814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7815 Minor optimizations.
52ff5dd0 7816
4efbd5cb
UD
7817 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7818 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7819 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7820
8a426e12
UD
78212011-12-03 Ulrich Drepper <drepper@gmail.com>
7822
aff2453d
UD
7823 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7824 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7825 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7826 for gcc to avoid warnings.
7827 * inet/Makefile (tests): Add tst-checks.
7828 * inet/tst-checks.c: New file.
7829
7830 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7831 warning.
7832
7833 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7834 __wmemcmp_sse2.
7835
7836 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7837 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7838
8a426e12
UD
7839 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7840
9bea3473
UD
78412011-12-02 Ulrich Drepper <drepper@gmail.com>
7842
3a965496
UD
7843 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7844 problem.
7845
9bea3473
UD
7846 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7847
f101631b
UD
78482011-11-29 Joseph Myers <joseph@codesourcery.com>
7849
7850 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7851 conditional on GCC version.
7852 (__arch_compare_and_exchange_val_8_acq)
7853 (__arch_compare_and_exchange_val_16_acq)
7854 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7855 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7856 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7857
a98275aa
UD
78582011-12-02 Joseph Myers <joseph@codesourcery.com>
7859
7860 * sysdeps/sh/backtrace.c: New file.
7861
d4cc29a2
AS
78622011-12-02 Andreas Schwab <schwab@redhat.com>
7863
7864 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7865 parenthesis.
7866
6257af2d
AS
78672011-12-01 Andreas Schwab <schwab@redhat.com>
7868
7869 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7870 falling back to utime.
7871
b5f44c1a
AS
78722011-11-30 Andreas Schwab <schwab@redhat.com>
7873
7874 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7875 expectations for float.
7876
f3a6cc0a
AS
78772011-11-29 Andreas Schwab <schwab@redhat.com>
7878
7879 * locale/weight.h (findidx): Add parameter len.
7880 * locale/weightwc.h (findidx): Likewise.
7881 * posix/fnmatch_loop.c (FCT): Adjust caller.
7882 * posix/regcomp.c (build_equiv_class): Likewise.
7883 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7884 * posix/regexec.c (check_node_accept_bytes): Likewise.
7885 * string/strcoll_l.c (STRCOLL): Likewise.
7886 * string/strxfrm_l.c (STRXFRM): Likewise.
7887
9d65ea3a
UD
78882011-11-17 Ulrich Drepper <drepper@gmail.com>
7889
7890 * Makefile.in: Remove CVSOPT handling.
7891 * configure.in: Remove use of AC_REVISION.
7892 * iconvdata/Makefile (distribute): No need to filter out CVS.
7893 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7894 handling.
7895
5583a086
AS
78962011-11-16 Andreas Schwab <schwab@redhat.com>
7897
7898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7899 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7900 [USE_AS_STRNCASECMP_L]: Likewise.
7901 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7902 NO_TLS_DIRECT_SEG_REFS.
7903 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7904 Fix argument offsets for non-PIC.
7905 [USE_AS_STRNCASECMP_L]: Likewise.
7906 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7907 NO_TLS_DIRECT_SEG_REFS.
7908
d62a8200
UD
79092011-11-15 Ulrich Drepper <drepper@gmail.com>
7910
9d65ea3a 7911 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7912 O_CLOEXEC.
7913 * locale/loadlocale.c (_nl_load_locale): Likewise.
7914
09f93bd3
AS
79152011-11-15 Andreas Schwab <schwab@redhat.com>
7916
446514f9
AS
7917 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7918 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7919 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7920 (SYSCALL_GETTIME): Set errno on error.
7921
09f93bd3
AS
7922 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7923 count references to noai6ai_cached.
7924
312be3f9
UD
79252011-11-15 Ulrich Drepper <drepper@gmail.com>
7926
7927 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7928
7929 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7930 FD_CLOEXEC for /proc/self/maps.
7931
7932 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7933 FD_CLOEXEC for /proc/meminfo.
7934
7935 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7936 gai.conf.
7937
7938 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7939 FD_CLOEXEC for given file.
7940
7941 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7942
7943 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7944 FD_CLOEXEC for /etc/hosts.
7945 (_gethtent): Likewise.
7946
7947 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7948
7949 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7950 cancellation and set FD_CLOEXEC for /etc/netgroup.
7951
7952 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7953 reading /etc/publickey.
7954
7955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7956 allow cancellation when reading /etc/group.
7957
7958 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7959 cancellation.
7960 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7961
7962 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7963 when using data file.
7964
7965 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7966
7967 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7968 (write_nis_obj): Use "c" and "e" in fopen.
7969
7970 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7971
7972 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7973
7974 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7975
7976 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7977
7978 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7979 locale.alias.
7980
7981 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7982
7983 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7984
7985 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7986
7987 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7988 file parsing and set FD_CLOEXEC.
7989
82af0fa8
UD
79902011-11-14 Ulrich Drepper <drepper@gmail.com>
7991
7992 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7993
a5fb313c
AS
79942011-11-14 Andreas Schwab <schwab@redhat.com>
7995
7996 * malloc/arena.c (arena_get2): Don't call reused_arena when
7997 _int_new_arena failed.
7998
6abf3465
UD
79992011-11-14 Ulrich Drepper <drepper@gmail.com>
8000
8001 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8002 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8003 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8004 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8005 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8006 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8007 to compile strcasecmp and strncasecmp.
8008 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8009 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8010
8011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8012
76e3966e
UD
80132011-11-13 Ulrich Drepper <drepper@gmail.com>
8014
8015 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8016 locale-defines.sym to gen-as-const-headers.
8017 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8018 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8020 to compile strcasecmp and strncasecmp.
8021 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8022 strcasecmp_l and strncasecmp_l.
8023 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8024 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8025 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8026 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8027 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8028 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8029 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8030 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8031 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8032 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8033 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8034
ab26144e
UD
80352011-11-12 Ulrich Drepper <drepper@gmail.com>
8036
7edb22ef
UD
8037 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8038 result of SYSDEP_GETTIME_CPU to retval.
8039 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8040 parameter list to macro. Remove trailing semicolon. Adjust users.
8041
9694fc44
UD
8042 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8043 variable.
8044
8ad89ef8
UD
8045 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8046 mantissa words.
8047 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8048
0c822ef9
UD
8049 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8050 from unused variable.
8051
874e0564
UD
8052 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8053 DWARF definitions.
8054 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8055 for assembling.
8056
3a2edc79
UD
8057 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8058 over namespaces.
8059
f3c2577f
UD
8060 * sunrpc/rpc_prot.c (rejected): Fix case value.
8061
294ce126
UD
8062 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8063 unsigned long long int to avoid warnings in shift.
8064
5e2b63c6
UD
8065 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8066 of use of trans.
8067 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8068 variable tmp.
8069
e7f4b08e
UD
8070 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8071 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8072 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8073
ab26144e
UD
8074 * nis/nis_table.c (nis_list): Use variable of correct type for
8075 result of __follow_path call.
8076
8a6d5255
AZ
80772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8078
8079 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8080 of math functions ceil, trunc, floor, round, and sqrt, when
8081 avaliable on the platform.
8082 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8083 name clash.
8084 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8085 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8086 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8087
aaddc98c
MP
80882011-10-30 Marek Polacek <mpolacek@redhat.com>
8089
8090 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8091 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8092
95b7042b
RM
80932011-11-11 Roland McGrath <roland@hack.frob.com>
8094
8095 * include/unistd.h: Fix __readlink return type.
8096 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8097
57769839
UD
80982011-11-11 Ulrich Drepper <drepper@gmail.com>
8099
8100 * stdlib/ucontext.h: Undo last change for makecontext.
8101
edc5984d
AS
81022011-11-11 Andreas Schwab <schwab@redhat.com>
8103
98591e58
AS
8104 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8105
edc5984d
AS
8106 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8107 * setjmp/setjmp.h: Mark functions as non-leaf.
8108 * setjmp/bits/setjmp2.h: Likewise.
8109 * stdlib/ucontext.h: Likewise.
8110
77cdc054
AS
81112011-11-10 Andreas Schwab <schwab@redhat.com>
8112
8113 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8114 (reused_arena): Don't check arena limit.
8115 (arena_get2): Atomically check arena limit.
8116
fe72eebd
UD
81172011-11-08 Ulrich Drepper <drepper@gmail.com>
8118
5f078c32
UD
8119 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8120 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8121
fe72eebd
UD
8122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8123 instructions.
8124
ae1bc2fa
AS
81252011-11-07 Andreas Schwab <schwab@redhat.com>
8126
7583a88d
AS
8127 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8128 handler when locking.
8129
ae1bc2fa
AS
8130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8131 Fix size of allocated buffer.
8132
10fb0bfa
AS
81332011-11-04 Andreas Schwab <schwab@redhat.com>
8134
998832a4
AS
8135 [BZ #10103]
8136 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8137 declarations for long double functions.
8138 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8139
10fb0bfa
AS
8140 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8141
3d7ba52b
AS
81422011-11-03 Andreas Schwab <schwab@redhat.com>
8143
a9ae54a1
AS
8144 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8145 installed.
8146
3d7ba52b
AS
8147 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8148 is disabled.
8149
bc8db248
ST
81502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8151
8152 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8153
45b96dd6
AS
81542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8155
647776f6
AS
8156 * include/alloca.h (stackinfo_alloca_round): Define.
8157 (extend_alloca): Use it.
8158 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8159 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8160 here.
8161
d91a8b93
AS
8162 * scripts/check-local-headers.sh: Ignore libaudit.h.
8163
45b96dd6
AS
8164 * nscd/Makefile (extra-objs): Make recursively expanded.
8165
432d41ce
UD
81662011-11-01 Ulrich Drepper <drepper@gmail.com>
8167
34372fc6
UD
8168 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8169 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8170
fadb59f8
UD
8171 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8172 * posix/tst-rfc3484-2.c: Likewise.
8173 * posix/tst-rfc3484-3.c: Likewise.
8174
78239589
UD
8175 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8176 process_vm_writev.
8177 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8178 process_vm_writev.
8179 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8180 process_vm_writev from libc using GLIBC_2.15 version.
8181
432d41ce
UD
8182 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8183
02f9c6cf
PP
81842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8185
8186 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8187 stack usage.
8188
3a2c0242
UD
81892011-10-31 Ulrich Drepper <drepper@gmail.com>
8190
f4ec4833
UD
8191 [BZ #13367]
8192 * nss/getent.c (initgroups_keys): Show error message in case no group
8193 names are given.
8194
3a2c0242
UD
8195 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8196 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8197 __bump_nl_timestamp.
8198 * nscd/connections (nscd_init): When host database is served open
8199 netlink socket and request notification about configuration changes.
8200 (main_loop_poll): Track netlink file descriptor and bump timestamp
8201 in case data becomes available.
8202 (main_loop_epoll): Likewise.
8203 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8204 (database_pers_head): Add extra_data fileds.
8205 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8206 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8207 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8208 Adjust caller.
8209 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8210 in6ai data, call __free_in6ai.
8211 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8212 Add -DHAVE_NETLINK.
8213 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8214 interface information. Reuse previous data if netlink timestamp
8215 is not changed.
8216 (__bump_nl_timestamp): New function.
8217 (__free_in6ai): New function.
8218
636064eb
UD
82192011-10-30 Ulrich Drepper <drepper@gmail.com>
8220
8221 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8222 close_not_cancel_no_status here.
8223 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8224
9beb2334
UD
82252011-10-29 Ulrich Drepper <drepper@gmail.com>
8226
6ef76f3b
UD
8227 [BZ #13276]
8228 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8229 return value.
8230
0ffc4f3e 8231 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8232 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8233 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8234
cb95113e
UD
82352011-07-03 Andreas Jaeger <aj@suse.de>
8236
8237 [BZ #10709]
8238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8239 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8240 * math/libm-test.inc (sin_test): Add test case.
8241
a1b560ff
UD
82422011-10-29 Ulrich Drepper <drepper@gmail.com>
8243
c9aaface
UD
8244 [BZ #13337]
8245 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8246 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8247
d272e7f1
UD
8248 * elf/chroot_canon.c (chroot_canon): Cleanups.
8249
1bc33071
UD
8250 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8251
1760874d
TJ
8252 [BZ #13335]
8253 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8254 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8255
51d91b18
UD
8256 * string/test-strchr.c: Make usable for strchrnul testing.
8257 * string/test-strchrnul.c: New file.
8258 * string/Makefile (strop-tests): Add strchrnul.
8259
a1b560ff 8260 * po/it.po: Update from translation team.
b611fb81 8261 * po/es.po: Likewise.
a1b560ff 8262
a5b81e1f
UD
82632011-10-28 Ulrich Drepper <drepper@gmail.com>
8264
fd52bc6d
UD
8265 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8266 the three constants needed as parameters. Drop the others.
8267 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8268 __m128i_strloadu_tolower.
52e4b9eb
UD
8269 Create and initialize variable zero and use it in all the places
8270 where _mm_setzero_si128 was used.
fd52bc6d 8271
a5b81e1f
UD
8272 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8273 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8274 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8275 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8276 anymore.
8277 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8278 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8279 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8280 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8281 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8282 __mpranred, __mptan.
8283 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8284 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8285 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8286 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8287 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8288 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8291 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8292
b4343346
AS
82932011-10-28 Andreas Schwab <schwab@redhat.com>
8294
0c92d8a8
AS
8295 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8296 redefine if SHARED.
8297 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8298
b4343346
AS
8299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8300 wide char related routines to wcsmbs subdir.
8301
3871f58f
AS
83022011-10-27 Andreas Schwab <schwab@redhat.com>
8303
8304 [BZ #13344]
8305 * misc/sys/cdefs.h (__THROWNL): Define.
8306 * posix/unistd.h: Use __THREADNL instead of __THREAD
8307 for memory synchronization functions.
8308
94d44d9f
RM
83092011-10-26 Roland McGrath <roland@hack.frob.com>
8310
21b64b15 8311 [BZ #13349]
94d44d9f
RM
8312 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8313 doesn't exist.
8314 * manual/stdio.texi (Obstack Streams): Node removed.
8315
f6ce9294
AS
83162011-10-26 Andreas Schwab <schwab@redhat.com>
8317
80479147
AS
8318 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8320 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8321
f6ce9294
AS
8322 * math/math_private.h (math_force_eval): Allow non-addressable
8323 arguments.
8324 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8325
618280a1
UD
83262011-10-25 Ulrich Drepper <drepper@gmail.com>
8327
e0016b11
UD
8328 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8329 file is not needed.
8330
8331 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8332 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8333 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8334 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8335 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8336 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8337 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8338 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8339 Add AVX variants.
8340 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8341 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8342 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8343 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8344 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8345 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8346 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8347 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8348 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8349 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8350 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8351 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8352 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8353 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8355 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8356 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8357 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8358 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8359
8360 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8361 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8362
618280a1
UD
8363 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8364 place. Use VEX encoding when compiling for AVX.
8365
37822576
AS
83662011-10-25 Andreas Schwab <schwab@redhat.com>
8367
1f1e1947
AS
8368 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8369 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8370
37822576
AS
8371 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8372
31ea014d
UD
83732011-10-25 Ulrich Drepper <drepper@gmail.com>
8374
d7826aa1 8375 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8376 useless if() expression.
d7826aa1
UD
8377 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8378 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8381 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8382 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8383 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8384 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8385 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8386 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8387 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8388 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8389 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8390 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8391 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8392 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8393 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8395 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8396
31ea014d
UD
8397 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8398
16437fec
AS
83992011-10-25 Andreas Schwab <schwab@redhat.com>
8400
8401 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8402 condition.
8403 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8404
31d3cc00
UD
84052011-10-25 Ulrich Drepper <drepper@gmail.com>
8406
8407 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8408 .text section. Avoid duplicate constants.
8409 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8413 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8417 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8418 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8419 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8420 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8421 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8423 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8424 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8425 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8426 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8427 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8429 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8430 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8431 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8432 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8433 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8434 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8435 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8436 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8438 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8439 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8440 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8441 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8442 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8443 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8444 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8445 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8446 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8447 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8448 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8449 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8451 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8452 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8453 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8454
58985aa9
UD
84552011-10-24 Ulrich Drepper <drepper@gmail.com>
8456
202c9deb
UD
8457 * sysdeps/x86_64/dla.h: Move to ...
8458 * sysdeps/x86_64/fpu/dla.h: ...here.
8459 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8460 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8461
af968f62
UD
8462 * config.make.in: Add have-mfma4 entry.
8463 * configure.in: Substitute libc_cv_cc_fma4.
8464 * math/Makefile (dbl-only-routines): Add sincostab.
8465 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8466 Use __sincostab not sincos.
8467 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8468 name is a macro.
8469 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8473 using __copysign.
8474 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8475 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8476 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8477 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8478 and __inv.
8479 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8480 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8481 __copysign.
8482 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8483 define aliases when function name is a macro.
8484 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8485 sysdeps/ieee754/dbl-64/sincos.tbl.
8486 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8487 fma4-enabled routines.
8488 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8489 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8490 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8491 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8492 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8493 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8494 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8495 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8496 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8497 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8498 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8499 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8500 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8501 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8502 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8503 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8504 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8505 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8506 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8507 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8508 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8509 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8511 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8512 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8513 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8514 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8515 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8516 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8517 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8518
58985aa9
UD
8519 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8520 rename.
8521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8529
a201fbcf
AS
85302011-10-24 Andreas Schwab <schwab@redhat.com>
8531
8532 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8533
fc2ee42a
LD
85342011-10-23 Ulrich Drepper <drepper@gmail.com>
8535
bb3129bd
UD
8536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8537
0275fff8
UD
8538 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8539 prediction.
8540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8541
2fa2ae85
UD
8542 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8543 Remove unused variable magic_bits.
8544 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8545
fc2ee42a
LD
8546 * string/strnlen.c: Define and use STRNLEN macro.
8547 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8548 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8549 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8550 * wcsmbs/wcslen.c: Define and use WCSLEN.
8551 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8552 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8553 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8554 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8555 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8556 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8557 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8558
ce7dd29f
LD
85592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8560
8561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8562 strnlen-sse2-no-bsf.
8563 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8565 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8566 Add strnlen support.
8567 (USE_AS_STRNLEN): New macro.
8568 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8569 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8570 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8571 * sysdeps/x86_64/wcslen.S: New file.
8572
979c70a3
MZ
85732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8574
8575 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8576 XMM-moves are used for copying on small sizes.
8577
2d09f82f
LD
85782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8579
8580 * wcsmbs/Makefile (strop-tests): Add wcschr.
8581 * wcsmbs/test-wcschr.c: New file.
8582 * string/test-strchr.c: Update.
8583 Add wcschr support.
8584 (WIDE): New macro.
8585
619fccca
LD
85862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8587
2d09f82f 8588 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8589 * wcsmbs/test-wcslen.c: New file.
8590 * string/test-strlen.c: Update.
8591 Add wcslen support.
8592 (WIDE): New macro.
8593
09f699ea
UD
85942011-10-23 Ulrich Drepper <drepper@gmail.com>
8595
8596 * po/it.po: Update from translation team.
8597
95584d3b
LD
85982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8599
8600 * sysdeps/x86_64/wcscmp.S: Update.
8601 Fix wrong comparison semantics.
8602 wcscmp shall use signed comparison not unsigned.
8603 Don't use substraction to avoid overflow bug.
8604 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8605 * wcsmbc/wcscmp.c: Likewise.
8606 * string/test-strcmp.c: Likewise.
8607 Add new tests to check cases with negative values.
8608
c8b3296b
UD
86092011-10-23 Ulrich Drepper <drepper@gmail.com>
8610
8611 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8612 * sysdeps/x86_64/dla.h: ...here. New file.
8613 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8622
246ad57a
AS
86232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8624
8625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8626 __ynl_finite aliases.
8627
a1a87169
UD
86282011-10-22 Ulrich Drepper <drepper@gmail.com>
8629
0d355eb7
UD
8630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8631
a1a87169
UD
8632 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8633 define DLA_FMA.
8634 [DLA_FMA] (EMULV): Use DLA_FMA.
8635 [DLA_FMA] (MUL12): Use EMULV.
8636 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8637 that are not needed.
8638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8645
ee2aafe0
AS
86462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8647
8648 * math/s_nan.c: Undef __nan.
8649 * math/s_nanf.c: Undef __nanf.
8650 * math/s_nanl.c: Undef __nanl.
8651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8652 "math_private.h".
8653
bc62c2fb
UD
86542011-10-22 Ulrich Drepper <drepper@gmail.com>
8655
77425c63
UD
8656 * math/s_catan.c: Add branch predictions.
8657 * math/s_catanf.c: Likewise.
8658 * math/s_catanh.c: Likewise.
8659 * math/s_catanhf.c: Likewise.
8660 * math/s_catanhl.c: Likewise.
8661 * math/s_catanl.c: Likewise.
8662 * math/s_cexp.c: Likewise.
8663 * math/s_cexpf.c: Likewise.
8664 * math/s_cexpl.c: Likewise.
8665 * math/s_clog.c: Likewise.
8666 * math/s_clog10.c: Likewise.
8667 * math/s_clog10f.c: Likewise.
8668 * math/s_clog10l.c: Likewise.
8669 * math/s_clogf.c: Likewise.
8670 * math/s_clogl.c: Likewise.
8671 * math/s_csqrt.c: Likewise.
8672 * math/s_csqrtf.c: Likewise.
8673 * math/s_csqrtl.c: Likewise.
8674 * math/s_ctanf.c: Likewise.
8675 * math/s_ctanh.c: Likewise.
8676 * math/s_ctanhf.c: Likewise.
8677 * math/s_ctanhl.c: Likewise.
8678 * math/s_ctanl.c: Likewise.
8679
bc62c2fb
UD
8680 * math/math_private.h: Define __nan, __nanf, __nanl.
8681 * math/s_cacosh.c: Include <math_private.h>.
8682 * math/s_cacoshl.c: Likewise.
8683 * math/s_casinh.c: Likewise.
8684 * math/s_casinhf.c: Likewise.
8685 * math/s_casinhl.c: Likewise.
8686 * math/s_ccos.c: Rely entire on ccosh.
8687 * math/s_ccosf.c: Rely entire on ccoshf.
8688 * math/s_ccosl.c: Rely entirely on ccoshl.
8689 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8690 Remove tests for FE_INVALID.
8691 * math/s_ccoshf.c: Likewise.
8692 * math/s_ccoshl.c: Likewise.
8693 * math/s_csin.c: Likewise.
8694 * math/s_csinf.c: Likewise.
8695 * math/s_csinh.c Likewise.
8696 * math/s_csinhf.c: Likewise.
8697 * math/s_csinhl.c: Likewise.
8698 * math/s_csinl.c: Likewise.
8699 * math/s_ctan.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8701 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8702 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8703
8ec250a4
UD
87042011-10-21 Ulrich Drepper <drepper@gmail.com>
8705
c196fed8
UD
8706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8707 compilation problems.
8708
8ec250a4
UD
8709 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8710 __builtin_expect.
8711
8d4f46c6
UD
87122011-10-20 Ulrich Drepper <drepper@gmail.com>
8713
ed72b654
UD
8714 * sysdeps/i386/configure.in: Test for -mfma4 option.
8715 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8716 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8717 COMMON_CPUID_INDEX_80000001.
8718 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8719 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8720 use it if FMA3 is not supported.
8721 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8722
8d4f46c6
UD
8723 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8724 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8725
d45c60c2
AS
87262011-10-20 Andreas Schwab <schwab@redhat.com>
8727
8728 [BZ #12892]
8729 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8730 it would create a cycle with a link time dependency.
8731
d9a4d2ab
UD
87322011-10-19 Ulrich Drepper <drepper@gmail.com>
8733
855d1560
UD
8734 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8735 instruction.
8736 * string/Makefile (strop-tests): Add rawmemchr.
8737 * string/test-rawmemchr.c: New file.
8738
d9a4d2ab
UD
8739 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8741 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8742 when compiling str{,n}casecmp and when AVX is available. Hook up
8743 new optimized code in initializers.
8744
8f3b1ffe
AS
87452011-10-19 Andreas Schwab <schwab@redhat.com>
8746
8747 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8748 __feraiseexcept instead of feraiseexcept.
8749
d38f1dba
UD
87502011-10-18 Ulrich Drepper <drepper@gmail.com>
8751
d9a8d0ab
UD
8752 * math/math_private.h: Define defaults for libc_fetestexcept and
8753 libc_feupdateenv.
8754 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8755 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8756 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8757 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8758 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8759 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8760 libc_fetestexcept and libc_feupdateenv.
8761
4855e3dd
UD
8762 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8763 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8764 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8765 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8766 libc_feholdexcept_setround.
8767
581d30e3
UD
8768 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8769 Add s_nearbyint-c and s_nearbyintf-c.
8770 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8771 nearbyintf inlines.
8772 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8773 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8774 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8775 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8776
d38f1dba
UD
8777 * math/math_private.h: Define defaults for libc_fegetround,
8778 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8779 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8780 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8781 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8782 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8783 standard functions.
8784 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8785 Remove comments and hacks for old compiler versions.
8786 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8787 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8788 libc_feholdexceptl.
8789
caa6c9d8
AS
87902011-10-18 Andreas Schwab <schwab@redhat.com>
8791
8792 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8793 (__feraiseexcept_renamed): Add __NTH.
8794 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8795 namespace violations.
8796
97c066e6
UD
87972011-10-17 Ulrich Drepper <drepper@gmail.com>
8798
99ce7b04
UD
8799 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8800
1004d182
UD
8801 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8802
228a984d
UD
8803 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8804 recently added interfaces.
8805 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8806
c8553a6a
UD
8807 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8808 about macro parameter expansion.
8809
ed22dcf6
UD
8810 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8811 __NO_MATH_INLINES is defined. Cleanups.
8812
8813 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8814 and __floorf is target has SSE4.1.
8815 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8816 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8817 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8818 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8819
b171c137
UD
8820 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8821 name.
8822 (floorf): Likewise.
8823
97c066e6
UD
8824 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8825
629f62ef
AS
88262011-10-17 Andreas Schwab <schwab@redhat.com>
8827
49a43d80
AS
8828 * misc/sys/cdefs.h: Fix last change.
8829
629f62ef
AS
8830 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8831 database lookup.
8832
e453f6cd
UD
88332011-10-16 Ulrich Drepper <drepper@gmail.com>
8834
aa78043a
UD
8835 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8836
ad0f5cad
UD
8837 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8843 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8844 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8845 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8846 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8847 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8848 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8849 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8850 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8851 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8852 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8853 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8854 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8855 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8856 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8857 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8858 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8859
8860 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8861 ceil, ceilf, floor, floorf.
8862
8863 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8864 Perform IRELATIVE relocations last.
8865
e453f6cd
UD
8866 * elf/do-rel.h: Add another parameter nrelative, replacing the
8867 local variable with the same name. Change name of the function
8868 to end in Rel or Rela (uppercase).
8869 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8870 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8871 elf_dynamic_do_##reloc function.
8872
fd5bdc09
UD
88732011-10-15 Ulrich Drepper <drepper@gmail.com>
8874
79b195b5
UD
8875 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8876 is sufficient, at least on modern CPUs.
8877
d4a28569
UD
8878 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8879
b61099b5
UD
8880 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8881 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8882
bcf01e6d
UD
8883 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8884 __expl_finite.
8885 * math/bits/math-finite.h: Add entries for exp.
8886 * math/e_expl.c: Add __*_finite alias.
8887 * sysdeps/i386/fpu/e_exp.S: Likewise.
8888 * sysdeps/i386/fpu/e_expf.S: Likewise.
8889 * sysdeps/i386/fpu/e_expl.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8891 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8895 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8897
ba1a0d59
UD
8898 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8899 is sufficient, at least on modern CPUs.
8900
fd5bdc09
UD
8901 * ctype/ctype-info.c (__ctype_init): Define.
8902 * include/ctype.h (__ctype_init): Declare.
8903 (__ctype_b_loc): The variable is always initialized.
8904 (__ctype_toupper_loc): Likewise.
8905 (__ctype_tolower_loc): Likewise.
8906 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8907 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8908
7872cfb0
AS
89092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8910
b468825a
AS
8911 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8912
7872cfb0
AS
8913 * configure.in: Also look in $cxxmachine/include for C++ system
8914 headers.
8915
be13f7bf
LD
89162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8917
8918 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8919 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8920 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8921 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8922 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8923 (USE_AS_WMEMCMP): New macro.
8924 Fixing indents.
8925 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8926 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8927 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8928 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8930 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8931 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8932 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8933 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8934 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8935 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8936 (USE_AS_WMEMCMP): New macro.
8937 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8938 * sysdeps/string/test-memcmp.c: Update.
8939 Fix simple_wmemcmp.
8940 Add new tests.
8941 * wcsmbs/wmemcmp.c: Update.
8942 (WMEMCMP): New macro.
8943 Fix overflow bug.
8944
556a2007
AJ
89452011-10-12 Andreas Jaeger <aj@suse.de>
8946
8947 [BZ #13268]
8948 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8949
538faaa7
UD
89502011-10-15 Ulrich Drepper <drepper@gmail.com>
8951
ab6737ff
UD
8952 * libio/iofwide.c (do_length): Avoid warning.
8953
538faaa7
UD
8954 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8955
396a21b1
UD
89562011-10-14 Ulrich Drepper <drepper@gmail.com>
8957
cdf2901f
UD
8958 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8959
38ad40ce
UD
8960 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8961 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8962 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8963 * sysdeps/i386/i686/fpu/e_log.S: New file.
8964 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8965 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8966
396a21b1
UD
8967 * ctype/ctype.h: Add support for inlined isXXX functions when
8968 compiling C++ code.
8969
6b1f68c9
AS
89702011-10-14 Andreas Schwab <schwab@redhat.com>
8971
349290c0
AS
8972 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8973
6b1f68c9
AS
8974 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8975
f2282d42
RM
89762011-10-13 Roland McGrath <roland@hack.frob.com>
8977
8978 [BZ #13291]
8979 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8980
5298ffa8
AS
89812011-10-13 Andreas Schwab <schwab@redhat.com>
8982
714fad23
AS
8983 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8984 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8985 feraiseexcept.
8986
81dcc7fb
AS
8987 * sysdeps/x86_64/memrchr.S: Check for zero size.
8988
5298ffa8
AS
8989 * string/stratcliff.c: Add memrchr tests.
8990
951fbcec
LD
89912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8992
8993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8994 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8995 rawmemchr-sse2 rawmemchr-sse2-bsf.
8996 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8997 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8998 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8999 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9000 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9001 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9002 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9003 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9004 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9005 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9006 * string/memrchr.c (MEMRCHR): New macro.
9007
0ac5ae23
UD
90082011-10-12 Ulrich Drepper <drepper@gmail.com>
9009
9010 Add integration with gcc's -ffinite-math-only and optimize wrapper
9011 functions in libm.
9012 * Versions.def: Define GLIBC_2.15 version for libm.
9013 * math/Makefile (headers): Add bits/math-finite.h.
9014 * math/bits/math-finite.h: New file.
9015 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9016 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9017 * math/e_acoshl.c: Add __*_finite alias.
9018 * math/e_acosl.c: Likewise.
9019 * math/e_asinl.c: Likewise.
9020 * math/e_atan2l.c: Likewise.
9021 * math/e_atanhl.c: Likewise.
9022 * math/e_coshl.c: Likewise.
9023 * math/e_exp10.c: Likewise.
9024 * math/e_exp10f.c: Likewise.
9025 * math/e_exp10l.c: Likewise.
9026 * math/e_exp2l.c: Likewise.
9027 * math/e_fmodl.c: Likewise.
9028 * math/e_gammal_r.c: Likewise.
9029 * math/e_hypotl.c: Likewise.
9030 * math/e_j0l.c: Likewise.
9031 * math/e_j1l.c: Likewise.
9032 * math/e_jnl.c: Likewise.
9033 * math/e_lgammal_r.c: Likewise.
9034 * math/e_log10l.c: Likewise.
9035 * math/e_log2l.c: Likewise.
9036 * math/e_logl.c: Likewise.
9037 * math/e_powl.c: Likewise.
9038 * math/e_sinhl.c: Likewise.
9039 * math/e_sqrtl.c: Likewise.
9040 * math/e_scalb.c: Completely rewritten and optimized.
9041 * math/e_scalbf.c: Likewise.
9042 * math/e_scalbl.c: Likewise.
9043 * math/w_acos.c: Likewise.
9044 * math/w_acosf.c: Likewise.
9045 * math/w_acosl.c: Likewise.
9046 * math/w_acosh.c: Likewise.
9047 * math/w_acoshf.c: Likewise.
9048 * math/w_acoshl.c: Likewise.
9049 * math/w_asin.c: Likewise.
9050 * math/w_asinf.c: Likewise.
9051 * math/w_asinl.c: Likewise.
9052 * math/w_atan2.c: Likewise.
9053 * math/w_atan2f.c: Likewise.
9054 * math/w_atan2l.c: Likewise.
9055 * math/w_atanh.c: Likewise.
9056 * math/w_atanhf.c: Likewise.
9057 * math/w_atanhl.c: Likewise.
9058 * math/w_exp10.c: Likewise.
9059 * math/w_exp10f.c: Likewise.
9060 * math/w_exp10l.c: Likewise.
9061 * math/w_fmod.c: Likewise.
9062 * math/w_fmodf.c: Likewise.
9063 * math/w_fmodl.c: Likewise.
9064 * math/w_j0.c: Likewise.
9065 * math/w_j0f.c: Likewise.
9066 * math/w_j0l.c: Likewise.
9067 * math/w_j1.c: Likewise.
9068 * math/w_j1f.c: Likewise.
9069 * math/w_j1l.c: Likewise.
9070 * math/w_jn.c: Likewise.
9071 * math/w_jnf.c: Likewise.
9072 * math/w_log.c: Likewise.
9073 * math/w_logf.c: Likewise.
9074 * math/w_logl.c: Likewise.
9075 * math/w_log10.c: Likewise.
9076 * math/w_log10f.c: Likewise.
9077 * math/w_log10l.c: Likewise.
9078 * math/w_log2.c: Likewise.
9079 * math/w_log2f.c: Likewise.
9080 * math/w_log2l.c: Likewise.
9081 * math/w_pow.c: Likewise.
9082 * math/w_powf.c: Likewise.
9083 * math/w_powl.c: Likewise.
9084 * math/w_remainder.c: Likewise.
9085 * math/w_remainderf.c: Likewise.
9086 * math/w_remainderl.c: Likewise.
9087 * math/w_scalb.c: Likewise.
9088 * math/w_scalbf.c: Likewise.
9089 * math/w_scalbl.c: Likewise.
9090 * math/w_sqrt.c: Likewise.
9091 * math/w_sqrtf.c: Likewise.
9092 * math/w_sqrtl.c: Likewise.
9093 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9094 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9095 used.
9096 * math/math_private.h: Declare __kernel_standard_f.
9097 * math/w_cosh.c: Remove cruft and optimize a bit.
9098 * math/w_coshf.c: Likewise.
9099 * math/w_coshl.c: Likewise.
9100 * math/w_exp2.c: Likewise.
9101 * math/w_exp2f.c: Likewise.
9102 * math/w_exp2l.c: Likewise.
9103 * math/w_hypot.c: Likewise.
9104 * math/w_hypotf.c: Likewise.
9105 * math/w_hypotl.c: Likewise.
9106 * math/w_lgamma.c: Likewise.
9107 * math/w_lgamma_r.c: Likewise.
9108 * math/w_lgammaf.c: Likewise.
9109 * math/w_lgammaf_r.c: Likewise.
9110 * math/w_lgammal.c: Likewise.
9111 * math/w_lgammal_r.c: Likewise.
9112 * math/w_sinh.c: Likewise.
9113 * math/w_sinhf.c: Likewise.
9114 * math/w_sinhl.c: Likewise.
9115 * math/w_tgamma.c: Likewise.
9116 * math/w_tgammaf.c: Likewise.
9117 * math/w_tgammal.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9120 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9121 Minor optimizations. Pretty printing. Remove cruft.
9122 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9123 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9125 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9126 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9127 * sysdeps/i386/fpu/e_asin.S: Likewise.
9128 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9129 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9130 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9131 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9132 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9133 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9134 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9135 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9136 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9137 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9138 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9139 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9140 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9141 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9142 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9143 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9144 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9145 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9146 * sysdeps/i386/fpu/e_log.S: Likewise.
9147 * sysdeps/i386/fpu/e_log10.S: Likewise.
9148 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9149 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9150 * sysdeps/i386/fpu/e_log2.S: Likewise.
9151 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9152 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9153 * sysdeps/i386/fpu/e_logf.S: Likewise.
9154 * sysdeps/i386/fpu/e_logl.S: Likewise.
9155 * sysdeps/i386/fpu/e_pow.S: Likewise.
9156 * sysdeps/i386/fpu/e_powf.S: Likewise.
9157 * sysdeps/i386/fpu/e_powl.S: Likewise.
9158 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9159 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9160 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9161 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9162 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9164 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9165 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9166 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9188 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9189 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9190 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9191 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9192 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9193 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9194 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9195 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9196 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9198 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9199 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9200 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9201 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9202 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9203 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9204 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9205 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9206 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9207 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9208 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9247 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9250 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9252 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9253 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9255 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9256 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9258 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9259 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9260 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9261 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9262 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9263 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9264 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9265 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9266 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9267 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9268 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9269 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9270 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9271 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9272 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9273 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9274 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9275 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9276 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9277 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9278 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9279 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9280 (__isnanf): Likewise.
9281 (__isinf_ns): Likewise.
9282 (__isinf_nsf): Likewise.
9283 (__finite): Likewise.
9284 (__finitef): Likewise.
9285 (__ieee754_sqrt): Define as macro.
9286 (__ieee754_sqrtf): Define as macro.
9287 (__ieee754_sqrtl): Define as macro.
9288 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9289 inlined copy.
9290 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9291 __FINITE_MATH_ONLY__ consistent.
9292 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9293
12cc2fcd
AS
92942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9295
a843a204
AS
9296 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9297 of rawmemchr.
9298
12cc2fcd
AS
9299 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9300
c853acd5
UD
93012011-10-09 Ulrich Drepper <drepper@gmail.com>
9302
9303 * po/ja.po: Update from translation team.
9304
c658d255
RM
93052011-10-08 Roland McGrath <roland@hack.frob.com>
9306
110946e4
RM
9307 * locale/programs/locarchive.c (prepare_address_space): New function.
9308 (create_archive, enlarge_archive, open_archive): Use it.
9309
50604220
RM
9310 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9311 inside [SHARED], where it is used.
9312
c658d255
RM
9313 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9314
9315 * nss/getent.c (netgroup_keys): Remove unused variable.
9316 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9317
6a621eb7
UD
93182011-10-08 Ulrich Drepper <drepper@gmail.com>
9319
7edb55ce
UD
9320 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9321 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9323 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9324 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9325 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9326 * math/Makefile (libm-calls): Add s_isinf_ns.
9327 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9328 * math/multc3.c: Likewise.
9329 * math/s_casin.c: Likewise.
9330 * math/s_casinf.c: Likewise.
9331 * math/s_casinl.c: Likewise.
9332 * math/s_ccos.c: Likewise.
9333 * math/s_ccosf.c: Likewise.
9334 * math/s_ccosl.c: Likewise.
9335 * math/s_ctan.c: Likewise.
9336 * math/s_ctanf.c: Likewise.
9337 * math/s_ctanh.c: Likewise.
9338 * math/s_ctanhf.c: Likewise.
9339 * math/s_ctanhl.c: Likewise.
9340 * math/s_ctanl.c: Likewise.
9341 * math/w_fmod.c: Likewise.
9342 * math/w_fmodf.c: Likewise.
9343 * math/w_fmodl.c: Likewise.
9344 * math/w_remainder.c: Likewise.
9345 * math/w_remainderf.c: Likewise.
9346 * math/w_remainderl.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9348 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9351 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9352 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9353 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9354 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9355
187da0ae
UD
9356 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9357 of the number.
9358 * stdio-common/printf_fphex.c: Likewise.
9359 * stdio-common/printf_size.c: Likewise.
9360
9277c064
UD
9361 * math/e_exp10.c: Include math_private.h using <...> not "...".
9362 * math/e_exp10f.c: Likewise.
9363 * math/e_exp10l.c: Likewise.
9364 * math/e_exp2l.c: Likewise.
9365 * math/e_j0l.c: Likewise.
9366 * math/e_j1l.c: Likewise.
9367 * math/e_jnl.c: Likewise.
9368 * math/e_lgammal_r.c: Likewise.
9369 * math/e_rem_pio2l.c: Likewise.
9370 * math/e_scalb.c: Likewise.
9371 * math/e_scalbf.c: Likewise.
9372 * math/e_scalbl.c: Likewise.
9373 * math/k_cosl.c: Likewise.
9374 * math/k_sinl.c: Likewise.
9375 * math/k_tanl.c: Likewise.
9376 * math/s_cacoshf.c: Likewise.
9377 * math/s_catan.c: Likewise.
9378 * math/s_catanf.c: Likewise.
9379 * math/s_catanh.c: Likewise.
9380 * math/s_catanhf.c: Likewise.
9381 * math/s_catanhl.c: Likewise.
9382 * math/s_catanl.c: Likewise.
9383 * math/s_ccosh.c: Likewise.
9384 * math/s_ccoshf.c: Likewise.
9385 * math/s_ccoshl.c: Likewise.
9386 * math/s_cexp.c: Likewise.
9387 * math/s_cexpf.c: Likewise.
9388 * math/s_cexpl.c: Likewise.
9389 * math/s_clog.c: Likewise.
9390 * math/s_clog10.c: Likewise.
9391 * math/s_clog10f.c: Likewise.
9392 * math/s_clog10l.c: Likewise.
9393 * math/s_clogf.c: Likewise.
9394 * math/s_clogl.c: Likewise.
9395 * math/s_csin.c: Likewise.
9396 * math/s_csinf.c: Likewise.
9397 * math/s_csinh.c: Likewise.
9398 * math/s_csinhf.c: Likewise.
9399 * math/s_csinhl.c: Likewise.
9400 * math/s_csinl.c: Likewise.
9401 * math/s_csqrt.c: Likewise.
9402 * math/s_csqrtf.c: Likewise.
9403 * math/s_csqrtl.c: Likewise.
9404 * math/s_ctan.c: Likewise.
9405 * math/s_ctanf.c: Likewise.
9406 * math/s_ctanh.c: Likewise.
9407 * math/s_ctanhf.c: Likewise.
9408 * math/s_ctanhl.c: Likewise.
9409 * math/s_ctanl.c: Likewise.
9410 * math/s_ldexp.c: Likewise.
9411 * math/s_ldexpf.c: Likewise.
9412 * math/s_ldexpl.c: Likewise.
9413 * math/s_significand.c: Likewise.
9414 * math/s_significandf.c: Likewise.
9415 * math/s_significandl.c: Likewise.
9416 * math/w_acos.c: Likewise.
9417 * math/w_acosf.c: Likewise.
9418 * math/w_acosh.c: Likewise.
9419 * math/w_acoshf.c: Likewise.
9420 * math/w_acoshl.c: Likewise.
9421 * math/w_acosl.c: Likewise.
9422 * math/w_asin.c: Likewise.
9423 * math/w_asinf.c: Likewise.
9424 * math/w_asinl.c: Likewise.
9425 * math/w_atan2.c: Likewise.
9426 * math/w_atan2f.c: Likewise.
9427 * math/w_atan2l.c: Likewise.
9428 * math/w_atanh.c: Likewise.
9429 * math/w_atanhf.c: Likewise.
9430 * math/w_atanhl.c: Likewise.
9431 * math/w_cosh.c: Likewise.
9432 * math/w_coshf.c: Likewise.
9433 * math/w_coshl.c: Likewise.
9434 * math/w_dremf.c: Likewise.
9435 * math/w_exp10.c: Likewise.
9436 * math/w_exp10f.c: Likewise.
9437 * math/w_exp10l.c: Likewise.
9438 * math/w_exp2.c: Likewise.
9439 * math/w_exp2f.c: Likewise.
9440 * math/w_fmod.c: Likewise.
9441 * math/w_fmodf.c: Likewise.
9442 * math/w_fmodl.c: Likewise.
9443 * math/w_hypot.c: Likewise.
9444 * math/w_hypotf.c: Likewise.
9445 * math/w_hypotl.c: Likewise.
9446 * math/w_j0.c: Likewise.
9447 * math/w_j0f.c: Likewise.
9448 * math/w_j0l.c: Likewise.
9449 * math/w_j1.c: Likewise.
9450 * math/w_j1f.c: Likewise.
9451 * math/w_j1l.c: Likewise.
9452 * math/w_jn.c: Likewise.
9453 * math/w_jnf.c: Likewise.
9454 * math/w_jnl.c: Likewise.
9455 * math/w_lgamma.c: Likewise.
9456 * math/w_lgamma_r.c: Likewise.
9457 * math/w_lgammaf.c: Likewise.
9458 * math/w_lgammaf_r.c: Likewise.
9459 * math/w_lgammal.c: Likewise.
9460 * math/w_lgammal_r.c: Likewise.
9461 * math/w_log.c: Likewise.
9462 * math/w_log10.c: Likewise.
9463 * math/w_log10f.c: Likewise.
9464 * math/w_log10l.c: Likewise.
9465 * math/w_log2.c: Likewise.
9466 * math/w_log2f.c: Likewise.
9467 * math/w_log2l.c: Likewise.
9468 * math/w_logf.c: Likewise.
9469 * math/w_logl.c: Likewise.
9470 * math/w_pow.c: Likewise.
9471 * math/w_powf.c: Likewise.
9472 * math/w_powl.c: Likewise.
9473 * math/w_remainder.c: Likewise.
9474 * math/w_remainderf.c: Likewise.
9475 * math/w_remainderl.c: Likewise.
9476 * math/w_scalb.c: Likewise.
9477 * math/w_scalbf.c: Likewise.
9478 * math/w_scalbl.c: Likewise.
9479 * math/w_sinh.c: Likewise.
9480 * math/w_sinhf.c: Likewise.
9481 * math/w_sinhl.c: Likewise.
9482 * math/w_sqrt.c: Likewise.
9483 * math/w_sqrtf.c: Likewise.
9484 * math/w_sqrtl.c: Likewise.
9485 * math/w_tgamma.c: Likewise.
9486 * math/w_tgammaf.c: Likewise.
9487 * math/w_tgammal.c: Likewise.
9488
6a621eb7
UD
9489 * po/ja.po: Update from translation team.
9490
bf582445
AJ
94912011-09-29 Andreas Jaeger <aj@suse.de>
9492
f9efbf3a
AJ
9493 [BZ #13179]
9494 * sunrpc/netname.c (netname2host): Fix logic.
9495
bf582445
AJ
9496 [BZ #6779]
9497 [BZ #6783]
9498 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9499 correctly.
9500 * math/w_remainder.c (__remainder): Likewise.
9501 * math/w_remainderf.c (__remainderf): Likewise.
9502 * math/libm-test.inc (remainder_test): Add test cases.
9503
48693bea
AK
95042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9505
9506 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9507 sdiv_qrnnd.
9508
42622229
LD
95092011-10-07 Ulrich Drepper <drepper@gmail.com>
9510
9511 * string/test-memcmp.c: Avoid unncessary #defines.
9512 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9513
093ecf92
LD
95142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9515
9516 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9517 Use new sse2 version for core i3 - i7 as it's faster
9518 than sse42 version.
9519 (bit_Prefer_PMINUB_for_stringop): New.
9520 * sysdeps/x86_64/rawmemchr.S: Update.
9521 Replace with faster SSE2 version.
9522 * sysdeps/x86_64/memrchr.S: New file.
9523 * sysdeps/x86_64/memchr.S: Update.
9524 Replace with faster SSE2 version.
9525
fde56e5c
MP
95262011-09-12 Marek Polacek <mpolacek@redhat.com>
9527
9528 * elf/dl-load.c (lose): Add cast to avoid warning.
9529
21fd49a9
UD
95302011-10-07 Ulrich Drepper <drepper@gmail.com>
9531
5a06e643
UD
9532 * po/ca.po: Update from translation team.
9533
684ae515
UD
9534 * inet/getnetgrent_r.c: Hook up nscd.
9535 * nscd/Makefile (routines): Add nscd_netgroup.
9536 (nscd-modules): Add netgroupcache.
9537 (CFLAGS-netgroupcache.c): Define.
9538 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9539 (cache_search): Add const to second parameter.
9540 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9541 INNETGR.
9542 (dbs): Add netgrdb entry.
9543 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9544 (verify_persistent_db): Handle netgrdb.
9545 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9546 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9547 GETFDNETGR.
9548 (netgroup_response_header): Define.
9549 (innetgroup_response_header): Define.
9550 (datahead): Add netgroup_response_header and innetgroup_response_header
9551 elements.
9552 * nscd/nscd.conf: Add entries for netgroup cache.
9553 * nscd/nscd.h (dbtype): Add netgrdb.
9554 (_PATH_NSCD_NETGROUP_DB): Define.
9555 (netgroup_iov_disabled): Declare.
9556 (xmalloc, xcalloc, xrealloc): Move declarations here.
9557 (cache_search): Adjust prototype.
9558 Add netgroup-related prototypes.
9559 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9560 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9561 (__nscd_innetgr): Declare.
9562 * nscd/selinux.c (perms): Use access_vector_t as element type and
9563 add netgroup-related initializers.
9564 * nscd/netgroupcache.c: New file.
9565 * nscd/nscd_netgroup.c: New file.
9566 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9567 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9568 For four parameters use innetgr.
9569 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9570 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9571 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9572 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9573
21fd49a9
UD
9574 * nscd/connections.c (register_traced_file): Don't register file
9575 for disabled databases.
9576
054c0457
UD
95772011-10-06 Ulrich Drepper <drepper@gmail.com>
9578
32b63198
UD
9579 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9580
054c0457
UD
9581 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9582 from tree and freeing node.
9583
64031225
JO
95842011-09-25 Jiri Olsa <jolsa@redhat.com>
9585
9586 * nss/nsswitch.c (__nss_database_lookup): Handle
9587 nss_parse_service_list out of memory case.
9588
0490345c
JO
95892011-09-15 Jiri Olsa <jolsa@redhat.com>
9590
9591 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9592 out of memory case.
9593
3a62d00d
AS
95942011-10-04 Andreas Schwab <schwab@redhat.com>
9595
9596 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9597 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9598 pass it down.
9599 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9600 elf_machine_rela, elf_machine_lazy_rel.
9601 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9602 (ELF_DYNAMIC_DO_REL): Likewise.
9603 (ELF_DYNAMIC_DO_RELA): Likewise.
9604 (ELF_DYNAMIC_RELOCATE): Likewise.
9605 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9606 to ELF_DYNAMIC_DO_REL.
9607 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9608 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9609 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9610 elf_machine_rela.
9611 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9612 skip_ifunc, don't call ifunc function if non-zero.
9613 (elf_machine_rela): Likewise.
9614 (elf_machine_lazy_rel): Likewise.
9615 (elf_machine_lazy_rela): Likewise.
9616 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9617 (elf_machine_lazy_rel): Likewise.
9618 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9619 Likewise.
9620 (elf_machine_lazy_rel): Likewise.
9621 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9622 Likewise.
9623 (elf_machine_lazy_rel): Likewise.
9624 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9625 (elf_machine_lazy_rel): Likewise.
9626 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9627 (elf_machine_lazy_rel): Likewise.
9628 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9629 (elf_machine_lazy_rel): Likewise.
9630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9631 (elf_machine_lazy_rel): Likewise.
9632 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9633 (elf_machine_lazy_rel): Likewise.
9634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9635 (elf_machine_lazy_rel): Likewise.
9636
68577918
UD
96372011-09-28 Ulrich Drepper <drepper@gmail.com>
9638
9639 * nss/nss_files/files-init.c (_nss_files_init): Use static
9640 initialization for all the *_traced_file variables.
9641
68822d74
AS
96422011-09-28 Andreas Schwab <schwab@redhat.com>
9643
9644 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9645
2056100b
RM
96462011-09-27 Roland McGrath <roland@hack.frob.com>
9647
9648 [BZ #13226]
9649 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9650
32c76b63
AS
96512011-09-27 Andreas Schwab <schwab@redhat.com>
9652
9653 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9654 Reread the line before reparsing it.
9655
bf972c9d
AS
96562011-09-26 Andreas Schwab <schwab@redhat.com>
9657
9658 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9659
e057a1b5
JM
96602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9661 Maxim Kuvyrkov <maxim@codesourcery.com>
9662 Joseph Myers <joseph@codesourcery.com>
9663
9664 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9665 if needed for __stack_chk_guard.
9666
bc7e1c36
RM
96672011-09-19 Roland McGrath <roland@hack.frob.com>
9668
ecb1482f
RM
9669 * sysdeps/posix/spawni.c (script_execute): Always define it.
9670 It will be optimized away if unused.
9671 (maybe_script_execute): New function.
9672 (__spawni): Call it.
9673
bc7e1c36
RM
9674 * Makerules: Don't include tls.make.
9675 (config-tls): Always set to thread.
9676 * tls.make.c: File removed.
9677
1c3b002b
MF
96782011-09-19 Mike Frysinger <vapier@gentoo.org>
9679
9680 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9681 * config.make.in (CPPFLAGS-config): New substituted variable.
9682
2840865d
UD
96832011-09-15 Ulrich Drepper <drepper@gmail.com>
9684
88738eb6
UD
9685 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9686
cbf645a6 9687 [BZ #13192]
2840865d
UD
9688 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9689 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9690
b402e91a
RM
96912011-09-15 Roland McGrath <roland@hack.frob.com>
9692
9693 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9694 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9696 (CALL_FAIL): Likewise.
9697 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9698 (CALL_FAIL): Macro removed.
9699 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9700
4c1a1f71
UD
97012011-09-15 Ulrich Drepper <drepper@gmail.com>
9702
9703 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9704 for __FINITE_MATH_ONLY__ == 1.
9705
edc121be
AS
97062011-09-15 Andreas Schwab <schwab@redhat.com>
9707
9708 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9709 __ieee754_sqrt instead of sqrt.
9710 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9711 __ieee754_sqrtf instead of sqrtf.
9712 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9713 __floorf instead of floorf.
9714 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9715 __floorf, __truncf instead of floorf, truncf.
9716
cd205654
UD
97172011-09-14 Ulrich Drepper <drepper@gmail.com>
9718
ee4d0315
UD
9719 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9720
cd205654
UD
9721 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9722 __extern_always_inline.
9723 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9724 32-bit.
9725
48b67d71
AS
97262011-09-14 Andreas Schwab <schwab@redhat.com>
9727
9728 * elf/rtld.c (dl_main): Also relocate in dependency order when
9729 doing symbol dependency testing.
9730
1ae12c75
AS
97312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9732
9733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9734 Always define `refsym'.
9735
995a80df
AS
97362011-09-13 Andreas Schwab <schwab@redhat.com>
9737
e529793b
AS
9738 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9739 (__FD_ELT): Renamed from __FDELT.
9740 * misc/bits/select2.h (__FD_ELT): Likewise.
9741 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9742 __FD_MASK instead of __FDELT, __FDMASK.
9743 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9744 Likewise.
9745 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9746 Likewise.
9747
52d4fef8
AS
9748 * elf/Makefile (gen-ldd): Fix pattern.
9749
995a80df
AS
9750 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9751 (init_tls): Likewise.
9752
8682f8b0
UD
97532011-09-12 Ulrich Drepper <drepper@gmail.com>
9754
9755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9756
de82006d
AS
97572011-09-12 Andreas Schwab <schwab@redhat.com>
9758
a7c8e6a1
AS
9759 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9760 `struct cmsghdr *' instead of `void *'.
9761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9762 Likewise.
9763
0f31fe77
AS
97642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9765
9766 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9767 if non-absolute.
9768 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9769 ldd_rewrite_script.
0f31fe77 9770
32b4c839
UD
97712011-09-11 Ulrich Drepper <drepper@gmail.com>
9772
83cd1420
UD
9773 * configure.in: Remove --with-tls option.
9774 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9775 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9776 out in case it is missing.
9777 * sysdeps/ia64/elf/configure.in: Likewise.
9778 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9779 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9780 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9781 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9782 * sysdeps/sh/elf/configure.in: Likewise.
9783 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9784 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9785 * sysdeps/x86_64/elf/configure.in: Likewise.
9786 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9787 * sysdeps/mach/hurd/tls.h: Likewise.
9788
633f745d
UD
9789 [BZ #13067]
9790 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9791
f318beb8
UD
9792 [BZ #13090]
9793 * configure.in: Fix use of AC_INIT.
9794
32b4c839
UD
9795 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9796
3ce1f295
UD
97972011-09-10 Ulrich Drepper <drepper@gmail.com>
9798
bb016596
UD
9799 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9800 __set_errno.
8e58439c
UD
9801 * malloc/hooks.c: Likewise.
9802
aebae053 9803 [BZ #11929]
02d46fc4
UD
9804 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9805 variables statically.
9806 (narenas): Initialize.
9807 (list_lock): Initialize.
bb016596
UD
9808 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9809 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9810 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9811 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9812 Add initializers to main_arena and mp_.
9813 (malloc_state): Remove pagesize member. Change all users to use
9814 GLRO(dl_pagesize).
9815
9816 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9817 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9818 is always initialized.
9819
22a89187
UD
9820 * malloc/malloc.c: Removed unused configurations and dead code.
9821 * malloc/arena.c: Likewise.
9822 * malloc/hooks.c: Likewise.
02d46fc4 9823 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9824
d063d164
UD
9825 * include/tls.h: Removed. USE___THREAD must always be defined.
9826 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9827 * elf/dl-libc.c: Likewise.
9828 * elf/dl-tsd.c: Likewise.
9829 * include/errno.h: Likewise.
9830 * include/netdb.h: Likewise.
9831 * include/resolv.h: Likewise.
9832 * inet/herrno-loc.c: Likewise.
9833 * inet/herrno.c: Likewise.
9834 * malloc/arena.c: Likewise.
9835 * malloc/hooks.c: Likewise.
9836 * malloc/malloc.c: Likewise.
9837 * resolv/res-state.c: Likewise.
9838 * resolv/res_libc.c: Likewise.
9839 * sysdeps/i386/dl-machine.h: Likewise.
9840 * sysdeps/ia64/dl-machine.h: Likewise.
9841 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9842 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9843 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9844 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9845 * sysdeps/sh/dl-machine.h: Likewise.
9846 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9847 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9848 * sysdeps/unix/i386/sysdep.S: Likewise.
9849 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9850 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9852 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9853 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9855 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9857 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9859 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9860 * sysdeps/x86_64/dl-machine.h: Likewise.
9861 * tls.make.c: Likewise.
9862
3ce1f295
UD
9863 * configure.in: Remove --with-__thread option. Make tests for
9864 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9865 tls_model attribute fail if no support is available. Remove
9866 USE_IN_LIBIO.
9867 * Makeconfig: Adjust for dropped configure option. All features are
9868 now mandatory.
9869 * Makerules: Likewise.
9870 * Versions.def: Likewise.
9871 * argp/argp-fmtstream.c: Likewise.
9872 * argp/argp-fmtstream.h: Likewise.
9873 * argp/argp-help.c: Likewise.
9874 * assert/assert.c: Likewise.
9875 * config.h.in: Likewise.
9876 * config.make.in: Likewise.
9877 * configure: Likewise.
9878 * configure.in: Likewise.
9879 * csu/Versions: Likewise.
9880 * csu/init.c: Likewise.
9881 * elf/tst-audit2.c: Likewise.
9882 * elf/tst-tls10.c: Likewise.
9883 * elf/tst-tls10.h: Likewise.
9884 * elf/tst-tls11.c: Likewise.
9885 * elf/tst-tls12.c: Likewise.
9886 * elf/tst-tls14.c: Likewise.
9887 * elf/tst-tlsmod11.c: Likewise.
9888 * elf/tst-tlsmod12.c: Likewise.
9889 * elf/tst-tlsmod13.c: Likewise.
9890 * elf/tst-tlsmod13a.c: Likewise.
9891 * elf/tst-tlsmod14a.c: Likewise.
9892 * elf/tst-tlsmod15b.c: Likewise.
9893 * elf/tst-tlsmod16a.c: Likewise.
9894 * elf/tst-tlsmod16b.c: Likewise.
9895 * elf/tst-tlsmod7.c: Likewise.
9896 * elf/tst-tlsmod8.c: Likewise.
9897 * elf/tst-tlsmod9.c: Likewise.
9898 * gmon/gmon.c: Likewise.
9899 * grp/fgetgrent_r.c: Likewise.
9900 * grp/putgrent.c: Likewise.
9901 * hurd/fopenport.c: Likewise.
9902 * include/libc-symbols.h: Likewise.
9903 * include/tls.h: Likewise.
9904 * intl/gettextP.h: Likewise.
9905 * intl/loadinfo.h: Likewise.
9906 * locale/global-locale.c: Likewise.
9907 * locale/localeinfo.h: Likewise.
9908 * mach/devstream.c: Likewise.
9909 * malloc/arena.c: Likewise.
9910 * malloc/set-freeres.c: Likewise.
9911 * misc/err.c: Likewise.
9912 * misc/getttyent.c: Likewise.
9913 * misc/mntent_r.c: Likewise.
9914 * posix/getopt.c: Likewise.
9915 * posix/wordexp.c: Likewise.
9916 * pwd/fgetpwent_r.c: Likewise.
9917 * resolv/Versions: Likewise.
9918 * resolv/res_hconf.c: Likewise.
9919 * shadow/fgetspent_r.c: Likewise.
9920 * shadow/putspent.c: Likewise.
9921 * stdio-common/printf_fphex.c: Likewise.
9922 * stdio-common/tmpfile.c: Likewise.
9923 * stdlib/abort.c: Likewise.
9924 * stdlib/fmtmsg.c: Likewise.
9925 * sunrpc/auth_unix.c: Likewise.
9926 * sunrpc/clnt_perr.c: Likewise.
9927 * sunrpc/clnt_tcp.c: Likewise.
9928 * sunrpc/clnt_udp.c: Likewise.
9929 * sunrpc/clnt_unix.c: Likewise.
9930 * sunrpc/openchild.c: Likewise.
9931 * sunrpc/svc_simple.c: Likewise.
9932 * sunrpc/svc_tcp.c: Likewise.
9933 * sunrpc/svc_udp.c: Likewise.
9934 * sunrpc/svc_unix.c: Likewise.
9935 * sunrpc/xdr.c: Likewise.
9936 * sunrpc/xdr_array.c: Likewise.
9937 * sunrpc/xdr_rec.c: Likewise.
9938 * sunrpc/xdr_ref.c: Likewise.
9939 * sunrpc/xdr_stdio.c: Likewise.
9940
1248c1c4
PB
99412011-09-09 Ulrich Drepper <drepper@gmail.com>
9942
9943 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9944
99452011-07-03 Andreas Jaeger <aj@suse.de>
9946
9947 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9948 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9949 regenerate with gen-libm-tests.pl.
9950
99512010-05-12 Petr Baudis <pasky@suse.cz>
9952
9953 [BZ #11589]
9954 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9955 around j0() zero points by switching to j1().
9956 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9960
f22e1074
UD
99612011-09-09 Ulrich Drepper <drepper@gmail.com>
9962
f19009c1
UD
9963 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9964 instead of 0.
9965 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9966 instead of 0. .
9967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9968 Patch in part by Pavel Roskin <proski@gnu.org>.
9969
3f8cc204
UD
9970 [BZ #13138]
9971 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9972 realloc.
9973 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9974 Free memory block if necessary.
9975
f22e1074
UD
9976 [BZ #12847]
9977 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9978 be NULL. Don't lock in this case.
9979
0a2349f9
RM
99802011-09-09 Roland McGrath <roland@hack.frob.com>
9981
9982 * elf/elf.h (ELFOSABI_GNU): New macro.
9983 (ELFOSABI_LINUX): Define to that.
9984
f3cdd467
DZ
99852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9986
9987 * string/strncat.c (strncat): Undef the symbol in case it has been
9988 defined in bits/string.h.
9989
74718d13
UD
99902011-09-09 Ulrich Drepper <drepper@gmail.com>
9991
633e9e0f
UD
9992 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9993
0a2349f9 9994 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9995 link map.
9996
f9924780
AJ
99972011-08-17 Andreas Jaeger <aj@suse.de>
9998
9999 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10000
7f5517aa
PP
100012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10002 Ian Lance Taylor <iant@google.com>
10003
10004 * math/libm-test.inc (lround_test): New testcase.
10005 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10006
762011fe
UD
100072011-09-08 Ulrich Drepper <drepper@gmail.com>
10008
92963737
UD
10009 * Makefile: Remove support for automatic cvs check-ins.
10010 * Makerules: Likewise.
10011 * config.make.in: Likewise.
10012 * configure.in: Likewise.
10013 * intl/Makefile: Likewise.
10014 * locale/Makefile: Likewise.
10015 * po/Makefile: Likewise.
10016 * posix/Makefile: Likewise.
10017 * sysdeps/gnu/Makefile: Likewise.
10018 * sysdeps/mach/hurd/Makefile: Likewise.
10019 * sysdeps/sparc/sparc32/Makefile: Likewise.
10020
b0727fd8
JS
10021 [BZ #13118]
10022 * posix/Makefile (bug-regex32-ENV): Define.
10023 Patch by John Stanley <jpsinthemix@verizon.net>.
10024
a0f33f99
UD
10025 * misc/Makefile (headers): Add bits/select2.h.
10026 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10027 * misc/bits/select2.h: New file.
10028 * include/bits/select2.h: New file.
10029 * debug/Makefile (routines): Add fdelt_chk.
10030 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10031 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10032 FD_ISSET.
10033 * debug/fdelt_chk.c: New file.
10034
762011fe
UD
10035 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10036 * wcsmbs/test-wmemcmp.c: Likewise.
10037 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10038 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10039
100402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10041
10042 * string/Makefile (strop-tests): Add memcmp.
10043 * string/test-wmemcmp.c: New file.
10044 * string/test-memcmp.c: Add wmemcmp support.
10045
7f513ec8
RM
100462011-09-08 Roland McGrath <roland@hack.frob.com>
10047
0442afb4
RM
10048 [BZ #13153]
10049 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10050 2011-07-19 change.
10051
7f513ec8
RM
10052 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10053 garbage value in a __mach_port_mod_refs call in the cases of the
10054 task-self and thread-self ports.
10055
a12b2239
ST
100562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10057
10058 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10059
610f9ab4
AS
100602011-09-08 Andreas Schwab <schwab@redhat.com>
10061
7f513ec8 10062 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10063
48882a1a
LD
100642011-09-07 Ulrich Drepper <drepper@gmail.com>
10065
b49865be
UD
10066 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10067
fdc86bc9
UD
10068 * elf/dl-libc.c (dlerror_run): Pass back error code from
10069 dl_catch_error.
10070
c966526a
UD
10071 [BZ #13123]
10072 * elf/dl-load.c (lose): Free l_origin if it is valid.
10073
48882a1a
LD
10074 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10075 names.
10076 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10079 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10080 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10081 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10082
77a2a8b4
AZ
100832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10084
10085 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10086 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10087 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10088 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10089 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10090 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10091 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10092 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10093 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10094 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10095
24f579d8
AM
100962011-08-15 Alan Modra <amodra@gmail.com>
10097
10098 [BZ #13092]
10099 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10100 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10101 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10102 ppc_mcount to static-only-routines.
10103 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10104 __mcount_internal.
10105 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10106 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10107
3d4837df
UD
101082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10109
10110 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10111 for finite and infinity parameters.
10112
22700377
WS
101132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10114
10115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10116 and add nop instructions for throughput optimization.
10117 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10118
5025581e
WS
101192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10120
10121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10122 aligned copy for power7 with vector-scalar instructions.
10123 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10124
08a300c9
L
101252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10126
10127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10128 AVX check.
10129
59178ef9
AS
101302011-09-07 Andreas Schwab <schwab@redhat.com>
10131
10132 [BZ #13144]
10133 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10134 last change.
10135
e38ba7ab
UD
101362011-09-07 Ulrich Drepper <drepper@gmail.com>
10137
10138 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10139 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10140 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10141 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10142 clock_gettime.
10143
d53a73ac
UD
101442011-09-06 Ulrich Drepper <drepper@gmail.com>
10145
fc8bffcc
UD
10146 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10147 Forgot to demangle the pointer.
10148
ceaa0c5d
UD
10149 * sysdeps/i386/sysdep.h: Define atom_text_section.
10150 * sysdeps/x86_64/sysdep.h: Likewise.
10151 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10152 section with atom_text_section.
10153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10154 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10155 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10156 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10157 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10158
a77d3c17
UD
10159 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10160 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10161 already be defined. Change to take two parameters and don't assign
10162 result to variable. Adjust all users.
10163 Define INTERNAL_GETTIME if not already defined.
10164 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10165 call.
10166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10167 HAVE_CLOCK_GETTIME_VSYSCALL.
10168 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10169
d53a73ac
UD
10170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10171 gettimeofday vsyscall, just use time.
10172
a8f84144
AS
101732011-09-06 Andreas Schwab <schwab@redhat.com>
10174
10175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10176 <errno.h>.
10177
ef606249
UD
101782011-09-06 Ulrich Drepper <drepper@gmail.com>
10179
10180 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10181 syscall on x86-64.
10182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10183 syscall.
10184 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10186 syscall if possible.
10187
6585cb60
UD
101882011-09-05 Ulrich Drepper <drepper@gmail.com>
10189
10190 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10191 e_ident. Don't pass to find_mapsXX.
10192 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10193
a5f524e4
LD
101942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10195
10196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10197 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10198 * sysdeps/x86_64/multiarch/strchr.S: Update.
10199 Check bit_slow_BSF bit.
10200 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10201 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10202 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10203
554881ef
UD
102042011-09-05 Ulrich Drepper <drepper@gmail.com>
10205
d96de963
UD
10206 [BZ #13134]
10207 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10208 before glibc 2.15.
10209 (tryshell): Define.
10210 (__spawni): Change last parameter to be flag. Test
10211 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10212 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10213 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10214 * posix/spawni.c: Likewise.
10215 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10216 * posix/spawnp.c: Likewise. Change normal version to use
10217 SPAWN_XFLAGS_USE_PATH.
10218 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10219 SPAWN_XFLAGS_TRY_SHELL.
10220
d48e5868
UD
10221 [BZ #13150]
10222 * posix/glob.h: Remove gcc 1.x support.
10223
554881ef
UD
10224 [BZ #13068]
10225 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10226
693fb948
LD
102272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10228
10229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10230 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10231 strrchr-sse2-bsf
10232 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10233 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10234 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10235 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10236 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10237 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10238
1b48c537
UD
102392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10240
49d42c37
UD
10241 * sysdeps/x86_64/wcscmp.S: New file.
10242
1b48c537
UD
10243 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10244 wcscmp-c wcscmp-sse2
10245 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10246 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10247 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10248 * wcsmbs/wcscmp.c: Allow renaming.
10249
15c95c5d
DM
102502011-09-05 David S. Miller <davem@davemloft.net>
10251
10252 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10253 stack slot, rather than the struct return pointer slot.
10254 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10255 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10257 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10258
2f0ad8f3
UD
102592011-09-05 Ulrich Drepper <drepper@gmail.com>
10260
d88ae418
UD
10261 * po/ja.po: Update from translation team.
10262
2f0ad8f3
UD
10263 [BZ #13144]
10264 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10265 kernel in 64-bit binaries.
10266
5f4318d1
DM
102672011-09-01 David S. Miller <davem@davemloft.net>
10268
10269 * elf/elf.h (HWCAP_SPARC_*): Move to..
10270 * sysdeps/sparc/sysdep.h: this new file and add new values.
10271 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10272 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10273 _DL_HWCAP_COUNT to 24.
10274 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10275 entries.
10276 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10277 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10278 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10280 instead of magic constants.
10281 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10282
3ba57516
DM
102832011-08-31 David S. Miller <davem@davemloft.net>
10284
10285 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10287 Reimplement to do errno handling inline.
10288 (SYSCALL_ERROR_HANDLER): New macro.
10289 (__SYSCALL_STRING): Do not do errno handling in asm.
10290 (__CLONE_SYSCALL_STRING): Delete.
10291 (__INTERNAL_SYSCALL_STRING): Delete.
10292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10293 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10294 (PSEUDO): Reimplement to do errno handling inline.
10295 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10296 (SYSCALL_ERROR_HANDLER): New macro.
10297 (__SYSCALL_STRING): Do not do errno handling in asm.
10298 (__CLONE_SYSCALL_STRING): Delete.
10299 (__INTERNAL_SYSCALL_STRING): Delete.
10300 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10301 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10302 i386.
10303 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10304 (inline_syscall*): Add 'err' argument.
10305 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10306 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10307 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10308 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10309
10310 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10311 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10312
2bc17433
AS
103132011-08-30 Andreas Schwab <schwab@redhat.com>
10314
10315 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10316
fbeb5f4d
JO
103172011-08-29 Jiri Olsa <jolsa@redhat.com>
10318
10319 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10320 directive.
10321
ad69cc26
DM
103222011-08-24 David S. Miller <davem@davemloft.net>
10323
10324 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10325
39dd69df
AS
103262011-08-24 Andreas Schwab <schwab@redhat.com>
10327
10328 * elf/Makefile: Add rules to build and run unload8 test.
10329 * elf/unload8.c: New file.
10330 * elf/unload8mod1.c: New file.
10331 * elf/unload8mod1x.c: New file.
10332 * elf/unload8mod2.c: New file.
10333 * elf/unload8mod3.c: New file.
10334
10335 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10336 it wasn't used.
10337
2c0b250a
DM
103382011-08-23 David S. Miller <davem@davemloft.net>
10339
10340 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10341 subtract stack bias.
10342 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10343 %sp not %fp in calculations.
10344 (_JMPBUF_UNWINDS_ADJ): Likewise.
10345
22044b48
DM
10346 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10347 (aio_suspend): Call it to force an exception region around the
10348 AIO_MISC_WAIT() invocation.
10349
2cae4995
AS
103502011-08-23 Andreas Schwab <schwab@redhat.com>
10351
10352 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10353 backslash.
10354
873a772e
AJ
103552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10356
10357 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10358 protection macro.
10359 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10360 and <dl-machine.h>.
10361 (Elf64_FuncDesc): Remove.
10362
25ad0df1
DM
103632011-08-22 David S. Miller <davem@davemloft.net>
10364
10365 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10366 sigaltstack check, add missing cfi directives.
10367 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10368 missing cfi directives, and sigaltstack handling.
10369
e888bcbe
AS
103702011-08-16 Andreas Schwab <schwab@redhat.com>
10371
10372 [BZ #11724]
10373 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10374 object is seen twice.
10375 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10376
10377 * elf/Makefile (distribute): Add tst-initorder2.c.
10378 (tests): Add tst-initorder2.
10379 (modules-names): Add tst-initorder2a tst-initorder2b
10380 tst-initorder2c tst-initorder2d. Add rules to build them.
10381 ($(objpfx)tst-initorder2.out): New rule.
10382 * elf/tst-initorder2.c: New file.
10383 * elf/tst-initorder2.exp: New file.
10384
87162f46
AS
103852011-08-22 Andreas Schwab <schwab@redhat.com>
10386
70538b7f
AS
10387 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10388
f55ffe58
AS
10389 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10390 dependencies back to end of function.
10391
87162f46
AS
10392 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10393 $(elfobjdir)/ld.so.
10394
91b392a4
UD
103952011-08-21 Ulrich Drepper <drepper@gmail.com>
10396
10397 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10398 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10400 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10401 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10402 of __vdso_gettimeofday.
10403 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10404 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10405 attribute_hidden.
10406 (_libc_vdso_platform_setup): Remove initialization of
10407 __vdso_gettimeofday and __vdso_time.
10408
5c43483f
UD
104092011-08-20 Ulrich Drepper <drepper@gmail.com>
10410
775a77e7
UD
10411 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10412 and fgetc_unlocked.
10413 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10414 getc_unlocked.
89f447ed 10415
49c74ba9
UD
10416 * elf/dl-open.c (add_to_global): Report additions to the global scope
10417 for LD_DEBUG=scopes.
10418 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10419 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10420
5c43483f
UD
10421 [BZ #13114]
10422 * stdio-common/Makefile (tests): Add bug24.
10423 * stdio-common/bug24.c: New file.
10424
a101b025
AJ
104252011-08-19 Andreas Jaeger <aj@suse.de>
10426
10427 [BZ #13114]
10428 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10429 non-existant file when using close-on-exec mode.
10430
c88f1766
UD
104312011-08-20 Ulrich Drepper <drepper@gmail.com>
10432
0276a718
UD
10433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10434 the very first instruction.
10435
c88f1766
UD
10436 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10437 the CFI state in the end.
10438 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10439 inclusion of dl-trampoline.h.
10440 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10441
51ccffa0
AS
104422011-08-19 Andreas Schwab <schwab@redhat.com>
10443
94d7165f
AS
10444 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10445 expectations for long double.
10446
51ccffa0
AS
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10448 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10449
fd708658 104502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10451
10452 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10453 artificual limit depends upon the system page size.
10454
44f0a71e
UD
104552011-08-17 Ulrich Drepper <drepper@gmail.com>
10456
10457 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10458 * resolv/Makefile: Define CFLAGS-libresolv.
10459
8de79a24
AS
104602011-08-17 Andreas Schwab <schwab@redhat.com>
10461
10462 * nss/makedb.c (compute_tables): Make variables used in nested
10463 function static.
10464
27724598
UD
104652011-08-17 Ulrich Drepper <drepper@gmail.com>
10466
c5305d88
UD
10467 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10468 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10469 if buffer was too small.
10470
27724598
UD
10471 * elf/pldd.c (main): Attach to all threads in the process.
10472 Rewrite /proc handling to use *at functions.
10473
076fe015
UD
104742011-08-16 Ulrich Drepper <drepper@gmail.com>
10475
174baab3
UD
10476 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10477 specifies first scope to show.
10478 (dl_open_worker): Update callers. Move printing scope of new
10479 object to before the relocation.
44f0a71e 10480 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10481 * sysdeps/generic/ldsodefs.h: Update declaration.
10482
076fe015
UD
10483 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10484 string for the scope number.
10485
a60df2c3
UD
104862011-08-14 Ulrich Drepper <drepper@gmail.com>
10487
10488 * nscd/servicescache.c (cache_addserv): Make sure written is always
10489 initialized.
10490
5e4287d1
RM
104912011-08-14 Roland McGrath <roland@hack.frob.com>
10492
85ae0589
RM
10493 * sysdeps/i386/i486/bits/atomic.h
10494 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10495 statement expression, so as to suppress "set but not used" warning.
10496 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10497
69f63097
RM
10498 * string/strncat.c (STRNCAT): Use prototype definition.
10499
675456ef
RM
10500 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10501 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10502 -Iprograms here.
10503 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10504 (localedef-modules): Add localedef.
10505 (locale-modules): Add locale.
10506
5e4287d1
RM
10507 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10508 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10509 to avoid a warning.
10510
9c96ff23
DM
105112011-08-14 David S. Miller <davem@davemloft.net>
10512
10513 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10514 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10515
f9ddf089
UD
105162011-08-13 Ulrich Drepper <drepper@gmail.com>
10517
44f0a71e 10518 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10519 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10520 * elf/rtld.c (dl_main): Set l_name of vDSO.
10521 Call _dl_show_scope when DL_DEBUG_SCOPES.
10522 (process_dl_debug): Recognize scopes flag and also set it for all.
10523 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10524 Declare _dl_show_scope.
10525
1dc27704
UD
10526 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10527 (do_dlopen): Pass caller_dlopen to dl_open.
10528 (__libc_dlopen_mode): Initialize caller_dlopen.
10529
f9ddf089
UD
10530 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10531 of libc. Make tolower call locale-independent. Optimize a bit by
10532 using isdigit instead of isalnum.
10533 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10534
9ac533d3
UD
105352011-08-12 Ulrich Drepper <drepper@gmail.com>
10536
10537 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10538 was a dependency or dynamically loaded.
10539
89edf2e9
UD
105402011-08-11 Ulrich Drepper <drepper@gmail.com>
10541
8e999d29
UD
10542 * intl/l10nflist.c: Allow architecture-specific pop function.
10543 * sysdeps/x86_64/l10nflist.c: New file.
10544
89edf2e9
UD
10545 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10546 classification.
10547
14d96785
AS
105482011-08-10 Andreas Schwab <schwab@redhat.com>
10549
10550 * include/dirent.h: Add libc_hidden_proto for scandirat and
10551 scandirat64. Don't declare __scandirat64.
10552 * dirent/scandirat.c: Add libc_hidden_def.
10553 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10554 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10555
6761ac04
DM
105562011-08-10 David S. Miller <davem@davemloft.net>
10557
10558 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10559 enum.
10560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10563
c55fbd1e
UD
105642011-08-09 Ulrich Drepper <drepper@gmail.com>
10565
10566 * Versions.def [libc]: Add GLIBC_2.15.
10567 * dirent/Makefile (routines): Add scandirat and scandirat64.
10568 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10569 GLIBC_2.15.
10570 * dirent/dirent.h: Declare scandirat and scandirat64.
10571 * dirent/scandirat.c: New file.
10572 * dirent/scandirat64.c: New file.
10573 * sysdeps/wordsize-64/scandirat.c: New file.
10574 * sysdeps/wordsize-64/scandirat64.c: New file.
10575 * dirent/opendir.c: Define opendirat.
10576 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10577 using scandirat.
10578 * dirent/scandir64.c: Adjust for scandir.c change.
10579 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10580 __scandirat64, and __scandir_cancel_handler.
10581 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10582 additional parameter and use openat instead of open (outside of ld.so).
10583 Add new __opendir as wrapper around __opendirat.
10584 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10585 here without requiring old scandirat implementation.
10586
879165f2
UD
105872011-08-08 Ulrich Drepper <drepper@gmail.com>
10588
10589 * dirent/scandir.c (cancel_handler): Renamed to
10590 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10591 defined. Adjust users.
10592 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10593 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10594
cb7e923b
UD
105952011-08-04 Ulrich Drepper <drepper@gmail.com>
10596
16292edd
UD
10597 * string/test-string.h (IMPL): Use __STRING to expand name and then
10598 stringify it.
10599
cb7e923b
UD
10600 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10601 of cleanups.
10602
cff82933
LD
106032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10604
10605 * string/Makefile: Update.
10606 (strop-tests): Append strncat.
10607 * string/test-wcscmp.c: New file.
10608 New comprehensive test for wcscmp.
10609 * string/test-strcmp.c: Update.
10610 (WIDE): New define.
10611
9be9bfcc
AS
106122011-07-22 Andreas Schwab <schwab@redhat.com>
10613
10614 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10615 line.
10616
2e96f1c7
AS
106172011-07-26 Andreas Schwab <schwab@redhat.com>
10618
10619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10620 encoding to ACE if AI_IDN.
10621
85188888
JJ
106222011-08-01 Jakub Jelinek <jakub@redhat.com>
10623
10624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10625 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10626
5fa16e9b
LD
106272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10628
10629 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10630 Fix overflow bug in strncat.
10631 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10632
10633 * string/test-strncat.c: Update.
10634 Add new tests for checking overflow bugs.
10635
106362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10637
10638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10639 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10640 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10641 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10643 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10644 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10645 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10646 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10647
10648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10649 (USE_AS_STRCAT): Define.
10650 Add strcat and strncat support.
10651 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10652
8c1a459f
AS
106532011-07-25 Andreas Schwab <schwab@redhat.com>
10654
10655 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10656 __n bigger than INT_MAX+1.
10657 (__strncmp_g): Likewise.
10658
bba33c28
UD
106592011-07-23 Ulrich Drepper <drepper@gmail.com>
10660
798be72d
UD
10661 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10662 * libio/stido.h: Likewise.
10663
8accd4dc
UD
10664 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10665 (AF_NFC): Define.
10666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10667 (AF_NFC): Define.
10668
cbff0d96
UD
10669 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10670 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10671 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10672 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10674
9191c04a
UD
10675 [BZ #13021]
10676 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10677 installed.
10678
bba33c28
UD
10679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10680 typo.
10681 (_dl_x86_64_save_sse): Likewise.
10682
90f139dd
UD
106832011-07-22 Ulrich Drepper <drepper@gmail.com>
10684
1aae088a
UD
10685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10686 OSXSAVE.
10687 (_dl_x86_64_save_sse): Likewise.
10688
8e2045f5
UD
10689 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10690
90f139dd
UD
10691 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10692
1d002f25
AS
106932011-07-21 Andreas Schwab <schwab@redhat.com>
10694
10695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10696 change.
10697 (_dl_x86_64_save_sse): Use correct AVX check.
10698
21137f89
UD
106992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10700
10701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10702 bug in strncpy/strncat.
10703 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10704
a65c0b7a
UD
107052011-07-21 Ulrich Drepper <drepper@gmail.com>
10706
10707 * string/tester.c (test_strcat): Add tests for different alignments
10708 of source and destination.
10709 (test_strncat): Likewise.
10710
6986b98a
UD
107112011-07-20 Ulrich Drepper <drepper@gmail.com>
10712
90bb2039
UD
10713 [BZ #12852]
10714 * posix/glob.c (glob): Check passed in values before using them in
10715 expressions to avoid some overflows.
10716 (glob_in_dir): Likewise.
10717
5644ef54
UD
10718 [BZ #13007]
10719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10720 check for AVX enablement so that we don't crash with old kernels and
10721 new hardware.
10722 * elf/tst-audit4.c: Add same checks here.
10723 * elf/tst-audit6.c: Likewise.
10724
10725 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10726
bfc9dc9b
AS
107272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10728
10729 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10730
702e64bb
UD
107312011-07-20 Ulrich Drepper <drepper@gmail.com>
10732
10733 * po/cs.po: Update from translation team.
10734 * po/bg.po: Likewise.
10735
295e904f
MP
107362011-07-12 Marek Polacek <mpolacek@redhat.com>
10737
10738 * misc/sys/cdefs.h: Add support for const attribute.
10739 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10740 to gnu_dev_{major,minor,makedev} functions.
10741
3ff94596
MP
107422011-07-20 Marek Polacek <mpolacek@redhat.com>
10743
10744 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10745
28b59fca
AS
107462011-07-20 Andreas Schwab <schwab@redhat.com>
10747
10748 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10749 strlen results.
10750
19df733e
AK
107512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10752
10753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10754 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10755 register in order to avoid conflicts with the soft frame pointer
10756 being held in r11 when necessary.
10757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10758 (INTERNAL_VSYSCALL_NCS): Likewise.
10759
c8835729
MP
107602011-07-14 Marek Polacek <mpolacek@redhat.com>
10761
10762 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10763 * elf/dl-fini.c (_dl_fini): Adjust caller.
10764 * elf/dl-close.c (_dl_close_worker): Likewise.
10765 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10766
b902330c
MP
107672011-07-15 Marek Polacek <mpolacek@redhat.com>
10768
8991e135
MP
10769 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10770 "aux_cache->nlibs < 0".
10771
b902330c
MP
10772 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10773 in the reload-count case.
10774
99710781
LD
107752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10776
10777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10778 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10779 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10780 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10781 * sysdeps/x86_64/multiarch/strcat.S: New file.
10782 * sysdeps/x86_64/multiarch/strncat.S: New file.
10783 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10784 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10785 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10786 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10787 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10788 (USE_AS_STRCAT): Define.
10789 Add strcat and strncat support.
10790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10791 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10792 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10793 * string/strncat.c: Update.
10794 (USE_AS_STRNCAT): Define.
10795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10796 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10797 and i7.
10798 * sysdeps/x86_64/multiarch/init-arch.h
10799 (bit_Prefer_PMINUB_for_stringop): New.
10800 (index_Prefer_PMINUB_for_stringop): Likewise.
10801 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10802 bit_Prefer_PMINUB_for_stringop.
10803
7dc6bd90
UD
108042011-07-19 Ulrich Drepper <drepper@gmail.com>
10805
10806 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10807 buffer64.
10808 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10809 of casting of buffer.
10810 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10811 buffer32 and buffer64.
10812 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10813 writes instead of casting of buffer.
10814 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10815 buffer32.
10816 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10817 casting of buffer.
10818
e0e72284
AS
108192011-07-19 Andreas Schwab <schwab@redhat.com>
10820
10821 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10822
feb1eb0b
UD
108232011-07-19 Ulrich Drepper <drepper@gmail.com>
10824
10825 * nscd/nscd.c (termination_handler): Don't do anything for a database
10826 if it has not yet been initialized.
10827
298711ff
UD
108282011-07-18 Ulrich Drepper <drepper@gmail.com>
10829
10830 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10831
108322011-07-15 Marek Polacek <mpolacek@redhat.com>
10833
10834 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10835
f9d68389
UD
108362011-07-18 Ulrich Drepper <drepper@gmail.com>
10837
10838 * po/nl.po: Update from translation team.
10839 * po/sv.po: Likewise.
10840
db290cf5
RM
108412011-07-16 Roland McGrath <roland@hack.frob.com>
10842
10843 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10844 now disallowed by GCC.
5c550700 10845
fd5e21c7
RM
10846 * configure.in (use-default-link): Default to yes if a test -shared
10847 link meets our qualifications.
10848 * configure: Regenerated.
10849
5c550700
RM
10850 * config.make.in (output-format): New variable.
10851 * configure.in: Check for ld --print-output-format support.
10852 * configure: Regenerated.
10853 * Makerules ($(common-objpfx)format.lds)
10854 [$(output-format) != unknown]: Just use $(output-format),
10855 instead of the linker-script munging.
10856
9fa2c032
RM
108572011-07-14 Roland McGrath <roland@hack.frob.com>
10858
a6928d51
RM
10859 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10860 of $(common-objpfx)shlib.lds.
10861 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10862
661607b3
RM
10863 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10864 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10865
9fa2c032
RM
10866 * configure.in (-z relro check): Adjust test code to add a large
10867 writable data section after it.
10868 * configure: Regenerated.
10869
defe9061
RM
108702011-07-11 Roland McGrath <roland@hack.frob.com>
10871
10872 * configure.in (-z relro check): Fix test code to make the variable
10873 truly const.
10874 * configure: Regenerated.
10875
319b9ad4
UD
108762011-07-11 Ulrich Drepper <drepper@gmail.com>
10877
10878 * nscd/nscd.h (struct traced_file): Define.
10879 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10880 elements. Add traced_files.
10881 (inotify_fd): Declare.
10882 (register_traced_file): Declare.
10883 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10884 (inotify_fd): Export.
10885 (resolv_conf_descr): Remove.
10886 (nscd_init): Move inotify descriptor creation to main.
10887 Don't register files for notification here.
10888 (register_traced_file): New function.
10889 (invalidate_cache): Don't use reset_res to determine whether to call
10890 res_init, go through the list of registered files.
10891 (main_loop_poll): The inotify descriptors are now stored in the
10892 structures for the traced files.
10893 (main_loop_epoll): Likewise
10894 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10895 to __nss_disable_nscd.
10896 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10897 for a database anymore. Check the records for all the registered
10898 files instead.
10899 * nss/Makefile (libnss_files-routines): Add files-init.
10900 (libnss_db-routines): Add db-init.
10901 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10902 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10903 * nss/nss_db/db-init.c: New file.
10904 * nss/nss_files/files-init.c: New file.
10905 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10906 __nss_lookup_function.
10907 (__nss_lookup_function): Call nss_load_library.
10908 (nss_load_all_libraries): New function.
10909 (__nss_disable_nscd): Take parameter with callback function for files
10910 to register. Set is_nscd. Load all the DSOs for the NSS modules
10911 used for the cached services.
10912 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10913 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10914 options for features to all the files in nscd.
10915
10916 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10917
23bee3e8
RM
109182011-07-10 Roland McGrath <roland@hack.frob.com>
10919
10920 * csu/elf-init.c (__libc_csu_init): Comment typo.
10921
46a5b7f0
UD
109222011-07-09 Ulrich Drepper <drepper@gmail.com>
10923
10924 * po/pl.po: Update from translation team.
10925 * po/ja.po: Likewise.
10926 * po/ru.po: Likewise.
10927 * po/ko.po: Likewise.
10928 * po/fr.po: Likewise.
10929
d30cf5bb
RM
109302011-07-09 Roland McGrath <roland@hack.frob.com>
10931
113ddea4
RM
10932 * configure.in (.ctors/.dtors header and trailer check):
10933 Use an empirical test on a built program.
10934 * configure: Regenerated.
10935
574920b4
RM
10936 * configure.in (-z relro check): Use an empirical test on a built DSO.
10937 Detect, but do not require, on ia64.
10938 * configure: Regenerated.
10939
d30cf5bb
RM
10940 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10941 Update tests that use readelf to use $READELF instead.
10942 * configure: Regenerated.
10943
8538fdb3
UD
109442011-07-08 Ulrich Drepper <drepper@gmail.com>
10945
10946 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10947 if the result is not used.
10948
04d08991
AJ
109492011-07-05 Andreas Jaeger <aj@suse.de>
10950
10951 [BZ#9696]
10952 * stdlib/tst-strtod.c: Add testcase.
10953
de283087
AD
109542011-07-07 Ulrich Drepper <drepper@gmail.com>
10955
4e5f31c8 10956 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10957 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10958 The latter has a higher limit. Take additional parameter to pass to
10959 the new function.
10960 (__pathconf): Pass file to __statfs_link_max.
10961 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10962 __statfs_link_max.
10963 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10964 __statfs_link_max.
10965
de283087
AD
10966 [BZ #12868]
10967 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10968 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10969 Handle Lustre.
10970 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10971 (__statfs_filesize_max): Likewise.
10972 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10973
c75fa153
AJ
109742011-07-05 Andreas Jaeger <aj@suse.de>
10975
10976 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10977
1a544854
UD
109782011-07-06 Marek Polacek <mpolacek@redhat.com>
10979
10980 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10981 `status' variable.
10982 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10983 Likewise.
10984
6f0eec67
UD
109852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10986
10987 * Makefile (strop-tests): Add strncat.
10988 * string/test-strncat.c: New file.
10989
aae30307
UD
109902011-06-30 Marek Polacek <mpolacek@redhat.com>
10991
10992 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10993
c0cfb5eb
UD
109942011-06-21 Andreas Jaeger <aj@suse.de>
10995
10996 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10997 Copy rule from iconvdata/Makefile.
10998
01636b21
UD
109992011-07-06 Ulrich Drepper <drepper@gmail.com>
11000
11001 [BZ #12922]
11002 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11003 but no long options are defined, just return 'W'.
11004
9895c8bc
UD
110052011-06-22 Marek Polacek <mpolacek@redhat.com>
11006
11007 [BZ #9696]
11008 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11009
5d4cf042
UD
110102011-07-06 Ulrich Drepper <drepper@gmail.com>
11011
11012 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11013 netgroups to read.
960e5535 11014 (innetgr): Likewise.
5d4cf042 11015
751eb97e
RM
110162011-07-05 Roland McGrath <roland@hack.frob.com>
11017
11018 * config.make.in (install_root): Default to $(DESTDIR).
11019
f15f1e45
UD
110202011-07-05 Ulrich Drepper <drepper@gmail.com>
11021
11022 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11023
4e34ac6a
RM
110242011-07-02 Roland McGrath <roland@hack.frob.com>
11025
5e9b6af4
RM
11026 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11027
84f9ea0f
RM
11028 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11029 containing directory rather than embedding absolute directory names.
11030
ea5ee9f7
RM
11031 * scripts/check-local-headers.sh: Rewritten using awk.
11032 Match by word, not by line. Print error messages for matches.
11033 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11034
1b74661a
RM
11035 * Makerules [shlib-lds-flags empty]:
11036 ($(common-objpfx)libc_pic.opts): New target.
11037 ($(common-objpfx)libc_pic.os.clean): New target.
11038 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11039
11040 * config.make.in (OBJCOPY): New variable.
11041 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11042 * configure: Regenerated.
11043
f781ef40
RM
11044 * config.make.in (use-default-link): New variable.
11045 * configure.in (use_default_link): Grok --with-default-link to set it.
11046 * configure: Regenerated.
11047 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11048 (shlib-lds, shlib-lds-flags): Define to empty.
11049
2d4fa81e
RM
11050 * Makerules (shlib-lds): New variable.
11051 (shlib-lds-flags): New variable.
11052 (build-shlib, build-moduile, build-module-asneeded): Use it.
11053 ($(common-objpfx)libc.so): Use $(shlib-lds).
11054 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11055 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11056
31fffa6b
RM
11057 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11058 DT_FLAGS/DT_FLAGS_1 with zero flags.
11059
4e34ac6a
RM
11060 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11061 linker script munging.
11062
fcfc776b
UD
110632011-07-02 Ulrich Drepper <drepper@gmail.com>
11064
11065 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11066 as 128-bit value.
11067 * crypt/sha512.c (sha512_process_block): Perform total addition using
11068 128-bit if possible.
11069 (__sha512_finish_ctx): Likewise.
11070 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11071 as 64-bit value.
11072 * crypt/sha256.c (SWAP64): Define.
11073 (sha256_process_block): Perform total addition using 64-bit if
11074 possible.
11075 (__sha256_finish_ctx): Likewise.
11076
99231d9a
UD
110772011-07-01 Ulrich Drepper <drepper@gmail.com>
11078
11079 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11080 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11081 * nscd/hstcache.c (cache_addhst): Likewise.
11082 * nscd/grpcache.c (cache_addgr): Likewise.
11083 * nscd/aicache.c (addhstaiX): Likewise
11084 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11085
445b4a53
TK
110862011-07-01 Thorsten Kukuk <kukuk@suse.de>
11087
11088 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11090 * nscd/hstcache.c (cache_addhst): Likewise.
11091 * nscd/grpcache.c (cache_addgr): Likewise.
11092 * nscd/aicache.c (addhstaiX): Likewise
11093
6d4d8e8e
AS
110942011-07-01 Andreas Schwab <schwab@redhat.com>
11095
11096 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11097 domain only when needed.
11098
89f654c5
AS
110992011-06-30 Andreas Schwab <schwab@redhat.com>
11100
11101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11102 is always restored.
11103
cf3b23ff
UD
111042011-06-29 Ulrich Drepper <drepper@gmail.com>
11105
11106 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11107 are re-adding the entry.
11108 * nscd/servicescache.c (cache_addserv): Likewise.
11109
751626f9
AJ
111102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11111
11112 * sysdeps/generic/dl-irel.h: fix protection against multiple
11113 inclusions.
11114 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11115
9113ea1f
UD
111162011-06-28 Ulrich Drepper <drepper@gmail.com>
11117
5c0b8d90
UD
11118 [BZ #12935]
11119 * malloc/memusage.sh: Fix quoting in message.
11120 * debug/xtrace.sh: Likewise.
11121
9113ea1f
UD
11122 * configure.in: Remove support for --experimental-malloc option, make
11123 it the default.
11124 * config.make.in: Likewise.
11125 * malloc/Makefile: Likewise.
11126
a4172181
AS
111272011-06-27 Andreas Schwab <schwab@redhat.com>
11128
11129 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11130 two-byte characters.
11131
78a7eee7
RM
111322011-06-27 Roland McGrath <roland@hack.frob.com>
11133
62bede13
RM
11134 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11135 AC_CACHE_CHECK invocation.
11136 * configure: Regenerated.
11137
78a7eee7
RM
11138 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11139
5ce33a62
UD
111402011-06-27 Ulrich Drepper <drepper@gmail.com>
11141
034807a9
UD
11142 [BZ #12350]
11143 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11144 bit from old_res_options.
11145
4902da17
UD
11146 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11147
5ce33a62
UD
11148 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11149 value type for setfct.
11150
c2344f56
L
111512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11152
11153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11154 __gettimeofday instead of gettimeofday.
11155
68468076
UD
111562011-06-26 Ulrich Drepper <drepper@gmail.com>
11157
11158 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11159
acb0d739
L
111602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11161
11162 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11163
11164 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11165 info.
11166
8912479f
L
111672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11168
11169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11170 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11171 strcpy-sse2-unaligned strncpy-sse2-unaligned
11172 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11173 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11174 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11175 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11176 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11177 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11179 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11180 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11181 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11182 (STRCPY): Support SSE2 and SSSE3 versions.
11183
d5495a11
UD
111842011-06-24 Ulrich Drepper <drepper@gmail.com>
11185
11186 [BZ #12874]
11187 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11188 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11189 kernels which artificially limit size of requests.
11190
0b1cbaae
L
111912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11192
11193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11194 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11195 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11196 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11197 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11198 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11199 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11200 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11201 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11202 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11203 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11204 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11205 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11206 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11207 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11209 Enable unaligned load optimization for Intel Core i3, i5 and i7
11210 processors.
11211 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11212 Define.
11213 (index_Fast_Unaligned_Load): Define.
11214 (HAS_FAST_UNALIGNED_LOAD): Define.
11215
07f494a0
MP
112162011-06-23 Marek Polacek <mpolacek@redhat.com>
11217
11218 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11219
fa3fc0fe
UD
112202011-06-22 Ulrich Drepper <drepper@gmail.com>
11221
11222 [BZ #12907]
11223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11224 until it is clear that the information is realy needed.
11225 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11226
e12df166
AS
112272011-06-22 Andreas Schwab <schwab@redhat.com>
11228
11229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11230
852eb34d
UD
112312011-06-22 Ulrich Drepper <drepper@gmail.com>
11232
84e2a551
UD
11233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11234 /sys/devices/system/cpu/online if it is usable.
11235
852eb34d
UD
11236 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11237 reading the information from the /proc filesystem to once a second.
11238
6e502e19
UD
112392011-06-21 Andreas Jaeger <aj@suse.de>
11240
11241 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11242 NULL after inclusion of kernel headers.
11243
75d39ff2
UD
112442011-06-21 Ulrich Drepper <drepper@gmail.com>
11245
51f9aa6a
UD
11246 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11247 calls to internal_setent.
11248
c0244a9d
UD
11249 [BZ #12885]
11250 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11251 addresses using gethostbyname4_r ignore IPv4 addresses.
11252
c5e3c2ae
UD
11253 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11254 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11255
75d39ff2
UD
11256 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11257
42675c6f
DM
112582011-06-20 David S. Miller <davem@davemloft.net>
11259
11260 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11261 inclusions.
11262 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11263
11264 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11265 (elf_irel): Use it.
11266 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11267 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11268 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11269 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11270 * sysdeps/x86_64/dl-irel.h: Likewise.
11271
11272 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11273 * elf/dl-sym.c: Likewise.
11274
57912a71
UD
112752011-06-15 Ulrich Drepper <drepper@gmail.com>
11276
11277 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11278 need to dereference resplen2.
11279
ee22793d
AS
112802011-06-14 Andreas Schwab <schwab@redhat.com>
11281
11282 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11283
a9e836b0
UD
112842011-06-15 Ulrich Drepper <drepper@gmail.com>
11285
77fb9117
UD
11286 * Makeconfig: Define vardbdir and inst_vardbdir.
11287 * nss/Makefile: Add rules to install db-Makefile.
11288
40c1b22c
UD
11289 * nss/nss_db/db-XXX.c: Cleanup.
11290
9f2da732
UD
11291 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11292 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11293 GLIBC_PRIVATE.
11294 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11295 * nss/makedb.c: Implement -g option to specify that value strings
11296 are generated and should not be added to table iterated over for
11297 get*ent calls.
11298 * nss/nss_db/db-initgroups.c: New file.
11299
82e9a1f7
UD
11300 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11301 interface.
11302
c41af17e
UD
11303 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11304 (internal_getgrouplist): Adjust to name change.
11305 Update use_initgroups_entry if this is not the first call.
11306 * nss/databases.def: Add initgroups entry.
11307
a9e836b0
UD
11308 * nss/makedb.c (compute_tables): Check result of multiple hash table
11309 sizes to minimize maximum chain length.
11310
2666d441
UD
113112011-06-14 Ulrich Drepper <drepper@gmail.com>
11312
11313 * Versions.def: Add entry for libnss_db.
11314 * shlib-versions: Likewise.
11315 * nss/Makefile: Add rules to build libnss_db.
11316 * nss/Versions: Add libnss_db information. Organize libnss_files
11317 entries better.
11318 * nss/db-Makefile: Add gshadow support. Change rules for the new
11319 makedb progra. Some minor improvements to generate smaller files.
11320 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11321 here from...
11322 * nss/makedb.c: ...here.
11323 Improve database format to be smaller and require less memory at
11324 runtime.
11325 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11326 db anymore.
11327 * nss/nss_db/db-netgrp.c: Likewise.
11328 * nss/nss_db/db-open.c: Likewise.
11329 * nss/nss_files/flies-XXX.x: Adjust comments.
11330 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11331 * nss/nss_files/files-grp.c: Likewise.
11332 * nss/nss_files/files-hosts.c: Likewise.
11333 * nss/nss_files/files-network.c: Likewise.
11334 * nss/nss_files/files-proto.c: Likewise.
11335 * nss/nss_files/files-pwd.c: Likewise.
11336 * nss/nss_files/files-rpc.c: Likewise.
11337 * nss/nss_files/files-service.c: Likewise.
11338 * nss/nss_files/files-sgrp.c: Likewise.
11339 * nss/nss_files/files-spwd.c: Likewise.
11340 * nss/nss_db/db-alias.c: Removed.
11341 * nss/nss_db/dummy-db.h: Removed.
11342
9ee76b5a
UD
113432011-06-02 Ulrich Drepper <drepper@gmail.com>
11344
11345 * nss/makedb.c: Rewritten to not use database library.
11346 * nss/Makefile: Update to build new makedb program.
11347
c71ca1f8
AJ
113482011-06-14 Andreas Jaeger <aj@suse.de>
11349
11350 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11351 memset declaration.
11352
3154bfb8
UD
113532011-06-10 Andreas Schwab <schwab@redhat.com>
11354
11355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11356 tmpbuf.
11357
b350afab
RM
113582011-06-10 Roland McGrath <roland@hack.frob.com>
11359
decd4e50
RM
11360 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11361 * elf/Makefile ($(objpfx)ld.so): Likewise.
11362
5615eaf2
RM
11363 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11364 Don't list ld.so twice in dependencies.
11365
11366 * posix/bug-regex31.c: Include <stdlib.h>.
11367
11368 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11369
11370 * nis/nss_compat/compat-spwd.c
11371 (getspent_next_nss_netgr): Remove unused variable.
11372 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11373
11374 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11375 nonmembers" output to use the right array.
11376
11377 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11378
11379 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11380
11381 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11382 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11383 * catgets/gencat.c (read_input_file): Likewise.
11384 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11385
11386 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11387 variable definition inside #if's controlling its use.
11388
11389 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11390
11391 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11392
11393 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11394
11395 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11396 unreachable code.
11397
11398 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11399
b68e08db
RM
11400 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11401 * configure: Regenerated.
11402
b350afab
RM
11403 * Makerules: Revert last change.
11404 * elf/Makefile: Likewise.
11405
28368601
RM
114062011-06-09 Roland McGrath <roland@hack.frob.com>
11407
11408 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11409 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11410 (reloc-link): Likewise.
11411
11988f8f
UD
114122011-06-09 Ulrich Drepper <drepper@gmail.com>
11413
11414 * elf/Makefile: Add rules to build pldd.
11415 * elf/pldd.c: New file.
11416 * elf/pldd-xx.c: New file.
11417
e80fab37
UD
114182011-06-07 Ulrich Drepper <drepper@gmail.com>
11419
11420 * version.h: Update for 2.15 development version.
11421
9b849836
DM
114222011-06-07 David S. Miller <davem@davemloft.net>
11423
11424 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11425 ifuncs.
11426 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11427 elf_machine_lazy_rel): Likewise.
11428 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11430 elf_machine_lazy_rel): Likewise.
11431 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11432 dl_hwcap via passed in argument.
11433 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11434 Likewise.
11435
5a31b283
AK
114362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11437
11438 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11439
069e52f8
RM
114402011-06-06 Roland McGrath <roland@hack.frob.com>
11441
11442 [BZ #12849]
11443 * manual/fdl-1.1.texi: New file, verbatim from:
11444 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11445 * manual/lgpl-2.1.texi: New file, verbatim from:
11446 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11447 * manual/Makefile (licenses): New variable, list those new file names.
11448 (texis): Use it.
11449 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11450
11451 * manual/fdl.texi: File removed.
11452 * manual/lesser.texi: File removed.
11453 * manual/libc.texinfo (Copying, Documentation License):
11454 Use new @include file names, put @appendix directive before @include.
11455
f16846a5
JJ
114562011-06-04 Jakub Jelinek <jakub@redhat.com>
11457
11458 [BZ #12841]
11459 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11460 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11461 (mq_open): Add __NTH.
11462
3d29045b
L
114632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11464
11465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11466 Assume Intel Core i3/i5/i7 processor if AVX is available.
11467
8c297311
UD
114682011-05-31 Ulrich Drepper <drepper@gmail.com>
11469
11470 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11471 typo.
11472
c8fc0c91
UD
114732011-05-31 Andreas Schwab <schwab@redhat.com>
11474
11475 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11476 memory. Use alloca_account. Fix memory leak when retrying.
11477
5b27a807
UD
114782011-05-31 Ulrich Drepper <drepper@gmail.com>
11479
356f8bc6
UD
11480 * version.h (RELEASE): Bump for 2.14 release.
11481 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11482
5b27a807
UD
11483 * config.make.in (RANLIB): Remove entry.
11484
01f16ab0
UD
114852011-05-30 Ulrich Drepper <drepper@gmail.com>
11486
41fce8bd
UD
11487 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11488 (libc.pot): Work around missing support for .ksh extension in xgettext.
11489
4769ae77
UD
11490 [BZ #12684]
11491 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11492 if both request failed.
11493 (send_dg): In case of server errors clear resplen or *resplen2.
11494
6b1e7d19
UD
11495 [BZ #12454]
11496 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11497 when there are multiple maps.
11498 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11499 (_dl_fini): Remove test here.
11500
01f16ab0
UD
11501 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11502
b1ebd700
UD
115032011-05-29 Ulrich Drepper <drepper@gmail.com>
11504
7ae22829
UD
11505 [BZ #12350]
11506 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11507 bit from old_res_options.
11508 (gaih_inet): Likewise.
11509
553149f6 11510 [BZ #11099]
18a84741 11511 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11512 as signed.
11513
652ffab1
UD
11514 * resolv/res_init.c (res_setoptions): Make the code more compact.
11515
16985fd0
UD
11516 [BZ #11558]
11517 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11518 set RES_USEVC.
11519
0464f746
UD
11520 [BZ #11634]
11521 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11522
7d17596c
UD
11523 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11524
cf6bbbd7
UD
11525 [BZ #11781]
11526 * malloc/malloc.h: Declare malloc hook variables as volatile.
11527
13f1ab36
UD
11528 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11529 in last patch.
11530
b1ebd700
UD
11531 [BZ #11799]
11532 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11533 raise in the comment.
80e2212d
UD
11534 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11535 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11536 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11537
ce67228d
UD
115382011-05-28 Ulrich Drepper <drepper@gmail.com>
11539
8887a920
UD
11540 [BZ #12811]
11541 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11542 grow the buffers more if it already has to be sufficient.
11543 (build_wcs_upper_buffer): Likewise.
11544 * posix/regexec.c (check_matching): Likewise.
11545 (clean_state_log_if_needed): Likewise.
11546 (extend_buffers): Don't enlarge buffers beyond size of the input
11547 buffer.
11548 Patches mostly by Emil Wojak <emil@wojak.eu>.
11549 * posix/bug-regex32.c: New file.
11550 * posix/Makefile (tests): Add bug-regex32.
11551
4f031072
UD
11552 * locale/findlocale.c (_nl_find_locale): Return right away if
11553 _nl_explode_name failed.
11554 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11555
d0478f0c
UD
11556 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11557
de81b246
UD
11558 * debug/xtrace.sh: Unify messages.
11559 * malloc/memusage.sh: Likewise.
11560
c738465a
UD
11561 [BZ #12813]
11562 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11563 time symbol from vDSO. Substitute with vsyscall if not available.
11564 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11565 __vdso_time.
11566
f1f929d7
UD
11567 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11568 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11569 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11570 Add sendmmsg and internal_sendmmsg.
11571 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11572 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11573 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11574
ce67228d
UD
11575 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11576 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11577 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11578
e57420c6
UD
115792011-05-27 Ulrich Drepper <drepper@gmail.com>
11580
a8509ca5
UD
11581 [BZ #12813]
11582 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11583 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11584 available.
11585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11586 __vdso_getcpu.
11587
e57420c6
UD
11588 [BZ #12814]
11589 * iconvdata/Makefile (tests): Add bug-iconv9.
11590 * iconvdata/bug-iconv9.c: New file.
11591
4d07db15
AS
115922011-05-27 Andreas Schwab <schwab@redhat.com>
11593
11594 [BZ #12814]
11595 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11596
ea486f69
JJ
115972011-05-25 Jakub Jelinek <jakub@redhat.com>
11598
11599 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11600 (struct user_regs_struct): Change intcs field back to cs.
11601
6f038433
UD
116022011-05-25 Ulrich Drepper <drepper@gmail.com>
11603
11604 * po/ja.po: Update from translation team.
11605
67f86a25
UD
116062011-05-23 Ulrich Drepper <drepper@gmail.com>
11607
11608 [BZ #12795]
11609 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11610 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11611
def7fbd6
AS
116122011-05-20 Andreas Schwab <schwab@redhat.com>
11613
11614 * stdlib/longlong.h: Update from GCC.
11615
f50ef8f1
AS
116162011-05-23 Andreas Schwab <schwab@redhat.com>
11617
11618 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11619 parameter name.
11620 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11621 Add parameter name.
11622 (__sysconf): Pass it down.
11623
de7ce8f1
UD
116242011-05-22 Ulrich Drepper <drepper@gmail.com>
11625
f2962a71
UD
11626 [BZ #12671]
11627 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11628 some situations.
11629 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11630 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11631 add in in __libc_use_alloca calls. Adjust callers.
11632 (glob): Use malloc in some situations.
11633
de7ce8f1
UD
11634 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11635 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11636 pltexit.
11637
aec84f53
UD
116382011-05-21 Ulrich Drepper <drepper@gmail.com>
11639
05bb4a68
UD
11640 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11641 and CLOCK_BOOTTIME_ALARM.
11642
7ea72f99
UD
11643 [BZ #12782]
11644 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11645 is returned.
11646
7e4afad5
UD
11647 * string/_strerror.c (__strerror_r): Print negative errors as signed
11648 numbers.
11649
8e211fec
UD
11650 [BZ #12777]
11651 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11652 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11653 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11654
f7d82dc9
UD
11655 * configure.in: Fix typo in redirection and correct removal of test
11656 files in two cases.
11657
cc9e536d
UD
11658 [BZ #12788]
11659 * locale/setlocale.c (new_composite_name): Fix test to check for
11660 identical name of all categories.
11661
aec84f53
UD
11662 [BZ #12792]
11663 * libio/filedoalloc.c (local_isatty): New function.
11664 (_IO_file_doallocate): Use local_isatty.
11665 * stdio-common/perror.c (perror): In case a new stream is used
11666 forward the stream error.
11667 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11668 error flag.
11669
78e64fdc
RT
116702011-05-20 Ulrich Drepper <drepper@gmail.com>
11671
34a9094f
UD
11672 [BZ #11869]
11673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11674 alloca.
11675 * include/alloca.h (extend_alloca_account): Define.
11676
78e64fdc
RT
11677 [BZ #11857]
11678 * posix/regex.h: Fix comments with documentation of user-accessible
11679 fields after compilation and describe correct free'ing of pattern
11680 after re_compile_pattern.
11681 Patch by Reuben Thomas <rrt@sc3d.org>.
11682
457bddfc
RA
116832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11684
11685 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11686 and -mno-altivec to prevent the compiler from using Altivec and/or
11687 VSX instructions when the corresponding registers are not available.
11688
a4527b51
AS
116892011-05-19 Andreas Schwab <schwab@redhat.com>
11690
11691 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11692
ed690b2f
UD
116932011-05-19 Ulrich Drepper <drepper@gmail.com>
11694
11695 * libio/freopen.c (freopen): Use __dup2, not dup2.
11696 * libio/freopen64.c (freopen64): Likewise.
11697
8db73634
L
116982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 [BZ #12775]
11701 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11702 * math/Makefile (tests): Add test-powl.
11703 (CFLAGS-test-powl.c): Define.
11704 * math/test-powl.c: New file.
11705
0a197a9d
L
117062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11707
11708 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11709
ee30c380
UD
117102011-05-17 Ulrich Drepper <drepper@gmail.com>
11711
11712 [BZ #11837]
11713 * iconvdata/gb18030.c: Update to GB18020-2005.
11714
6ce75379
UD
117152011-05-16 Ulrich Drepper <drepper@gmail.com>
11716
a4b89fd8
AR
11717 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11718 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11719 Patch by Aharon Robbins <arnold@skeeve.com>.
11720
ea389b12
UD
11721 [BZ #11892]
11722 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11723 on the stack.
11724
68a3f91f
UD
11725 [BZ #11895]
11726 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11727 through underflows.
11728
15cc7dd1
UD
11729 [BZ #12766]
11730 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11731 point to strings before performing equality test for error_one_per_line
11732 mode.
11733
f3799213
UD
11734 [BZ #11697]
11735 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11736
d79a9c94
UD
11737 [BZ #11820]
11738 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11739 (struct user_fpregs_struct): Avoid __uint*_t types.
11740
56e5eb46
UD
11741 [BZ #6420]
11742 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11743 symbol info. Use it instead of calling _dl_addr locally.
11744 (lock_and_info): New function.
11745 (tr_freehook): Call lock_and_info and pass symbol info as additional
11746 parameter to tr_where.
11747 (tr_mallochook): Likewise.
11748 (tr_reallochook): Likewise.
11749 (tr_memalignhook): Likewise.
11750
6ce75379
UD
11751 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11752 used and couldn't be at all thread-safe.
11753
f8a3b5bf
UD
117542011-05-15 Ulrich Drepper <drepper@gmail.com>
11755
94b7cc37
UD
11756 * libio/freopen.c (freopen): Don't close old file descriptor
11757 before the new one is opened. Instead dup the new file descriptor
11758 to the old one after the new stream is created.
11759 * libio/freopen64.c (freopen64): Likewise.
11760 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11761 * libio/fileops.c (_IO_new_file_close_it): Handle new
11762 _IO_FLAGS2_NOCLOSE flag.
11763 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11764 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11765 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11766 _IO_FLAGS2_NOCLOSE flag.
11767 * include/unistd.h: Add hidden_proto for dup3.
11768 Define __have_dup3.
11769 * io/dup3.c: Define hidden symbol.
11770 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11771
bd25564e
UD
11772 [BZ #7101]
11773 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11774 when an incomplete long option is used.
11775 * posix/tst-getopt_long1.c: New file.
11776 * posix/Makefile (tests): Add tst-getopt_long1.
11777
c84cfef4
UD
11778 [BZ #10138]
11779 * scripts/config.guess: Update from autoconf-2.68.
11780 * scripts/config.sub: Likewise.
11781
3b85df27
UD
11782 [BZ #10157]
11783 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11784 tests into ...
11785 (has_cpuclock): ...this. New function.
11786 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11787 macro here based on has_cpuclock code.
11788
15a856b1
UD
11789 [BZ #10149]
11790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11791 First byte (not low byte) is now always NUL.
11792 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11793
05f399e6
UD
11794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11795 Use non-cancelable interfaces.
11796
10a52685 11797 [BZ #9809]
94ecc67d
UD
11798 * locale/iso-639.def: Add entry for Sorani.
11799
f8a3b5bf
UD
11800 [BZ #11901]
11801 * include/stdlib.h: Move include protection to the right place.
11802 Define abort_msg_s. Declare __abort_msg with it.
11803 * stdlib/abort.c (__abort_msg): Adjust type.
11804 * assert/assert.c (__assert_fail_base): New function. Majority
11805 of code from __assert_fail. Allocate memory for __abort_msg with
11806 mmap.
11807 (__assert_fail): Now call __assert_fail_base.
11808 * assert/assert-perr.c: Remove bulk of implementation. Use
11809 __assert_fail_base.
11810 * include/assert.hL Declare __assert_fail_base.
11811 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11812 mmap.
11813 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11814
1af4e298
UD
118152011-05-14 Ulrich Drepper <drepper@gmail.com>
11816
f8a3b5bf 11817 [BZ #11952]
d26dfc60
MG
11818 [BZ #12453]
11819 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11820 until all modules are registered in the DTV.
11821 * elf/Makefile: Add rules to build and run tst-tls19.
11822 * elf/tst-tls19.c: New file.
11823 * elf/tst-tls19mod1.c: New file.
11824 * elf/tst-tls19mod2.c: New file.
11825 * elf/tst-tls19mod3.c: New file.
11826 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11827
2fc54d6f
UD
11828 [BZ #12083]
11829 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11830 correctly.
11831
98d76b46
UD
11832 [BZ #12601]
11833 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11834 two-byte sequence errors.
11835 * iconvdata/Makefile (tests): Add bug-iconv8.
11836 * iconvdata/bug-iconv8.c: New file.
11837
da3c19ef
UD
11838 [BZ #12626]
11839 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11840 buf2 definition.
11841
ca408c15
UD
11842 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11843
d6f67f7d
UD
11844 [BZ #12432]
11845 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11846 (dummy_getcfa): New function.
11847 (init): Get _Unwind_GetCFA address, use dummy if not found.
11848 (backtrace_helper): In recursion check, also check whether CFA changes.
11849 (__backtrace): Completely initialize arg.
11850
1af4e298 11851 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11852 storing incomplete byte sequence in state object. Avoid testing for
11853 guaranteed too small input if we know there is enough data available.
1af4e298 11854
da62f81b
AS
118552011-05-11 Andreas Schwab <schwab@redhat.com>
11856
11857 * Makeconfig (+link-pie): Indent.
11858 * Rules (binaries-pie): Define if $(have-fpie) and
11859 $(build-shared).
11860 (binaries-shared): Also filter out $(binaries-pie).
11861 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11862 * nscd/Makefile (others-pie): Add nscd.
11863 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11864 ($(objpfx)nscd): Remove command override.
11865 * login/Makefile (others-pie): Add pt_chown.
11866 ($(objpfx)pt_chown): Remove command override.
11867 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11868 remove command overrides.
11869
fcabc0f8
UD
118702011-05-13 Ulrich Drepper <drepper@gmail.com>
11871
20030ae6
UD
11872 * libio/tst_putwc.c: Fix error messages.
11873
fcabc0f8
UD
11874 [BZ #12724]
11875 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11876 currently writing and seek to current position when not.
11877 * libio/Makefile (tests): Add bug-fclose1.
11878 * libio/bug-fclose1.c: New file.
11879
320a5dc0
PB
118802011-05-12 Ulrich Drepper <drepper@gmail.com>
11881
11882 [BZ #12511]
11883 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11884 don't set DF_1_NODELETE here.
11885 (do_lookup_x): When entering new entry test for copy relocation
11886 and if necessary set DF_1_NODELETE flag.
11887 * elf/tst-unique4.cc: New file.
11888 * elf/tst-unique4.h: New file.
11889 * elf/tst-unique4lib.cc: New file.
11890 * elf/Makefile: Add rules to build and run tst-unique4.
11891 Patch by Piotr Bury <pbury@goahead.com>.
11892
22836f52
UD
118932011-05-11 Ulrich Drepper <drepper@gmail.com>
11894
f574184a
UD
11895 [BZ #12052]
11896 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11897
e1fb097f
UD
11898 [BZ #12625]
11899 * misc/mntent_r.c (addmntent): Flush the stream after the output
11900
22836f52
UD
11901 [BZ #12393]
11902 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11903 (is_trusted_path_normalize): Skip initial colon. Append slash
11904 to empty buffer. Duplicate is_trusted_path code but allow
11905 constructed patch to be prefix.
11906 (is_dst): Allow $ORIGIN followed by /.
11907 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11908 Correct testing of result of is_trusted_path_normalize
11909 (decompose_rpath): Fix warning.
11910
7b3b0b2a
UD
119112011-05-10 Ulrich Drepper <drepper@gmail.com>
11912
11913 [BZ #11257]
11914 * grp/initgroups.c (internal_getgrouplist): When we found the service
11915 list through the initgroups entry in nsswitch.conf do not always
11916 continue on a successful lookup. Don't always use the
eac80ce2 11917 __nss_group_database value if it is set.
7b3b0b2a
UD
11918 * nss/nsswitch.conf (initgroups): Change action for successful db
11919 lookup to continue for compatibility.
11920
2a81eaa5
UD
119212011-05-09 Ulrich Drepper <drepper@gmail.com>
11922
be97a69e
UD
11923 [BZ #11532]
11924 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11925 and CP774 modules.
11926 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11927 and CP774 modules.
11928 * iconvdata/tst-tables.sh: Likewise.
11929 * iconvdata/cp770.c: New file.
11930 * iconvdata/cp771.c: New file.
11931 * iconvdata/cp772.c: New file.
11932 * iconvdata/cp773.c: New file.
11933 * iconvdata/cp774.c: New file.
11934 * iconvdata/testdata/CP770: New file.
11935 * iconvdata/testdata/CP770..UTF8: New file.
11936 * iconvdata/testdata/CP771: New file.
11937 * iconvdata/testdata/CP771..UTF8: New file.
11938 * iconvdata/testdata/CP772: New file.
11939 * iconvdata/testdata/CP772..UTF8: New file.
11940 * iconvdata/testdata/CP773: New file.
11941 * iconvdata/testdata/CP773..UTF8: New file.
11942 * iconvdata/testdata/CP774: New file.
11943 * iconvdata/testdata/CP774..UTF8: New file.
11944
11945 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11946 END CHARMAP line.
11947 * iconvdata/gen-8bit-gap.sh: Likewise.
11948 * iconvdata/gen-8bit.sh: Likewise.
11949
c1e9e399
UD
11950 * locale/iso-639.def: Add ary entry.
11951
24c55fb3 11952 [BZ #11258]
96b4b1b0
UD
11953 * locale/C-translit.h.in: Add U20A1 transliteration.
11954
bdc2f971
KB
11955 [BZ #12178]
11956 * locale/iso-639.def: Add wae entry.
11957 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11958
2952b117
UD
11959 [BZ #12545]
11960 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11961 for n.
11962
2a81eaa5
UD
11963 [BZ #12711]
11964 * locale/C-translit.h.in: Add entry for U20B9.
11965 Patch by pravin.d.s@gmail.com.
11966
28377d1b
UD
119672011-05-08 Ulrich Drepper <drepper@gmail.com>
11968
7fb90fb8
UD
11969 [BZ #12713]
11970 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11971 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11972 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11973 in rtld. Use *stat64.
7fb90fb8 11974 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11975 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11976 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11977 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11978 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11979 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11980 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11981 __fstatat64 macros.
7fb90fb8
UD
11982 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11983 * dirent/rewinddir.c: Add libc_hidden_def.
11984 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11985 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11986
28377d1b
UD
11987 * include/dirent.h (__alloc_dir): Add flags parameter.
11988 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11989 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11990 __alloc_dir.
11991 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11992 from fdopendir if O_CLOEXEC is already set.
11993
66bdbaa4
AM
119942011-03-15 Alan Modra <amodra@gmail.com>
11995
11996 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11997 l_tls_firstbyte_offset non-zero. Save padding offset in
11998 l_tls_firstbyte_offset for later use.
11999 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12000 freeing static tls block.
12001
95721191
JN
120022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12003
12004 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12005 where #ifdef was intended. The intent is to prevent ARG_MAX from
12006 being defined by the kernel headers.
12007
f87dfb1f
UD
120082011-05-07 Ulrich Drepper <drepper@gmail.com>
12009
12010 [BZ #12734]
12011 * resolv/resolv.h: Define RES_NOTLDQUERY.
12012 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12013 no-tld-query and set RES_NOTLDQUERY.
12014 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12015 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12016 modern BIND to search name as TLD unless forbidden.
12017
47c3cd7a
UD
120182011-05-07 Petr Baudis <pasky@suse.cz>
12019 Ulrich Drepper <drepper@gmail.com>
12020
12021 [BZ #12393]
12022 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12023 (is_trusted_path): ...to here.
c1e9ea35 12024 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12025 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12026 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12027
8a35c912
PP
120282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12029
12030 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12031 __BEGIN/__END_DECLS.
12032
acd41f47
UD
120332011-05-06 Ulrich Drepper <drepper@gmail.com>
12034
12035 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12036 NSS_STATUS_NOTFOUND if no record was found.
12037
597df647
AS
120382011-05-05 Andreas Schwab <schwab@redhat.com>
12039
12040 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12041 (headers-not-in-tirpc): Remove rpc/netdb.h
12042 * resolv/netdb.h: Revert last change.
12043
b9af1301
PP
120442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12045
12046 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12047 circular dependency between libgcc.a and libc.a.
12048
4e34d5f5
AS
120492011-05-05 Andreas Schwab <schwab@redhat.com>
12050
12051 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12052 * nis/Makefile: Don't install rpcsvc/*.
12053 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12054 instead of <rpc/types.h>.
12055 (MAXHOSTNAMELEN): Define.
12056
00ee369c
AS
120572011-05-03 Andreas Schwab <schwab@redhat.com>
12058
12059 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12060
0b592a30
MB
120612011-04-28 Maciej Babinski <mbabinski@google.com>
12062
12063 [BZ #12714]
12064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12065 gethostbyname4_r when IPv6 results are possible.
12066
6e04cbbe
UD
120672011-05-02 Ulrich Drepper <drepper@gmail.com>
12068
12069 [BZ #12723]
12070 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12071 _PC_PIPE_BUF handling.
12072
e4ecafe0
BH
120732011-04-30 Bruno Haible <bruno@clisp.org>
12074
12075 [BZ #12717]
12076 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12077 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12078 to 'int'.
12079 * inet/getnameinfo.c (getnameinfo): Likewise.
12080
125ee683
UD
120812011-04-29 Ulrich Drepper <drepper@gmail.com>
12082
12083 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12084 to groups setting in database lookup.
12085 * nss/nsswitch.conf: Add initgroups entry.
12086
b722481a
EB
120872011-04-22 Ulrich Drepper <drepper@gmail.com>
12088
12089 [BZ #12685]
12090 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12091 mode string.
12092 Patch by Eric Blake <eblake@redhat.com>.
12093
4df46dbd
L
120942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12095
12096 * sunrpc/Makefile (need-export-routines): Add svc_run.
12097 (routines): Remove svc_run.
12098 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12099 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12100 * sunrpc/svc_run.c (svc_run): Likewise.
12101 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12102
e84142d2
UD
121032011-04-21 Ulrich Drepper <drepper@gmail.com>
12104
12105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12106 problem in reallocation in last patch.
12107
877175d8
UD
121082011-04-20 Ulrich Drepper <drepper@gmail.com>
12109
12110 * sunrpc/Makefile: Move inclusion of Rules.
12111
ab8eed78
UD
121122011-04-19 Ulrich Drepper <drepper@gmail.com>
12113
12114 * nss/nss_files/files-initgroups.c: New file.
12115 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12116 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12117 _nss_files_initgroups_dyn.
12118
e3d8f584
RS
121192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12120
12121 * elf/elf.h (R_ARM_IRELATIVE): Define.
12122
af190f45
UD
121232011-04-19 Ulrich Drepper <drepper@gmail.com>
12124
12125 * po/ru.po: Update from translation team.
12126
53cf59ef
UD
121272011-04-17 Ulrich Drepper <drepper@gmail.com>
12128
12129 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12130 dependencies.
12131
4c559bcd
MF
121322011-02-06 Mike Frysinger <vapier@gentoo.org>
12133
12134 [BZ #12653]
12135 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12136 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12137 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12139 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12140
4420675c
AS
121412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12142
12143 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12144 differing bytes.
12145 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12146 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12147 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12148
75ea32ab
UD
121492011-04-17 Ulrich Drepper <drepper@gmail.com>
12150
12151 [BZ #12420]
12152 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12153 storing it.
12154 * stdlib/bug-getcontext.c: New file.
12155 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12156
27390476
AK
121572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12158
12159 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12160 instructions into .machine "z9-109".
12161 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12162 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12163
10442705
AK
121642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12165
12166 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12167 between environment variables and auxiliary vector.
12168
7b57bfe5
UD
121692011-04-16 Ulrich Drepper <drepper@gmail.com>
12170
12171 * Makefile: Add rules to build linkobj/libc.so.
12172 * include/libc-symbols.h: Define libc_hidden_nolink.
12173 * include/rpc/auth.h: Mark functions which are to be hidden.
12174 * include/rpc/auth_des.h: Likewise.
12175 * include/rpc/auth_unix.h: Likewise.
12176 * include/rpc/clnt.h: Likewise.
12177 * include/rpc/des_crypt.h: Likewise.
12178 * include/rpc/key_prot.h: Likewise.
12179 * include/rpc/pmap_clnt.h: Likewise.
12180 * include/rpc/pmap_prot.h: Likewise.
12181 * include/rpc/pmap_rmt.h: Likewise.
12182 * include/rpc/rpc_msg.h: Likewise.
12183 * include/rpc/svc.h: Likewise.
12184 * include/rpc/svc_auth.h: Likewise.
12185 * include/rpc/xdr.h: Likewise.
12186 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12187 * nss/Makefile: Likewise.
12188 * sunrpc/Makefile: Don't install headers. Build library with normal
12189 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12190 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12191 for the compat linking library. Remove use of INTDEF/INTUSE.
12192 * sunrpc/auth_none.c: Likewise.
12193 * sunrpc/auth_unix.c: Likewise.
12194 * sunrpc/authdes_prot.c: Likewise.
12195 * sunrpc/authuxprot.c: Likewise.
12196 * sunrpc/clnt_gen.c: Likewise.
12197 * sunrpc/clnt_perr.c: Likewise.
12198 * sunrpc/clnt_raw.c: Likewise.
12199 * sunrpc/clnt_simp.c: Likewise.
12200 * sunrpc/clnt_tcp.c: Likewise.
12201 * sunrpc/clnt_udp.c: Likewise.
12202 * sunrpc/clnt_unix.c: Likewise.
12203 * sunrpc/des_crypt.c: Likewise.
12204 * sunrpc/des_soft.c: Likewise.
12205 * sunrpc/get_myaddr.c: Likewise.
12206 * sunrpc/key_call.c: Likewise.
12207 * sunrpc/key_prot.c: Likewise.
12208 * sunrpc/netname.c: Likewise.
12209 * sunrpc/pm_getmaps.c: Likewise.
12210 * sunrpc/pm_getport.c: Likewise.
12211 * sunrpc/pmap_clnt.c: Likewise.
12212 * sunrpc/pmap_prot.c: Likewise.
12213 * sunrpc/pmap_prot2.c: Likewise.
12214 * sunrpc/pmap_rmt.c: Likewise.
12215 * sunrpc/publickey.c: Likewise.
12216 * sunrpc/rpc_cmsg.c: Likewise.
12217 * sunrpc/rpc_common.c: Likewise.
12218 * sunrpc/rpc_dtable.c: Likewise.
12219 * sunrpc/rpc_prot.c: Likewise.
12220 * sunrpc/rpc_thread.c: Likewise.
12221 * sunrpc/rtime.c: Likewise.
12222 * sunrpc/svc.c: Likewise.
12223 * sunrpc/svc_auth.c: Likewise.
12224 * sunrpc/svc_authux.c: Likewise.
12225 * sunrpc/svc_raw.c: Likewise.
12226 * sunrpc/svc_run.c: Likewise.
12227 * sunrpc/svc_simple.c: Likewise.
12228 * sunrpc/svc_tcp.c: Likewise.
12229 * sunrpc/svc_udp.c: Likewise.
12230 * sunrpc/svc_unix.c: Likewise.
12231 * sunrpc/svcauth_des.c: Likewise.
12232 * sunrpc/xcrypt.c: Likewise.
12233 * sunrpc/xdr.c: Likewise.
12234 * sunrpc/xdr_array.c: Likewise.
12235 * sunrpc/xdr_float.c: Likewise.
12236 * sunrpc/xdr_intXX_t.c: Likewise.
12237 * sunrpc/xdr_mem.c: Likewise.
12238 * sunrpc/xdr_rec.c: Likewise.
12239 * sunrpc/xdr_ref.c: Likewise.
12240 * sunrpc/xdr_sizeof.c: Likewise.
12241 * sunrpc/xdr_stdio.c: Likewise.
12242
e6c61494
UD
122432011-04-10 Ulrich Drepper <drepper@gmail.com>
12244
12245 [BZ #12650]
12246 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12247 * sysdeps/ia64/dl-tls.h: Likewise.
12248 * sysdeps/powerpc/dl-tls.h: Likewise.
12249 * sysdeps/s390/dl-tls.h: Likewise.
12250 * sysdeps/sh/dl-tls.h: Likewise.
12251 * sysdeps/sparc/dl-tls.h: Likewise.
12252 * sysdeps/x86_64/dl-tls.h: Likewise.
12253 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12254
34fe483e
AS
122552011-03-14 Andreas Schwab <schwab@redhat.com>
12256
12257 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12258 rpath element also skip the following colon.
12259 (expand_dynamic_string_token): Add is_path parameter and pass
12260 down to DL_DST_REQUIRED and _dl_dst_substitute.
12261 (decompose_rpath): Call expand_dynamic_string_token with
12262 non-zero is_path. Ignore empty rpaths.
12263 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12264 with zero is_path.
12265
f12a32e6
AS
122662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12267
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12269 Make cancelable.
12270
38a7d692
UD
122712011-04-09 Ulrich Drepper <drepper@gmail.com>
12272
12273 [BZ #12655]
12274 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12275 Patch by Filipe David Manana <fdmanana@apache.org>.
12276
e451d22b
AS
122772011-04-07 Andreas Schwab <schwab@redhat.com>
12278
12279 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12280 Maintain aligned stack.
12281 (CHECK_RSP): Remove unused macro.
12282
dedc7c7b
UD
122832011-04-03 Ulrich Drepper <drepper@gmail.com>
12284
12285 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12286 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12287
94521213
UD
122882011-04-02 Ulrich Drepper <drepper@gmail.com>
12289
12290 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12291
8cb700c0 12292 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12293
0354e355
L
122942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12295
12296 [BZ #12518]
12297 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12298 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12299 * sysdeps/x86_64/memmove.c: New file.
12300 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12301 (memcpy): Renamed to ...
12302 (__new_memcpy): This.
12303 (memcpy): Provide GLIBC_2_14 memcpy.
12304 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12305 (memcpy): Provide GLIBC_2_2_5 memcpy.
12306
8593482f
UD
123072011-04-01 Ulrich Drepper <drepper@gmail.com>
12308
12309 [BZ #12631]
12310 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12311
81a5726b
AS
123122011-03-30 Andreas Schwab <schwab@redhat.com>
12313
12314 * misc/syncfs.c: New file.
12315 * misc/Makefile (routines): Add syncfs.
12316 * posix/unistd.h: Declare syncfs.
12317 * sysdeps/unix/syscalls.list: Add syncfs.
12318
00e5419f
AS
123192011-04-01 Andreas Schwab <schwab@redhat.com>
12320
12321 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12322 open_by_handle_at.
12323 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12328 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12330
748876bf
UD
123312011-04-01 Ulrich Drepper <drepper@gmail.com>
12332
658e451d
UD
12333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12334 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12335 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12336 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12337 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12339 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12340
748876bf
UD
12341 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12342 sync_file_range.c with -fexceptions.
12343 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12344 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12345 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12346 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12347 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12348 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12350 sync_file_range as cancellation point
12351 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12352 now a wrapper around __call_sync_file_range with cancellation handling.
12353 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12354 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12355 function name to __call_sync_file_range.
12356 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12357 Add call_sync_file_range.
748876bf 12358
6e63d5e1
AS
123592011-04-01 Andreas Schwab <schwab@redhat.com>
12360
12361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12362 bits/timex.h.
6e63d5e1 12363
46998f74
UD
123642011-04-01 Ulrich Drepper <drepper@gmail.com>
12365
4c1423ed
UD
12366 * iconv/iconv.h: Fix typo in comment.
12367 * io/fcntl.h: Likewise.
12368 * libio/stdio.h: Likewise.
12369 * posix/spawn.h: Likewise.
12370 * posix/unistd.h: Likewise.
12371 * stdlib/stdlib.h: Likewise.
12372 * time/time.h: Likewise.
12373 * wcsmbs/wchar.h: Likewise.
12374
158648c0
UD
12375 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12376 open_by_handle): Add.
12377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12378 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12379 Augment a few comments.
12380 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12382 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12384 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12385 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12386 open_by_handle.
12387
46998f74
UD
12388 * io/fcntl.h (AT_EMPTY_PATH): Define.
12389
83fe108b
UD
123902011-03-30 Ulrich Drepper <drepper@gmail.com>
12391
12392 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12393 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12394 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12395 to...
12396 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12397 * Versions.def: Add GLIBC_2.14.
12398 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12399 Export.
83fe108b 12400
bb242059
UD
124012011-03-22 Ulrich Drepper <drepper@gmail.com>
12402
12403 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12404 round counter.
12405 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12406
c97a1282
L
124072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 [BZ #12597]
12410 * string/test-strncmp.c (do_page_test): New function.
12411 (check2): Likewise.
12412 (test_main): Call check2.
12413 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12414
2a115601
UD
124152011-03-20 Ulrich Drepper <drepper@gmail.com>
12416
12417 [BZ #12587]
12418 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12419 Handle cache information in CPU leaf 4.
12420 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12421
8126d904
UD
124222011-03-18 Ulrich Drepper <drepper@gmail.com>
12423
042c49c6 12424 [BZ #12583]
8126d904
UD
12425 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12426 character representation.
12427 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12428
ccfe366e
RA
124292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12430
12431 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12432 END(__isnan) to END(__isnanf) to match function entry point/label
12433 EALIGN(__isnanf,...).
12434
c6e13027
JJ
124352011-03-10 Jakub Jelinek <jakub@redhat.com>
12436
12437 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12438
33f85a3f
UD
124392011-03-10 Ulrich Drepper <drepper@gmail.com>
12440
028478fa
UD
12441 [BZ #12510]
12442 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12443 copy from the symbol referenced in the relocation to initialize the
12444 used variable.
12445 Patch by Piotr Bury <pbury@goahead.com>.
12446 * elf/Makefile: Add rules to build and tst-unique3.
12447 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12448 * elf/tst-unique3.cc: New file.
12449 * elf/tst-unique3.h: New file.
12450 * elf/tst-unique3lib.cc: New file.
12451 * elf/tst-unique3lib2.cc: New file.
12452
33f85a3f
UD
12453 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12454
03592fc7
MF
124552011-03-10 Mike Frysinger <vapier@gentoo.org>
12456
12457 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12458 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12459 to _start.
03592fc7 12460
6a5ee102
UD
124612011-03-06 Ulrich Drepper <drepper@gmail.com>
12462
12463 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12464 to-be-loaded object along a path to loader is ld.so.
12465
7e4ba49c
HJ
124662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12467 Ulrich Drepper <drepper@gmail.com>
12468
12469 * sysdeps/x86_64/memset.S: After aligning destination, code
12470 branches to different locations depending on the value of
12471 misalignment, when multiarch is enabled. Fix this.
12472
124732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12474
12475 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12476 Set _x86_64_preferred_memory_instruction for AMD processsors.
12477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12478 Set bit_Prefer_SSE_for_memop for AMD processors.
12479
13a804de
UD
124802011-03-04 Ulrich Drepper <drepper@gmail.com>
12481
12482 * libio/fmemopen.c (fmemopen): Optimize a bit.
12483
9d25c392
AS
124842011-03-03 Andreas Schwab <schwab@redhat.com>
12485
12486 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12487
a5543c6a
RM
124882011-03-03 Roland McGrath <roland@redhat.com>
12489
12490 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12491
012d35f7
DM
124922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12493
7e4ba49c 12494 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12495 __bzero_ultra1 instead of __memset_ultra1.
12496
4bff6e01
AS
124972011-02-23 Andreas Schwab <schwab@redhat.com>
12498 Ulrich Drepper <drepper@gmail.com>
12499
12500 [BZ #12509]
12501 * include/link.h (struct link_map): Add l_orig_initfini.
12502 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12503 returning unsuccessfully.
12504 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12505 close of a file loaded at startup, restore the original l_initfini
12506 list.
12507 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12508 list, store the pointer.
12509 * elf/Makefile ($(objpfx)noload-mem): New rule.
12510 (noload-ENV): Define.
12511 (tests): Add $(objpfx)noload-mem.
12512 * elf/noload.c: Include <memcheck.h>.
12513 (main): Call mtrace. Close all opened handles.
12514
f2092faf
AS
125152011-02-17 Andreas Schwab <schwab@redhat.com>
12516
12517 [BZ #12454]
12518 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12519 dependencies are missing.
12520
6c8a2e88
ST
125212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12522
f2092faf 12523 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12524 Hurd needs munmap.
12525 * sysdeps/mach/hurd/ifreq.h: New file.
12526
84a42118
PB
125272011-01-27 Petr Baudis <pasky@suse.cz>
12528 Ulrich Drepper <drepper@gmail.com>
12529
071f805e 12530 [BZ 12445]#
84a42118
PB
12531 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12532 to extend_alloca().
12533 * stdio-common/bug23.c: New file.
12534 * stdio-common/Makefile (tests): Add bug23.
12535
e23fe25b
AS
125362010-09-28 Andreas Schwab <schwab@redhat.com>
12537 Ulrich Drepper <drepper@gmail.com>
12538
12539 [BZ #12489]
12540 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12541 before performing relro protection. At old place add assertion
12542 to make sure nothing changed.
12543
d3f02e10
NS
125442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12545 Glauber de Oliveira Costa <glommer@gmail.com>
12546
12547 * elf/elf.h: Add new ARM TLS relocs.
12548
d55fd7a5
RA
125492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12550
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12552 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12553 cast from r3.
12554 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12555 'tests' variable.
12556 * sysdeps/wordsize-64/tst-writev.c: New file.
12557
2206397e
RA
125582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12559
12560 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12561 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12562 insns in _dl_start to prevent a TOC reference before relocs are
12563 resolved.
12564
e9433893
UD
125652011-02-15 Ulrich Drepper <drepper@gmail.com>
12566
12567 [BZ #12469]
12568 * Makeconfig: Remove RANLIB definition.
12569 * Makerules: Don't use RANLIB.
12570 * aclocal.m4: Remove ranlib test.
12571 * configure.in: No need to check for ranlib.
12572 * elf/rtld-Rules: Don't use RANLIB.
12573
f75286c6
ST
125742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12575
8e31c82d
ST
12576 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12577 protection macro.
12578 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12579 inclusion protection macro.
12580
f75286c6
ST
12581 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12582 SIGRTMIN and SIGRTMAX and print information in that case only when
12583 SIGRTMIN is defined.
12584
c1d0e639
JJ
125852011-02-11 Jakub Jelinek <jakub@redhat.com>
12586
12587 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12588 arginfo fn returning -1.
12589
12590 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12591 and thousands string is zero terminated.
12592
edf9294e
AS
125932011-02-03 Andreas Schwab <schwab@redhat.com>
12594
12595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12596 sysdeps/unix/sysv/linux/bits/socket.h.
12597
2b7e92df
ST
125982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12599
edf9294e
AS
12600 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12601 (__CPU_COUNT): Remove old macros.
12602 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12603 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12604 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12605 (__sched_cpualloc, __sched_cpufree): Add declarations.
12606
a4c7ea7b
UD
126072011-02-05 Ulrich Drepper <drepper@gmail.com>
12608
12609 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12610 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12611 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12612 (readdhstai): Return value of addhstaiX call.
12613 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12614 (addgrbyX): Return value returned by cache_addgr.
12615 (readdgrbyname): Return value returned by addgrbyX.
12616 (readdgrbygid): Likewise.
12617 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12618 (addpwbyX): Return value returned by cache_addpw.
12619 (readdpwbyname): Return value returned by addhstbyX.
12620 (readdpwbyuid): Likewise.
12621 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12622 (addservbyX): Return value returned by cache_addserv.
12623 (readdservbyname): Return value returned by addservbyX:
12624 (readdservbyport): Likewise.
12625 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12626 (addhstbyX): Return value returned by cache_addhst.
12627 (readdhstbyname): Return value returned by addhstbyX.
12628 (readdhstbyaddr): Likewise.
12629 (readdhstbynamev6): Likewise.
12630 (readdhstbyaddrv6): Likewise.
12631 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12632 (readdinitgroups): Return value returned by addinitgroupsX.
12633 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12634 (prune_cache): Keep track of timeout value of re-added entries.
12635 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12636 * nscd/nscd.h: Adjust prototypes of readd* functions.
12637
a0bf67cc
RM
126382011-02-04 Roland McGrath <roland@redhat.com>
12639
12640 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12641 (nis_stats): Likewise.
12642 * nis/nis_modify.c (nis_modify): Likewise.
12643 * nis/nis_remove.c (nis_remove): Likewise.
12644 * nis/nis_add.c (nis_add): Likewise.
12645
12646 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12647
12648 * posix/fnmatch_loop.c: Add some consts.
12649
12650 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12651
435b95eb
L
126522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12653
12654 [BZ #12460]
12655 * config.make.in (config-cflags-novzeroupper): Define.
12656 * configure.in: Substitute libc_cv_cc_novzeroupper.
12657 * elf/Makefile (AVX-CFLAGS): Define.
12658 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12659 (CFLAGS-tst-auditmod4a.c): Likewise.
12660 (CFLAGS-tst-auditmod4b.c): Likewise.
12661 (CFLAGS-tst-auditmod6b.c): Likewise.
12662 (CFLAGS-tst-auditmod6c.c): Likewise.
12663 (CFLAGS-tst-auditmod7b.c): Likewise.
12664 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12665
8517b15e
UD
126662011-02-02 Ulrich Drepper <drepper@gmail.com>
12667
12668 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12669 function to the callback.
12670 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12671
10a656fe
AS
126722011-02-02 Andreas Schwab <schwab@redhat.com>
12673
12674 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12675 of errno.
12676
968dad0a
UD
126772011-01-19 Ulrich Drepper <drepper@gmail.com>
12678
9f94d2ea 12679 [BZ #11724]
968dad0a
UD
12680 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12681 of constructors.
12682 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12683 of destructors.
12684 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12685
12686 [BZ #11724]
12687 * elf/Makefile: Add rules to build and run new test.
12688 * elf/tst-initorder.c: New file.
12689 * elf/tst-initorder.exp: New file.
12690 * elf/tst-initordera1.c: New file.
12691 * elf/tst-initordera2.c: New file.
12692 * elf/tst-initordera3.c: New file.
12693 * elf/tst-initordera4.c: New file.
12694 * elf/tst-initorderb1.c: New file.
12695 * elf/tst-initorderb2.c: New file.
12696 * elf/tst-order-a1.c: New file.
12697 * elf/tst-order-a2.c: New file.
12698 * elf/tst-order-a3.c: New file.
12699 * elf/tst-order-a4.c: New file.
12700 * elf/tst-order-b1.c: New file.
12701 * elf/tst-order-b2.c: New file.
12702 * elf/tst-order-main.c: New file.
12703 New test case by George Gensure <werkt0@gmail.com>.
12704
86e92359
UD
127052010-10-01 Andreas Schwab <schwab@redhat.com>
12706
12707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12708 decoding ACE if AI_CANONIDN.
12709
5d5732b0
UD
127102011-01-18 Ulrich Drepper <drepper@gmail.com>
12711
12712 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12713
a77e8cbc
UD
127142011-01-17 Ulrich Drepper <drepper@gmail.com>
12715
6392473f
UD
12716 * version.h (RELEASE): Bump for 2.13 release.
12717 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12718
620a0529
UD
12719 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12720
18ba70a5
UD
12721 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12722 MADV_NOHUGEPAGE.
32465c3e
UD
12723 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12724 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12725 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12726 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12727 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12728 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12729
c0dafcf1
UD
12730 * posix/getconf.c: Update copyright year.
12731 * catgets/gencat.c: Likewise.
12732 * csu/version.c: Likewise.
12733 * debug/catchsegv.sh: Likewise.
12734 * debug/xtrace.sh: Likewise.
12735 * elf/ldconfig.c: Likewise.
12736 * elf/ldd.bash.in: Likewise.
12737 * elf/sprof.c (print_version): Likewise.
12738 * iconv/iconv_prog.c: Likewise.
12739 * iconv/iconvconfig.c: Likewise.
12740 * locale/programs/locale.c: Likewise.
12741 * locale/programs/localedef.c: Likewise.
12742 * malloc/memusage.sh: Likewise.
12743 * malloc/mtrace.pl: Likewise.
12744 * nscd/nscd.c (print_version): Likewise.
12745 * nss/getent.c: Likewise.
12746
a77e8cbc
UD
12747 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12748 PF_CAIF, and PF_ALG.
12749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12750
77e8bddf
AS
127512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12752
1f20b93a
AS
12753 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12754 (modules-names): Use them.
12755 (ifunc-test-modules, ifunc-pie-tests): Define.
12756 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12757 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12758 (test-extras): Likewise.
12759 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12760 $(compile-command.c).
12761 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12762 (all-built-dso): Define.
12763 (check-textrel.out, check-execstack.out): Depend on it.
12764
77e8bddf
AS
12765 * configure.in: Don't override --enable-multi-arch.
12766
bc425b33
UD
127672011-01-15 Ulrich Drepper <drepper@gmail.com>
12768
12769 [BZ #6812]
12770 * nscd/hstcache.c (tryagain): Define.
12771 (cache_addhst): Return tryagain not notfound for temporary errors.
12772 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12773 failed.
12774
794c3ad3
UD
127752011-01-14 Ulrich Drepper <drepper@gmail.com>
12776
70181fdd
UD
12777 [BZ #10563]
12778 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12779 to make the syscall.
12780 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12781
794c3ad3
UD
12782 [BZ #12378]
12783 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12784 and fall back to matching as normal character if the string ends before
12785 the matching ']' is found. This is what POSIX requires.
12786 * posix/testfnm.c: Adjust test result.
12787 * posix/globtest.sh: Adjust test result. Add new test.
12788 * posix/tst-fnmatch.input: Likewise.
12789 * posix/tst-fnmatch2.c: Add new test.
12790
68dc9497
AS
127912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12792
12793 * elf/Makefile (check-execstack): Revert last change. Depend on
12794 check-execstack.h.
12795 (check-execstack.h): New target.
12796 (generated): Add check-execstack.h.
12797 * elf/check-execstack.c: Include "check-execstack.h".
12798 (main): Revert last change.
12799 (handle_file): Return zero if GNU_STACK is absent and
12800 DEFAULT_STACK_PERMS doesn't include PF_X.
12801
451f001b
UD
128022011-01-13 Ulrich Drepper <drepper@gmail.com>
12803
cfa28e56
UD
12804 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12805 in child fails because the descriptor is already closed.
8cf8ce17
UD
12806 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12807 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12808 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12809
1086d70d
UD
12810 [BZ #12397]
12811 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12812 syscall.
12813
451f001b
UD
12814 [BZ #10484]
12815 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12816 temporary buffer used to handle multi lookups locally.
a85b5cb4 12817 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12818
08769175
UD
128192011-01-12 Ulrich Drepper <drepper@gmail.com>
12820
12821 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12822 loader is ld.so.
12823
5e49c52e
UD
128242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12825
12826 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12827 alignment for SSE2.
12828
60522a5f
UD
128292011-01-12 Ulrich Drepper <drepper@gmail.com>
12830
12831 [BZ #12394]
12832 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12833 characters. When rounding increased number of integer digits recompute
12834 number of groups.
12835 * stdio-common/tst-grouping.c: New file.
12836 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12837
f257bbd7
UD
128382011-01-09 Ulrich Drepper <drepper@gmail.com>
12839
12840 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12841 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12842
12843 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12844 void.
12845 * bits/select.h: Likewise.
12846
fa9c15cb
UD
128472011-01-08 Ulrich Drepper <drepper@gmail.com>
12848
12849 * po/ja.po: Update from translation team.
12850
16c2895f
DM
128512011-01-04 David S. Miller <davem@sunset.davemloft.net>
12852
12853 [BZ #11155]
12854 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12855 implementation just like for lxstat, fxstatat, et al.
12856
2543fef2
JM
128572010-12-27 Jim Meyering <meyering@redhat.com>
12858
12859 [BZ #12348]
12860 * posix/regexec.c (build_trtable): Return failure indication upon
12861 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12862
98727dbe
UD
128632010-12-25 Ulrich Drepper <drepper@gmail.com>
12864
5bd6dc5c
UD
12865 [BZ #12201]
12866 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12867 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12868 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12869 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12870
97983464
UD
12871 [BZ #12207]
12872 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12873
98727dbe
UD
12874 [BZ #12204]
12875 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12876 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12877
4a531bb0
L
128782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12879
12880 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12881 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12882 script has SORT_BY_INIT_PRIORITY.
12883 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12884 NO_CTORS_DTORS_SECTIONS is defined.
12885 * elf/soinit.c: Likewise.
12886 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12887 NO_CTORS_DTORS_SECTIONS is defined.
12888 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12889 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12890 * sysdeps/sh/init-first.c: Likewise.
12891 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12892
07eb4b71
UD
128932010-12-24 Ulrich Drepper <drepper@gmail.com>
12894
12895 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12896 always use the slow path.
12897
30950a5f
RA
128982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12899
12900 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12901 similar rule which adds the sysdep directories to the header search in
12902 order to pick up the correct platform stackinfo.h.
12903 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12904 perform test if it is, otherwise return successfully without testing.
12905 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12906 DEFAULT_STACK_PERMS define in stackinfo.h.
12907 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12908 defined in stackinfo.h.
12909 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12910 DEFAULT_STACK_PERMS defined in stackinfo.h.
12911 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12912 * sysdeps/ia64/stackinfo.h: Likewise.
12913 * sysdeps/s390/stackinfo.h: Likewise.
12914 * sysdeps/sh/stackinfo.h: Likewise.
12915 * sysdeps/sparc/stackinfo.h: Likewise.
12916 * sysdeps/x86_64/stackinfo.h: Likewise.
12917 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12918 PF_X for powerpc64. Retain PF_X for powerpc32.
12919
db753e2c
UD
129202010-12-19 Ulrich Drepper <drepper@gmail.com>
12921
14b697f7
UD
12922 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12923 accurately.
db753e2c
UD
12924 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12925 GETDENTS_64BIT_ALIGNED.
12926
28300719
UD
129272010-12-14 Ulrich Drepper <dreper@gmail.com>
12928
14b697f7 12929 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12930
4f197237
AS
129312010-12-10 Andreas Schwab <schwab@redhat.com>
12932
dbb0472f
AS
12933 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12934 _GNU_SOURCE.
12935
4f197237
AS
12936 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12937 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12938 Remove __restrict.
12939 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12940 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12941
fb88ac72
UD
129422010-12-09 Ulrich Drepper <drepper@gmail.com>
12943
12944 [BZ #11655]
12945 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12946 are initialized.
12947
42acbb92
JJ
129482010-12-09 Jakub Jelinek <jakub@redhat.com>
12949
12950 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12951
c038d98d
UD
129522010-12-03 Ulrich Drepper <drepper@gmail.com>
12953
12954 * po/it.po: Update from translation team.
12955
3a4a2499
L
129562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12957
12958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12959 unused codes.
12960
1e24cf6e
UD
129612010-11-30 Ulrich Drepper <drepper@gmail.com>
12962
12963 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12964
a7690819
AS
129652010-11-24 Andreas Schwab <schwab@redhat.com>
12966
12967 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12968 specially.
12969 (gaih_getanswer_slice): Likewise.
12970
3bf8d1b1
JJ
129712010-10-20 Jakub Jelinek <jakub@redhat.com>
12972
12973 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12974
6db52fbb
PB
129752010-05-31 Petr Baudis <pasky@suse.cz>
12976
12977 [BZ #11149]
12978 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12979 silently even in the chroot mode.
12980
eaca7569
UD
129812010-11-22 Ulrich Drepper <drepper@gmail.com>
12982
12983 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12984 last patch a bit. Pretty printing
12985
3056dcdb
UD
129862010-05-31 Petr Baudis <pasky@suse.cz>
12987
12988 [BZ #10085]
12989 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12990 initialization of skip_initgroups_dyn.
12991
cf7c9078
UD
129922010-11-19 Ulrich Drepper <drepper@gmail.com>
12993
12994 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12995 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12996
a1fb5e3e
UD
129972010-11-16 Ulrich Drepper <drepper@gmail.com>
12998
12999 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13000
3540d66b
AS
130012010-11-11 Andreas Schwab <schwab@redhat.com>
13002
13003 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13004 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13005 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13006 ($(objpfx)tst-fnmatch-mem): New rule.
13007 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13008 * posix/tst-fnmatch.c (main): Call mtrace.
13009
13b69574
L
130102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13011
13012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13013 Support Intel processor model 6 and model 0x2c.
13014
da93d214
LM
130152010-11-10 Luis Machado <luisgpm@br.ibm.com>
13016
13017 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13018 signed comparison.
13019
8ca52c6e
L
130202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13021
13022 [BZ #12205]
13023 * string/test-strncasecmp.c (check_result): New function.
13024 (do_one_test): Use it.
13025 (check1): New function.
13026 (test_main): Use it.
13027 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13028 Support strcasecmp and strncasecmp.
13029
69da074d
UD
130302010-11-08 Ulrich Drepper <drepper@gmail.com>
13031
13032 [BZ #12194]
13033 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13034 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13035
ff02d528
L
130362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13037
13038 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13039 IFUNC support.
13040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13041 memset-x86-64.
13042 * sysdeps/x86_64/multiarch/bzero.S: New file.
13043 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13044 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13045 * sysdeps/x86_64/multiarch/memset.S: New file.
13046 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13048 Set bit_Prefer_SSE_for_memop for Intel processors.
13049 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13050 Define.
13051 (index_Prefer_SSE_for_memop): Define.
13052 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13053
344d0b54
LM
130542010-11-04 Luis Machado <luisgpm@br.ibm.com>
13055
13056 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13057 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13058
c0dde15b
UD
130592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13060
13061 [BZ #12191]
13062 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13063 (__x86_64_raw_data_cache_size_half): Likewise.
13064 (__x86_64_raw_shared_cache_size): Likewise.
13065 (__x86_64_raw_shared_cache_size_half): Likewise.
13066
13067 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13068 (__x86_64_raw_data_cache_size_half): Likewise.
13069 (__x86_64_raw_shared_cache_size): Likewise.
13070 (__x86_64_raw_shared_cache_size_half): Likewise.
13071 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13072 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13073 and __x86_64_raw_shared_cache_size_half. Round
13074 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13075 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13076 to multiple of 256 bytes.
13077
0e516e0e
MS
130782010-11-03 Ulrich Drepper <drepper@gmail.com>
13079
13080 [BZ #12167]
13081 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13082 of inacessible symlinks. Verify result of symlink before returning it.
13083 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13084 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13085
0e012e87
ER
130862010-10-28 Erich Ritz <erichritz@gmail.com>
13087
13088 * math/math.h (isinf): Fix typo in comment.
13089
de0ff7bc
UD
130902010-11-01 Ulrich Drepper <drepper@gmail.com>
13091
13092 * po/da.po: Update from translation team.
13093
fa41c84d
UD
130942010-10-26 Ulrich Drepper <drepper@gmail.com>
13095
13096 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13097 is added to the list.
13098
f0967738
AK
130992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13100 Ulrich Drepper <drepper@gmail.com>
13101
13102 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13103 the global list here. Move code to...
13104 (_dl_add_to_namespace_list): ...here. New function.
13105 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13106 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13107 * elf/dl-load.c (lose): Don't remove the element from the list.
13108 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13109 (_dl_map_object): Likewise.
13110
131112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13112
13113 [BZ #12159]
13114 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13115 into all bytes of SSE register.
13116 Patch by Richard Li <richardpku@gmail.com>.
13117
f0967738 131182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13119
13120 [BZ #12140]
13121 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13122 perturbing.
13123
d0b9e94f
MB
131242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13125
13126 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13127 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13128 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13129 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13131 submachine.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13133
8e9f92e9
AS
131342010-10-22 Andreas Schwab <schwab@redhat.com>
13135
13136 * include/dlfcn.h (__RTLD_SECURE): Define.
13137 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13138 mode & __RTLD_SECURE instead.
13139 (open_path): Rename preloaded parameter to secure.
13140 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13141 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13142 * elf/dl-deps.c (openaux): Likewise.
13143 * elf/rtld.c (struct map_args): Remove is_preloaded.
13144 (map_doit): Don't use it.
13145 (dl_main): Likewise.
13146 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13147 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13148
bc96fbda
AS
131492010-09-09 Andreas Schwab <schwab@redhat.com>
13150
13151 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13152 (sysd-rules-targets): Remove duplicates.
13153 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13154 rtld-%.$o dependency.
13155
22cd1c9b
AS
131562010-10-18 Andreas Schwab <schwab@redhat.com>
13157
13158 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13159 _dl_map_object do it.
13160
18edac48
UD
131612010-10-19 Ulrich Drepper <drepper@gmail.com>
13162
13163 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13164 fast fma builtins, define the macros in the C99 standard.
13165 (FP_FAST_FMAF): Likewise.
13166 (FP_FAST_FMAL): Likewise.
13167 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13168
13169 * bits/mathdef.h: Update copyright year.
13170 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13171
d2050124
MM
131722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13173
13174 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13175 builtins, define the macros in the C99 standard.
13176 (FP_FAST_FMAF): Likewise.
13177 (FP_FAST_FMAL): Likewise.
13178 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13179 multiply/add.
13180 (FP_FAST_FMAF): Likewise.
13181
475facd1
JJ
131822010-10-15 Jakub Jelinek <jakub@redhat.com>
13183
13184 [BZ #3268]
13185 * math/libm-test.inc (fma_test): Some new testcases.
13186 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13187 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13188 y and infinite z. Do multiplication by C already in long double.
13189 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13191 y and infinite z. Do bitwise or of inexact bit into u.d.
13192 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13193 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13194 * sysdeps/i386/fpu/s_fma.S: Removed.
13195 * sysdeps/i386/fpu/s_fmal.S: Removed.
13196
7c08a05c
JJ
131972010-10-16 Jakub Jelinek <jakub@redhat.com>
13198
13199 [BZ #3268]
13200 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13202 computation is not scheduled after fetestexcept. Fix value
13203 of minimum denormal long double.
13204
f3f7372d
JJ
132052010-10-14 Jakub Jelinek <jakub@redhat.com>
13206
13207 [BZ #3268]
13208 * math/libm-test.inc (fma_test): Add some more tests.
13209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13210 correctly.
13211
14d43591
AS
132122010-10-15 Andreas Schwab <schwab@redhat.com>
13213
13214 * scripts/data/localplt-s390-linux-gnu.data: New file.
13215 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13216
5e908464
JJ
132172010-10-13 Jakub Jelinek <jakub@redhat.com>
13218
13219 [BZ #3268]
13220 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13221 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13222 instead of dbl-64.
13223 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13224 inlines.
13225 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13227 if one of x and y is very large and the other is subnormal.
13228 * sysdeps/s390/fpu/s_fmaf.c: New file.
13229 * sysdeps/s390/fpu/s_fma.c: New file.
13230 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13231 * sysdeps/powerpc/fpu/s_fma.S: New file.
13232 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13233 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13234 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13235
132362010-10-12 Jakub Jelinek <jakub@redhat.com>
13237
13238 [BZ #3268]
13239 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13240 fma tests.
13241 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13242 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13243 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13244 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13245 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13246 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13247 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13248
b833d51f
UD
132492010-10-12 Ulrich Drepper <drepper@redhat.com>
13250
13251 [BZ #12078]
13252 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13253 * posix/bug-regex31.input: Add test case.
13254
1751705d
UD
132552010-10-11 Ulrich Drepper <drepper@gmail.com>
13256
e9b9cbf5
UD
13257 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13258 * posix/bug-regex31.input: New file.
13259
13260 [BZ #12078]
13261 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13262 (parse_sub_exp): Fix last change, use postorder.
13263
ef06edbe
UD
13264 * posix/bug-regex31.c: New file.
13265 * posix/Makefile: Add rules to build and run bug-regex31.
13266
a129c80d
UD
13267 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13268
13269 [BZ #12078]
13270 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13271
b76b818e
UD
13272 [BZ #12108]
13273 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13274 to have entries in sys_siglist.
13275
1751705d
UD
13276 [BZ #12093]
13277 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13278 be NULL.
13279
9ff8d36f
JJ
132802010-10-07 Jakub Jelinek <jakub@redhat.com>
13281
13282 [BZ #3268]
13283 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13284 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13285 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13286 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13287 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13288 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13289 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13290 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13291 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13292 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13293 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13294 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13295 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13296 * math/ftestexcept.c (fetestexcept): Likewise.
13297 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13298 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13299 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13300 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13301 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13302 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13303 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13304
af325969
UD
133052010-10-11 Ulrich Drepper <drepper@gmail.com>
13306
c579b202 13307 [BZ #12107]
af325969
UD
13308 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13309 newline.
13310
67a67b95
UD
133112010-10-06 Ulrich Drepper <drepper@gmail.com>
13312
13313 * string/bug-strstr1.c: New file.
13314 * string/Makefile: Add rules to build and run bug-strstr1.
13315
5fb308bc
EB
133162010-10-05 Eric Blake <eblake@redhat.com>
13317
13318 [BZ #12092]
13319 * string/str-two-way.h (two_way_long_needle): Always clear memory
13320 when skipping input due to the shift table.
13321
45db99c7
UD
133222010-10-03 Ulrich Drepper <drepper@gmail.com>
13323
3b111893
UD
13324 [BZ #12005]
13325 * malloc/mcheck.c: Handle large requests.
13326
45db99c7
UD
13327 [BZ #12077]
13328 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13329 for strncmp and strncasecmp.
13330 * string/stratcliff.c: Add tests for strcmp and strncmp.
13331 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13332
cf7a1eb8
NI
133332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13334
13335 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13336 __set_fpscr.
13337
6484ba5e
AJ
133382010-09-30 Andreas Jaeger <aj@suse.de>
13339
13340 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13341 (CGROUP_SUPER_MAGIC): Define.
13342 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13343 Handle btrfs and cgroup file systems.
13344 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13345 Likewise.
13346
91c42559
LM
133472010-09-27 Luis Machado <luisgpm@br.ibm.com>
13348
13349 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13350 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13351
87a97932
AK
133522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13353
13354 [BZ #12067]
13355 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13356 trying to locate the ELF header.
13357
c21cc9bc
AS
133582010-09-27 Andreas Schwab <schwab@redhat.com>
13359
13360 [BZ #11611]
13361 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13362 Mask out sign-bit copies when constructing f_fsid.
13363
315970f6
PB
133642010-09-24 Petr Baudis <pasky@suse.cz>
13365
13366 * debug/stack_chk_fail_local.c: Add missing licence exception.
13367 * debug/warning-nop.c: Likewise.
13368
1ac7a2c7
JM
133692010-09-15 Joseph Myers <joseph@codesourcery.com>
13370
13371 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13372 implementing getdents64 using getdents syscall, set d_type if
13373 __ASSUME_GETDENTS32_D_TYPE.
13374
56801c50
AS
133752010-09-16 Andreas Schwab <schwab@redhat.com>
13376
13377 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13378 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13379
dda51327
UD
133802010-09-21 Ulrich Drepper <drepper@redhat.com>
13381
13382 [BZ #12037]
13383 * posix/unistd.h: Undo change of feature selection for ftruncate from
13384 2010-01-11.
13385
8ffcee4a
UD
133862010-09-20 Ulrich Drepper <drepper@redhat.com>
13387
a545ecd9 13388 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13389 detection.
13390
e24f0a8b
AS
133912010-09-20 Andreas Schwab <schwab@redhat.com>
13392
13393 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13394 fanotify_mark.
13395 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13396
7291c56f
AS
133972010-09-14 Andreas Schwab <schwab@redhat.com>
13398
13399 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13400 variables after CHECK_SP call.
13401 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13402
bc5fb037
AS
134032010-09-13 Andreas Schwab <schwab@redhat.com>
13404 Ulrich Drepper <drepper@redhat.com>
13405
13406 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13407 re-relocationg ld.so.
13408 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13409 _dl_init_paths call.
13410 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13411 here anymore.
13412
e66e7419
UD
134132010-09-14 Ulrich Drepper <drepper@redhat.com>
13414
13415 * resolv/res_init.c (__res_vinit): Count the default server we added.
13416
c044aa75
CLT
134172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13418 Ulrich Drepper <drepper@redhat.com>
13419
13420 [BZ #11968]
13421 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13422 (____longjmp_chk): Use %ebx for saving value across system call.
13423 Add unwind info.
13424
32cf4069
AS
134252010-09-06 Andreas Schwab <schwab@redhat.com>
13426
13427 * manual/Makefile: Don't mix pattern rules with normal rules.
13428
817328ee
AS
134292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13430
13431 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13432 operation.
13433 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13434 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13435 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13436 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13438 Likewise.
13439
29fddf61
UD
134402010-09-04 Ulrich Drepper <drepper@redhat.com>
13441
13442 [BZ #11979]
13443 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13444 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13445
0959ffc9
UD
134462010-09-02 Ulrich Drepper <drepper@redhat.com>
13447
13448 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13449 * sysdeps/x86_64/addmul_1.S: Likewise.
13450 * sysdeps/x86_64/lshift.S: Likewise.
13451 * sysdeps/x86_64/mul_1.S: Likewise.
13452 * sysdeps/x86_64/rshift.S: Likewise.
13453 * sysdeps/x86_64/sub_n.S: Likewise.
13454 * sysdeps/x86_64/submul_1.S: Likewise.
13455
ece29840
ST
134562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13457
0959ffc9
UD
13458 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13459 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13460 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13461 * bits/sched.h [__need_schedparam]
ece29840 13462 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13463 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13464 (__defined_schedparam): Define to 1.
ece29840
ST
13465 (__sched_param): New structure, identical to sched_param.
13466 (__need_schedparam): Undefine.
13467
e53a31fe
MF
134682010-08-31 Mike Frysinger <vapier@gentoo.org>
13469
fdc0c10d
MF
13470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13471 (epoll_create1): Declare.
13472
e53a31fe
MF
13473 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13474
a726d796
AS
134752010-08-31 Andreas Schwab <schwab@redhat.com>
13476
13477 [BZ #7066]
13478 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13479 shifting retval into place.
13480
2f3e3dc7
UD
134812010-09-01 Ulrich Drepper <drepper@redhat.com>
13482
f2933da9
UD
13483 * nis/rpcsvc/nis.h: Update copyright notice.
13484 * nis/rpcsvc/nis.x: Likewise.
13485 * nis/rpcsvc/nis_callback.h: Likewise.
13486 * nis/rpcsvc/nis_callback.x: Likewise.
13487 * nis/rpcsvc/nis_object.x: Likewise.
13488 * nis/rpcsvc/nis_tags.h: Likewise.
13489 * nis/rpcsvc/yp.h: Likewise.
13490 * nis/rpcsvc/yp.x: Likewise.
13491 * nis/rpcsvc/ypupd.h: Likewise.
13492 * nis/yp_xdr.c: Likewise.
13493 * nis/ypupdate_xdr.c: Likewise.
13494
2f3e3dc7
UD
13495 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13496 mainly the body of pmap_getport. Add parameters to specify timeouts.
13497 (pmap_getport): Use __libc_rpc_getport.
13498 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13499 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13500 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13501
f3dcc2f9
AS
135022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13503
13504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13505 fanotify_mark.
13506
6d34eb5b
RM
135072010-08-27 Roland McGrath <roland@redhat.com>
13508
13509 * sysdeps/i386/i686/multiarch/Makefile
13510 (CFLAGS-varshift.c): New variable.
13511
9ea3de11
UD
135122010-08-27 Ulrich Drepper <drepper@redhat.com>
13513
c96d23fc
UD
13514 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13515 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13516
9ea3de11
UD
13517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13518
13519 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13520
623aac7f
L
135212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13522
13523 * sysdeps/x86_64/strlen.S: Unroll the loop.
13524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13525 strlen-sse2 strlen-sse2-bsf.
13526 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13527 __strlen_no_bsf if bit_Slow_BSF is set.
13528 (__strlen_sse42): Removed.
13529 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13530 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13531
8b2b7715
RM
135322010-08-25 Roland McGrath <roland@redhat.com>
13533
13534 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13535 * sysdeps/x86_64/multiarch/varshift.c: New file.
13536 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13537 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13538 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13539 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13540
e73015f2
L
135412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13542
13543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13544 strlen-sse2 strlen-sse2-bsf.
13545 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13546 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13547 (__strlen_sse2): Removed.
13548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13549 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13551 bit_Slow_BSF for Atom.
13552 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13553 (index_Slow_BSF): Define.
13554 (HAS_SLOW_BSF): Define.
13555
df24a73e
UD
135562010-08-25 Ulrich Drepper <drepper@redhat.com>
13557
13558 [BZ #10851]
13559 * resolv/res_init.c (__res_vinit): When no server address at all
13560 is given default to loopback.
13561
f2ac4868
RM
135622010-08-24 Roland McGrath <roland@redhat.com>
13563
09055553
RM
13564 * configure.in: Remove config-name.h generation.
13565 * configure: Regenerated.
13566 * config-name.in: File removed.
13567 * scripts/config-uname.sh: New file.
13568 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13569 ($(objdir)config-name.h): New target.
13570
f2ac4868
RM
13571 * sunrpc/rpc_parse.h: Avoid nested comment.
13572
73f27d5e
RH
135732010-08-24 Richard Henderson <rth@redhat.com>
13574 Ulrich Drepper <drepper@redhat.com>
13575 H.J. Lu <hongjiu.lu@intel.com>
13576
13577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13579 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13580 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13581 _mm_alignr_epi8 with _mm_loadu_si128.
13582 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13583 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13584 (__m128i_shift_right): Removed.
13585 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13586 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13587 * sysdeps/x86_64/multiarch/varshift.h: New file.
13588 * sysdeps/x86_64/multiarch/varshift.S: New file.
13589
84b9230c
MF
135902010-08-21 Mike Frysinger <vapier@gentoo.org>
13591
13592 * configure.in: Move assembler checks to before sysdep dir checking.
13593
9bbd0ddc
PB
135942010-08-20 Petr Baudis <pasky@suse.cz>
13595
13596 * LICENSES: Sync the sunrpc license.
13597
9da4bb31
UD
135982010-08-19 Ulrich Drepper <drepper@redhat.com>
13599
a7ab6ec8
UD
13600 * sunrpc/auth_des.c: Update copyright notice once again.
13601 * sunrpc/auth_none.c: Likewise.
13602 * sunrpc/auth_unix.c: Likewise.
13603 * sunrpc/authdes_prot.c: Likewise.
13604 * sunrpc/authuxprot.c: Likewise.
13605 * sunrpc/bindrsvprt.c: Likewise.
13606 * sunrpc/clnt_gen.c: Likewise.
13607 * sunrpc/clnt_perr.c: Likewise.
13608 * sunrpc/clnt_raw.c: Likewise.
13609 * sunrpc/clnt_simp.c: Likewise.
13610 * sunrpc/clnt_tcp.c: Likewise.
13611 * sunrpc/clnt_udp.c: Likewise.
13612 * sunrpc/clnt_unix.c: Likewise.
13613 * sunrpc/des_crypt.c: Likewise.
13614 * sunrpc/des_soft.c: Likewise.
13615 * sunrpc/get_myaddr.c: Likewise.
13616 * sunrpc/getrpcport.c: Likewise.
13617 * sunrpc/key_call.c: Likewise.
13618 * sunrpc/key_prot.c: Likewise.
13619 * sunrpc/openchild.c: Likewise.
13620 * sunrpc/pm_getmaps.c: Likewise.
13621 * sunrpc/pm_getport.c: Likewise.
13622 * sunrpc/pmap_clnt.c: Likewise.
13623 * sunrpc/pmap_prot.c: Likewise.
13624 * sunrpc/pmap_prot2.c: Likewise.
13625 * sunrpc/pmap_rmt.c: Likewise.
13626 * sunrpc/rpc/auth.h: Likewise.
13627 * sunrpc/rpc/auth_unix.h: Likewise.
13628 * sunrpc/rpc/clnt.h: Likewise.
13629 * sunrpc/rpc/des_crypt.h: Likewise.
13630 * sunrpc/rpc/key_prot.h: Likewise.
13631 * sunrpc/rpc/netdb.h: Likewise.
13632 * sunrpc/rpc/pmap_clnt.h: Likewise.
13633 * sunrpc/rpc/pmap_prot.h: Likewise.
13634 * sunrpc/rpc/pmap_rmt.h: Likewise.
13635 * sunrpc/rpc/rpc.h: Likewise.
13636 * sunrpc/rpc/rpc_des.h: Likewise.
13637 * sunrpc/rpc/rpc_msg.h: Likewise.
13638 * sunrpc/rpc/svc.h: Likewise.
13639 * sunrpc/rpc/svc_auth.h: Likewise.
13640 * sunrpc/rpc/types.h: Likewise.
13641 * sunrpc/rpc/xdr.h: Likewise.
13642 * sunrpc/rpc_clntout.c: Likewise.
13643 * sunrpc/rpc_cmsg.c: Likewise.
13644 * sunrpc/rpc_common.c: Likewise.
13645 * sunrpc/rpc_cout.c: Likewise.
13646 * sunrpc/rpc_dtable.c: Likewise.
13647 * sunrpc/rpc_hout.c: Likewise.
13648 * sunrpc/rpc_main.c: Likewise.
13649 * sunrpc/rpc_parse.c: Likewise.
13650 * sunrpc/rpc_parse.h: Likewise.
13651 * sunrpc/rpc_prot.c: Likewise.
13652 * sunrpc/rpc_sample.c: Likewise.
13653 * sunrpc/rpc_scan.c: Likewise.
13654 * sunrpc/rpc_scan.h: Likewise.
13655 * sunrpc/rpc_svcout.c: Likewise.
13656 * sunrpc/rpc_tblout.c: Likewise.
13657 * sunrpc/rpc_util.c: Likewise.
13658 * sunrpc/rpc_util.h: Likewise.
13659 * sunrpc/rpcinfo.c: Likewise.
13660 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13661 * sunrpc/rpcsvc/key_prot.x: Likewise.
13662 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13663 * sunrpc/rpcsvc/mount.x: Likewise.
13664 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13665 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13666 * sunrpc/rpcsvc/rex.x: Likewise.
13667 * sunrpc/rpcsvc/rstat.x: Likewise.
13668 * sunrpc/rpcsvc/rusers.x: Likewise.
13669 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13670 * sunrpc/rpcsvc/spray.x: Likewise.
13671 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13672 * sunrpc/rtime.c: Likewise.
13673 * sunrpc/svc.c: Likewise.
13674 * sunrpc/svc_auth.c: Likewise.
13675 * sunrpc/svc_authux.c: Likewise.
13676 * sunrpc/svc_raw.c: Likewise.
13677 * sunrpc/svc_run.c: Likewise.
13678 * sunrpc/svc_simple.c: Likewise.
13679 * sunrpc/svc_tcp.c: Likewise.
13680 * sunrpc/svc_udp.c: Likewise.
13681 * sunrpc/svc_unix.c: Likewise.
13682 * sunrpc/svcauth_des.c: Likewise.
13683 * sunrpc/xcrypt.c: Likewise.
13684 * sunrpc/xdr.c: Likewise.
13685 * sunrpc/xdr_array.c: Likewise.
13686 * sunrpc/xdr_float.c: Likewise.
13687 * sunrpc/xdr_mem.c: Likewise.
13688 * sunrpc/xdr_rec.c: Likewise.
13689 * sunrpc/xdr_ref.c: Likewise.
13690 * sunrpc/xdr_sizeof.c: Likewise.
13691 * sunrpc/xdr_stdio.c: Likewise.
13692
9da4bb31
UD
13693 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13694 handling.
13695
bdaa77bc
AS
136962010-08-19 Andreas Schwab <schwab@redhat.com>
13697
13698 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13699
fe2f79db
LM
137002010-08-19 Luis Machado <luisgpm@br.ibm.com>
13701
13702 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13703 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13704 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13705 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13706 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13707 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13708 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13709 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13710 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13711 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13712 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13713 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13714 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13715 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13716
b9b42ee0
AB
137172010-07-26 Anton Blanchard <anton@samba.org>
13718
13719 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13720 * malloc/arena.c (heap_trim): Likewise.
13721
1c06ba31
UD
137222010-08-16 Ulrich Drepper <drepper@redhat.com>
13723
13724 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13725 here. Not...
13726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13727 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13728
f8392f40
L
137292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13730
13731 * sysdeps/i386/elf/Makefile: New file.
13732
3162f12e
AS
137332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13734
13735 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13736 from fanotify_init.
13737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13739
28c90b2c
UD
137402010-08-15 Ulrich Drepper <drepper@redhat.com>
13741
13742 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13743 of strncasecmp_l.
1feccb6c 13744 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13745
ca6bb004
UD
137462010-08-14 Ulrich Drepper <drepper@redhat.com>
13747
e9f82e0d
UD
13748 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13749 strncase_l-nonascii.
13750 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13751 Add strncase_l-ssse3.
13752 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13753 * sysdeps/x86_64/strcmp.S: Likewise.
13754 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13755 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13756 * sysdeps/x86_64/strncase.S: New file.
13757 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13758 * sysdeps/x86_64/strncase_l.S: New file.
13759 * string/Makefile (strop-tests): Add strncasecmp.
13760 * string/test-strncasecmp.c: New file.
13761
13762 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13763 warning.
13764
ca6bb004
UD
13765 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13766 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13767
052fa7b3
AS
137682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13769
13770 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13771
962dba78
UD
137722010-08-12 Ulrich Drepper <drepper@redhat.com>
13773
13774 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13775 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13776 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13777
bebff237
AM
137782010-05-01 Alan Modra <amodra@gmail.com>
13779
13780 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13781 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13782 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13783 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13784 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13785 tidying. Don't tail-call __sigjmp_save for static lib.
13786 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13787 save location.
13788 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13789 (CALL_MCOUNT): Add eh info, and nop after bl.
13790 (TAIL_CALL_SYSCALL_ERROR): New macro.
13791 (PSEUDO_RET): Use it.
13792 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13793 Correct save location of integer regs and cr.
13794 (_dl_profile_resolve): Correct cr save location. Delete nops
13795 after bl when SHARED. Reduce cfi size a little by better
13796 placement of cfi directives.
13797 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13798 make a stack frame. Instead use parm save area as a temp.
13799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13800 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13802 Don't make a stack frame for parent, use parm save area.
13803 Increase child stack frame to 112 bytes. Don't save unused reg,
13804 and adjust reg usage. Set up cfi on error recovery and
13805 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13807 (__makecontext): Add dummy nop after jump to exit.
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13809 Use correct parm save area and cr save, reduce stack frame.
13810 Correct cfi for possible PSEUDO_RET frame setup.
13811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13812 Branch to local label emitted by PSEUDO_RET rather than
13813 __syscall_error.
13814
02637374
AS
138152010-08-12 Andreas Schwab <schwab@redhat.com>
13816
13817 [BZ #11904]
13818 * locale/programs/locale.c (print_assignment): New function.
13819 (show_locale_vars): Use it.
13820
c3e2f19b
UD
138212010-08-11 Ulrich Drepper <drepper@redhat.com>
13822
3cdaa6ad
UD
13823 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13824 field.
13825 (struct statfs64): Likewise.
13826 (_STATFS_F_FLAGS): Define.
13827 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13828 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13829 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13830 (ST_VALID): Define locally.
13831 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13832 __statvfs_getflags, use the provided value.
13833 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13834 __ASSUME_STATFS_F_FLAGS.
13835
754f7da3
UD
13836 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13837
10b3bedc
UD
13838 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13839 Add sys/fanotify.h.
13840 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13841 fanotify_mask for GLIBC_2.13.
13842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13843 fanotify_init and fanotify_mark.
13844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13845 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13846
c08fb0d7
UD
13847 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13848 Add prlimit.
13849 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13850 prlimit64 for GLIBC_2.13.
13851 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13852 prlimit64.
13853 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13854 syscall.
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13856 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13857 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13858 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13860 add prlimit alias.
13861 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13862
15bac72b
UD
13863 [BZ #11903]
13864 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13865 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13866
c3e2f19b
UD
13867 * nss/Makefile: Add rules to build and run tst-nss-test1.
13868 * shlib-versions: Add entry for libnss_test1.
13869 * nss/nss_test1.c: New file.
13870 * nss/tst-nss-test1.c: New file.
13871
13872 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13873 (__nss_configure_lookup): Set appropriate entry in
13874 __nss_configure_lookup to true.
13875 * nss/nsswitch.h: Define enum with indeces of databases in
13876 databases and __nss_database_custom arrays. Declare
13877 __nss_database_custom.
13878 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13879 to avoid using nscd when custom rules are installed.
13880 * nss/getXXbyYY_r.c: Likewise.
13881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13882
13883 * nss/nss_files/files-parse.c: Whitespace fixes.
13884
f15ce4d8
UD
138852010-08-09 Ulrich Drepper <drepper@redhat.com>
13886
13887 [BZ #11883]
13888 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13889 * posix/fnmatch_loop.c: Likewise.
13890
d22e4cc9
AK
138912010-07-17 Andi Kleen <ak@linux.intel.com>
13892
13893 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13894 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13895 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13896 * Versions.def [GLIBC_2.13]: Add.
13897
805bc17d
UD
138982010-08-06 Ulrich Drepper <drepper@redhat.com>
13899
13900 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13901 Also fail if tpwd after pwuid call is NULL.
13902
5a42321d
ST
139032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13904
13905 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13906 when converting to ms.
13907
fd3ebeda
ST
139082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13909
13910 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13911 EOPNOTSUPP errors with ENOTTY.
13912 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13913 EOPNOTSUPP errors with ENOTTY.
13914
73507d3a
UD
139152010-07-31 Ulrich Drepper <drepper@redhat.com>
13916
13917 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13918 Add strcasecmp_l-ssse3.
13919 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13920 strcasecmp.
13921 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13922 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13923 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13924
fe36dd02
UD
139252010-07-30 Ulrich Drepper <drepper@redhat.com>
13926
66f6765a
UD
13927 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13928
42e08a54
UD
13929 * string/Makefile (strop-tests): Add strcasecmp.
13930 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13931 strcasecmp_l-nonascii.
13932 (gen-as-const-headers): Add locale-defines.sym.
13933 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13934 * sysdeps/x86_64/strcasecmp.S: New file.
13935 * sysdeps/x86_64/strcasecmp_l.S: New file.
13936 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13937 * sysdeps/x86_64/locale-defines.sym: New file.
13938 * string/test-strcasecmp.c: New file.
13939
fe36dd02
UD
13940 * string/test-strcasestr.c: Test both ends of the range of characters.
13941 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13942
48cbc0d6
RM
139432010-07-29 Roland McGrath <roland@redhat.com>
13944
76e6d6bc 13945 [BZ #11856]
48cbc0d6
RM
13946 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13947
880113d9
UD
139482010-07-27 Ulrich Drepper <drepper@redhat.com>
13949
13950 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13951 for ld.so.
13952
deb9cabb
AS
139532010-07-27 Andreas Schwab <schwab@redhat.com>
13954
13955 * manual/memory.texi (Malloc Tunable Parameters): Document
13956 M_PERTURB.
13957
1c7570ff
RM
139582010-07-26 Roland McGrath <roland@redhat.com>
13959
13960 [BZ #11840]
13961 * configure.in (-fgnu89-inline check): Set and substitute
13962 gnu89_inline, not libc_cv_gnu89_inline.
13963 * configure: Regenerated.
13964 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13965
24fb0f88
UD
139662010-07-26 Ulrich Drepper <drepper@redhat.com>
13967
13968 * string/test-strnlen.c: New file.
13969 * string/Makefile (strop-tests): Add strnlen.
13970 * string/tester.c (test_strnlen): Add a few more test cases.
13971 * string/tst-strlen.c: Better error reporting.
13972
13973 * sysdeps/x86_64/strnlen.S: New file.
13974
8e96b93a
UD
139752010-07-24 Ulrich Drepper <drepper@redhat.com>
13976
13977 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13978 lower-latency instructions.
13979
dbc676d4
UD
139802010-07-23 Ulrich Drepper <drepper@redhat.com>
13981
13982 * string/test-strcasestr.c: New file.
13983 * string/test-strstr.c: New file.
13984 * string/Makefile (strop-tests): Add strstr and strcasestr.
13985 * string/str-two-way.h: Don't undefine MAX.
13986 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13987
f6a31e0e
AS
139882010-07-21 Andreas Schwab <schwab@redhat.com>
13989
13990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13991 strcasestr-nonascii.
13992 (CFLAGS-strcasestr-nonascii.c): Define.
13993 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13994 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13995 Remove unused attribute.
13996
5dbc3b6c
RM
139972010-07-20 Roland McGrath <roland@redhat.com>
13998
13999 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14000 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14001 ld.so.cache was broken. With it, there is no way to disable dsocaps
14002 like LD_HWCAP_MASK can disable hwcaps.
14003
23d101d8
EPM
140042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14005
14006 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14007
cc9f2e47
UD
140082010-07-16 Ulrich Drepper <drepper@redhat.com>
14009
14010 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14011 call in strcasestr.
14012 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14013 __strcasestr_sse42_nonascii.
14014 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14015 strcasestr-nonascii.c.
14016 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14017
77c1b069
LM
140182010-06-15 Luis Machado <luisgpm@br.ibm.com>
14019
14020 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14021 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14022 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14023 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14024
440566c3
UD
140252010-07-09 Ulrich Drepper <drepper@redhat.com>
14026
14027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14028 fcntl.
14029
5be9d05d
AS
140302010-07-06 Andreas Schwab <schwab@redhat.com>
14031
c30b7ee2 14032 [BZ #11577]
5be9d05d
AS
14033 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14034 dl_signal_cerror.
14035
8a492a67
UD
140362010-07-06 Ulrich Drepper <drepper@redhat.com>
14037
14038 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14039 _PC_PIPE_BUF using F_GETPIPE_SZ.
14040
713df3d5
RM
140412010-07-05 Roland McGrath <roland@redhat.com>
14042
14043 * manual/arith.texi (Rounding Functions): Fix rint description
14044 implicit in round description.
14045
702e8f14
UD
140462010-07-02 Ulrich Drepper <drepper@redhat.com>
14047
14048 * elf/Makefile: Fix linking for a few tests to make recent linker
14049 happy.
14050
52ed8be9
AS
140512010-06-30 Andreas Schwab <schwab@redhat.com>
14052
14053 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14054 $(common-objpfx)libc_nonshared.a.
14055
f47c9a11
LM
140562010-06-21 Luis Machado <luisgpm@br.ibm.com>
14057
14058 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14059 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14060 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14061 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14062 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14063 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14064 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14065 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14080 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14081 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14082 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14083 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14084 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14085 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14086 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14087 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14088 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14089 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14090 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14091 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14106
6fb8cbcb
L
141072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14108
14109 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14110 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14111 * string/memmove.c (memmove): Renamed to ...
14112 (MEMMOVE): ...this. Default to memmove.
14113 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14114 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14115 (END_CHK): Define.
14116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14117 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14118 mempcpy-ssse3-back memmove-ssse3-back.
14119 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14121 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14122 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14123 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14124 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14125 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14126 * sysdeps/x86_64/multiarch/memmove.c: New file.
14127 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14128 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14129 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14130 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14131 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14132 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14133 Define.
14134 (index_Fast_Copy_Backward): Define.
14135 (HAS_ARCH_FEATURE): Define.
14136 (HAS_FAST_REP_STRING): Define.
14137 (HAS_FAST_COPY_BACKWARD): Define.
14138
4e733bac 141392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14140
14141 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14142 Restore proper fallback handling.
14143
63c4ed22
UD
141442010-06-19 Ulrich Drepper <drepper@redhat.com>
14145
ac2b484c
UD
14146 [BZ #11701]
14147 * posix/group_member.c (__group_member): Correct checking loop.
14148
63c4ed22
UD
14149 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14150 OOM in getpwuid_r correctly. Return error number when the caller
14151 should return, otherwise -1.
14152 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14153 call returning > 0 value.
14154 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14155
765ade4b
AS
141562010-06-07 Andreas Schwab <schwab@redhat.com>
14157
14158 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14159 libc_nonshared.a from targets in modules-names.
14160
80da2e09
KS
141612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14162
14163 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14164 requires it.
14165
158db122
LM
141662010-06-10 Luis Machado <luisgpm@br.ibm.com>
14167
14168 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14169 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14170 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14172
caa78cf8
AS
141732010-06-02 Andreas Schwab <schwab@redhat.com>
14174
14175 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14176
b2ef2c01
UD
141772010-06-14 Ulrich Drepper <drepper@redhat.com>
14178
14179 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14180 and F_GETPIPE_SZ.
14181 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14185 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14186 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14187
fbd643b6
RM
141882010-06-14 Roland McGrath <roland@redhat.com>
14189
14190 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14191
f32f2869
JJ
141922010-06-07 Jakub Jelinek <jakub@redhat.com>
14193
14194 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14195 __REDIRECT followed by __THROW.
14196 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14197 * posix/getopt.h (getopt): Likewise.
14198
2a50c078
EPM
141992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14200
14201 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14202 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14203 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14204 in AT_FLAGS.
14205 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14206 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14207
eb5ad2eb
LM
142082010-05-28 Luis Machado <luisgpm@br.ibm.com>
14209
14210 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14211
3c88fe1e
L
142122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 [BZ #11640]
14215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14216 Properly check family and model.
14217
d2f73151
TY
142182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14219
14220 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14221
ebd2e13d
LM
142222010-05-24 Luis Machado <luisgpm@br.ibm.com>
14223
14224 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14225
b32b8b45
UD
142262010-05-21 Ulrich Drepper <drepper@redhat.com>
14227
14228 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14229 symbol reference.
14230
9acbe24d
AS
142312010-05-19 Andreas Schwab <schwab@redhat.com>
14232
14233 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14234 symbol reference.
14235
f0ccf6ea
AS
142362010-05-21 Andreas Schwab <schwab@redhat.com>
14237
3d04ff3a
AS
14238 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14239 and internal_recvmmsg.
14240 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14241 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14242 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14243 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14244
f0ccf6ea
AS
14245 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14246 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14247 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14248
5b08ac57
AS
142492010-05-20 Andreas Schwab <schwab@redhat.com>
14250
14251 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14252
4828935d
LM
142532010-05-17 Luis Machado <luisgpm@br.ibm.com>
14254
14255 POWER7 optimizations.
14256 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14257 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14258
373d545e
UD
142592010-05-19 Ulrich Drepper <drepper@redhat.com>
14260
14261 * version.h: Update for 2.13 development version.
14262
21a2b1ae
AS
142632010-05-12 Andrew Stubbs <ams@codesourcery.com>
14264
14265 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14266 exceptions. Return 0.
14267
3f7dcb2b
RM
142682010-05-07 Roland McGrath <roland@redhat.com>
14269
14270 * elf/ldconfig.c (main): Add a const.
14271
5f24d53a 142722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14273
a160f8d8
UD
14274 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14275 (args_options): Add no-idn option.
14276 (ahosts_keys_int): Add idn_flags to ai_flags.
14277 (parse_option): Handle 'i' option to clear idn_flags.
14278
5f24d53a
UD
14279 * malloc/malloc.c (_int_free): Possible race in the most recently
14280 added check. Only act on the data if no current modification
14281 happened.
265bb1ce
UD
14282
14283See ChangeLog.17 for earlier changes.