]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove duplicate #include <not-cancel.h> in Linux getsysstats.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
02a91938
CM
12012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2
3 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4 include of <not-cancel.h>.
5
6540185f
RM
62012-05-15 Roland McGrath <roland@hack.frob.com>
7
8 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9
509072a0
AJ
102012-05-15 Jeff Law <law@redhat.com>
11 Andreas Jaeger <aj@suse.de>
12
13 [BZ #13594]
14 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
15 out from...
16 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19 code changing __hst_map_handle.map.
20
ba75122d
RM
212012-05-15 Roland McGrath <roland@hack.frob.com>
22
23 * configure.in (sysnames): Look for Implies-before and Implies-after
24 files.
25 * configure: Regenerated.
26
890d8bd8
L
272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28
29 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30 8-byte data alignment with LP_SIZE alignment.
31
f6ee6623
L
322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33
34 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35 into R10_LP.
36
ea2626f6
L
372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38
39 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40
085f715e
L
412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42
43 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46 Likewise.
47 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48
be8498fc
L
492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50
51 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52 (stackinfo_sub_sp): Likewise.
53
70bc83b9
L
542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
55
56 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57 RAX_LP.
58
9bc0b730
L
592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
60
61 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62 into R*_LP.
63
6d2850e7
L
642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65
66 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67 sizes into R*_LP.
68
3cb84561
L
692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70
71 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
72
54e2ed81
L
732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74
75 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76 into R11_LP and load __x86_64_shared_cache_size_half into
77 R8_LP.
78
8a17f349
L
792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80
81 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82 R8_LP.
83
777b1eea
AZ
842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85
86 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
87 logb for POWER7.
88 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
89 logbf for POWER7.
90 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
91 logbl for POWER7.
92 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
93 powerpc32/power7/fpu/s_logb.c via #include.
94 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
95 powerpc32/power7/fpu/s_logbf.c via #include.
96 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
97 powerpc32/power7/fpu/s_logbl.c via #include.
98
d20d4ac2
JM
992012-05-15 Joseph Myers <joseph@codesourcery.com>
100
101 * README.libm: Remove file.
102
6cdef1ab
L
1032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
104
105 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
106 count for x32. Use R*_LP and omit operand-size suffix.
107
0b254d8f
L
1082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
109
110 * shlib-versions: Move x86_64-.*-linux.* entries to ...
111 * sysdeps/x86_64/64/shlib-versions: Here. New file.
112 * sysdeps/x86_64/x32/shlib-versions: New file.
113
ceb809dc
RM
1142012-05-14 Roland McGrath <roland@hack.frob.com>
115
116 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
117 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
118 Use _dl_fatal_printf instead.
119
37f1abd4
JM
1202012-05-14 Joseph Myers <joseph@codesourcery.com>
121
122 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
123 set if not set by the user. Do not allow for being unset.
124 * sysdeps/unix/sysv/linux/configure: Regenerated.
125
11de3a33
L
1262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
127
128 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
129 the `q' suffix from lea and replace .quad with ASM_ADDR.
130
e02f153a
L
1312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
132
133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
134 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
135 instead of $17.
136 (PTR_DEMANGLE): Likewise.
137
520ae0fd
L
1382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
139
140 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
141 (LP_OP): Likewise.
142 (ASM_ADDR): Likewise.
143 (RAX_LP): Likewise.
144 (RBP_LP): Likewise.
145 (RBX_LP): Likewise.
146 (RCX_LP): Likewise.
147 (RDI_LP): Likewise.
148 (RSI_LP): Likewise.
149 (RSP_LP): Likewise.
150 (R8_LP): Likewise.
151 (R9_LP): Likewise.
152 (R10_LP): Likewise.
153 (R10_LP): Likewise.
154 (R11_LP): Likewise.
155 (R12_LP): Likewise.
156 (R13_LP): Likewise.
157 (R14_LP): Likewise.
158 (R15_LP): Likewise.
159
b985be81
L
1602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
161
162 * sysdeps/x86_64/x32/dl-machine.h: New file.
163
6a4888ff
AJ
1642012-05-14 Andreas Jaeger <aj@suse.de>
165
166 * manual/Makefile (subdir): Remove export of subdir.
167 (all): Remove target.
168 (.PHONY): Remove all from list.
169 (mkinstalldirs): Remove.
170 (.PHONY): Remove installdirs from list.
171 ($(inst_infodir)/libc.info): Use make-target-directory.
172 (installdirs): Remove.
173 (subdir_%): Remove.
174 (glibc-targets): Remove.
175 (lib): Remove.
176 (stubs): Remove.
177 ($(objpfx)stubs ../po/manual.pot): Remove.
178 ($(objpfx)stamp%): Remove.
179 (make-target-directory): Remove.
180 (subdir_install): Remove.
181 (routines): Remove.
182 (aux): Remove.
183 (sources): Remove.
184 (objects): Remove.
185 (headers): Remove.
186
187 [BZ #13750]
188 * manual/.gitignore: Remove, it's not needed anymore.
189 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
190 all files in it.
191 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
192 directory.
193 (texis): Renamed to $(objpfx)texis.
194 (texis-path): New, contains path to generated files.
195 (chapters.%): Use texis-path for complete path, add extra argument
196 libc-texinfo.sh.
197 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
198 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
199 (summary,texi, stamp-summary): Use complete path of
200 files. Generate files in build dir.
201 (dir-add.texi): Build in build dir.
202 (libm-err.texi,stamp-libm-err): Likewise.
203 (version.texi, stamp-version): Likewise.
204 (.%c.texi): Likewise.
205 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
206 (mostlyclean): Remove target.
207 (realclean): Remove target.
208 (generated): Add new variable with contents from mostlyclean and
209 realclean, remove entries duplicated in common-mostlyclean, add
210 stamp-libm-err and stamp-version.
211 (generated-dirs): Add libc directory.
212 ($(inst_infodir)/libc.info): Install files from build dir.
213
214 * manual/install.texi (Configuring and compiling): Adjust since
215 the info files are not part of the tar ball anymore.
216
7ac77294
AJ
2172012-05-14 Andreas Jaeger <aj@suse.de>
218
219 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
220 variable.
221
ffb7875d
JM
2222012-05-14 Joseph Myers <joseph@codesourcery.com>
223
224 [BZ #13717]
225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
226 to 2.2.0 where earlier.
227 * sysdeps/unix/sysv/linux/configure: Regenerated.
228 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
229 Remove conditional code.
230 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
231 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
232 Remove conditional code.
233 [!__NR_lchown]: Likewise.
234 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
235 [__NR_lchown]: Likewise.
236 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
237 comment referencing __ASSUME_LCHOWN_SYSCALL.
238 * sysdeps/unix/sysv/linux/i386/sigaction.c
239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
241 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
242 Remove conditional code.
243 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
244 (__protocol_available): Remove #if 0 code.
245 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
246 conditional code.
247 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
248 * sysdeps/unix/sysv/linux/kernel-features.h
249 (__ASSUME_GETCWD_SYSCALL): Don't define.
250 (__ASSUME_REALTIME_SIGNALS): Likewise.
251 (__ASSUME_PREAD_SYSCALL): Likewise.
252 (__ASSUME_PWRITE_SYSCALL): Likewise.
253 (__ASSUME_POLL_SYSCALL): Likewise.
254 (__ASSUME_LCHOWN_SYSCALL): Likewise.
255 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
256 non-SPARC.
257 (__ASSUME_SIOCGIFNAME): Don't define.
258 (__ASSUME_MSG_NOSIGNAL): Likewise.
259 (__ASSUME_SENDFILE): Define unconditionally.
260 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
261 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
262 conditional code.
263 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
264 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
265 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
266 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
267 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
268 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
269 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
271 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
274 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
275 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
277 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
280 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
283 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
286 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
287 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
289 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
292 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
294 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
295 Remove conditional code.
296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
297 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
298 Remove conditional code.
299 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
300 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
301 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
302 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
303 Remove conditional code.
304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
305 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
306 Remove conditional code.
307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
308 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
309 Remove conditional code.
310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
311 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
312 Remove conditional code.
313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
314 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
315 Remove conditional code.
316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
317 * sysdeps/unix/sysv/linux/sh/pwrite64.c
318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
320 * sysdeps/unix/sysv/linux/sigaction.c
321 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
322 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
323 * sysdeps/unix/sysv/linux/sigpending.c
324 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
325 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
326 * sysdeps/unix/sysv/linux/sigprocmask.c
327 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
328 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
329 * sysdeps/unix/sysv/linux/sigsuspend.c
330 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
331 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
333 (__libc_missing_rt_sigs): Remove.
334 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
335 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
336 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
337 Remove conditional code.
338 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
339 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
340 return 1.
341 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
342 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
343 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
344 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
345
1bfb7291
AJ
3462012-05-14 Andreas Jaeger <aj@suse.de>
347
caae5a81
AJ
348 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
349 it's not used in glibc.
350 (__coshm1): Likewise.
351 (__acosh1p): Likewise.
352 (__sgn): Likewise.
353
1bfb7291
AJ
354 * manual/string.texi (Copying and Concatenation): Add missing
355 variable in concat example.
356 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
357
c044d724
L
3582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
359
144c5467 360 [BZ #14103]
c044d724
L
361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
362 __builtin_clzl with __builtin_clzll.
363
2523c62b
L
3642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
365
366 [BZ #14104]
367 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
368 libc_freeres_ptr.
369
d7bb4c42
LD
3702012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
371
372 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
373 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
374 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
375 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
376
9dc4e1fb
MF
3772012-05-14 Mike Frysinger <vapier@gentoo.org>
378
379 * NEWS: Update ia64 info.
380
c7df0112
AS
3812012-05-12 Andreas Schwab <schwab@linux-m68k.org>
382
383 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
384 used as bcopy.
385
dc70356c
TS
3862012-05-12 Thomas Schwinge <thomas@codesourcery.com>
387
388 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
389 * sysdeps/unix/syscalls.list (dup3): Likewise.
390 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
391 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
392
9fb1a21f
L
3932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
394
395 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
396 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
397
4822a2a5
L
3982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
399
400 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
401 thread pointer.
402 (TLS_IE): Use mov/add instead of movq/addq to load thread
403 pointer.
404 (TLS_GD_PREFIX): New.
405 (TLS_GD): Use it.
406
842b81d6
DM
4072012-05-11 David S. Miller <davem@davemloft.net>
408
409 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
410 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
411 (_FPU_SETCW): Likewise.
412
1cf463cd
L
4132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
414
415 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
416 is 32-byte aligned.
417
60cc4a18
AS
4182012-05-11 Andreas Schwab <schwab@linux-m68k.org>
419
420 [BZ #11837]
421 * iconvdata/gb18030.c: Update tables.
422 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
423 characters specially.
424 (BODY for TO_LOOP): Add encoding of missing ranges.
425
febb44a4
TS
4262012-05-11 Thomas Schwinge <thomas@codesourcery.com>
427
428 [BZ #13673]
429 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
430 * sysdeps/mach/hurd/dup3.c: Likewise.
431 * sysdeps/mach/hurd/readlinkat.c: Likewise.
432 * sysdeps/powerpc/memmove.c:: Likewise.
433
0a10fb9e
L
4342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
435
436 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
437 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
438
df8a552f
L
4392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
440
441 * elf/elf.h (R_X86_64_RELATIVE64): New.
442 (R_X86_64_NUM): Updated.
443 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
444 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
445 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
446 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
447 tst-quad1pie tst-quad2pie
448 (modules-names): Add tst-quadmod1 tst-quadmod2.
449 ($(objpfx)tst-quad1): New dependency.
450 ($(objpfx)tst-quad2): Likewise.
451 ($(objpfx)tst-quad1pie): Likewise.
452 ($(objpfx)tst-quad2pie): Likewise.
453 * sysdeps/x86_64/tst-quad1.c: New file.
454 * sysdeps/x86_64/tst-quad1pie.c: New file.
455 * sysdeps/x86_64/tst-quad2.c: Likewise.
456 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
457 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
458 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
459 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
460 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
461
f34d6f84
ST
4622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
463
f42d41d1
ST
464 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
465 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
466 * streams/stropts.h (t_scalar_t): Define type.
467
3c3571fc
ST
468 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
469 (_PATH_PRESERVE): Set to "/var/lib".
470 (_PATH_RWHODIR): Set to "/var/spool/rwho".
471
61f06bd3
ST
472 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
473 instead of int.
474
918d4d71
ST
475 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
476 if __dir_mkfile succeeded.
477
f34d6f84
ST
478 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
479 checking for _hurd_dtablesize. Unlock it right after having
480 finished _hurd_dtable allocation.
481
10589b4a
TS
4822012-05-10 Thomas Schwinge <thomas@schwinge.name>
483
674cdbc7
TS
484 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
485 * sysdeps/mach/hurd/configure: Regenerated.
486 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
487 special-casing to...
488 * sysdeps/gnu/configure.in: ... this new file.
489 * sysdeps/unix/sysv/linux/configure: Regenerated.
490 * sysdeps/gnu/configure: New generated file.
491
8e41b99f
TS
492 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
493 for Linux: use nsec instead of usec, as well as:
494 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
495 members of type struct timespec.
496 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
497 New macros.
498 (struct stat64): Likewise.
499 (_STATBUF_ST_NSEC): New macro.
500 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
501
10589b4a
TS
502 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
503 __strtoul_internal rather than strtoul.
504
63643c85
PT
5052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
506
507 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
508 and reject them.
509
3faebe6a
ST
5102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
511
512 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
513 which preserves existing values.
514 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
515
c6474b07
PT
5162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
517
518 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
519 TIMEOUT values. Return EINVAL for NFDS values either negative or
520 greater than FD_SETSIZE.
521
1043890b
ST
5222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
523
524 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
525 allocated, call __vm_protect to finish enabling the existing space, and
526 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
527 allocate the remainder.
528
37ed8b9b
PT
5292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
530
531 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
532 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
533
db653660
ST
5342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
535
37ed8b9b
PT
536 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
537 sysdeps/mach/hurd/readlink.c.
b29d4053 538
db653660
ST
539 * posix/tst-sysconf.c (posix_options): Only use
540 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
541 _POSIX_SYNCHRONIZED_IO when they are defined
542 * sysdeps/mach/hurd/bits/posix_opt.h:
543 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
544 (_XOPEN_REALTIME): Undefine macro.
545 (_XOPEN_REALTIME_THREADS): Undefine macro.
546 (_XOPEN_SHM): Undefine macro.
547 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
548 macro to -1.
549 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
550 macro to -1.
551 (_POSIX_ASYNC_IO): Undefine macro.
552 (_POSIX_PRIORITIZED_IO): Undefine macro.
553 (_POSIX_SPIN_LOCKS): Define macro to -1.
554
ee16e894
ST
555 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
556 SA_NODEFER, SA_RESETHAND.
557 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
558 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
559 F_DUPFD_CLOEXEC.
560
6103ae3b
TS
5612012-05-10 Thomas Schwinge <thomas@schwinge.name>
562
563 * elf/Makefile (pldd-modules): Define unconditionally.
564
80b4e5f3
TS
5652012-05-10 Thomas Schwinge <thomas@schwinge.name>
566
567 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
568
edadcbd6
ST
5692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
570
571 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
572 Return ENOENT when name is empty.
573 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
574
80694780
TS
5752012-05-10 Thomas Schwinge <thomas@schwinge.name>
576
1792c087
TS
577 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
578
80694780
TS
579 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
580
6b645f0d
ST
5812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
582
80694780
TS
583 Fix mlock in all cases except non-readable pages.
584 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
585 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 586
6b645f0d
ST
587 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
588 (__mkdir): When path is `/', just fail with EEXIST.
589 * sysdeps/mach/hurd/mkdirat.c: Likewise.
590
e468f8a3
TS
5912012-05-10 Thomas Schwinge <thomas@schwinge.name>
592
593 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
594 <sys/uio.h> (for writev).
595 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
596 and <sys/param.h> (for MIN).
597
a4186cff
PT
5982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
599
600 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
601 REQUESTED_TIME. Properly set the remaining time and return EINTR
602 if interrupted.
603
510bbf14
TS
6042012-05-10 Thomas Schwinge <thomas@schwinge.name>
605
606 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
607 Depend on against $(link-rpcuserlibs).
608
5d5722e8
ST
6092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
610
a4186cff
PT
611 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
612 (__libc_stack_end): Do not use attribute_relro.
613 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
614 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 615 to libthread-provided value.
a4186cff
PT
616 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
617 attribute_relro.
5d5722e8 618
37233df9
TS
6192012-05-10 Thomas Schwinge <thomas@schwinge.name>
620
be971a2b
TS
621 [BZ #3748]
622 * bits/libc-lock.h (__libc_once_get): New macro.
623 * sysdeps/mach/bits/libc-lock.h: Likewise.
624 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
626 instead of using implementation details.
627
37233df9
TS
628 * libio/fileops.c: Unconditionally include <kernel-features.h>.
629 * libio/freopen.c: Likewise.
630 * libio/freopen64.c: Likewise.
631 * misc/syslog.c: Likewise.
632 * nscd/connections.c: Likewise.
633 * nscd/netgroupcache.c: Likewise.
634 * sysdeps/posix/getcwd.c: Likewise.
635
38de94a5
RM
6362012-05-10 Roland McGrath <roland@hack.frob.com>
637
638 * math/w_ilogbf.c: Add #include <limits.h>.
639
67530489
ST
6402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
641
a4186cff 642 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
643 path instead of returning without unlocking.
644
67530489
ST
645 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
646 immediate-write ioctls.
647 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
648
5aa3a74a
TS
6492012-05-10 Thomas Schwinge <thomas@schwinge.name>
650
18bad2ae
TS
651 * sysdeps/mach/hurd/i386/init-first.c (init): Use
652 __builtin_frame_address instead of making assumptions about the
653 location of the return address relative to DATA. Force early load of
654 the return address.
655 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
656 __builtin_frame_address.
657
5aa3a74a
TS
658 dup3 for GNU Hurd.
659 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
660 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
661 implement dup3 and do some further code clean-ups.
662 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
663 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
664
ecd0de9a
ST
6652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
666
cd9fa985
ST
667 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
668
a4186cff
PT
669 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
670 HURD_CRITICAL_END around holding _hurd_dtable_lock.
671 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
672 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
673 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
674 d->port.lock.
802ca5a5 675
a4186cff
PT
676 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
677 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
678 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 679
bcf55240
TS
6802012-05-10 Thomas Schwinge <thomas@schwinge.name>
681
6960eb42
TS
682 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
683 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
684 definitions.
685
eb43375f
TS
686 accept4 for GNU Hurd.
687 * include/sys/socket.h (__libc_accept4): New prototype.
688 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
689 to implement __libc_accept4.
690 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
691 __libc_accept4.
692 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
693
bcf55240
TS
694 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
695 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
696 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
697 signal-defines.sym.
698
6178c55b
ST
6992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
700
a4186cff 701 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 702
6f080c2f
TS
7032012-05-10 Thomas Schwinge <thomas@schwinge.name>
704
705 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
706 assertion on O_CLOEXEC flag.
707 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
708 * hurd/intern-fd.c: Likewise.
709 * hurd/port2fd.c: Likewise.
710
bcfe3a54
ST
7112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
712
713 [BZ #3906]
714 * bits/in.h (IPV6_PKTINFO): Define new macro.
715 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
716
89c9aa49
AZ
7172012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718
719 [BZ #13954]
720 [BZ #13955]
721 [BZ #13956]
722 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
724 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
725 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
727 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
728 * math/libm-test.inc (logb_test) : Additional logb tests.
729
021db4be
AJ
7302012-05-09 Andreas Schwab <schwab@linux-m68k.org>
731 Andreas Jaeger <aj@suse.de>
732
733 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
734 * configure: Regenerated.
735 * config.h.in (LINK_OBSOLETE_RPC): New macro.
736 * config.make.in (link-obsolete-rpc): New substituted variable.
737 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
738 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
739 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
740 (shared-only-routines): Don't set it under [link-obsolete-rpc],
741 so that libc.a contains the symbols.
742 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
743 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
744 * sunrpc/auth_none.c: Likewise.
745 * sunrpc/auth_unix.c: Likewise.
746 * sunrpc/authdes_prot.c: Likewise.
747 * sunrpc/authuxprot.c: Likewise.
748 * sunrpc/clnt_gen.c: Likewise.
749 * sunrpc/clnt_perr.c: Likewise.
750 * sunrpc/clnt_raw.c: Likewise.
751 * sunrpc/clnt_simp.c: Likewise.
752 * sunrpc/clnt_tcp.c: Likewise.
753 * sunrpc/clnt_udp.c: Likewise.
754 * sunrpc/clnt_unix.c: Likewise.
755 * sunrpc/des_crypt.c: Likewise.
756 * sunrpc/des_soft.c: Likewise.
757 * sunrpc/get_myaddr.c: Likewise.
758 * sunrpc/key_call.c: Likewise.
759 * sunrpc/key_prot.c: Likewise.
760 * sunrpc/netname.c: Likewise.
761 * sunrpc/pm_getmaps.c: Likewise.
762 * sunrpc/pm_getport.c: Likewise.
763 * sunrpc/pmap_clnt.c: Likewise.
764 * sunrpc/pmap_prot.c: Likewise.
765 * sunrpc/pmap_prot2.c: Likewise.
766 * sunrpc/pmap_rmt.c: Likewise.
767 * sunrpc/publickey.c: Likewise.
768 * sunrpc/rpc_cmsg.c: Likewise.
769 * sunrpc/rpc_common.c: Likewise.
770 * sunrpc/rpc_dtable.c: Likewise.
771 * sunrpc/rpc_prot.c: Likewise.
772 * sunrpc/rpc_thread.c: Likewise.
773 * sunrpc/rtime.c: Likewise.
774 * sunrpc/svc.c: Likewise.
775 * sunrpc/svc_auth.c: Likewise.
776 * sunrpc/svc_raw.c: Likewise.
777 * sunrpc/svc_run.c: Likewise.
778 * sunrpc/svc_tcp.c: Likewise.
779 * sunrpc/svc_udp.c: Likewise.
780 * sunrpc/svc_unix.c: Likewise.
781 * sunrpc/svcauth_des.c: Likewise.
782 * sunrpc/xcrypt.c: Likewise.
783 * sunrpc/xdr.c: Likewise.
784 * sunrpc/xdr_array.c: Likewise.
785 * sunrpc/xdr_float.c: Likewise.
786 * sunrpc/xdr_intXX_t.c: Likewise.
787 * sunrpc/xdr_mem.c: Likewise.
788 * sunrpc/xdr_rec.c: Likewise.
789 * sunrpc/xdr_ref.c: Likewise.
790 * sunrpc/xdr_sizeof.c: Likewise.
791 * sunrpc/xdr_stdio.c: Likewise.
792
b5c086a2
RM
7932012-05-10 Roland McGrath <roland@hack.frob.com>
794
795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
796 change. Update copyright years.
797
6d74dd09
JM
7982012-05-10 Joseph Myers <joseph@codesourcery.com>
799
800 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
801
28e72501
MK
8022012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
803 Joseph Myers <joseph@codesourcery.com>
804 Paul Pluzhnikov <ppluzhnikov@google.com>
805
806 [BZ #14012]
807 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
808 requiring rpcgen.
809 [cross-compiling] (extra-libs): Likewise.
810 [cross-compiling] (extra-libs-others): Likewise.
811 [cross-compiling] (librpcsvc-routines): Likewise.
812 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
813 [cross-compiling] (omit-deps): Likewise.
814 (sunrpc-CPPFLAGS): New variable.
815 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
816 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
817 (cross-rpcgen-objs): New variable.
818 (extra-objs): Append $(cross-rpcgen-objs).
819 ($(cross-rpcgen-objs)): New rule.
820 ($(objpfx)cross-rpcgen): Likewise.
821 (rpcgen-cmd): Define to use $(built-program-file). Expand
822 comment.
823 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
824 ($(objpfx)x%.stmp): Likewise.
825 * sunrpc/proto.h [IS_IN_build] (_): Define.
826 [IS_IN_build] (_libc_intl_domainname): Likewise.
827
c8c59454
L
8282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
829
830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
831 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
832 and R_X86_64_TPOFF64.
833
6f27cd16
JM
8342012-05-10 Joseph Myers <joseph@codesourcery.com>
835
836 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
837 sysdeps/unix/sysv/syscalls.list.
838 (stime): Likewise.
839 (utime): Likewise.
840 * sysdeps/unix/sysv/syscalls.list: Remove file.
841
02467e1c
PE
8422012-05-10 Paul Eggert <eggert@cs.ucla.edu>
843
844 [BZ #3440]
845 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
846 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
847 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
848 (__LC_IDENTIFICATION): Make these macros useful in #if
849 expressions, as required by C99.
850
da392631
AS
8512012-05-10 Andreas Schwab <schwab@linux-m68k.org>
852
853 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
854 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
855 after this.
856
8115f29b
L
8572012-05-09 H.J. Lu <hongjiu.lu@intel.com>
858
859 * stdlib/longlong.h: Updated from GCC.
860
bdd74070
AJ
8612012-05-09 Andreas Jaeger <aj@suse.de>
862
edfe0dbe
AJ
863 * nscd/nscd.c (run_modes): Make named enum, reorder so that
864 default is first entry.
865 (run_mode): Set type.
866 (main): Remove informal message about syslog.
867 (options): Fix typo.
868
bcfe3a54
ST
869 [BZ #14053]
870 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 871 to asm.
bcfe3a54
ST
872 (lrint): Likewise.
873 (llrintf): Likewise.
874 (llrint): Likewise.
875 (rint): Likewise.
876 (rintf): Likewise.
877 (nearbyint): Likewise.
878 (nearbyintf): Likewise.
bdd74070 879
91d8d69e
AJ
8802012-05-09 Andreas Jaeger <aj@suse.de>
881 Pedro Alves <palves@redhat.com>
882
883 * nscd/nscd.c (run_mode): Use enum.
884 (main): Cleanup coding style issue.
885
bb90b80b
AJ
8862012-05-09 Alexandre Oliva <aoliva@redhat.com>
887 Andreas Jaeger <aj@suse.de>
888
bcfe3a54
ST
889 * nscd/nscd.c (go_background): Replaced with...
890 (run_mode): ... this.
bb90b80b 891 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
892 (options): Add -F --foreground.
893 (main): Implement it.
894 (parse_opt): Parse it.
bb90b80b 895
1a4b75a1
AJ
8962012-05-09 Andreas Jaeger <aj@suse.de>
897
898 [BZ #14083]
899 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
900 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
901 -Wconversion warning.
902 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
903 Likewise.
904
b1cc2472
JM
9052012-05-09 Joseph Myers <joseph@codesourcery.com>
906
907 * conform/data/locale.h-data (NULL): Use macro-constant. Require
908 == 0.
909 (LC_ALL): Use macro-int-constant.
910 (LC_COLLATE): Likewise.
911 (LC_CTYPE): Likewise.
912 (LC_MESSAGES): Likewise.
913 (LC_MONETARY): Likewise.
914 (LC_NUMERIC): Likewise.
915 (LC_TIME): Likewise.
916 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
917 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
919 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
920 Specify type.
921 [C99-based standards] (float_t): Expect type.
922 [C99-based standards] (double_t): Expect type.
923 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
924 type.
925 [C99-based standards] (HUGE_VALL): Likewise.
926 [C99-based standards] (INFINITY): Likewise.
927 [C99-based standards] (NAN): Likewise.
928 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
929 [C99-based standards] (FP_NAN): Likewise.
930 [C99-based standards] (FP_NORMAL): Likewise.
931 [C99-based standards] (FP_SUBNORMAL): Likewise.
932 [C99-based standards] (FP_ZERO): Likewise.
933 [C99-based standards] (FP_FAST_FMA): Use
934 optional-macro-int-constant. Specify type. Require == 1.
935 [C99-based standards] (FP_FAST_FMAF): Likewise.
936 [C99-based standards] (FP_FAST_FMAL): Likewise.
937 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
938 [C99-based standards] (FP_ILOGBNAN): Likewise.
939 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
940 Specify type.
941 [C99-based standards] (MATH_ERREXCEPT): Likewise.
942 [C99-based standards] (math_errhandling): Specify type.
943 [ISO99 || ISO11] (signgam): Do not allow.
944 [non-C99-based standards] (copysignf): Do not allow.
945 [non-C99-based standards] (exp2f): Likewise.
946 [non-C99-based standards] (log2f): Likewise.
947 [non-C99-based standards] (modff): Allow.
948 [non-C99-based standards] (erff): Do not allow.
949 [non-C99-based standards] (erfcf): Likewise.
950 [non-C99-based standards] (gammaf): Likewise.
951 [non-C99-based standards] (hypotf): Likewise.
952 [non-C99-based standards] (j0f): Likewise.
953 [non-C99-based standards] (j1f): Likewise.
954 [non-C99-based standards] (jnf): Likewise.
955 [non-C99-based standards] (lgammaf): Likewise.
956 [non-C99-based standards] (tgammaf): Likewise.
957 [non-C99-based standards] (y0f): Likewise.
958 [non-C99-based standards] (y1f): Likewise.
959 [non-C99-based standards] (ynf): Likewise.
960 [non-C99-based standards] (isnanf): Likewise.
961 [non-C99-based standards] (acoshf): Likewise.
962 [non-C99-based standards] (asinhf): Likewise.
963 [non-C99-based standards] (atanhf): Likewise.
964 [non-C99-based standards] (cbrtf): Likewise.
965 [non-C99-based standards] (expm1f): Likewise.
966 [non-C99-based standards] (ilogbf): Likewise.
967 [non-C99-based standards] (log1pf): Likewise.
968 [non-C99-based standards] (logbf): Likewise.
969 [non-C99-based standards] (nextafterf): Likewise.
970 [non-C99-based standards] (remainderf): Likewise.
971 [non-C99-based standards] (rintf): Likewise.
972 [non-C99-based standards] (scalbf): Likewise.
973 [non-C99-based standards] (copysignl): Likewise.
974 [non-C99-based standards] (exp2l): Likewise.
975 [non-C99-based standards] (log2l): Likewise.
976 [non-C99-based standards] (modfl): Allow.
977 [non-C99-based standards] (erfl): Do not allow.
978 [non-C99-based standards] (erfcl): Likewise.
979 [non-C99-based standards] (gammal): Likewise.
980 [non-C99-based standards] (hypotl): Likewise.
981 [non-C99-based standards] (j0l): Likewise.
982 [non-C99-based standards] (j1l): Likewise.
983 [non-C99-based standards] (jnl): Likewise.
984 [non-C99-based standards] (lgammal): Likewise.
985 [non-C99-based standards] (tgammal): Likewise.
986 [non-C99-based standards] (y0l): Likewise.
987 [non-C99-based standards] (y1l): Likewise.
988 [non-C99-based standards] (ynl): Likewise.
989 [non-C99-based standards] (isnanl): Likewise.
990 [non-C99-based standards] (acoshl): Likewise.
991 [non-C99-based standards] (asinhl): Likewise.
992 [non-C99-based standards] (atanhl): Likewise.
993 [non-C99-based standards] (cbrtl): Likewise.
994 [non-C99-based standards] (expm1l): Likewise.
995 [non-C99-based standards] (ilogbl): Likewise.
996 [non-C99-based standards] (log1pl): Likewise.
997 [non-C99-based standards] (logbl): Likewise.
998 [non-C99-based standards] (nextafterl): Likewise.
999 [non-C99-based standards] (remainderl): Likewise.
1000 [non-C99-based standards] (rintl): Likewise.
1001 [non-C99-based standards] (scalbl): Likewise.
1002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1003 [non-C99-based standards] (FP_*): Do not allow.
1004 [C99-based standards] (FP_*): Change to
1005 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1006 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1007 allow.
1008 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1009 (SIG_ERR): Likewise.
1010 [X/Open-based standards] (SIG_HOLD): Likewise.
1011 (SIG_IGN): Likewise.
1012 (SIGABRT): Use macro-int-constant. Specify type. Require
1013 positive value.
1014 (SIGFPE): Likewise.
1015 (SIGILL): Likewise.
1016 (SIGINT): Likewise.
1017 (SIGSEGV): Likewise.
1018 (SIGTER): Likewise.
1019 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1020 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1021 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1022 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1023 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1024 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1025 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1026 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1027 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1028 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1029 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1030 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1031 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1032 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1033 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1034 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1035 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1036 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1037 [X/Open-based standards] (SIGTRAP): Likewise.
1038 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1039 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1040 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1041 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1042 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1043 allow.
1044
b9f1922d
IW
10452012-05-08 Ian Wienand <ianw@vmware.com>
1046
1047 [BZ #14080]
1048 * time/tzset.c (__tzset_parse_tz): Update default rules for
1049 daylight time changes in the Energy Policy Act of 2005.
1050
1db86e88
AJ
10512012-05-09 Andreas Jaeger <aj@suse.de>
1052
1053 [BZ #13983]
1054 * elf/ldconfig.c (parse_conf): Change string to make clear that
1055 ldconfig only issued a warning if ld.so.conf does not exist.
1056
dee4a4e3
DM
10572012-05-08 David S. Miller <davem@davemloft.net>
1058
ee0db190
DM
1059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1060 movxtod instead of popping the value on the stack.
1061
dee4a4e3
DM
1062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1063
6a43ec98
CD
10642012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1065
1066 * config.h.in: Add HAVE_ARM_PCS_VFP.
1067
05c2c961
RMG
10682012-05-08 Roland Mc Grath <roland@hack.frob.com>
1069
bcfe3a54
ST
1070 [BZ #13979]
1071 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1072 checking but the checks are disabled for any reason.
05c2c961 1073
4b30f61a
L
10742012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1075
1076 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1077 and ELF64_R_TYPE with ELFW(R_TYPE).
1078
eee2bc67
JM
10792012-05-08 Joseph Myers <joseph@codesourcery.com>
1080
7ea5391a
JM
1081 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1082 (ulimit): Likewise.
1083
eee2bc67
JM
1084 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1085 (settimeofday): Likewise.
1086
abb66a67
MF
10872012-05-08 Mike Frysinger <vapier@gentoo.org>
1088
1089 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1090 a struct th_u2 inside the union, and move tu_block/tu_code into
1091 a new th_u3 union of tu_block/tu_code inside of that. Move
1092 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1093 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1094 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1095 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1096 (th_stuff): Change to th_u1.tu_stuff.
1097 (th_data): Define.
1098 (th_msg): Change to th_u1.th_u2.tu_data.
1099
7f18b530
DM
11002012-05-07 David S. Miller <davem@davemloft.net>
1101
05760585
DM
1102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1103
7f18b530
DM
1104 [BZ #14074]
1105 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1106 (SETUP_PIC_REG): Use it.
1107 (SETUP_PIC_REG_LEAF): Use it.
1108
495fd99f
JM
11092012-05-07 Joseph Myers <joseph@codesourcery.com>
1110
1111 [BZ #13885]
1112 [BZ #13923]
1113 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1114 USE_AS_EXPM1L.
1115 (EXPL_FINITE): Likewise.
1116 (FLDLOG): Likewise.
1117 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1118 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1119 e_expl.S.
1120 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1121 USE_AS_EXPM1L.
1122 (EXPL_FINITE): Likewise.
1123 (FLDLOG): Likewise.
1124 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1125 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1126 e_expl.S.
1127 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1128 test of -max_value argument for long double.
1129 * sysdeps/i386/fpu/libm-test-ulps: Update.
1130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1131
6693d694
DM
11322012-05-06 David S. Miller <davem@davemloft.net>
1133
1134 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1135 quad soft-float symbols whose references which are compiler
1136 generated.
1137 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1138
6c23e11c
JM
11392012-05-06 Joseph Myers <joseph@codesourcery.com>
1140
d8b82cad
JM
1141 [BZ #13884]
1142 [BZ #13914]
1143 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1144 USE_AS_EXP10L.
1145 (EXPL_FINITE): Likewise.
1146 (FLDLOG): Likewise.
1147 (c0): Likewise.
1148 (c1): Likewise.
1149 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1150 Adjust comments for base varying.
1151 (__expl_finite): Change alias to EXPL_FINITE.
1152 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1153 e_expl.S.
1154 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1155 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1156 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1157 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1158 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1159 USE_AS_EXP10L.
1160 (EXPL_FINITE): Likewise.
1161 (FLDLOG): Likewise.
1162 (c0): Likewise.
1163 (c1): Likewise.
1164 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1165 Adjust comments for base varying.
1166 (__expl_finite): Change alias to EXPL_FINITE.
1167 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1168 tests for bugs.
1169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1170
6c23e11c
JM
1171 [BZ #14064]
1172 * math/libm-test.inc (check_float_internal): Correct ulp
1173 calculation for subnormal expected results.
1174
29ba805c
AJ
11752012-05-06 Andreas Jaeger <aj@suse.de>
1176
1177 * Makeconfig (+math-flags): New, set to -frounding-math.
1178 (+cflags): Add +math-flags so that all of glibc gets compiled with
1179 it.
1180
1181 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1182
7b17aeda
JM
11832012-05-05 Joseph Myers <joseph@codesourcery.com>
1184
5779f134
JM
1185 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1186 Disable one test.
1187
41498f4d
JM
1188 [BZ #13787]
1189 [BZ #13922]
1190 [BZ #14036]
1191 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1192 (__ieee754_expl): Allow for and saturate large arguments.
1193 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1194 (u_threshold): Likewise.
1195 (__exp): Call __ieee754_exp before checking for overflow and
1196 underflow.
1197 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1198 (u_threshold): Likewise.
1199 (__expf): Call __ieee754_expf before checking for overflow and
1200 underflow.
1201 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1202 (u_threshold): Likewise.
1203 (__expl): Call __ieee754_expl before checking for overflow and
1204 underflow.
1205 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1206 (__ieee754_expl): Allow for and saturate large arguments.
1207 * math/libm-test.inc (exp_test): Add another test. Do not allow
1208 missing overflow exception on overflow.
1209 (expm1_test): Do not allow missing overflow exception on overflow.
1210
6698b8bf
JM
1211 * sysdeps/i386/fpu/e_expl.c: Move to ...
1212 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1213 rather than using inline asm.
1214 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1215 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1216 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1217
7b17aeda
JM
1218 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1219 (nice): Likewise.
1220 (poll): Likewise.
1221 (signal): Likewise.
1222 (time): Likewise.
1223 (times): Likewise.
1224
f7c85819
JM
12252012-05-04 Joseph Myers <joseph@codesourcery.com>
1226
1227 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1228 sysdeps/unix/common/syscalls.list.
1229 (fchmod): Likewise.
1230 (fchown): Likewise.
1231 (ftruncate): Likewise.
1232 (getrusage): Likewise.
1233 (gettimeofday): Likewise.
1234 (setpgid): Likewise.
1235 (setregid): Likewise.
1236 (setreuid): Likewise.
1237 (sigaction): Likewise.
1238 (truncate): Likewise.
1239 (vhangup): Likewise.
1240 * sysdeps/unix/common/syscalls.list: Remove file.
1241 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1242 * sysdeps/unix/sysv/linux/Implies: Likewise.
1243
336270d0
L
12442012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1248 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1249 Moved to ...
1250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1251 Here.
1252 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1253 to ...
1254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1255 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1256 to ...
1257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1258 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1259 to ...
1260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1261 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1262 to ...
1263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1264 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1265 to ...
1266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1267 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1268 to ...
1269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1270 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1271 to ...
1272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1273 Here.
1274 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1275 to ...
1276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1277 Here.
1278 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1279 to ...
1280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1281 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1282 Moved to ...
1283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1284 Here.
1285 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1286 to ...
1287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1288
d128e450
JM
12892012-05-04 Joseph Myers <joseph@codesourcery.com>
1290
fa8ee516
JM
1291 * sysdeps/unix/common/bits/dirent.h: Remove file.
1292 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1293
d128e450
JM
1294 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1295 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1296 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1297 * sysdeps/unix/bsd/isatty.c: Likewise.
1298 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1299 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1300 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1301
ff8faaf0 13022012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1303
62881be4 1304 [BZ #13563]
31dc8730
AZ
1305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1306 long double comparison inaccuracies.
1307 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1309
6fef930c
AS
13102012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1311
1312 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1314
8f203e6c
JM
13152012-05-04 Joseph Myers <joseph@codesourcery.com>
1316
1317 [BZ #14049]
1318 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1319 nonzero digits before rounding a hex value.
1320 * stdlib/tst-strtod.c (tests): Add another test.
1321
5197d9c2
AK
13222012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1323
1324 * sysdeps/s390/fpu/libm-test-ulps: Update.
1325
f0c1dedf
AJ
13262012-05-03 Andreas Jaeger <aj@suse.de>
1327
1328 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1329 does not get optimized out.
1330 (malloc_opt_barrier): New.
1331
a65ef2ae 13322012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1333 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1334
2b942cb7 1335 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1336 intermediate file deletion.
2b942cb7 1337 (generated): Add .symlist files.
a65ef2ae 1338
54b71e02
JM
13392012-05-03 Joseph Myers <joseph@codesourcery.com>
1340
1341 [BZ #13775]
1342 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1343 Redirect under this condition.
1344 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1345 [__USE_GNU] (__dprintf_chk): Not under this condition.
1346 [__USE_GNU] (__vdprintf_chk): Likewise.
1347 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1348 under this condition.
1349 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1350 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1351 [__USE_XOPEN2K8] (vdprintf): Likewise.
1352 [__USE_GNU] (__dprintf_chk): Not under this condition.
1353 [__USE_GNU] (__vdprintf_chk): Likewise.
1354 [__USE_GNU] (dprintf): Likewise.
1355 [__USE_GNU] (vdprintf): Likewise.
1356
d3dfcc41
RM
13572012-05-03 Roland McGrath <roland@hack.frob.com>
1358
1359 * elf/Makefile (common-generated): Set this instead of generated for
1360 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1361 $(all-built-dso)-derived lists.
1362
7ac30cc5
AJ
13632012-05-03 Andreas Jaeger <aj@suse.de>
1364
0c51e550
AJ
1365 * sysdeps/i386/fpu/libm-test-ulps: Update.
1366
7ac30cc5
AJ
1367 * FAQ: Removed.
1368 * FAQ.in: Likewise.
1369 * scripts/gen-FAQ.pl: Likewise.
1370 * manual/install.texi (Installation): Point to online location of
1371 FAQ.
1372 * Makefile (files-for-dist): Remove FAQ.
1373 (FAQ): Remove.
1374
d4c2917f
AM
13752012-05-02 Allan McRae <allan@archlinux.org>
1376
1377 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1378 (LDFLAGS-reldepmod5.so): Likewise.
1379 (LDFLAGS-reldep6mod1.so): Likewise.
1380 (LDFLAGS-reldep6mod4.so): Likewise.
1381 (LDFLAGS-reldep8mod3.so): Likewise.
1382 (LDFLAGS-unload4mod1.so): Likewise.
1383 (LDFLAGS-unload4mod2.so): Likewise.
1384 (LDFLAGS-tst-initorder): Likewise.
1385 (LDFLAGS-tst-initordera2.so): Likewise.
1386 (LDFLAGS-tst-initordera3.so): Likewise.
1387 (LDFLAGS-tst-initordera4.so): Likewise.
1388 (LDFLAGS-tst-initorderb2.so): Likewise.
1389 (LDFLAGS-noload): Likewise.
1390 (LDFLAGS-next): Likewise.
1391 (LDFLAGS-order2mod1.so): Likewise.
1392 (LDFLAGS-order2mod2.so): Likewise.
1393 (LDFLAGS-tst-initorder2): Likewise.
1394 (LDFLAGS-tst-initorder2a.so): Likewise.
1395 (LDFLAGS-tst-initorder2b.so): Likewise.
1396 (LDFLAGS-tst-initorder2c.so): Likewise.
1397 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1398
d77f993f
DM
13992012-05-02 David S. Miller <davem@davemloft.net>
1400
1401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1402
171a70b4
PP
14032012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1404
1405 [BZ #14055]
1406 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1407
0be196ad
AJ
14082012-05-02 Andreas Jaeger <aj@suse.de>
1409
1410 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1411 since we manipulate rounding mode.
1412 (CPPFLAGS-test-idouble.c): Likewise.
1413 (CPPFLAGS-test-ifloat.c): Likewise.
1414 (CFLAGS-test-ldouble.c): Likewise.
1415 (CFLAGS-test-double.c): Likewise.
1416 (CFLAGS-test-float.c): Likewise.
1417 (CFLAGS-test-misc.c): Likewise.
1418 (CFLAGS-test-test-fenv.c): Likewise.
1419
4f9d04aa
AZ
14202012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421
2b942cb7
RM
1422 [BZ #2550]
1423 [BZ #2570]
1424 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1425 comparisons to determine direction to adjust input.
4f9d04aa 1426
82a79e7d
RM
14272012-05-01 Roland McGrath <roland@hack.frob.com>
1428
f5a01ca9
RM
1429 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1430 output to the target.
1431
90fe4186
RM
1432 * scripts/localplt.awk: New file.
1433 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1434 (check-localplt-CFLAGS): Variable removed.
1435 ($(all-built-dso:=.jmprel)): New static pattern rule.
1436 (generated): Add those targets.
1437 (localplt-built-dso): New variable.
1438 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1439
1440 * elf/check-localplt.c: File removed.
1441
82397ed6
RM
1442 * scripts/check-execstack.awk: New file.
1443 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1444 (check-execstack-CFLAGS): Variable removed.
1445 ($(objpfx)check-execstack.h): Target removed.
1446 ($(objpfx)execstack-default): New target.
1447 (generated): Add that instead of check-execstack.h.
1448 ($(all-built-dso:=.phdr)): New static pattern rule.
1449 (generated): Add those targets.
1450 * elf/check-execstack.c: File removed.
1451
82a79e7d
RM
1452 * scripts/check-textrel.awk: New file.
1453 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1454 (check-textrel-CFLAGS): Variable removed.
1455 (all-built-dso): Use := to define.o
1456 ($(all-built-dso:=.dyn)): New static pattern rule.
1457 (generated): Add those targets.
1458 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1459 * config.make.in (READELF): New substituted variable.
1460 * elf/check-textrel.c: File removed.
1461
62fde54f 14622012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1463
615605c9
JM
1464 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1465 allow.
1466 * conform/data/ctype.h-data [C99-based standards] (isblank):
1467 Expect function.
1468 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1469 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1470 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1471 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1472 Specify type. Require positive value.
1473 (EILSEQ): Likewise.
1474 (ERANGE): Likewise.
1475 [ISO || POSIX] (EILSEQ): Do not expect.
1476 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1477 Specify type. Require positive value.
1478 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1479 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1480 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1481 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1482 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1483 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1484 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1485 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1486 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1487 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1488 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1490 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1491 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1492 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1493 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1494 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1495 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1496 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1497 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1498 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1499 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1500 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1501 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1502 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1503 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1504 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1505 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1506 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1507 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1508 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1509 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1510 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1511 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1512 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1513 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1514 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1515 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1516 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1517 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1518 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1519 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1520 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1521 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1522 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1523 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1524 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1525 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1526 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1527 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1528 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1529 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1530 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1531 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1532 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1533 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1534 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1535 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1536 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1537 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1538 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1539 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1540 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1541 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1542 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1543 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1544 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1545 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1546 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1547 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1548 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1549 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1550 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1551 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1552 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1553 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1554 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1555 Require >= 2.
1556 (FLT_ROUNDS): Expect as macro, not constant.
1557 (FLT_MANT_DIG): Use macro-int-constant.
1558 (DBL_MANT_DIG): Likewise.
1559 (LDBL_MANT_DIG): Likewise.
1560 (FLT_DIG): Likewise.
1561 (DBL_DIG): Likewise.
1562 (LDBL_DIG): Likewise.
1563 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1564 (DBL_MIN_EXP): Likewise.
1565 (LDBL_MIN_EXP): Likewise.
1566 (FLT_MAX_EXP): Use macro-int-constant.
1567 (DBL_MAX_EXP): Likewise.
1568 (LDBL_MAX_EXP): Likewise.
1569 (FLT_MAX_10_EXP): Likewise.
1570 (DBL_MAX_10_EXP): Likewise.
1571 (LDBL_MAX_10_EXP): Likewise.
1572 (FLT_MAX): Use macro-constant.
1573 (DBL_MAX): Likewise.
1574 (LDBL_MAX): Likewise.
1575 (FLT_EPSILON): Use macro-constant. Give upper bound.
1576 (DBL_EPSILON): Likewise.
1577 (LDBL_EPSILON): Likewise.
1578 (FLT_MIN): Likewise.
1579 (DBL_MIN): Likewise.
1580 (LDBL_MIN): Likewise.
1581 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1582 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1583 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1584 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1585 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1586 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1587 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1588 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1589 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1590 [ISO11] (FLT_TRUE_MIN): Likewise.
1591 [ISO11] (LDBL_TRUE_MIN): Likewise.
1592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1593 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1594 (SCHAR_MIN): Use macro-int-constant. Specify type.
1595 (SCHAR_MAX): Likewise.
1596 (UCHAR_MAX): Likewise.
1597 (CHAR_MIN): Likewise.
1598 (CHAR_MAX): Likewise.
1599 (MB_LEN_MAX): Use macro-int-constant.
1600 (SHRT_MIN): Use macro-int-constant. Specify type.
1601 (SHRT_MAX): Likewise.
1602 (USHRT_MAX): Likewise.
1603 (INT_MAX): Likewise.
1604 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1605 bound negative.
1606 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1607 bound with "U".
1608 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1609 bound with "L".
1610 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1611 bound negative. Suffix upper bound with "L".
1612 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1613 bound with "UL".
1614 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1615 Specify type.
1616 [C99-based standards] (LLONG_MAX): Likewise.
1617 [C99-based standards] (ULLONG_MAX): Likewise.
1618 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1619 == 0.
1620 [ISO11] (max_align_t): Require type.
1621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1622
c9140a62
JM
1623 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1624 from $CFLAGS, without defining away __attribute__ calls.
1625 (checknamespace): Use $CFLAGS_namespace.
1626
9af0bf29
JM
1627 * conform/conformtest.pl (@keywords): Only include C99 keywords
1628 for standards based on C99 or C11.
1629
343222a2
JM
1630 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1631 Disable tests.
1632 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1633 UNIX98]: Likewise.
1634
661f8cf0
JM
1635 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1636 usability of symbols in #if.
1637
ee74b9cb
JM
1638 * conform/conformtest.pl: If macro or constant types start
1639 "promoted:", expect the symbol to be of the following type
1640 promoted by the integer promotions.
62fde54f 1641
aafc49b3
JM
1642 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1643 in one place. Also handle "macro-constant".
1644
fefdf574
JM
1645 * conform/conformtest.pl: Only accept expected macro values with
1646 "==". Parse all "macro" lines in one place.
1647 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1648
f2d922fe
JM
1649 * conform/conformtest.pl: Handle braced types on "constant" lines
1650 instead of handling "typed-constant".
1651 * conform/data/signal.h-data: Use "constant" instead of
1652 "typed-constant".
1653
d22956c9
JM
1654 * conform/conformtest.pl: Handle "optional-" at start of lines in
1655 one place rather than duplicating several cases. Handle each
1656 format of "macro" line with initial "optional-".
1657
028e2e38
JM
1658 * conform/conformtest.pl: Only accept expected constant or
1659 optional-constant values with "==". Parse all "constant" lines in
1660 one place. Parse all "optional-constant" lines in one place.
1661 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1662 * conform/data/fmtmsg.h-data: Likewise.
1663 * conform/data/netinet/in.h-data: Likewise.
1664 * conform/data/tar.h-data: Likewise.
1665 * conform/data/limits.h-data: Use "==" form on "constant" and
1666 "optional-constant" lines.
1667
1b8f2850
JM
1668 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1669 Use -std=c99 for XOPEN2K.
1670 (@knownproblems): Remove.
1671 (newtoken): Don't check %isknown.
1672
a05a144b
JM
1673 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1674 Do not expect macro.
1675 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1687 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1688 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1705 [XPG3] (acosh): Likewise.
1706 [XPG3] (asinh): Likewise.
1707 [XPG3] (atanh): Likewise.
1708 [XPG3] (cbrt): Likewise.
1709 [XPG3] (expm1): Likewise.
1710 [XPG3] (ilogb): Likewise.
1711 [XPG3] (log1p): Likewise.
1712 [XPG3] (logb): Likewise.
1713 [XPG3] (nextafter): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1716 [XPG3] (remainder): Likewise.
1717 [XPG3] (rint): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1725 [UNIX98 || XOPEN2K] (scalb): Expect.
1726 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1727 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1742 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1743 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1744 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1745 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1746 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1748 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1752 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1753 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1755 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1756 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1757 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1758 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1759 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1760 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1761 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1762 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1763 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1772 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1773 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1774 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1775 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1776 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1777 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1778 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1779 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1780 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1781 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1784 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1785 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1790 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1791 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1792 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1793 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1794 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1795 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1796 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1797 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1798 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1799 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1801 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1802 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1803 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1804 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1805 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1806 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1807 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1808 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1810 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1811 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1812 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1813 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1814 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1815 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1816 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1817 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1818 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1819 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1820 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1821 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1822 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1823 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1824 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1825 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1826 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1827 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1829 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1830 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1831 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1832 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1833 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1834 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1835 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1836 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1837 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1838 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1839 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1840 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1841 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1842 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1843 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1844 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1845 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1846 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1847 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1848 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1849 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1850 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1851 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1852 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1853 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1854 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1855 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1856 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1857 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1858 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1859 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1860 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1861 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1862 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1863
73c5ebe3
JM
1864 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1865 _XOPEN_SOURCE_EXTENDED for XPG4.
1866
39c33b6c
JM
1867 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1868
62fde54f
JM
1869 * Makeconfig (localtime): Remove variable.
1870 (inst_localtime-file): Likewise.
1871
0741d64c
AS
18722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1873
1874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1875 Update.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1877 Update.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1879 Update.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1881 Update.
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1883 Update.
1884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1885 Update.
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1887 Update.
1888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1889 Update.
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1891 Update.
1892
7cb029ee
JM
18932012-05-01 Joseph Myers <joseph@codesourcery.com>
1894
1895 [BZ #2550]
1896 [BZ #2570]
1897 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1898 comparisons to determine direction to adjust input.
1899 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1900 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1901 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1902 Likewise.
1903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1904 Likewise.
1905 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1906 Likewise.
1907 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1908 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1909 Likewise.
1910 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1911 Likewise.
1912 * math/libm-test.inc (nexttoward_test): Add more tests.
1913
412bd966
AS
19142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1915
1916 [BZ #14040]
1917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1918 in version GLIBC_2.1, not GLIBC_2.0.
1919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1920 Likewise.
1921
9568c0c2
JM
19222012-04-30 Joseph Myers <joseph@codesourcery.com>
1923
adfbc8ac
JM
1924 [BZ #13942]
1925 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1926 (1 - x) * (1 + x).
1927 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1928 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1929 * math/libm-test.inc (acos_test): Add more tests.
1930 (asin_test): Likewise.
1931 * sysdeps/i386/fpu/libm-test-ulps: Update.
1932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1933
5ba3cc69
JM
1934 [BZ #14034]
1935 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1936 of square root.
1937 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1938 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1939 * math/libm-test.inc (acos_test_tonearest): New function.
1940 (acos_test_towardzero): Likewise.
1941 (acos_test_downward): Likewise.
1942 (acos_test_upward): Likewise.
1943 (asin_test_tonearest): Likewise.
1944 (asin_test_towardzero): Likewise.
1945 (asin_test_downward): Likewise.
1946 (asin_test_upward): Likewise.
1947 (main): Call the new functions.
1948 * sysdeps/i386/fpu/libm-test-ulps: Update.
1949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1950
9568c0c2
JM
1951 [BZ #13884]
1952 [BZ #13924]
1953 * math/e_exp10.c: Include <float.h>.
1954 (__ieee754_exp10): Handle underflow here rather than multiplying
1955 large negative argument by M_LN10.
1956 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1957 of __ieee754_expf.
1958 * math/e_exp10l.c: Include <float.h>.
1959 (__ieee754_exp10l): Handle underflow here rather than multiplying
1960 large negative argument by M_LN10l.
1961 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1962 spurious overflow exception on underflow.
1963
5ac3ea17
MP
19642012-04-29 Marek Polacek <polacek@redhat.com>
1965
1966 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1967 (__fortify_function): New macro.
1968 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1969 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1970 __extern_always_inline.
1971 * libio/bits/stdio2.h: Likewise.
1972 * libio/bits/stdio.h: Likewise.
1973 * string/string.h: Likewise.
1974 * string/bits/string3.h: Likewise.
1975 * include/stdio.h: Likewise.
1976 * stdlib/bits/stdlib.h: Likewise.
1977 * stdlib/stdlib.h: Likewise.
1978 * rt/bits/mqueue2.h: Likewise.
1979 * rt/mqueue.h: Likewise.
1980 * posix/bits/unistd.h: Likewise.
1981 * posix/unistd.h: Likewise.
1982 * io/bits/poll2.h: Likewise.
1983 * io/bits/fcntl2.h: Likewise.
1984 * io/fcntl.h: Likewise.
1985 * io/sys/poll.h: Likewise.
1986 * misc/bits/syslog.h: Likewise.
1987 * misc/bits/syslog-ldbl.h: Likewise.
1988 * misc/sys/syslog.h: Likewise.
1989 * socket/bits/socket2.h: Likewise.
1990 * socket/sys/socket.h: Likewise.
1991 * debug/tst-chk1.c: Likewise.
1992 * wcsmbs/bits/wchar2.h: Likewise.
1993 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1994 * wcsmbs/wchar.h: Likewise.
1995
ecf0ebfb
AJ
19962012-04-29 Andreas Jaeger <aj@suse.de>
1997
1998 * Makerules (tests): Remove enable-check-abi protection.
1999 (check-abi-warn): Remove.
2000 (check-abi-%): Remove check-abi-warn usage.
2001
2002 * configure.in: Remove check-abi configure option.
2003 * configure: Regenerated.
2004 * config.make.in (enable-check-abi): Remove.
2005
6d5c57fa
AS
20062012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2007
24c5d07e 2008 [BZ #14033]
ded5180a
AS
2009 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2010 double functions to double *_finite functions.
2011
7e0d315d
AS
2012 [BZ #13941]
2013 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2014 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2015 LDBL_MIN_EXP.
2016 * stdio-common/Makefile (tests): Add tst-sprintf3.
2017 * stdio-common/tst-sprintf3.c: New file.
2018
6d5c57fa
AS
2019 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2020 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2021
0749ff8b
JM
20222012-04-28 Joseph Myers <joseph@codesourcery.com>
2023
2024 * conform/conformtest.pl: Remove duplicate typed-constant
2025 handling.
2026
8dbd5d7b
DM
20272012-04-28 David S. Miller <davem@davemloft.net>
2028
2029 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2030 (check-abi-%): Remove AWK script prerequisite and explicit
2031 abilist directory.
2032 (check-abi): Rewrite to just diff the symlist with the abilist.
2033 (config-tls, config-abi-config): Delete, no longer used.
2034 (update-abi-%): Remove AWK script and explicit abilist directory.
2035 (update-abi): Rewrite to simply compare and conditionally copy the
2036 symlist and the sysdep abilist file. Remove update-abi-config
2037 checks.
2038 * abilist/ld.abilist: Remove.
2039 * abilist/libBrokenLocale.abilist: Remove.
2040 * abilist/libanl.abilist: Remove.
2041 * abilist/libcrypt.abilist: Remove.
2042 * abilist/libdl.abilist: Remove.
2043 * abilist/librt.abilist: Remove.
2044 * abilist/libthread_db.abilist: Remove.
2045 * abilist/libutil.abilist: Remove.
2046 * scripts/extract-abilist.awk: Remove.
2047 * scripts/merge-abilist.awk: Remove.
2048 * sysdeps/generic/libcidn.abilist: New file.
2049 * sysdeps/generic/libnss_compat.abilist: New file.
2050 * sysdeps/generic/libnss_db.abilist: New file.
2051 * sysdeps/generic/libnss_dns.abilist: New file.
2052 * sysdeps/generic/libnss_files.abilist: New file.
2053 * sysdeps/generic/libnss_hesiod.abilist: New file.
2054 * sysdeps/generic/libnss_nis.abilist: New file.
2055 * sysdeps/generic/libnss_nisplus.abilist: New file.
2056 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2057 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2058 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2059 file.
2060 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2061 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2062 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2063 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2064 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2065 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2066 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2067 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2068 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2069 file.
2070 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2071 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2072 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2073 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2074 file.
2075 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2076 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2077 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2078 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2079 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2080 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2081 file.
2082 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2083 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2084 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2085 file.
2086 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2088 New file.
2089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2090 New file.
2091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2092 New file.
2093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2094 New file.
2095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2096 New file.
2097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2098 New file.
2099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2100 New file.
2101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2102 New file.
2103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2104 New file.
2105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2106 New file.
2107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2108 New file.
2109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2110 New file.
2111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2112 New file.
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2114 file.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2116 New file.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2118 New file.
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2120 file.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2122 New file.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2124 New file.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2126 file.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2128 New file.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2130 New file.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2132 New file.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2134 New file.
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2136 New file.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2138 New file.
2139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2141 file.
2142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2143 New file.
2144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2145 file.
2146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2147 file.
2148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2149 file.
2150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2151 file.
2152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2153 file.
2154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2155 New file.
2156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2157 file.
2158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2159 file.
2160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2161 New file.
2162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2163 file.
2164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2166 file.
2167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2168 New file.
2169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2170 file.
2171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2172 file.
2173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2174 file.
2175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2176 file.
2177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2178 file.
2179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2180 New file.
2181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2182 file.
2183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2184 file.
2185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2186 New file.
2187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2188 file.
2189 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2190 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2191 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2192 file.
2193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2194 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2195 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2196 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2197 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2198 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2199 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2200 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2201 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2202 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2205 file.
2206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2207 New file.
2208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2209 file.
2210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2211 file.
2212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2213 file.
2214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2215 file.
2216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2217 file.
2218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2219 New file.
2220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2221 New file.
2222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2223 file.
2224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2225 New file.
2226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2227 file.
2228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2230 file.
2231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2232 New file.
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2234 file.
2235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2236 file.
2237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2238 file.
2239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2240 file.
2241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2242 file.
2243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2244 New file.
2245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2246 New file.
2247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2248 file.
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2250 New file.
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2252 file.
2253
41d73a1b
JM
22542012-04-28 Joseph Myers <joseph@codesourcery.com>
2255
2256 * conform/conformtest.pl: Fix typo in handling typed-constant from
2257 allow-header.
2258
28aeeda4
JM
22592012-04-27 Joseph Myers <joseph@codesourcery.com>
2260
adae8f5e
JM
2261 * README: Cut down references to pre-2.6 Linux kernels and
2262 Linuxthreads. Update lists of configurations in libc and ports
2263 and sort alphabetically. Say "or newer" with Linux kernel version
2264 requirements.
2265
28aeeda4
JM
2266 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2267
a462cb63
RA
22682012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2269
2270 [BZ #887]
2271 * math/libm-test.inc (logb_test_downward): New test to expose
2272 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2273 rounding mode.
2274
6ad3493e
JM
22752012-04-27 Joseph Myers <joseph@codesourcery.com>
2276
2277 [BZ #14027]
2278 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2279 to be done.
2280 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2281 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2282
2ce4f015
JM
22832012-04-26 Joseph Myers <joseph@codesourcery.com>
2284
5aeb141a
JM
2285 * sysdeps/unix/i386/brk.S: Remove file.
2286 * sysdeps/unix/i386/dl-brk.S: Likewise.
2287 * sysdeps/unix/i386/pipe.S: Likewise.
2288 * sysdeps/unix/i386/sigreturn.S: Likewise.
2289 * sysdeps/unix/i386/syscall.S: Likewise.
2290 * sysdeps/unix/i386/vfork.S: Likewise.
2291 * sysdeps/unix/i386/wait.S: Likewise.
2292
7143acae
JM
2293 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2294 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2295
2ce4f015
JM
2296 * configure.in (arm*-none*): Do not allow without
2297 --enable-hacker-mode.
2298 (netbsd*): Remove case setting base_os.
2299 (386bsd*): Likewise.
2300 (freebsd*): Likewise.
2301 (bsdi*): Likewise.
2302 (osf*): Likewise.
2303 (sunos*): Likewise.
2304 (ultrix*): Likewise.
2305 (newsos*): Likewise.
2306 (dynix*): Likewise.
2307 (*bsd*): Likewise.
2308 (sysv*): Likewise.
2309 (isc*): Likewise.
2310 (esix*): Likewise.
2311 (sco*): Likewise.
2312 (minix*): Likewise.
2313 (irix4*): Likewise.
2314 (irix6*): Likewise.
2315 (solaris[2-9]*): Likewise.
2316 (none): Likewise.
2317 * configure: Regenerated.
2318
0ac229c8
AZ
23192012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2320
2321 [BZ #11521]
2322 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2323 overflow or cancellation in calculating denominator.
2324 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2326 down expression to avoid unexpected rounding in newer GCCs.
2327 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2328
33f244f4
DM
23292012-04-26 David S. Miller <davem@davemloft.net>
2330
2331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2332 long-double compat symbols.
2333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2346
cfa1f3e8
DM
23472012-04-25 David S. Miller <davem@davemloft.net>
2348
2349 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2350 HWCAP_* values only after the memory barriers have been defined.
2351 (atomic_full_barrier): Define.
2352 (atomic_read_barrier): Define.
2353 (atomic_write_barrier): Define.
2354
6e236b92
SP
23552012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2356
2357 * shlib-versions: Add libgcc_s version information.
2358 * sysdeps/generic/libgcc_s.h: Remove.
2359 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2360 libgcc_s.h.
2361 * sysdeps/gnu/unwind-resume.c: Likewise.
2362 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2363
aab39a09
DM
23642012-04-25 David S. Miller <davem@davemloft.net>
2365
2366 * sysdeps/unix/sparc/brk.S: Delete.
2367 * sysdeps/unix/sparc/dl-brk.S: Delete.
2368 * sysdeps/unix/sparc/pipe.S: Delete.
2369 * sysdeps/unix/sparc/sysdep.S: Delete.
2370 * sysdeps/unix/sparc/sysdep.h: Delete.
2371 * sysdeps/unix/sparc/vfork.S: Delete.
2372 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2373 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2374 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2375 ret_ERRVAL, r0, r1, MOVE): Define.
2376 (JUMPTARGET): Remove.
2377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2378 sysdeps/unix/sparc/sysdep.h
2379 (ENTRY, END): Remove.
2380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2381
a3cc4f48
JM
23822012-04-25 Joseph Myers <joseph@codesourcery.com>
2383
2ed8cda2
JM
2384 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2385 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2386 -DIS_IN_build.
2387
35d76d59
JM
2388 * timezone/README: Update upstream location and email address for
2389 tzcode and tzdata.
2390 * timezone/zdump.c: Update from tzcode 2012b.
2391 * timezone/zic.c: Likewise.
2392
a3cc4f48
JM
2393 * configure.in (libc_cv_as_needed): Remove test.
2394 * configure: Regenerated.
2395 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2396 conditional definition.
2397 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2398 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2399 * config.make.in (have-as-needed): Remove variable.
2400
ceab42c3
SP
24012012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2402 Paul Pluzhnikov <ppluzhnikov@google.com>
2403
2404 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2405 strings correctly.
2406
3ce2865f
CLT
24072012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2408
2409 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2410 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2411 * sysdeps/sh/strlen.S: Likewise.
2412
f37e0d68
JM
24132012-04-24 Joseph Myers <joseph@codesourcery.com>
2414
ae186e9a
JM
2415 * sysdeps/unix/fork.S: Remove file.
2416 * sysdeps/unix/i386/fork.S: Likewise.
2417 * sysdeps/unix/sparc/fork.S: Likewise.
2418
b96914af
JM
2419 * sysdeps/unix/system.c: Remove file.
2420 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2421
f37e0d68
JM
2422 * sysdeps/unix/getegid.S: Remove file.
2423 * sysdeps/unix/geteuid.S: Likewise.
2424
87ef29ca
RM
24252012-04-24 Roland McGrath <roland@hack.frob.com>
2426
83bcd236
RM
2427 * scripts/check-localplt.awk: New file.
2428 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2429 of diff.
2430 * scripts/data/localplt-generic.data: Add a comment.
2431
87ef29ca
RM
2432 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2433 NODE when __dir_mkfile failed.
2434 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2435 Reported by Ludovic Courtès <ludo@gnu.org>.
2436
e5a6e567
AJ
24372012-04-24 Andreas Jaeger <aj@suse.de>
2438
2439 * Makerules (common-clean): Also remove gen-as-const-headers
2440 files.
2441
c1820385
JM
24422012-04-24 Joseph Myers <joseph@codesourcery.com>
2443
2444 * Makerules (native-compile): Do not change working directory for
2445 build. Use $(OUTPUT_OPTION) in command.
2446 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2447
94e02fc4
AZ
24482012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2449
2450 [BZ #13886]
2451 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2452 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2453 * math/libm-test.inc (floor_test): Add more tests.
2454 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2455
3a533ca3
JM
24562012-04-24 Joseph Myers <joseph@codesourcery.com>
2457
940ab4b3
JM
2458 * sysdeps/unix/getdents.c: Remove file.
2459 * sysdeps/unix/sysv/getdents.c: Likewise.
2460 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2461
90e037bd
JM
2462 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2463 sysdeps/unix/mman/syscalls.list.
2464 (mmap): Likewise.
2465 (mprotect): Likewise.
2466 (msync): Likewise.
2467 (munmap): Likewise.
2468 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2469 * sysdeps/unix/mman/syscalls.list: Remove.
2470 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2471
3a533ca3
JM
2472 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2473 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2474 * configure: Regenerated.
2475 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2476 $(libgcc_s_suffix).
2477 * config.make.in (libgcc_s_suffix): Remove variable.
2478
1ad743de
JM
24792012-04-23 Joseph Myers <joseph@codesourcery.com>
2480
4ad451e2
JM
2481 * sysdeps/unix/sysv/gethostname.c: Move to ...
2482 * sysdeps/posix/gethostname.c: ... here.
2483
5e37ce39
JM
2484 * sysdeps/unix/execve.S: Remove file.
2485
1ad743de
JM
2486 * sysdeps/unix/_exit.S: Remove file.
2487
4e681b5b
AJ
24882012-04-23 Andreas Jaeger <aj@suse.de>
2489
2490 [BZ #13739]
2491 * manual/Makefile: Remove make dist support, there's no
2492 need for a stand-alone documentation tar ball.
2493 (TEXI2DVI): Define always, it's not in Makeconfig.
2494 (dist): Removed.
2495 (tar-it): Removed.
2496 (edition): Removed.
2497 (glibc-doc-$(edition).tar): Removed
2498 (%.Z): Removed.
2499 (%.gz): Removed.
2500 (%.uu): Removed.
2501 (ETAGS): Remove, it's in Makeconfig.
2502 (move-if-change): Remove, it's in Makeconfig.
2503
c0baea34
PE
25042013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2505
2506 [BZ #13970]
2507 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2508 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2509 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2510 (strtod_l, strtof_l, strtold_l): Remove __wur.
2511 It is not necessarily an error to ignore strtol's return value.
2512 One can reliably look at the stored endptr to decide whether
2513 the number had valid syntax.
2514
7c0616fa
AJ
25152012-04-21 Andreas Jaeger <aj@suse.de>
2516
803cb6b7 2517 [BZ #13739]
7c0616fa
AJ
2518 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2519
b0fe253f
JM
25202012-04-21 Joseph Myers <joseph@codesourcery.com>
2521
2522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2523 * sysdeps/unix/sysv/Versions: Remove file.
2524
8280f22d
MT
25252012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2526
2527 [BZ #13927]
2528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2529
75ce411f 25302012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2531
2532 [BZ #7064]
2533 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2534 version from __vm86.
2535
097d59fa
JM
25362012-04-20 Joseph Myers <joseph@codesourcery.com>
2537
a90f3bcb
JM
2538 * sysdeps/unix/common/lxstat.c: Remove file.
2539 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2540
edc7ea78
JM
2541 * sysdeps/unix/sysv/Makefile: Remove file.
2542
cb78c221
JM
2543 * sysdeps/unix/sysv/direct.h: Remove file.
2544
efa6a45f
JM
2545 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2546 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2547 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2548 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2549 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2550 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2551 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2552
9c9f2d0c
JM
2553 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2554
4541c83b
JM
2555 * sysdeps/unix/xmknod.c: Remove file.
2556 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2557
f5d153a0
JM
2558 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2559
aa746595
JM
2560 * sysdeps/unix/sysv/i386/time.S: Remove file.
2561
cce5905e
JM
2562 * sysdeps/unix/fxstat.c: Remove file.
2563 * sysdeps/unix/xstat.c: Likewise.
2564 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2565
37fa3841
JM
2566 * sysdeps/unix/sysv/sigaction.c: Remove file.
2567
ff1962a3
JM
2568 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2569 (sysdep_headers): Remove variable.
2570 [termio.h not in sysdep_headers] (generated): Likewise.
2571 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2572 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2573 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2574 * sysdeps/unix/sysv/tcflow.c: Likewise.
2575 * sysdeps/unix/sysv/tcflush.c: Likewise.
2576 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2577 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2578 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2579 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2580 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2581
e7740d31
JM
2582 * sysdeps/unix/siglist.c: Remove file.
2583
ee06f18b
JM
2584 * sysdeps/unix/getppid.S: Remove file.
2585
097d59fa
JM
2586 * sysdeps/unix/mkdir.c: Remove file.
2587 * sysdeps/unix/rmdir.c: Likewise.
2588
ff3d51ec
AS
25892012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2590
2591 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2592 ERR_MAX value.
2593 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2594 errlist-compat value.
2595
50f81fd7
DM
25962012-04-18 David S. Miller <davem@davemloft.net>
2597
2598 * sysdeps/generic/memcopy.h (reg_char): Delete.
2599 * debug/strcat_chk.c: Use char, not reg_char.
2600 * debug/strcpy_chk.c: Likewise.
2601 * debug/strncat_chk.c: Likewise.
2602 * debug/strncpy_chk.c: Likewise.
2603 * string/memchr.c: Likewise.
2604 * string/memrchr.c: Likewise.
2605 * string/rawmemchr.c: Likewise.
2606 * string/strcat.c: Likewise.
2607 * string/strchr.c: Likewise.
2608 * string/strchrnul.c: Likewise.
2609 * string/strcmp.c: Likewise.
2610 * string/strcpy.c: Likewise.
2611 * string/strncat.c: Likewise.
2612 * string/strncmp.c: Likewise.
2613 * string/strncpy.c: Likewise.
2614
8ff41c46
WS
26152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2616
2617 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2618 __builtin_memcopy is called when src and dest ranges are known to not
2619 overlap.
2620
6b652f46
WS
26212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2622
2623 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2624 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2625 fwd_align_merge macro call.
2626 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2627 bwd_align_merge macro call.
2628 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2629
b282631e
WS
26302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2631
2632 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2633 bwd_align_merge macros.
2634 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2635 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2636 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2637
95aa737c
DM
26382012-04-18 David S. Miller <davem@davemloft.net>
2639
2640 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2641
7a99a614
AJ
26422012-04-18 Andreas Jaeger <aj@suse.de>
2643
2644 [BZ# 6794]
2645 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2646 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2647 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2648
2649 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2650 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2651 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2652
2653 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2654 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2655 Adjust for changed ldbl-128 files.
2656
2657 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2658 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2659 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2660
e5270c23
DM
26612012-04-17 David S. Miller <davem@davemloft.net>
2662
2663 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2664
fb5e92c9
AS
26652012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2666
2667 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2668 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2669 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2670 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2671 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2672 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2673
76da7265
AZ
26742012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2675
2676 [BZ #6794]
2677 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2678 * math/libm-test.inc: Add ilogb errno and exception tests.
2679 * math/w_ilogb.c: New file: ilogb wrapper.
2680 * math/w_ilogbf.c: New file: ilogbf wrapper.
2681 * math/w_ilogbl.c: New file: ilogbl wrapper.
2682 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2683 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2684 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2685 exception being thrown with 0.0 as argument.
2686 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2687 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2688 exception being thrown with 0.0 as argument.
2689 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2690 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2691 exception being thrown with 0.0 as argument.
2692 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2693 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2694 exception being thrown with 0.0 as argument.
2695 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2696 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2697 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2698 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2700 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2701 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2702 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2703 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2704
0396e69d
PB
27052012-04-17 Petr Baudis <pasky@ucw.cz>
2706
2707 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2708 with altivec.
2709
750b5926
MP
27102012-04-16 Marek Polacek <polacek@redhat.com>
2711
2712 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2713
751728a1
MP
27142012-04-16 Marek Polacek <polacek@redhat.com>
2715
2716 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2717 operands of fdivp instruction.
2718
34a27407
L
27192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2720
2721 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2722 * elf/tst-auditmod3b.c: Likewise.
2723 * elf/tst-auditmod4b.c: Likewise.
2724 * elf/tst-auditmod5b.c: Likewise.
2725 * elf/tst-auditmod6b.c: Likewise.
2726 * elf/tst-auditmod6c.c: Likewise.
2727 * elf/tst-auditmod7b.c: Likewise.
2728 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2729 * sysdeps/x86_64/preconfigure.in: Likewise.
2730 * sysdeps/x86_64/preconfigure: Regenerated.
2731
7e73e17d
L
27322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2733
2734 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2735 __ILP32__.
2736
c7a6ab72
AB
27372012-04-13 Antoine Balestrat <merkil33@gmail.com>
2738
2739 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2740 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2741
a9e8e0e0
CL
27422012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2743
2744 [BZ #13973]
2745 * locale/iso-639.def: Fix gl language name. Spotted by
2746 Yaron Shahrabani.
2747
ec98af7d
RM
27482012-04-12 Roland McGrath <roland@hack.frob.com>
2749
2750 [BZ #2074]
2751 * libio/libio.h (__io_write_fn): Update comment.
2752
247c3ede
PB
27532012-04-12 Petr Baudis <pasky@ucw.cz>
2754
2755 [BZ #2074]
2756 * stdio.texi (Hook Functions): The user provided writer function
2757 is not allowed to return -1.
2758
55939d6d
DM
27592012-04-11 David S. Miller <davem@davemloft.net>
2760
2761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2762
90020f5a
MF
27632012-04-11 Mike Frysinger <vapier@gentoo.org>
2764
2765 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2766 Add a leading slash to rtkaio.
2767
288f9098
JM
27682012-04-11 Jim Meyering <meyering@redhat.com>
2769
90020f5a
MF
2770 [BZ #11959]
2771 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2772 It is not necessarily an error to ignore fwrite's return
2773 value. One can reliably use ferror to test for errors after
2774 the fact.
288f9098 2775
4be2b570
L
27762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 * bits/types.h (__snseconds_t): New type.
2779 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2780
2781 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2783 (__SNSECONDS_T_TYPE): Likewise.
2784 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2785 (__SNSECONDS_T_TYPE): Likewise.
2786 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2787 (__SNSECONDS_T_TYPE): Likewise.
2788
288f9098 27892012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2790
2791 [BZ #2636]
2792 * manual/time.texi (Processor Time): Return type of times is
2793 elapsed real time since an arbitrary point in the past.
2794 (CPU Time): Move CLK_TCK from here...
2795 (Processor Time): ...to here. Correct description.
2796 * manual/conf.texi (Constants for Sysconf): Correct description of
2797 _SC_CLK_TCK.
2798
d7dd4413
DM
27992012-04-10 David S. Miller <davem@davemloft.net>
2800
2801 [BZ #13967]
2802 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2803 where the is a gap between DT_REL(A) and DT_JMPREL.
2804
b46068fc
L
28052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2806
2807 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2808 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2809 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2810
73d65cc3
SP
28112012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2812
2813 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2814 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2815 (dl_main): Handle --inhibit-cache.
2816 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2817 _dl_inhibit_cache.
2818 * elf/dl-load.c (_dl_map_object): Use it.
2819 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2820
bcc8d661
JM
28212012-04-09 Joseph Myers <joseph@codesourcery.com>
2822
8f9a2fae
JM
2823 [BZ #13872]
2824 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2825 (__ieee754_powl): Saturate large exponents rather than testing for
2826 overflow of y*log2(x).
2827 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2828 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2829 exceptions.
2830
bcc8d661
JM
2831 [BZ #11521]
2832 * math/s_ctan.c: Include <float.h>.
2833 (__ctan): Avoid internal overflow or cancellation in calculating
2834 denominator.
2835 * math/s_ctanf.c: Likewise.
2836 * math/s_ctanl.c: Likewise.
2837 * math/s_ctanh.c: Likewise.
2838 * math/s_ctanhf.c: Likewise.
2839 * math/s_ctanhl.c: Likewise.
2840 * math/libm-test.inc (ctan_test): Add more tests.
2841 (ctanh_test): Likewise.
2842 * sysdeps/i386/fpu/libm-test-ulps: Update.
2843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2844
823fbbb4
AJ
28452012-04-09 Andreas Jaeger <aj@suse.de>
2846
03879793
AJ
2847 [BZ #6894]
2848 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2849 is an optional BSD extension.
2850
823fbbb4
AJ
2851 [BZ #10254]
2852 * manual/stdio.texi (Opening Streams): Document additional fopen
2853 parameters.
2854
8de131cb
RM
28552012-04-09 Roland McGrath <roland@hack.frob.com>
2856
2857 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2858 %eax without telling the compiler.
2859
c0ed9d7d
CD
28602012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2861
2862 [BZ # 13963]
2863 * manual/install.texi: Use sourceware.org.
2864
c483f6b4
JM
28652012-04-09 Joseph Myers <joseph@codesourcery.com>
2866
d7dd9453
JM
2867 [BZ #13873]
2868 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2869 (__ieee754_pow): Generate overflow and underflow using huge*huge
2870 and tiny*tiny rather than just returning constant infinity or zero
2871 for large exponents.
2872 * math/libm-test.inc (pow_test): Require overflow exceptions for
2873 applicable cases of large exponents.
2874
c483f6b4
JM
2875 [BZ #706]
2876 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2877 (__ieee754_pow): Use iterative multiplication algorithm only for
2878 integer exponents with absolute value below 1024. Check for odd
2879 integer exponents when using algorithm for real exponents.
2880 * math/libm-test.inc (pow_test): Add more tests.
2881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2882
d2de7579
JM
28832012-04-08 Joseph Myers <joseph@codesourcery.com>
2884
2885 [BZ #13705]
2886 * math/libm-test.inc (exp_test): Do not allow overflow exception
2887 on underflow test.
2888
f77f1232
AJ
28892012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2890
2891 [BZ #13705]
2892 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2893 instead of __kernel_standard_f.
2894
3884932b
MF
28952012-04-08 Mike Frysinger <vapier@gentoo.org>
2896
2897 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2898 * sysdeps/x86_64/memset_chk.S: Likewise.
2899
54472e9c
AJ
29002012-04-08 Andreas Jaeger <aj@suse.de>
2901
6ab0fbfc
AJ
2902 [BZ #10153]
2903 * manual/startup.texi (Environment Access): Describe return value
2904 for putenv and setenv.
2905
61efba8c
AJ
2906 [BZ #6895]
2907 * manual/filesys.texi (Directory Entries): Add description for
2908 DT_LNK.
2909
95c3f29a
AJ
2910 [BZ #6890]
2911 * manual/filesys.texi (Directory Entries): Clarify that it's file
2912 system not operating system in the description of DT_UNKNOWN.
2913
54472e9c
AJ
2914 [BZ #6578]
2915 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2916
624254b1
SC
29172012-04-08 Stephen Compall <s11@member.fsf.org>
2918
2919 [BZ #6649]
2920 * manual/llio.texi (Opening and Closing Files): Add cross
2921 reference to explain mode argument.
2922
1e4920e0
MF
29232012-04-07 Mike Frysinger <vapier@gentoo.org>
2924
2925 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2926 * sysdeps/x86_64/memset_chk.S: Likewise.
2927
5ed848f3
DM
29282012-04-07 David S. Miller <davem@davemloft.net>
2929
2930 * elf/elf.h (R_SPARC_WDISP10): Define.
2931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2932 R_SPARC_SIZE32.
2933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2934 R_SPARC_SIZE64 and R_SPARC_H34.
2935
96154cd8
CD
29362012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2937
2938 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2939 conditions and remove no longer applicable assertion.
2940
9904dc47
L
29412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2942
2943 * bits/byteswap.h: Include <features.h>.
2944 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2945 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2946
f8887d0a
L
29472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2948
2949 * bits/byteswap.h (__bswap_16): Removed.
2950 Include <bits/byteswap-16.h> to get __bswap_16.
2951 * sysdeps/i386/bits/byteswap.h: Likewise.
2952 * sysdeps/s390/bits/byteswap.h: Likewise.
2953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2954 * bits/byteswap-16.h: New file.
2955 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2956 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2957 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2958 * string/Makefile (headers): Add bits/byteswap-16.h.
2959
62470f60
PP
29602012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2961
2962 [BZ #13895]
2963 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2964 extra indirection.
2965 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2966 * nss/tst-nss-static.c: New.
2967
4dad7bab
RM
29682012-04-06 Robert Millan <rmh@gnu.org>
2969
2970 [BZ #6486]
2971 * manual/llio.texi (File Position Primitive): lseek
2972 refers to WHENCE when it really means OFFSET.
2973
e9142a17
AJ
29742012-04-06 Andreas Jaeger <aj@suse.de>
2975
2c040eff
AJ
2976 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2977 strncmp declarations.
2978
e9142a17
AJ
2979 * abilist/libc.abilist: Add __poll and __ppoll.
2980
ff9f1c5f
DM
29812012-04-05 David S. Miller <davem@davemloft.net>
2982
dcd2ae90
DM
2983 * scripts/check-local-headers.sh: Accept a host triplet in the
2984 path matched by the exclude regexp.
2985
993eb054
DM
2986 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2987 definition.
2988 * sysdeps/powerpc/powerpc32/dl-machine.h
2989 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2990 * sysdeps/s390/s390-32/dl-machine.h
2991 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2992 * sysdeps/sparc/sparc32/dl-machine.h
2993 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2994 * sysdeps/sparc/sparc64/dl-machine.h
2995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2996
ff9f1c5f
DM
2997 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2998 lazy binding.
48e2e132 2999 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3000 undefined symbol errors.
3001
48e2e132 3002 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3003 DT_NEEDED entries.
3004
e80d6f94
MM
30052012-04-05 Michael Matz <matz@suse.de>
3006
3007 [BZ #13592]
3008 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3009
349fa79f
AJ
30102012-04-05 Andreas Jaeger <aj@suse.de>
3011
3012 [BZ #13908]
3013 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3014 comment.
3015
f402708f
KK
30162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3017
3018 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3019 which ROUND is no valid rounding mode.
3020
2ecccfc9
KK
30212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3022
3023 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3024 read again.
3025 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3026
8a53f50f
KK
30272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3028
3029 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3030 an exception using FPU order intentionally.
3031
30322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3033
3034 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3035 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3036 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3037 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3038
d653abb7
SJ
30392012-04-05 Simon Josefsson <simon@josefsson.org>
3040
3041 [BZ #12340]
3042 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3043 EINVAL when BUFLEN is too smal.
3044
c3b1bf7d
TS
30452012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3046
3047 [BZ #13553]
3048 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3049 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3050
b1aa60f3
AJ
30512012-04-03 Andreas Jaeger <aj@suse.de>
3052
c3b1bf7d 3053 [BZ #13938]
67f60a26
AJ
3054 * manual/setjmp.texi (System V contexts): Fix sentence.
3055
b1aa60f3
AJ
3056 [BZ #13926]
3057 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3058 New macro for this case.
3059 [!__GNUC__] (__bswap_64): New inline function for this case.
3060 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3061 * bits/byteswap.h: Likewise.
3062 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3063 ull, guard with __GLIBC_HAVE_LONG_LONG.
3064
3065 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3066 __GLIBC_HAVE_LONG_LONG.
3067
3068 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3069 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3070
39c59c35
TMQMF
30712012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3072
3073 [BZ #13691]
3074 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3075 inptr and inend, rather than using last_ch.
3076
135ffda8
DM
30772012-04-02 David S. Miller <davem@davemloft.net>
3078
3079 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3080 * stdio-common/printf-parse.h (read_int): Change return type to
3081 'int', return -1 on INT_MAX overflow.
3082 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3083 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3084 overflows INT_MAX. Check for overflow of in-format-string precision
3085 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3086 SIZE_MAX not INT_MAX for integer overflow test.
3087 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3088 skip the construct in the format string but do not record anything.
3089 * stdio-common/bug22.c: Adjust to test both width/prevision
3090 INT_MAX overflow as well as total length INT_MAX overflow. Check
3091 explicitly for proper errno values.
3092
228c019e
TS
30932012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3094
302cadd3
TS
3095 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3096 CHAR_MAX.
3097 * string/test-strcmp.c [! WIDE]: Likewise.
3098 * time/tst-mktime2.c: Likewise for INT_MAX.
3099 * string/test-string.h: #include <sys/param.h> for MIN.
3100
228c019e
TS
3101 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3102 * sysdeps/i386/init-first.c (init): Likewise.
3103 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3104 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3105 * sysdeps/sh/init-first.c (init): Likewise.
3106
cfa633f5
UD
31072012-04-01 Ulrich Drepper <drepper@gmail.com>
3108
3109 * po/ru.po: Update from translation team.
d1635ef8 3110 * po/vi.po: Likewise.
cfa633f5 3111
6cd0a5ea
SP
31122012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3113
3114 * resolv/nss_dns/dns-host.c: Merge copyright years.
3115
4b43400f
LD
31162012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3117
3118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3119 Optimize memcpy with prefetch if
3120 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3121 src, dst pointers have unequal 16 byte alignments.
3122
48c41d04
SP
31232012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3124
3125 [BZ #13928]
3126 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3127 from a CNAME entry and return the minimum ttl for the query.
3128 (gaih_getanswer_slice): Likewise.
3129
b8dc394d
JL
31302012-03-30 Jeff Law <law@redhat.com>
3131
3132 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3133 due to long keys.
3134 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3135 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3136
2f5a5ed0
JL
3137 * resolv/nss_dns/dns-host.c: Update copyright year.
3138
1d39e359
UD
31392012-03-30 Ulrich Drepper <drepper@gmail.com>
3140
c030f70c 3141 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3142 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3143
1d39e359
UD
3144 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3145 comments for sendmmsg.
3146
31472012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3148
3149 [BZ #13691]
3150 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3151 with only 1 character between 0x0041 and 0x01b0.
3152 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3153 * wcsmbs/tst-mbsnrtowcs.c: New file.
3154
20fde227
DM
31552012-03-29 David S. Miller <davem@davemloft.net>
3156
3157 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3158 small copies by hand.
3159
984a4237
JL
31602012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3161
3162 [BZ #13761]
3163 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3164 _nss_compat_initgroups_dyn): Fall back to malloc/free
3165 for large group memberships.
3166
18c9d62b
DM
31672012-03-28 David S. Miller <davem@davemloft.net>
3168
88d85d4f
DM
3169 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3170 that branches into memcpy.
3171 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3172 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3174 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3176 bits.
3177 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3178 implementation too.
3179 * sysdeps/sparc/mempcpy.S: New file.
3180
e5aa83e1
DM
3181 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3182 the IFUNC routine in the libc case.
3183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3184
88570753
DM
3185 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3186 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3187 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3188 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3189 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3190 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3191 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3192 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3193
249d7567
DM
3194 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3195 loop to 256 bytes instead of 64 bytes and fix test signedness.
3196
18c9d62b
DM
3197 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3198 * sysdeps/sparc/sparc32/Makefile: rather than here...
3199 * sysdeps/sparc/sparc64/Makefile: and here.
3200
05f3d1f6
UD
32012012-03-28 Ulrich Drepper <drepper@gmail.com>
3202
3203 * malloc/mallocbug.c: Avoid warnings about unused variables.
3204
86ae07a8
JL
32052012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3206
3207 [BZ #13760]
3208 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3209 in the right place. Discard and retry query if response is
3210 larger than input buffer size.
3211
41bf21a1
JM
32122012-03-28 Joseph Myers <joseph@codesourcery.com>
3213
d6270972
JM
3214 [BZ #369]
3215 [BZ #2678]
3216 [BZ #3866]
3217 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3218 x for large integer exponent.
3219 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3220 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3221 sign of result as needed afterwards.
3222 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3223 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3224 result for underflowing pow the same as for overflow.
3225 (__kernel_standard_l): Handle powl overflow and underflow here
3226 rather than calling __kernel_standard.
3227 * math/libm-test.inc (pow_test): Add more tests.
3228
414fca03 3229 [BZ #3868]
41bf21a1
JM
3230 [BZ #13879]
3231 [BZ #13910]
3232 [BZ #13911]
3233 [BZ #13912]
3234 [BZ #13913]
3235 [BZ #13915]
3236 [BZ #13916]
3237 [BZ #13917]
3238 [BZ #13918]
3239 [BZ #13919]
3240 [BZ #13920]
3241 [BZ #13921]
3242 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3243 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3244 (__kernel_standard_l): New function.
3245 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3246 __kernel_standard.
3247 * math/w_acosl.c (__acosl): Likewise.
3248 * math/w_asinl.c (__asinl): Likewise.
3249 * math/w_atan2l.c (__atan2l): Likewise.
3250 * math/w_atanhl.c (__atanhl): Likewise.
3251 * math/w_coshl.c (__coshl): Likewise.
3252 * math/w_exp10l.c (__exp10l): Likewise.
3253 * math/w_exp2l.c (__exp2l): Likewise.
3254 * math/w_fmodl.c (__fmodl): Likewise.
3255 * math/w_hypotl.c (__hypotl): Likewise.
3256 * math/w_j0l.c (__j0l, __y0l): Likewise.
3257 * math/w_j1l.c (__j1l, __y1l): Likewise.
3258 * math/w_jnl.c (__jnl, __ynl): Likewise.
3259 * math/w_lgammal.c (__lgammal): Likewise.
3260 * math/w_log10l.c (__log10l): Likewise.
3261 * math/w_log2l.c (__log2l): Likewise.
3262 * math/w_logl.c (__logl): Likewise.
3263 * math/w_powl.c (__powl): Likewise.
3264 * math/w_remainderl.c (__remainderl): Likewise.
3265 * math/w_scalbl.c (sysv_scalbl): Likewise.
3266 * math/w_sinhl.c (__sinhl): Likewise.
3267 * math/w_sqrtl.c (__sqrtl): Likewise.
3268 * math/w_tgammal.c (__tgammal): Likewise.
3269 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3270 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3271 * math/libm-test.inc (acos_test): Add more tests.
3272 (acosh_test): Likewise.
3273 (asin_test): Likewise.
3274 (atanh_test): Likewise.
3275 (exp_test): Likewise.
3276 (exp10_test): Likewise.
3277 (exp2_test): Likewise.
3278 (expm1_test): Likewise.
3279 (lgamma_test): Likewise.
3280 (log_test): Likewise.
3281 (log10_test): Likewise.
3282 (log1p_test): Likewise.
3283 (log2_test): Likewise.
3284 (pow_test): Do not allow some spurious overflow exceptions.
3285 (sqrt_test): Add more tests.
3286 (tgamma_test): Likewise.
3287 (y0_test): Likewise.
3288 (y1_test): Likewise.
3289 (yn_test): Likewise.
3290
dd62fda6
AB
32912012-03-27 Anton Blanchard <anton@samba.org>
3292
3293 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3294 MAP_HUGETLB.
3295 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3296 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3297 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3298
1e3cdfda
AJ
32992012-03-27 David S. Miller <davem@davemloft.net>
3300
b855ab85
DM
3301 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3302
1e3cdfda
AJ
3303 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3304 have-as-vis3 check.
3305
33062012-03-27 Andreas Jaeger <aj@suse.de>
3307
3308 * sysdeps/x86_64/elf/configure.in: Moved to ...
3309 * sysdeps/x86_64/configure.in: ... here.
3310 * sysdeps/x86_64/elf/start.S: Moved to ...
3311 * sysdeps/x86_64/start.S: ... here.
3312 * sysdeps/x86_64/elf/configure: Delete.
3313
3314 * sysdeps/x86_64/configure.in: Merge contents from
3315 sysdeps/i386/configure.in (without i686 check).
3316
3317 * sysdeps/i386/elf/Versions: Merge into ...
3318 * sysdeps/i386/Versions: ... this.
3319 * sysdeps/i386/elf/Versions: Delete file.
3320 * sysdeps/i386/elf/start.S: Moved to ...
3321 * sysdeps/i386/start.S: ...here.
3322 * sysdeps/i386/elf/configure.in: Merge into...
3323 * sysdeps/i386/configure.in: ...here.
3324 * sysdeps/i386/elf/configure.in: Delete file.
3325 * sysdeps/i386/elf/configure: Delete file.
3326
3327 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3328 * debug/backtracesyms.c: ... here.
3329 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3330 * debug/backtracesymsfd.c: ... here.
3331 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3332 * sysdeps/generic/ifunc-sel.h: ... here.
3333
3334 * sysdeps/unix/i386/start.c: Delete file.
3335 * sysdeps/unix/sparc/start.c: Delete file.
3336 * sysdeps/unix/start.c: Delete file.
3337
3338 * sysdeps/sh/elf/configure.in: Moved to ...
3339 * sysdeps/sh/configure.in: ... here.
3340 * sysdeps/sh/elf/start.S: Moved to ...
3341 * sysdeps/sh/start.S: ... here.
3342 * sysdeps/sh/elf/configure: Delete file.
3343
3344 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3345 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3346 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3347 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3348 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3349 * sysdeps/powerpc/powerpc64/start.S: here.
3350 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3351 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3352 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3353 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3354 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3355
3356 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3357 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3358 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3359 * sysdeps/powerpc/powerpc32/start.S: ... here.
3360 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3361 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3362 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3363
3364 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3365 * sysdeps/powerpc/ifunc-sel.h: ... here.
3366 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3367 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3368
3369 * sysdeps/sparc/elf/configure.in: Moved to ...
3370 * sysdeps/sparc/configure.in: ... here.
3371 * sysdeps/sparc/elf/configure: Delete file.
3372 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3373 * sysdeps/sparc/sparc32/start.S: ... here.
3374 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3375 * sysdeps/sparc/sparc64/start.S: ... here.
3376 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3377 * sysdeps/sparc/sparc32/Makefile: ... this.
3378 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3379 * sysdeps/sparc/sparc64/Makefile: ... this.
3380
3381 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3382 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3383 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3384 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3385 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3386 * sysdeps/s390/s390-32/setjmp.S: ... here.
3387 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3388 * sysdeps/s390/s390-32/configure.in: ... here.
3389 * sysdeps/s390/s390-32/elf/configure: Delete file.
3390 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3391 * sysdeps/s390/s390-32/start.S: ... here.
3392
3393 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3394 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3395 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3396 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3397 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3398 * sysdeps/s390/s390-64/setjmp.S: ... here.
3399 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3400 * sysdeps/s390/s390-64/configure.in: ... here
3401 * sysdeps/s390/s390-64/elf/configure: Delete file.
3402 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3403 * sysdeps/s390/s390-64/start.S: ... here.
3404 * sysdeps/s390/s390-64/elf/configure: Delete.
3405
3406 * configure.in: Remove support for elf directories in sysdeps.
3407
3408 * configure: Regenerated.
3409 * sysdeps/i386/configure: Regenerated.
3410 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3411 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3412 * sysdeps/s390/s390-32/configure: Regenerated.
3413 * sysdeps/s390/s390-64/configure: Regenerated.
3414 * sysdeps/sh/configure: Regenerated.
3415 * sysdeps/sparc/configure: Regenerated.
3416 * sysdeps/x86_64/configure: Regenerated.
3417
a3f61311
AS
34182012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3419
c876e002
AS
3420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3421
a3f61311
AS
3422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3423 denormal result into account.
3424
ac4c54f0
RM
34252012-03-25 Roland McGrath <roland@hack.frob.com>
3426
3427 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3428 Reported by Allan McRae <allan@archlinux.org>.
3429
6a9b9c02
JL
34302012-03-23 Jeff Law <law@redhat.com>
3431
3432 * nss/getnssent.c (__nss_getent): Fix typo.
3433
4c42a0c1
DM
34342012-03-23 David S. Miller <davem@davemloft.net>
3435
3436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3437
1532c7ac
L
34382012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3439
3440 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3441 to pad to uint64_t for each field.
3442 (dl_tls_index): Replace unsigned long with uint64_t.
3443
3ff42526
PP
34442012-03-23 Daniel Jacobowitz <dmj@google.com>
3445 Paul Pluzhnikov <ppluzhnikov@google.com>
3446
3447 [BZ #6528]
3448 * grp/Makefile (otherlibs): Don't set it.
3449 * inet/Makefile (otherlibs): Likewise.
3450 * login/Makefile (otherlibs): Likewise.
3451 * nscd/Makefile (otherlibs): Likewise.
3452 * posix/Makefile (otherlibs): Likewise.
3453 * pwd/Makefile (otherlibs): Likewise.
3454 * rt/Makefile (otherlibs): Likewise.
3455 * sunrpc/Makefile (otherlibs): Likewise.
3456 * nss/Makefile (otherlibs): Likewise.
3457 Add libnss_files to routines and static-only-routines.
3458 ($(objpfx)getent): Remove rule.
3459 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3460 static-only-routines.
3461
7c69cd14
JM
34622012-03-22 Joseph Myers <joseph@codesourcery.com>
3463
3464 [BZ #13892]
3465 * math/s_cexp.c: Include <float.h>.
3466 (__cexp): Handle exp result overflowing not necessarily
3467 overflowing both real and imaginary parts of result.
3468 * math/s_cexpf.c: Likewise.
3469 * math/s_cexpl.c: Likewise.
3470 * math/libm-test.inc (cexp_test): Add more tests.
3471 * sysdeps/i386/fpu/libm-test-ulps: Update.
3472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3473
81b035fe
L
34742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3475
3476 * include/link.h (ELFW): New macro.
3477 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3478 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3479
1da7940c
L
34802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3481
3482 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3483 with uint64_t.
3484
b749dbb9
L
34852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3486
3487 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3488 declaration.
3489 (struct La_x32_retval): Likewise.
3490
2ff87f3f
L
34912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3492
3493 * sysdeps/x86_64/preconfigure.in: New file.
3494 * sysdeps/x86_64/preconfigure: New generated file.
3495
c0df8e69
JM
34962012-03-22 Joseph Myers <joseph@codesourcery.com>
3497
48e44791
JM
3498 [BZ #13824]
3499 * math/e_exp2l.c: Include <float.h>.
3500 (__ieee754_exp2l): Handle overflow and underflow cases
3501 separately. Only pass fractional part of argument to
3502 __ieee754_expl.
3503 * math/libm-test.inc (exp2_test): Add more tests.
3504
c0df8e69
JM
3505 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3506 negating x to take absolute value.
3507 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3508 Likewise.
3509 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3510 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3511 Likewise.
3512 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3513 computing low part if x was negated.
3514 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3515
c8e43ba7
L
35162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3517
3518 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3519 la_x32_gnu_pltexit.
3520 (pltexit): Cast int_retval to ptrdiff_t.
3521 * elf/tst-auditmod3b.c: Likewise.
3522 * elf/tst-auditmod4b.c: Likewise.
3523 * elf/tst-auditmod5b.c: Likewise.
3524 * elf/tst-auditmod6b.c: Likewise.
3525 * elf/tst-auditmod6c.c: Likewise.
3526 * elf/tst-auditmod7b.c: Likewise.
3527
3528 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3529 and x32_gnu_pltexit.
3530
3531 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3532 __ELF_NATIVE_CLASS.
3533 (La_x32_regs): New macro.
3534 (La_x32_retval): Likewise.
3535 (la_x32_gnu_pltenter): New function prototype.
3536 (la_x32_gnu_pltexit): Likewise.
3537
7998fa78
AS
35382012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3539
dcb33988
AS
3540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3541 exponent.
3542
233fc563
AS
3543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3544
7998fa78
AS
3545 * configure.in (libc_cv_cc_nofma): Check for option to disable
3546 generation of FMA instructions.
3547 * configure: Regenerate.
3548 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3549 * sysdeps/ieee754/dbl-64/Makefile: New file.
3550 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3551 Remove brandred-fma4.
3552 (CFLAGS-brandred-fma4.c): Remove.
3553 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3554 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3555 define.
3556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3557 define.
3558
8e95c99a
L
35592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3560
3561 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3562 LLONG_MAX != LONG_MAX.
3563 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3564 (_fitoa_word): Likewise.
3565 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3566 LLONG_MAX != LONG_MAX.
3567 * stdio-common/_itowa.h: Include <_itoa.h>.
3568 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3569 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3570 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3571 only if not defined.
3572 (_ITOA_WORD_TYPE): Likewise.
3573 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3574 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3575
6f4db457
DM
35762012-03-21 David S. Miller <davem@davemloft.net>
3577
3578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3579
7785fe5a
L
35802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3581
3582 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3583 of x86_64 when setting libc_cv_slibdir, libdir and
3584 libc_cv_localedir.
3585 * sysdeps/unix/sysv/linux/configure: Regenerated.
3586
4535cd55
JM
35872012-03-21 Joseph Myers <joseph@codesourcery.com>
3588
3589 * manual/lang.texi (Old Varargs): Remove section.
3590 (How Variadic): Update menu.
3591 (va_start): Do not mention varargs.h.
3592
17228132
TS
35932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3594 Joseph Myers <joseph@codesourcery.com>
3595
3596 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3597 link test.
3598 * configure: Regenerated.
3599
8149f976
TS
36002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3601
05f3d1f6
UD
3602 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3603 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3604 conformtest.pl
8149f976 3605
1a4ac776
JM
36062012-03-21 Joseph Myers <joseph@codesourcery.com>
3607
be22ce65
JM
3608 * NOTES: Remove.
3609 * Makefile (files-for-dist): Remove NOTES.
3610 (NOTES): Remove rule.
3611 * README: Don't refer to NOTES.
3612 * manual/creature.texi: Don't include macros.texi.
3613 * manual/intro.texi (creature.texi): Remove comment referring to
3614 NOTES.
3615
40b601fb
JM
3616 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3617 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3618 * configure: Regenerated.
3619 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3620 LIBC_TRY_CC_OPTION.
3621 (libc_cv_as_i686): Likewise.
3622 (libc_cv_cc_avx): Likewise.
3623 (libc_cv_cc_sse2avx): Likewise.
3624 (libc_cv_cc_fma4): Likewise.
3625 (libc_cv_cc_novzeroupper): Likewise.
3626 * sysdeps/i386/configure: Regenerated.
3627
1a4ac776
JM
3628 [BZ #13883]
3629 * sysdeps/i386/fpu/s_cexp.S: Remove.
3630 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3631 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3632 * math/libm-test.inc (cexp_test): Add more tests.
3633 * sysdeps/i386/fpu/libm-test-ulps: Update.
3634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3635
a458e7fe
AM
36362012-03-21 Allan McRae <allan@archlinux.org>
3637
3638 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3639
0cb7efc5
JM
36402012-03-21 Joseph Myers <joseph@codesourcery.com>
3641
3642 [BZ #13871]
3643 * math/w_exp2.c: Do not include <float.h>.
3644 (o_threshold, u_threshold): Remove.
3645 (__exp2): Calculate result before checking finiteness and calling
3646 __kernel_standard.
3647 * math/w_exp2f.c: Likewise.
3648 * math/w_exp2l.c: Likewise.
3649 * math/libm-test.inc (exp2_test): Require overflow exception for
3650 1e6 input.
2460d3aa
JM
3651
3652 [BZ #3866]
3653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3654 range of signed 64-bit integers before using fistpll. Remove
3655 checks for whether integers fit in mantissa bits.
3656 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3657 the range of signed 32-bit integers before using fistpl. Remove
3658 checks for whether integers fit in mantissa bits.
3659 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3660 (__ieee754_powl): Test for y outside the range of signed 64-bit
3661 integers before using fistpll. Reduce 64-bit values to 63-bit
3662 ones as needed.
3663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3664 divide-by-zero is raised for zero to large negative powers.
3665 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3666 (__ieee754_powl): Test for y outside the range of signed 64-bit
3667 integers before using fistpll. Reduce 64-bit values to 63-bit
3668 ones as needed.
3669 * math/libm-test.inc (pow_test): Add more tests.
3670
eb96ffb0
L
36712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3672
3673 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3674 <stdio-common/_itoa.h>.
3675 * debug/segfault.c: Likewise.
3676 * elf/dl-cache.c: Likewise.
3677 * elf/dl-minimal.c: Likewise.
3678 * elf/dl-misc.c: Likewise.
3679 * elf/dl-sysdep.c: Likewise.
3680 * elf/dl-version.c: Likewise.
3681 * elf/rtld.c: Likewise.
3682 * hurd/hurdsock.c: Likewise.
3683 * hurd/lookup-retry.c: Likewise.
3684 * malloc/malloc.c: Likewise.
3685 * malloc/mtrace.c: Likewise.
3686 * nscd/nscd_getgr_r.c: Likewise.
3687 * nscd/nscd_getpw_r.c: Likewise.
3688 * nscd/nscd_getserv_r.c: Likewise.
3689 * posix/getopt_init.c: Likewise.
3690 * posix/wordexp.c: Likewise.
3691 * stdio-common/_itoa.c: Likewise.
3692 * stdio-common/printf_fphex.c: Likewise.
3693 * stdio-common/vfprintf.c: Likewise.
3694 * string/_strerror.c: Likewise.
3695 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3696 * sysdeps/i386/i686/hp-timing.h: Likewise.
3697 * sysdeps/mach/_strerror.c: Likewise.
3698 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3699 * sysdeps/mach/hurd/sethostid.c: Likewise.
3700 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3701 * sysdeps/mach/xpg-strerror.c: Likewise.
3702 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3703 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3704 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3705 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3706 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3707 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3708 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3709 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3710 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3711 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3712 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3713 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3714 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3715 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3716 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3717 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3718 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3720 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3721 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3722 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3723
3724 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3725
3726 * stdio-common/_itoa.h: Moved to ...
3727 * sysdeps/generic/_itoa.h: Here.
3728
3729 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3730
3731 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3732 instead of "_itoa.h" and "_itowa.h".
3733 * stdio-common/vfprintf.: Likewise.
3734
d1af992d
L
37352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3736
3737 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3738 <bits/wordsize.h>.
3739 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3740 (__signbit): Likwise.
3741 (llrintf): Likwise.
3742 (llrint): Likwise.
3743
114883e0
L
37442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3745
3746 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3747 __WORDSIZE != 64.
3748
c135cc1b
JM
37492012-03-20 Joseph Myers <joseph@codesourcery.com>
3750
3751 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3752 OVERFLOW_EXCEPTION_OK.
3753 * math/libm-test.inc ("Philosophy"): Update comment about
3754 exception testing.
3755 (OVERFLOW_EXCEPTION): Define.
3756 (OVERFLOW_EXCEPTION_OK): Likewise.
3757 (INVALID_EXCEPTION_OK): Renumber.
3758 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3759 (IGNORE_ZERO_INF_SIGN): Likewise.
3760 (test_exceptions): Handle FE_OVERFLOW.
3761 (exp10_test): Expect overflow exceptions.
3762 (exp2_test): Likewise.
3763 (expm1_test): Likewise.
3764 (nextafter_test): Likewise.
3765 (pow_test): Likewise.
3766 (scalbn_test): Likewise.
3767 (scalbln_test): Likewise.
3768
95443d88
L
37692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3770
3771 * sysdeps/x86_64/bits/atomic.h
3772 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3773 64bit integer.
3774 (atomic_exchange_acq): Likewise.
3775 (__arch_exchange_and_add_body): Likewise.
3776 (__arch_add_body): Likewise.
3777 (atomic_add_negative): Likewise.
3778 (atomic_add_zero): Likewise.
3779
490df6c4
L
37802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3781
c2722551 3782 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3783 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3784
5e52b189
L
37852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3786
3787 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3788 Check __x86_64__ instead of __WORDSIZE.
3789
a9879d4c
L
37902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3791
3792 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3793
5df98260
DM
37942012-03-19 David S. Miller <davem@davemloft.net>
3795
e1497744
DM
3796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3797
5df98260
DM
3798 * sysdeps/sparc/fpu/fenv_private.h: New file.
3799 * sysdeps/sparc/fpu/math_private.h: Use it.
3800 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3801 Remove.
3802 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3803 (libc_feholdexcept_setroundl): Remove.
3804 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3805 Remove.
3806 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3807 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3808
b4c35121
L
38092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3810
3811 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3812 int64_t instead of long int.
3813 (INSERT_WORDS64): Likwise.
3814
56965fd7
L
38152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3816
3817 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3818 _Unwind_GetCFA return to _Unwind_Ptr first.
3819
83d1aec8
JM
38202012-03-19 Joseph Myers <joseph@codesourcery.com>
3821
1897ad44
JM
3822 [BZ #13629]
3823 * math/s_clog.c: Include <float.h>.
3824 (__clog): Scale large or subnormal inputs.
3825 * math/s_clogf.c: Likewise.
3826 * math/s_clogl.c: Likewise.
3827 * math/s_clog10.c: Include <float.h>.
3828 (M_LOG10_2): Define.
3829 (__clog10): Scale large or subnormal inputs.
3830 * math/s_clog10f.c: Likewise.
3831 * math/s_clog10l.c: Likewise.
3832 * math/libm-test.inc (clog_test): Add more tests.
3833 (clog10_test): Likewise.
3834 * sysdeps/i386/fpu/libm-test-ulps: Update.
3835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3836
7726d6a9
JM
3837 [BZ #11451]
3838 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3839 x and y.
3840 * math/libm-test.inc (atan2_test): Add another test.
3841
83d1aec8
JM
3842 * Makerules (common-objdir-compile): Remove.
3843 * sysdeps/unix/Makefile (config-generated): Do not add
3844 $(unix-generated) to variable.
3845 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3846 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3847 Remove rule.
3848 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3849 Likewise.
3850 [generic bits/local_lim.h] (before-compile): Do not append to
3851 variable.
3852 [generic bits/local_lim.h] (common-generated): Likewise.
3853 [generic sys/param.h] (before-compile): Do not append to variable.
3854 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3855 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3856 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3857 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3858 include.
3859 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3860 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3861 [generic sys/param.h] ($(addprefix
3862 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3863 [generic sys/param.h] (common-generated): Do not append to
3864 variable.
3865 [generic sys/param.h] (sysdep_headers): Likewise.
3866 [generic bits/errno.h] (before-compile): Do not append to
3867 variable.
3868 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3869 rule.
3870 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3871 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3872 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3873 [generic bits/errno.h] (common-generated): Do not append to
3874 variable.
3875 [generic bits/ioctls.h] (before-compile): Do not append to
3876 variable.
3877 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3878 rule.
3879 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3880 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3881 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3882 rule.
3883 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3884 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3885 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3886 [generic bits/ioctls.h] (common-generated): Do not append to
3887 variable.
3888 [generic sys/syscall.h] (syscall.h): Remove variable.
3889 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3890 rule.
3891 [generic sys/syscall.h] (before-compile): Do not append to
3892 variable.
3893 [generic sys/syscall.h] (common-generated): Likewise.
3894 * sysdeps/unix/errnos-tmpl.c: Remove file.
3895 * sysdeps/unix/errnos.awk: Likewise.
3896 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3897 * sysdeps/unix/ioctls.awk: Likewise.
3898 * sysdeps/unix/mk-local_lim.c: Likewise.
3899 * sysdeps/unix/snarf-ioctls: Likewise.
3900
4851a949
RH
39012012-03-19 Richard Henderson <rth@twiddle.net>
3902
bd37f2ee
RH
3903 * sysdeps/i386/fpu/fenv_private.h: New file.
3904 * sysdeps/i386/fpu/math_private.h: Use it.
3905 (math_opt_barrier, math_force_eval): Remove.
3906 (libc_feholdexcept_setround_53bit): Remove.
3907 (libc_feupdateenv_53bit): Remove.
3908 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3909 (math_opt_barrier, math_force_eval): Remove.
3910 (libc_feholdexcept): Remove.
3911 (libc_feholdexcept_setround): Remove.
3912 (libc_fetestexcept, libc_fesetenv): Remove.
3913 (libc_feupdateenv_test): Remove.
3914 (libc_feupdateenv, libc_feholdsetround): Remove.
3915 (libc_feresetround): Remove.
3916
d0adc922
RH
3917 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3918 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3919
0fe0f1f8
RH
3920 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3921 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3922 (libc_feupdateenv_testl): New.
3923 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3924 (libc_feupdateenv_testf): New.
3925 (libc_feupdateenv): Use libc_feupdateenv_test.
3926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3927 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3928
eb92c487
RH
3929 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3930 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3931 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3932 (libc_feresetround_noex): New.
3933 (libc_feresetround_noexf): New.
3934 (libc_feresetround_noexl): New.
3935 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3936 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3937 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3938 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3939 SET_RESTORE_ROUND.
3940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3942 (__cos): Likewise.
3943 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3944 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3945 SET_RESTORE_ROUND_NOEX.
3946 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3947 SET_RESTORE_ROUND_NOEXF.
3948 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3949 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3950 (libc_feholdsetroundf): New.
3951 (libc_feresetround, libc_feresetroundf): New.
3952
7d2e8012
RH
3953 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3954 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3955 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3956
b4dabbb4
RH
3957 * sysdeps/generic/math_private.h: Include <fenv.h>.
3958 (default_libc_feholdexcept): New.
3959 (default_libc_feholdexcept_setround): New.
3960 (default_libc_fesetenv, default_libc_feupdateenv): New.
3961 (libc_feholdexcept): Only define if undefined.
3962 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3963 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3964 (libc_feholdexcept_setroundl): Likewise.
3965 (libc_feholdexcept_setround_53bit): Likewise.
3966 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3967 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3968 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3969 (libc_feupdateenv_53bit): Likewise.
3970 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3971 (libc_feholdexcept): Convert from macro to inline function.
3972 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3973 (libc_fesetenv, libc_feupdateenv): Likewise.
3974
4851a949
RH
3975 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3976 not previously defined.
3977 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3978 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3979 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3980 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3981 * sysdeps/ieee754/flt-32/math_private.h: New file.
3982 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3983 math_private.h below SET_FLOAT_WORD.
3984 (__isnan, __isinf_ns, __finite): Remove.
3985 (__isnanf, __isinf_nsf, __finitef): Remove.
3986
e79d442e
AS
39872012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3988
3989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3990
90b80344
DM
39912012-03-17 David S. Miller <davem@davemloft.net>
3992
3993 [BZ #6471]
3994 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3995 for 2.16.
3996
edc21804
DM
39972012-03-16 David S. Miller <davem@davemloft.net>
3998
77e927af
DM
3999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4000 warnings.
4001
374976dd
DM
4002 [BZ #6471]
4003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4004 properly.
4005 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4006 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4007 sysdep_routines when subdir is sysvipc.
4008 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4009 __getshmlba helper.
4010
edc21804
DM
4011 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4012
473c3ef3
L
40132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4014
4015 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4016 [__LP64__].
4017
eb0f39b6
L
40182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4019
4020 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4021 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4022 (__lround): Renamed to ...
4023 (__llround): This. Replace long int with long long int.
4024 Define lround functions as aliases of llround functions.
4025 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4026
6b6cd74b
L
40272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4028
4029 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4030 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4031 adresses to uintptr_t. Replace "long int" and "unsigned long
4032 int" with "greg_t" on va_arg.
4033
f1a77b01
L
40342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4035
4036 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4037 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4038
4039 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4040 Move e_machine check before EI_CLASS check. Handle x32
4041 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4042 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4043 SKIP_EM_IA_64 and include
4044 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4045
4046 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4047 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4048 (add_system_dir): New macro.
4049
4050 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4051 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4052
11b90b9f
JM
40532012-03-16 Joseph Myers <joseph@codesourcery.com>
4054
c36e1d23
JM
4055 [BZ #2551]
4056 [BZ #2552]
4057 [BZ #2553]
4058 [BZ #2554]
4059 [BZ #2562]
4060 [BZ #2563]
4061 [BZ #2565]
4062 [BZ #2566]
4063 [BZ #2576]
4064 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4065 (y0): Likewise.
4066 * math/w_j0f.c (j0f): Likewise.
4067 (y0f): Likewise.
4068 * math/w_j0l.c (__j0l): Likewise.
4069 (__y0l): Likewise.
4070 * math/w_j1.c (j1): Likewise.
4071 (y1): Likewise.
4072 * math/w_j1f.c (j1f): Likewise.
4073 (y1f): Likewise.
4074 * math/w_j1l.c (__j1l): Likewise.
4075 (__y1l): Likewise.
4076 * math/w_jn.c (jn): Likewise.
4077 (yn): Likewise.
4078 * math/w_jnf.c (jnf): Likewise.
4079 (ynf): Likewise.
4080 * math/w_jnl.c (__jnl): Likewise.
4081 (__ynl): Likewise.
4082 * math/libm-test.inc (j0_test): Add more tests.
4083 (j1_test): Likewise.
4084 (jn_test): Likewise. Add trailing semicolon to existing test.
4085 (y0_test): Likewise.
4086 (y1_test): Likewise.
4087 * sysdeps/i386/fpu/libm-test-ulps: Update.
4088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089
11b90b9f
JM
4090 [BZ #13851]
4091 [BZ #13854]
4092 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4093 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4094 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4095 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4096 (__tanl): Set errno for infinite argument.
4097 * sysdeps/i386/fpu/mptan.c: Remove.
4098 * sysdeps/i386/fpu/s_tan.S: Likewise.
4099 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4100 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4101 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4102 * math/libm-test.inc (tan_test): Add more tests and enable more
4103 tests for double and long double.
4104 * sysdeps/i386/fpu/libm-test-ulps: Update.
4105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4106
6a1bd2a1
JK
41072012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4108
4109 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4110 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4111
10a803e0
RM
41122012-03-16 Roland McGrath <roland@hack.frob.com>
4113
4114 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4115 * configure.in: Use it for both main tree and add-ons.
4116 * configure: Regenerated.
4117
f196c7f7
L
41182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4119
4120 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4121
8848d99d
JM
41222012-03-16 Joseph Myers <joseph@codesourcery.com>
4123
96cbe7f4
JM
4124 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4125 in comment.
4126
8848d99d
JM
4127 [BZ #13851]
4128 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4129 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4133 infinite argument.
4134 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4136 != 0 for prec == 2.
4137 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4138 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4139 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4140 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4141 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4142 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4143 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4144 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4145 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4146 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4147 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4148 * math/libm-test.inc (cos_test): Add more tests and enable more
4149 tests for long double.
4150 (sin_test): Likewise.
4151 (sincos_test): Likewise.
4152 * sysdeps/i386/fpu/libm-test-ulps: Update.
4153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4154
dd7f4703
DM
41552012-03-16 David S. Miller <davem@davemloft.net>
4156
4157 * sysdeps/sparc/fpu/math_private.h: New file.
4158
006f1daa
DM
41592012-03-15 David S. Miller <davem@davemloft.net>
4160
c0c83bc8
DM
4161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4162 file.
e6a62e18 4163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4165 file.
e6a62e18
DM
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4172 sysdep routines.
4173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4174
88cb87d9
DM
4175 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4176 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4177
006f1daa 4178 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4180 sparc-ifunc.h
006f1daa 4181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4183 Likewise.
4184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4185 Likewise.
006f1daa
DM
4186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4190 Likewise.
006f1daa
DM
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4196 Likewise.
4197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4198 Likewise.
006f1daa
DM
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4222 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4223
11e0098e
AS
42242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4225
4226 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4227 scaling.
4228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4229
e85b09d0
AJ
42302012-03-15 Andreas Jaeger <aj@suse.de>
4231
4232 [BZ #13852]
4233 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4234 ieee754/flt-32 implementation for sin, cos and sincos.
4235 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4236 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4237 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4238 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4239 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4240 ieee754/flt-32 implementation for tan.
4241
4242 * math/libm-test.inc (cos_test): Enable some large input tests for
4243 float as well
4244 (sin_test): Likewise.
4245 (sincos_test): Likewise.
4246 (tan_test): Add tests for large input.
4247
4248 * sysdeps/i386/fpu/libm-test-ulps: Update.
4249
81c64153
AJ
42502012-03-15 Andreas Jaeger <aj@suse.de>
4251
4252 [BZ #13658]
4253 * math/libm-test.inc (cos_test): Add more test cases.
4254 (sin_test): Likewise.
4255 (sincos_test): Likewise.
4256
7bbfa5c6
AJ
42572012-03-15 Andreas Jaeger <aj@suse.de>
4258
4259 [BZ #13837]
4260 * math/libm-test.inc (cos_test): Add a test case for large input
4261 value.
4262 (sin_test): Likewise.
4263 (sincos_test): Likewise.
4264
42652012-03-15 Andreas Jaeger <aj@suse.de>,
4266 Joseph Myers <joseph@codesourcery.com>
4267
4268 [BZ #13658]
0671f479 4269 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4270 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4271 * sysdeps/i386/fpu/branred.c: Likewise.
4272 * sysdeps/i386/fpu/dosincos.c: Likewise.
4273 * sysdeps/i386/fpu/mpa.c: Likewise.
4274 * sysdeps/i386/fpu/s_cos.S: Likewise.
4275 * sysdeps/i386/fpu/s_sin.S: Likewise.
4276 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4277 * sysdeps/i386/fpu/sincos32.c: Likewise.
4278
4279 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4280 Define.
4281 (libc_feupdateenv_53bit): Define.
4282 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4283 Define.
4284 (libc_feupdateenv_53bit): Define.
4285
4286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4287 53 bit (without extend i386 double precision).
4288
4289 * math/libm-test.inc (sincos_test): Add tests for large input.
4290 (sin): Likewise.
4291 (cos): Likewise.
4292
4293 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4294
9cad04ea
AS
42952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4296
4297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4298
f7062b9a
DM
42992012-03-15 David S. Miller <davem@davemloft.net>
4300
4301 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4302 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4303 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4304 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4317 file.
f7062b9a 4318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4320 file.
f7062b9a 4321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4323 file.
f7062b9a 4324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4326 file.
f7062b9a
DM
4327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4329 fmin/fmax sysdep routines.
4330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4331
7bd951ff
DM
43322012-03-14 David S. Miller <davem@davemloft.net>
4333
559398ab
DM
4334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4339 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4341 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4361 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4363 routines.
4364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4365 file.
559398ab 4366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4368 file.
559398ab 4369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4371 file.
559398ab 4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4374 file.
559398ab 4375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4377 file.
559398ab 4378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4380 file.
4381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4382 file.
4383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4384 file.
4385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4386 file.
4387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4388 New file.
4389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4390 file.
4391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4392 file.
559398ab 4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4395 file.
559398ab 4396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4398 file.
559398ab 4399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4401 file.
559398ab 4402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4404 VIS3 routines.
559398ab
DM
4405
4406 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4407 New file.
4408
5a1c1e32
DM
4409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4410
eae47a36
DM
4411 * sysdeps/sparc/configure.in: New file.
4412 * sysdeps/sparc/configure: Generate.
4413 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4414 * configure: Regenerate.
4415 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4416 * config.make.in (have-as-vis3): New.
4417 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4418 available use -Av9d instead of -Av9a.
4419 * sysdeps/sparc/sparc64/Makefile: Likewise.
4420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4422 New file.
4423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4424 file.
4425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4426 New file.
4427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4428 file.
eae47a36
DM
4429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4433 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4434
c0c83bc8
DM
4435 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4436 fzeros/fnegs to load 0x80000000 into a float register instead of
4437 using the stack.
7bd951ff
DM
4438 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4439
bd951ccb
JM
44402012-03-14 Joseph Myers <joseph@codesourcery.com>
4441
4442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4443 bits/syscall.h.
4444 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4445 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4446 ($(inst_includedir)/bits/syscall.h): Remove rule.
4447 ($(objpfx)bits/syscall.d): Include instead of
4448 $(objpfx)syscall-list.d.
4449 (generated): Change syscall-list.h and syscall-list.d to
4450 bits/syscall.h and bits/syscall.d.
4451
bb4e6db2
RM
44522012-03-14 Roland McGrath <roland@hack.frob.com>
4453
4454 [BZ #13846]
4455 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4456
aa4a2ae1
JM
44572012-03-14 Joseph Myers <joseph@codesourcery.com>
4458
e456826d
JM
4459 [BZ #13841]
4460 * math/s_csqrt.c: Include <float.h>.
4461 (__csqrt): Scale large or subnormal inputs.
4462 * math/s_csqrtf.c: Likewise.
4463 * math/s_csqrtl.c: Likewise.
4464 * math/libm-test.inc (csqrt_test): Add more tests.
4465 * sysdeps/i386/fpu/libm-test-ulps: Update.
4466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4467
aa4a2ae1
JM
4468 [BZ #13840]
4469 * math/libm-test.inc (hypot_test): Add more tests.
4470
7c10fd35
DM
44712012-03-13 David S. Miller <davem@davemloft.net>
4472
4473 [BZ #13840]
4474 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4475 double-precision for the calculation instead of scaling.
4476
f453b98b
JM
44772012-03-13 Joseph Myers <joseph@codesourcery.com>
4478
4479 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4480 manipulate bits before adding and subtracting TWO52[sx].
4481 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4482 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4483 Likewise.
4484 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4485
09a3453f
DM
44862012-03-13 David S. Miller <davem@davemloft.net>
4487
8e59da90
DM
4488 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4489 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4490 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4491 rtld-global-offsets.h
4492 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4493
2a8ab7f2
DM
4494 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4495 large parameters.
4496
10f62770
DM
4497 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4498
5f0bdb18
DM
4499 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4500 'err' in the ifdef scope in which it is actually used.
4501
09a3453f
DM
4502 * nss/nss_db/db-init.c: Include string.h
4503
b4b2eb5e
DM
45042012-03-12 David S. Miller <davem@davemloft.net>
4505
98bb2f1c
DM
4506 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4507 masking out of the most significant byte of random value used.
4508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4509 Fix coding style in previous change.
4510
b4b2eb5e
DM
4511 * sysdeps/unix/sysv/linux/kernel-features.h
4512 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4513 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4514 expression.
4515 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4516 later.
4517
6e226b09
DM
45182012-03-11 David S. Miller <davem@davemloft.net>
4519
a1bcbd40
DM
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4521 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4522 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4523 for 'resultvar' otherwise things get truncated on 64-bit.
4524
cb9d6174
DM
4525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4526 Fix masking out of the most significant byte of random value used.
4527
6e226b09
DM
4528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4529
058c132d
AS
45302012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4531
4532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4533
2d2cd515
DM
45342012-03-09 David S. Miller <davem@davemloft.net>
4535
4536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4537 variables with appropriate CPP guards.
4538 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4539 frame pointer, not the stack pointer. Correct layout comments. Fix test
4540 on resulting framesize and the management of the outregs buffer for pltexit.
4541 Preserve floating point return values across _dl_call_pltexit call.
4542 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4543 framesize and the management of the outregs buffer for pltexit.
4544 Preserve floating point return values across _dl_call_pltexit
4545 call.
4546 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4547 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4548 (print_exit): Fix format string for return register value.
4549
9a07f9d0
JM
45502012-03-10 Joseph Myers <joseph@codesourcery.com>
4551
4552 * sunrpc/Makefile (others): Add rpcgen.
4553 ($(objpfx)rpcgen): Remove special build rule and dependency on
4554 libc.
4555 * sunrpc/rpcgen.c: New file.
4556
547b5e30
PE
45572012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4558
c524201a
PE
4559 [BZ #13673]
4560 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4561 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4562 * sysdeps/i386/crti.S: Likewise.
4563 * sysdeps/i386/crtn.S: Likewise.
4564 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4565 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4566 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4567 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4568 * sysdeps/sh/crti.S: Likewise.
4569 * sysdeps/sh/crtn.S: Likewise.
4570 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4571
7b6235f2
PE
4572 [BZ #13673]
4573 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4574 with URL.
4575 * locale/programs/locfile-kw.gperf: Likewise.
4576 * locale/programs/charmap-kw.h: Regenerated.
4577 * locale/programs/locfile-kw.h: Likewise.
4578
547b5e30
PE
4579 [BZ #13673]
4580 * intl/plural.y: Replace FSF snail mail address with URL.
4581 * intl/plural.c: Regenerated.
4582
5f0a5dae
RH
45832012-03-09 Richard Henderson <rth@twiddle.net>
4584
4585 * include/math_private.h: Remove file.
4586 * math/math_private.h: Move file ...
4587 * sysdeps/generic/math_private.h: ... here.
4588
b8c03620
RH
4589 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4590 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4591 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4592
4e234f5d 4593 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4594 and <math_private.h>.
4595 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4596 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4597 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4598 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4599 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4600 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4601 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4604 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4606 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4607 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4609 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4610 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4616 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4617 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4619 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4621 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4625 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4628 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4647 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4652 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4653 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4654 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4655 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4656 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4657 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4659 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4660 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4661 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4662 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4663 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4664 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4665 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4666 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4667 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4669 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4673 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4674 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4675 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4676 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4677 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4678 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4679 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4682 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4683 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4686 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4687 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4688 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4689 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4690 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4691 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4692 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4694 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4695 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4696 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4697 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4698 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4700 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4701 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4702 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4703 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4705 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4706 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4707 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4708 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4709 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4710 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4711 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4712 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4713 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4714 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4715 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4716 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4717 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4718 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4719 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4720 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4721 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4722 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4723 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4724 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4725 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4726 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4727 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4728 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4729 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4730 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4731 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4732 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4733 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4734 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4735 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4736 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4737 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4738 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4739 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4740 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4741 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4742 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4743 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4744 * sysdeps/ieee754/k_standard.c: Likewise.
4745 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4749 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4757 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4758 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4759 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4772 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4775 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4776 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4777 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4778 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4780 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4781 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4784 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4786 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4788 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4789 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4790 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4791 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4792 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4793 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4794 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4795 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4796 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4797 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4798 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4799 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4800 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4802 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4803 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4804 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4805 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4857 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4860 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4861 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4864 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4865 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4867 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4872 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4877 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4880 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4885 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4886 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4890 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4893 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4894 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4895 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4898 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4901 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4902 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4903 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4904 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4905 * sysdeps/ieee754/s_lib_version.c: Likewise.
4906 * sysdeps/ieee754/s_matherr.c: Likewise.
4907 * sysdeps/ieee754/s_signgam.c: Likewise.
4908 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4909 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4910 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4911 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4912 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4913 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4914 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4915 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4916 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4917 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4918 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4919 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4920 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4921 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4922 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4923 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4924 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4925 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4926 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4927 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4929
1991fa03
JM
49302012-03-09 Joseph Myers <joseph@codesourcery.com>
4931
4932 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4933 * sunrpc/rpc_main.c: Likewise.
4934 * sunrpc/rpc_svcout.c: Likewise.
4935
60d6f5a6
DM
49362012-03-09 David S. Miller <davem@davemloft.net>
4937
4938 * include/math_private.h: New file.
4939
4962050e
JM
49402012-03-09 Joseph Myers <joseph@codesourcery.com>
4941
02a6f887
JM
4942 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4943 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4944 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4945 from <bits/socket_type.h>.
4946 (enum __socket_type): Don't define here.
4947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4949 bits/socket_type.h.
4950
c6e013c1
JM
4951 [BZ #13566]
4952 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4953 checking __USE_GNU.
4954
4962050e
JM
4955 * Makerules ($(inst_includedir)/%.h): New rule.
4956 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4957 (install-others): Remove variable setting.
4958 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4959
38842f45
RH
49602012-03-08 Richard Henderson <rth@twiddle.net>
4961
67bb6da6
RH
4962 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4963 from macro to inline function; merge with the
4964 !__LIBC_INTERNAL_MATH_INLINES version.
4965 (__ieee754_sqrtf): Likewise.
4966
15194b4b
RH
4967 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4968 to inline function.
4969 (__rintf, __floor, __floorf): Likewise.
4970
64e21ede
RH
4971 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4972 macro to inline function.
4973 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4974
38842f45
RH
4975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4976 not <math/math_private.h>.
4977
c64bf5fe
DM
49782012-03-08 David S. Miller <davem@davemloft.net>
4979
4980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4981 copyright year.
4982 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4983
82d86f28
TS
49842012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4985
4986 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4987 normalization.
4988 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4989 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4990
aea5d727
UD
49912012-03-08 Ulrich Drepper <drepper@gmail.com>
4992
4993 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4994 be defined individually, they must be defined as a block. Define
4995 S for printing a string instead of hidint the different by using a
4996 macro for adding the 'l'.
4997 * stdio-common/tst-fphex-wide.c: Adjust.
4998
70bca0a3
MP
49992012-03-07 Marek Polacek <polacek@redhat.com>
5000
5001 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5002
65b81130
MP
50032012-03-08 Marek Polacek <polacek@redhat.com>
5004
5005 [BZ #13806]
5006 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5007 * stdio-common/tst-fphex.c: Define a few macros to make the
5008 test reusable. Use them.
5009 * stdio-common/tst-fphex-wide.c: New file.
5010
07037eeb
JM
50112012-03-08 Joseph Myers <joseph@codesourcery.com>
5012
a7a93d50
JM
5013 [BZ #6911]
5014 * manual/macros.texi (gnusystems): New macro.
5015 (nongnusystems): Likewise.
5016 (gnulinuxhurdsystems): Likewise.
5017 (gnuhurdsystems): Likewise..
5018 (gnulinuxsystems): Likewise.
5019 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5020 variants of the GNU system, not "GNU system".
5021 * manual/conf.texi: Likewise.
5022 * manual/errno.texi: Likewise. Update example of errno macro
5023 expansion.
5024 * manual/filesys.texi: Likewise.
5025 (getumask): Document as specific to GNU/Hurd.
5026 * manual/install.texi: Likewise. Reword some references to
5027 GNU/Linux.
5028 * manual/intro.texi: Likewise.
5029 * manual/io.texi: Likewise.
5030 (File Name Portability): Detail which constraints are inapplicable
5031 to all GNU systems and which are only inapplicable to GNU/Hurd.
5032 * manual/job.texi: Likewise.
5033 * manual/llio.texi: Likewise.
5034 (O_NOCTTY): Document as present on GNU/Linux.
5035 * manual/maint.texi: Likewise.
5036 * manual/memory.texi: Likewise.
5037 * manual/pattern.texi: Likewise.
5038 * manual/pipe.texi: Likewise.
5039 * manual/process.texi: Likewise.
5040 * manual/resource.texi: Likewise.
5041 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5042 child on GNU/Hurd.
5043 * manual/setjmp.texi: Likewise.
5044 * manual/signal.texi: Likewise.
5045 * manual/startup.texi: Likewise.
5046 * manual/stdio.texi: Likewise.
5047 * manual/terminal.texi: Likewise.
5048 (ONLCR): Document as POSIX.
5049 (OXTABS): Document availability on GNU/Linux as XTABS.
5050 (ONOEOT): Document availability separately from other bits.
5051 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5052 * manual/time.texi: Likewise.
5053 * manual/users.texi: Likewise.
5054 * INSTALL: Regenerated.
5055 * sysdeps/gnu/errlist.c: Regenerated.
5056
07037eeb
JM
5057 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5058 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5059 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5060 puts.
5061 * configure: Regenerated.
5062
d1d3431a
JM
50632012-03-07 Joseph Myers <joseph@codesourcery.com>
5064
af6a1e37
JM
5065 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5066 default includes instead of AC_HEADER_CHECK.
5067 * sysdeps/i386/configure: Regenerated.
5068
d1d3431a
JM
5069 [BZ #10716]
5070 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5071 * math/s_cacoshf.c (__cacoshf): Likewise.
5072 * math/s_cacoshl.c (__cacoshl): Likewise.
5073 * math/s_casinh.c (__casinh): Set signs of result from argument.
5074 * math/s_casinhf.c (__casinhf): Likewise.
5075 * math/s_casinhl.c (__casinhl): Likewise.
5076 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5077 (casinh_test): Add more tests.
5078 * sysdeps/i386/fpu/libm-test-ulps: Update.
5079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5080
482ff4da
UD
50812012-03-07 Ulrich Drepper <drepper@gmail.com>
5082
872fda05
UD
5083 * po/zh_TW.po: Update from translation team.
5084
a4300c7a
UD
5085 * login/Makefile (distribute): Remove variable.
5086 * catgets/Makefile: Likewise.
5087 * mach/Makefile: Likewise.
5088 * malloc/Makefile: Likewise.
5089 * misc/Makefile: Likewise.
5090 * iconv/Makefile: Likewise.
5091 * nscd/Makefile: Likewise.
5092 * hurd/Makefile: Likewise.
5093 * manual/Makefile: Likewise.
5094 * locale/Makefile: Likewise.
5095 * intl/Makefile: Likewise.
5096 * conform/Makefile: Likewise.
5097 * nss/Makefile: Likewise.
5098 * time/Makefile: Likewise.
5099 * soft-fp/Makefile: Likewise.
5100 * dirent/Makefile: Likewise.
5101 * gmon/Makefile: Likewise.
5102 * po/Makefile: Likewise.
5103 * rt/Makefile: Likewise.
5104 * socket/Makefile: Likewise.
5105 * math/Makefile: Likewise.
5106 * signal/Makefile: Likewise.
5107 * debug/Makefile: Likewise.
5108 * elf/Makefile: Likewise.
5109 * timezone/Makefile: Likewise.
5110 * stdlib/Makefile: Likewise.
5111 * iconvdata/Makefile: Likewise.
5112 * sunrpc/Makefile: Likewise.
5113 * io/Makefile: Likewise.
5114 * argp/Makefile: Likewise.
5115 * inet/Makefile: Likewise.
5116 * hesiod/Makefile: Likewise.
5117 * grp/Makefile: Likewise.
5118 * csu/Makefile: Likewise.
5119 * wctype/Makefile: Likewise.
5120 * crypt/Makefile: Likewise.
5121 * libio/Makefile: Likewise.
5122 * string/Makefile: Likewise.
5123 * nis/Makefile: Likewise.
5124 * resolv/Makefile: Likewise.
5125 * stdio-common/Makefile: Likewise.
5126 * wcsmbs/Makefile: Likewise.
5127 * dlfcn/Makefile: Likewise.
5128 * posix/Makefile: Likewise.
5129
3b7c4e74 5130 [BZ #6959]
482ff4da
UD
5131 * timezone/Makefile: Don't install timezone files, just the programs
5132 and scripts.
5133
f72ed77d
UD
51342012-03-06 Ulrich Drepper <drepper@gmail.com>
5135
a000466f
UD
5136 * nss/databases.def: Add missing gshadow entry.
5137
f72ed77d
UD
5138 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5139
a53b7a4e
MP
51402012-03-06 Marek Polacek <polacek@redhat.com>
5141
5142 [BZ #13726]
5143 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5144 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5145 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5146 * stdio-common/tst-long-dbl-fphex.c: New file.
5147
e9258400
DM
51482012-03-06 David S. Miller <davem@davemloft.net>
5149
5150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5151 (set_obp_int): New function.
5152 (get_obp_int): New function.
5153 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5154 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5155 Avoid unused variable warnings on 'val' and use builtin_expect.
5156 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5157 __builtin_expect.
e9258400
DM
5158 (INLINE_CLONE_SYSCALL): Likewise.
5159
3bd2c723
DM
51602012-03-05 David S. Miller <davem@davemloft.net>
5161
5162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5163
bbb78d03
AS
51642012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5165
884c5db4
AS
5166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5167
bbb78d03
AS
5168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5169 only for |x| >= 40.
5170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5171
1c9f702a 51722012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5173
5174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5175 Replace gettimeofday with __vdso_gettimeofday.
5176
7be16f82
RM
5177 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5178 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5179 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5180
5181 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5182 time with __vdso_time.
5183
ed58a00f
JM
51842012-03-05 Joseph Myers <joseph@codesourcery.com>
5185
5186 * manual/lang.texi (size_t): Note types to which size_t may be
5187 equivalent with the GNU C Library, but do not describe when
5188 differences between them are significant.
5189
30ee4ced
AJ
51902012-03-05 Andreas Jaeger <aj@suse.de>
5191
5192 * sysdeps/i386/fpu/libm-test-ulps: Update.
5193
b7cd39e8
JM
51942012-03-05 Joseph Myers <joseph@codesourcery.com>
5195
5196 [BZ #3976]
5197 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5198 (__ieee754_pow): Save and restore rounding mode and use
5199 round-to-nearest for main computations.
5200 * math/libm-test.inc (pow_test_tonearest): New function.
5201 (pow_test_towardzero): Likewise.
5202 (pow_test_downward): Likewise.
5203 (pow_test_upward): Likewise.
5204 (main): Call the new functions.
5205 * sysdeps/i386/fpu/libm-test-ulps: Update.
5206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5207
5208 [BZ #3976]
5209 * math/libm-test.inc (cosh_test_tonearest): New function.
5210 (cosh_test_towardzero): Likewise.
5211 (cosh_test_downward): Likewise.
5212 (cosh_test_upward): Likewise.
5213 (sinh_test_tonearest): Likewise.
5214 (sinh_test_towardzero): Likewise.
5215 (sinh_test_downward): Likewise.
5216 (sinh_test_upward): Likewise.
5217 (main): Call the new functions.
5218 * sysdeps/i386/fpu/libm-test-ulps: Update.
5219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5220
6c6a98c9
TV
52212012-03-05 Tom de Vries <tom@codesourcery.com>
5222
5223 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5224 default stack guard is set in last bytes.
5225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5226
21bb2d2e 52272012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5228
21bb2d2e 5229 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5230
21bb2d2e
AJ
5231 [BZ #13656]
5232 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5233 possibly allocate from heap instead of stack.
5234 * stdio-common/bug-vfprintf-nargs.c: New file.
5235 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5236
c6922934
AS
52372012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5238
5239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5240
bc957d53
MP
52412012-03-03 Marek Polacek <polacek@redhat.com>
5242
5243 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5244 * math/math_private.h: Likewise.
5245 * stdlib/tst-strtod.c: Likewise.
5246 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5247 * sysdeps/x86_64/bits/atomic.h: Likewise.
5248
6358490d
DM
52492012-03-02 David S. Miller <davem@davemloft.net>
5250
5251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5255 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5256 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5257 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5258 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5259
01ae168d
RM
52602012-03-02 Roland McGrath <roland@hack.frob.com>
5261
d9a17c07
RM
5262 [BZ #13792]
5263 * manual/examples/README: New file, says the example source files
5264 can be used under GPL>=2.
5265 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5266 line containing just "*/".
5267 * manual/examples/add.c: Add copyright header (GPL>=2).
5268 * manual/examples/argp-ex1.c: Likewise.
5269 * manual/examples/argp-ex2.c: Likewise.
5270 * manual/examples/argp-ex3.c: Likewise.
5271 * manual/examples/argp-ex4.c: Likewise.
5272 * manual/examples/atexit.c: Likewise.
5273 * manual/examples/db.c: Likewise.
5274 * manual/examples/dir.c: Likewise.
5275 * manual/examples/dir2.c: Likewise.
5276 * manual/examples/execinfo.c: Likewise.
5277 * manual/examples/filecli.c: Likewise.
5278 * manual/examples/filesrv.c: Likewise.
5279 * manual/examples/fmtmsgexpl.c: Likewise.
5280 * manual/examples/genpass.c: Likewise.
5281 * manual/examples/inetcli.c: Likewise.
5282 * manual/examples/inetsrv.c: Likewise.
5283 * manual/examples/isockad.c: Likewise.
5284 * manual/examples/longopt.c: Likewise.
5285 * manual/examples/memopen.c: Likewise.
5286 * manual/examples/memstrm.c: Likewise.
5287 * manual/examples/mkfsock.c: Likewise.
5288 * manual/examples/mkisock.c: Likewise.
5289 * manual/examples/mygetpass.c: Likewise.
5290 * manual/examples/pipe.c: Likewise.
5291 * manual/examples/popen.c: Likewise.
5292 * manual/examples/rprintf.c: Likewise.
5293 * manual/examples/search.c: Likewise.
5294 * manual/examples/select.c: Likewise.
5295 * manual/examples/setjmp.c: Likewise.
5296 * manual/examples/sigh1.c: Likewise.
5297 * manual/examples/sigusr.c: Likewise.
5298 * manual/examples/stpcpy.c: Likewise.
5299 * manual/examples/strdupa.c: Likewise.
5300 * manual/examples/strftim.c: Likewise.
5301 * manual/examples/strncat.c: Likewise.
5302 * manual/examples/subopt.c: Likewise.
5303 * manual/examples/swapcontext.c: Likewise.
5304 * manual/examples/termios.c: Likewise.
5305 * manual/examples/testopt.c: Likewise.
5306 * manual/examples/testpass.c: Likewise.
5307 * manual/examples/timeval_subtract.c: Likewise.
5308
01ae168d
RM
5309 [BZ #13792]
5310 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5311 function to ...
5312 * manual/timeval_subtract.c.texi: ... here, new file.
5313
49efa33d
DM
53142012-03-02 David S. Miller <davem@davemloft.net>
5315
5316 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5317
28afd92d
JM
53182012-03-02 Joseph Myers <joseph@codesourcery.com>
5319
804360ed
JM
5320 [BZ #3976]
5321 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5322 (__sin): Save and restore rounding mode and use round-to-nearest
5323 for all computations.
5324 (__cos): Save and restore rounding mode and use round-to-nearest
5325 for all computations.
5326 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5327 <fenv.h>.
5328 (tan): Save and restore rounding mode and use round-to-nearest for
5329 all computations.
5330 * math/libm-test.inc (cos_test_tonearest): New function.
5331 (cos_test_towardzero): Likewise.
5332 (cos_test_downward): Likewise.
5333 (cos_test_upward): Likewise.
5334 (sin_test_tonearest): Likewise.
5335 (sin_test_towardzero): Likewise.
5336 (sin_test_downward): Likewise.
5337 (sin_test_upward): Likewise.
5338 (tan_test_tonearest): Likewise.
5339 (tan_test_towardzero): Likewise.
5340 (tan_test_downward): Likewise.
5341 (tan_test_upward): Likewise.
5342 (main): Call the new functions.
5343 * sysdeps/i386/fpu/libm-test-ulps: Update.
5344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5345
a6d06d7b
JM
5346 [BZ #10135]
5347 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5348 small n, then large n, before computing and testing k+n.
5349 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5350 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5351 Likewise.
5352 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5353 Likewise.
5354 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5355 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5356 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5357 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5360 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5361 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5362 * math/libm-test.inc (scalbn_test): Add more tests.
5363 (scalbln_test): Likewise.
5364
07e12bb3
JM
5365 * manual/filesys.texi (mode_t): Describe constraints on size and
5366 signedness, not exact equivalence to a particular type.
5367 (ino_t): Likewise.
5368 (ino64_t): Likewise.
5369 (dev_t): Likewise.
5370 (nlink_t): Likewise.
5371 (blkcnt_t): Likewise.
5372 (blkcnt64_t): Likewise.
5373 * manual/llio.texi (off_t): Likewise.
5374
28afd92d
JM
5375 [BZ #3976]
5376 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5377 (__ieee754_exp): Save and restore rounding mode and use
5378 round-to-nearest for all computations.
5379 * math/libm-test.inc (exp_test_tonearest): New function.
5380 (exp_test_towardzero): Likewise.
5381 (exp_test_downward): Likewise.
5382 (exp_test_upward): Likewise.
5383 (main): Call the new functions.
5384 * sysdeps/i386/fpu/libm-test-ulps: Update.
5385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5386
b1eeb65d
CD
53872012-03-01 Chris Demetriou <cgd@google.com>
5388
5389 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5390 have predictable order.
5391
53362a4b
DM
53922012-03-01 David S. Miller <davem@davemloft.net>
5393
3c969083
DM
5394 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5395
759707de
DM
5396 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5397 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5398 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5399 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5400
dfdb8ff2
DM
5401 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5402 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5403 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5405 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5406 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5407 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5408 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5409 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5410
ead89f96
DM
5411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5412
7f66bd07
DM
5413 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5414 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5415 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5416
53362a4b
DM
5417 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5418 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5419 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5420 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5421 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5422 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5423 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5424 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5425 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5426 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5427 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5428 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5430 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5431 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5433 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5434 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5435 * sysdeps/sparc/elf/configure: Regenerated.
5436
7b1902cb
JM
54372012-03-01 Joseph Myers <joseph@codesourcery.com>
5438
bec039bc
JM
5439 * configure.in (AS, LD): Require binutils 2.20 or later.
5440 * configure: Regenerated.
5441 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5442 as required minimum version.
5443 * INSTALL: Regenerated.
5444
7b1902cb
JM
5445 [BZ #2541]
5446 [BZ #4108]
5447 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5448 before squaring exponent.
5449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5450 bottom long double and 27 bits of top long double before squaring
5451 exponent.
5452 * math/libm-test.inc (erfc_test): Add more tests.
5453 * sysdeps/i386/fpu/libm-test-ulps: Update.
5454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5456
f775c276
KT
54572012-03-01 Kai Tietz <ktietz@redhat.com>
5458
5459 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5460 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5461 containing bit-fields.
5462 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5463 * soft-fp/single.h (_FP_UNION_S): Likewise.
5464 * soft-fp/double.h (_FP_UNION_D): Likewise.
5465
5b8a4d4a
JM
54662012-02-29 Joseph Myers <joseph@codesourcery.com>
5467
0bab47b6
JM
5468 [BZ #13786]
5469 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5470 not include ../strcmp.S.
5471 [USE_AS_STRNCASECMP_L]: Likewise.
5472 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5473 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5474 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5475 (__strncasecmp_l_ia32): Define as alias to
5476 __strncasecmp_l_nonascii.
5477
0fcad3e2
JM
5478 [BZ #5794]
5479 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5480 * sysdeps/i386/fpu/libm-test-ulps: Update.
5481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5482
5b8a4d4a
JM
5483 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5485
8fdceb2e
JL
54862012-02-29 Jeff Law <law@redhat.com>
5487
5488 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5489 out of bounds read.
5490
1f393a11
MP
54912012-02-29 Marek Polacek <polacek@redhat.com>
5492
5493 [BZ #13706]
5494 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5495 * elf/Makefile: Add rules to run tst-unused-dep.out.
5496
8847f037
DM
54972012-02-28 David S. Miller <davem@davemloft.net>
5498
5499 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5500 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5501 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5502 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5503 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5504 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5505
169d7f11
JM
55062012-02-29 Joseph Myers <joseph@codesourcery.com>
5507
5508 * math/libm-test.inc (llround_test): Move one test from
5509 lround_test. Use TEST_f_L in moved test.
5510 (lround_test): Move misplaced test to llround_test. Add testcase
5511 from bug 2561.
5512
39adf059
UD
55132012-02-28 Ulrich Drepper <drepper@gmail.com>
5514
5515 * sysdeps/x86_64/fpu/e_expf.S: New file.
5516 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5517
71b5d1c5
SB
55182012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5519
5520 [BZ #13637]
5521 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5522 of remain_len that may cause incomplete multi-byte character and
5523 false match.
5524 * posix/bug-regex33.c: New file.
5525 * posix/Makefile (tests): Add bug-regex33.
5526
1f77f049
JM
55272012-02-28 Joseph Myers <joseph@codesourcery.com>
5528
5529 * manual/macros.texi: New file.
5530 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5531 * manual/libc.texinfo: Include macros.texi.
5532 * manual/creatute.texi: Likewise.
5533 * manual/install.texi: Likewise.
5534 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5535 @glibcadj{} in references to the GNU C Library.
5536 * manual/charset.texi: Likewise.
5537 * manual/conf.texi: Likewise.
5538 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5539 when not using those macros.
5540 * manual/creature.texi: Likewise.
5541 * manual/crypt.texi: Likewise.
5542 * manual/errno.texi: Likewise.
5543 * manual/filesys.texi: Likewise.
5544 * manual/header.texi: Likewise.
5545 * manual/install.texi: Likewise.
5546 * manual/intro.texi: Likewise.
5547 * manual/io.texi: Likewise.
5548 * manual/job.texi: Likewise.
5549 * manual/lang.texi: Likewise.
5550 * manual/libc.texiinfo: Likewise.
5551 * manual/llio.texi: Likewise.
5552 * manual/locale.texi: Likewise.
5553 * manual/maint.texi: Likewise.
5554 * manual/math.texi: Likewise.
5555 * manual/memory.texi: Likewise.
5556 * manual/message.texi: Likewise.
5557 * manual/nss.texi: Likewise.
5558 * manual/pattern.texi: Likewise.
5559 * manual/process.texi: Likewise.
5560 * manual/resource.texi: Likewise.
5561 * manual/search.texi: Likewise.
5562 * manual/setjmp.texi: Likewise.
5563 * manual/signal.texi: Likewise.
5564 * manual/socket.texi: Likewise.
5565 * manual/startup.texi: Likewise.
5566 * manual/stdio.texi: Likewise.
5567 * manual/string.texi: Likewise.
5568 * manual/sysinfo.texi: Likewise.
5569 * manual/syslog.texi: Likewise.
5570 * manual/terminal.texi: Likewise.
5571 * manual/time.texi: Likewise.
5572 * manual/users.texi: Likewise.
5573 * INSTALL: Regenerated.
5574 * NOTES: Regenerated.
d40c5d54 5575 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5576
450bf206
AS
55772012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5578
5579 * include/dirent.h: Include <dirstream.h> before
5580 <dirent/dirent.h>.
5581
741a235b
DM
55822012-02-28 David S. Miller <davem@davemloft.net>
5583
5584 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5585 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5586 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5587 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5588
d6b5aa58
DM
55892012-02-27 David S. Miller <davem@davemloft.net>
5590
1aff59a3
DM
5591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5593 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5594 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5595
d6b5aa58
DM
5596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5597 frame pointer instead of stack pointer relative arg slot.
5598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5599 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5600 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5601
433f48bf
CD
56022012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5603
5604 [BZ #3992]
5605 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5606
d674b76d
DM
56072012-02-27 David S. Miller <davem@davemloft.net>
5608
5609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5613 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5614 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5615 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5616 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5617
0e7727f7
JM
56182012-02-27 Joseph Myers <joseph@codesourcery.com>
5619
5620 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5621 later. Allow versions 5-9.
43be4ca2 5622 * configure: Regenerated.
0e7727f7
JM
5623 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5624 required minimum version and 4.6 as recommended version. Do not
5625 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5626 * INSTALL: Regenerated.
0e7727f7 5627
a78bc654
DM
56282012-02-27 David S. Miller <davem@davemloft.net>
5629
428d5830
DM
5630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5634 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5635 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5636 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5637 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5638
a78bc654
DM
5639 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5640 manipulate bits before adding and subtracting TWO112[sx].
5641 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5642
4579f81c
RM
56432012-02-27 Roland McGrath <roland@hack.frob.com>
5644
36c8acb4
RM
5645 [BZ #13775]
5646 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5647 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5648 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5649 being in POSIX, because they are in 1003.1-2008.
5650
84ad622b
RM
5651 * rt/tst-aio.c: Include <fcntl.h>.
5652 * rt/tst-aio7.c: Likewise.
5653 * rt/tst-aio64.c: Likewise.
5654
4579f81c
RM
5655 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5656
abd923db
JM
56572012-02-27 Joseph Myers <joseph@codesourcery.com>
5658
5659 * manual/install.texi (--with-headers): Describe headers as
5660 interface headers, not private headers.
5661 (Specific advice for GNU/Linux systems): Describe use of headers
5662 from "make headers_install", not private headers from older
5663 kernels.
43be4ca2 5664 * INSTALL: Regenerated.
abd923db
JM
5665 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5666 Change to 2.6.19.
5667 * sysdeps/unix/sysv/linux/configure: Regenerated.
5668
6664049b
JM
5669 * manual/llio.texi (fclean): Remove documentation.
5670
bb8b6697
JM
5671 * manual/Makefile (libc-texi-generated): New variable. Include
5672 version.texi.
5673 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5674 $(libc-texi-generated), not duplicated list of files.
5675 (version.texi, stamp-version): New rules.
5676 (realclean): Remove $(libc-texi-generated), not individual files
5677 from that list. Do not remove dir-add.texinfo.
5678 * manual/libc.texinfo: Comment out uses of edition numbers and
5679 references to printed manual. Remove last-updated dates.
5680 (EDITION): Comment out.
5681 (ISBN): Likewise.
5682 (VERSION, UPDATED): Remove.
5683 (version.texi): Include.
5684
12e5c3b9
AS
56852012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5686
5687 * sysdeps/posix/spawni.c: Include <signal.h>.
5688 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5689 * sysdeps/pthread/aio_fsync.c: Likewise.
5690
4efeffc1 56912012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5692
ba63ba08
UD
5693 * conform/Makefile (tests): Run only when not cross-compiling and
5694 when fast-check is not defined.
5695
d94a4670
UD
5696 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5697 * conform/data/limits.h-data: Fixes for POSIX2008.
5698 * conform/run-conformtest.sh: Run all tests.
5699 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5700 headers.
5701 * include/bits/dlfcn.h: Likewise.
5702 * include/langinfo.h: Likewise.
5703 * include/monetary.h: Likewise.
5704 * include/sys/poll.h: Likewise.
5705
5706 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5707 for __USE_GNU.
5708 * posix/spawn.h: Define __need_sigset_t.
5709 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5710 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5711 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5712 to get sigevent_t only.
5713 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5714 only for __USE_GNU.
5715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5716 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5717 process_vm_writev only for __USE_GNU.
5718 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5719
5720 * conform/Makefile: For now ignore errors from run-conformtest.
5721 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5722 POSIX to avoid namespace pollution. Don't prepend headers.
5723 * conform/data/aio.h-data: Fixes for POSIX testing.
5724 * conform/data/fcntl.h-data: Likewise.
5725 * conform/data/glob.h-data: Likewise.
5726 * conform/data/grp.h-data: Likewise.
5727 * conform/data/pthread.h-data: Likewise.
5728 * conform/data/pwd.h-data: Likewise.
5729 * conform/data/signal.h-data: Likewise.
5730 * conform/data/spawn.h-data: Likewise.
5731 * conform/data/stdio.h-data: Likewise.
5732 * conform/data/stdlib.h-data: Likewise.
5733 * conform/data/stropts.h-data: Likewise.
5734 * conform/data/sys/mman.h-data: Likewise.
5735 * conform/data/sys/stat.h-data: Likewise.
5736 * conform/data/sys/types.h-data: Likewise.
5737 * conform/data/sys/wait.h-data: Likewise.
5738 * conform/data/time.h-data: Likewise.
5739 * conform/data/unistd.h-data: Likewise.
5740 * conform/data/utime.h-data: Likewise.
5741
5742 * io/sys/stat.h: fchmod was always in POSIX.
5743 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5744 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5745 * rt/aio.h: Define __need_timespec before including <time.h>.
5746 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5747 struct. Add forward declaration of pthread_attr_t and use it in
5748 sigevent.
5749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5750 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5751 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5752 always remove CLK_TCK definition.
5753
c20105c3
AS
57542012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5755
5756 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5757
7a270350
UD
57582012-02-25 Ulrich Drepper <drepper@gmail.com>
5759
31341567
UD
5760 * conform/run-conformtest.sh: New file.
5761 * conform/Makefile: Run run-conformtest for tests.
5762 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5763 support.
5764
5765 * conform/data/uchar.h-data: New file.
5766 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5767 * conform/data/arpa/inet.h-data: Likewise.
5768 * conform/data/assert.h-data: Likewise.
5769 * conform/data/complex.h-data: Likewise.
5770 * conform/data/cpio.h-data: Likewise.
5771 * conform/data/ctype.h-data: Likewise.
5772 * conform/data/dirent.h-data: Likewise.
5773 * conform/data/dlfcn.h-data: Likewise.
5774 * conform/data/errno.h-data: Likewise.
5775 * conform/data/fcntl.h-data: Likewise.
5776 * conform/data/float.h-data: Likewise.
5777 * conform/data/fmtmsg.h-data: Likewise.
5778 * conform/data/fnmatch.h-data: Likewise.
5779 * conform/data/ftw.h-data: Likewise.
5780 * conform/data/glob.h-data: Likewise.
5781 * conform/data/grp.h-data: Likewise.
5782 * conform/data/iconv.h-data: Likewise.
5783 * conform/data/inttypes.h-data: Likewise.
5784 * conform/data/langinfo.h-data: Likewise.
5785 * conform/data/libgen.h-data: Likewise.
5786 * conform/data/limits.h-data: Likewise.
5787 * conform/data/locale.h-data: Likewise.
5788 * conform/data/math.h-data: Likewise.
5789 * conform/data/monetary.h-data: Likewise.
5790 * conform/data/mqueue.h-data: Likewise.
5791 * conform/data/ndbm.h-data: Likewise.
5792 * conform/data/net/if.h-data: Likewise.
5793 * conform/data/netdb.h-data: Likewise.
5794 * conform/data/netinet/in.h-data: Likewise.
5795 * conform/data/nl_types.h-data: Likewise.
5796 * conform/data/poll.h-data: Likewise.
5797 * conform/data/pthread.h-data: Likewise.
5798 * conform/data/pwd.h-data: Likewise.
5799 * conform/data/regex.h-data: Likewise.
5800 * conform/data/sched.h-data: Likewise.
5801 * conform/data/search.h-data: Likewise.
5802 * conform/data/semaphore.h-data: Likewise.
5803 * conform/data/setjmp.h-data: Likewise.
5804 * conform/data/signal.h-data: Likewise.
5805 * conform/data/spawn.h-data: Likewise.
5806 * conform/data/stdarg.h-data: Likewise.
5807 * conform/data/stdio.h-data: Likewise.
5808 * conform/data/stdlib.h-data: Likewise.
5809 * conform/data/string.h-data: Likewise.
5810 * conform/data/strings.h-data: Likewise.
5811 * conform/data/stropts.h-data: Likewise.
5812 * conform/data/sys/ipc.h-data: Likewise.
5813 * conform/data/sys/mman.h-data: Likewise.
5814 * conform/data/sys/msg.h-data: Likewise.
5815 * conform/data/sys/resource.h-data: Likewise.
5816 * conform/data/sys/select.h-data: Likewise.
5817 * conform/data/sys/sem.h-data: Likewise.
5818 * conform/data/sys/shm.h-data: Likewise.
5819 * conform/data/sys/socket.h-data: Likewise.
5820 * conform/data/sys/stat.h-data: Likewise.
5821 * conform/data/sys/statvfs.h-data: Likewise.
5822 * conform/data/sys/time.h-data: Likewise.
5823 * conform/data/sys/timeb.h-data: Likewise.
5824 * conform/data/sys/times.h-data: Likewise.
5825 * conform/data/sys/types.h-data: Likewise.
5826 * conform/data/sys/uio.h-data: Likewise.
5827 * conform/data/sys/un.h-data: Likewise.
5828 * conform/data/sys/utsname.h-data: Likewise.
5829 * conform/data/sys/wait.h-data: Likewise.
5830 * conform/data/syslog.h-data: Likewise.
5831 * conform/data/tar.h-data: Likewise.
5832 * conform/data/termios.h-data: Likewise.
5833 * conform/data/utime.h-data: Likewise.
5834 * conform/data/utmpx.h-data: Likewise.
5835 * conform/data/varargs.h-data: Likewise.
5836 * conform/data/wchar.h-data: Likewise.
5837 * conform/data/wctype.h-data: Likewise.
5838 * conform/data/wordexp.h-data: Likewise.
5839
5840 * include/stropts.h: New file.
5841 * include/uchar.h: New file.
5842 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5843 * include/assert.h: Likewise.
5844 * include/ctype.h: Likewise.
5845 * include/dirent.h: Likewise.
5846 * include/dlfcn.h: Likewise.
5847 * include/fcntl.h: Likewise.
5848 * include/fnmatch.h: Likewise.
5849 * include/glob.h: Likewise.
5850 * include/grp.h: Likewise.
5851 * include/libio.h: Likewise.
5852 * include/locale.h: Likewise.
5853 * include/math.h: Likewise.
5854 * include/net/if.h: Likewise.
5855 * include/netdb.h: Likewise.
5856 * include/netinet/in.h: Likewise.
5857 * include/pthread.h: Likewise.
5858 * include/pwd.h: Likewise.
5859 * include/regex.h: Likewise.
5860 * include/sched.h: Likewise.
5861 * include/search.h: Likewise.
5862 * include/setjmp.h: Likewise.
5863 * include/signal.h: Likewise.
5864 * include/stdio.h: Likewise.
5865 * include/stdlib.h: Likewise.
5866 * include/string.h: Likewise.
5867 * include/sys/cdefs.h: Likewise.
5868 * include/sys/mman.h: Likewise.
5869 * include/sys/msg.h: Likewise.
5870 * include/sys/resource.h: Likewise.
5871 * include/sys/select.h: Likewise.
5872 * include/sys/socket.h: Likewise.
5873 * include/sys/stat.h: Likewise.
5874 * include/sys/statvfs.h: Likewise.
5875 * include/sys/time.h: Likewise.
5876 * include/sys/times.h: Likewise.
5877 * include/sys/uio.h: Likewise.
5878 * include/sys/utsname.h: Likewise.
5879 * include/sys/wait.h: Likewise.
5880 * include/termios.h: Likewise.
5881 * include/time.h: Likewise.
5882 * include/ulimit.h: Likewise.
5883 * include/unistd.h: Likewise.
5884 * include/utime.h: Likewise.
5885 * include/wchar.h: Likewise.
5886 * include/wctype.h: Likewise.
5887 * include/wordexp.h: Likewise.
5888
5889 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5890
7a270350
UD
5891 * time/time.h: TIME_UTC must be a macro.
5892 Make timespec_get available for ISO C11 only as well.
5893
7724defc
UD
58942012-02-24 Ulrich Drepper <drepper@gmail.com>
5895
5896 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5897 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5898
6b1d1d46
JM
58992012-02-24 Joseph Myers <joseph@codesourcery.com>
5900
5901 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5902
0f8bbd69
JM
59032012-02-24 Joseph Myers <joseph@codesourcery.com>
5904
5905 * manual/texinfo.tex: Update to version 2012-01-19.16.
5906
66ab80bc
JM
59072012-02-24 Joseph Myers <joseph@codesourcery.com>
5908
5909 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5910
74981cc5
RM
59112012-02-24 Roland McGrath <roland@hack.frob.com>
5912
ee968201
RM
5913 [BZ #13738]
5914 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5915 * manual/fdl-1.3.texi: New file.
5916 * manual/fdl-1.1.texi: File removed.
5917
74981cc5
RM
5918 [BZ #13738]
5919 * manual/libc.texinfo (FDL_VERSION): New @set.
5920 Use it for mention of FDL in cover text.
5921 (Documentation License): Use it in @include file name.
5922
7bb764bc
JM
59232012-02-22 Joseph Myers <joseph@codesourcery.com>
5924 Roland McGrath <roland@hack.frob.com>
5925
5926 [BZ #5461]
5927 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5928 not LONG_LONG_MAX and LONG_LONG_MIN.
5929 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5930 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5931 name.
5932 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5933
6cbeae47
JM
59342012-02-22 Joseph Myers <joseph@codesourcery.com>
5935
5936 [BZ #2547]
5937 [BZ #11365]
5938 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5939 manipulate bits before adding and subtracting TWO23[sx].
5940 * math/libm-test.inc (nearbyint_test): Add more tests.
5941
fe45ce09
JM
59422012-02-22 Joseph Myers <joseph@codesourcery.com>
5943
5944 [BZ #2548]
5945 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5946 bits before adding and subtracting TWO23[sx].
5947 * math/libm-test.inc (rint_test): Add more tests.
5948 (rint_test_tonearest): Likewise.
5949 (rint_test_towardzero): Likewise.
5950 (rint_test_downward): Likewise.
5951 (rint_test_upward: Likewise.
5952
ff3b3d82
JM
59532012-02-22 Joseph Myers <joseph@codesourcery.com>
5954
5955 [BZ #10110]
5956 * include/stdc-predef.h: New file. Extracted from features.h.
5957 * include/features.h: Include stdc-predef.h.
5958 * Makefile (headers): Add stdc-predef.h.
5959 * CONFORMANCE (Compiler limitations): Update.
5960
ef0aab35
JM
59612012-02-22 Joseph Myers <joseph@codesourcery.com>
5962
5963 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5964
58639409
DM
59652012-02-21 David S. Miller <davem@davemloft.net>
5966
5967 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5968 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5969
c0e70b25
DM
59702012-02-20 David S. Miller <davem@davemloft.net>
5971
5972 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5973 using a normal save/restore sequence, rather than allocating a
5974 dummy stack frame just to store a frame pointer and restore.
5975 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5976
fb06851d
JM
59772012-02-21 Joseph Myers <joseph@codesourcery.com>
5978
5979 * manual/install.texi: Fix stray word in line-wrapped comment.
5980
7a8b71c3
DM
59812012-02-20 David S. Miller <davem@davemloft.net>
5982
d510c123
DM
5983 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5984 both binutils and gcc support GOTDATA.
5985
0722d7c2
DM
5986 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5987 "rd %pc" in the PIC register setup sequences.
5988
3d2b3019
DM
5989 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5990 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5991 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5992 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5993 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5995 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5996 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5998 (SYSCALL_ERROR_HANDLER): Likewise.
5999 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6000 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6002 (SYSCALL_ERROR_HANDLER): Likewise.
6003
c80098a9
DM
6004 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6005 (HAVE_GCC_GOTDATA): New.
6006 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6007 relocation support in both binutils and gcc.
6008 * sysdeps/sparc/elf/configure: Regenerate.
6009
3a2545a0
DM
6010 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6011 * sysdeps/sparc/sparc32/elf/configure: Delete.
6012 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6013 * sysdeps/sparc/sparc64/elf/configure: Delete.
6014 * sysdeps/sparc/elf/configure.in: New file.
6015 * sysdeps/sparc/elf/configure: Generate.
6016
7a8b71c3
DM
6017 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6018 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6019 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6020 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6021 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6022
f1e86fca
JM
60232012-02-21 Joseph Myers <joseph@codesourcery.com>
6024
6025 * manual/install.texi: Do not mention specific glibc version
6026 numbers.
6027 * manual/libc.texinfo (VERSION, UPDATED): Update.
6028 (@copying): Use @copyright{} and range of years.
6029
0e7dfaef
JM
60302012-02-21 Joseph Myers <joseph@codesourcery.com>
6031
6032 [BZ #13695]
6033 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6034 [crti.S not in sysdirs] (generated): Do not append.
6035 [crti.S not in sysdirs] (omit-deps): Likewise.
6036 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6037 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6038 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6039 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6040 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6041 Likewise.
6042 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6043 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6044 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6045 * csu/defs.awk: Remove file.
6046 * sysdeps/generic/initfini.c: Likewise.
6047 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6048 variable.
6049 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6050 Likewise.
6051
599af3ca
JM
60522012-02-20 Joseph Myers <joseph@codesourcery.com>
6053
6054 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6055 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6056 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6059 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6060 <bits/epoll.h>.
6061 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6062 (__EPOLL_PACKED): Define to empty if not defined by
6063 <bits/epoll.h>.
6064 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6066 bits/epoll.h.
6067
0e499750
JM
60682012-02-20 Joseph Myers <joseph@codesourcery.com>
6069
6070 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6071 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6072 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6073 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6074 <bits/timerfd.h>.
6075 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6077 bits/timerfd.h.
6078
5ad91f6e
JM
60792012-02-20 Joseph Myers <joseph@codesourcery.com>
6080
6081 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6082 in C locale.
6083 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6084 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6085 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6087
06b99b02
AJ
60882012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6089
6090 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6091 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6092
7638c0fd
AS
60932012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6094
6095 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6096 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6097 defined.
6098 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6099 Likewise.
6100 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6101 entry for 2.16.
6102
92221550
AJ
61032012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6104
6105 * math/w_acos.c: Use non-signaling floating-point comparisons.
6106 * math/w_acosf.c: Likewise.
6107 * math/w_acosh.c: Likewise.
6108 * math/w_acoshf.c: Likewise.
6109 * math/w_acoshl.c: Likewise.
6110 * math/w_acosl.c: Likewise.
6111 * math/w_asin.c: Likewise.
6112 * math/w_asinf.c: Likewise.
6113 * math/w_asinl.c: Likewise.
6114 * math/w_atanh.c: Likewise.
6115 * math/w_atanhf.c: Likewise.
6116 * math/w_atanhl.c: Likewise.
6117 * math/w_exp2.c: Likewise.
6118 * math/w_exp2f.c: Likewise.
6119 * math/w_exp2l.c: Likewise.
6120 * math/w_j0.c: Likewise.
6121 * math/w_j0f.c: Likewise.
6122 * math/w_j0l.c: Likewise.
6123 * math/w_j1.c: Likewise.
6124 * math/w_j1f.c: Likewise.
6125 * math/w_j1l.c: Likewise.
6126 * math/w_jn.c: Likewise.
6127 * math/w_jnf.c: Likewise.
6128 * math/w_log.c: Likewise.
6129 * math/w_log10.c: Likewise.
6130 * math/w_log10f.c: Likewise.
6131 * math/w_log10l.c: Likewise.
6132 * math/w_log2.c: Likewise.
6133 * math/w_log2f.c: Likewise.
6134 * math/w_log2l.c: Likewise.
6135 * math/w_logf.c: Likewise.
6136 * math/w_logl.c: Likewise.
6137 * math/w_sqrt.c: Likewise.
6138 * math/w_sqrtf.c: Likewise.
6139 * math/w_sqrtl.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6143 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6145
ebaf36eb
JM
61462012-02-19 Joseph Myers <joseph@codesourcery.com>
6147
6148 [BZ #9739]
6149 * manual/string.texi (strnlen): Use correct parameter name in
6150 equivalent expression.
6151
71c254a6
JM
61522012-02-19 Joseph Myers <joseph@codesourcery.com>
6153
6154 [BZ #11174]
6155 * manual/users.texi (seteuid): Consistently use neweuid for
6156 argument name.
6157
16d2c631
JM
61582012-02-19 Joseph Myers <joseph@codesourcery.com>
6159
6160 [BZ #13704]
6161 * manual/nss.texi (Services in the NSS configuration): Correct
6162 list of services in example configuration file.
6163
cd837b09
NB
61642012-02-19 Nick Bowler <nbowler@draconx.ca>
6165
6166 [BZ #11322]
6167 * manual/arith.texi: Remove statements about negative zero
6168 behaving identically to zero.
6169
02c4bbad
JM
61702012-02-18 Joseph Myers <joseph@codesourcery.com>
6171
6172 [BZ #5993]
6173 * manual/install.texi: Do not document upgrading from libc5.
6174
366842e7
JM
61752012-02-18 Joseph Myers <joseph@codesourcery.com>
6176
6177 [BZ #4596]
6178 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6179
dd54084d
DM
61802012-02-18 David S. Miller <davem@davemloft.net>
6181
6182 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6183 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6184 %o7 across the call.
6185 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6186 instead.
6187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6188 SETUP_PIC_REG_LEAF.
6189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6190 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6191 * sysdeps/sparc/crtn.S: Likewise.
6192
2bcc53a3
UD
61932012-02-17 Ulrich Drepper <drepper@gmail.com>
6194
6195 * aout/Makefile: Remove.
6196
09c093b5
RK
61972012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6198
6199 [BZ #13058]
6200 * manual/examples/argp-ex1.c (main): Format definition in GNU
6201 style.
6202 * manual/examples/argp-ex2.c (main): Likewise.
6203 * manual/examples/argp-ex3.c (main): Likewise.
6204 * manual/examples/argp-ex4.c (main): Likewise.
6205 * manual/examples/longopt.c (main): Use new-style prototype
6206 definition.
6207 * manual/examples/strncat.c (main): Specify return type and use
6208 (void) for arguments.
6209 * manual/examples/subopt.c (main): Use char **argv argument.
6210
2ee633a2
JM
62112012-02-17 Joseph Myers <joseph@codesourcery.com>
6212
6213 [BZ #5077]
6214 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6215 rounding modes.
6216
0520adde
FB
62172012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6218
6219 [BZ #6907]
6220 * manual/string.texi (strchr): Change when strchrnul is
6221 recommended.
6222
3f4081cd
DGM
62232012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6224
6225 [BZ #174]
6226 * manual/locale.texi (setlocale): Document LOCPATH.
6227
d1b10e78
JM
62282012-02-17 Joseph Myers <joseph@codesourcery.com>
6229
6230 [BZ #10210]
6231 * manual/process.texi (execle): Move @dots{} before last argument.
6232
79c6869c
PB
62332012-02-17 Paul Bolle <pebolle@tiscali.nl>
6234
6235 [BZ #12047]
6236 * manual/charset.texi (Generic Charset Conversion): Fix typo
6237 (LC_TYPE -> LC_CTYPE).
6238
cc6e48bc
NB
62392012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6240
6241 [BZ #5805]
6242 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6243 (scalbnf): Likewise.
6244 (scalbnl): Likewise.
6245 (scalbln): Likewise.
6246 (scalblnf): Likewise.
6247 (scalblnl): Likewise.
6248 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6249 (vwarnx): Likewise.
6250 (verr): Likewise.
6251 (verrx): Likewise.
6252 * manual/filesys.texi (telldir): Use braces around return type.
6253 * manual/llio.texi (mmap): Add space after comma.
6254 (mmap64): Likewise.
6255 * manual/math.texi (jn): Use @var{} on parameter names.
6256 (jnf): Likewise.
6257 (jnl): Likewise.
6258 (yn): Likewise.
6259 (ynf): Likewise.
6260 (ynl): Likewise.
6261 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6262 line.
6263 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6264 "...".
6265 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6266 (sched_get_priority_max): Likewise.
6267 * manual/signal.texi (sigvec): Add space after comma.
6268 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6269 names.
6270 (if_indextoname): Likewise.
6271 (if_freenameindex): Likewise.
6272 (sendto): Use ',' instead of '.' in prototype.
6273 * manual/startup.texi (syscall): Use @dots{} instead of literal
6274 "...".
6275 * manual/stdio.texi (__fpending): Separate initial words of
6276 paragraph from @deftypefun line.
6277 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6278 "...".
6279 (vsyslog): Use @var{} on parameter names.
6280 * manual/terminal.texi (stty): Use @var{} on parameter names.
6281 * manual/users.texi (getutmp): Use @var{} on parameter names.
6282 (getutmpx): Likewise.
6283
5b23062f
JM
62842012-02-17 Joseph Myers <joseph@codesourcery.com>
6285
6286 [BZ #6884]
6287 * manual/stdio.texi (fopen): Fix typos in description of
6288 ",ccs=STRING".
6289
8dee4833
AJ
62902012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6291
6292 [BZ #4026]
6293 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6294 get clock_id definition.
6295
9078ce93
TS
62962012-02-17 Thomas Schwinge <thomas@schwinge.name>
6297
6298 [BZ #4822]
6299 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6300 (madvise): Cast every argument to void on its own.
6301
3835c55f
JM
63022012-02-17 Joseph Myers <joseph@codesourcery.com>
6303
6304 [BZ #9902]
6305 * manual/startup.texi (Exit Status): Fix typo.
6306
35c47e37
JM
63072012-02-17 Joseph Myers <joseph@codesourcery.com>
6308
6309 [BZ #10140]
6310 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6311 * manual/examples/argp-ex2.c: Likewise.
6312 * manual/examples/argp-ex3.c: Likewise.
6313
e3b69ca7
RH
63142012-02-16 Richard Henderson <rth@redhat.com>
6315
6316 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6317 * sysdeps/s390/s390-32/initfini.c: Remove.
6318 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6319 * sysdeps/s390/s390-64/initfini.c: Remove.
6320
df83af67
KK
63212012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6322
6323 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6324 compiler output for sysdeps/generic/initfini.c.
6325 * sysdeps/sh/elf/initfini.c: Remove file.
6326
f63f3380
DM
63272012-02-16 David S. Miller <davem@davemloft.net>
6328
fb59b3a4
DM
6329 [BZ #11494]
6330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6331
f63f3380
DM
6332 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6333 * sysdeps/sparc/crti.S: New file.
6334 * sysdeps/sparc/crtn.S: New file.
6335 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6336 * sysdeps/sparc/sparc64/Makefile: Likewise.
6337
df6a4a4a
MF
63382012-02-15 Mike Frysinger <vapier@gentoo.org>
6339
6dd8f3dc 6340 [BZ #3335]
df6a4a4a
MF
6341 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6342
1cac7236
RM
63432012-02-15 Roland McGrath <roland@hack.frob.com>
6344
d2c736f8
RM
6345 [BZ #4822]
6346 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6347
1cac7236
RM
6348 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6349 (write, read, close): Likewise.
6350 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6351
8e475601
JM
63522012-02-15 Joseph Myers <joseph@codesourcery.com>
6353
6354 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6355 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6356 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6357 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6358 <bits/signalfd.h>.
6359 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6361 bits/signalfd.h.
6362
ed656b40
MP
63632012-02-14 Marek Polacek <polacek@redhat.com>
6364
6365 * sysdeps/x86_64/crti.S: New file.
6366 * sysdeps/x86_64/crtn.S: New file.
6367 * sysdeps/x86_64/elf/initfini.c: Remove file.
6368
2a979d3a
JM
63692012-02-13 Joseph Myers <joseph@codesourcery.com>
6370
6371 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6372 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6373 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6374 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6375 <bits/inotify.h>.
6376 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6378 bits/inotify.h.
6379
2a418ac3
JM
63802012-02-13 Joseph Myers <joseph@codesourcery.com>
6381
6382 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6383 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6384 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6385 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6386 <bits/eventfd.h>.
6387 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6389 bits/eventfd.h.
6390
fb779be7
TS
63912012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6392
e19e83c5
RM
6393 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6394 __feraiseexcept instead of feraiseexcept.
7c35ffed 6395
fb779be7
TS
6396 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6397 nanosleep invocations.
6398 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6399 strings, and add error checking for a nanosleep invocations.
6400
59ba27a6
PE
64012012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6402
6403 Replace FSF snail mail address with URLs, as per GNU coding standards.
6404 Most of the snail mail addresses were wrong anyway, and omitting
6405 them makes the source code easier to maintain. Almost all of the
6406 changes are to license notices and to locale LC_IDENTIFICATION
6407 addresses, except for this one:
6408 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6409 not its snail mail address.
6410
57b957eb
RH
64112012-02-09 Richard Henderson <rth@twiddle.net>
6412
af850b1c
RH
6413 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6414 of kernel-features.h.
6415
57b957eb
RH
6416 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6417
6b73181a
MP
64182012-02-08 Marek Polacek <polacek@redhat.com>
6419
6420 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6421 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6422 * sysdeps/gnu/_G_config.h: Likewise.
6423 * sysdeps/generic/_G_config.h: Likewise.
6424
26ecc33a
AS
64252012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6426
6c6dbc63
AS
6427 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6428 tests.
6429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6430
e216c012
AS
6431 * sysdeps/powerpc/powerpc32/crti.S: New file.
6432 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6433 * sysdeps/powerpc/powerpc64/crti.S: New file.
6434 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6435
26ecc33a
AS
6436 * Makeconfig (have-initfini): Don't set.
6437 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6438 * configure.in (nopic_initfini): Don't substitute.
6439 * config.h.in (HAVE_INITFINI): Don't #undef.
6440 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6441 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6442
3add8e13
JM
64432012-02-08 Joseph Myers <joseph@codesourcery.com>
6444
6445 Support crti.S and crtn.S provided directly by architectures.
6446 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6447 [crti.S in sysdirs] (omit-deps): Likewise.
6448 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6449 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6450 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6451 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6452 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6453 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6454 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6455 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6456 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6457 compiler output for sysdeps/generic/initfini.c.
6458 * sysdeps/i386/elf/Makefile: Remove file.
6459 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6460
a22f12b4
MP
64612012-02-07 Marek Polacek <polacek@redhat.com>
6462
6463 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6464 * sysdeps/gnu/_G_config.h: Likewise.
6465 * sysdeps/mach/hurd/_G_config.h: Likewise.
6466
148cf100
MP
64672012-02-07 Marek Polacek <polacek@redhat.com>
6468
6469 * math/Makefile (tests): Add tst-CMPLX2.
6470 * math/tst-CMPLX2.c: New file.
6471
cfdc0dd7
AS
64722012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6473
84ba42c4
AS
6474 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6475
cfdc0dd7
AS
6476 * math/libm-test.inc (jn_test): Add missing L suffix.
6477
622c86f4
MP
64782012-02-06 Marek Polacek <polacek@redhat.com>
6479
6480 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6481 * sysdeps/i386/fpu/e_powf.S: Likewise.
6482 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6483 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6484 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6485 * sysdeps/i386/fpu/e_pow.S: Likewise.
6486 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6487 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6488 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6489 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6490 * sysdeps/i386/fpu/e_log2.S: Likewise.
6491 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6492 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6493 * sysdeps/i386/fpu/e_powl.S: Likewise.
6494 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6496 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6497 * sysdeps/i386/fpu/e_logl.S: Likewise.
6498 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6499 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6500 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6501 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6502 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6503 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6504 * sysdeps/i386/fpu/e_log.S: Likewise.
6505 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6506 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6507 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6508 * sysdeps/i386/fpu/e_logf.S: Likewise.
6509 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6510 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6511 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6512 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6513 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6514 * sysdeps/i386/fpu/e_log10.S: Likewise.
6515 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6516 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6517 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6518 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6519 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6520 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6521 * sysdeps/i386/asm-syntax.h: Likewise.
6522 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6523 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6524 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6525 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6526 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6527 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6528 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6529 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6530 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6531 * sysdeps/powerpc/sysdep.h: Likewise.
6532 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6533 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6534
d4a54ac6
JM
65352012-02-06 Joseph Myers <joseph@codesourcery.com>
6536
6537 [BZ #411]
6538 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6539
314054ea
JM
65402012-02-06 Joseph Myers <joseph@codesourcery.com>
6541
6542 * sysdeps/i386/sysdep.h: Include <features.h>.
6543 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6544 version.
6545
d8e0ca50
JM
65462012-02-05 Joseph Myers <joseph@codesourcery.com>
6547
6548 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6549 Define.
6550 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6551 LOAD_PIC_REG_STR.
6552
b1da7dd9
JM
65532012-02-03 Joseph Myers <joseph@codesourcery.com>
6554
6555 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6556 (SETUP_PIC_REG): Use GET_PC_THUNK.
6557 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6558 macro.
6559
9a1d9254
JM
65602012-02-03 Joseph Myers <joseph@codesourcery.com>
6561
6562 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6563 for non-PIC compilation.
6564 (SETUP_PIC_REG): Add .p2align directive.
6565 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6566 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6567 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6568 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6569 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6570 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6571 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6573 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6574 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6575 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6576 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6577 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6578 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6579 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6580 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6581 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6585 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6586 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6587 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6588 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6589 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6590 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6591 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6593 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6594 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6595 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6596 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6597 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6598 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6599 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6600 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6601 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6602 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6603 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6604 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6605 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6606
65dc3b75
JM
66072012-02-03 Joseph Myers <joseph@codesourcery.com>
6608
6609 * math/tst-CMPLX.c: Include <stdio.h>.
6610
d55bf177
JM
66112012-01-31 Joseph Myers <joseph@codesourcery.com>
6612
6613 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6614 float.
6615 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6616 * sysdeps/sparc/bits/mathdef.h: Likewise.
6617
69db4f8f
MP
66182012-01-31 Marek Polacek <polacek@redhat.com>
6619
6620 * libio/libio.h: Don't define _PARAMS.
6621 * locale/programs/config.h: Don't define PARAMS.
6622 * stdlib/strtol_l.c: Likewise.
6623 (__strtol_l): Remove PARAMS from the prototype.
6624
41b81892
UD
66252012-01-31 Ulrich Drepper <drepper@gmail.com>
6626
3b49edc0
UD
6627 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6628 names. Just use the correct names. Remove unnecessary wrapper
6629 functions.
6630 * malloc/arena.c: Likewise.
6631 * malloc/hooks.c: Likewise.
6632
41b81892
UD
6633 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6634 ARENA_TEST says not to. Simplify test for creation of a new arena.
6635 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6636
27a25b6e
UD
66372012-01-30 Ulrich Drepper <drepper@gmail.com>
6638
6639 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6640 into tail calls.
6641 (update_get_addr): New function.
6642 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6643 GET_ADDR_MODULE parameter.
6644
c8a89e7d
JM
66452012-01-30 Joseph Myers <joseph@codesourcery.com>
6646
6647 * crypt/cert.c: Remove __STDC__ conditionals.
6648 * crypt/crypt-entry.c: Likewise.
6649 * crypt/crypt_util.c: Likewise.
6650 * libio/filedoalloc.c: Likewise.
6651 * libio/fileops.c: Likewise.
6652 * libio/genops.c: Likewise.
6653 * libio/iofclose.c: Likewise.
6654 * libio/iofdopen.c: Likewise.
6655 * libio/iofopen.c: Likewise.
6656 * libio/iofopen64.c: Likewise.
6657 * libio/iogetdelim.c: Likewise.
6658 * libio/iopopen.c: Likewise.
6659 * libio/obprintf.c: Likewise.
6660 * libio/oldfileops.c: Likewise.
6661 * libio/oldiofclose.c: Likewise.
6662 * libio/oldiofdopen.c: Likewise.
6663 * libio/oldiofopen.c: Likewise.
6664 * libio/oldiopopen.c: Likewise.
6665 * libio/wfiledoalloc.c: Likewise.
6666 * libio/wgenops.c: Likewise.
6667 * locale/programs/xmalloc.c: Likewise.
6668 * misc/syslog.c: Likewise.
6669 * stdio-common/xbug.c: Likewise.
6670 * string/memchr.c: Likewise.
6671 * string/memcmp.c: Likewise.
6672 * string/memrchr.c: Likewise.
6673 * string/rawmemchr.c: Likewise.
6674 * sysdeps/posix/getcwd.c: Likewise.
6675 * time/strftime_l.c: Likewise.
6676
3b100462
JM
66772012-01-30 Joseph Myers <joseph@codesourcery.com>
6678
6679 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6680 * config.make.in (config-cflags-sse2avx): Define.
6681 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6682 Fix typo.
6683
607998af
CM
66842012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6685
6686 * scripts/config.guess: Update from upstream config git repository.
6687 * scripts/config.sub: Likewise.
6688
3601428f
CM
66892012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6690
3ac8b282
CM
6691 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6692 (EM_NUM): Update.
6693 (R_TILEPRO_*, R_TILEGX_*): New macros.
6694
e034841e
CM
6695 * scripts/firstversions.awk: Fix bug in version range handling.
6696
540d7568
CM
6697 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6698
3601428f
CM
6699 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6700
463de862
CM
6701 * include/sys/epoll.h: New file.
6702 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6703 libc_hidden_def.
6704
73139a76
UD
67052012-01-28 Ulrich Drepper <drepper@gmail.com>
6706
96bc5b45
UD
6707 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6708 Avoid unnecessary __WORDSIZE == 64 test.
6709 (fmaxf): Use VEX format if possible.
6710 (fmax): Likewise.
6711 (fminf): Likewise.
6712 (fmin): Likewise.
6713
56f6f6a2
UD
6714 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6715 * math/math_private.h: Remove libc_fegetround* and
6716 libc_fesetround*.
6717 * sysdeps/i386/configure.in: Check for -msse2avx.
6718 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6719 also if SSE2AVX is defined.
6720 Remove libc_fegetround* and libc_fesetround*.
6721 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6722 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6724 of HAS_YMM_USABLE.
6725 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6726 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6727 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6729 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6730
73139a76
UD
6731 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6732
d73f93a4
AZ
67332012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6734
6735 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6736 size is not set.
6737 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6738
6ee65ed6
UD
67392012-01-27 Ulrich Drepper <drepper@gmail.com>
6740
6741 [BZ #13618]
6742 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6743 relocation.
6744 * Makeconfig (libm): Define.
6745 * elf/Makefile: Add rules to build and run tst-relsort1.
6746 * elf/tst-relsort1.c: New file.
6747 * elf/tst-relsort1mod1.c: New file.
6748 * elf/tst-relsort1mod2.c: New file.
6749
8db21882
JM
67502012-01-27 Joseph Myers <joseph@codesourcery.com>
6751
6752 * math/s_ldexp.c: Remove __STDC__ conditionals.
6753 * math/s_ldexpf.c: Likewise.
6754 * math/s_ldexpl.c: Likewise.
6755 * math/s_nextafter.c: Likewise.
6756 * math/s_nexttowardf.c: Likewise.
6757 * math/s_significand.c: Likewise.
6758 * math/s_significandf.c: Likewise.
6759 * math/s_significandl.c: Likewise.
6760 * math/w_jnl.c: Likewise.
6761 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6762 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6763 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6764 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6765 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6780 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6781 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6782 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6783 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6784 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6785 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6786 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6787 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6788 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6789 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6790 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6791 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6792 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6793 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6794 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6795 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6796 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6797 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6798 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6799 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6800 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6801 * sysdeps/ieee754/k_standard.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6863 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6868 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6877 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6881 * sysdeps/ieee754/s_matherr.c: Likewise.
6882 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6883 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6886
965a54a4
JM
68872012-01-26 Joseph Myers <joseph@codesourcery.com>
6888
6889 * crypt/md5.h: Remove __STDC__ conditionals.
6890 * libio/libioP.h: Likewise.
6891 * locale/programs/config.h: Likewise.
6892 * sysdeps/generic/sysdep.h: Likewise.
6893 * sysdeps/i386/asm-syntax.h: Likewise.
6894 * sysdeps/s390/asm-syntax.h: Likewise.
6895 * sysdeps/unix/sysdep.h: Likewise.
6896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6898
7071ad79
JM
68992012-01-26 Joseph Myers <joseph@codesourcery.com>
6900
6901 * libio/libio.h: Remove __STDC__ conditionals.
6902 * malloc/obstack.h: Likewise.
6903 * math/complex.h: Likewise.
6904 * math/math.h: Likewise.
6905 * sysdeps/generic/_G_config.h: Likewise.
6906 * sysdeps/gnu/_G_config.h: Likewise.
6907 * sysdeps/mach/hurd/_G_config.h: Likewise.
6908 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6909 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6910 * sysdeps/sparc/bits/mathdef.h: Likewise.
6911
afc5ed09
UD
69122012-01-26 Ulrich Drepper <drepper@gmail.com>
6913
6914 [BZ #13583]
6915 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6916 Clean up HAS_* macros.
afc5ed09 6917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6918 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6919 possible.
6920 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6921 HAS_AVX.
6922 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6923 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6924 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6925 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6926 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6927
bdb6de1d
JM
69282012-01-25 Joseph Myers <joseph@codesourcery.com>
6929
6930 * elf/tst-unique3.cc (gets): Remove declaration.
6931 * elf/tst-unique3lib.cc (gets): Likewise.
6932 * elf/tst-unique3lib2.cc (gets): Likewise.
6933 * elf/tst-unique4.cc (gets): Likewise.
6934
b15549e6
UD
69352012-01-24 Ulrich Drepper <drepper@gmail.com>
6936
6937 * include/stdio.h: Add C++ protection. Add gets declarations and
6938 definitions.
6939 * debug/tst-chk1.c: Don't declare gets here.
6940 * stdio-common/tst-gets.c: Likewise.
6941
a037381f
JM
69422012-01-24 Joseph Myers <joseph@codesourcery.com>
6943
6944 * posix/glob: Remove directory.
6945
f1d4aa75
JM
69462012-01-24 Joseph Myers <joseph@codesourcery.com>
6947
6948 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6949
81c0c964
PT
69502012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6951
6952 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6953 of the non-standard EPFNOSUPPORT.
6954
0ea698ae
ST
69552011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6956
6957 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6958 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6959 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6960
d220b117
UD
69612012-01-21 Ulrich Drepper <drepper@gmail.com>
6962
6963 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6964
3e1aa84e
UD
69652012-01-20 Ulrich Drepper <drepper@gmail.com>
6966
6967 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6968 transient errors.
6969 * nscd/grpcache.c (cache_addgr): Likewise.
6970 * nscd/hstcache.c (cache_addhst): Likewise.
6971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6972 * nscd/pwdcache.c (cache_addpw): Likewise.
6973 * nscd/servicescache.c (cache_addserv): Likewise.
6974
400aa020
UD
69752012-01-16 Ulrich Drepper <drepper@gmail.com>
6976
d77e7869
UD
6977 * malloc/malloc.c: Various cleanups.
6978 * malloc/hooks.c: Likewise.
6979
400aa020
UD
6980 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6981 * stdlib/bug-fmtmsg1.c: New file.
6982
6983 * stdlib/fmtmsg.c (init): Add missing unlock.
6984 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6985
e0a309cf
MP
69862012-01-12 Marek Polacek <polacek@redhat.com>
6987
6988 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6989 and _GNU_SOURCE.
6990
929d11c7
WS
69912012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6992
6993 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6994 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6995 macro to ensure uniqueness of label name.
6996 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6997 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6998
41d0e869
UD
69992012-01-11 Ulrich Drepper <drepper@gmail.com>
7000
0cc5ed3b
UD
7001 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7002
41d0e869
UD
7003 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7004 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7007
a47a831a
UD
70082012-01-10 Ulrich Drepper <drepper@gmail.com>
7009
daa891c0
UD
7010 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7011
7012 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7013 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7014 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7015
e58ef0f2
UD
7016 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7017
a47a831a 7018 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7019 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7020 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7022
7023 * math/bits/math-finite.h: Add ldexp support.
7024
a0bfc9c7
MP
70252012-01-10 Marek Polacek <polacek@redhat.com>
7026
7027 * locale/programs/localedef.h (show_archive_content): Add noreturn
7028 attribute.
7029
d6e97a1d
UD
70302012-01-09 Ulrich Drepper <drepper@gmail.com>
7031
7032 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7033
d5835c26
UD
70342012-01-08 Ulrich Drepper <drepper@gmail.com>
7035
e5f484c6
UD
7036 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7037
d5835c26
UD
7038 * io/Makefile (headers): Add bits/poll2.h.
7039
d1f741e9
WS
70402011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7041
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7043 typo #include statement.
7044
ec09c1c4
UD
70452012-01-08 Ulrich Drepper <drepper@gmail.com>
7046
7047 * include/sys/cdefs.h: Define __attribute_alloc_size.
7048 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7049 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7050 * elf/pldd.c: Likewise.
7051 * iconv/iconv_charmap.c: Likewise.
7052 * iconv/iconvconfig.c: Likewise.
7053 * iconv/strtab.c: Likewise.
7054 * locale/programs/locale.c: Likewise.
7055 * locale/programs/localedef.h: Likewise.
7056 * locale/programs/simple-hash.c: Likewise.
7057 * nscd/nscd.h: Likewise.
7058 * nss/makedb.c: Likewise.
7059 * sysdeps/generic/ldconfig.h: Likewise.
7060 * locale/programs/localedef.c: Remove xmalloc prototype.
7061 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7062
20b38e03
PP
70632012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7064
7065 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7066 appropriate.
7067
a0da5fe1
UD
70682012-01-08 Ulrich Drepper <drepper@gmail.com>
7069
1d5a644a 7070 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7071 * math/tst-CMPLX.c: New file.
1d5a644a 7072
8784a6db
UD
7073 * math/complex.h (CMPLXL): Fix typo.
7074
d9a216c0
UD
7075 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7076 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7077 GLIBC_2.16.
7078 * debug/tst-chk1.c: Add poll and ppoll tests.
7079 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7080 * include/sys/poll.h: Add hidden proto for ppoll.
7081 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7082 * sysdeps/mach/hurd/ppoll.c: Likewise.
7083 * io/ppoll.c: Likewise.
7084 * debug/poll_chk.c: New file.
7085 * debug/ppoll_chk.c: New file.
7086 * include/bits/poll2.h: New file.
7087 * io/bits/poll2.h: New file.
7088
ac097f5c
UD
7089 [BZ #1350]
7090 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7091
2119dcfa
UD
7092 * configure.in: static is always set to yes. Remove.
7093 * config.make.in: Don't set build-static.
7094 * Makeconfig: Remove use of build-static.
7095 * dlfcn/Makefile: Likewise.
7096 * elf/Makefile: Likewise.
7097 * math/Makefile: Likewise.
7098 * misc/Makefile: Likewise.
7099 * nptl/Makefile: Likewise.
7100 * sysdeps/mach/hurd/Makefile: Likewise.
7101
121766a9
UD
7102 * configure.in: PWD_P is not used anymore.
7103 * config.make.in: Remove PWD_P entry.
7104
51a1d39c 7105 * configure.in: Remove last remnants of RANLIB.
8720d066 7106 No need to check for signed size_t anymore.
215f4bdc
UD
7107 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7108 and IA-64.
3857022a 7109 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7110 * aclocal.m4: Likewise.
7111
d3ed7225
UD
7112 * wcsmbs/mbrtoc16.c: Implement using towc function.
7113 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7114 * wcsmbs/wcsmbsload.c: Likewise.
7115 * iconv/gconv_simple.c: Likewise.
7116 * iconv/gconv_int.h: Likewise.
7117 * iconv/gconv_builtin.h: Likewise.
7118 * iconv/iconv_prog.c: Remove CHAR16 handling.
7119
7120 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7121
7122 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7123
a0da5fe1
UD
7124 * configure.in: Remove --with-elf and --enable-bounded options.
7125 Dont set base_machine for ia64. More non-ELF conditions removed.
7126 Remove testing and setting of leading underscore information.
7127 * config.make.in (build-bounded): Set to no.
7128 * config.h.in: Remove NO_UNDERSCORES entry.
7129 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7130 them.
7131 * csu/start.c: Remove !NO_UNDERSCORE code.
7132 * locale/localeinfo.h: Likewise.
7133 * sysdeps/generic/machine-gmon.h: Likewise.
7134 * sysdeps/generic/sysdep.h: Likewise.
7135 * sysdeps/i386/sysdep.h: Likewise.
7136 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7137 * sysdeps/mach/sysdep.h: Likewise.
7138 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7139 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7140 * sysdeps/sh/sysdep.h: Likewise.
7141 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7142 * sysdeps/unix/i386/sysdep.S: Likewise.
7143 * sysdeps/unix/sparc/start.c: Likewise.
7144 * sysdeps/unix/sparc/sysdep.S: Likewise.
7145 * sysdeps/unix/sparc/sysdep.h: Likewise.
7146 * sysdeps/unix/start.c: Likewise.
7147 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7148 * sysdeps/x86_64/sysdep.h: Likewise.
7149
df78418a
UD
71502012-01-07 Ulrich Drepper <drepper@gmail.com>
7151
a784e502
UD
7152 [BZ #13553]
7153 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7154 for non-gcc.
7155 * argp/argp-fmtstream.h: Use const instead __const.
7156 * argp/argp.h: Likewise.
7157 * assert/assert.h: Likewise.
7158 * bits/fenv.h: Likewise.
7159 * bits/sched.h: Likewise.
7160 * bits/sigset.h: Likewise.
7161 * bits/sigthread.h: Likewise.
7162 * catgets/nl_types.h: Likewise.
7163 * conform/data/pthread.h-data: Likewise.
7164 * crypt/crypt-private.h: Likewise.
7165 * crypt/crypt.h: Likewise.
7166 * crypt/crypt_util.c: Likewise.
7167 * ctype/ctype.h: Likewise.
7168 * debug/execinfo.h: Likewise.
7169 * debug/mbsnrtowcs_chk.c: Likewise.
7170 * debug/mbsrtowcs_chk.c: Likewise.
7171 * debug/wcsnrtombs_chk.c: Likewise.
7172 * debug/wcsrtombs_chk.c: Likewise.
7173 * debug/wcstombs_chk.c: Likewise.
7174 * dirent/dirent.h: Likewise.
7175 * dlfcn/dlfcn.h: Likewise.
7176 * elf/neededtest4.c: Likewise.
7177 * grp/grp.h: Likewise.
7178 * gshadow/gshadow.h: Likewise.
7179 * iconv/gconv.h: Likewise.
7180 * iconv/gconv_int.h: Likewise.
7181 * iconv/gconv_simple.c: Likewise.
7182 * iconv/iconv.h: Likewise.
7183 * iconv/loop.c: Likewise.
7184 * iconv/skeleton.c: Likewise.
7185 * include/aio.h: Likewise.
7186 * include/aliases.h: Likewise.
7187 * include/argz.h: Likewise.
7188 * include/arpa/inet.h: Likewise.
7189 * include/assert.h: Likewise.
7190 * include/dirent.h: Likewise.
7191 * include/dlfcn.h: Likewise.
7192 * include/execinfo.h: Likewise.
7193 * include/fcntl.h: Likewise.
7194 * include/fenv.h: Likewise.
7195 * include/glob.h: Likewise.
7196 * include/grp.h: Likewise.
7197 * include/libintl.h: Likewise.
7198 * include/mntent.h: Likewise.
7199 * include/netdb.h: Likewise.
7200 * include/pwd.h: Likewise.
7201 * include/rpc/netdb.h: Likewise.
7202 * include/sched.h: Likewise.
7203 * include/search.h: Likewise.
7204 * include/shadow.h: Likewise.
7205 * include/signal.h: Likewise.
7206 * include/stdio.h: Likewise.
7207 * include/stdlib.h: Likewise.
7208 * include/string.h: Likewise.
7209 * include/sys/socket.h: Likewise.
7210 * include/sys/stat.h: Likewise.
7211 * include/sys/statfs.h: Likewise.
7212 * include/sys/statvfs.h: Likewise.
7213 * include/sys/syslog.h: Likewise.
7214 * include/sys/time.h: Likewise.
7215 * include/sys/uio.h: Likewise.
7216 * include/time.h: Likewise.
7217 * include/unistd.h: Likewise.
7218 * include/utmp.h: Likewise.
7219 * include/wchar.h: Likewise.
7220 * include/wctype.h: Likewise.
7221 * inet/aliases.h: Likewise.
7222 * inet/arpa/inet.h: Likewise.
7223 * inet/netinet/ether.h: Likewise.
7224 * inet/netinet/in.h: Likewise.
7225 * intl/libintl.h: Likewise.
7226 * io/bits/fcntl2.h: Likewise.
7227 * io/fcntl.h: Likewise.
7228 * io/ftw.h: Likewise.
7229 * io/sys/poll.h: Likewise.
7230 * io/sys/stat.h: Likewise.
7231 * io/sys/statfs.h: Likewise.
7232 * io/sys/statvfs.h: Likewise.
7233 * io/utime.h: Likewise.
7234 * libio/bits/stdio.h: Likewise.
7235 * libio/bits/stdio2.h: Likewise.
7236 * libio/libio.h: Likewise.
7237 * libio/libioP.h: Likewise.
7238 * libio/stdio.h: Likewise.
7239 * locale/lc-ctype.c: Likewise.
7240 * locale/locale.h: Likewise.
7241 * login/utmp.h: Likewise.
7242 * malloc/arena.c: Likewise.
7243 * malloc/malloc.c: Likewise.
7244 * malloc/malloc.h: Likewise.
7245 * malloc/mcheck.c: Likewise.
7246 * malloc/mtrace.c: Likewise.
7247 * math/bits/mathcalls.h: Likewise.
7248 * math/fenv.h: Likewise.
7249 * math/math_private.h: Likewise.
7250 * misc/bits/error.h: Likewise.
7251 * misc/bits/syslog.h: Likewise.
7252 * misc/err.h: Likewise.
7253 * misc/error.h: Likewise.
7254 * misc/fstab.h: Likewise.
7255 * misc/mntent.h: Likewise.
7256 * misc/regexp.h: Likewise.
7257 * misc/search.h: Likewise.
7258 * misc/sgtty.h: Likewise.
7259 * misc/sys/mman.h: Likewise.
7260 * misc/sys/syslog.h: Likewise.
7261 * misc/sys/uio.h: Likewise.
7262 * misc/sys/xattr.h: Likewise.
7263 * misc/ttyent.h: Likewise.
7264 * nis/rpcsvc/ypclnt.h: Likewise.
7265 * nss/nss.h: Likewise.
7266 * posix/bits/unistd.h: Likewise.
7267 * posix/fnmatch.h: Likewise.
7268 * posix/glob.h: Likewise.
7269 * posix/sched.h: Likewise.
7270 * posix/spawn.h: Likewise.
7271 * posix/sys/wait.h: Likewise.
7272 * posix/unistd.h: Likewise.
7273 * posix/wordexp.h: Likewise.
7274 * pwd/pwd.h: Likewise.
7275 * resolv/netdb.h: Likewise.
7276 * resource/sys/resource.h: Likewise.
7277 * rt/aio.h: Likewise.
7278 * rt/bits/mqueue2.h: Likewise.
7279 * rt/mqueue.h: Likewise.
7280 * shadow/shadow.h: Likewise.
7281 * signal/signal.h: Likewise.
7282 * socket/send.c: Likewise.
7283 * socket/sendto.c: Likewise.
7284 * socket/sys/socket.h: Likewise.
7285 * stdio-common/printf.h: Likewise.
7286 * stdlib/bits/stdlib.h: Likewise.
7287 * stdlib/fmtmsg.h: Likewise.
7288 * stdlib/monetary.h: Likewise.
7289 * stdlib/stdlib.h: Likewise.
7290 * stdlib/ucontext.h: Likewise.
7291 * streams/stropts.h: Likewise.
7292 * string/argz.h: Likewise.
7293 * string/bits/string2.h: Likewise.
7294 * string/string.h: Likewise.
7295 * string/strings.h: Likewise.
7296 * sunrpc/rpc/auth.h: Likewise.
7297 * sunrpc/rpc/auth_des.h: Likewise.
7298 * sunrpc/rpc/clnt.h: Likewise.
7299 * sunrpc/rpc/netdb.h: Likewise.
7300 * sunrpc/rpc/pmap_clnt.h: Likewise.
7301 * sunrpc/rpc/xdr.h: Likewise.
7302 * sysdeps/generic/inttypes.h: Likewise.
7303 * sysdeps/generic/net/if.h: Likewise.
7304 * sysdeps/generic/sys/swap.h: Likewise.
7305 * sysdeps/gnu/net/if.h: Likewise.
7306 * sysdeps/gnu/utmpx.h: Likewise.
7307 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7308 * sysdeps/i386/i486/bits/string.h: Likewise.
7309 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7310 * sysdeps/s390/bits/string.h: Likewise.
7311 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7312 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7313 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7314 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7315 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7316 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7317 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7318 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7319 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7320 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7321 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7322 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7323 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7324 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7325 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7326 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7327 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7329 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7330 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7331 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7332 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7333 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7334 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7335 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7336 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7337 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7338 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7339 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7340 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7341 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7342 * sysvipc/sys/ipc.h: Likewise.
7343 * sysvipc/sys/msg.h: Likewise.
7344 * sysvipc/sys/sem.h: Likewise.
7345 * sysvipc/sys/shm.h: Likewise.
7346 * termios/termios.h: Likewise.
7347 * time/sys/time.h: Likewise.
7348 * time/time.h: Likewise.
7349 * wcsmbs/bits/wchar2.h: Likewise.
7350 * wcsmbs/uchar.h: Likewise.
7351 * wcsmbs/wchar.h: Likewise.
7352 * wctype/wctype.h: Likewise.
7353
0269750c
UD
7354 [BZ #13551]
7355 * Makeconfig: Remove all but ELF support including AIX support.
7356 * Makerules: Likewise.
7357 * config.h.in: Likewise.
7358 * config.make.in: Likewise.
7359 * configure: Likewise.
7360 * configure.in: Likewise.
7361 * csu/Makefile: Likewise.
7362 * csu/version.c: Likewise.
7363 * debug/Makefile: Likewise.
7364 * dlfcn/Makefile: Likewise.
7365 * elf/Makefile: Likewise.
7366 * extra-lib.mk: Likewise.
7367 * iconv/Makefile: Likewise.
7368 * include/libc-symbols.h: Likewise.
7369 * include/shlib-compat.h: Likewise.
7370 * resolv/Makefile: Likewise.
7371 * resolv/res_libc.c: Likewise.
7372 * rt/Makefile: Likewise.
7373 * sysdeps/i386/asm-syntax.h: Likewise.
7374 * sysdeps/i386/sysdep.h: Likewise.
7375 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7376 * sysdeps/mach/sysdep.h: Likewise.
7377 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7378 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7379 * sysdeps/s390/asm-syntax.h: Likewise.
7380 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7381 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7382 * sysdeps/sh/sysdep.h: Likewise.
7383 * sysdeps/unix/sparc/sysdep.h: Likewise.
7384 * sysdeps/wordsize-32/divdi3.c: Likewise.
7385 * sysdeps/x86_64/sysdep.h: Likewise.
7386
00bbd29b
UD
7387 * argp/Versions: Remove _argp_unlock_xxx.
7388
7389 [BZ #13559]
7390 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7391 * abilist/libBrokenLocale.abilist: Likewise.
7392 * abilist/libanl.abilist: Likewise.
7393 * abilist/libc.abilist: Likewise.
7394 * abilist/libcrypt.abilist: Likewise.
7395 * abilist/libdl.abilist: Likewise.
7396 * abilist/libm.abilist: Likewise.
7397 * abilist/libnsl.abilist: Likewise.
7398 * abilist/libpthread.abilist: Likewise.
7399 * abilist/libresolv.abilist: Likewise.
7400 * abilist/librt.abilist: Likewise.
7401 * abilist/libthread_db.abilist: Likewise.
7402 * abilist/libutil.abilist: Likewise.
7403 * abilist/libnss_db.abilist: New file.
7404
7405 * scripts/abilist.awk: Add support for indirect functions.
7406
a2693a0e
UD
7407 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7408
3f05895f
UD
7409 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7410
ecb6fb48
UD
7411 * shlib-versions: Remove entries for ports architectures.
7412
664f8cb9
UD
7413 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7414 files in ports.
7415 * elf/stackguard-macros.h: Remove support for IA-64.
7416 * elf/tst-auditmod1.c: Likewise.
7417 * sysdeps/generic/ldsodefs.h: Likewise.
7418
7ae81d88
UD
7419 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7420 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7421 configure files.
7422
bdeba135
UD
7423 [BZ #13552]
7424 * configure.in: Remove --enable-omitfp support.
7425 * FAQ.in: Adjust.
7426 * config.make.in: Likewise.
7427 * Makeconfig: Likewise.
7428 * manual/install.texi: Likewise.
7429
d75a0a62
UD
7430 In case anyone cares, the IA-64 architecture could move to ports.
7431 * sysdeps/ia64/*: Removed.
7432 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7433 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7434
dcc9756b
UD
7435 [BZ #13555]
7436 * configure.in: Remove entries for unsupported architectures.
7437
d3761ebc 7438 [BZ #13533]
9954432e
UD
7439 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7440 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7441 routines.
7442 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7443 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7444 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7445 fall back to using wcrtomb.
7446 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7447 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7448 renaming.
7449 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7450 * wcsmbs/tst-c16c32-1.c: New file.
7451
7452 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7453 local variable.
7454
c3a87236
UD
7455 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7456
28926a1b
UD
7457 * elf/tst-unique3.cc: Add explicit declaration of gets.
7458 * elf/tst-unique3lib.cc: Likewise.
7459 * elf/tst-unique3lib2.cc: Likewise.
7460 * elf/tst-unique4.cc: Likewise.
7461
df78418a
UD
7462 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7463
8ecd6b2a
JM
74642012-01-06 Joseph Myers <joseph@codesourcery.com>
7465
7466 [BZ #13566]
7467 * assert/assert.h (static_assert): Don't define for C++.
7468 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7469 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7470
9f115170
UD
74712012-01-03 Ulrich Drepper <drepper@gmail.com>
7472
5e0d0300
UD
7473 * iconv/loop.c (single loop): Fix assertion in storing of
7474 remaining bytes.
7475
9f115170
UD
7476 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7477
81fb02b0
UD
74782012-01-01 Ulrich Drepper <drepper@gmail.com>
7479
7480 * posix/getconf.c: Update copyright year.
7481 * nss/getent.c: Likewise.
a316c1f6 7482 * nss/makedb.c: Likewise.
81fb02b0
UD
7483 * iconv/iconvconfig.c: Likewise.
7484 * iconv/iconv_prog.c: Likewise.
7485 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7486 * elf/pldd.c: Likewise.
7487 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7488 * catgets/gencat.c: Likewise.
7489 * csu/version.c: Likewise.
7490 * elf/ldd.bash.in: Likewise.
7491 * elf/sprof.c (print_version): Likewise.
7492 * locale/programs/locale.c: Likewise.
7493 * locale/programs/localedef.c: Likewise.
a316c1f6 7494 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7495 * nscd/nscd.c (print_version): Likewise.
7496 * debug/xtrace.sh: Likewise.
7497 * malloc/memusage.sh: Likewise.
7498 * malloc/mtrace.pl: Likewise.
7499 * debug/catchsegv.sh: Likewise.
7500
2ba92745
JJ
75012011-12-30 Jakub Jelinek <jakub@redhat.com>
7502
7503 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7504 pure attribute.
7505
dadebdae
UD
75062011-12-24 Ulrich Drepper <drepper@gmail.com>
7507
d3761ebc 7508 [BZ #13533]
db6af3eb
UD
7509 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7510 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7511 transformations.
7512 * iconv/gconv_int.h: Likewise.
7513 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7514 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7515 from libc for GLIBC_2.16.
7516 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7517 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7518 * wcsmbs/uchar.h: Really define mbstate_t.
7519 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7520 * wcsmbs/c16rtomb.c: New file.
7521 * wcsmbs/mbrtoc16.c: New file.
7522 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7523 for C/POSIX locale.
7524 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7525 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7526
dadebdae
UD
7527 * wcsmbs/wchar.h: Add missing __restrict.
7528
67371b56
UD
75292011-12-23 Ulrich Drepper <drepper@gmail.com>
7530
74033a25
UD
7531 [BZ #13532]
7532 * time/Makefile (routines): Add timespec_get.
7533 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7534 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7535 timespec for ISO C11.
7536 * time/timespec_get.c: New file.
7537 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7538 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7539
380d7e87
UD
7540 [BZ #13531]
7541 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7542 * stdlib/stdlib.h: Declare aligned_alloc.
7543 * Versions.def: Add GLIBC_2.16 for libc.
7544 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7545
4e9e7a35
UD
7546 [BZ 13527]
7547 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7548 ISO C11.
7549
380d7e87 7550 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7551 code.
7552
03a71829
UD
7553 [BZ #13528]
7554 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7555
839e283e
UD
7556 [BZ #13529]
7557 * assert/assert.h (static_assert): Define.
7558
ce5294e2 7559 * version.h: Update for 2.16 development version.
90fa7312 7560
8d44e150 7561 [BZ #13526]
d7809905
UD
7562 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7563 _ISOC11_SOURCE.
7564
c0da14cd
UD
7565 * version.h (RELEASE): Bump for 2.15 release.
7566 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7567
530a3249
MP
7568 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7569 Patch by Marek Polacek <mpolacek@redhat.com>.
7570
67371b56
UD
7571 * bits/byteswap.h: Protect long long constants with __extension__.
7572 * sysdeps/i386/bits/byteswap.h: Likewise.
7573 * sysdeps/ia64/bits/byteswap.h: Likewise.
7574 * sysdeps/s390/bits/byteswap.h: Likewise.
7575 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7576
15db4de1
LD
75772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7578
7579 [BZ #13540]
bbe315ea
LD
7580 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7581 destination buffer.
15db4de1
LD
7582 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7583
2b2596b1
MP
75842011-12-23 Marek Polacek <polacek@redhat.com>
7585
7586 * elf/dl-addr.c (determine_info): Add inline keyword.
7587 * elf/tst-auditmod4b.c (check_avx): Likewise.
7588 * elf/tst-auditmod6b.c (check_avx): Likewise.
7589 * elf/tst-auditmod6c.c (check_avx): Likewise.
7590 * elf/tst-auditmod7b.c (check_avx): Likewise.
7591
70c6c246
UD
75922011-12-23 Ulrich Drepper <drepper@gmail.com>
7593
7594 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7595 !__SSE_MATH__.
7596
c044cf14
LD
75972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7598
15db4de1 7599 [BZ #13540]
c044cf14
LD
7600 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7601 processing for last bytes.
7602
6b13d9d9
BH
76032011-08-06 Bruno Haible <bruno@clisp.org>
7604
d455f537
BH
7605 [BZ #13061]
7606 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7607 U+0385, not to U+1FEE.
7608
6b13d9d9
BH
7609 [BZ #13062]
7610 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7611 entry for U+00A5 U+0301.
7612
db910efd
UD
76132011-12-22 Ulrich Drepper <drepper@gmail.com>
7614
27deeafc
UD
7615 [BZ #13166]
7616 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7617 buffer for the output is too small.
7618
aed9d171
UD
7619 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7620 optimization.
7621
db910efd
UD
7622 [BZ #13185]
7623 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7624 SSE flags if possible.
7625
2bd779ae
LD
76262011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7627
e7f9dac3 7628 [BZ #13540]
2bd779ae
LD
7629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7630 processing for last bytes.
7631
154bfc16
JM
76322011-12-22 Joseph Myers <joseph@codesourcery.com>
7633
7634 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7635 (syscall-list-default-options, syscall-list-default-condition)
7636 (syscall-list-includes): Define.
7637 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7638 list of ABIs and options and #if conditions for each ABI. Do not
7639 handle common syscalls between ABIs specially.
7640 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7641 Remove.
7642 (syscall-list-variants, syscall-list-32bit-options)
7643 (syscall-list-32bit-condition, syscall-list-64bit-options)
7644 (syscall-list-64bit-condition): Define.
7645 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7646 (syscall-list-variants, syscall-list-32bit-options)
7647 (syscall-list-32bit-condition, syscall-list-64bit-options)
7648 (syscall-list-64bit-condition): Define.
7649 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7650 Remove.
7651 (syscall-list-variants, syscall-list-32bit-options)
7652 (syscall-list-32bit-condition, syscall-list-64bit-options)
7653 (syscall-list-64bit-condition): Define.
7654 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7655 Remove.
7656 (syscall-list-variants, syscall-list-32bit-options)
7657 (syscall-list-32bit-condition, syscall-list-64bit-options)
7658 (syscall-list-64bit-condition): Define.
7659
21eaf3a5
UD
76602011-12-22 Ulrich Drepper <drepper@gmail.com>
7661
16c6f992
UD
7662 * locale/iso-639.def: Add brx entry.
7663
41043168
UD
7664 [BZ #13328]
7665 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7666 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7667
21eaf3a5
UD
7668 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7669 __feraiseexcept_renamed.
7670
e3a851a2
UD
76712011-12-21 Ulrich Drepper <drepper@gmail.com>
7672
4920765e
UD
7673 [BZ #13538]
7674 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7675 EPOLLET with unsigned values.
7676 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7677 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7678
e3a851a2
UD
7679 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7680 to large cancellation.
7681 * math/s_cacoshf.c: Likewise.
7682 * math/s_cacoshl.c: Likewise.
7683
b27e24b8
RK
76842011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7685
7686 [BZ #13305]
aebefeee 7687 [BZ #12786]
b27e24b8
RK
7688 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7689 * math/s_cacoshf.c: Likewise.
7690 * math/s_cacoshl.c: Likewise.
7691
ee190f67
UD
76922011-12-21 Ulrich Drepper <drepper@gmail.com>
7693
7694 [BZ #13439]
7695 * iconv/gconv.h: Define __GCONV_SWAP.
7696 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7697 * iconvdata/utf-16.c: Likewise.
7698 * iconvdata/utf-32.c: Likewise.
7699
707f25df
AS
77002011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7701
7702 [BZ #13524]
7703 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7704 numerator after shifting it by one limb.
7705
d2daaa1e
RÁE
77062011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7707
7708 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7709 under [__USE_EXTERN_INLINES].
7710
a4647e72
UD
77112011-12-17 Ulrich Drepper <drepper@gmail.com>
7712
7713 [BZ #13446]
7714 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7715
f0b264f1
AZ
77162011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7717
7718 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7719 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7720 optimized code.
7721 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7722 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7723 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7724 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7725 for strncasecmp/strncasecmp_l compilation.
7726 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7727 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7728
8ef4f244
MP
77292011-12-08 Marek Polacek <mpolacek@redhat.com>
7730
7731 [BZ #13484]
7732 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7733 of __asm__.
7734
97ac2654
UD
77352011-12-17 Ulrich Drepper <drepper@gmail.com>
7736
7737 [BZ #13506]
7738 * time/tzfile.c (__tzfile_read): Check values from file header.
7739
91d2a845
WS
77402011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7741
7742 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7743 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7744 * powerpc/powerpc32/dl-start.S: Likewise.
7745 * powerpc/powerpc32/elf/start.S: Likewise.
7746 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7747 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7748 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7749 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7750 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7751 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7752 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7753 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7754 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7755 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7756 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7757 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7758 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7759 * powerpc/powerpc32/memset.S: Likewise.
7760 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7761 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7762 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7763 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7764 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7765 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7766 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7767 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7768 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7769 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7770 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7771 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7772 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7773
a1267ba1
AZ
77742011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7775
7776 * math/libm-test.inc: Added more nearbyint tests.
7777 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7779 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7780 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7781
ad8ac1bd
RL
77822011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7783
7784 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7785 FD_CLOEXEC.
7786
1d3e4b61
UD
77872011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7788
7789 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7790 Add wcscpy-ssse3 wcscpy-c.
7791 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7792 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7793 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7794 * sysdeps/x86_64/wcschr.S: New file.
7795 * sysdeps/x86_64/wcsrchr.S: New file.
7796 * string/test-strcmp.c: Remove checking of wcscmp function for
7797 wrong alignments.
7798 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7799 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7800 wcsrchr-sse2 wcsrchr-c.
7801 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7802 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7803 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7804 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7805 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7806 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7807 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7808 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7809 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7810 * wcsmbc/wcschr.c (WCSCHR): New macro.
7811
5b330a2d
UD
78122011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7813
7814 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7815 * wcsmbs/test-wcsrchr.c: New file.
7816 * string/test-strrchr.c: Add wcsrchr support.
7817 (WIDE): New macro.
7818 * wcsmbs/test-wcscpy.c: New file.
7819 * string/test-strcpy.c: Add wcscpy support.
7820 (WIDE): New macro.
26428b7c 7821
f039c043
UD
78222011-12-10 Ulrich Drepper <drepper@gmail.com>
7823
7824 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7825 the inner loop.
7826
850fb039
AS
78272011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7828
7829 [BZ #13472]
7830 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7831
4efbd5cb
UD
78322011-12-04 Ulrich Drepper <drepper@gmail.com>
7833
52ff5dd0 7834 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7835 Minor optimizations.
52ff5dd0 7836
4efbd5cb
UD
7837 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7838 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7839 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7840
8a426e12
UD
78412011-12-03 Ulrich Drepper <drepper@gmail.com>
7842
aff2453d
UD
7843 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7844 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7845 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7846 for gcc to avoid warnings.
7847 * inet/Makefile (tests): Add tst-checks.
7848 * inet/tst-checks.c: New file.
7849
7850 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7851 warning.
7852
7853 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7854 __wmemcmp_sse2.
7855
7856 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7857 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7858
8a426e12
UD
7859 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7860
9bea3473
UD
78612011-12-02 Ulrich Drepper <drepper@gmail.com>
7862
3a965496
UD
7863 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7864 problem.
7865
9bea3473
UD
7866 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7867
f101631b
UD
78682011-11-29 Joseph Myers <joseph@codesourcery.com>
7869
7870 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7871 conditional on GCC version.
7872 (__arch_compare_and_exchange_val_8_acq)
7873 (__arch_compare_and_exchange_val_16_acq)
7874 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7875 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7876 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7877
a98275aa
UD
78782011-12-02 Joseph Myers <joseph@codesourcery.com>
7879
7880 * sysdeps/sh/backtrace.c: New file.
7881
d4cc29a2
AS
78822011-12-02 Andreas Schwab <schwab@redhat.com>
7883
7884 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7885 parenthesis.
7886
6257af2d
AS
78872011-12-01 Andreas Schwab <schwab@redhat.com>
7888
7889 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7890 falling back to utime.
7891
b5f44c1a
AS
78922011-11-30 Andreas Schwab <schwab@redhat.com>
7893
7894 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7895 expectations for float.
7896
f3a6cc0a
AS
78972011-11-29 Andreas Schwab <schwab@redhat.com>
7898
7899 * locale/weight.h (findidx): Add parameter len.
7900 * locale/weightwc.h (findidx): Likewise.
7901 * posix/fnmatch_loop.c (FCT): Adjust caller.
7902 * posix/regcomp.c (build_equiv_class): Likewise.
7903 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7904 * posix/regexec.c (check_node_accept_bytes): Likewise.
7905 * string/strcoll_l.c (STRCOLL): Likewise.
7906 * string/strxfrm_l.c (STRXFRM): Likewise.
7907
9d65ea3a
UD
79082011-11-17 Ulrich Drepper <drepper@gmail.com>
7909
7910 * Makefile.in: Remove CVSOPT handling.
7911 * configure.in: Remove use of AC_REVISION.
7912 * iconvdata/Makefile (distribute): No need to filter out CVS.
7913 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7914 handling.
7915
5583a086
AS
79162011-11-16 Andreas Schwab <schwab@redhat.com>
7917
7918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7919 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7920 [USE_AS_STRNCASECMP_L]: Likewise.
7921 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7922 NO_TLS_DIRECT_SEG_REFS.
7923 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7924 Fix argument offsets for non-PIC.
7925 [USE_AS_STRNCASECMP_L]: Likewise.
7926 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7927 NO_TLS_DIRECT_SEG_REFS.
7928
d62a8200
UD
79292011-11-15 Ulrich Drepper <drepper@gmail.com>
7930
9d65ea3a 7931 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7932 O_CLOEXEC.
7933 * locale/loadlocale.c (_nl_load_locale): Likewise.
7934
09f93bd3
AS
79352011-11-15 Andreas Schwab <schwab@redhat.com>
7936
446514f9
AS
7937 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7938 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7939 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7940 (SYSCALL_GETTIME): Set errno on error.
7941
09f93bd3
AS
7942 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7943 count references to noai6ai_cached.
7944
312be3f9
UD
79452011-11-15 Ulrich Drepper <drepper@gmail.com>
7946
7947 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7948
7949 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7950 FD_CLOEXEC for /proc/self/maps.
7951
7952 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7953 FD_CLOEXEC for /proc/meminfo.
7954
7955 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7956 gai.conf.
7957
7958 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7959 FD_CLOEXEC for given file.
7960
7961 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7962
7963 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7964 FD_CLOEXEC for /etc/hosts.
7965 (_gethtent): Likewise.
7966
7967 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7968
7969 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7970 cancellation and set FD_CLOEXEC for /etc/netgroup.
7971
7972 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7973 reading /etc/publickey.
7974
7975 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7976 allow cancellation when reading /etc/group.
7977
7978 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7979 cancellation.
7980 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7981
7982 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7983 when using data file.
7984
7985 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7986
7987 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7988 (write_nis_obj): Use "c" and "e" in fopen.
7989
7990 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7991
7992 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7993
7994 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7995
7996 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7997
7998 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7999 locale.alias.
8000
8001 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8002
8003 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8004
8005 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8006
8007 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8008 file parsing and set FD_CLOEXEC.
8009
82af0fa8
UD
80102011-11-14 Ulrich Drepper <drepper@gmail.com>
8011
8012 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8013
a5fb313c
AS
80142011-11-14 Andreas Schwab <schwab@redhat.com>
8015
8016 * malloc/arena.c (arena_get2): Don't call reused_arena when
8017 _int_new_arena failed.
8018
6abf3465
UD
80192011-11-14 Ulrich Drepper <drepper@gmail.com>
8020
8021 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8022 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8023 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8024 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8025 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8026 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8027 to compile strcasecmp and strncasecmp.
8028 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8029 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8030
8031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8032
76e3966e
UD
80332011-11-13 Ulrich Drepper <drepper@gmail.com>
8034
8035 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8036 locale-defines.sym to gen-as-const-headers.
8037 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8038 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8040 to compile strcasecmp and strncasecmp.
8041 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8042 strcasecmp_l and strncasecmp_l.
8043 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8044 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8045 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8046 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8047 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8048 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8049 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8050 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8051 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8052 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8053 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8054
ab26144e
UD
80552011-11-12 Ulrich Drepper <drepper@gmail.com>
8056
7edb22ef
UD
8057 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8058 result of SYSDEP_GETTIME_CPU to retval.
8059 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8060 parameter list to macro. Remove trailing semicolon. Adjust users.
8061
9694fc44
UD
8062 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8063 variable.
8064
8ad89ef8
UD
8065 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8066 mantissa words.
8067 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8068
0c822ef9
UD
8069 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8070 from unused variable.
8071
874e0564
UD
8072 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8073 DWARF definitions.
8074 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8075 for assembling.
8076
3a2edc79
UD
8077 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8078 over namespaces.
8079
f3c2577f
UD
8080 * sunrpc/rpc_prot.c (rejected): Fix case value.
8081
294ce126
UD
8082 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8083 unsigned long long int to avoid warnings in shift.
8084
5e2b63c6
UD
8085 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8086 of use of trans.
8087 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8088 variable tmp.
8089
e7f4b08e
UD
8090 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8091 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8092 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8093
ab26144e
UD
8094 * nis/nis_table.c (nis_list): Use variable of correct type for
8095 result of __follow_path call.
8096
8a6d5255
AZ
80972011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8098
8099 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8100 of math functions ceil, trunc, floor, round, and sqrt, when
8101 avaliable on the platform.
8102 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8103 name clash.
8104 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8105 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8106 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8107
aaddc98c
MP
81082011-10-30 Marek Polacek <mpolacek@redhat.com>
8109
8110 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8111 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8112
95b7042b
RM
81132011-11-11 Roland McGrath <roland@hack.frob.com>
8114
8115 * include/unistd.h: Fix __readlink return type.
8116 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8117
57769839
UD
81182011-11-11 Ulrich Drepper <drepper@gmail.com>
8119
8120 * stdlib/ucontext.h: Undo last change for makecontext.
8121
edc5984d
AS
81222011-11-11 Andreas Schwab <schwab@redhat.com>
8123
98591e58
AS
8124 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8125
edc5984d
AS
8126 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8127 * setjmp/setjmp.h: Mark functions as non-leaf.
8128 * setjmp/bits/setjmp2.h: Likewise.
8129 * stdlib/ucontext.h: Likewise.
8130
77cdc054
AS
81312011-11-10 Andreas Schwab <schwab@redhat.com>
8132
8133 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8134 (reused_arena): Don't check arena limit.
8135 (arena_get2): Atomically check arena limit.
8136
fe72eebd
UD
81372011-11-08 Ulrich Drepper <drepper@gmail.com>
8138
5f078c32
UD
8139 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8140 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8141
fe72eebd
UD
8142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8143 instructions.
8144
ae1bc2fa
AS
81452011-11-07 Andreas Schwab <schwab@redhat.com>
8146
7583a88d
AS
8147 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8148 handler when locking.
8149
ae1bc2fa
AS
8150 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8151 Fix size of allocated buffer.
8152
10fb0bfa
AS
81532011-11-04 Andreas Schwab <schwab@redhat.com>
8154
998832a4
AS
8155 [BZ #10103]
8156 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8157 declarations for long double functions.
8158 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8159
10fb0bfa
AS
8160 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8161
3d7ba52b
AS
81622011-11-03 Andreas Schwab <schwab@redhat.com>
8163
a9ae54a1
AS
8164 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8165 installed.
8166
3d7ba52b
AS
8167 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8168 is disabled.
8169
bc8db248
ST
81702011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8171
8172 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8173
45b96dd6
AS
81742011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8175
647776f6
AS
8176 * include/alloca.h (stackinfo_alloca_round): Define.
8177 (extend_alloca): Use it.
8178 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8179 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8180 here.
8181
d91a8b93
AS
8182 * scripts/check-local-headers.sh: Ignore libaudit.h.
8183
45b96dd6
AS
8184 * nscd/Makefile (extra-objs): Make recursively expanded.
8185
432d41ce
UD
81862011-11-01 Ulrich Drepper <drepper@gmail.com>
8187
34372fc6
UD
8188 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8189 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8190
fadb59f8
UD
8191 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8192 * posix/tst-rfc3484-2.c: Likewise.
8193 * posix/tst-rfc3484-3.c: Likewise.
8194
78239589
UD
8195 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8196 process_vm_writev.
8197 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8198 process_vm_writev.
8199 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8200 process_vm_writev from libc using GLIBC_2.15 version.
8201
432d41ce
UD
8202 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8203
02f9c6cf
PP
82042011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8205
8206 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8207 stack usage.
8208
3a2c0242
UD
82092011-10-31 Ulrich Drepper <drepper@gmail.com>
8210
f4ec4833
UD
8211 [BZ #13367]
8212 * nss/getent.c (initgroups_keys): Show error message in case no group
8213 names are given.
8214
3a2c0242
UD
8215 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8216 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8217 __bump_nl_timestamp.
8218 * nscd/connections (nscd_init): When host database is served open
8219 netlink socket and request notification about configuration changes.
8220 (main_loop_poll): Track netlink file descriptor and bump timestamp
8221 in case data becomes available.
8222 (main_loop_epoll): Likewise.
8223 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8224 (database_pers_head): Add extra_data fileds.
8225 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8226 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8227 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8228 Adjust caller.
8229 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8230 in6ai data, call __free_in6ai.
8231 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8232 Add -DHAVE_NETLINK.
8233 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8234 interface information. Reuse previous data if netlink timestamp
8235 is not changed.
8236 (__bump_nl_timestamp): New function.
8237 (__free_in6ai): New function.
8238
636064eb
UD
82392011-10-30 Ulrich Drepper <drepper@gmail.com>
8240
8241 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8242 close_not_cancel_no_status here.
8243 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8244
9beb2334
UD
82452011-10-29 Ulrich Drepper <drepper@gmail.com>
8246
6ef76f3b
UD
8247 [BZ #13276]
8248 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8249 return value.
8250
0ffc4f3e 8251 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8252 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8253 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8254
cb95113e
UD
82552011-07-03 Andreas Jaeger <aj@suse.de>
8256
8257 [BZ #10709]
8258 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8259 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8260 * math/libm-test.inc (sin_test): Add test case.
8261
a1b560ff
UD
82622011-10-29 Ulrich Drepper <drepper@gmail.com>
8263
c9aaface
UD
8264 [BZ #13337]
8265 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8266 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8267
d272e7f1
UD
8268 * elf/chroot_canon.c (chroot_canon): Cleanups.
8269
1bc33071
UD
8270 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8271
1760874d
TJ
8272 [BZ #13335]
8273 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8274 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8275
51d91b18
UD
8276 * string/test-strchr.c: Make usable for strchrnul testing.
8277 * string/test-strchrnul.c: New file.
8278 * string/Makefile (strop-tests): Add strchrnul.
8279
a1b560ff 8280 * po/it.po: Update from translation team.
b611fb81 8281 * po/es.po: Likewise.
a1b560ff 8282
a5b81e1f
UD
82832011-10-28 Ulrich Drepper <drepper@gmail.com>
8284
fd52bc6d
UD
8285 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8286 the three constants needed as parameters. Drop the others.
8287 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8288 __m128i_strloadu_tolower.
52e4b9eb
UD
8289 Create and initialize variable zero and use it in all the places
8290 where _mm_setzero_si128 was used.
fd52bc6d 8291
a5b81e1f
UD
8292 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8293 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8294 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8295 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8296 anymore.
8297 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8298 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8299 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8300 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8301 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8302 __mpranred, __mptan.
8303 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8304 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8305 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8306 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8307 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8308 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8310 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8311 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8312
b4343346
AS
83132011-10-28 Andreas Schwab <schwab@redhat.com>
8314
0c92d8a8
AS
8315 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8316 redefine if SHARED.
8317 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8318
b4343346
AS
8319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8320 wide char related routines to wcsmbs subdir.
8321
3871f58f
AS
83222011-10-27 Andreas Schwab <schwab@redhat.com>
8323
8324 [BZ #13344]
8325 * misc/sys/cdefs.h (__THROWNL): Define.
8326 * posix/unistd.h: Use __THREADNL instead of __THREAD
8327 for memory synchronization functions.
8328
94d44d9f
RM
83292011-10-26 Roland McGrath <roland@hack.frob.com>
8330
21b64b15 8331 [BZ #13349]
94d44d9f
RM
8332 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8333 doesn't exist.
8334 * manual/stdio.texi (Obstack Streams): Node removed.
8335
f6ce9294
AS
83362011-10-26 Andreas Schwab <schwab@redhat.com>
8337
80479147
AS
8338 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8339 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8340 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8341
f6ce9294
AS
8342 * math/math_private.h (math_force_eval): Allow non-addressable
8343 arguments.
8344 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8345
618280a1
UD
83462011-10-25 Ulrich Drepper <drepper@gmail.com>
8347
e0016b11
UD
8348 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8349 file is not needed.
8350
8351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8352 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8353 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8354 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8355 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8356 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8357 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8358 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8359 Add AVX variants.
8360 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8361 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8362 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8363 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8364 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8365 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8366 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8367 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8368 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8369 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8370 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8371 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8372 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8373 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8374 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8375 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8376 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8377 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8378 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8379
8380 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8381 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8382
618280a1
UD
8383 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8384 place. Use VEX encoding when compiling for AVX.
8385
37822576
AS
83862011-10-25 Andreas Schwab <schwab@redhat.com>
8387
1f1e1947
AS
8388 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8389 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8390
37822576
AS
8391 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8392
31ea014d
UD
83932011-10-25 Ulrich Drepper <drepper@gmail.com>
8394
d7826aa1 8395 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8396 useless if() expression.
d7826aa1
UD
8397 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8398 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8400 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8401 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8402 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8405 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8406 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8407 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8408 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8409 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8410 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8411 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8412 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8413 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8415 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8416
31ea014d
UD
8417 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8418
16437fec
AS
84192011-10-25 Andreas Schwab <schwab@redhat.com>
8420
8421 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8422 condition.
8423 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8424
31d3cc00
UD
84252011-10-25 Ulrich Drepper <drepper@gmail.com>
8426
8427 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8428 .text section. Avoid duplicate constants.
8429 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8431 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8433 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8437 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8438 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8439 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8440 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8441 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8442 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8443 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8444 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8445 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8446 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8447 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8451 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8453 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8454 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8455 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8456 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8458 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8459 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8460 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8461 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8462 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8463 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8464 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8465 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8466 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8467 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8468 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8469 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8470 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8471 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8472 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8473 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8474
58985aa9
UD
84752011-10-24 Ulrich Drepper <drepper@gmail.com>
8476
202c9deb
UD
8477 * sysdeps/x86_64/dla.h: Move to ...
8478 * sysdeps/x86_64/fpu/dla.h: ...here.
8479 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8480 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8481
af968f62
UD
8482 * config.make.in: Add have-mfma4 entry.
8483 * configure.in: Substitute libc_cv_cc_fma4.
8484 * math/Makefile (dbl-only-routines): Add sincostab.
8485 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8486 Use __sincostab not sincos.
8487 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8488 name is a macro.
8489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8493 using __copysign.
8494 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8495 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8496 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8497 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8498 and __inv.
8499 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8500 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8501 __copysign.
8502 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8503 define aliases when function name is a macro.
8504 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8505 sysdeps/ieee754/dbl-64/sincos.tbl.
8506 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8507 fma4-enabled routines.
8508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8509 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8510 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8511 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8512 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8513 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8514 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8515 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8516 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8517 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8518 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8519 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8520 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8521 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8522 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8523 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8524 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8525 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8526 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8528 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8529 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8531 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8532 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8533 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8534 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8535 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8536 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8537 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8538
58985aa9
UD
8539 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8540 rename.
8541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8549
a201fbcf
AS
85502011-10-24 Andreas Schwab <schwab@redhat.com>
8551
8552 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8553
fc2ee42a
LD
85542011-10-23 Ulrich Drepper <drepper@gmail.com>
8555
bb3129bd
UD
8556 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8557
0275fff8
UD
8558 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8559 prediction.
8560 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8561
2fa2ae85
UD
8562 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8563 Remove unused variable magic_bits.
8564 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8565
fc2ee42a
LD
8566 * string/strnlen.c: Define and use STRNLEN macro.
8567 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8568 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8570 * wcsmbs/wcslen.c: Define and use WCSLEN.
8571 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8572 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8573 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8574 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8575 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8576 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8577 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8578
ce7dd29f
LD
85792011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8580
8581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8582 strnlen-sse2-no-bsf.
8583 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8585 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8586 Add strnlen support.
8587 (USE_AS_STRNLEN): New macro.
8588 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8589 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8590 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8591 * sysdeps/x86_64/wcslen.S: New file.
8592
979c70a3
MZ
85932011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8594
8595 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8596 XMM-moves are used for copying on small sizes.
8597
2d09f82f
LD
85982011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8599
8600 * wcsmbs/Makefile (strop-tests): Add wcschr.
8601 * wcsmbs/test-wcschr.c: New file.
8602 * string/test-strchr.c: Update.
8603 Add wcschr support.
8604 (WIDE): New macro.
8605
619fccca
LD
86062011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8607
2d09f82f 8608 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8609 * wcsmbs/test-wcslen.c: New file.
8610 * string/test-strlen.c: Update.
8611 Add wcslen support.
8612 (WIDE): New macro.
8613
09f699ea
UD
86142011-10-23 Ulrich Drepper <drepper@gmail.com>
8615
8616 * po/it.po: Update from translation team.
8617
95584d3b
LD
86182011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8619
8620 * sysdeps/x86_64/wcscmp.S: Update.
8621 Fix wrong comparison semantics.
8622 wcscmp shall use signed comparison not unsigned.
8623 Don't use substraction to avoid overflow bug.
8624 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8625 * wcsmbc/wcscmp.c: Likewise.
8626 * string/test-strcmp.c: Likewise.
8627 Add new tests to check cases with negative values.
8628
c8b3296b
UD
86292011-10-23 Ulrich Drepper <drepper@gmail.com>
8630
8631 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8632 * sysdeps/x86_64/dla.h: ...here. New file.
8633 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8642
246ad57a
AS
86432011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8644
8645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8646 __ynl_finite aliases.
8647
a1a87169
UD
86482011-10-22 Ulrich Drepper <drepper@gmail.com>
8649
0d355eb7
UD
8650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8651
a1a87169
UD
8652 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8653 define DLA_FMA.
8654 [DLA_FMA] (EMULV): Use DLA_FMA.
8655 [DLA_FMA] (MUL12): Use EMULV.
8656 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8657 that are not needed.
8658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8665
ee2aafe0
AS
86662011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8667
8668 * math/s_nan.c: Undef __nan.
8669 * math/s_nanf.c: Undef __nanf.
8670 * math/s_nanl.c: Undef __nanl.
8671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8672 "math_private.h".
8673
bc62c2fb
UD
86742011-10-22 Ulrich Drepper <drepper@gmail.com>
8675
77425c63
UD
8676 * math/s_catan.c: Add branch predictions.
8677 * math/s_catanf.c: Likewise.
8678 * math/s_catanh.c: Likewise.
8679 * math/s_catanhf.c: Likewise.
8680 * math/s_catanhl.c: Likewise.
8681 * math/s_catanl.c: Likewise.
8682 * math/s_cexp.c: Likewise.
8683 * math/s_cexpf.c: Likewise.
8684 * math/s_cexpl.c: Likewise.
8685 * math/s_clog.c: Likewise.
8686 * math/s_clog10.c: Likewise.
8687 * math/s_clog10f.c: Likewise.
8688 * math/s_clog10l.c: Likewise.
8689 * math/s_clogf.c: Likewise.
8690 * math/s_clogl.c: Likewise.
8691 * math/s_csqrt.c: Likewise.
8692 * math/s_csqrtf.c: Likewise.
8693 * math/s_csqrtl.c: Likewise.
8694 * math/s_ctanf.c: Likewise.
8695 * math/s_ctanh.c: Likewise.
8696 * math/s_ctanhf.c: Likewise.
8697 * math/s_ctanhl.c: Likewise.
8698 * math/s_ctanl.c: Likewise.
8699
bc62c2fb
UD
8700 * math/math_private.h: Define __nan, __nanf, __nanl.
8701 * math/s_cacosh.c: Include <math_private.h>.
8702 * math/s_cacoshl.c: Likewise.
8703 * math/s_casinh.c: Likewise.
8704 * math/s_casinhf.c: Likewise.
8705 * math/s_casinhl.c: Likewise.
8706 * math/s_ccos.c: Rely entire on ccosh.
8707 * math/s_ccosf.c: Rely entire on ccoshf.
8708 * math/s_ccosl.c: Rely entirely on ccoshl.
8709 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8710 Remove tests for FE_INVALID.
8711 * math/s_ccoshf.c: Likewise.
8712 * math/s_ccoshl.c: Likewise.
8713 * math/s_csin.c: Likewise.
8714 * math/s_csinf.c: Likewise.
8715 * math/s_csinh.c Likewise.
8716 * math/s_csinhf.c: Likewise.
8717 * math/s_csinhl.c: Likewise.
8718 * math/s_csinl.c: Likewise.
8719 * math/s_ctan.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8721 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8722 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8723
8ec250a4
UD
87242011-10-21 Ulrich Drepper <drepper@gmail.com>
8725
c196fed8
UD
8726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8727 compilation problems.
8728
8ec250a4
UD
8729 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8730 __builtin_expect.
8731
8d4f46c6
UD
87322011-10-20 Ulrich Drepper <drepper@gmail.com>
8733
ed72b654
UD
8734 * sysdeps/i386/configure.in: Test for -mfma4 option.
8735 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8736 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8737 COMMON_CPUID_INDEX_80000001.
8738 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8739 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8740 use it if FMA3 is not supported.
8741 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8742
8d4f46c6
UD
8743 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8744 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8745
d45c60c2
AS
87462011-10-20 Andreas Schwab <schwab@redhat.com>
8747
8748 [BZ #12892]
8749 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8750 it would create a cycle with a link time dependency.
8751
d9a4d2ab
UD
87522011-10-19 Ulrich Drepper <drepper@gmail.com>
8753
855d1560
UD
8754 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8755 instruction.
8756 * string/Makefile (strop-tests): Add rawmemchr.
8757 * string/test-rawmemchr.c: New file.
8758
d9a4d2ab
UD
8759 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8760 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8761 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8762 when compiling str{,n}casecmp and when AVX is available. Hook up
8763 new optimized code in initializers.
8764
8f3b1ffe
AS
87652011-10-19 Andreas Schwab <schwab@redhat.com>
8766
8767 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8768 __feraiseexcept instead of feraiseexcept.
8769
d38f1dba
UD
87702011-10-18 Ulrich Drepper <drepper@gmail.com>
8771
d9a8d0ab
UD
8772 * math/math_private.h: Define defaults for libc_fetestexcept and
8773 libc_feupdateenv.
8774 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8775 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8776 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8777 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8778 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8779 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8780 libc_fetestexcept and libc_feupdateenv.
8781
4855e3dd
UD
8782 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8783 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8784 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8785 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8786 libc_feholdexcept_setround.
8787
581d30e3
UD
8788 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8789 Add s_nearbyint-c and s_nearbyintf-c.
8790 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8791 nearbyintf inlines.
8792 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8793 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8794 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8795 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8796
d38f1dba
UD
8797 * math/math_private.h: Define defaults for libc_fegetround,
8798 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8799 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8800 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8801 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8802 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8803 standard functions.
8804 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8805 Remove comments and hacks for old compiler versions.
8806 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8807 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8808 libc_feholdexceptl.
8809
caa6c9d8
AS
88102011-10-18 Andreas Schwab <schwab@redhat.com>
8811
8812 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8813 (__feraiseexcept_renamed): Add __NTH.
8814 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8815 namespace violations.
8816
97c066e6
UD
88172011-10-17 Ulrich Drepper <drepper@gmail.com>
8818
99ce7b04
UD
8819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8820
1004d182
UD
8821 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8822
228a984d
UD
8823 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8824 recently added interfaces.
8825 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8826
c8553a6a
UD
8827 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8828 about macro parameter expansion.
8829
ed22dcf6
UD
8830 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8831 __NO_MATH_INLINES is defined. Cleanups.
8832
8833 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8834 and __floorf is target has SSE4.1.
8835 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8836 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8837 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8838 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8839
b171c137
UD
8840 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8841 name.
8842 (floorf): Likewise.
8843
97c066e6
UD
8844 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8845
629f62ef
AS
88462011-10-17 Andreas Schwab <schwab@redhat.com>
8847
49a43d80
AS
8848 * misc/sys/cdefs.h: Fix last change.
8849
629f62ef
AS
8850 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8851 database lookup.
8852
e453f6cd
UD
88532011-10-16 Ulrich Drepper <drepper@gmail.com>
8854
aa78043a
UD
8855 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8856
ad0f5cad
UD
8857 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8863 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8864 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8865 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8866 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8867 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8868 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8869 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8870 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8871 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8872 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8873 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8874 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8875 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8876 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8877 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8878 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8879
8880 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8881 ceil, ceilf, floor, floorf.
8882
8883 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8884 Perform IRELATIVE relocations last.
8885
e453f6cd
UD
8886 * elf/do-rel.h: Add another parameter nrelative, replacing the
8887 local variable with the same name. Change name of the function
8888 to end in Rel or Rela (uppercase).
8889 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8890 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8891 elf_dynamic_do_##reloc function.
8892
fd5bdc09
UD
88932011-10-15 Ulrich Drepper <drepper@gmail.com>
8894
79b195b5
UD
8895 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8896 is sufficient, at least on modern CPUs.
8897
d4a28569
UD
8898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8899
b61099b5
UD
8900 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8901 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8902
bcf01e6d
UD
8903 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8904 __expl_finite.
8905 * math/bits/math-finite.h: Add entries for exp.
8906 * math/e_expl.c: Add __*_finite alias.
8907 * sysdeps/i386/fpu/e_exp.S: Likewise.
8908 * sysdeps/i386/fpu/e_expf.S: Likewise.
8909 * sysdeps/i386/fpu/e_expl.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8911 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8912 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8915 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8916 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8917
ba1a0d59
UD
8918 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8919 is sufficient, at least on modern CPUs.
8920
fd5bdc09
UD
8921 * ctype/ctype-info.c (__ctype_init): Define.
8922 * include/ctype.h (__ctype_init): Declare.
8923 (__ctype_b_loc): The variable is always initialized.
8924 (__ctype_toupper_loc): Likewise.
8925 (__ctype_tolower_loc): Likewise.
8926 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8927 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8928
7872cfb0
AS
89292011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8930
b468825a
AS
8931 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8932
7872cfb0
AS
8933 * configure.in: Also look in $cxxmachine/include for C++ system
8934 headers.
8935
be13f7bf
LD
89362011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8937
8938 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8939 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8940 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8941 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8942 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8943 (USE_AS_WMEMCMP): New macro.
8944 Fixing indents.
8945 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8946 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8947 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8948 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8950 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8951 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8952 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8953 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8954 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8955 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8956 (USE_AS_WMEMCMP): New macro.
8957 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8958 * sysdeps/string/test-memcmp.c: Update.
8959 Fix simple_wmemcmp.
8960 Add new tests.
8961 * wcsmbs/wmemcmp.c: Update.
8962 (WMEMCMP): New macro.
8963 Fix overflow bug.
8964
556a2007
AJ
89652011-10-12 Andreas Jaeger <aj@suse.de>
8966
8967 [BZ #13268]
8968 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8969
538faaa7
UD
89702011-10-15 Ulrich Drepper <drepper@gmail.com>
8971
ab6737ff
UD
8972 * libio/iofwide.c (do_length): Avoid warning.
8973
538faaa7
UD
8974 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8975
396a21b1
UD
89762011-10-14 Ulrich Drepper <drepper@gmail.com>
8977
cdf2901f
UD
8978 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8979
38ad40ce
UD
8980 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8981 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8982 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8983 * sysdeps/i386/i686/fpu/e_log.S: New file.
8984 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8985 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8986
396a21b1
UD
8987 * ctype/ctype.h: Add support for inlined isXXX functions when
8988 compiling C++ code.
8989
6b1f68c9
AS
89902011-10-14 Andreas Schwab <schwab@redhat.com>
8991
349290c0
AS
8992 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8993
6b1f68c9
AS
8994 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8995
f2282d42
RM
89962011-10-13 Roland McGrath <roland@hack.frob.com>
8997
8998 [BZ #13291]
8999 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9000
5298ffa8
AS
90012011-10-13 Andreas Schwab <schwab@redhat.com>
9002
714fad23
AS
9003 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9004 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9005 feraiseexcept.
9006
81dcc7fb
AS
9007 * sysdeps/x86_64/memrchr.S: Check for zero size.
9008
5298ffa8
AS
9009 * string/stratcliff.c: Add memrchr tests.
9010
951fbcec
LD
90112011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9012
9013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9014 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9015 rawmemchr-sse2 rawmemchr-sse2-bsf.
9016 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9017 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9018 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9019 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9020 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9021 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9022 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9023 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9024 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9025 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9026 * string/memrchr.c (MEMRCHR): New macro.
9027
0ac5ae23
UD
90282011-10-12 Ulrich Drepper <drepper@gmail.com>
9029
9030 Add integration with gcc's -ffinite-math-only and optimize wrapper
9031 functions in libm.
9032 * Versions.def: Define GLIBC_2.15 version for libm.
9033 * math/Makefile (headers): Add bits/math-finite.h.
9034 * math/bits/math-finite.h: New file.
9035 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9036 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9037 * math/e_acoshl.c: Add __*_finite alias.
9038 * math/e_acosl.c: Likewise.
9039 * math/e_asinl.c: Likewise.
9040 * math/e_atan2l.c: Likewise.
9041 * math/e_atanhl.c: Likewise.
9042 * math/e_coshl.c: Likewise.
9043 * math/e_exp10.c: Likewise.
9044 * math/e_exp10f.c: Likewise.
9045 * math/e_exp10l.c: Likewise.
9046 * math/e_exp2l.c: Likewise.
9047 * math/e_fmodl.c: Likewise.
9048 * math/e_gammal_r.c: Likewise.
9049 * math/e_hypotl.c: Likewise.
9050 * math/e_j0l.c: Likewise.
9051 * math/e_j1l.c: Likewise.
9052 * math/e_jnl.c: Likewise.
9053 * math/e_lgammal_r.c: Likewise.
9054 * math/e_log10l.c: Likewise.
9055 * math/e_log2l.c: Likewise.
9056 * math/e_logl.c: Likewise.
9057 * math/e_powl.c: Likewise.
9058 * math/e_sinhl.c: Likewise.
9059 * math/e_sqrtl.c: Likewise.
9060 * math/e_scalb.c: Completely rewritten and optimized.
9061 * math/e_scalbf.c: Likewise.
9062 * math/e_scalbl.c: Likewise.
9063 * math/w_acos.c: Likewise.
9064 * math/w_acosf.c: Likewise.
9065 * math/w_acosl.c: Likewise.
9066 * math/w_acosh.c: Likewise.
9067 * math/w_acoshf.c: Likewise.
9068 * math/w_acoshl.c: Likewise.
9069 * math/w_asin.c: Likewise.
9070 * math/w_asinf.c: Likewise.
9071 * math/w_asinl.c: Likewise.
9072 * math/w_atan2.c: Likewise.
9073 * math/w_atan2f.c: Likewise.
9074 * math/w_atan2l.c: Likewise.
9075 * math/w_atanh.c: Likewise.
9076 * math/w_atanhf.c: Likewise.
9077 * math/w_atanhl.c: Likewise.
9078 * math/w_exp10.c: Likewise.
9079 * math/w_exp10f.c: Likewise.
9080 * math/w_exp10l.c: Likewise.
9081 * math/w_fmod.c: Likewise.
9082 * math/w_fmodf.c: Likewise.
9083 * math/w_fmodl.c: Likewise.
9084 * math/w_j0.c: Likewise.
9085 * math/w_j0f.c: Likewise.
9086 * math/w_j0l.c: Likewise.
9087 * math/w_j1.c: Likewise.
9088 * math/w_j1f.c: Likewise.
9089 * math/w_j1l.c: Likewise.
9090 * math/w_jn.c: Likewise.
9091 * math/w_jnf.c: Likewise.
9092 * math/w_log.c: Likewise.
9093 * math/w_logf.c: Likewise.
9094 * math/w_logl.c: Likewise.
9095 * math/w_log10.c: Likewise.
9096 * math/w_log10f.c: Likewise.
9097 * math/w_log10l.c: Likewise.
9098 * math/w_log2.c: Likewise.
9099 * math/w_log2f.c: Likewise.
9100 * math/w_log2l.c: Likewise.
9101 * math/w_pow.c: Likewise.
9102 * math/w_powf.c: Likewise.
9103 * math/w_powl.c: Likewise.
9104 * math/w_remainder.c: Likewise.
9105 * math/w_remainderf.c: Likewise.
9106 * math/w_remainderl.c: Likewise.
9107 * math/w_scalb.c: Likewise.
9108 * math/w_scalbf.c: Likewise.
9109 * math/w_scalbl.c: Likewise.
9110 * math/w_sqrt.c: Likewise.
9111 * math/w_sqrtf.c: Likewise.
9112 * math/w_sqrtl.c: Likewise.
9113 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9114 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9115 used.
9116 * math/math_private.h: Declare __kernel_standard_f.
9117 * math/w_cosh.c: Remove cruft and optimize a bit.
9118 * math/w_coshf.c: Likewise.
9119 * math/w_coshl.c: Likewise.
9120 * math/w_exp2.c: Likewise.
9121 * math/w_exp2f.c: Likewise.
9122 * math/w_exp2l.c: Likewise.
9123 * math/w_hypot.c: Likewise.
9124 * math/w_hypotf.c: Likewise.
9125 * math/w_hypotl.c: Likewise.
9126 * math/w_lgamma.c: Likewise.
9127 * math/w_lgamma_r.c: Likewise.
9128 * math/w_lgammaf.c: Likewise.
9129 * math/w_lgammaf_r.c: Likewise.
9130 * math/w_lgammal.c: Likewise.
9131 * math/w_lgammal_r.c: Likewise.
9132 * math/w_sinh.c: Likewise.
9133 * math/w_sinhf.c: Likewise.
9134 * math/w_sinhl.c: Likewise.
9135 * math/w_tgamma.c: Likewise.
9136 * math/w_tgammaf.c: Likewise.
9137 * math/w_tgammal.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9139 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9140 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9141 Minor optimizations. Pretty printing. Remove cruft.
9142 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9143 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9144 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9145 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9146 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9147 * sysdeps/i386/fpu/e_asin.S: Likewise.
9148 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9149 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9150 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9151 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9152 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9153 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9154 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9155 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9156 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9157 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9158 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9159 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9160 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9161 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9162 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9163 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9164 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9165 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9166 * sysdeps/i386/fpu/e_log.S: Likewise.
9167 * sysdeps/i386/fpu/e_log10.S: Likewise.
9168 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9169 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9170 * sysdeps/i386/fpu/e_log2.S: Likewise.
9171 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9172 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9173 * sysdeps/i386/fpu/e_logf.S: Likewise.
9174 * sysdeps/i386/fpu/e_logl.S: Likewise.
9175 * sysdeps/i386/fpu/e_pow.S: Likewise.
9176 * sysdeps/i386/fpu/e_powf.S: Likewise.
9177 * sysdeps/i386/fpu/e_powl.S: Likewise.
9178 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9179 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9180 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9181 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9182 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9183 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9184 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9185 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9186 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9191 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9192 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9193 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9194 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9208 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9209 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9210 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9211 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9212 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9213 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9214 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9215 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9216 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9217 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9218 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9219 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9220 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9221 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9222 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9223 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9224 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9225 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9226 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9227 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9228 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9256 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9267 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9278 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9279 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9280 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9281 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9282 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9283 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9284 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9285 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9286 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9287 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9288 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9289 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9290 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9291 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9292 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9293 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9294 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9295 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9296 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9297 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9298 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9299 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9300 (__isnanf): Likewise.
9301 (__isinf_ns): Likewise.
9302 (__isinf_nsf): Likewise.
9303 (__finite): Likewise.
9304 (__finitef): Likewise.
9305 (__ieee754_sqrt): Define as macro.
9306 (__ieee754_sqrtf): Define as macro.
9307 (__ieee754_sqrtl): Define as macro.
9308 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9309 inlined copy.
9310 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9311 __FINITE_MATH_ONLY__ consistent.
9312 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9313
12cc2fcd
AS
93142011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9315
a843a204
AS
9316 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9317 of rawmemchr.
9318
12cc2fcd
AS
9319 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9320
c853acd5
UD
93212011-10-09 Ulrich Drepper <drepper@gmail.com>
9322
9323 * po/ja.po: Update from translation team.
9324
c658d255
RM
93252011-10-08 Roland McGrath <roland@hack.frob.com>
9326
110946e4
RM
9327 * locale/programs/locarchive.c (prepare_address_space): New function.
9328 (create_archive, enlarge_archive, open_archive): Use it.
9329
50604220
RM
9330 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9331 inside [SHARED], where it is used.
9332
c658d255
RM
9333 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9334
9335 * nss/getent.c (netgroup_keys): Remove unused variable.
9336 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9337
6a621eb7
UD
93382011-10-08 Ulrich Drepper <drepper@gmail.com>
9339
7edb55ce
UD
9340 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9341 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9342 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9343 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9344 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9345 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9346 * math/Makefile (libm-calls): Add s_isinf_ns.
9347 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9348 * math/multc3.c: Likewise.
9349 * math/s_casin.c: Likewise.
9350 * math/s_casinf.c: Likewise.
9351 * math/s_casinl.c: Likewise.
9352 * math/s_ccos.c: Likewise.
9353 * math/s_ccosf.c: Likewise.
9354 * math/s_ccosl.c: Likewise.
9355 * math/s_ctan.c: Likewise.
9356 * math/s_ctanf.c: Likewise.
9357 * math/s_ctanh.c: Likewise.
9358 * math/s_ctanhf.c: Likewise.
9359 * math/s_ctanhl.c: Likewise.
9360 * math/s_ctanl.c: Likewise.
9361 * math/w_fmod.c: Likewise.
9362 * math/w_fmodf.c: Likewise.
9363 * math/w_fmodl.c: Likewise.
9364 * math/w_remainder.c: Likewise.
9365 * math/w_remainderf.c: Likewise.
9366 * math/w_remainderl.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9368 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9369 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9371 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9372 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9373 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9374 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9375
187da0ae
UD
9376 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9377 of the number.
9378 * stdio-common/printf_fphex.c: Likewise.
9379 * stdio-common/printf_size.c: Likewise.
9380
9277c064
UD
9381 * math/e_exp10.c: Include math_private.h using <...> not "...".
9382 * math/e_exp10f.c: Likewise.
9383 * math/e_exp10l.c: Likewise.
9384 * math/e_exp2l.c: Likewise.
9385 * math/e_j0l.c: Likewise.
9386 * math/e_j1l.c: Likewise.
9387 * math/e_jnl.c: Likewise.
9388 * math/e_lgammal_r.c: Likewise.
9389 * math/e_rem_pio2l.c: Likewise.
9390 * math/e_scalb.c: Likewise.
9391 * math/e_scalbf.c: Likewise.
9392 * math/e_scalbl.c: Likewise.
9393 * math/k_cosl.c: Likewise.
9394 * math/k_sinl.c: Likewise.
9395 * math/k_tanl.c: Likewise.
9396 * math/s_cacoshf.c: Likewise.
9397 * math/s_catan.c: Likewise.
9398 * math/s_catanf.c: Likewise.
9399 * math/s_catanh.c: Likewise.
9400 * math/s_catanhf.c: Likewise.
9401 * math/s_catanhl.c: Likewise.
9402 * math/s_catanl.c: Likewise.
9403 * math/s_ccosh.c: Likewise.
9404 * math/s_ccoshf.c: Likewise.
9405 * math/s_ccoshl.c: Likewise.
9406 * math/s_cexp.c: Likewise.
9407 * math/s_cexpf.c: Likewise.
9408 * math/s_cexpl.c: Likewise.
9409 * math/s_clog.c: Likewise.
9410 * math/s_clog10.c: Likewise.
9411 * math/s_clog10f.c: Likewise.
9412 * math/s_clog10l.c: Likewise.
9413 * math/s_clogf.c: Likewise.
9414 * math/s_clogl.c: Likewise.
9415 * math/s_csin.c: Likewise.
9416 * math/s_csinf.c: Likewise.
9417 * math/s_csinh.c: Likewise.
9418 * math/s_csinhf.c: Likewise.
9419 * math/s_csinhl.c: Likewise.
9420 * math/s_csinl.c: Likewise.
9421 * math/s_csqrt.c: Likewise.
9422 * math/s_csqrtf.c: Likewise.
9423 * math/s_csqrtl.c: Likewise.
9424 * math/s_ctan.c: Likewise.
9425 * math/s_ctanf.c: Likewise.
9426 * math/s_ctanh.c: Likewise.
9427 * math/s_ctanhf.c: Likewise.
9428 * math/s_ctanhl.c: Likewise.
9429 * math/s_ctanl.c: Likewise.
9430 * math/s_ldexp.c: Likewise.
9431 * math/s_ldexpf.c: Likewise.
9432 * math/s_ldexpl.c: Likewise.
9433 * math/s_significand.c: Likewise.
9434 * math/s_significandf.c: Likewise.
9435 * math/s_significandl.c: Likewise.
9436 * math/w_acos.c: Likewise.
9437 * math/w_acosf.c: Likewise.
9438 * math/w_acosh.c: Likewise.
9439 * math/w_acoshf.c: Likewise.
9440 * math/w_acoshl.c: Likewise.
9441 * math/w_acosl.c: Likewise.
9442 * math/w_asin.c: Likewise.
9443 * math/w_asinf.c: Likewise.
9444 * math/w_asinl.c: Likewise.
9445 * math/w_atan2.c: Likewise.
9446 * math/w_atan2f.c: Likewise.
9447 * math/w_atan2l.c: Likewise.
9448 * math/w_atanh.c: Likewise.
9449 * math/w_atanhf.c: Likewise.
9450 * math/w_atanhl.c: Likewise.
9451 * math/w_cosh.c: Likewise.
9452 * math/w_coshf.c: Likewise.
9453 * math/w_coshl.c: Likewise.
9454 * math/w_dremf.c: Likewise.
9455 * math/w_exp10.c: Likewise.
9456 * math/w_exp10f.c: Likewise.
9457 * math/w_exp10l.c: Likewise.
9458 * math/w_exp2.c: Likewise.
9459 * math/w_exp2f.c: Likewise.
9460 * math/w_fmod.c: Likewise.
9461 * math/w_fmodf.c: Likewise.
9462 * math/w_fmodl.c: Likewise.
9463 * math/w_hypot.c: Likewise.
9464 * math/w_hypotf.c: Likewise.
9465 * math/w_hypotl.c: Likewise.
9466 * math/w_j0.c: Likewise.
9467 * math/w_j0f.c: Likewise.
9468 * math/w_j0l.c: Likewise.
9469 * math/w_j1.c: Likewise.
9470 * math/w_j1f.c: Likewise.
9471 * math/w_j1l.c: Likewise.
9472 * math/w_jn.c: Likewise.
9473 * math/w_jnf.c: Likewise.
9474 * math/w_jnl.c: Likewise.
9475 * math/w_lgamma.c: Likewise.
9476 * math/w_lgamma_r.c: Likewise.
9477 * math/w_lgammaf.c: Likewise.
9478 * math/w_lgammaf_r.c: Likewise.
9479 * math/w_lgammal.c: Likewise.
9480 * math/w_lgammal_r.c: Likewise.
9481 * math/w_log.c: Likewise.
9482 * math/w_log10.c: Likewise.
9483 * math/w_log10f.c: Likewise.
9484 * math/w_log10l.c: Likewise.
9485 * math/w_log2.c: Likewise.
9486 * math/w_log2f.c: Likewise.
9487 * math/w_log2l.c: Likewise.
9488 * math/w_logf.c: Likewise.
9489 * math/w_logl.c: Likewise.
9490 * math/w_pow.c: Likewise.
9491 * math/w_powf.c: Likewise.
9492 * math/w_powl.c: Likewise.
9493 * math/w_remainder.c: Likewise.
9494 * math/w_remainderf.c: Likewise.
9495 * math/w_remainderl.c: Likewise.
9496 * math/w_scalb.c: Likewise.
9497 * math/w_scalbf.c: Likewise.
9498 * math/w_scalbl.c: Likewise.
9499 * math/w_sinh.c: Likewise.
9500 * math/w_sinhf.c: Likewise.
9501 * math/w_sinhl.c: Likewise.
9502 * math/w_sqrt.c: Likewise.
9503 * math/w_sqrtf.c: Likewise.
9504 * math/w_sqrtl.c: Likewise.
9505 * math/w_tgamma.c: Likewise.
9506 * math/w_tgammaf.c: Likewise.
9507 * math/w_tgammal.c: Likewise.
9508
6a621eb7
UD
9509 * po/ja.po: Update from translation team.
9510
bf582445
AJ
95112011-09-29 Andreas Jaeger <aj@suse.de>
9512
f9efbf3a
AJ
9513 [BZ #13179]
9514 * sunrpc/netname.c (netname2host): Fix logic.
9515
bf582445
AJ
9516 [BZ #6779]
9517 [BZ #6783]
9518 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9519 correctly.
9520 * math/w_remainder.c (__remainder): Likewise.
9521 * math/w_remainderf.c (__remainderf): Likewise.
9522 * math/libm-test.inc (remainder_test): Add test cases.
9523
48693bea
AK
95242011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9525
9526 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9527 sdiv_qrnnd.
9528
42622229
LD
95292011-10-07 Ulrich Drepper <drepper@gmail.com>
9530
9531 * string/test-memcmp.c: Avoid unncessary #defines.
9532 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9533
093ecf92
LD
95342011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9535
9536 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9537 Use new sse2 version for core i3 - i7 as it's faster
9538 than sse42 version.
9539 (bit_Prefer_PMINUB_for_stringop): New.
9540 * sysdeps/x86_64/rawmemchr.S: Update.
9541 Replace with faster SSE2 version.
9542 * sysdeps/x86_64/memrchr.S: New file.
9543 * sysdeps/x86_64/memchr.S: Update.
9544 Replace with faster SSE2 version.
9545
fde56e5c
MP
95462011-09-12 Marek Polacek <mpolacek@redhat.com>
9547
9548 * elf/dl-load.c (lose): Add cast to avoid warning.
9549
21fd49a9
UD
95502011-10-07 Ulrich Drepper <drepper@gmail.com>
9551
5a06e643
UD
9552 * po/ca.po: Update from translation team.
9553
684ae515
UD
9554 * inet/getnetgrent_r.c: Hook up nscd.
9555 * nscd/Makefile (routines): Add nscd_netgroup.
9556 (nscd-modules): Add netgroupcache.
9557 (CFLAGS-netgroupcache.c): Define.
9558 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9559 (cache_search): Add const to second parameter.
9560 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9561 INNETGR.
9562 (dbs): Add netgrdb entry.
9563 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9564 (verify_persistent_db): Handle netgrdb.
9565 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9566 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9567 GETFDNETGR.
9568 (netgroup_response_header): Define.
9569 (innetgroup_response_header): Define.
9570 (datahead): Add netgroup_response_header and innetgroup_response_header
9571 elements.
9572 * nscd/nscd.conf: Add entries for netgroup cache.
9573 * nscd/nscd.h (dbtype): Add netgrdb.
9574 (_PATH_NSCD_NETGROUP_DB): Define.
9575 (netgroup_iov_disabled): Declare.
9576 (xmalloc, xcalloc, xrealloc): Move declarations here.
9577 (cache_search): Adjust prototype.
9578 Add netgroup-related prototypes.
9579 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9580 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9581 (__nscd_innetgr): Declare.
9582 * nscd/selinux.c (perms): Use access_vector_t as element type and
9583 add netgroup-related initializers.
9584 * nscd/netgroupcache.c: New file.
9585 * nscd/nscd_netgroup.c: New file.
9586 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9587 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9588 For four parameters use innetgr.
9589 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9590 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9591 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9592 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9593
21fd49a9
UD
9594 * nscd/connections.c (register_traced_file): Don't register file
9595 for disabled databases.
9596
054c0457
UD
95972011-10-06 Ulrich Drepper <drepper@gmail.com>
9598
32b63198
UD
9599 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9600
054c0457
UD
9601 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9602 from tree and freeing node.
9603
64031225
JO
96042011-09-25 Jiri Olsa <jolsa@redhat.com>
9605
9606 * nss/nsswitch.c (__nss_database_lookup): Handle
9607 nss_parse_service_list out of memory case.
9608
0490345c
JO
96092011-09-15 Jiri Olsa <jolsa@redhat.com>
9610
9611 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9612 out of memory case.
9613
3a62d00d
AS
96142011-10-04 Andreas Schwab <schwab@redhat.com>
9615
9616 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9617 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9618 pass it down.
9619 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9620 elf_machine_rela, elf_machine_lazy_rel.
9621 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9622 (ELF_DYNAMIC_DO_REL): Likewise.
9623 (ELF_DYNAMIC_DO_RELA): Likewise.
9624 (ELF_DYNAMIC_RELOCATE): Likewise.
9625 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9626 to ELF_DYNAMIC_DO_REL.
9627 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9628 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9629 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9630 elf_machine_rela.
9631 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9632 skip_ifunc, don't call ifunc function if non-zero.
9633 (elf_machine_rela): Likewise.
9634 (elf_machine_lazy_rel): Likewise.
9635 (elf_machine_lazy_rela): Likewise.
9636 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9637 (elf_machine_lazy_rel): Likewise.
9638 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9639 Likewise.
9640 (elf_machine_lazy_rel): Likewise.
9641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9642 Likewise.
9643 (elf_machine_lazy_rel): Likewise.
9644 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9645 (elf_machine_lazy_rel): Likewise.
9646 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9647 (elf_machine_lazy_rel): Likewise.
9648 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9649 (elf_machine_lazy_rel): Likewise.
9650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9651 (elf_machine_lazy_rel): Likewise.
9652 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9653 (elf_machine_lazy_rel): Likewise.
9654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9655 (elf_machine_lazy_rel): Likewise.
9656
68577918
UD
96572011-09-28 Ulrich Drepper <drepper@gmail.com>
9658
9659 * nss/nss_files/files-init.c (_nss_files_init): Use static
9660 initialization for all the *_traced_file variables.
9661
68822d74
AS
96622011-09-28 Andreas Schwab <schwab@redhat.com>
9663
9664 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9665
2056100b
RM
96662011-09-27 Roland McGrath <roland@hack.frob.com>
9667
9668 [BZ #13226]
9669 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9670
32c76b63
AS
96712011-09-27 Andreas Schwab <schwab@redhat.com>
9672
9673 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9674 Reread the line before reparsing it.
9675
bf972c9d
AS
96762011-09-26 Andreas Schwab <schwab@redhat.com>
9677
9678 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9679
e057a1b5
JM
96802011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9681 Maxim Kuvyrkov <maxim@codesourcery.com>
9682 Joseph Myers <joseph@codesourcery.com>
9683
9684 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9685 if needed for __stack_chk_guard.
9686
bc7e1c36
RM
96872011-09-19 Roland McGrath <roland@hack.frob.com>
9688
ecb1482f
RM
9689 * sysdeps/posix/spawni.c (script_execute): Always define it.
9690 It will be optimized away if unused.
9691 (maybe_script_execute): New function.
9692 (__spawni): Call it.
9693
bc7e1c36
RM
9694 * Makerules: Don't include tls.make.
9695 (config-tls): Always set to thread.
9696 * tls.make.c: File removed.
9697
1c3b002b
MF
96982011-09-19 Mike Frysinger <vapier@gentoo.org>
9699
9700 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9701 * config.make.in (CPPFLAGS-config): New substituted variable.
9702
2840865d
UD
97032011-09-15 Ulrich Drepper <drepper@gmail.com>
9704
88738eb6
UD
9705 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9706
cbf645a6 9707 [BZ #13192]
2840865d
UD
9708 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9709 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9710
b402e91a
RM
97112011-09-15 Roland McGrath <roland@hack.frob.com>
9712
9713 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9714 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9715 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9716 (CALL_FAIL): Likewise.
9717 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9718 (CALL_FAIL): Macro removed.
9719 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9720
4c1a1f71
UD
97212011-09-15 Ulrich Drepper <drepper@gmail.com>
9722
9723 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9724 for __FINITE_MATH_ONLY__ == 1.
9725
edc121be
AS
97262011-09-15 Andreas Schwab <schwab@redhat.com>
9727
9728 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9729 __ieee754_sqrt instead of sqrt.
9730 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9731 __ieee754_sqrtf instead of sqrtf.
9732 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9733 __floorf instead of floorf.
9734 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9735 __floorf, __truncf instead of floorf, truncf.
9736
cd205654
UD
97372011-09-14 Ulrich Drepper <drepper@gmail.com>
9738
ee4d0315
UD
9739 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9740
cd205654
UD
9741 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9742 __extern_always_inline.
9743 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9744 32-bit.
9745
48b67d71
AS
97462011-09-14 Andreas Schwab <schwab@redhat.com>
9747
9748 * elf/rtld.c (dl_main): Also relocate in dependency order when
9749 doing symbol dependency testing.
9750
1ae12c75
AS
97512011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9752
9753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9754 Always define `refsym'.
9755
995a80df
AS
97562011-09-13 Andreas Schwab <schwab@redhat.com>
9757
e529793b
AS
9758 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9759 (__FD_ELT): Renamed from __FDELT.
9760 * misc/bits/select2.h (__FD_ELT): Likewise.
9761 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9762 __FD_MASK instead of __FDELT, __FDMASK.
9763 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9764 Likewise.
9765 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9766 Likewise.
9767
52d4fef8
AS
9768 * elf/Makefile (gen-ldd): Fix pattern.
9769
995a80df
AS
9770 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9771 (init_tls): Likewise.
9772
8682f8b0
UD
97732011-09-12 Ulrich Drepper <drepper@gmail.com>
9774
9775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9776
de82006d
AS
97772011-09-12 Andreas Schwab <schwab@redhat.com>
9778
a7c8e6a1
AS
9779 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9780 `struct cmsghdr *' instead of `void *'.
9781 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9782 Likewise.
9783
0f31fe77
AS
97842011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9785
9786 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9787 if non-absolute.
9788 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9789 ldd_rewrite_script.
0f31fe77 9790
32b4c839
UD
97912011-09-11 Ulrich Drepper <drepper@gmail.com>
9792
83cd1420
UD
9793 * configure.in: Remove --with-tls option.
9794 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9795 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9796 out in case it is missing.
9797 * sysdeps/ia64/elf/configure.in: Likewise.
9798 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9799 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9800 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9801 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9802 * sysdeps/sh/elf/configure.in: Likewise.
9803 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9804 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9805 * sysdeps/x86_64/elf/configure.in: Likewise.
9806 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9807 * sysdeps/mach/hurd/tls.h: Likewise.
9808
633f745d
UD
9809 [BZ #13067]
9810 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9811
f318beb8
UD
9812 [BZ #13090]
9813 * configure.in: Fix use of AC_INIT.
9814
32b4c839
UD
9815 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9816
3ce1f295
UD
98172011-09-10 Ulrich Drepper <drepper@gmail.com>
9818
bb016596
UD
9819 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9820 __set_errno.
8e58439c
UD
9821 * malloc/hooks.c: Likewise.
9822
aebae053 9823 [BZ #11929]
02d46fc4
UD
9824 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9825 variables statically.
9826 (narenas): Initialize.
9827 (list_lock): Initialize.
bb016596
UD
9828 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9829 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9830 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9831 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9832 Add initializers to main_arena and mp_.
9833 (malloc_state): Remove pagesize member. Change all users to use
9834 GLRO(dl_pagesize).
9835
9836 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9837 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9838 is always initialized.
9839
22a89187
UD
9840 * malloc/malloc.c: Removed unused configurations and dead code.
9841 * malloc/arena.c: Likewise.
9842 * malloc/hooks.c: Likewise.
02d46fc4 9843 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9844
d063d164
UD
9845 * include/tls.h: Removed. USE___THREAD must always be defined.
9846 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9847 * elf/dl-libc.c: Likewise.
9848 * elf/dl-tsd.c: Likewise.
9849 * include/errno.h: Likewise.
9850 * include/netdb.h: Likewise.
9851 * include/resolv.h: Likewise.
9852 * inet/herrno-loc.c: Likewise.
9853 * inet/herrno.c: Likewise.
9854 * malloc/arena.c: Likewise.
9855 * malloc/hooks.c: Likewise.
9856 * malloc/malloc.c: Likewise.
9857 * resolv/res-state.c: Likewise.
9858 * resolv/res_libc.c: Likewise.
9859 * sysdeps/i386/dl-machine.h: Likewise.
9860 * sysdeps/ia64/dl-machine.h: Likewise.
9861 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9862 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9863 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9864 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9865 * sysdeps/sh/dl-machine.h: Likewise.
9866 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9867 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9868 * sysdeps/unix/i386/sysdep.S: Likewise.
9869 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9870 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9872 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9873 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9874 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9875 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9879 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9880 * sysdeps/x86_64/dl-machine.h: Likewise.
9881 * tls.make.c: Likewise.
9882
3ce1f295
UD
9883 * configure.in: Remove --with-__thread option. Make tests for
9884 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9885 tls_model attribute fail if no support is available. Remove
9886 USE_IN_LIBIO.
9887 * Makeconfig: Adjust for dropped configure option. All features are
9888 now mandatory.
9889 * Makerules: Likewise.
9890 * Versions.def: Likewise.
9891 * argp/argp-fmtstream.c: Likewise.
9892 * argp/argp-fmtstream.h: Likewise.
9893 * argp/argp-help.c: Likewise.
9894 * assert/assert.c: Likewise.
9895 * config.h.in: Likewise.
9896 * config.make.in: Likewise.
9897 * configure: Likewise.
9898 * configure.in: Likewise.
9899 * csu/Versions: Likewise.
9900 * csu/init.c: Likewise.
9901 * elf/tst-audit2.c: Likewise.
9902 * elf/tst-tls10.c: Likewise.
9903 * elf/tst-tls10.h: Likewise.
9904 * elf/tst-tls11.c: Likewise.
9905 * elf/tst-tls12.c: Likewise.
9906 * elf/tst-tls14.c: Likewise.
9907 * elf/tst-tlsmod11.c: Likewise.
9908 * elf/tst-tlsmod12.c: Likewise.
9909 * elf/tst-tlsmod13.c: Likewise.
9910 * elf/tst-tlsmod13a.c: Likewise.
9911 * elf/tst-tlsmod14a.c: Likewise.
9912 * elf/tst-tlsmod15b.c: Likewise.
9913 * elf/tst-tlsmod16a.c: Likewise.
9914 * elf/tst-tlsmod16b.c: Likewise.
9915 * elf/tst-tlsmod7.c: Likewise.
9916 * elf/tst-tlsmod8.c: Likewise.
9917 * elf/tst-tlsmod9.c: Likewise.
9918 * gmon/gmon.c: Likewise.
9919 * grp/fgetgrent_r.c: Likewise.
9920 * grp/putgrent.c: Likewise.
9921 * hurd/fopenport.c: Likewise.
9922 * include/libc-symbols.h: Likewise.
9923 * include/tls.h: Likewise.
9924 * intl/gettextP.h: Likewise.
9925 * intl/loadinfo.h: Likewise.
9926 * locale/global-locale.c: Likewise.
9927 * locale/localeinfo.h: Likewise.
9928 * mach/devstream.c: Likewise.
9929 * malloc/arena.c: Likewise.
9930 * malloc/set-freeres.c: Likewise.
9931 * misc/err.c: Likewise.
9932 * misc/getttyent.c: Likewise.
9933 * misc/mntent_r.c: Likewise.
9934 * posix/getopt.c: Likewise.
9935 * posix/wordexp.c: Likewise.
9936 * pwd/fgetpwent_r.c: Likewise.
9937 * resolv/Versions: Likewise.
9938 * resolv/res_hconf.c: Likewise.
9939 * shadow/fgetspent_r.c: Likewise.
9940 * shadow/putspent.c: Likewise.
9941 * stdio-common/printf_fphex.c: Likewise.
9942 * stdio-common/tmpfile.c: Likewise.
9943 * stdlib/abort.c: Likewise.
9944 * stdlib/fmtmsg.c: Likewise.
9945 * sunrpc/auth_unix.c: Likewise.
9946 * sunrpc/clnt_perr.c: Likewise.
9947 * sunrpc/clnt_tcp.c: Likewise.
9948 * sunrpc/clnt_udp.c: Likewise.
9949 * sunrpc/clnt_unix.c: Likewise.
9950 * sunrpc/openchild.c: Likewise.
9951 * sunrpc/svc_simple.c: Likewise.
9952 * sunrpc/svc_tcp.c: Likewise.
9953 * sunrpc/svc_udp.c: Likewise.
9954 * sunrpc/svc_unix.c: Likewise.
9955 * sunrpc/xdr.c: Likewise.
9956 * sunrpc/xdr_array.c: Likewise.
9957 * sunrpc/xdr_rec.c: Likewise.
9958 * sunrpc/xdr_ref.c: Likewise.
9959 * sunrpc/xdr_stdio.c: Likewise.
9960
1248c1c4
PB
99612011-09-09 Ulrich Drepper <drepper@gmail.com>
9962
9963 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9964
99652011-07-03 Andreas Jaeger <aj@suse.de>
9966
9967 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9968 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9969 regenerate with gen-libm-tests.pl.
9970
99712010-05-12 Petr Baudis <pasky@suse.cz>
9972
9973 [BZ #11589]
9974 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9975 around j0() zero points by switching to j1().
9976 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9980
f22e1074
UD
99812011-09-09 Ulrich Drepper <drepper@gmail.com>
9982
f19009c1
UD
9983 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9984 instead of 0.
9985 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9986 instead of 0. .
9987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9988 Patch in part by Pavel Roskin <proski@gnu.org>.
9989
3f8cc204
UD
9990 [BZ #13138]
9991 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9992 realloc.
9993 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9994 Free memory block if necessary.
9995
f22e1074
UD
9996 [BZ #12847]
9997 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9998 be NULL. Don't lock in this case.
9999
0a2349f9
RM
100002011-09-09 Roland McGrath <roland@hack.frob.com>
10001
10002 * elf/elf.h (ELFOSABI_GNU): New macro.
10003 (ELFOSABI_LINUX): Define to that.
10004
f3cdd467
DZ
100052011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10006
10007 * string/strncat.c (strncat): Undef the symbol in case it has been
10008 defined in bits/string.h.
10009
74718d13
UD
100102011-09-09 Ulrich Drepper <drepper@gmail.com>
10011
633e9e0f
UD
10012 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10013
0a2349f9 10014 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10015 link map.
10016
f9924780
AJ
100172011-08-17 Andreas Jaeger <aj@suse.de>
10018
10019 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10020
7f5517aa
PP
100212011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10022 Ian Lance Taylor <iant@google.com>
10023
10024 * math/libm-test.inc (lround_test): New testcase.
10025 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10026
762011fe
UD
100272011-09-08 Ulrich Drepper <drepper@gmail.com>
10028
92963737
UD
10029 * Makefile: Remove support for automatic cvs check-ins.
10030 * Makerules: Likewise.
10031 * config.make.in: Likewise.
10032 * configure.in: Likewise.
10033 * intl/Makefile: Likewise.
10034 * locale/Makefile: Likewise.
10035 * po/Makefile: Likewise.
10036 * posix/Makefile: Likewise.
10037 * sysdeps/gnu/Makefile: Likewise.
10038 * sysdeps/mach/hurd/Makefile: Likewise.
10039 * sysdeps/sparc/sparc32/Makefile: Likewise.
10040
b0727fd8
JS
10041 [BZ #13118]
10042 * posix/Makefile (bug-regex32-ENV): Define.
10043 Patch by John Stanley <jpsinthemix@verizon.net>.
10044
a0f33f99
UD
10045 * misc/Makefile (headers): Add bits/select2.h.
10046 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10047 * misc/bits/select2.h: New file.
10048 * include/bits/select2.h: New file.
10049 * debug/Makefile (routines): Add fdelt_chk.
10050 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10051 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10052 FD_ISSET.
10053 * debug/fdelt_chk.c: New file.
10054
762011fe
UD
10055 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10056 * wcsmbs/test-wmemcmp.c: Likewise.
10057 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10058 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10059
100602011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10061
10062 * string/Makefile (strop-tests): Add memcmp.
10063 * string/test-wmemcmp.c: New file.
10064 * string/test-memcmp.c: Add wmemcmp support.
10065
7f513ec8
RM
100662011-09-08 Roland McGrath <roland@hack.frob.com>
10067
0442afb4
RM
10068 [BZ #13153]
10069 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10070 2011-07-19 change.
10071
7f513ec8
RM
10072 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10073 garbage value in a __mach_port_mod_refs call in the cases of the
10074 task-self and thread-self ports.
10075
a12b2239
ST
100762011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10077
10078 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10079
610f9ab4
AS
100802011-09-08 Andreas Schwab <schwab@redhat.com>
10081
7f513ec8 10082 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10083
48882a1a
LD
100842011-09-07 Ulrich Drepper <drepper@gmail.com>
10085
b49865be
UD
10086 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10087
fdc86bc9
UD
10088 * elf/dl-libc.c (dlerror_run): Pass back error code from
10089 dl_catch_error.
10090
c966526a
UD
10091 [BZ #13123]
10092 * elf/dl-load.c (lose): Free l_origin if it is valid.
10093
48882a1a
LD
10094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10095 names.
10096 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10097 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10099 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10100 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10101 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10102
77a2a8b4
AZ
101032011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10104
10105 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10106 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10107 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10108 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10109 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10110 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10111 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10112 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10113 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10114 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10115
24f579d8
AM
101162011-08-15 Alan Modra <amodra@gmail.com>
10117
10118 [BZ #13092]
10119 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10120 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10121 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10122 ppc_mcount to static-only-routines.
10123 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10124 __mcount_internal.
10125 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10126 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10127
3d4837df
UD
101282011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10129
10130 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10131 for finite and infinity parameters.
10132
22700377
WS
101332011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10134
10135 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10136 and add nop instructions for throughput optimization.
10137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10138
5025581e
WS
101392011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10140
10141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10142 aligned copy for power7 with vector-scalar instructions.
10143 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10144
08a300c9
L
101452011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10146
10147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10148 AVX check.
10149
59178ef9
AS
101502011-09-07 Andreas Schwab <schwab@redhat.com>
10151
10152 [BZ #13144]
10153 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10154 last change.
10155
e38ba7ab
UD
101562011-09-07 Ulrich Drepper <drepper@gmail.com>
10157
10158 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10159 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10160 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10161 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10162 clock_gettime.
10163
d53a73ac
UD
101642011-09-06 Ulrich Drepper <drepper@gmail.com>
10165
fc8bffcc
UD
10166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10167 Forgot to demangle the pointer.
10168
ceaa0c5d
UD
10169 * sysdeps/i386/sysdep.h: Define atom_text_section.
10170 * sysdeps/x86_64/sysdep.h: Likewise.
10171 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10172 section with atom_text_section.
10173 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10175 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10176 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10177 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10178
a77d3c17
UD
10179 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10180 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10181 already be defined. Change to take two parameters and don't assign
10182 result to variable. Adjust all users.
10183 Define INTERNAL_GETTIME if not already defined.
10184 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10185 call.
10186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10187 HAVE_CLOCK_GETTIME_VSYSCALL.
10188 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10189
d53a73ac
UD
10190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10191 gettimeofday vsyscall, just use time.
10192
a8f84144
AS
101932011-09-06 Andreas Schwab <schwab@redhat.com>
10194
10195 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10196 <errno.h>.
10197
ef606249
UD
101982011-09-06 Ulrich Drepper <drepper@gmail.com>
10199
10200 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10201 syscall on x86-64.
10202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10203 syscall.
10204 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10205 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10206 syscall if possible.
10207
6585cb60
UD
102082011-09-05 Ulrich Drepper <drepper@gmail.com>
10209
10210 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10211 e_ident. Don't pass to find_mapsXX.
10212 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10213
a5f524e4
LD
102142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10215
10216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10217 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10218 * sysdeps/x86_64/multiarch/strchr.S: Update.
10219 Check bit_slow_BSF bit.
10220 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10221 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10222 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10223
554881ef
UD
102242011-09-05 Ulrich Drepper <drepper@gmail.com>
10225
d96de963
UD
10226 [BZ #13134]
10227 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10228 before glibc 2.15.
10229 (tryshell): Define.
10230 (__spawni): Change last parameter to be flag. Test
10231 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10232 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10233 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10234 * posix/spawni.c: Likewise.
10235 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10236 * posix/spawnp.c: Likewise. Change normal version to use
10237 SPAWN_XFLAGS_USE_PATH.
10238 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10239 SPAWN_XFLAGS_TRY_SHELL.
10240
d48e5868
UD
10241 [BZ #13150]
10242 * posix/glob.h: Remove gcc 1.x support.
10243
554881ef
UD
10244 [BZ #13068]
10245 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10246
693fb948
LD
102472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10248
10249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10250 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10251 strrchr-sse2-bsf
10252 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10253 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10254 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10255 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10256 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10257 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10258
1b48c537
UD
102592011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10260
49d42c37
UD
10261 * sysdeps/x86_64/wcscmp.S: New file.
10262
1b48c537
UD
10263 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10264 wcscmp-c wcscmp-sse2
10265 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10266 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10267 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10268 * wcsmbs/wcscmp.c: Allow renaming.
10269
15c95c5d
DM
102702011-09-05 David S. Miller <davem@davemloft.net>
10271
10272 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10273 stack slot, rather than the struct return pointer slot.
10274 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10275 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10277 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10278
2f0ad8f3
UD
102792011-09-05 Ulrich Drepper <drepper@gmail.com>
10280
d88ae418
UD
10281 * po/ja.po: Update from translation team.
10282
2f0ad8f3
UD
10283 [BZ #13144]
10284 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10285 kernel in 64-bit binaries.
10286
5f4318d1
DM
102872011-09-01 David S. Miller <davem@davemloft.net>
10288
10289 * elf/elf.h (HWCAP_SPARC_*): Move to..
10290 * sysdeps/sparc/sysdep.h: this new file and add new values.
10291 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10292 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10293 _DL_HWCAP_COUNT to 24.
10294 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10295 entries.
10296 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10297 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10298 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10300 instead of magic constants.
10301 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10302
3ba57516
DM
103032011-08-31 David S. Miller <davem@davemloft.net>
10304
10305 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10307 Reimplement to do errno handling inline.
10308 (SYSCALL_ERROR_HANDLER): New macro.
10309 (__SYSCALL_STRING): Do not do errno handling in asm.
10310 (__CLONE_SYSCALL_STRING): Delete.
10311 (__INTERNAL_SYSCALL_STRING): Delete.
10312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10313 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10314 (PSEUDO): Reimplement to do errno handling inline.
10315 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10316 (SYSCALL_ERROR_HANDLER): New macro.
10317 (__SYSCALL_STRING): Do not do errno handling in asm.
10318 (__CLONE_SYSCALL_STRING): Delete.
10319 (__INTERNAL_SYSCALL_STRING): Delete.
10320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10321 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10322 i386.
10323 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10324 (inline_syscall*): Add 'err' argument.
10325 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10326 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10327 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10328 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10329
10330 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10331 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10332
2bc17433
AS
103332011-08-30 Andreas Schwab <schwab@redhat.com>
10334
10335 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10336
fbeb5f4d
JO
103372011-08-29 Jiri Olsa <jolsa@redhat.com>
10338
10339 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10340 directive.
10341
ad69cc26
DM
103422011-08-24 David S. Miller <davem@davemloft.net>
10343
10344 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10345
39dd69df
AS
103462011-08-24 Andreas Schwab <schwab@redhat.com>
10347
10348 * elf/Makefile: Add rules to build and run unload8 test.
10349 * elf/unload8.c: New file.
10350 * elf/unload8mod1.c: New file.
10351 * elf/unload8mod1x.c: New file.
10352 * elf/unload8mod2.c: New file.
10353 * elf/unload8mod3.c: New file.
10354
10355 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10356 it wasn't used.
10357
2c0b250a
DM
103582011-08-23 David S. Miller <davem@davemloft.net>
10359
10360 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10361 subtract stack bias.
10362 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10363 %sp not %fp in calculations.
10364 (_JMPBUF_UNWINDS_ADJ): Likewise.
10365
22044b48
DM
10366 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10367 (aio_suspend): Call it to force an exception region around the
10368 AIO_MISC_WAIT() invocation.
10369
2cae4995
AS
103702011-08-23 Andreas Schwab <schwab@redhat.com>
10371
10372 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10373 backslash.
10374
873a772e
AJ
103752011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10376
10377 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10378 protection macro.
10379 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10380 and <dl-machine.h>.
10381 (Elf64_FuncDesc): Remove.
10382
25ad0df1
DM
103832011-08-22 David S. Miller <davem@davemloft.net>
10384
10385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10386 sigaltstack check, add missing cfi directives.
10387 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10388 missing cfi directives, and sigaltstack handling.
10389
e888bcbe
AS
103902011-08-16 Andreas Schwab <schwab@redhat.com>
10391
10392 [BZ #11724]
10393 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10394 object is seen twice.
10395 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10396
10397 * elf/Makefile (distribute): Add tst-initorder2.c.
10398 (tests): Add tst-initorder2.
10399 (modules-names): Add tst-initorder2a tst-initorder2b
10400 tst-initorder2c tst-initorder2d. Add rules to build them.
10401 ($(objpfx)tst-initorder2.out): New rule.
10402 * elf/tst-initorder2.c: New file.
10403 * elf/tst-initorder2.exp: New file.
10404
87162f46
AS
104052011-08-22 Andreas Schwab <schwab@redhat.com>
10406
70538b7f
AS
10407 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10408
f55ffe58
AS
10409 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10410 dependencies back to end of function.
10411
87162f46
AS
10412 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10413 $(elfobjdir)/ld.so.
10414
91b392a4
UD
104152011-08-21 Ulrich Drepper <drepper@gmail.com>
10416
10417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10418 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10420 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10421 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10422 of __vdso_gettimeofday.
10423 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10424 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10425 attribute_hidden.
10426 (_libc_vdso_platform_setup): Remove initialization of
10427 __vdso_gettimeofday and __vdso_time.
10428
5c43483f
UD
104292011-08-20 Ulrich Drepper <drepper@gmail.com>
10430
775a77e7
UD
10431 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10432 and fgetc_unlocked.
10433 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10434 getc_unlocked.
89f447ed 10435
49c74ba9
UD
10436 * elf/dl-open.c (add_to_global): Report additions to the global scope
10437 for LD_DEBUG=scopes.
10438 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10439 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10440
5c43483f
UD
10441 [BZ #13114]
10442 * stdio-common/Makefile (tests): Add bug24.
10443 * stdio-common/bug24.c: New file.
10444
a101b025
AJ
104452011-08-19 Andreas Jaeger <aj@suse.de>
10446
10447 [BZ #13114]
10448 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10449 non-existant file when using close-on-exec mode.
10450
c88f1766
UD
104512011-08-20 Ulrich Drepper <drepper@gmail.com>
10452
0276a718
UD
10453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10454 the very first instruction.
10455
c88f1766
UD
10456 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10457 the CFI state in the end.
10458 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10459 inclusion of dl-trampoline.h.
10460 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10461
51ccffa0
AS
104622011-08-19 Andreas Schwab <schwab@redhat.com>
10463
94d7165f
AS
10464 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10465 expectations for long double.
10466
51ccffa0
AS
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10468 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10469
fd708658 104702011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10471
10472 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10473 artificual limit depends upon the system page size.
10474
44f0a71e
UD
104752011-08-17 Ulrich Drepper <drepper@gmail.com>
10476
10477 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10478 * resolv/Makefile: Define CFLAGS-libresolv.
10479
8de79a24
AS
104802011-08-17 Andreas Schwab <schwab@redhat.com>
10481
10482 * nss/makedb.c (compute_tables): Make variables used in nested
10483 function static.
10484
27724598
UD
104852011-08-17 Ulrich Drepper <drepper@gmail.com>
10486
c5305d88
UD
10487 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10488 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10489 if buffer was too small.
10490
27724598
UD
10491 * elf/pldd.c (main): Attach to all threads in the process.
10492 Rewrite /proc handling to use *at functions.
10493
076fe015
UD
104942011-08-16 Ulrich Drepper <drepper@gmail.com>
10495
174baab3
UD
10496 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10497 specifies first scope to show.
10498 (dl_open_worker): Update callers. Move printing scope of new
10499 object to before the relocation.
44f0a71e 10500 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10501 * sysdeps/generic/ldsodefs.h: Update declaration.
10502
076fe015
UD
10503 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10504 string for the scope number.
10505
a60df2c3
UD
105062011-08-14 Ulrich Drepper <drepper@gmail.com>
10507
10508 * nscd/servicescache.c (cache_addserv): Make sure written is always
10509 initialized.
10510
5e4287d1
RM
105112011-08-14 Roland McGrath <roland@hack.frob.com>
10512
85ae0589
RM
10513 * sysdeps/i386/i486/bits/atomic.h
10514 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10515 statement expression, so as to suppress "set but not used" warning.
10516 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10517
69f63097
RM
10518 * string/strncat.c (STRNCAT): Use prototype definition.
10519
675456ef
RM
10520 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10521 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10522 -Iprograms here.
10523 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10524 (localedef-modules): Add localedef.
10525 (locale-modules): Add locale.
10526
5e4287d1
RM
10527 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10528 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10529 to avoid a warning.
10530
9c96ff23
DM
105312011-08-14 David S. Miller <davem@davemloft.net>
10532
10533 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10534 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10535
f9ddf089
UD
105362011-08-13 Ulrich Drepper <drepper@gmail.com>
10537
44f0a71e 10538 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10539 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10540 * elf/rtld.c (dl_main): Set l_name of vDSO.
10541 Call _dl_show_scope when DL_DEBUG_SCOPES.
10542 (process_dl_debug): Recognize scopes flag and also set it for all.
10543 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10544 Declare _dl_show_scope.
10545
1dc27704
UD
10546 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10547 (do_dlopen): Pass caller_dlopen to dl_open.
10548 (__libc_dlopen_mode): Initialize caller_dlopen.
10549
f9ddf089
UD
10550 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10551 of libc. Make tolower call locale-independent. Optimize a bit by
10552 using isdigit instead of isalnum.
10553 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10554
9ac533d3
UD
105552011-08-12 Ulrich Drepper <drepper@gmail.com>
10556
10557 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10558 was a dependency or dynamically loaded.
10559
89edf2e9
UD
105602011-08-11 Ulrich Drepper <drepper@gmail.com>
10561
8e999d29
UD
10562 * intl/l10nflist.c: Allow architecture-specific pop function.
10563 * sysdeps/x86_64/l10nflist.c: New file.
10564
89edf2e9
UD
10565 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10566 classification.
10567
14d96785
AS
105682011-08-10 Andreas Schwab <schwab@redhat.com>
10569
10570 * include/dirent.h: Add libc_hidden_proto for scandirat and
10571 scandirat64. Don't declare __scandirat64.
10572 * dirent/scandirat.c: Add libc_hidden_def.
10573 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10574 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10575
6761ac04
DM
105762011-08-10 David S. Miller <davem@davemloft.net>
10577
10578 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10579 enum.
10580 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10581 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10582 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10583
c55fbd1e
UD
105842011-08-09 Ulrich Drepper <drepper@gmail.com>
10585
10586 * Versions.def [libc]: Add GLIBC_2.15.
10587 * dirent/Makefile (routines): Add scandirat and scandirat64.
10588 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10589 GLIBC_2.15.
10590 * dirent/dirent.h: Declare scandirat and scandirat64.
10591 * dirent/scandirat.c: New file.
10592 * dirent/scandirat64.c: New file.
10593 * sysdeps/wordsize-64/scandirat.c: New file.
10594 * sysdeps/wordsize-64/scandirat64.c: New file.
10595 * dirent/opendir.c: Define opendirat.
10596 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10597 using scandirat.
10598 * dirent/scandir64.c: Adjust for scandir.c change.
10599 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10600 __scandirat64, and __scandir_cancel_handler.
10601 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10602 additional parameter and use openat instead of open (outside of ld.so).
10603 Add new __opendir as wrapper around __opendirat.
10604 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10605 here without requiring old scandirat implementation.
10606
879165f2
UD
106072011-08-08 Ulrich Drepper <drepper@gmail.com>
10608
10609 * dirent/scandir.c (cancel_handler): Renamed to
10610 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10611 defined. Adjust users.
10612 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10613 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10614
cb7e923b
UD
106152011-08-04 Ulrich Drepper <drepper@gmail.com>
10616
16292edd
UD
10617 * string/test-string.h (IMPL): Use __STRING to expand name and then
10618 stringify it.
10619
cb7e923b
UD
10620 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10621 of cleanups.
10622
cff82933
LD
106232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10624
10625 * string/Makefile: Update.
10626 (strop-tests): Append strncat.
10627 * string/test-wcscmp.c: New file.
10628 New comprehensive test for wcscmp.
10629 * string/test-strcmp.c: Update.
10630 (WIDE): New define.
10631
9be9bfcc
AS
106322011-07-22 Andreas Schwab <schwab@redhat.com>
10633
10634 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10635 line.
10636
2e96f1c7
AS
106372011-07-26 Andreas Schwab <schwab@redhat.com>
10638
10639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10640 encoding to ACE if AI_IDN.
10641
85188888
JJ
106422011-08-01 Jakub Jelinek <jakub@redhat.com>
10643
10644 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10645 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10646
5fa16e9b
LD
106472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10648
10649 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10650 Fix overflow bug in strncat.
10651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10652
10653 * string/test-strncat.c: Update.
10654 Add new tests for checking overflow bugs.
10655
106562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10657
10658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10659 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10660 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10661 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10662 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10663 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10664 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10665 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10666 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10667
10668 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10669 (USE_AS_STRCAT): Define.
10670 Add strcat and strncat support.
10671 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10672
8c1a459f
AS
106732011-07-25 Andreas Schwab <schwab@redhat.com>
10674
10675 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10676 __n bigger than INT_MAX+1.
10677 (__strncmp_g): Likewise.
10678
bba33c28
UD
106792011-07-23 Ulrich Drepper <drepper@gmail.com>
10680
798be72d
UD
10681 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10682 * libio/stido.h: Likewise.
10683
8accd4dc
UD
10684 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10685 (AF_NFC): Define.
10686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10687 (AF_NFC): Define.
10688
cbff0d96
UD
10689 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10690 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10692 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10693 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10694
9191c04a
UD
10695 [BZ #13021]
10696 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10697 installed.
10698
bba33c28
UD
10699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10700 typo.
10701 (_dl_x86_64_save_sse): Likewise.
10702
90f139dd
UD
107032011-07-22 Ulrich Drepper <drepper@gmail.com>
10704
1aae088a
UD
10705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10706 OSXSAVE.
10707 (_dl_x86_64_save_sse): Likewise.
10708
8e2045f5
UD
10709 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10710
90f139dd
UD
10711 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10712
1d002f25
AS
107132011-07-21 Andreas Schwab <schwab@redhat.com>
10714
10715 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10716 change.
10717 (_dl_x86_64_save_sse): Use correct AVX check.
10718
21137f89
UD
107192011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10720
10721 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10722 bug in strncpy/strncat.
10723 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10724
a65c0b7a
UD
107252011-07-21 Ulrich Drepper <drepper@gmail.com>
10726
10727 * string/tester.c (test_strcat): Add tests for different alignments
10728 of source and destination.
10729 (test_strncat): Likewise.
10730
6986b98a
UD
107312011-07-20 Ulrich Drepper <drepper@gmail.com>
10732
90bb2039
UD
10733 [BZ #12852]
10734 * posix/glob.c (glob): Check passed in values before using them in
10735 expressions to avoid some overflows.
10736 (glob_in_dir): Likewise.
10737
5644ef54
UD
10738 [BZ #13007]
10739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10740 check for AVX enablement so that we don't crash with old kernels and
10741 new hardware.
10742 * elf/tst-audit4.c: Add same checks here.
10743 * elf/tst-audit6.c: Likewise.
10744
10745 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10746
bfc9dc9b
AS
107472011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10748
10749 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10750
702e64bb
UD
107512011-07-20 Ulrich Drepper <drepper@gmail.com>
10752
10753 * po/cs.po: Update from translation team.
10754 * po/bg.po: Likewise.
10755
295e904f
MP
107562011-07-12 Marek Polacek <mpolacek@redhat.com>
10757
10758 * misc/sys/cdefs.h: Add support for const attribute.
10759 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10760 to gnu_dev_{major,minor,makedev} functions.
10761
3ff94596
MP
107622011-07-20 Marek Polacek <mpolacek@redhat.com>
10763
10764 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10765
28b59fca
AS
107662011-07-20 Andreas Schwab <schwab@redhat.com>
10767
10768 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10769 strlen results.
10770
19df733e
AK
107712011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10772
10773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10774 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10775 register in order to avoid conflicts with the soft frame pointer
10776 being held in r11 when necessary.
10777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10778 (INTERNAL_VSYSCALL_NCS): Likewise.
10779
c8835729
MP
107802011-07-14 Marek Polacek <mpolacek@redhat.com>
10781
10782 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10783 * elf/dl-fini.c (_dl_fini): Adjust caller.
10784 * elf/dl-close.c (_dl_close_worker): Likewise.
10785 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10786
b902330c
MP
107872011-07-15 Marek Polacek <mpolacek@redhat.com>
10788
8991e135
MP
10789 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10790 "aux_cache->nlibs < 0".
10791
b902330c
MP
10792 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10793 in the reload-count case.
10794
99710781
LD
107952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10796
10797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10798 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10799 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10800 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10801 * sysdeps/x86_64/multiarch/strcat.S: New file.
10802 * sysdeps/x86_64/multiarch/strncat.S: New file.
10803 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10804 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10805 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10806 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10808 (USE_AS_STRCAT): Define.
10809 Add strcat and strncat support.
10810 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10812 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10813 * string/strncat.c: Update.
10814 (USE_AS_STRNCAT): Define.
10815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10816 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10817 and i7.
10818 * sysdeps/x86_64/multiarch/init-arch.h
10819 (bit_Prefer_PMINUB_for_stringop): New.
10820 (index_Prefer_PMINUB_for_stringop): Likewise.
10821 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10822 bit_Prefer_PMINUB_for_stringop.
10823
7dc6bd90
UD
108242011-07-19 Ulrich Drepper <drepper@gmail.com>
10825
10826 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10827 buffer64.
10828 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10829 of casting of buffer.
10830 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10831 buffer32 and buffer64.
10832 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10833 writes instead of casting of buffer.
10834 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10835 buffer32.
10836 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10837 casting of buffer.
10838
e0e72284
AS
108392011-07-19 Andreas Schwab <schwab@redhat.com>
10840
10841 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10842
feb1eb0b
UD
108432011-07-19 Ulrich Drepper <drepper@gmail.com>
10844
10845 * nscd/nscd.c (termination_handler): Don't do anything for a database
10846 if it has not yet been initialized.
10847
298711ff
UD
108482011-07-18 Ulrich Drepper <drepper@gmail.com>
10849
10850 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10851
108522011-07-15 Marek Polacek <mpolacek@redhat.com>
10853
10854 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10855
f9d68389
UD
108562011-07-18 Ulrich Drepper <drepper@gmail.com>
10857
10858 * po/nl.po: Update from translation team.
10859 * po/sv.po: Likewise.
10860
db290cf5
RM
108612011-07-16 Roland McGrath <roland@hack.frob.com>
10862
10863 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10864 now disallowed by GCC.
5c550700 10865
fd5e21c7
RM
10866 * configure.in (use-default-link): Default to yes if a test -shared
10867 link meets our qualifications.
10868 * configure: Regenerated.
10869
5c550700
RM
10870 * config.make.in (output-format): New variable.
10871 * configure.in: Check for ld --print-output-format support.
10872 * configure: Regenerated.
10873 * Makerules ($(common-objpfx)format.lds)
10874 [$(output-format) != unknown]: Just use $(output-format),
10875 instead of the linker-script munging.
10876
9fa2c032
RM
108772011-07-14 Roland McGrath <roland@hack.frob.com>
10878
a6928d51
RM
10879 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10880 of $(common-objpfx)shlib.lds.
10881 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10882
661607b3
RM
10883 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10884 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10885
9fa2c032
RM
10886 * configure.in (-z relro check): Adjust test code to add a large
10887 writable data section after it.
10888 * configure: Regenerated.
10889
defe9061
RM
108902011-07-11 Roland McGrath <roland@hack.frob.com>
10891
10892 * configure.in (-z relro check): Fix test code to make the variable
10893 truly const.
10894 * configure: Regenerated.
10895
319b9ad4
UD
108962011-07-11 Ulrich Drepper <drepper@gmail.com>
10897
10898 * nscd/nscd.h (struct traced_file): Define.
10899 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10900 elements. Add traced_files.
10901 (inotify_fd): Declare.
10902 (register_traced_file): Declare.
10903 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10904 (inotify_fd): Export.
10905 (resolv_conf_descr): Remove.
10906 (nscd_init): Move inotify descriptor creation to main.
10907 Don't register files for notification here.
10908 (register_traced_file): New function.
10909 (invalidate_cache): Don't use reset_res to determine whether to call
10910 res_init, go through the list of registered files.
10911 (main_loop_poll): The inotify descriptors are now stored in the
10912 structures for the traced files.
10913 (main_loop_epoll): Likewise
10914 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10915 to __nss_disable_nscd.
10916 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10917 for a database anymore. Check the records for all the registered
10918 files instead.
10919 * nss/Makefile (libnss_files-routines): Add files-init.
10920 (libnss_db-routines): Add db-init.
10921 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10922 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10923 * nss/nss_db/db-init.c: New file.
10924 * nss/nss_files/files-init.c: New file.
10925 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10926 __nss_lookup_function.
10927 (__nss_lookup_function): Call nss_load_library.
10928 (nss_load_all_libraries): New function.
10929 (__nss_disable_nscd): Take parameter with callback function for files
10930 to register. Set is_nscd. Load all the DSOs for the NSS modules
10931 used for the cached services.
10932 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10933 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10934 options for features to all the files in nscd.
10935
10936 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10937
23bee3e8
RM
109382011-07-10 Roland McGrath <roland@hack.frob.com>
10939
10940 * csu/elf-init.c (__libc_csu_init): Comment typo.
10941
46a5b7f0
UD
109422011-07-09 Ulrich Drepper <drepper@gmail.com>
10943
10944 * po/pl.po: Update from translation team.
10945 * po/ja.po: Likewise.
10946 * po/ru.po: Likewise.
10947 * po/ko.po: Likewise.
10948 * po/fr.po: Likewise.
10949
d30cf5bb
RM
109502011-07-09 Roland McGrath <roland@hack.frob.com>
10951
113ddea4
RM
10952 * configure.in (.ctors/.dtors header and trailer check):
10953 Use an empirical test on a built program.
10954 * configure: Regenerated.
10955
574920b4
RM
10956 * configure.in (-z relro check): Use an empirical test on a built DSO.
10957 Detect, but do not require, on ia64.
10958 * configure: Regenerated.
10959
d30cf5bb
RM
10960 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10961 Update tests that use readelf to use $READELF instead.
10962 * configure: Regenerated.
10963
8538fdb3
UD
109642011-07-08 Ulrich Drepper <drepper@gmail.com>
10965
10966 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10967 if the result is not used.
10968
04d08991
AJ
109692011-07-05 Andreas Jaeger <aj@suse.de>
10970
10971 [BZ#9696]
10972 * stdlib/tst-strtod.c: Add testcase.
10973
de283087
AD
109742011-07-07 Ulrich Drepper <drepper@gmail.com>
10975
4e5f31c8 10976 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10977 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10978 The latter has a higher limit. Take additional parameter to pass to
10979 the new function.
10980 (__pathconf): Pass file to __statfs_link_max.
10981 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10982 __statfs_link_max.
10983 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10984 __statfs_link_max.
10985
de283087
AD
10986 [BZ #12868]
10987 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10989 Handle Lustre.
10990 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10991 (__statfs_filesize_max): Likewise.
10992 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10993
c75fa153
AJ
109942011-07-05 Andreas Jaeger <aj@suse.de>
10995
10996 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10997
1a544854
UD
109982011-07-06 Marek Polacek <mpolacek@redhat.com>
10999
11000 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11001 `status' variable.
11002 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11003 Likewise.
11004
6f0eec67
UD
110052011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11006
11007 * Makefile (strop-tests): Add strncat.
11008 * string/test-strncat.c: New file.
11009
aae30307
UD
110102011-06-30 Marek Polacek <mpolacek@redhat.com>
11011
11012 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11013
c0cfb5eb
UD
110142011-06-21 Andreas Jaeger <aj@suse.de>
11015
11016 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11017 Copy rule from iconvdata/Makefile.
11018
01636b21
UD
110192011-07-06 Ulrich Drepper <drepper@gmail.com>
11020
11021 [BZ #12922]
11022 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11023 but no long options are defined, just return 'W'.
11024
9895c8bc
UD
110252011-06-22 Marek Polacek <mpolacek@redhat.com>
11026
11027 [BZ #9696]
11028 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11029
5d4cf042
UD
110302011-07-06 Ulrich Drepper <drepper@gmail.com>
11031
11032 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11033 netgroups to read.
960e5535 11034 (innetgr): Likewise.
5d4cf042 11035
751eb97e
RM
110362011-07-05 Roland McGrath <roland@hack.frob.com>
11037
11038 * config.make.in (install_root): Default to $(DESTDIR).
11039
f15f1e45
UD
110402011-07-05 Ulrich Drepper <drepper@gmail.com>
11041
11042 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11043
4e34ac6a
RM
110442011-07-02 Roland McGrath <roland@hack.frob.com>
11045
5e9b6af4
RM
11046 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11047
84f9ea0f
RM
11048 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11049 containing directory rather than embedding absolute directory names.
11050
ea5ee9f7
RM
11051 * scripts/check-local-headers.sh: Rewritten using awk.
11052 Match by word, not by line. Print error messages for matches.
11053 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11054
1b74661a
RM
11055 * Makerules [shlib-lds-flags empty]:
11056 ($(common-objpfx)libc_pic.opts): New target.
11057 ($(common-objpfx)libc_pic.os.clean): New target.
11058 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11059
11060 * config.make.in (OBJCOPY): New variable.
11061 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11062 * configure: Regenerated.
11063
f781ef40
RM
11064 * config.make.in (use-default-link): New variable.
11065 * configure.in (use_default_link): Grok --with-default-link to set it.
11066 * configure: Regenerated.
11067 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11068 (shlib-lds, shlib-lds-flags): Define to empty.
11069
2d4fa81e
RM
11070 * Makerules (shlib-lds): New variable.
11071 (shlib-lds-flags): New variable.
11072 (build-shlib, build-moduile, build-module-asneeded): Use it.
11073 ($(common-objpfx)libc.so): Use $(shlib-lds).
11074 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11075 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11076
31fffa6b
RM
11077 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11078 DT_FLAGS/DT_FLAGS_1 with zero flags.
11079
4e34ac6a
RM
11080 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11081 linker script munging.
11082
fcfc776b
UD
110832011-07-02 Ulrich Drepper <drepper@gmail.com>
11084
11085 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11086 as 128-bit value.
11087 * crypt/sha512.c (sha512_process_block): Perform total addition using
11088 128-bit if possible.
11089 (__sha512_finish_ctx): Likewise.
11090 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11091 as 64-bit value.
11092 * crypt/sha256.c (SWAP64): Define.
11093 (sha256_process_block): Perform total addition using 64-bit if
11094 possible.
11095 (__sha256_finish_ctx): Likewise.
11096
99231d9a
UD
110972011-07-01 Ulrich Drepper <drepper@gmail.com>
11098
11099 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11100 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11101 * nscd/hstcache.c (cache_addhst): Likewise.
11102 * nscd/grpcache.c (cache_addgr): Likewise.
11103 * nscd/aicache.c (addhstaiX): Likewise
11104 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11105
445b4a53
TK
111062011-07-01 Thorsten Kukuk <kukuk@suse.de>
11107
11108 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11109 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11110 * nscd/hstcache.c (cache_addhst): Likewise.
11111 * nscd/grpcache.c (cache_addgr): Likewise.
11112 * nscd/aicache.c (addhstaiX): Likewise
11113
6d4d8e8e
AS
111142011-07-01 Andreas Schwab <schwab@redhat.com>
11115
11116 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11117 domain only when needed.
11118
89f654c5
AS
111192011-06-30 Andreas Schwab <schwab@redhat.com>
11120
11121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11122 is always restored.
11123
cf3b23ff
UD
111242011-06-29 Ulrich Drepper <drepper@gmail.com>
11125
11126 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11127 are re-adding the entry.
11128 * nscd/servicescache.c (cache_addserv): Likewise.
11129
751626f9
AJ
111302011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11131
11132 * sysdeps/generic/dl-irel.h: fix protection against multiple
11133 inclusions.
11134 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11135
9113ea1f
UD
111362011-06-28 Ulrich Drepper <drepper@gmail.com>
11137
5c0b8d90
UD
11138 [BZ #12935]
11139 * malloc/memusage.sh: Fix quoting in message.
11140 * debug/xtrace.sh: Likewise.
11141
9113ea1f
UD
11142 * configure.in: Remove support for --experimental-malloc option, make
11143 it the default.
11144 * config.make.in: Likewise.
11145 * malloc/Makefile: Likewise.
11146
a4172181
AS
111472011-06-27 Andreas Schwab <schwab@redhat.com>
11148
11149 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11150 two-byte characters.
11151
78a7eee7
RM
111522011-06-27 Roland McGrath <roland@hack.frob.com>
11153
62bede13
RM
11154 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11155 AC_CACHE_CHECK invocation.
11156 * configure: Regenerated.
11157
78a7eee7
RM
11158 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11159
5ce33a62
UD
111602011-06-27 Ulrich Drepper <drepper@gmail.com>
11161
034807a9
UD
11162 [BZ #12350]
11163 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11164 bit from old_res_options.
11165
4902da17
UD
11166 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11167
5ce33a62
UD
11168 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11169 value type for setfct.
11170
c2344f56
L
111712011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11172
11173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11174 __gettimeofday instead of gettimeofday.
11175
68468076
UD
111762011-06-26 Ulrich Drepper <drepper@gmail.com>
11177
11178 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11179
acb0d739
L
111802011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11181
11182 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11183
11184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11185 info.
11186
8912479f
L
111872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11188
11189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11190 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11191 strcpy-sse2-unaligned strncpy-sse2-unaligned
11192 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11193 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11194 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11195 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11196 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11197 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11198 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11199 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11200 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11201 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11202 (STRCPY): Support SSE2 and SSSE3 versions.
11203
d5495a11
UD
112042011-06-24 Ulrich Drepper <drepper@gmail.com>
11205
11206 [BZ #12874]
11207 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11208 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11209 kernels which artificially limit size of requests.
11210
0b1cbaae
L
112112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11212
11213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11214 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11215 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11216 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11217 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11218 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11219 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11220 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11221 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11222 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11223 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11224 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11225 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11226 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11227 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11229 Enable unaligned load optimization for Intel Core i3, i5 and i7
11230 processors.
11231 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11232 Define.
11233 (index_Fast_Unaligned_Load): Define.
11234 (HAS_FAST_UNALIGNED_LOAD): Define.
11235
07f494a0
MP
112362011-06-23 Marek Polacek <mpolacek@redhat.com>
11237
11238 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11239
fa3fc0fe
UD
112402011-06-22 Ulrich Drepper <drepper@gmail.com>
11241
11242 [BZ #12907]
11243 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11244 until it is clear that the information is realy needed.
11245 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11246
e12df166
AS
112472011-06-22 Andreas Schwab <schwab@redhat.com>
11248
11249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11250
852eb34d
UD
112512011-06-22 Ulrich Drepper <drepper@gmail.com>
11252
84e2a551
UD
11253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11254 /sys/devices/system/cpu/online if it is usable.
11255
852eb34d
UD
11256 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11257 reading the information from the /proc filesystem to once a second.
11258
6e502e19
UD
112592011-06-21 Andreas Jaeger <aj@suse.de>
11260
11261 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11262 NULL after inclusion of kernel headers.
11263
75d39ff2
UD
112642011-06-21 Ulrich Drepper <drepper@gmail.com>
11265
51f9aa6a
UD
11266 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11267 calls to internal_setent.
11268
c0244a9d
UD
11269 [BZ #12885]
11270 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11271 addresses using gethostbyname4_r ignore IPv4 addresses.
11272
c5e3c2ae
UD
11273 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11274 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11275
75d39ff2
UD
11276 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11277
42675c6f
DM
112782011-06-20 David S. Miller <davem@davemloft.net>
11279
11280 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11281 inclusions.
11282 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11283
11284 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11285 (elf_irel): Use it.
11286 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11287 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11288 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11289 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11290 * sysdeps/x86_64/dl-irel.h: Likewise.
11291
11292 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11293 * elf/dl-sym.c: Likewise.
11294
57912a71
UD
112952011-06-15 Ulrich Drepper <drepper@gmail.com>
11296
11297 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11298 need to dereference resplen2.
11299
ee22793d
AS
113002011-06-14 Andreas Schwab <schwab@redhat.com>
11301
11302 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11303
a9e836b0
UD
113042011-06-15 Ulrich Drepper <drepper@gmail.com>
11305
77fb9117
UD
11306 * Makeconfig: Define vardbdir and inst_vardbdir.
11307 * nss/Makefile: Add rules to install db-Makefile.
11308
40c1b22c
UD
11309 * nss/nss_db/db-XXX.c: Cleanup.
11310
9f2da732
UD
11311 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11312 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11313 GLIBC_PRIVATE.
11314 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11315 * nss/makedb.c: Implement -g option to specify that value strings
11316 are generated and should not be added to table iterated over for
11317 get*ent calls.
11318 * nss/nss_db/db-initgroups.c: New file.
11319
82e9a1f7
UD
11320 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11321 interface.
11322
c41af17e
UD
11323 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11324 (internal_getgrouplist): Adjust to name change.
11325 Update use_initgroups_entry if this is not the first call.
11326 * nss/databases.def: Add initgroups entry.
11327
a9e836b0
UD
11328 * nss/makedb.c (compute_tables): Check result of multiple hash table
11329 sizes to minimize maximum chain length.
11330
2666d441
UD
113312011-06-14 Ulrich Drepper <drepper@gmail.com>
11332
11333 * Versions.def: Add entry for libnss_db.
11334 * shlib-versions: Likewise.
11335 * nss/Makefile: Add rules to build libnss_db.
11336 * nss/Versions: Add libnss_db information. Organize libnss_files
11337 entries better.
11338 * nss/db-Makefile: Add gshadow support. Change rules for the new
11339 makedb progra. Some minor improvements to generate smaller files.
11340 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11341 here from...
11342 * nss/makedb.c: ...here.
11343 Improve database format to be smaller and require less memory at
11344 runtime.
11345 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11346 db anymore.
11347 * nss/nss_db/db-netgrp.c: Likewise.
11348 * nss/nss_db/db-open.c: Likewise.
11349 * nss/nss_files/flies-XXX.x: Adjust comments.
11350 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11351 * nss/nss_files/files-grp.c: Likewise.
11352 * nss/nss_files/files-hosts.c: Likewise.
11353 * nss/nss_files/files-network.c: Likewise.
11354 * nss/nss_files/files-proto.c: Likewise.
11355 * nss/nss_files/files-pwd.c: Likewise.
11356 * nss/nss_files/files-rpc.c: Likewise.
11357 * nss/nss_files/files-service.c: Likewise.
11358 * nss/nss_files/files-sgrp.c: Likewise.
11359 * nss/nss_files/files-spwd.c: Likewise.
11360 * nss/nss_db/db-alias.c: Removed.
11361 * nss/nss_db/dummy-db.h: Removed.
11362
9ee76b5a
UD
113632011-06-02 Ulrich Drepper <drepper@gmail.com>
11364
11365 * nss/makedb.c: Rewritten to not use database library.
11366 * nss/Makefile: Update to build new makedb program.
11367
c71ca1f8
AJ
113682011-06-14 Andreas Jaeger <aj@suse.de>
11369
11370 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11371 memset declaration.
11372
3154bfb8
UD
113732011-06-10 Andreas Schwab <schwab@redhat.com>
11374
11375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11376 tmpbuf.
11377
b350afab
RM
113782011-06-10 Roland McGrath <roland@hack.frob.com>
11379
decd4e50
RM
11380 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11381 * elf/Makefile ($(objpfx)ld.so): Likewise.
11382
5615eaf2
RM
11383 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11384 Don't list ld.so twice in dependencies.
11385
11386 * posix/bug-regex31.c: Include <stdlib.h>.
11387
11388 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11389
11390 * nis/nss_compat/compat-spwd.c
11391 (getspent_next_nss_netgr): Remove unused variable.
11392 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11393
11394 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11395 nonmembers" output to use the right array.
11396
11397 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11398
11399 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11400
11401 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11402 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11403 * catgets/gencat.c (read_input_file): Likewise.
11404 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11405
11406 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11407 variable definition inside #if's controlling its use.
11408
11409 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11410
11411 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11412
11413 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11414
11415 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11416 unreachable code.
11417
11418 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11419
b68e08db
RM
11420 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11421 * configure: Regenerated.
11422
b350afab
RM
11423 * Makerules: Revert last change.
11424 * elf/Makefile: Likewise.
11425
28368601
RM
114262011-06-09 Roland McGrath <roland@hack.frob.com>
11427
11428 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11429 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11430 (reloc-link): Likewise.
11431
11988f8f
UD
114322011-06-09 Ulrich Drepper <drepper@gmail.com>
11433
11434 * elf/Makefile: Add rules to build pldd.
11435 * elf/pldd.c: New file.
11436 * elf/pldd-xx.c: New file.
11437
e80fab37
UD
114382011-06-07 Ulrich Drepper <drepper@gmail.com>
11439
11440 * version.h: Update for 2.15 development version.
11441
9b849836
DM
114422011-06-07 David S. Miller <davem@davemloft.net>
11443
11444 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11445 ifuncs.
11446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11447 elf_machine_lazy_rel): Likewise.
11448 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11450 elf_machine_lazy_rel): Likewise.
11451 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11452 dl_hwcap via passed in argument.
11453 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11454 Likewise.
11455
5a31b283
AK
114562011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11457
11458 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11459
069e52f8
RM
114602011-06-06 Roland McGrath <roland@hack.frob.com>
11461
11462 [BZ #12849]
11463 * manual/fdl-1.1.texi: New file, verbatim from:
11464 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11465 * manual/lgpl-2.1.texi: New file, verbatim from:
11466 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11467 * manual/Makefile (licenses): New variable, list those new file names.
11468 (texis): Use it.
11469 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11470
11471 * manual/fdl.texi: File removed.
11472 * manual/lesser.texi: File removed.
11473 * manual/libc.texinfo (Copying, Documentation License):
11474 Use new @include file names, put @appendix directive before @include.
11475
f16846a5
JJ
114762011-06-04 Jakub Jelinek <jakub@redhat.com>
11477
11478 [BZ #12841]
11479 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11480 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11481 (mq_open): Add __NTH.
11482
3d29045b
L
114832011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11484
11485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11486 Assume Intel Core i3/i5/i7 processor if AVX is available.
11487
8c297311
UD
114882011-05-31 Ulrich Drepper <drepper@gmail.com>
11489
11490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11491 typo.
11492
c8fc0c91
UD
114932011-05-31 Andreas Schwab <schwab@redhat.com>
11494
11495 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11496 memory. Use alloca_account. Fix memory leak when retrying.
11497
5b27a807
UD
114982011-05-31 Ulrich Drepper <drepper@gmail.com>
11499
356f8bc6
UD
11500 * version.h (RELEASE): Bump for 2.14 release.
11501 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11502
5b27a807
UD
11503 * config.make.in (RANLIB): Remove entry.
11504
01f16ab0
UD
115052011-05-30 Ulrich Drepper <drepper@gmail.com>
11506
41fce8bd
UD
11507 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11508 (libc.pot): Work around missing support for .ksh extension in xgettext.
11509
4769ae77
UD
11510 [BZ #12684]
11511 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11512 if both request failed.
11513 (send_dg): In case of server errors clear resplen or *resplen2.
11514
6b1e7d19
UD
11515 [BZ #12454]
11516 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11517 when there are multiple maps.
11518 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11519 (_dl_fini): Remove test here.
11520
01f16ab0
UD
11521 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11522
b1ebd700
UD
115232011-05-29 Ulrich Drepper <drepper@gmail.com>
11524
7ae22829
UD
11525 [BZ #12350]
11526 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11527 bit from old_res_options.
11528 (gaih_inet): Likewise.
11529
553149f6 11530 [BZ #11099]
18a84741 11531 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11532 as signed.
11533
652ffab1
UD
11534 * resolv/res_init.c (res_setoptions): Make the code more compact.
11535
16985fd0
UD
11536 [BZ #11558]
11537 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11538 set RES_USEVC.
11539
0464f746
UD
11540 [BZ #11634]
11541 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11542
7d17596c
UD
11543 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11544
cf6bbbd7
UD
11545 [BZ #11781]
11546 * malloc/malloc.h: Declare malloc hook variables as volatile.
11547
13f1ab36
UD
11548 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11549 in last patch.
11550
b1ebd700
UD
11551 [BZ #11799]
11552 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11553 raise in the comment.
80e2212d
UD
11554 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11555 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11556 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11557
ce67228d
UD
115582011-05-28 Ulrich Drepper <drepper@gmail.com>
11559
8887a920
UD
11560 [BZ #12811]
11561 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11562 grow the buffers more if it already has to be sufficient.
11563 (build_wcs_upper_buffer): Likewise.
11564 * posix/regexec.c (check_matching): Likewise.
11565 (clean_state_log_if_needed): Likewise.
11566 (extend_buffers): Don't enlarge buffers beyond size of the input
11567 buffer.
11568 Patches mostly by Emil Wojak <emil@wojak.eu>.
11569 * posix/bug-regex32.c: New file.
11570 * posix/Makefile (tests): Add bug-regex32.
11571
4f031072
UD
11572 * locale/findlocale.c (_nl_find_locale): Return right away if
11573 _nl_explode_name failed.
11574 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11575
d0478f0c
UD
11576 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11577
de81b246
UD
11578 * debug/xtrace.sh: Unify messages.
11579 * malloc/memusage.sh: Likewise.
11580
c738465a
UD
11581 [BZ #12813]
11582 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11583 time symbol from vDSO. Substitute with vsyscall if not available.
11584 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11585 __vdso_time.
11586
f1f929d7
UD
11587 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11588 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11589 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11590 Add sendmmsg and internal_sendmmsg.
11591 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11592 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11593 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11594
ce67228d
UD
11595 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11596 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11597 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11598
e57420c6
UD
115992011-05-27 Ulrich Drepper <drepper@gmail.com>
11600
a8509ca5
UD
11601 [BZ #12813]
11602 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11603 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11604 available.
11605 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11606 __vdso_getcpu.
11607
e57420c6
UD
11608 [BZ #12814]
11609 * iconvdata/Makefile (tests): Add bug-iconv9.
11610 * iconvdata/bug-iconv9.c: New file.
11611
4d07db15
AS
116122011-05-27 Andreas Schwab <schwab@redhat.com>
11613
11614 [BZ #12814]
11615 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11616
ea486f69
JJ
116172011-05-25 Jakub Jelinek <jakub@redhat.com>
11618
11619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11620 (struct user_regs_struct): Change intcs field back to cs.
11621
6f038433
UD
116222011-05-25 Ulrich Drepper <drepper@gmail.com>
11623
11624 * po/ja.po: Update from translation team.
11625
67f86a25
UD
116262011-05-23 Ulrich Drepper <drepper@gmail.com>
11627
11628 [BZ #12795]
11629 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11630 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11631
def7fbd6
AS
116322011-05-20 Andreas Schwab <schwab@redhat.com>
11633
11634 * stdlib/longlong.h: Update from GCC.
11635
f50ef8f1
AS
116362011-05-23 Andreas Schwab <schwab@redhat.com>
11637
11638 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11639 parameter name.
11640 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11641 Add parameter name.
11642 (__sysconf): Pass it down.
11643
de7ce8f1
UD
116442011-05-22 Ulrich Drepper <drepper@gmail.com>
11645
f2962a71
UD
11646 [BZ #12671]
11647 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11648 some situations.
11649 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11650 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11651 add in in __libc_use_alloca calls. Adjust callers.
11652 (glob): Use malloc in some situations.
11653
de7ce8f1
UD
11654 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11655 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11656 pltexit.
11657
aec84f53
UD
116582011-05-21 Ulrich Drepper <drepper@gmail.com>
11659
05bb4a68
UD
11660 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11661 and CLOCK_BOOTTIME_ALARM.
11662
7ea72f99
UD
11663 [BZ #12782]
11664 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11665 is returned.
11666
7e4afad5
UD
11667 * string/_strerror.c (__strerror_r): Print negative errors as signed
11668 numbers.
11669
8e211fec
UD
11670 [BZ #12777]
11671 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11672 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11673 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11674
f7d82dc9
UD
11675 * configure.in: Fix typo in redirection and correct removal of test
11676 files in two cases.
11677
cc9e536d
UD
11678 [BZ #12788]
11679 * locale/setlocale.c (new_composite_name): Fix test to check for
11680 identical name of all categories.
11681
aec84f53
UD
11682 [BZ #12792]
11683 * libio/filedoalloc.c (local_isatty): New function.
11684 (_IO_file_doallocate): Use local_isatty.
11685 * stdio-common/perror.c (perror): In case a new stream is used
11686 forward the stream error.
11687 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11688 error flag.
11689
78e64fdc
RT
116902011-05-20 Ulrich Drepper <drepper@gmail.com>
11691
34a9094f
UD
11692 [BZ #11869]
11693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11694 alloca.
11695 * include/alloca.h (extend_alloca_account): Define.
11696
78e64fdc
RT
11697 [BZ #11857]
11698 * posix/regex.h: Fix comments with documentation of user-accessible
11699 fields after compilation and describe correct free'ing of pattern
11700 after re_compile_pattern.
11701 Patch by Reuben Thomas <rrt@sc3d.org>.
11702
457bddfc
RA
117032011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11704
11705 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11706 and -mno-altivec to prevent the compiler from using Altivec and/or
11707 VSX instructions when the corresponding registers are not available.
11708
a4527b51
AS
117092011-05-19 Andreas Schwab <schwab@redhat.com>
11710
11711 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11712
ed690b2f
UD
117132011-05-19 Ulrich Drepper <drepper@gmail.com>
11714
11715 * libio/freopen.c (freopen): Use __dup2, not dup2.
11716 * libio/freopen64.c (freopen64): Likewise.
11717
8db73634
L
117182011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11719
11720 [BZ #12775]
11721 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11722 * math/Makefile (tests): Add test-powl.
11723 (CFLAGS-test-powl.c): Define.
11724 * math/test-powl.c: New file.
11725
0a197a9d
L
117262011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11727
11728 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11729
ee30c380
UD
117302011-05-17 Ulrich Drepper <drepper@gmail.com>
11731
11732 [BZ #11837]
11733 * iconvdata/gb18030.c: Update to GB18020-2005.
11734
6ce75379
UD
117352011-05-16 Ulrich Drepper <drepper@gmail.com>
11736
a4b89fd8
AR
11737 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11738 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11739 Patch by Aharon Robbins <arnold@skeeve.com>.
11740
ea389b12
UD
11741 [BZ #11892]
11742 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11743 on the stack.
11744
68a3f91f
UD
11745 [BZ #11895]
11746 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11747 through underflows.
11748
15cc7dd1
UD
11749 [BZ #12766]
11750 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11751 point to strings before performing equality test for error_one_per_line
11752 mode.
11753
f3799213
UD
11754 [BZ #11697]
11755 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11756
d79a9c94
UD
11757 [BZ #11820]
11758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11759 (struct user_fpregs_struct): Avoid __uint*_t types.
11760
56e5eb46
UD
11761 [BZ #6420]
11762 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11763 symbol info. Use it instead of calling _dl_addr locally.
11764 (lock_and_info): New function.
11765 (tr_freehook): Call lock_and_info and pass symbol info as additional
11766 parameter to tr_where.
11767 (tr_mallochook): Likewise.
11768 (tr_reallochook): Likewise.
11769 (tr_memalignhook): Likewise.
11770
6ce75379
UD
11771 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11772 used and couldn't be at all thread-safe.
11773
f8a3b5bf
UD
117742011-05-15 Ulrich Drepper <drepper@gmail.com>
11775
94b7cc37
UD
11776 * libio/freopen.c (freopen): Don't close old file descriptor
11777 before the new one is opened. Instead dup the new file descriptor
11778 to the old one after the new stream is created.
11779 * libio/freopen64.c (freopen64): Likewise.
11780 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11781 * libio/fileops.c (_IO_new_file_close_it): Handle new
11782 _IO_FLAGS2_NOCLOSE flag.
11783 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11784 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11785 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11786 _IO_FLAGS2_NOCLOSE flag.
11787 * include/unistd.h: Add hidden_proto for dup3.
11788 Define __have_dup3.
11789 * io/dup3.c: Define hidden symbol.
11790 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11791
bd25564e
UD
11792 [BZ #7101]
11793 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11794 when an incomplete long option is used.
11795 * posix/tst-getopt_long1.c: New file.
11796 * posix/Makefile (tests): Add tst-getopt_long1.
11797
c84cfef4
UD
11798 [BZ #10138]
11799 * scripts/config.guess: Update from autoconf-2.68.
11800 * scripts/config.sub: Likewise.
11801
3b85df27
UD
11802 [BZ #10157]
11803 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11804 tests into ...
11805 (has_cpuclock): ...this. New function.
11806 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11807 macro here based on has_cpuclock code.
11808
15a856b1
UD
11809 [BZ #10149]
11810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11811 First byte (not low byte) is now always NUL.
11812 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11813
05f399e6
UD
11814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11815 Use non-cancelable interfaces.
11816
10a52685 11817 [BZ #9809]
94ecc67d
UD
11818 * locale/iso-639.def: Add entry for Sorani.
11819
f8a3b5bf
UD
11820 [BZ #11901]
11821 * include/stdlib.h: Move include protection to the right place.
11822 Define abort_msg_s. Declare __abort_msg with it.
11823 * stdlib/abort.c (__abort_msg): Adjust type.
11824 * assert/assert.c (__assert_fail_base): New function. Majority
11825 of code from __assert_fail. Allocate memory for __abort_msg with
11826 mmap.
11827 (__assert_fail): Now call __assert_fail_base.
11828 * assert/assert-perr.c: Remove bulk of implementation. Use
11829 __assert_fail_base.
11830 * include/assert.hL Declare __assert_fail_base.
11831 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11832 mmap.
11833 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11834
1af4e298
UD
118352011-05-14 Ulrich Drepper <drepper@gmail.com>
11836
f8a3b5bf 11837 [BZ #11952]
d26dfc60
MG
11838 [BZ #12453]
11839 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11840 until all modules are registered in the DTV.
11841 * elf/Makefile: Add rules to build and run tst-tls19.
11842 * elf/tst-tls19.c: New file.
11843 * elf/tst-tls19mod1.c: New file.
11844 * elf/tst-tls19mod2.c: New file.
11845 * elf/tst-tls19mod3.c: New file.
11846 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11847
2fc54d6f
UD
11848 [BZ #12083]
11849 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11850 correctly.
11851
98d76b46
UD
11852 [BZ #12601]
11853 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11854 two-byte sequence errors.
11855 * iconvdata/Makefile (tests): Add bug-iconv8.
11856 * iconvdata/bug-iconv8.c: New file.
11857
da3c19ef
UD
11858 [BZ #12626]
11859 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11860 buf2 definition.
11861
ca408c15
UD
11862 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11863
d6f67f7d
UD
11864 [BZ #12432]
11865 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11866 (dummy_getcfa): New function.
11867 (init): Get _Unwind_GetCFA address, use dummy if not found.
11868 (backtrace_helper): In recursion check, also check whether CFA changes.
11869 (__backtrace): Completely initialize arg.
11870
1af4e298 11871 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11872 storing incomplete byte sequence in state object. Avoid testing for
11873 guaranteed too small input if we know there is enough data available.
1af4e298 11874
da62f81b
AS
118752011-05-11 Andreas Schwab <schwab@redhat.com>
11876
11877 * Makeconfig (+link-pie): Indent.
11878 * Rules (binaries-pie): Define if $(have-fpie) and
11879 $(build-shared).
11880 (binaries-shared): Also filter out $(binaries-pie).
11881 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11882 * nscd/Makefile (others-pie): Add nscd.
11883 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11884 ($(objpfx)nscd): Remove command override.
11885 * login/Makefile (others-pie): Add pt_chown.
11886 ($(objpfx)pt_chown): Remove command override.
11887 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11888 remove command overrides.
11889
fcabc0f8
UD
118902011-05-13 Ulrich Drepper <drepper@gmail.com>
11891
20030ae6
UD
11892 * libio/tst_putwc.c: Fix error messages.
11893
fcabc0f8
UD
11894 [BZ #12724]
11895 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11896 currently writing and seek to current position when not.
11897 * libio/Makefile (tests): Add bug-fclose1.
11898 * libio/bug-fclose1.c: New file.
11899
320a5dc0
PB
119002011-05-12 Ulrich Drepper <drepper@gmail.com>
11901
11902 [BZ #12511]
11903 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11904 don't set DF_1_NODELETE here.
11905 (do_lookup_x): When entering new entry test for copy relocation
11906 and if necessary set DF_1_NODELETE flag.
11907 * elf/tst-unique4.cc: New file.
11908 * elf/tst-unique4.h: New file.
11909 * elf/tst-unique4lib.cc: New file.
11910 * elf/Makefile: Add rules to build and run tst-unique4.
11911 Patch by Piotr Bury <pbury@goahead.com>.
11912
22836f52
UD
119132011-05-11 Ulrich Drepper <drepper@gmail.com>
11914
f574184a
UD
11915 [BZ #12052]
11916 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11917
e1fb097f
UD
11918 [BZ #12625]
11919 * misc/mntent_r.c (addmntent): Flush the stream after the output
11920
22836f52
UD
11921 [BZ #12393]
11922 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11923 (is_trusted_path_normalize): Skip initial colon. Append slash
11924 to empty buffer. Duplicate is_trusted_path code but allow
11925 constructed patch to be prefix.
11926 (is_dst): Allow $ORIGIN followed by /.
11927 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11928 Correct testing of result of is_trusted_path_normalize
11929 (decompose_rpath): Fix warning.
11930
7b3b0b2a
UD
119312011-05-10 Ulrich Drepper <drepper@gmail.com>
11932
11933 [BZ #11257]
11934 * grp/initgroups.c (internal_getgrouplist): When we found the service
11935 list through the initgroups entry in nsswitch.conf do not always
11936 continue on a successful lookup. Don't always use the
eac80ce2 11937 __nss_group_database value if it is set.
7b3b0b2a
UD
11938 * nss/nsswitch.conf (initgroups): Change action for successful db
11939 lookup to continue for compatibility.
11940
2a81eaa5
UD
119412011-05-09 Ulrich Drepper <drepper@gmail.com>
11942
be97a69e
UD
11943 [BZ #11532]
11944 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11945 and CP774 modules.
11946 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11947 and CP774 modules.
11948 * iconvdata/tst-tables.sh: Likewise.
11949 * iconvdata/cp770.c: New file.
11950 * iconvdata/cp771.c: New file.
11951 * iconvdata/cp772.c: New file.
11952 * iconvdata/cp773.c: New file.
11953 * iconvdata/cp774.c: New file.
11954 * iconvdata/testdata/CP770: New file.
11955 * iconvdata/testdata/CP770..UTF8: New file.
11956 * iconvdata/testdata/CP771: New file.
11957 * iconvdata/testdata/CP771..UTF8: New file.
11958 * iconvdata/testdata/CP772: New file.
11959 * iconvdata/testdata/CP772..UTF8: New file.
11960 * iconvdata/testdata/CP773: New file.
11961 * iconvdata/testdata/CP773..UTF8: New file.
11962 * iconvdata/testdata/CP774: New file.
11963 * iconvdata/testdata/CP774..UTF8: New file.
11964
11965 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11966 END CHARMAP line.
11967 * iconvdata/gen-8bit-gap.sh: Likewise.
11968 * iconvdata/gen-8bit.sh: Likewise.
11969
c1e9e399
UD
11970 * locale/iso-639.def: Add ary entry.
11971
24c55fb3 11972 [BZ #11258]
96b4b1b0
UD
11973 * locale/C-translit.h.in: Add U20A1 transliteration.
11974
bdc2f971
KB
11975 [BZ #12178]
11976 * locale/iso-639.def: Add wae entry.
11977 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11978
2952b117
UD
11979 [BZ #12545]
11980 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11981 for n.
11982
2a81eaa5
UD
11983 [BZ #12711]
11984 * locale/C-translit.h.in: Add entry for U20B9.
11985 Patch by pravin.d.s@gmail.com.
11986
28377d1b
UD
119872011-05-08 Ulrich Drepper <drepper@gmail.com>
11988
7fb90fb8
UD
11989 [BZ #12713]
11990 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11991 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11992 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11993 in rtld. Use *stat64.
7fb90fb8 11994 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11995 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11996 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11997 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11998 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11999 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12000 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12001 __fstatat64 macros.
7fb90fb8
UD
12002 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12003 * dirent/rewinddir.c: Add libc_hidden_def.
12004 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12005 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12006
28377d1b
UD
12007 * include/dirent.h (__alloc_dir): Add flags parameter.
12008 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12009 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12010 __alloc_dir.
12011 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12012 from fdopendir if O_CLOEXEC is already set.
12013
66bdbaa4
AM
120142011-03-15 Alan Modra <amodra@gmail.com>
12015
12016 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12017 l_tls_firstbyte_offset non-zero. Save padding offset in
12018 l_tls_firstbyte_offset for later use.
12019 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12020 freeing static tls block.
12021
95721191
JN
120222011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12023
12024 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12025 where #ifdef was intended. The intent is to prevent ARG_MAX from
12026 being defined by the kernel headers.
12027
f87dfb1f
UD
120282011-05-07 Ulrich Drepper <drepper@gmail.com>
12029
12030 [BZ #12734]
12031 * resolv/resolv.h: Define RES_NOTLDQUERY.
12032 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12033 no-tld-query and set RES_NOTLDQUERY.
12034 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12035 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12036 modern BIND to search name as TLD unless forbidden.
12037
47c3cd7a
UD
120382011-05-07 Petr Baudis <pasky@suse.cz>
12039 Ulrich Drepper <drepper@gmail.com>
12040
12041 [BZ #12393]
12042 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12043 (is_trusted_path): ...to here.
c1e9ea35 12044 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12045 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12046 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12047
8a35c912
PP
120482011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12049
12050 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12051 __BEGIN/__END_DECLS.
12052
acd41f47
UD
120532011-05-06 Ulrich Drepper <drepper@gmail.com>
12054
12055 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12056 NSS_STATUS_NOTFOUND if no record was found.
12057
597df647
AS
120582011-05-05 Andreas Schwab <schwab@redhat.com>
12059
12060 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12061 (headers-not-in-tirpc): Remove rpc/netdb.h
12062 * resolv/netdb.h: Revert last change.
12063
b9af1301
PP
120642011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12065
12066 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12067 circular dependency between libgcc.a and libc.a.
12068
4e34d5f5
AS
120692011-05-05 Andreas Schwab <schwab@redhat.com>
12070
12071 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12072 * nis/Makefile: Don't install rpcsvc/*.
12073 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12074 instead of <rpc/types.h>.
12075 (MAXHOSTNAMELEN): Define.
12076
00ee369c
AS
120772011-05-03 Andreas Schwab <schwab@redhat.com>
12078
12079 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12080
0b592a30
MB
120812011-04-28 Maciej Babinski <mbabinski@google.com>
12082
12083 [BZ #12714]
12084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12085 gethostbyname4_r when IPv6 results are possible.
12086
6e04cbbe
UD
120872011-05-02 Ulrich Drepper <drepper@gmail.com>
12088
12089 [BZ #12723]
12090 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12091 _PC_PIPE_BUF handling.
12092
e4ecafe0
BH
120932011-04-30 Bruno Haible <bruno@clisp.org>
12094
12095 [BZ #12717]
12096 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12097 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12098 to 'int'.
12099 * inet/getnameinfo.c (getnameinfo): Likewise.
12100
125ee683
UD
121012011-04-29 Ulrich Drepper <drepper@gmail.com>
12102
12103 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12104 to groups setting in database lookup.
12105 * nss/nsswitch.conf: Add initgroups entry.
12106
b722481a
EB
121072011-04-22 Ulrich Drepper <drepper@gmail.com>
12108
12109 [BZ #12685]
12110 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12111 mode string.
12112 Patch by Eric Blake <eblake@redhat.com>.
12113
4df46dbd
L
121142011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12115
12116 * sunrpc/Makefile (need-export-routines): Add svc_run.
12117 (routines): Remove svc_run.
12118 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12119 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12120 * sunrpc/svc_run.c (svc_run): Likewise.
12121 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12122
e84142d2
UD
121232011-04-21 Ulrich Drepper <drepper@gmail.com>
12124
12125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12126 problem in reallocation in last patch.
12127
877175d8
UD
121282011-04-20 Ulrich Drepper <drepper@gmail.com>
12129
12130 * sunrpc/Makefile: Move inclusion of Rules.
12131
ab8eed78
UD
121322011-04-19 Ulrich Drepper <drepper@gmail.com>
12133
12134 * nss/nss_files/files-initgroups.c: New file.
12135 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12136 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12137 _nss_files_initgroups_dyn.
12138
e3d8f584
RS
121392011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12140
12141 * elf/elf.h (R_ARM_IRELATIVE): Define.
12142
af190f45
UD
121432011-04-19 Ulrich Drepper <drepper@gmail.com>
12144
12145 * po/ru.po: Update from translation team.
12146
53cf59ef
UD
121472011-04-17 Ulrich Drepper <drepper@gmail.com>
12148
12149 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12150 dependencies.
12151
4c559bcd
MF
121522011-02-06 Mike Frysinger <vapier@gentoo.org>
12153
12154 [BZ #12653]
12155 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12156 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12157 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12158 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12159 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12160
4420675c
AS
121612011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12162
12163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12164 differing bytes.
12165 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12166 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12167 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12168
75ea32ab
UD
121692011-04-17 Ulrich Drepper <drepper@gmail.com>
12170
12171 [BZ #12420]
12172 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12173 storing it.
12174 * stdlib/bug-getcontext.c: New file.
12175 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12176
27390476
AK
121772011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12178
12179 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12180 instructions into .machine "z9-109".
12181 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12182 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12183
10442705
AK
121842011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12185
12186 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12187 between environment variables and auxiliary vector.
12188
7b57bfe5
UD
121892011-04-16 Ulrich Drepper <drepper@gmail.com>
12190
12191 * Makefile: Add rules to build linkobj/libc.so.
12192 * include/libc-symbols.h: Define libc_hidden_nolink.
12193 * include/rpc/auth.h: Mark functions which are to be hidden.
12194 * include/rpc/auth_des.h: Likewise.
12195 * include/rpc/auth_unix.h: Likewise.
12196 * include/rpc/clnt.h: Likewise.
12197 * include/rpc/des_crypt.h: Likewise.
12198 * include/rpc/key_prot.h: Likewise.
12199 * include/rpc/pmap_clnt.h: Likewise.
12200 * include/rpc/pmap_prot.h: Likewise.
12201 * include/rpc/pmap_rmt.h: Likewise.
12202 * include/rpc/rpc_msg.h: Likewise.
12203 * include/rpc/svc.h: Likewise.
12204 * include/rpc/svc_auth.h: Likewise.
12205 * include/rpc/xdr.h: Likewise.
12206 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12207 * nss/Makefile: Likewise.
12208 * sunrpc/Makefile: Don't install headers. Build library with normal
12209 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12210 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12211 for the compat linking library. Remove use of INTDEF/INTUSE.
12212 * sunrpc/auth_none.c: Likewise.
12213 * sunrpc/auth_unix.c: Likewise.
12214 * sunrpc/authdes_prot.c: Likewise.
12215 * sunrpc/authuxprot.c: Likewise.
12216 * sunrpc/clnt_gen.c: Likewise.
12217 * sunrpc/clnt_perr.c: Likewise.
12218 * sunrpc/clnt_raw.c: Likewise.
12219 * sunrpc/clnt_simp.c: Likewise.
12220 * sunrpc/clnt_tcp.c: Likewise.
12221 * sunrpc/clnt_udp.c: Likewise.
12222 * sunrpc/clnt_unix.c: Likewise.
12223 * sunrpc/des_crypt.c: Likewise.
12224 * sunrpc/des_soft.c: Likewise.
12225 * sunrpc/get_myaddr.c: Likewise.
12226 * sunrpc/key_call.c: Likewise.
12227 * sunrpc/key_prot.c: Likewise.
12228 * sunrpc/netname.c: Likewise.
12229 * sunrpc/pm_getmaps.c: Likewise.
12230 * sunrpc/pm_getport.c: Likewise.
12231 * sunrpc/pmap_clnt.c: Likewise.
12232 * sunrpc/pmap_prot.c: Likewise.
12233 * sunrpc/pmap_prot2.c: Likewise.
12234 * sunrpc/pmap_rmt.c: Likewise.
12235 * sunrpc/publickey.c: Likewise.
12236 * sunrpc/rpc_cmsg.c: Likewise.
12237 * sunrpc/rpc_common.c: Likewise.
12238 * sunrpc/rpc_dtable.c: Likewise.
12239 * sunrpc/rpc_prot.c: Likewise.
12240 * sunrpc/rpc_thread.c: Likewise.
12241 * sunrpc/rtime.c: Likewise.
12242 * sunrpc/svc.c: Likewise.
12243 * sunrpc/svc_auth.c: Likewise.
12244 * sunrpc/svc_authux.c: Likewise.
12245 * sunrpc/svc_raw.c: Likewise.
12246 * sunrpc/svc_run.c: Likewise.
12247 * sunrpc/svc_simple.c: Likewise.
12248 * sunrpc/svc_tcp.c: Likewise.
12249 * sunrpc/svc_udp.c: Likewise.
12250 * sunrpc/svc_unix.c: Likewise.
12251 * sunrpc/svcauth_des.c: Likewise.
12252 * sunrpc/xcrypt.c: Likewise.
12253 * sunrpc/xdr.c: Likewise.
12254 * sunrpc/xdr_array.c: Likewise.
12255 * sunrpc/xdr_float.c: Likewise.
12256 * sunrpc/xdr_intXX_t.c: Likewise.
12257 * sunrpc/xdr_mem.c: Likewise.
12258 * sunrpc/xdr_rec.c: Likewise.
12259 * sunrpc/xdr_ref.c: Likewise.
12260 * sunrpc/xdr_sizeof.c: Likewise.
12261 * sunrpc/xdr_stdio.c: Likewise.
12262
e6c61494
UD
122632011-04-10 Ulrich Drepper <drepper@gmail.com>
12264
12265 [BZ #12650]
12266 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12267 * sysdeps/ia64/dl-tls.h: Likewise.
12268 * sysdeps/powerpc/dl-tls.h: Likewise.
12269 * sysdeps/s390/dl-tls.h: Likewise.
12270 * sysdeps/sh/dl-tls.h: Likewise.
12271 * sysdeps/sparc/dl-tls.h: Likewise.
12272 * sysdeps/x86_64/dl-tls.h: Likewise.
12273 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12274
34fe483e
AS
122752011-03-14 Andreas Schwab <schwab@redhat.com>
12276
12277 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12278 rpath element also skip the following colon.
12279 (expand_dynamic_string_token): Add is_path parameter and pass
12280 down to DL_DST_REQUIRED and _dl_dst_substitute.
12281 (decompose_rpath): Call expand_dynamic_string_token with
12282 non-zero is_path. Ignore empty rpaths.
12283 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12284 with zero is_path.
12285
f12a32e6
AS
122862011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12287
12288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12289 Make cancelable.
12290
38a7d692
UD
122912011-04-09 Ulrich Drepper <drepper@gmail.com>
12292
12293 [BZ #12655]
12294 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12295 Patch by Filipe David Manana <fdmanana@apache.org>.
12296
e451d22b
AS
122972011-04-07 Andreas Schwab <schwab@redhat.com>
12298
12299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12300 Maintain aligned stack.
12301 (CHECK_RSP): Remove unused macro.
12302
dedc7c7b
UD
123032011-04-03 Ulrich Drepper <drepper@gmail.com>
12304
12305 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12306 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12307
94521213
UD
123082011-04-02 Ulrich Drepper <drepper@gmail.com>
12309
12310 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12311
8cb700c0 12312 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12313
0354e355
L
123142011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12315
12316 [BZ #12518]
12317 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12318 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12319 * sysdeps/x86_64/memmove.c: New file.
12320 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12321 (memcpy): Renamed to ...
12322 (__new_memcpy): This.
12323 (memcpy): Provide GLIBC_2_14 memcpy.
12324 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12325 (memcpy): Provide GLIBC_2_2_5 memcpy.
12326
8593482f
UD
123272011-04-01 Ulrich Drepper <drepper@gmail.com>
12328
12329 [BZ #12631]
12330 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12331
81a5726b
AS
123322011-03-30 Andreas Schwab <schwab@redhat.com>
12333
12334 * misc/syncfs.c: New file.
12335 * misc/Makefile (routines): Add syncfs.
12336 * posix/unistd.h: Declare syncfs.
12337 * sysdeps/unix/syscalls.list: Add syncfs.
12338
00e5419f
AS
123392011-04-01 Andreas Schwab <schwab@redhat.com>
12340
12341 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12342 open_by_handle_at.
12343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12348 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12350
748876bf
UD
123512011-04-01 Ulrich Drepper <drepper@gmail.com>
12352
658e451d
UD
12353 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12354 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12355 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12357 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12359 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12360
748876bf
UD
12361 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12362 sync_file_range.c with -fexceptions.
12363 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12364 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12365 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12366 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12367 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12368 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12370 sync_file_range as cancellation point
12371 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12372 now a wrapper around __call_sync_file_range with cancellation handling.
12373 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12374 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12375 function name to __call_sync_file_range.
12376 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12377 Add call_sync_file_range.
748876bf 12378
6e63d5e1
AS
123792011-04-01 Andreas Schwab <schwab@redhat.com>
12380
12381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12382 bits/timex.h.
6e63d5e1 12383
46998f74
UD
123842011-04-01 Ulrich Drepper <drepper@gmail.com>
12385
4c1423ed
UD
12386 * iconv/iconv.h: Fix typo in comment.
12387 * io/fcntl.h: Likewise.
12388 * libio/stdio.h: Likewise.
12389 * posix/spawn.h: Likewise.
12390 * posix/unistd.h: Likewise.
12391 * stdlib/stdlib.h: Likewise.
12392 * time/time.h: Likewise.
12393 * wcsmbs/wchar.h: Likewise.
12394
158648c0
UD
12395 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12396 open_by_handle): Add.
12397 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12398 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12399 Augment a few comments.
12400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12404 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12405 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12406 open_by_handle.
12407
46998f74
UD
12408 * io/fcntl.h (AT_EMPTY_PATH): Define.
12409
83fe108b
UD
124102011-03-30 Ulrich Drepper <drepper@gmail.com>
12411
12412 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12413 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12414 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12415 to...
12416 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12417 * Versions.def: Add GLIBC_2.14.
12418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12419 Export.
83fe108b 12420
bb242059
UD
124212011-03-22 Ulrich Drepper <drepper@gmail.com>
12422
12423 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12424 round counter.
12425 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12426
c97a1282
L
124272011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12428
12429 [BZ #12597]
12430 * string/test-strncmp.c (do_page_test): New function.
12431 (check2): Likewise.
12432 (test_main): Call check2.
12433 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12434
2a115601
UD
124352011-03-20 Ulrich Drepper <drepper@gmail.com>
12436
12437 [BZ #12587]
12438 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12439 Handle cache information in CPU leaf 4.
12440 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12441
8126d904
UD
124422011-03-18 Ulrich Drepper <drepper@gmail.com>
12443
042c49c6 12444 [BZ #12583]
8126d904
UD
12445 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12446 character representation.
12447 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12448
ccfe366e
RA
124492011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12450
12451 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12452 END(__isnan) to END(__isnanf) to match function entry point/label
12453 EALIGN(__isnanf,...).
12454
c6e13027
JJ
124552011-03-10 Jakub Jelinek <jakub@redhat.com>
12456
12457 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12458
33f85a3f
UD
124592011-03-10 Ulrich Drepper <drepper@gmail.com>
12460
028478fa
UD
12461 [BZ #12510]
12462 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12463 copy from the symbol referenced in the relocation to initialize the
12464 used variable.
12465 Patch by Piotr Bury <pbury@goahead.com>.
12466 * elf/Makefile: Add rules to build and tst-unique3.
12467 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12468 * elf/tst-unique3.cc: New file.
12469 * elf/tst-unique3.h: New file.
12470 * elf/tst-unique3lib.cc: New file.
12471 * elf/tst-unique3lib2.cc: New file.
12472
33f85a3f
UD
12473 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12474
03592fc7
MF
124752011-03-10 Mike Frysinger <vapier@gentoo.org>
12476
12477 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12478 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12479 to _start.
03592fc7 12480
6a5ee102
UD
124812011-03-06 Ulrich Drepper <drepper@gmail.com>
12482
12483 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12484 to-be-loaded object along a path to loader is ld.so.
12485
7e4ba49c
HJ
124862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12487 Ulrich Drepper <drepper@gmail.com>
12488
12489 * sysdeps/x86_64/memset.S: After aligning destination, code
12490 branches to different locations depending on the value of
12491 misalignment, when multiarch is enabled. Fix this.
12492
124932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12494
12495 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12496 Set _x86_64_preferred_memory_instruction for AMD processsors.
12497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12498 Set bit_Prefer_SSE_for_memop for AMD processors.
12499
13a804de
UD
125002011-03-04 Ulrich Drepper <drepper@gmail.com>
12501
12502 * libio/fmemopen.c (fmemopen): Optimize a bit.
12503
9d25c392
AS
125042011-03-03 Andreas Schwab <schwab@redhat.com>
12505
12506 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12507
a5543c6a
RM
125082011-03-03 Roland McGrath <roland@redhat.com>
12509
12510 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12511
012d35f7
DM
125122011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12513
7e4ba49c 12514 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12515 __bzero_ultra1 instead of __memset_ultra1.
12516
4bff6e01
AS
125172011-02-23 Andreas Schwab <schwab@redhat.com>
12518 Ulrich Drepper <drepper@gmail.com>
12519
12520 [BZ #12509]
12521 * include/link.h (struct link_map): Add l_orig_initfini.
12522 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12523 returning unsuccessfully.
12524 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12525 close of a file loaded at startup, restore the original l_initfini
12526 list.
12527 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12528 list, store the pointer.
12529 * elf/Makefile ($(objpfx)noload-mem): New rule.
12530 (noload-ENV): Define.
12531 (tests): Add $(objpfx)noload-mem.
12532 * elf/noload.c: Include <memcheck.h>.
12533 (main): Call mtrace. Close all opened handles.
12534
f2092faf
AS
125352011-02-17 Andreas Schwab <schwab@redhat.com>
12536
12537 [BZ #12454]
12538 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12539 dependencies are missing.
12540
6c8a2e88
ST
125412011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12542
f2092faf 12543 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12544 Hurd needs munmap.
12545 * sysdeps/mach/hurd/ifreq.h: New file.
12546
84a42118
PB
125472011-01-27 Petr Baudis <pasky@suse.cz>
12548 Ulrich Drepper <drepper@gmail.com>
12549
071f805e 12550 [BZ 12445]#
84a42118
PB
12551 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12552 to extend_alloca().
12553 * stdio-common/bug23.c: New file.
12554 * stdio-common/Makefile (tests): Add bug23.
12555
e23fe25b
AS
125562010-09-28 Andreas Schwab <schwab@redhat.com>
12557 Ulrich Drepper <drepper@gmail.com>
12558
12559 [BZ #12489]
12560 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12561 before performing relro protection. At old place add assertion
12562 to make sure nothing changed.
12563
d3f02e10
NS
125642011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12565 Glauber de Oliveira Costa <glommer@gmail.com>
12566
12567 * elf/elf.h: Add new ARM TLS relocs.
12568
d55fd7a5
RA
125692011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12570
12571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12572 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12573 cast from r3.
12574 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12575 'tests' variable.
12576 * sysdeps/wordsize-64/tst-writev.c: New file.
12577
2206397e
RA
125782011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12579
12580 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12581 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12582 insns in _dl_start to prevent a TOC reference before relocs are
12583 resolved.
12584
e9433893
UD
125852011-02-15 Ulrich Drepper <drepper@gmail.com>
12586
12587 [BZ #12469]
12588 * Makeconfig: Remove RANLIB definition.
12589 * Makerules: Don't use RANLIB.
12590 * aclocal.m4: Remove ranlib test.
12591 * configure.in: No need to check for ranlib.
12592 * elf/rtld-Rules: Don't use RANLIB.
12593
f75286c6
ST
125942011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12595
8e31c82d
ST
12596 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12597 protection macro.
12598 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12599 inclusion protection macro.
12600
f75286c6
ST
12601 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12602 SIGRTMIN and SIGRTMAX and print information in that case only when
12603 SIGRTMIN is defined.
12604
c1d0e639
JJ
126052011-02-11 Jakub Jelinek <jakub@redhat.com>
12606
12607 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12608 arginfo fn returning -1.
12609
12610 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12611 and thousands string is zero terminated.
12612
edf9294e
AS
126132011-02-03 Andreas Schwab <schwab@redhat.com>
12614
12615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12616 sysdeps/unix/sysv/linux/bits/socket.h.
12617
2b7e92df
ST
126182011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12619
edf9294e
AS
12620 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12621 (__CPU_COUNT): Remove old macros.
12622 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12623 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12624 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12625 (__sched_cpualloc, __sched_cpufree): Add declarations.
12626
a4c7ea7b
UD
126272011-02-05 Ulrich Drepper <drepper@gmail.com>
12628
12629 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12630 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12631 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12632 (readdhstai): Return value of addhstaiX call.
12633 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12634 (addgrbyX): Return value returned by cache_addgr.
12635 (readdgrbyname): Return value returned by addgrbyX.
12636 (readdgrbygid): Likewise.
12637 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12638 (addpwbyX): Return value returned by cache_addpw.
12639 (readdpwbyname): Return value returned by addhstbyX.
12640 (readdpwbyuid): Likewise.
12641 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12642 (addservbyX): Return value returned by cache_addserv.
12643 (readdservbyname): Return value returned by addservbyX:
12644 (readdservbyport): Likewise.
12645 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12646 (addhstbyX): Return value returned by cache_addhst.
12647 (readdhstbyname): Return value returned by addhstbyX.
12648 (readdhstbyaddr): Likewise.
12649 (readdhstbynamev6): Likewise.
12650 (readdhstbyaddrv6): Likewise.
12651 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12652 (readdinitgroups): Return value returned by addinitgroupsX.
12653 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12654 (prune_cache): Keep track of timeout value of re-added entries.
12655 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12656 * nscd/nscd.h: Adjust prototypes of readd* functions.
12657
a0bf67cc
RM
126582011-02-04 Roland McGrath <roland@redhat.com>
12659
12660 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12661 (nis_stats): Likewise.
12662 * nis/nis_modify.c (nis_modify): Likewise.
12663 * nis/nis_remove.c (nis_remove): Likewise.
12664 * nis/nis_add.c (nis_add): Likewise.
12665
12666 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12667
12668 * posix/fnmatch_loop.c: Add some consts.
12669
12670 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12671
435b95eb
L
126722011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12673
12674 [BZ #12460]
12675 * config.make.in (config-cflags-novzeroupper): Define.
12676 * configure.in: Substitute libc_cv_cc_novzeroupper.
12677 * elf/Makefile (AVX-CFLAGS): Define.
12678 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12679 (CFLAGS-tst-auditmod4a.c): Likewise.
12680 (CFLAGS-tst-auditmod4b.c): Likewise.
12681 (CFLAGS-tst-auditmod6b.c): Likewise.
12682 (CFLAGS-tst-auditmod6c.c): Likewise.
12683 (CFLAGS-tst-auditmod7b.c): Likewise.
12684 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12685
8517b15e
UD
126862011-02-02 Ulrich Drepper <drepper@gmail.com>
12687
12688 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12689 function to the callback.
12690 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12691
10a656fe
AS
126922011-02-02 Andreas Schwab <schwab@redhat.com>
12693
12694 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12695 of errno.
12696
968dad0a
UD
126972011-01-19 Ulrich Drepper <drepper@gmail.com>
12698
9f94d2ea 12699 [BZ #11724]
968dad0a
UD
12700 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12701 of constructors.
12702 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12703 of destructors.
12704 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12705
12706 [BZ #11724]
12707 * elf/Makefile: Add rules to build and run new test.
12708 * elf/tst-initorder.c: New file.
12709 * elf/tst-initorder.exp: New file.
12710 * elf/tst-initordera1.c: New file.
12711 * elf/tst-initordera2.c: New file.
12712 * elf/tst-initordera3.c: New file.
12713 * elf/tst-initordera4.c: New file.
12714 * elf/tst-initorderb1.c: New file.
12715 * elf/tst-initorderb2.c: New file.
12716 * elf/tst-order-a1.c: New file.
12717 * elf/tst-order-a2.c: New file.
12718 * elf/tst-order-a3.c: New file.
12719 * elf/tst-order-a4.c: New file.
12720 * elf/tst-order-b1.c: New file.
12721 * elf/tst-order-b2.c: New file.
12722 * elf/tst-order-main.c: New file.
12723 New test case by George Gensure <werkt0@gmail.com>.
12724
86e92359
UD
127252010-10-01 Andreas Schwab <schwab@redhat.com>
12726
12727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12728 decoding ACE if AI_CANONIDN.
12729
5d5732b0
UD
127302011-01-18 Ulrich Drepper <drepper@gmail.com>
12731
12732 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12733
a77e8cbc
UD
127342011-01-17 Ulrich Drepper <drepper@gmail.com>
12735
6392473f
UD
12736 * version.h (RELEASE): Bump for 2.13 release.
12737 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12738
620a0529
UD
12739 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12740
18ba70a5
UD
12741 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12742 MADV_NOHUGEPAGE.
32465c3e
UD
12743 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12749
c0dafcf1
UD
12750 * posix/getconf.c: Update copyright year.
12751 * catgets/gencat.c: Likewise.
12752 * csu/version.c: Likewise.
12753 * debug/catchsegv.sh: Likewise.
12754 * debug/xtrace.sh: Likewise.
12755 * elf/ldconfig.c: Likewise.
12756 * elf/ldd.bash.in: Likewise.
12757 * elf/sprof.c (print_version): Likewise.
12758 * iconv/iconv_prog.c: Likewise.
12759 * iconv/iconvconfig.c: Likewise.
12760 * locale/programs/locale.c: Likewise.
12761 * locale/programs/localedef.c: Likewise.
12762 * malloc/memusage.sh: Likewise.
12763 * malloc/mtrace.pl: Likewise.
12764 * nscd/nscd.c (print_version): Likewise.
12765 * nss/getent.c: Likewise.
12766
a77e8cbc
UD
12767 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12768 PF_CAIF, and PF_ALG.
12769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12770
77e8bddf
AS
127712011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12772
1f20b93a
AS
12773 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12774 (modules-names): Use them.
12775 (ifunc-test-modules, ifunc-pie-tests): Define.
12776 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12777 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12778 (test-extras): Likewise.
12779 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12780 $(compile-command.c).
12781 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12782 (all-built-dso): Define.
12783 (check-textrel.out, check-execstack.out): Depend on it.
12784
77e8bddf
AS
12785 * configure.in: Don't override --enable-multi-arch.
12786
bc425b33
UD
127872011-01-15 Ulrich Drepper <drepper@gmail.com>
12788
12789 [BZ #6812]
12790 * nscd/hstcache.c (tryagain): Define.
12791 (cache_addhst): Return tryagain not notfound for temporary errors.
12792 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12793 failed.
12794
794c3ad3
UD
127952011-01-14 Ulrich Drepper <drepper@gmail.com>
12796
70181fdd
UD
12797 [BZ #10563]
12798 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12799 to make the syscall.
12800 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12801
794c3ad3
UD
12802 [BZ #12378]
12803 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12804 and fall back to matching as normal character if the string ends before
12805 the matching ']' is found. This is what POSIX requires.
12806 * posix/testfnm.c: Adjust test result.
12807 * posix/globtest.sh: Adjust test result. Add new test.
12808 * posix/tst-fnmatch.input: Likewise.
12809 * posix/tst-fnmatch2.c: Add new test.
12810
68dc9497
AS
128112010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12812
12813 * elf/Makefile (check-execstack): Revert last change. Depend on
12814 check-execstack.h.
12815 (check-execstack.h): New target.
12816 (generated): Add check-execstack.h.
12817 * elf/check-execstack.c: Include "check-execstack.h".
12818 (main): Revert last change.
12819 (handle_file): Return zero if GNU_STACK is absent and
12820 DEFAULT_STACK_PERMS doesn't include PF_X.
12821
451f001b
UD
128222011-01-13 Ulrich Drepper <drepper@gmail.com>
12823
cfa28e56
UD
12824 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12825 in child fails because the descriptor is already closed.
8cf8ce17
UD
12826 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12827 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12828 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12829
1086d70d
UD
12830 [BZ #12397]
12831 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12832 syscall.
12833
451f001b
UD
12834 [BZ #10484]
12835 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12836 temporary buffer used to handle multi lookups locally.
a85b5cb4 12837 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12838
08769175
UD
128392011-01-12 Ulrich Drepper <drepper@gmail.com>
12840
12841 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12842 loader is ld.so.
12843
5e49c52e
UD
128442011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12845
12846 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12847 alignment for SSE2.
12848
60522a5f
UD
128492011-01-12 Ulrich Drepper <drepper@gmail.com>
12850
12851 [BZ #12394]
12852 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12853 characters. When rounding increased number of integer digits recompute
12854 number of groups.
12855 * stdio-common/tst-grouping.c: New file.
12856 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12857
f257bbd7
UD
128582011-01-09 Ulrich Drepper <drepper@gmail.com>
12859
12860 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12861 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12862
12863 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12864 void.
12865 * bits/select.h: Likewise.
12866
fa9c15cb
UD
128672011-01-08 Ulrich Drepper <drepper@gmail.com>
12868
12869 * po/ja.po: Update from translation team.
12870
16c2895f
DM
128712011-01-04 David S. Miller <davem@sunset.davemloft.net>
12872
12873 [BZ #11155]
12874 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12875 implementation just like for lxstat, fxstatat, et al.
12876
2543fef2
JM
128772010-12-27 Jim Meyering <meyering@redhat.com>
12878
12879 [BZ #12348]
12880 * posix/regexec.c (build_trtable): Return failure indication upon
12881 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12882
98727dbe
UD
128832010-12-25 Ulrich Drepper <drepper@gmail.com>
12884
5bd6dc5c
UD
12885 [BZ #12201]
12886 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12887 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12888 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12889 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12890
97983464
UD
12891 [BZ #12207]
12892 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12893
98727dbe
UD
12894 [BZ #12204]
12895 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12896 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12897
4a531bb0
L
128982010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12901 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12902 script has SORT_BY_INIT_PRIORITY.
12903 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12904 NO_CTORS_DTORS_SECTIONS is defined.
12905 * elf/soinit.c: Likewise.
12906 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12907 NO_CTORS_DTORS_SECTIONS is defined.
12908 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12909 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12910 * sysdeps/sh/init-first.c: Likewise.
12911 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12912
07eb4b71
UD
129132010-12-24 Ulrich Drepper <drepper@gmail.com>
12914
12915 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12916 always use the slow path.
12917
30950a5f
RA
129182010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12919
12920 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12921 similar rule which adds the sysdep directories to the header search in
12922 order to pick up the correct platform stackinfo.h.
12923 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12924 perform test if it is, otherwise return successfully without testing.
12925 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12926 DEFAULT_STACK_PERMS define in stackinfo.h.
12927 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12928 defined in stackinfo.h.
12929 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12930 DEFAULT_STACK_PERMS defined in stackinfo.h.
12931 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12932 * sysdeps/ia64/stackinfo.h: Likewise.
12933 * sysdeps/s390/stackinfo.h: Likewise.
12934 * sysdeps/sh/stackinfo.h: Likewise.
12935 * sysdeps/sparc/stackinfo.h: Likewise.
12936 * sysdeps/x86_64/stackinfo.h: Likewise.
12937 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12938 PF_X for powerpc64. Retain PF_X for powerpc32.
12939
db753e2c
UD
129402010-12-19 Ulrich Drepper <drepper@gmail.com>
12941
14b697f7
UD
12942 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12943 accurately.
db753e2c
UD
12944 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12945 GETDENTS_64BIT_ALIGNED.
12946
28300719
UD
129472010-12-14 Ulrich Drepper <dreper@gmail.com>
12948
14b697f7 12949 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12950
4f197237
AS
129512010-12-10 Andreas Schwab <schwab@redhat.com>
12952
dbb0472f
AS
12953 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12954 _GNU_SOURCE.
12955
4f197237
AS
12956 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12957 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12958 Remove __restrict.
12959 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12960 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12961
fb88ac72
UD
129622010-12-09 Ulrich Drepper <drepper@gmail.com>
12963
12964 [BZ #11655]
12965 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12966 are initialized.
12967
42acbb92
JJ
129682010-12-09 Jakub Jelinek <jakub@redhat.com>
12969
12970 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12971
c038d98d
UD
129722010-12-03 Ulrich Drepper <drepper@gmail.com>
12973
12974 * po/it.po: Update from translation team.
12975
3a4a2499
L
129762010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12977
12978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12979 unused codes.
12980
1e24cf6e
UD
129812010-11-30 Ulrich Drepper <drepper@gmail.com>
12982
12983 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12984
a7690819
AS
129852010-11-24 Andreas Schwab <schwab@redhat.com>
12986
12987 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12988 specially.
12989 (gaih_getanswer_slice): Likewise.
12990
3bf8d1b1
JJ
129912010-10-20 Jakub Jelinek <jakub@redhat.com>
12992
12993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12994
6db52fbb
PB
129952010-05-31 Petr Baudis <pasky@suse.cz>
12996
12997 [BZ #11149]
12998 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12999 silently even in the chroot mode.
13000
eaca7569
UD
130012010-11-22 Ulrich Drepper <drepper@gmail.com>
13002
13003 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13004 last patch a bit. Pretty printing
13005
3056dcdb
UD
130062010-05-31 Petr Baudis <pasky@suse.cz>
13007
13008 [BZ #10085]
13009 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13010 initialization of skip_initgroups_dyn.
13011
cf7c9078
UD
130122010-11-19 Ulrich Drepper <drepper@gmail.com>
13013
13014 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13015 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13016
a1fb5e3e
UD
130172010-11-16 Ulrich Drepper <drepper@gmail.com>
13018
13019 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13020
3540d66b
AS
130212010-11-11 Andreas Schwab <schwab@redhat.com>
13022
13023 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13024 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13025 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13026 ($(objpfx)tst-fnmatch-mem): New rule.
13027 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13028 * posix/tst-fnmatch.c (main): Call mtrace.
13029
13b69574
L
130302010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13031
13032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13033 Support Intel processor model 6 and model 0x2c.
13034
da93d214
LM
130352010-11-10 Luis Machado <luisgpm@br.ibm.com>
13036
13037 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13038 signed comparison.
13039
8ca52c6e
L
130402010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13041
13042 [BZ #12205]
13043 * string/test-strncasecmp.c (check_result): New function.
13044 (do_one_test): Use it.
13045 (check1): New function.
13046 (test_main): Use it.
13047 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13048 Support strcasecmp and strncasecmp.
13049
69da074d
UD
130502010-11-08 Ulrich Drepper <drepper@gmail.com>
13051
13052 [BZ #12194]
13053 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13054 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13055
ff02d528
L
130562010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13057
13058 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13059 IFUNC support.
13060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13061 memset-x86-64.
13062 * sysdeps/x86_64/multiarch/bzero.S: New file.
13063 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13064 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13065 * sysdeps/x86_64/multiarch/memset.S: New file.
13066 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13068 Set bit_Prefer_SSE_for_memop for Intel processors.
13069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13070 Define.
13071 (index_Prefer_SSE_for_memop): Define.
13072 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13073
344d0b54
LM
130742010-11-04 Luis Machado <luisgpm@br.ibm.com>
13075
13076 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13077 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13078
c0dde15b
UD
130792010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13080
13081 [BZ #12191]
13082 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13083 (__x86_64_raw_data_cache_size_half): Likewise.
13084 (__x86_64_raw_shared_cache_size): Likewise.
13085 (__x86_64_raw_shared_cache_size_half): Likewise.
13086
13087 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13088 (__x86_64_raw_data_cache_size_half): Likewise.
13089 (__x86_64_raw_shared_cache_size): Likewise.
13090 (__x86_64_raw_shared_cache_size_half): Likewise.
13091 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13092 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13093 and __x86_64_raw_shared_cache_size_half. Round
13094 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13095 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13096 to multiple of 256 bytes.
13097
0e516e0e
MS
130982010-11-03 Ulrich Drepper <drepper@gmail.com>
13099
13100 [BZ #12167]
13101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13102 of inacessible symlinks. Verify result of symlink before returning it.
13103 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13104 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13105
0e012e87
ER
131062010-10-28 Erich Ritz <erichritz@gmail.com>
13107
13108 * math/math.h (isinf): Fix typo in comment.
13109
de0ff7bc
UD
131102010-11-01 Ulrich Drepper <drepper@gmail.com>
13111
13112 * po/da.po: Update from translation team.
13113
fa41c84d
UD
131142010-10-26 Ulrich Drepper <drepper@gmail.com>
13115
13116 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13117 is added to the list.
13118
f0967738
AK
131192010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13120 Ulrich Drepper <drepper@gmail.com>
13121
13122 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13123 the global list here. Move code to...
13124 (_dl_add_to_namespace_list): ...here. New function.
13125 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13126 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13127 * elf/dl-load.c (lose): Don't remove the element from the list.
13128 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13129 (_dl_map_object): Likewise.
13130
131312010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13132
13133 [BZ #12159]
13134 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13135 into all bytes of SSE register.
13136 Patch by Richard Li <richardpku@gmail.com>.
13137
f0967738 131382010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13139
13140 [BZ #12140]
13141 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13142 perturbing.
13143
d0b9e94f
MB
131442010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13145
13146 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13147 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13148 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13149 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13151 submachine.
13152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13153
8e9f92e9
AS
131542010-10-22 Andreas Schwab <schwab@redhat.com>
13155
13156 * include/dlfcn.h (__RTLD_SECURE): Define.
13157 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13158 mode & __RTLD_SECURE instead.
13159 (open_path): Rename preloaded parameter to secure.
13160 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13161 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13162 * elf/dl-deps.c (openaux): Likewise.
13163 * elf/rtld.c (struct map_args): Remove is_preloaded.
13164 (map_doit): Don't use it.
13165 (dl_main): Likewise.
13166 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13167 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13168
bc96fbda
AS
131692010-09-09 Andreas Schwab <schwab@redhat.com>
13170
13171 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13172 (sysd-rules-targets): Remove duplicates.
13173 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13174 rtld-%.$o dependency.
13175
22cd1c9b
AS
131762010-10-18 Andreas Schwab <schwab@redhat.com>
13177
13178 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13179 _dl_map_object do it.
13180
18edac48
UD
131812010-10-19 Ulrich Drepper <drepper@gmail.com>
13182
13183 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13184 fast fma builtins, define the macros in the C99 standard.
13185 (FP_FAST_FMAF): Likewise.
13186 (FP_FAST_FMAL): Likewise.
13187 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13188
13189 * bits/mathdef.h: Update copyright year.
13190 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13191
d2050124
MM
131922010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13193
13194 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13195 builtins, define the macros in the C99 standard.
13196 (FP_FAST_FMAF): Likewise.
13197 (FP_FAST_FMAL): Likewise.
13198 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13199 multiply/add.
13200 (FP_FAST_FMAF): Likewise.
13201
475facd1
JJ
132022010-10-15 Jakub Jelinek <jakub@redhat.com>
13203
13204 [BZ #3268]
13205 * math/libm-test.inc (fma_test): Some new testcases.
13206 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13207 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13208 y and infinite z. Do multiplication by C already in long double.
13209 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13211 y and infinite z. Do bitwise or of inexact bit into u.d.
13212 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13213 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13214 * sysdeps/i386/fpu/s_fma.S: Removed.
13215 * sysdeps/i386/fpu/s_fmal.S: Removed.
13216
7c08a05c
JJ
132172010-10-16 Jakub Jelinek <jakub@redhat.com>
13218
13219 [BZ #3268]
13220 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13222 computation is not scheduled after fetestexcept. Fix value
13223 of minimum denormal long double.
13224
f3f7372d
JJ
132252010-10-14 Jakub Jelinek <jakub@redhat.com>
13226
13227 [BZ #3268]
13228 * math/libm-test.inc (fma_test): Add some more tests.
13229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13230 correctly.
13231
14d43591
AS
132322010-10-15 Andreas Schwab <schwab@redhat.com>
13233
13234 * scripts/data/localplt-s390-linux-gnu.data: New file.
13235 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13236
5e908464
JJ
132372010-10-13 Jakub Jelinek <jakub@redhat.com>
13238
13239 [BZ #3268]
13240 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13241 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13242 instead of dbl-64.
13243 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13244 inlines.
13245 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13247 if one of x and y is very large and the other is subnormal.
13248 * sysdeps/s390/fpu/s_fmaf.c: New file.
13249 * sysdeps/s390/fpu/s_fma.c: New file.
13250 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13251 * sysdeps/powerpc/fpu/s_fma.S: New file.
13252 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13253 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13254 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13255
132562010-10-12 Jakub Jelinek <jakub@redhat.com>
13257
13258 [BZ #3268]
13259 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13260 fma tests.
13261 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13262 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13263 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13264 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13265 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13266 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13268
b833d51f
UD
132692010-10-12 Ulrich Drepper <drepper@redhat.com>
13270
13271 [BZ #12078]
13272 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13273 * posix/bug-regex31.input: Add test case.
13274
1751705d
UD
132752010-10-11 Ulrich Drepper <drepper@gmail.com>
13276
e9b9cbf5
UD
13277 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13278 * posix/bug-regex31.input: New file.
13279
13280 [BZ #12078]
13281 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13282 (parse_sub_exp): Fix last change, use postorder.
13283
ef06edbe
UD
13284 * posix/bug-regex31.c: New file.
13285 * posix/Makefile: Add rules to build and run bug-regex31.
13286
a129c80d
UD
13287 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13288
13289 [BZ #12078]
13290 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13291
b76b818e
UD
13292 [BZ #12108]
13293 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13294 to have entries in sys_siglist.
13295
1751705d
UD
13296 [BZ #12093]
13297 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13298 be NULL.
13299
9ff8d36f
JJ
133002010-10-07 Jakub Jelinek <jakub@redhat.com>
13301
13302 [BZ #3268]
13303 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13304 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13305 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13306 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13307 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13308 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13309 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13310 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13311 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13312 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13313 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13314 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13315 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13316 * math/ftestexcept.c (fetestexcept): Likewise.
13317 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13318 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13319 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13320 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13321 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13322 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13323 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13324
af325969
UD
133252010-10-11 Ulrich Drepper <drepper@gmail.com>
13326
c579b202 13327 [BZ #12107]
af325969
UD
13328 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13329 newline.
13330
67a67b95
UD
133312010-10-06 Ulrich Drepper <drepper@gmail.com>
13332
13333 * string/bug-strstr1.c: New file.
13334 * string/Makefile: Add rules to build and run bug-strstr1.
13335
5fb308bc
EB
133362010-10-05 Eric Blake <eblake@redhat.com>
13337
13338 [BZ #12092]
13339 * string/str-two-way.h (two_way_long_needle): Always clear memory
13340 when skipping input due to the shift table.
13341
45db99c7
UD
133422010-10-03 Ulrich Drepper <drepper@gmail.com>
13343
3b111893
UD
13344 [BZ #12005]
13345 * malloc/mcheck.c: Handle large requests.
13346
45db99c7
UD
13347 [BZ #12077]
13348 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13349 for strncmp and strncasecmp.
13350 * string/stratcliff.c: Add tests for strcmp and strncmp.
13351 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13352
cf7a1eb8
NI
133532010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13354
13355 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13356 __set_fpscr.
13357
6484ba5e
AJ
133582010-09-30 Andreas Jaeger <aj@suse.de>
13359
13360 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13361 (CGROUP_SUPER_MAGIC): Define.
13362 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13363 Handle btrfs and cgroup file systems.
13364 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13365 Likewise.
13366
91c42559
LM
133672010-09-27 Luis Machado <luisgpm@br.ibm.com>
13368
13369 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13370 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13371
87a97932
AK
133722010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13373
13374 [BZ #12067]
13375 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13376 trying to locate the ELF header.
13377
c21cc9bc
AS
133782010-09-27 Andreas Schwab <schwab@redhat.com>
13379
13380 [BZ #11611]
13381 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13382 Mask out sign-bit copies when constructing f_fsid.
13383
315970f6
PB
133842010-09-24 Petr Baudis <pasky@suse.cz>
13385
13386 * debug/stack_chk_fail_local.c: Add missing licence exception.
13387 * debug/warning-nop.c: Likewise.
13388
1ac7a2c7
JM
133892010-09-15 Joseph Myers <joseph@codesourcery.com>
13390
13391 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13392 implementing getdents64 using getdents syscall, set d_type if
13393 __ASSUME_GETDENTS32_D_TYPE.
13394
56801c50
AS
133952010-09-16 Andreas Schwab <schwab@redhat.com>
13396
13397 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13398 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13399
dda51327
UD
134002010-09-21 Ulrich Drepper <drepper@redhat.com>
13401
13402 [BZ #12037]
13403 * posix/unistd.h: Undo change of feature selection for ftruncate from
13404 2010-01-11.
13405
8ffcee4a
UD
134062010-09-20 Ulrich Drepper <drepper@redhat.com>
13407
a545ecd9 13408 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13409 detection.
13410
e24f0a8b
AS
134112010-09-20 Andreas Schwab <schwab@redhat.com>
13412
13413 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13414 fanotify_mark.
13415 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13416
7291c56f
AS
134172010-09-14 Andreas Schwab <schwab@redhat.com>
13418
13419 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13420 variables after CHECK_SP call.
13421 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13422
bc5fb037
AS
134232010-09-13 Andreas Schwab <schwab@redhat.com>
13424 Ulrich Drepper <drepper@redhat.com>
13425
13426 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13427 re-relocationg ld.so.
13428 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13429 _dl_init_paths call.
13430 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13431 here anymore.
13432
e66e7419
UD
134332010-09-14 Ulrich Drepper <drepper@redhat.com>
13434
13435 * resolv/res_init.c (__res_vinit): Count the default server we added.
13436
c044aa75
CLT
134372010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13438 Ulrich Drepper <drepper@redhat.com>
13439
13440 [BZ #11968]
13441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13442 (____longjmp_chk): Use %ebx for saving value across system call.
13443 Add unwind info.
13444
32cf4069
AS
134452010-09-06 Andreas Schwab <schwab@redhat.com>
13446
13447 * manual/Makefile: Don't mix pattern rules with normal rules.
13448
817328ee
AS
134492010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13450
13451 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13452 operation.
13453 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13454 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13455 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13456 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13458 Likewise.
13459
29fddf61
UD
134602010-09-04 Ulrich Drepper <drepper@redhat.com>
13461
13462 [BZ #11979]
13463 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13464 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13465
0959ffc9
UD
134662010-09-02 Ulrich Drepper <drepper@redhat.com>
13467
13468 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13469 * sysdeps/x86_64/addmul_1.S: Likewise.
13470 * sysdeps/x86_64/lshift.S: Likewise.
13471 * sysdeps/x86_64/mul_1.S: Likewise.
13472 * sysdeps/x86_64/rshift.S: Likewise.
13473 * sysdeps/x86_64/sub_n.S: Likewise.
13474 * sysdeps/x86_64/submul_1.S: Likewise.
13475
ece29840
ST
134762010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13477
0959ffc9
UD
13478 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13479 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13480 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13481 * bits/sched.h [__need_schedparam]
ece29840 13482 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13483 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13484 (__defined_schedparam): Define to 1.
ece29840
ST
13485 (__sched_param): New structure, identical to sched_param.
13486 (__need_schedparam): Undefine.
13487
e53a31fe
MF
134882010-08-31 Mike Frysinger <vapier@gentoo.org>
13489
fdc0c10d
MF
13490 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13491 (epoll_create1): Declare.
13492
e53a31fe
MF
13493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13494
a726d796
AS
134952010-08-31 Andreas Schwab <schwab@redhat.com>
13496
13497 [BZ #7066]
13498 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13499 shifting retval into place.
13500
2f3e3dc7
UD
135012010-09-01 Ulrich Drepper <drepper@redhat.com>
13502
f2933da9
UD
13503 * nis/rpcsvc/nis.h: Update copyright notice.
13504 * nis/rpcsvc/nis.x: Likewise.
13505 * nis/rpcsvc/nis_callback.h: Likewise.
13506 * nis/rpcsvc/nis_callback.x: Likewise.
13507 * nis/rpcsvc/nis_object.x: Likewise.
13508 * nis/rpcsvc/nis_tags.h: Likewise.
13509 * nis/rpcsvc/yp.h: Likewise.
13510 * nis/rpcsvc/yp.x: Likewise.
13511 * nis/rpcsvc/ypupd.h: Likewise.
13512 * nis/yp_xdr.c: Likewise.
13513 * nis/ypupdate_xdr.c: Likewise.
13514
2f3e3dc7
UD
13515 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13516 mainly the body of pmap_getport. Add parameters to specify timeouts.
13517 (pmap_getport): Use __libc_rpc_getport.
13518 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13519 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13520 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13521
f3dcc2f9
AS
135222010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13523
13524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13525 fanotify_mark.
13526
6d34eb5b
RM
135272010-08-27 Roland McGrath <roland@redhat.com>
13528
13529 * sysdeps/i386/i686/multiarch/Makefile
13530 (CFLAGS-varshift.c): New variable.
13531
9ea3de11
UD
135322010-08-27 Ulrich Drepper <drepper@redhat.com>
13533
c96d23fc
UD
13534 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13535 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13536
9ea3de11
UD
13537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13538
13539 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13540
623aac7f
L
135412010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13542
13543 * sysdeps/x86_64/strlen.S: Unroll the loop.
13544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13545 strlen-sse2 strlen-sse2-bsf.
13546 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13547 __strlen_no_bsf if bit_Slow_BSF is set.
13548 (__strlen_sse42): Removed.
13549 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13550 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13551
8b2b7715
RM
135522010-08-25 Roland McGrath <roland@redhat.com>
13553
13554 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13555 * sysdeps/x86_64/multiarch/varshift.c: New file.
13556 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13557 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13558 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13559 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13560
e73015f2
L
135612010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13562
13563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13564 strlen-sse2 strlen-sse2-bsf.
13565 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13566 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13567 (__strlen_sse2): Removed.
13568 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13571 bit_Slow_BSF for Atom.
13572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13573 (index_Slow_BSF): Define.
13574 (HAS_SLOW_BSF): Define.
13575
df24a73e
UD
135762010-08-25 Ulrich Drepper <drepper@redhat.com>
13577
13578 [BZ #10851]
13579 * resolv/res_init.c (__res_vinit): When no server address at all
13580 is given default to loopback.
13581
f2ac4868
RM
135822010-08-24 Roland McGrath <roland@redhat.com>
13583
09055553
RM
13584 * configure.in: Remove config-name.h generation.
13585 * configure: Regenerated.
13586 * config-name.in: File removed.
13587 * scripts/config-uname.sh: New file.
13588 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13589 ($(objdir)config-name.h): New target.
13590
f2ac4868
RM
13591 * sunrpc/rpc_parse.h: Avoid nested comment.
13592
73f27d5e
RH
135932010-08-24 Richard Henderson <rth@redhat.com>
13594 Ulrich Drepper <drepper@redhat.com>
13595 H.J. Lu <hongjiu.lu@intel.com>
13596
13597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13598 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13599 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13600 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13601 _mm_alignr_epi8 with _mm_loadu_si128.
13602 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13603 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13604 (__m128i_shift_right): Removed.
13605 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13606 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13607 * sysdeps/x86_64/multiarch/varshift.h: New file.
13608 * sysdeps/x86_64/multiarch/varshift.S: New file.
13609
84b9230c
MF
136102010-08-21 Mike Frysinger <vapier@gentoo.org>
13611
13612 * configure.in: Move assembler checks to before sysdep dir checking.
13613
9bbd0ddc
PB
136142010-08-20 Petr Baudis <pasky@suse.cz>
13615
13616 * LICENSES: Sync the sunrpc license.
13617
9da4bb31
UD
136182010-08-19 Ulrich Drepper <drepper@redhat.com>
13619
a7ab6ec8
UD
13620 * sunrpc/auth_des.c: Update copyright notice once again.
13621 * sunrpc/auth_none.c: Likewise.
13622 * sunrpc/auth_unix.c: Likewise.
13623 * sunrpc/authdes_prot.c: Likewise.
13624 * sunrpc/authuxprot.c: Likewise.
13625 * sunrpc/bindrsvprt.c: Likewise.
13626 * sunrpc/clnt_gen.c: Likewise.
13627 * sunrpc/clnt_perr.c: Likewise.
13628 * sunrpc/clnt_raw.c: Likewise.
13629 * sunrpc/clnt_simp.c: Likewise.
13630 * sunrpc/clnt_tcp.c: Likewise.
13631 * sunrpc/clnt_udp.c: Likewise.
13632 * sunrpc/clnt_unix.c: Likewise.
13633 * sunrpc/des_crypt.c: Likewise.
13634 * sunrpc/des_soft.c: Likewise.
13635 * sunrpc/get_myaddr.c: Likewise.
13636 * sunrpc/getrpcport.c: Likewise.
13637 * sunrpc/key_call.c: Likewise.
13638 * sunrpc/key_prot.c: Likewise.
13639 * sunrpc/openchild.c: Likewise.
13640 * sunrpc/pm_getmaps.c: Likewise.
13641 * sunrpc/pm_getport.c: Likewise.
13642 * sunrpc/pmap_clnt.c: Likewise.
13643 * sunrpc/pmap_prot.c: Likewise.
13644 * sunrpc/pmap_prot2.c: Likewise.
13645 * sunrpc/pmap_rmt.c: Likewise.
13646 * sunrpc/rpc/auth.h: Likewise.
13647 * sunrpc/rpc/auth_unix.h: Likewise.
13648 * sunrpc/rpc/clnt.h: Likewise.
13649 * sunrpc/rpc/des_crypt.h: Likewise.
13650 * sunrpc/rpc/key_prot.h: Likewise.
13651 * sunrpc/rpc/netdb.h: Likewise.
13652 * sunrpc/rpc/pmap_clnt.h: Likewise.
13653 * sunrpc/rpc/pmap_prot.h: Likewise.
13654 * sunrpc/rpc/pmap_rmt.h: Likewise.
13655 * sunrpc/rpc/rpc.h: Likewise.
13656 * sunrpc/rpc/rpc_des.h: Likewise.
13657 * sunrpc/rpc/rpc_msg.h: Likewise.
13658 * sunrpc/rpc/svc.h: Likewise.
13659 * sunrpc/rpc/svc_auth.h: Likewise.
13660 * sunrpc/rpc/types.h: Likewise.
13661 * sunrpc/rpc/xdr.h: Likewise.
13662 * sunrpc/rpc_clntout.c: Likewise.
13663 * sunrpc/rpc_cmsg.c: Likewise.
13664 * sunrpc/rpc_common.c: Likewise.
13665 * sunrpc/rpc_cout.c: Likewise.
13666 * sunrpc/rpc_dtable.c: Likewise.
13667 * sunrpc/rpc_hout.c: Likewise.
13668 * sunrpc/rpc_main.c: Likewise.
13669 * sunrpc/rpc_parse.c: Likewise.
13670 * sunrpc/rpc_parse.h: Likewise.
13671 * sunrpc/rpc_prot.c: Likewise.
13672 * sunrpc/rpc_sample.c: Likewise.
13673 * sunrpc/rpc_scan.c: Likewise.
13674 * sunrpc/rpc_scan.h: Likewise.
13675 * sunrpc/rpc_svcout.c: Likewise.
13676 * sunrpc/rpc_tblout.c: Likewise.
13677 * sunrpc/rpc_util.c: Likewise.
13678 * sunrpc/rpc_util.h: Likewise.
13679 * sunrpc/rpcinfo.c: Likewise.
13680 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13681 * sunrpc/rpcsvc/key_prot.x: Likewise.
13682 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13683 * sunrpc/rpcsvc/mount.x: Likewise.
13684 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13685 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13686 * sunrpc/rpcsvc/rex.x: Likewise.
13687 * sunrpc/rpcsvc/rstat.x: Likewise.
13688 * sunrpc/rpcsvc/rusers.x: Likewise.
13689 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13690 * sunrpc/rpcsvc/spray.x: Likewise.
13691 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13692 * sunrpc/rtime.c: Likewise.
13693 * sunrpc/svc.c: Likewise.
13694 * sunrpc/svc_auth.c: Likewise.
13695 * sunrpc/svc_authux.c: Likewise.
13696 * sunrpc/svc_raw.c: Likewise.
13697 * sunrpc/svc_run.c: Likewise.
13698 * sunrpc/svc_simple.c: Likewise.
13699 * sunrpc/svc_tcp.c: Likewise.
13700 * sunrpc/svc_udp.c: Likewise.
13701 * sunrpc/svc_unix.c: Likewise.
13702 * sunrpc/svcauth_des.c: Likewise.
13703 * sunrpc/xcrypt.c: Likewise.
13704 * sunrpc/xdr.c: Likewise.
13705 * sunrpc/xdr_array.c: Likewise.
13706 * sunrpc/xdr_float.c: Likewise.
13707 * sunrpc/xdr_mem.c: Likewise.
13708 * sunrpc/xdr_rec.c: Likewise.
13709 * sunrpc/xdr_ref.c: Likewise.
13710 * sunrpc/xdr_sizeof.c: Likewise.
13711 * sunrpc/xdr_stdio.c: Likewise.
13712
9da4bb31
UD
13713 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13714 handling.
13715
bdaa77bc
AS
137162010-08-19 Andreas Schwab <schwab@redhat.com>
13717
13718 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13719
fe2f79db
LM
137202010-08-19 Luis Machado <luisgpm@br.ibm.com>
13721
13722 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13723 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13724 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13725 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13726 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13727 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13728 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13729 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13731 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13732 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13733 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13734 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13735 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13736
b9b42ee0
AB
137372010-07-26 Anton Blanchard <anton@samba.org>
13738
13739 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13740 * malloc/arena.c (heap_trim): Likewise.
13741
1c06ba31
UD
137422010-08-16 Ulrich Drepper <drepper@redhat.com>
13743
13744 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13745 here. Not...
13746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13747 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13748
f8392f40
L
137492010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13750
13751 * sysdeps/i386/elf/Makefile: New file.
13752
3162f12e
AS
137532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13754
13755 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13756 from fanotify_init.
13757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13759
28c90b2c
UD
137602010-08-15 Ulrich Drepper <drepper@redhat.com>
13761
13762 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13763 of strncasecmp_l.
1feccb6c 13764 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13765
ca6bb004
UD
137662010-08-14 Ulrich Drepper <drepper@redhat.com>
13767
e9f82e0d
UD
13768 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13769 strncase_l-nonascii.
13770 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13771 Add strncase_l-ssse3.
13772 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13773 * sysdeps/x86_64/strcmp.S: Likewise.
13774 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13775 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13776 * sysdeps/x86_64/strncase.S: New file.
13777 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13778 * sysdeps/x86_64/strncase_l.S: New file.
13779 * string/Makefile (strop-tests): Add strncasecmp.
13780 * string/test-strncasecmp.c: New file.
13781
13782 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13783 warning.
13784
ca6bb004
UD
13785 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13786 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13787
052fa7b3
AS
137882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13789
13790 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13791
962dba78
UD
137922010-08-12 Ulrich Drepper <drepper@redhat.com>
13793
13794 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13795 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13796 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13797
bebff237
AM
137982010-05-01 Alan Modra <amodra@gmail.com>
13799
13800 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13801 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13802 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13803 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13804 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13805 tidying. Don't tail-call __sigjmp_save for static lib.
13806 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13807 save location.
13808 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13809 (CALL_MCOUNT): Add eh info, and nop after bl.
13810 (TAIL_CALL_SYSCALL_ERROR): New macro.
13811 (PSEUDO_RET): Use it.
13812 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13813 Correct save location of integer regs and cr.
13814 (_dl_profile_resolve): Correct cr save location. Delete nops
13815 after bl when SHARED. Reduce cfi size a little by better
13816 placement of cfi directives.
13817 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13818 make a stack frame. Instead use parm save area as a temp.
13819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13820 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13822 Don't make a stack frame for parent, use parm save area.
13823 Increase child stack frame to 112 bytes. Don't save unused reg,
13824 and adjust reg usage. Set up cfi on error recovery and
13825 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13827 (__makecontext): Add dummy nop after jump to exit.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13829 Use correct parm save area and cr save, reduce stack frame.
13830 Correct cfi for possible PSEUDO_RET frame setup.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13832 Branch to local label emitted by PSEUDO_RET rather than
13833 __syscall_error.
13834
02637374
AS
138352010-08-12 Andreas Schwab <schwab@redhat.com>
13836
13837 [BZ #11904]
13838 * locale/programs/locale.c (print_assignment): New function.
13839 (show_locale_vars): Use it.
13840
c3e2f19b
UD
138412010-08-11 Ulrich Drepper <drepper@redhat.com>
13842
3cdaa6ad
UD
13843 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13844 field.
13845 (struct statfs64): Likewise.
13846 (_STATFS_F_FLAGS): Define.
13847 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13848 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13849 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13850 (ST_VALID): Define locally.
13851 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13852 __statvfs_getflags, use the provided value.
13853 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13854 __ASSUME_STATFS_F_FLAGS.
13855
754f7da3
UD
13856 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13857
10b3bedc
UD
13858 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13859 Add sys/fanotify.h.
13860 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13861 fanotify_mask for GLIBC_2.13.
13862 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13863 fanotify_init and fanotify_mark.
13864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13865 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13866
c08fb0d7
UD
13867 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13868 Add prlimit.
13869 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13870 prlimit64 for GLIBC_2.13.
13871 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13872 prlimit64.
13873 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13874 syscall.
13875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13876 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13877 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13878 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13879 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13880 add prlimit alias.
13881 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13882
15bac72b
UD
13883 [BZ #11903]
13884 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13885 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13886
c3e2f19b
UD
13887 * nss/Makefile: Add rules to build and run tst-nss-test1.
13888 * shlib-versions: Add entry for libnss_test1.
13889 * nss/nss_test1.c: New file.
13890 * nss/tst-nss-test1.c: New file.
13891
13892 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13893 (__nss_configure_lookup): Set appropriate entry in
13894 __nss_configure_lookup to true.
13895 * nss/nsswitch.h: Define enum with indeces of databases in
13896 databases and __nss_database_custom arrays. Declare
13897 __nss_database_custom.
13898 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13899 to avoid using nscd when custom rules are installed.
13900 * nss/getXXbyYY_r.c: Likewise.
13901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13902
13903 * nss/nss_files/files-parse.c: Whitespace fixes.
13904
f15ce4d8
UD
139052010-08-09 Ulrich Drepper <drepper@redhat.com>
13906
13907 [BZ #11883]
13908 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13909 * posix/fnmatch_loop.c: Likewise.
13910
d22e4cc9
AK
139112010-07-17 Andi Kleen <ak@linux.intel.com>
13912
13913 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13914 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13915 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13916 * Versions.def [GLIBC_2.13]: Add.
13917
805bc17d
UD
139182010-08-06 Ulrich Drepper <drepper@redhat.com>
13919
13920 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13921 Also fail if tpwd after pwuid call is NULL.
13922
5a42321d
ST
139232010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13924
13925 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13926 when converting to ms.
13927
fd3ebeda
ST
139282010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13929
13930 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13931 EOPNOTSUPP errors with ENOTTY.
13932 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13933 EOPNOTSUPP errors with ENOTTY.
13934
73507d3a
UD
139352010-07-31 Ulrich Drepper <drepper@redhat.com>
13936
13937 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13938 Add strcasecmp_l-ssse3.
13939 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13940 strcasecmp.
13941 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13942 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13943 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13944
fe36dd02
UD
139452010-07-30 Ulrich Drepper <drepper@redhat.com>
13946
66f6765a
UD
13947 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13948
42e08a54
UD
13949 * string/Makefile (strop-tests): Add strcasecmp.
13950 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13951 strcasecmp_l-nonascii.
13952 (gen-as-const-headers): Add locale-defines.sym.
13953 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13954 * sysdeps/x86_64/strcasecmp.S: New file.
13955 * sysdeps/x86_64/strcasecmp_l.S: New file.
13956 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13957 * sysdeps/x86_64/locale-defines.sym: New file.
13958 * string/test-strcasecmp.c: New file.
13959
fe36dd02
UD
13960 * string/test-strcasestr.c: Test both ends of the range of characters.
13961 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13962
48cbc0d6
RM
139632010-07-29 Roland McGrath <roland@redhat.com>
13964
76e6d6bc 13965 [BZ #11856]
48cbc0d6
RM
13966 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13967
880113d9
UD
139682010-07-27 Ulrich Drepper <drepper@redhat.com>
13969
13970 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13971 for ld.so.
13972
deb9cabb
AS
139732010-07-27 Andreas Schwab <schwab@redhat.com>
13974
13975 * manual/memory.texi (Malloc Tunable Parameters): Document
13976 M_PERTURB.
13977
1c7570ff
RM
139782010-07-26 Roland McGrath <roland@redhat.com>
13979
13980 [BZ #11840]
13981 * configure.in (-fgnu89-inline check): Set and substitute
13982 gnu89_inline, not libc_cv_gnu89_inline.
13983 * configure: Regenerated.
13984 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13985
24fb0f88
UD
139862010-07-26 Ulrich Drepper <drepper@redhat.com>
13987
13988 * string/test-strnlen.c: New file.
13989 * string/Makefile (strop-tests): Add strnlen.
13990 * string/tester.c (test_strnlen): Add a few more test cases.
13991 * string/tst-strlen.c: Better error reporting.
13992
13993 * sysdeps/x86_64/strnlen.S: New file.
13994
8e96b93a
UD
139952010-07-24 Ulrich Drepper <drepper@redhat.com>
13996
13997 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13998 lower-latency instructions.
13999
dbc676d4
UD
140002010-07-23 Ulrich Drepper <drepper@redhat.com>
14001
14002 * string/test-strcasestr.c: New file.
14003 * string/test-strstr.c: New file.
14004 * string/Makefile (strop-tests): Add strstr and strcasestr.
14005 * string/str-two-way.h: Don't undefine MAX.
14006 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14007
f6a31e0e
AS
140082010-07-21 Andreas Schwab <schwab@redhat.com>
14009
14010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14011 strcasestr-nonascii.
14012 (CFLAGS-strcasestr-nonascii.c): Define.
14013 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14014 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14015 Remove unused attribute.
14016
5dbc3b6c
RM
140172010-07-20 Roland McGrath <roland@redhat.com>
14018
14019 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14020 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14021 ld.so.cache was broken. With it, there is no way to disable dsocaps
14022 like LD_HWCAP_MASK can disable hwcaps.
14023
23d101d8
EPM
140242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14025
14026 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14027
cc9f2e47
UD
140282010-07-16 Ulrich Drepper <drepper@redhat.com>
14029
14030 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14031 call in strcasestr.
14032 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14033 __strcasestr_sse42_nonascii.
14034 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14035 strcasestr-nonascii.c.
14036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14037
77c1b069
LM
140382010-06-15 Luis Machado <luisgpm@br.ibm.com>
14039
14040 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14041 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14042 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14043 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14044
440566c3
UD
140452010-07-09 Ulrich Drepper <drepper@redhat.com>
14046
14047 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14048 fcntl.
14049
5be9d05d
AS
140502010-07-06 Andreas Schwab <schwab@redhat.com>
14051
c30b7ee2 14052 [BZ #11577]
5be9d05d
AS
14053 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14054 dl_signal_cerror.
14055
8a492a67
UD
140562010-07-06 Ulrich Drepper <drepper@redhat.com>
14057
14058 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14059 _PC_PIPE_BUF using F_GETPIPE_SZ.
14060
713df3d5
RM
140612010-07-05 Roland McGrath <roland@redhat.com>
14062
14063 * manual/arith.texi (Rounding Functions): Fix rint description
14064 implicit in round description.
14065
702e8f14
UD
140662010-07-02 Ulrich Drepper <drepper@redhat.com>
14067
14068 * elf/Makefile: Fix linking for a few tests to make recent linker
14069 happy.
14070
52ed8be9
AS
140712010-06-30 Andreas Schwab <schwab@redhat.com>
14072
14073 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14074 $(common-objpfx)libc_nonshared.a.
14075
f47c9a11
LM
140762010-06-21 Luis Machado <luisgpm@br.ibm.com>
14077
14078 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14079 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14080 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14081 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14082 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14083 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14084 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14085 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14100 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14101 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14102 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14103 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14104 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14105 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14106 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14107 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14108 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14109 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14110 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14111 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14126
6fb8cbcb
L
141272010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14128
14129 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14130 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14131 * string/memmove.c (memmove): Renamed to ...
14132 (MEMMOVE): ...this. Default to memmove.
14133 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14134 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14135 (END_CHK): Define.
14136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14137 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14138 mempcpy-ssse3-back memmove-ssse3-back.
14139 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14141 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14142 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14143 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14144 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14145 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14146 * sysdeps/x86_64/multiarch/memmove.c: New file.
14147 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14148 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14149 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14150 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14151 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14153 Define.
14154 (index_Fast_Copy_Backward): Define.
14155 (HAS_ARCH_FEATURE): Define.
14156 (HAS_FAST_REP_STRING): Define.
14157 (HAS_FAST_COPY_BACKWARD): Define.
14158
4e733bac 141592010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14160
14161 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14162 Restore proper fallback handling.
14163
63c4ed22
UD
141642010-06-19 Ulrich Drepper <drepper@redhat.com>
14165
ac2b484c
UD
14166 [BZ #11701]
14167 * posix/group_member.c (__group_member): Correct checking loop.
14168
63c4ed22
UD
14169 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14170 OOM in getpwuid_r correctly. Return error number when the caller
14171 should return, otherwise -1.
14172 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14173 call returning > 0 value.
14174 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14175
765ade4b
AS
141762010-06-07 Andreas Schwab <schwab@redhat.com>
14177
14178 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14179 libc_nonshared.a from targets in modules-names.
14180
80da2e09
KS
141812010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14182
14183 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14184 requires it.
14185
158db122
LM
141862010-06-10 Luis Machado <luisgpm@br.ibm.com>
14187
14188 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14189 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14192
caa78cf8
AS
141932010-06-02 Andreas Schwab <schwab@redhat.com>
14194
14195 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14196
b2ef2c01
UD
141972010-06-14 Ulrich Drepper <drepper@redhat.com>
14198
14199 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14200 and F_GETPIPE_SZ.
14201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14206 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14207
fbd643b6
RM
142082010-06-14 Roland McGrath <roland@redhat.com>
14209
14210 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14211
f32f2869
JJ
142122010-06-07 Jakub Jelinek <jakub@redhat.com>
14213
14214 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14215 __REDIRECT followed by __THROW.
14216 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14217 * posix/getopt.h (getopt): Likewise.
14218
2a50c078
EPM
142192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14220
14221 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14222 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14223 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14224 in AT_FLAGS.
14225 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14226 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14227
eb5ad2eb
LM
142282010-05-28 Luis Machado <luisgpm@br.ibm.com>
14229
14230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14231
3c88fe1e
L
142322010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14233
14234 [BZ #11640]
14235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14236 Properly check family and model.
14237
d2f73151
TY
142382010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14239
14240 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14241
ebd2e13d
LM
142422010-05-24 Luis Machado <luisgpm@br.ibm.com>
14243
14244 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14245
b32b8b45
UD
142462010-05-21 Ulrich Drepper <drepper@redhat.com>
14247
14248 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14249 symbol reference.
14250
9acbe24d
AS
142512010-05-19 Andreas Schwab <schwab@redhat.com>
14252
14253 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14254 symbol reference.
14255
f0ccf6ea
AS
142562010-05-21 Andreas Schwab <schwab@redhat.com>
14257
3d04ff3a
AS
14258 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14259 and internal_recvmmsg.
14260 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14261 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14262 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14263 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14264
f0ccf6ea
AS
14265 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14266 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14267 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14268
5b08ac57
AS
142692010-05-20 Andreas Schwab <schwab@redhat.com>
14270
14271 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14272
4828935d
LM
142732010-05-17 Luis Machado <luisgpm@br.ibm.com>
14274
14275 POWER7 optimizations.
14276 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14277 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14278
373d545e
UD
142792010-05-19 Ulrich Drepper <drepper@redhat.com>
14280
14281 * version.h: Update for 2.13 development version.
14282
21a2b1ae
AS
142832010-05-12 Andrew Stubbs <ams@codesourcery.com>
14284
14285 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14286 exceptions. Return 0.
14287
3f7dcb2b
RM
142882010-05-07 Roland McGrath <roland@redhat.com>
14289
14290 * elf/ldconfig.c (main): Add a const.
14291
5f24d53a 142922010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14293
a160f8d8
UD
14294 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14295 (args_options): Add no-idn option.
14296 (ahosts_keys_int): Add idn_flags to ai_flags.
14297 (parse_option): Handle 'i' option to clear idn_flags.
14298
5f24d53a
UD
14299 * malloc/malloc.c (_int_free): Possible race in the most recently
14300 added check. Only act on the data if no current modification
14301 happened.
265bb1ce
UD
14302
14303See ChangeLog.17 for earlier changes.