]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Log2 and log10 for wordsize-64.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9ea01d93
AZ
12012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
7 remove unused global constant.
8
02a91938
CM
92012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10
11 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12 include of <not-cancel.h>.
13
6540185f
RM
142012-05-15 Roland McGrath <roland@hack.frob.com>
15
16 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17
509072a0
AJ
182012-05-15 Jeff Law <law@redhat.com>
19 Andreas Jaeger <aj@suse.de>
20
21 [BZ #13594]
22 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23 out from...
24 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27 code changing __hst_map_handle.map.
28
ba75122d
RM
292012-05-15 Roland McGrath <roland@hack.frob.com>
30
31 * configure.in (sysnames): Look for Implies-before and Implies-after
32 files.
33 * configure: Regenerated.
34
890d8bd8
L
352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36
37 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38 8-byte data alignment with LP_SIZE alignment.
39
f6ee6623
L
402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41
42 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43 into R10_LP.
44
ea2626f6
L
452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46
47 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48
085f715e
L
492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50
51 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
53 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54 Likewise.
55 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56
be8498fc
L
572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58
59 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60 (stackinfo_sub_sp): Likewise.
61
70bc83b9
L
622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63
64 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65 RAX_LP.
66
9bc0b730
L
672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
68
69 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70 into R*_LP.
71
6d2850e7
L
722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
73
74 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
75 sizes into R*_LP.
76
3cb84561
L
772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78
79 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80
54e2ed81
L
812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82
83 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
84 into R11_LP and load __x86_64_shared_cache_size_half into
85 R8_LP.
86
8a17f349
L
872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
88
89 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
90 R8_LP.
91
777b1eea
AZ
922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
93
94 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
95 logb for POWER7.
96 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
97 logbf for POWER7.
98 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
99 logbl for POWER7.
100 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
101 powerpc32/power7/fpu/s_logb.c via #include.
102 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
103 powerpc32/power7/fpu/s_logbf.c via #include.
104 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
105 powerpc32/power7/fpu/s_logbl.c via #include.
106
d20d4ac2
JM
1072012-05-15 Joseph Myers <joseph@codesourcery.com>
108
109 * README.libm: Remove file.
110
6cdef1ab
L
1112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
112
113 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
114 count for x32. Use R*_LP and omit operand-size suffix.
115
0b254d8f
L
1162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
117
118 * shlib-versions: Move x86_64-.*-linux.* entries to ...
119 * sysdeps/x86_64/64/shlib-versions: Here. New file.
120 * sysdeps/x86_64/x32/shlib-versions: New file.
121
ceb809dc
RM
1222012-05-14 Roland McGrath <roland@hack.frob.com>
123
124 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
125 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
126 Use _dl_fatal_printf instead.
127
37f1abd4
JM
1282012-05-14 Joseph Myers <joseph@codesourcery.com>
129
130 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
131 set if not set by the user. Do not allow for being unset.
132 * sysdeps/unix/sysv/linux/configure: Regenerated.
133
11de3a33
L
1342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
135
136 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
137 the `q' suffix from lea and replace .quad with ASM_ADDR.
138
e02f153a
L
1392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
140
141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
142 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
143 instead of $17.
144 (PTR_DEMANGLE): Likewise.
145
520ae0fd
L
1462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
147
148 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
149 (LP_OP): Likewise.
150 (ASM_ADDR): Likewise.
151 (RAX_LP): Likewise.
152 (RBP_LP): Likewise.
153 (RBX_LP): Likewise.
154 (RCX_LP): Likewise.
155 (RDI_LP): Likewise.
156 (RSI_LP): Likewise.
157 (RSP_LP): Likewise.
158 (R8_LP): Likewise.
159 (R9_LP): Likewise.
160 (R10_LP): Likewise.
161 (R10_LP): Likewise.
162 (R11_LP): Likewise.
163 (R12_LP): Likewise.
164 (R13_LP): Likewise.
165 (R14_LP): Likewise.
166 (R15_LP): Likewise.
167
b985be81
L
1682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
169
170 * sysdeps/x86_64/x32/dl-machine.h: New file.
171
6a4888ff
AJ
1722012-05-14 Andreas Jaeger <aj@suse.de>
173
174 * manual/Makefile (subdir): Remove export of subdir.
175 (all): Remove target.
176 (.PHONY): Remove all from list.
177 (mkinstalldirs): Remove.
178 (.PHONY): Remove installdirs from list.
179 ($(inst_infodir)/libc.info): Use make-target-directory.
180 (installdirs): Remove.
181 (subdir_%): Remove.
182 (glibc-targets): Remove.
183 (lib): Remove.
184 (stubs): Remove.
185 ($(objpfx)stubs ../po/manual.pot): Remove.
186 ($(objpfx)stamp%): Remove.
187 (make-target-directory): Remove.
188 (subdir_install): Remove.
189 (routines): Remove.
190 (aux): Remove.
191 (sources): Remove.
192 (objects): Remove.
193 (headers): Remove.
194
195 [BZ #13750]
196 * manual/.gitignore: Remove, it's not needed anymore.
197 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
198 all files in it.
199 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
200 directory.
201 (texis): Renamed to $(objpfx)texis.
202 (texis-path): New, contains path to generated files.
203 (chapters.%): Use texis-path for complete path, add extra argument
204 libc-texinfo.sh.
205 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
206 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
207 (summary,texi, stamp-summary): Use complete path of
208 files. Generate files in build dir.
209 (dir-add.texi): Build in build dir.
210 (libm-err.texi,stamp-libm-err): Likewise.
211 (version.texi, stamp-version): Likewise.
212 (.%c.texi): Likewise.
213 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
214 (mostlyclean): Remove target.
215 (realclean): Remove target.
216 (generated): Add new variable with contents from mostlyclean and
217 realclean, remove entries duplicated in common-mostlyclean, add
218 stamp-libm-err and stamp-version.
219 (generated-dirs): Add libc directory.
220 ($(inst_infodir)/libc.info): Install files from build dir.
221
222 * manual/install.texi (Configuring and compiling): Adjust since
223 the info files are not part of the tar ball anymore.
224
7ac77294
AJ
2252012-05-14 Andreas Jaeger <aj@suse.de>
226
227 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
228 variable.
229
ffb7875d
JM
2302012-05-14 Joseph Myers <joseph@codesourcery.com>
231
232 [BZ #13717]
233 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
234 to 2.2.0 where earlier.
235 * sysdeps/unix/sysv/linux/configure: Regenerated.
236 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
237 Remove conditional code.
238 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
239 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
240 Remove conditional code.
241 [!__NR_lchown]: Likewise.
242 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
243 [__NR_lchown]: Likewise.
244 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
245 comment referencing __ASSUME_LCHOWN_SYSCALL.
246 * sysdeps/unix/sysv/linux/i386/sigaction.c
247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
249 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
250 Remove conditional code.
251 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
252 (__protocol_available): Remove #if 0 code.
253 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
254 conditional code.
255 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
256 * sysdeps/unix/sysv/linux/kernel-features.h
257 (__ASSUME_GETCWD_SYSCALL): Don't define.
258 (__ASSUME_REALTIME_SIGNALS): Likewise.
259 (__ASSUME_PREAD_SYSCALL): Likewise.
260 (__ASSUME_PWRITE_SYSCALL): Likewise.
261 (__ASSUME_POLL_SYSCALL): Likewise.
262 (__ASSUME_LCHOWN_SYSCALL): Likewise.
263 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
264 non-SPARC.
265 (__ASSUME_SIOCGIFNAME): Don't define.
266 (__ASSUME_MSG_NOSIGNAL): Likewise.
267 (__ASSUME_SENDFILE): Define unconditionally.
268 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
269 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
270 conditional code.
271 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
272 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
273 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
274 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
275 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
276 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
277 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
279 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
285 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
291 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
294 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
297 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
298 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
300 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
302 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
303 Remove conditional code.
304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
305 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
306 Remove conditional code.
307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
308 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
309 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
310 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
311 Remove conditional code.
312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
313 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
314 Remove conditional code.
315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
316 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
317 Remove conditional code.
318 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
319 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
320 Remove conditional code.
321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
322 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
323 Remove conditional code.
324 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
325 * sysdeps/unix/sysv/linux/sh/pwrite64.c
326 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
328 * sysdeps/unix/sysv/linux/sigaction.c
329 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
330 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
331 * sysdeps/unix/sysv/linux/sigpending.c
332 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
333 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
334 * sysdeps/unix/sysv/linux/sigprocmask.c
335 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
336 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
337 * sysdeps/unix/sysv/linux/sigsuspend.c
338 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
339 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
340 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
341 (__libc_missing_rt_sigs): Remove.
342 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
343 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
344 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
345 Remove conditional code.
346 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
347 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
348 return 1.
349 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
350 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
351 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
352 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
353
1bfb7291
AJ
3542012-05-14 Andreas Jaeger <aj@suse.de>
355
caae5a81
AJ
356 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
357 it's not used in glibc.
358 (__coshm1): Likewise.
359 (__acosh1p): Likewise.
360 (__sgn): Likewise.
361
1bfb7291
AJ
362 * manual/string.texi (Copying and Concatenation): Add missing
363 variable in concat example.
364 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
365
c044d724
L
3662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
367
144c5467 368 [BZ #14103]
c044d724
L
369 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
370 __builtin_clzl with __builtin_clzll.
371
2523c62b
L
3722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
373
374 [BZ #14104]
375 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
376 libc_freeres_ptr.
377
d7bb4c42
LD
3782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
379
380 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
381 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
382 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
383 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
384
9dc4e1fb
MF
3852012-05-14 Mike Frysinger <vapier@gentoo.org>
386
387 * NEWS: Update ia64 info.
388
c7df0112
AS
3892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
390
391 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
392 used as bcopy.
393
dc70356c
TS
3942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
395
396 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
397 * sysdeps/unix/syscalls.list (dup3): Likewise.
398 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
399 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
400
9fb1a21f
L
4012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
402
403 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
404 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
405
4822a2a5
L
4062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
407
408 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
409 thread pointer.
410 (TLS_IE): Use mov/add instead of movq/addq to load thread
411 pointer.
412 (TLS_GD_PREFIX): New.
413 (TLS_GD): Use it.
414
842b81d6
DM
4152012-05-11 David S. Miller <davem@davemloft.net>
416
417 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
418 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
419 (_FPU_SETCW): Likewise.
420
1cf463cd
L
4212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
422
423 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
424 is 32-byte aligned.
425
60cc4a18
AS
4262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
427
428 [BZ #11837]
429 * iconvdata/gb18030.c: Update tables.
430 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
431 characters specially.
432 (BODY for TO_LOOP): Add encoding of missing ranges.
433
febb44a4
TS
4342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
435
436 [BZ #13673]
437 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
438 * sysdeps/mach/hurd/dup3.c: Likewise.
439 * sysdeps/mach/hurd/readlinkat.c: Likewise.
440 * sysdeps/powerpc/memmove.c:: Likewise.
441
0a10fb9e
L
4422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
443
444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
445 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
446
df8a552f
L
4472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
448
449 * elf/elf.h (R_X86_64_RELATIVE64): New.
450 (R_X86_64_NUM): Updated.
451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
452 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
453 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
454 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
455 tst-quad1pie tst-quad2pie
456 (modules-names): Add tst-quadmod1 tst-quadmod2.
457 ($(objpfx)tst-quad1): New dependency.
458 ($(objpfx)tst-quad2): Likewise.
459 ($(objpfx)tst-quad1pie): Likewise.
460 ($(objpfx)tst-quad2pie): Likewise.
461 * sysdeps/x86_64/tst-quad1.c: New file.
462 * sysdeps/x86_64/tst-quad1pie.c: New file.
463 * sysdeps/x86_64/tst-quad2.c: Likewise.
464 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
465 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
466 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
467 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
468 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
469
f34d6f84
ST
4702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
471
f42d41d1
ST
472 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
473 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
474 * streams/stropts.h (t_scalar_t): Define type.
475
3c3571fc
ST
476 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
477 (_PATH_PRESERVE): Set to "/var/lib".
478 (_PATH_RWHODIR): Set to "/var/spool/rwho".
479
61f06bd3
ST
480 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
481 instead of int.
482
918d4d71
ST
483 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
484 if __dir_mkfile succeeded.
485
f34d6f84
ST
486 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
487 checking for _hurd_dtablesize. Unlock it right after having
488 finished _hurd_dtable allocation.
489
10589b4a
TS
4902012-05-10 Thomas Schwinge <thomas@schwinge.name>
491
674cdbc7
TS
492 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
493 * sysdeps/mach/hurd/configure: Regenerated.
494 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
495 special-casing to...
496 * sysdeps/gnu/configure.in: ... this new file.
497 * sysdeps/unix/sysv/linux/configure: Regenerated.
498 * sysdeps/gnu/configure: New generated file.
499
8e41b99f
TS
500 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
501 for Linux: use nsec instead of usec, as well as:
502 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
503 members of type struct timespec.
504 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
505 New macros.
506 (struct stat64): Likewise.
507 (_STATBUF_ST_NSEC): New macro.
508 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
509
10589b4a
TS
510 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
511 __strtoul_internal rather than strtoul.
512
63643c85
PT
5132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
514
515 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
516 and reject them.
517
3faebe6a
ST
5182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
519
520 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
521 which preserves existing values.
522 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
523
c6474b07
PT
5242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
525
526 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
527 TIMEOUT values. Return EINVAL for NFDS values either negative or
528 greater than FD_SETSIZE.
529
1043890b
ST
5302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
531
532 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
533 allocated, call __vm_protect to finish enabling the existing space, and
534 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
535 allocate the remainder.
536
37ed8b9b
PT
5372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
538
539 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
540 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
541
db653660
ST
5422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
543
37ed8b9b
PT
544 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
545 sysdeps/mach/hurd/readlink.c.
b29d4053 546
db653660
ST
547 * posix/tst-sysconf.c (posix_options): Only use
548 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
549 _POSIX_SYNCHRONIZED_IO when they are defined
550 * sysdeps/mach/hurd/bits/posix_opt.h:
551 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
552 (_XOPEN_REALTIME): Undefine macro.
553 (_XOPEN_REALTIME_THREADS): Undefine macro.
554 (_XOPEN_SHM): Undefine macro.
555 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
556 macro to -1.
557 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
558 macro to -1.
559 (_POSIX_ASYNC_IO): Undefine macro.
560 (_POSIX_PRIORITIZED_IO): Undefine macro.
561 (_POSIX_SPIN_LOCKS): Define macro to -1.
562
ee16e894
ST
563 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
564 SA_NODEFER, SA_RESETHAND.
565 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
566 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
567 F_DUPFD_CLOEXEC.
568
6103ae3b
TS
5692012-05-10 Thomas Schwinge <thomas@schwinge.name>
570
571 * elf/Makefile (pldd-modules): Define unconditionally.
572
80b4e5f3
TS
5732012-05-10 Thomas Schwinge <thomas@schwinge.name>
574
575 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
576
edadcbd6
ST
5772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
578
579 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
580 Return ENOENT when name is empty.
581 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
582
80694780
TS
5832012-05-10 Thomas Schwinge <thomas@schwinge.name>
584
1792c087
TS
585 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
586
80694780
TS
587 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
588
6b645f0d
ST
5892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
590
80694780
TS
591 Fix mlock in all cases except non-readable pages.
592 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
593 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 594
6b645f0d
ST
595 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
596 (__mkdir): When path is `/', just fail with EEXIST.
597 * sysdeps/mach/hurd/mkdirat.c: Likewise.
598
e468f8a3
TS
5992012-05-10 Thomas Schwinge <thomas@schwinge.name>
600
601 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
602 <sys/uio.h> (for writev).
603 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
604 and <sys/param.h> (for MIN).
605
a4186cff
PT
6062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
607
608 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
609 REQUESTED_TIME. Properly set the remaining time and return EINTR
610 if interrupted.
611
510bbf14
TS
6122012-05-10 Thomas Schwinge <thomas@schwinge.name>
613
614 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
615 Depend on against $(link-rpcuserlibs).
616
5d5722e8
ST
6172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
618
a4186cff
PT
619 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
620 (__libc_stack_end): Do not use attribute_relro.
621 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
622 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 623 to libthread-provided value.
a4186cff
PT
624 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
625 attribute_relro.
5d5722e8 626
37233df9
TS
6272012-05-10 Thomas Schwinge <thomas@schwinge.name>
628
be971a2b
TS
629 [BZ #3748]
630 * bits/libc-lock.h (__libc_once_get): New macro.
631 * sysdeps/mach/bits/libc-lock.h: Likewise.
632 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
633 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
634 instead of using implementation details.
635
37233df9
TS
636 * libio/fileops.c: Unconditionally include <kernel-features.h>.
637 * libio/freopen.c: Likewise.
638 * libio/freopen64.c: Likewise.
639 * misc/syslog.c: Likewise.
640 * nscd/connections.c: Likewise.
641 * nscd/netgroupcache.c: Likewise.
642 * sysdeps/posix/getcwd.c: Likewise.
643
38de94a5
RM
6442012-05-10 Roland McGrath <roland@hack.frob.com>
645
646 * math/w_ilogbf.c: Add #include <limits.h>.
647
67530489
ST
6482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
649
a4186cff 650 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
651 path instead of returning without unlocking.
652
67530489
ST
653 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
654 immediate-write ioctls.
655 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
656
5aa3a74a
TS
6572012-05-10 Thomas Schwinge <thomas@schwinge.name>
658
18bad2ae
TS
659 * sysdeps/mach/hurd/i386/init-first.c (init): Use
660 __builtin_frame_address instead of making assumptions about the
661 location of the return address relative to DATA. Force early load of
662 the return address.
663 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
664 __builtin_frame_address.
665
5aa3a74a
TS
666 dup3 for GNU Hurd.
667 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
668 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
669 implement dup3 and do some further code clean-ups.
670 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
671 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
672
ecd0de9a
ST
6732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
674
cd9fa985
ST
675 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
676
a4186cff
PT
677 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
678 HURD_CRITICAL_END around holding _hurd_dtable_lock.
679 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
680 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
681 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
682 d->port.lock.
802ca5a5 683
a4186cff
PT
684 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
685 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
686 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 687
bcf55240
TS
6882012-05-10 Thomas Schwinge <thomas@schwinge.name>
689
6960eb42
TS
690 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
691 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
692 definitions.
693
eb43375f
TS
694 accept4 for GNU Hurd.
695 * include/sys/socket.h (__libc_accept4): New prototype.
696 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
697 to implement __libc_accept4.
698 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
699 __libc_accept4.
700 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
701
bcf55240
TS
702 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
703 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
704 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
705 signal-defines.sym.
706
6178c55b
ST
7072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
708
a4186cff 709 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 710
6f080c2f
TS
7112012-05-10 Thomas Schwinge <thomas@schwinge.name>
712
713 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
714 assertion on O_CLOEXEC flag.
715 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
716 * hurd/intern-fd.c: Likewise.
717 * hurd/port2fd.c: Likewise.
718
bcfe3a54
ST
7192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
720
721 [BZ #3906]
722 * bits/in.h (IPV6_PKTINFO): Define new macro.
723 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
724
89c9aa49
AZ
7252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726
727 [BZ #13954]
728 [BZ #13955]
729 [BZ #13956]
730 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
731 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
732 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
733 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
734 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
735 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
736 * math/libm-test.inc (logb_test) : Additional logb tests.
737
021db4be
AJ
7382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
739 Andreas Jaeger <aj@suse.de>
740
741 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
742 * configure: Regenerated.
743 * config.h.in (LINK_OBSOLETE_RPC): New macro.
744 * config.make.in (link-obsolete-rpc): New substituted variable.
745 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
746 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
747 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
748 (shared-only-routines): Don't set it under [link-obsolete-rpc],
749 so that libc.a contains the symbols.
750 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
751 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
752 * sunrpc/auth_none.c: Likewise.
753 * sunrpc/auth_unix.c: Likewise.
754 * sunrpc/authdes_prot.c: Likewise.
755 * sunrpc/authuxprot.c: Likewise.
756 * sunrpc/clnt_gen.c: Likewise.
757 * sunrpc/clnt_perr.c: Likewise.
758 * sunrpc/clnt_raw.c: Likewise.
759 * sunrpc/clnt_simp.c: Likewise.
760 * sunrpc/clnt_tcp.c: Likewise.
761 * sunrpc/clnt_udp.c: Likewise.
762 * sunrpc/clnt_unix.c: Likewise.
763 * sunrpc/des_crypt.c: Likewise.
764 * sunrpc/des_soft.c: Likewise.
765 * sunrpc/get_myaddr.c: Likewise.
766 * sunrpc/key_call.c: Likewise.
767 * sunrpc/key_prot.c: Likewise.
768 * sunrpc/netname.c: Likewise.
769 * sunrpc/pm_getmaps.c: Likewise.
770 * sunrpc/pm_getport.c: Likewise.
771 * sunrpc/pmap_clnt.c: Likewise.
772 * sunrpc/pmap_prot.c: Likewise.
773 * sunrpc/pmap_prot2.c: Likewise.
774 * sunrpc/pmap_rmt.c: Likewise.
775 * sunrpc/publickey.c: Likewise.
776 * sunrpc/rpc_cmsg.c: Likewise.
777 * sunrpc/rpc_common.c: Likewise.
778 * sunrpc/rpc_dtable.c: Likewise.
779 * sunrpc/rpc_prot.c: Likewise.
780 * sunrpc/rpc_thread.c: Likewise.
781 * sunrpc/rtime.c: Likewise.
782 * sunrpc/svc.c: Likewise.
783 * sunrpc/svc_auth.c: Likewise.
784 * sunrpc/svc_raw.c: Likewise.
785 * sunrpc/svc_run.c: Likewise.
786 * sunrpc/svc_tcp.c: Likewise.
787 * sunrpc/svc_udp.c: Likewise.
788 * sunrpc/svc_unix.c: Likewise.
789 * sunrpc/svcauth_des.c: Likewise.
790 * sunrpc/xcrypt.c: Likewise.
791 * sunrpc/xdr.c: Likewise.
792 * sunrpc/xdr_array.c: Likewise.
793 * sunrpc/xdr_float.c: Likewise.
794 * sunrpc/xdr_intXX_t.c: Likewise.
795 * sunrpc/xdr_mem.c: Likewise.
796 * sunrpc/xdr_rec.c: Likewise.
797 * sunrpc/xdr_ref.c: Likewise.
798 * sunrpc/xdr_sizeof.c: Likewise.
799 * sunrpc/xdr_stdio.c: Likewise.
800
b5c086a2
RM
8012012-05-10 Roland McGrath <roland@hack.frob.com>
802
803 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
804 change. Update copyright years.
805
6d74dd09
JM
8062012-05-10 Joseph Myers <joseph@codesourcery.com>
807
808 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
809
28e72501
MK
8102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
811 Joseph Myers <joseph@codesourcery.com>
812 Paul Pluzhnikov <ppluzhnikov@google.com>
813
814 [BZ #14012]
815 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
816 requiring rpcgen.
817 [cross-compiling] (extra-libs): Likewise.
818 [cross-compiling] (extra-libs-others): Likewise.
819 [cross-compiling] (librpcsvc-routines): Likewise.
820 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
821 [cross-compiling] (omit-deps): Likewise.
822 (sunrpc-CPPFLAGS): New variable.
823 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
824 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
825 (cross-rpcgen-objs): New variable.
826 (extra-objs): Append $(cross-rpcgen-objs).
827 ($(cross-rpcgen-objs)): New rule.
828 ($(objpfx)cross-rpcgen): Likewise.
829 (rpcgen-cmd): Define to use $(built-program-file). Expand
830 comment.
831 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
832 ($(objpfx)x%.stmp): Likewise.
833 * sunrpc/proto.h [IS_IN_build] (_): Define.
834 [IS_IN_build] (_libc_intl_domainname): Likewise.
835
c8c59454
L
8362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
837
838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
839 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
840 and R_X86_64_TPOFF64.
841
6f27cd16
JM
8422012-05-10 Joseph Myers <joseph@codesourcery.com>
843
844 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
845 sysdeps/unix/sysv/syscalls.list.
846 (stime): Likewise.
847 (utime): Likewise.
848 * sysdeps/unix/sysv/syscalls.list: Remove file.
849
02467e1c
PE
8502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
851
852 [BZ #3440]
853 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
854 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
855 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
856 (__LC_IDENTIFICATION): Make these macros useful in #if
857 expressions, as required by C99.
858
da392631
AS
8592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
860
861 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
862 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
863 after this.
864
8115f29b
L
8652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
866
867 * stdlib/longlong.h: Updated from GCC.
868
bdd74070
AJ
8692012-05-09 Andreas Jaeger <aj@suse.de>
870
edfe0dbe
AJ
871 * nscd/nscd.c (run_modes): Make named enum, reorder so that
872 default is first entry.
873 (run_mode): Set type.
874 (main): Remove informal message about syslog.
875 (options): Fix typo.
876
bcfe3a54
ST
877 [BZ #14053]
878 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 879 to asm.
bcfe3a54
ST
880 (lrint): Likewise.
881 (llrintf): Likewise.
882 (llrint): Likewise.
883 (rint): Likewise.
884 (rintf): Likewise.
885 (nearbyint): Likewise.
886 (nearbyintf): Likewise.
bdd74070 887
91d8d69e
AJ
8882012-05-09 Andreas Jaeger <aj@suse.de>
889 Pedro Alves <palves@redhat.com>
890
891 * nscd/nscd.c (run_mode): Use enum.
892 (main): Cleanup coding style issue.
893
bb90b80b
AJ
8942012-05-09 Alexandre Oliva <aoliva@redhat.com>
895 Andreas Jaeger <aj@suse.de>
896
bcfe3a54
ST
897 * nscd/nscd.c (go_background): Replaced with...
898 (run_mode): ... this.
bb90b80b 899 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
900 (options): Add -F --foreground.
901 (main): Implement it.
902 (parse_opt): Parse it.
bb90b80b 903
1a4b75a1
AJ
9042012-05-09 Andreas Jaeger <aj@suse.de>
905
906 [BZ #14083]
907 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
908 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
909 -Wconversion warning.
910 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
911 Likewise.
912
b1cc2472
JM
9132012-05-09 Joseph Myers <joseph@codesourcery.com>
914
915 * conform/data/locale.h-data (NULL): Use macro-constant. Require
916 == 0.
917 (LC_ALL): Use macro-int-constant.
918 (LC_COLLATE): Likewise.
919 (LC_CTYPE): Likewise.
920 (LC_MESSAGES): Likewise.
921 (LC_MONETARY): Likewise.
922 (LC_NUMERIC): Likewise.
923 (LC_TIME): Likewise.
924 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
925 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
926 [ISO || ISO99 || ISO11] (*_t): Do not allow.
927 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
928 Specify type.
929 [C99-based standards] (float_t): Expect type.
930 [C99-based standards] (double_t): Expect type.
931 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
932 type.
933 [C99-based standards] (HUGE_VALL): Likewise.
934 [C99-based standards] (INFINITY): Likewise.
935 [C99-based standards] (NAN): Likewise.
936 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
937 [C99-based standards] (FP_NAN): Likewise.
938 [C99-based standards] (FP_NORMAL): Likewise.
939 [C99-based standards] (FP_SUBNORMAL): Likewise.
940 [C99-based standards] (FP_ZERO): Likewise.
941 [C99-based standards] (FP_FAST_FMA): Use
942 optional-macro-int-constant. Specify type. Require == 1.
943 [C99-based standards] (FP_FAST_FMAF): Likewise.
944 [C99-based standards] (FP_FAST_FMAL): Likewise.
945 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
946 [C99-based standards] (FP_ILOGBNAN): Likewise.
947 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
948 Specify type.
949 [C99-based standards] (MATH_ERREXCEPT): Likewise.
950 [C99-based standards] (math_errhandling): Specify type.
951 [ISO99 || ISO11] (signgam): Do not allow.
952 [non-C99-based standards] (copysignf): Do not allow.
953 [non-C99-based standards] (exp2f): Likewise.
954 [non-C99-based standards] (log2f): Likewise.
955 [non-C99-based standards] (modff): Allow.
956 [non-C99-based standards] (erff): Do not allow.
957 [non-C99-based standards] (erfcf): Likewise.
958 [non-C99-based standards] (gammaf): Likewise.
959 [non-C99-based standards] (hypotf): Likewise.
960 [non-C99-based standards] (j0f): Likewise.
961 [non-C99-based standards] (j1f): Likewise.
962 [non-C99-based standards] (jnf): Likewise.
963 [non-C99-based standards] (lgammaf): Likewise.
964 [non-C99-based standards] (tgammaf): Likewise.
965 [non-C99-based standards] (y0f): Likewise.
966 [non-C99-based standards] (y1f): Likewise.
967 [non-C99-based standards] (ynf): Likewise.
968 [non-C99-based standards] (isnanf): Likewise.
969 [non-C99-based standards] (acoshf): Likewise.
970 [non-C99-based standards] (asinhf): Likewise.
971 [non-C99-based standards] (atanhf): Likewise.
972 [non-C99-based standards] (cbrtf): Likewise.
973 [non-C99-based standards] (expm1f): Likewise.
974 [non-C99-based standards] (ilogbf): Likewise.
975 [non-C99-based standards] (log1pf): Likewise.
976 [non-C99-based standards] (logbf): Likewise.
977 [non-C99-based standards] (nextafterf): Likewise.
978 [non-C99-based standards] (remainderf): Likewise.
979 [non-C99-based standards] (rintf): Likewise.
980 [non-C99-based standards] (scalbf): Likewise.
981 [non-C99-based standards] (copysignl): Likewise.
982 [non-C99-based standards] (exp2l): Likewise.
983 [non-C99-based standards] (log2l): Likewise.
984 [non-C99-based standards] (modfl): Allow.
985 [non-C99-based standards] (erfl): Do not allow.
986 [non-C99-based standards] (erfcl): Likewise.
987 [non-C99-based standards] (gammal): Likewise.
988 [non-C99-based standards] (hypotl): Likewise.
989 [non-C99-based standards] (j0l): Likewise.
990 [non-C99-based standards] (j1l): Likewise.
991 [non-C99-based standards] (jnl): Likewise.
992 [non-C99-based standards] (lgammal): Likewise.
993 [non-C99-based standards] (tgammal): Likewise.
994 [non-C99-based standards] (y0l): Likewise.
995 [non-C99-based standards] (y1l): Likewise.
996 [non-C99-based standards] (ynl): Likewise.
997 [non-C99-based standards] (isnanl): Likewise.
998 [non-C99-based standards] (acoshl): Likewise.
999 [non-C99-based standards] (asinhl): Likewise.
1000 [non-C99-based standards] (atanhl): Likewise.
1001 [non-C99-based standards] (cbrtl): Likewise.
1002 [non-C99-based standards] (expm1l): Likewise.
1003 [non-C99-based standards] (ilogbl): Likewise.
1004 [non-C99-based standards] (log1pl): Likewise.
1005 [non-C99-based standards] (logbl): Likewise.
1006 [non-C99-based standards] (nextafterl): Likewise.
1007 [non-C99-based standards] (remainderl): Likewise.
1008 [non-C99-based standards] (rintl): Likewise.
1009 [non-C99-based standards] (scalbl): Likewise.
1010 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1011 [non-C99-based standards] (FP_*): Do not allow.
1012 [C99-based standards] (FP_*): Change to
1013 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1014 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1015 allow.
1016 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1017 (SIG_ERR): Likewise.
1018 [X/Open-based standards] (SIG_HOLD): Likewise.
1019 (SIG_IGN): Likewise.
1020 (SIGABRT): Use macro-int-constant. Specify type. Require
1021 positive value.
1022 (SIGFPE): Likewise.
1023 (SIGILL): Likewise.
1024 (SIGINT): Likewise.
1025 (SIGSEGV): Likewise.
1026 (SIGTER): Likewise.
1027 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1028 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1029 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1030 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1031 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1032 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1033 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1034 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1035 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1036 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1037 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1038 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1039 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1040 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1041 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1042 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1043 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1044 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1045 [X/Open-based standards] (SIGTRAP): Likewise.
1046 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1047 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1048 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1049 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1050 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1051 allow.
1052
b9f1922d
IW
10532012-05-08 Ian Wienand <ianw@vmware.com>
1054
1055 [BZ #14080]
1056 * time/tzset.c (__tzset_parse_tz): Update default rules for
1057 daylight time changes in the Energy Policy Act of 2005.
1058
1db86e88
AJ
10592012-05-09 Andreas Jaeger <aj@suse.de>
1060
1061 [BZ #13983]
1062 * elf/ldconfig.c (parse_conf): Change string to make clear that
1063 ldconfig only issued a warning if ld.so.conf does not exist.
1064
dee4a4e3
DM
10652012-05-08 David S. Miller <davem@davemloft.net>
1066
ee0db190
DM
1067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1068 movxtod instead of popping the value on the stack.
1069
dee4a4e3
DM
1070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1071
6a43ec98
CD
10722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1073
1074 * config.h.in: Add HAVE_ARM_PCS_VFP.
1075
05c2c961
RMG
10762012-05-08 Roland Mc Grath <roland@hack.frob.com>
1077
bcfe3a54
ST
1078 [BZ #13979]
1079 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1080 checking but the checks are disabled for any reason.
05c2c961 1081
4b30f61a
L
10822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1085 and ELF64_R_TYPE with ELFW(R_TYPE).
1086
eee2bc67
JM
10872012-05-08 Joseph Myers <joseph@codesourcery.com>
1088
7ea5391a
JM
1089 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1090 (ulimit): Likewise.
1091
eee2bc67
JM
1092 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1093 (settimeofday): Likewise.
1094
abb66a67
MF
10952012-05-08 Mike Frysinger <vapier@gentoo.org>
1096
1097 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1098 a struct th_u2 inside the union, and move tu_block/tu_code into
1099 a new th_u3 union of tu_block/tu_code inside of that. Move
1100 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1101 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1102 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1103 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1104 (th_stuff): Change to th_u1.tu_stuff.
1105 (th_data): Define.
1106 (th_msg): Change to th_u1.th_u2.tu_data.
1107
7f18b530
DM
11082012-05-07 David S. Miller <davem@davemloft.net>
1109
05760585
DM
1110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1111
7f18b530
DM
1112 [BZ #14074]
1113 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1114 (SETUP_PIC_REG): Use it.
1115 (SETUP_PIC_REG_LEAF): Use it.
1116
495fd99f
JM
11172012-05-07 Joseph Myers <joseph@codesourcery.com>
1118
1119 [BZ #13885]
1120 [BZ #13923]
1121 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1122 USE_AS_EXPM1L.
1123 (EXPL_FINITE): Likewise.
1124 (FLDLOG): Likewise.
1125 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1126 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1127 e_expl.S.
1128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1129 USE_AS_EXPM1L.
1130 (EXPL_FINITE): Likewise.
1131 (FLDLOG): Likewise.
1132 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1133 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1134 e_expl.S.
1135 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1136 test of -max_value argument for long double.
1137 * sysdeps/i386/fpu/libm-test-ulps: Update.
1138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1139
6693d694
DM
11402012-05-06 David S. Miller <davem@davemloft.net>
1141
1142 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1143 quad soft-float symbols whose references which are compiler
1144 generated.
1145 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1146
6c23e11c
JM
11472012-05-06 Joseph Myers <joseph@codesourcery.com>
1148
d8b82cad
JM
1149 [BZ #13884]
1150 [BZ #13914]
1151 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1152 USE_AS_EXP10L.
1153 (EXPL_FINITE): Likewise.
1154 (FLDLOG): Likewise.
1155 (c0): Likewise.
1156 (c1): Likewise.
1157 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1158 Adjust comments for base varying.
1159 (__expl_finite): Change alias to EXPL_FINITE.
1160 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1161 e_expl.S.
1162 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1163 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1164 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1165 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1166 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1167 USE_AS_EXP10L.
1168 (EXPL_FINITE): Likewise.
1169 (FLDLOG): Likewise.
1170 (c0): Likewise.
1171 (c1): Likewise.
1172 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1173 Adjust comments for base varying.
1174 (__expl_finite): Change alias to EXPL_FINITE.
1175 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1176 tests for bugs.
1177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1178
6c23e11c
JM
1179 [BZ #14064]
1180 * math/libm-test.inc (check_float_internal): Correct ulp
1181 calculation for subnormal expected results.
1182
29ba805c
AJ
11832012-05-06 Andreas Jaeger <aj@suse.de>
1184
1185 * Makeconfig (+math-flags): New, set to -frounding-math.
1186 (+cflags): Add +math-flags so that all of glibc gets compiled with
1187 it.
1188
1189 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1190
7b17aeda
JM
11912012-05-05 Joseph Myers <joseph@codesourcery.com>
1192
5779f134
JM
1193 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1194 Disable one test.
1195
41498f4d
JM
1196 [BZ #13787]
1197 [BZ #13922]
1198 [BZ #14036]
1199 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1200 (__ieee754_expl): Allow for and saturate large arguments.
1201 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1202 (u_threshold): Likewise.
1203 (__exp): Call __ieee754_exp before checking for overflow and
1204 underflow.
1205 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1206 (u_threshold): Likewise.
1207 (__expf): Call __ieee754_expf before checking for overflow and
1208 underflow.
1209 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1210 (u_threshold): Likewise.
1211 (__expl): Call __ieee754_expl before checking for overflow and
1212 underflow.
1213 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1214 (__ieee754_expl): Allow for and saturate large arguments.
1215 * math/libm-test.inc (exp_test): Add another test. Do not allow
1216 missing overflow exception on overflow.
1217 (expm1_test): Do not allow missing overflow exception on overflow.
1218
6698b8bf
JM
1219 * sysdeps/i386/fpu/e_expl.c: Move to ...
1220 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1221 rather than using inline asm.
1222 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1223 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1224 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1225
7b17aeda
JM
1226 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1227 (nice): Likewise.
1228 (poll): Likewise.
1229 (signal): Likewise.
1230 (time): Likewise.
1231 (times): Likewise.
1232
f7c85819
JM
12332012-05-04 Joseph Myers <joseph@codesourcery.com>
1234
1235 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1236 sysdeps/unix/common/syscalls.list.
1237 (fchmod): Likewise.
1238 (fchown): Likewise.
1239 (ftruncate): Likewise.
1240 (getrusage): Likewise.
1241 (gettimeofday): Likewise.
1242 (setpgid): Likewise.
1243 (setregid): Likewise.
1244 (setreuid): Likewise.
1245 (sigaction): Likewise.
1246 (truncate): Likewise.
1247 (vhangup): Likewise.
1248 * sysdeps/unix/common/syscalls.list: Remove file.
1249 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1250 * sysdeps/unix/sysv/linux/Implies: Likewise.
1251
336270d0
L
12522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1256 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1257 Moved to ...
1258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1259 Here.
1260 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1261 to ...
1262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1263 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1264 to ...
1265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1266 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1267 to ...
1268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1269 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1270 to ...
1271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1272 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1273 to ...
1274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1275 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1276 to ...
1277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1278 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1279 to ...
1280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1281 Here.
1282 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1283 to ...
1284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1285 Here.
1286 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1287 to ...
1288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1289 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1290 Moved to ...
1291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1292 Here.
1293 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1294 to ...
1295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1296
d128e450
JM
12972012-05-04 Joseph Myers <joseph@codesourcery.com>
1298
fa8ee516
JM
1299 * sysdeps/unix/common/bits/dirent.h: Remove file.
1300 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1301
d128e450
JM
1302 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1303 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1304 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1305 * sysdeps/unix/bsd/isatty.c: Likewise.
1306 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1307 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1308 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1309
ff8faaf0 13102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1311
62881be4 1312 [BZ #13563]
31dc8730
AZ
1313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1314 long double comparison inaccuracies.
1315 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1317
6fef930c
AS
13182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1319
1320 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1322
8f203e6c
JM
13232012-05-04 Joseph Myers <joseph@codesourcery.com>
1324
1325 [BZ #14049]
1326 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1327 nonzero digits before rounding a hex value.
1328 * stdlib/tst-strtod.c (tests): Add another test.
1329
5197d9c2
AK
13302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1331
1332 * sysdeps/s390/fpu/libm-test-ulps: Update.
1333
f0c1dedf
AJ
13342012-05-03 Andreas Jaeger <aj@suse.de>
1335
1336 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1337 does not get optimized out.
1338 (malloc_opt_barrier): New.
1339
a65ef2ae 13402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1341 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1342
2b942cb7 1343 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1344 intermediate file deletion.
2b942cb7 1345 (generated): Add .symlist files.
a65ef2ae 1346
54b71e02
JM
13472012-05-03 Joseph Myers <joseph@codesourcery.com>
1348
1349 [BZ #13775]
1350 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1351 Redirect under this condition.
1352 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1353 [__USE_GNU] (__dprintf_chk): Not under this condition.
1354 [__USE_GNU] (__vdprintf_chk): Likewise.
1355 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1356 under this condition.
1357 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1358 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1359 [__USE_XOPEN2K8] (vdprintf): Likewise.
1360 [__USE_GNU] (__dprintf_chk): Not under this condition.
1361 [__USE_GNU] (__vdprintf_chk): Likewise.
1362 [__USE_GNU] (dprintf): Likewise.
1363 [__USE_GNU] (vdprintf): Likewise.
1364
d3dfcc41
RM
13652012-05-03 Roland McGrath <roland@hack.frob.com>
1366
1367 * elf/Makefile (common-generated): Set this instead of generated for
1368 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1369 $(all-built-dso)-derived lists.
1370
7ac30cc5
AJ
13712012-05-03 Andreas Jaeger <aj@suse.de>
1372
0c51e550
AJ
1373 * sysdeps/i386/fpu/libm-test-ulps: Update.
1374
7ac30cc5
AJ
1375 * FAQ: Removed.
1376 * FAQ.in: Likewise.
1377 * scripts/gen-FAQ.pl: Likewise.
1378 * manual/install.texi (Installation): Point to online location of
1379 FAQ.
1380 * Makefile (files-for-dist): Remove FAQ.
1381 (FAQ): Remove.
1382
d4c2917f
AM
13832012-05-02 Allan McRae <allan@archlinux.org>
1384
1385 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1386 (LDFLAGS-reldepmod5.so): Likewise.
1387 (LDFLAGS-reldep6mod1.so): Likewise.
1388 (LDFLAGS-reldep6mod4.so): Likewise.
1389 (LDFLAGS-reldep8mod3.so): Likewise.
1390 (LDFLAGS-unload4mod1.so): Likewise.
1391 (LDFLAGS-unload4mod2.so): Likewise.
1392 (LDFLAGS-tst-initorder): Likewise.
1393 (LDFLAGS-tst-initordera2.so): Likewise.
1394 (LDFLAGS-tst-initordera3.so): Likewise.
1395 (LDFLAGS-tst-initordera4.so): Likewise.
1396 (LDFLAGS-tst-initorderb2.so): Likewise.
1397 (LDFLAGS-noload): Likewise.
1398 (LDFLAGS-next): Likewise.
1399 (LDFLAGS-order2mod1.so): Likewise.
1400 (LDFLAGS-order2mod2.so): Likewise.
1401 (LDFLAGS-tst-initorder2): Likewise.
1402 (LDFLAGS-tst-initorder2a.so): Likewise.
1403 (LDFLAGS-tst-initorder2b.so): Likewise.
1404 (LDFLAGS-tst-initorder2c.so): Likewise.
1405 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1406
d77f993f
DM
14072012-05-02 David S. Miller <davem@davemloft.net>
1408
1409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1410
171a70b4
PP
14112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1412
1413 [BZ #14055]
1414 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1415
0be196ad
AJ
14162012-05-02 Andreas Jaeger <aj@suse.de>
1417
1418 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1419 since we manipulate rounding mode.
1420 (CPPFLAGS-test-idouble.c): Likewise.
1421 (CPPFLAGS-test-ifloat.c): Likewise.
1422 (CFLAGS-test-ldouble.c): Likewise.
1423 (CFLAGS-test-double.c): Likewise.
1424 (CFLAGS-test-float.c): Likewise.
1425 (CFLAGS-test-misc.c): Likewise.
1426 (CFLAGS-test-test-fenv.c): Likewise.
1427
4f9d04aa
AZ
14282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1429
2b942cb7
RM
1430 [BZ #2550]
1431 [BZ #2570]
1432 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1433 comparisons to determine direction to adjust input.
4f9d04aa 1434
82a79e7d
RM
14352012-05-01 Roland McGrath <roland@hack.frob.com>
1436
f5a01ca9
RM
1437 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1438 output to the target.
1439
90fe4186
RM
1440 * scripts/localplt.awk: New file.
1441 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1442 (check-localplt-CFLAGS): Variable removed.
1443 ($(all-built-dso:=.jmprel)): New static pattern rule.
1444 (generated): Add those targets.
1445 (localplt-built-dso): New variable.
1446 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1447
1448 * elf/check-localplt.c: File removed.
1449
82397ed6
RM
1450 * scripts/check-execstack.awk: New file.
1451 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1452 (check-execstack-CFLAGS): Variable removed.
1453 ($(objpfx)check-execstack.h): Target removed.
1454 ($(objpfx)execstack-default): New target.
1455 (generated): Add that instead of check-execstack.h.
1456 ($(all-built-dso:=.phdr)): New static pattern rule.
1457 (generated): Add those targets.
1458 * elf/check-execstack.c: File removed.
1459
82a79e7d
RM
1460 * scripts/check-textrel.awk: New file.
1461 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1462 (check-textrel-CFLAGS): Variable removed.
1463 (all-built-dso): Use := to define.o
1464 ($(all-built-dso:=.dyn)): New static pattern rule.
1465 (generated): Add those targets.
1466 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1467 * config.make.in (READELF): New substituted variable.
1468 * elf/check-textrel.c: File removed.
1469
62fde54f 14702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1471
615605c9
JM
1472 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1473 allow.
1474 * conform/data/ctype.h-data [C99-based standards] (isblank):
1475 Expect function.
1476 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1477 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1478 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1479 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1480 Specify type. Require positive value.
1481 (EILSEQ): Likewise.
1482 (ERANGE): Likewise.
1483 [ISO || POSIX] (EILSEQ): Do not expect.
1484 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1485 Specify type. Require positive value.
1486 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1487 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1488 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1490 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1491 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1492 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1493 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1494 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1495 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1496 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1497 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1498 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1499 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1500 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1501 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1502 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1503 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1504 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1505 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1506 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1507 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1508 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1509 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1510 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1511 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1512 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1513 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1514 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1515 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1516 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1517 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1518 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1519 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1520 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1521 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1522 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1523 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1524 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1525 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1526 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1527 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1528 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1529 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1530 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1531 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1532 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1533 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1534 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1535 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1536 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1537 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1538 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1539 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1540 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1541 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1542 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1543 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1544 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1545 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1546 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1547 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1548 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1549 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1550 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1551 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1552 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1553 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1554 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1555 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1556 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1557 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1558 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1559 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1560 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1561 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1562 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1563 Require >= 2.
1564 (FLT_ROUNDS): Expect as macro, not constant.
1565 (FLT_MANT_DIG): Use macro-int-constant.
1566 (DBL_MANT_DIG): Likewise.
1567 (LDBL_MANT_DIG): Likewise.
1568 (FLT_DIG): Likewise.
1569 (DBL_DIG): Likewise.
1570 (LDBL_DIG): Likewise.
1571 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1572 (DBL_MIN_EXP): Likewise.
1573 (LDBL_MIN_EXP): Likewise.
1574 (FLT_MAX_EXP): Use macro-int-constant.
1575 (DBL_MAX_EXP): Likewise.
1576 (LDBL_MAX_EXP): Likewise.
1577 (FLT_MAX_10_EXP): Likewise.
1578 (DBL_MAX_10_EXP): Likewise.
1579 (LDBL_MAX_10_EXP): Likewise.
1580 (FLT_MAX): Use macro-constant.
1581 (DBL_MAX): Likewise.
1582 (LDBL_MAX): Likewise.
1583 (FLT_EPSILON): Use macro-constant. Give upper bound.
1584 (DBL_EPSILON): Likewise.
1585 (LDBL_EPSILON): Likewise.
1586 (FLT_MIN): Likewise.
1587 (DBL_MIN): Likewise.
1588 (LDBL_MIN): Likewise.
1589 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1590 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1591 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1592 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1593 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1594 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1595 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1596 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1597 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1598 [ISO11] (FLT_TRUE_MIN): Likewise.
1599 [ISO11] (LDBL_TRUE_MIN): Likewise.
1600 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1601 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1602 (SCHAR_MIN): Use macro-int-constant. Specify type.
1603 (SCHAR_MAX): Likewise.
1604 (UCHAR_MAX): Likewise.
1605 (CHAR_MIN): Likewise.
1606 (CHAR_MAX): Likewise.
1607 (MB_LEN_MAX): Use macro-int-constant.
1608 (SHRT_MIN): Use macro-int-constant. Specify type.
1609 (SHRT_MAX): Likewise.
1610 (USHRT_MAX): Likewise.
1611 (INT_MAX): Likewise.
1612 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1613 bound negative.
1614 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1615 bound with "U".
1616 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1617 bound with "L".
1618 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1619 bound negative. Suffix upper bound with "L".
1620 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1621 bound with "UL".
1622 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1623 Specify type.
1624 [C99-based standards] (LLONG_MAX): Likewise.
1625 [C99-based standards] (ULLONG_MAX): Likewise.
1626 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1627 == 0.
1628 [ISO11] (max_align_t): Require type.
1629 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1630
c9140a62
JM
1631 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1632 from $CFLAGS, without defining away __attribute__ calls.
1633 (checknamespace): Use $CFLAGS_namespace.
1634
9af0bf29
JM
1635 * conform/conformtest.pl (@keywords): Only include C99 keywords
1636 for standards based on C99 or C11.
1637
343222a2
JM
1638 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1639 Disable tests.
1640 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1641 UNIX98]: Likewise.
1642
661f8cf0
JM
1643 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1644 usability of symbols in #if.
1645
ee74b9cb
JM
1646 * conform/conformtest.pl: If macro or constant types start
1647 "promoted:", expect the symbol to be of the following type
1648 promoted by the integer promotions.
62fde54f 1649
aafc49b3
JM
1650 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1651 in one place. Also handle "macro-constant".
1652
fefdf574
JM
1653 * conform/conformtest.pl: Only accept expected macro values with
1654 "==". Parse all "macro" lines in one place.
1655 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1656
f2d922fe
JM
1657 * conform/conformtest.pl: Handle braced types on "constant" lines
1658 instead of handling "typed-constant".
1659 * conform/data/signal.h-data: Use "constant" instead of
1660 "typed-constant".
1661
d22956c9
JM
1662 * conform/conformtest.pl: Handle "optional-" at start of lines in
1663 one place rather than duplicating several cases. Handle each
1664 format of "macro" line with initial "optional-".
1665
028e2e38
JM
1666 * conform/conformtest.pl: Only accept expected constant or
1667 optional-constant values with "==". Parse all "constant" lines in
1668 one place. Parse all "optional-constant" lines in one place.
1669 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1670 * conform/data/fmtmsg.h-data: Likewise.
1671 * conform/data/netinet/in.h-data: Likewise.
1672 * conform/data/tar.h-data: Likewise.
1673 * conform/data/limits.h-data: Use "==" form on "constant" and
1674 "optional-constant" lines.
1675
1b8f2850
JM
1676 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1677 Use -std=c99 for XOPEN2K.
1678 (@knownproblems): Remove.
1679 (newtoken): Don't check %isknown.
1680
a05a144b
JM
1681 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1682 Do not expect macro.
1683 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1695 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1696 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1713 [XPG3] (acosh): Likewise.
1714 [XPG3] (asinh): Likewise.
1715 [XPG3] (atanh): Likewise.
1716 [XPG3] (cbrt): Likewise.
1717 [XPG3] (expm1): Likewise.
1718 [XPG3] (ilogb): Likewise.
1719 [XPG3] (log1p): Likewise.
1720 [XPG3] (logb): Likewise.
1721 [XPG3] (nextafter): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1724 [XPG3] (remainder): Likewise.
1725 [XPG3] (rint): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1733 [UNIX98 || XOPEN2K] (scalb): Expect.
1734 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1735 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1742 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1743 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1744 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1745 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1746 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1748 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1752 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1753 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1755 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1756 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1757 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1758 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1759 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1760 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1761 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1762 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1763 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1772 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1773 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1774 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1775 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1776 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1777 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1778 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1779 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1780 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1781 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1784 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1785 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1790 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1791 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1792 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1793 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1794 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1795 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1796 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1797 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1798 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1799 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1801 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1802 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1803 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1804 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1805 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1806 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1807 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1808 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1810 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1811 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1812 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1813 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1814 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1815 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1816 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1817 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1818 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1819 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1820 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1821 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1822 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1823 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1824 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1825 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1826 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1827 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1829 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1830 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1831 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1832 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1833 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1834 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1835 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1836 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1837 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1838 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1839 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1840 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1841 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1842 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1843 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1844 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1845 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1846 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1847 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1848 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1849 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1850 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1851 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1852 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1853 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1854 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1855 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1856 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1857 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1858 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1859 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1860 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1861 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1862 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1863 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1864 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1865 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1866 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1867 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1868 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1869 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1870 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1871
73c5ebe3
JM
1872 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1873 _XOPEN_SOURCE_EXTENDED for XPG4.
1874
39c33b6c
JM
1875 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1876
62fde54f
JM
1877 * Makeconfig (localtime): Remove variable.
1878 (inst_localtime-file): Likewise.
1879
0741d64c
AS
18802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1881
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1883 Update.
1884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1885 Update.
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1887 Update.
1888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1889 Update.
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1891 Update.
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1893 Update.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1895 Update.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1897 Update.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1899 Update.
1900
7cb029ee
JM
19012012-05-01 Joseph Myers <joseph@codesourcery.com>
1902
1903 [BZ #2550]
1904 [BZ #2570]
1905 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1906 comparisons to determine direction to adjust input.
1907 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1908 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1910 Likewise.
1911 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1912 Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1914 Likewise.
1915 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1916 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1917 Likewise.
1918 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1919 Likewise.
1920 * math/libm-test.inc (nexttoward_test): Add more tests.
1921
412bd966
AS
19222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1923
1924 [BZ #14040]
1925 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1926 in version GLIBC_2.1, not GLIBC_2.0.
1927 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1928 Likewise.
1929
9568c0c2
JM
19302012-04-30 Joseph Myers <joseph@codesourcery.com>
1931
adfbc8ac
JM
1932 [BZ #13942]
1933 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1934 (1 - x) * (1 + x).
1935 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1936 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1937 * math/libm-test.inc (acos_test): Add more tests.
1938 (asin_test): Likewise.
1939 * sysdeps/i386/fpu/libm-test-ulps: Update.
1940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1941
5ba3cc69
JM
1942 [BZ #14034]
1943 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1944 of square root.
1945 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1946 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1947 * math/libm-test.inc (acos_test_tonearest): New function.
1948 (acos_test_towardzero): Likewise.
1949 (acos_test_downward): Likewise.
1950 (acos_test_upward): Likewise.
1951 (asin_test_tonearest): Likewise.
1952 (asin_test_towardzero): Likewise.
1953 (asin_test_downward): Likewise.
1954 (asin_test_upward): Likewise.
1955 (main): Call the new functions.
1956 * sysdeps/i386/fpu/libm-test-ulps: Update.
1957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1958
9568c0c2
JM
1959 [BZ #13884]
1960 [BZ #13924]
1961 * math/e_exp10.c: Include <float.h>.
1962 (__ieee754_exp10): Handle underflow here rather than multiplying
1963 large negative argument by M_LN10.
1964 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1965 of __ieee754_expf.
1966 * math/e_exp10l.c: Include <float.h>.
1967 (__ieee754_exp10l): Handle underflow here rather than multiplying
1968 large negative argument by M_LN10l.
1969 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1970 spurious overflow exception on underflow.
1971
5ac3ea17
MP
19722012-04-29 Marek Polacek <polacek@redhat.com>
1973
1974 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1975 (__fortify_function): New macro.
1976 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1977 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1978 __extern_always_inline.
1979 * libio/bits/stdio2.h: Likewise.
1980 * libio/bits/stdio.h: Likewise.
1981 * string/string.h: Likewise.
1982 * string/bits/string3.h: Likewise.
1983 * include/stdio.h: Likewise.
1984 * stdlib/bits/stdlib.h: Likewise.
1985 * stdlib/stdlib.h: Likewise.
1986 * rt/bits/mqueue2.h: Likewise.
1987 * rt/mqueue.h: Likewise.
1988 * posix/bits/unistd.h: Likewise.
1989 * posix/unistd.h: Likewise.
1990 * io/bits/poll2.h: Likewise.
1991 * io/bits/fcntl2.h: Likewise.
1992 * io/fcntl.h: Likewise.
1993 * io/sys/poll.h: Likewise.
1994 * misc/bits/syslog.h: Likewise.
1995 * misc/bits/syslog-ldbl.h: Likewise.
1996 * misc/sys/syslog.h: Likewise.
1997 * socket/bits/socket2.h: Likewise.
1998 * socket/sys/socket.h: Likewise.
1999 * debug/tst-chk1.c: Likewise.
2000 * wcsmbs/bits/wchar2.h: Likewise.
2001 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2002 * wcsmbs/wchar.h: Likewise.
2003
ecf0ebfb
AJ
20042012-04-29 Andreas Jaeger <aj@suse.de>
2005
2006 * Makerules (tests): Remove enable-check-abi protection.
2007 (check-abi-warn): Remove.
2008 (check-abi-%): Remove check-abi-warn usage.
2009
2010 * configure.in: Remove check-abi configure option.
2011 * configure: Regenerated.
2012 * config.make.in (enable-check-abi): Remove.
2013
6d5c57fa
AS
20142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2015
24c5d07e 2016 [BZ #14033]
ded5180a
AS
2017 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2018 double functions to double *_finite functions.
2019
7e0d315d
AS
2020 [BZ #13941]
2021 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2022 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2023 LDBL_MIN_EXP.
2024 * stdio-common/Makefile (tests): Add tst-sprintf3.
2025 * stdio-common/tst-sprintf3.c: New file.
2026
6d5c57fa
AS
2027 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2028 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2029
0749ff8b
JM
20302012-04-28 Joseph Myers <joseph@codesourcery.com>
2031
2032 * conform/conformtest.pl: Remove duplicate typed-constant
2033 handling.
2034
8dbd5d7b
DM
20352012-04-28 David S. Miller <davem@davemloft.net>
2036
2037 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2038 (check-abi-%): Remove AWK script prerequisite and explicit
2039 abilist directory.
2040 (check-abi): Rewrite to just diff the symlist with the abilist.
2041 (config-tls, config-abi-config): Delete, no longer used.
2042 (update-abi-%): Remove AWK script and explicit abilist directory.
2043 (update-abi): Rewrite to simply compare and conditionally copy the
2044 symlist and the sysdep abilist file. Remove update-abi-config
2045 checks.
2046 * abilist/ld.abilist: Remove.
2047 * abilist/libBrokenLocale.abilist: Remove.
2048 * abilist/libanl.abilist: Remove.
2049 * abilist/libcrypt.abilist: Remove.
2050 * abilist/libdl.abilist: Remove.
2051 * abilist/librt.abilist: Remove.
2052 * abilist/libthread_db.abilist: Remove.
2053 * abilist/libutil.abilist: Remove.
2054 * scripts/extract-abilist.awk: Remove.
2055 * scripts/merge-abilist.awk: Remove.
2056 * sysdeps/generic/libcidn.abilist: New file.
2057 * sysdeps/generic/libnss_compat.abilist: New file.
2058 * sysdeps/generic/libnss_db.abilist: New file.
2059 * sysdeps/generic/libnss_dns.abilist: New file.
2060 * sysdeps/generic/libnss_files.abilist: New file.
2061 * sysdeps/generic/libnss_hesiod.abilist: New file.
2062 * sysdeps/generic/libnss_nis.abilist: New file.
2063 * sysdeps/generic/libnss_nisplus.abilist: New file.
2064 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2065 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2066 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2067 file.
2068 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2069 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2070 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2071 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2072 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2073 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2074 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2075 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2076 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2077 file.
2078 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2079 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2080 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2081 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2082 file.
2083 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2084 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2085 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2086 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2087 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2088 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2089 file.
2090 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2091 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2092 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2093 file.
2094 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2096 New file.
2097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2098 New file.
2099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2100 New file.
2101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2102 New file.
2103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2104 New file.
2105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2106 New file.
2107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2108 New file.
2109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2110 New file.
2111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2112 New file.
2113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2114 New file.
2115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2116 New file.
2117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2118 New file.
2119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2120 New file.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2122 file.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2124 New file.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2126 New file.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2128 file.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2130 New file.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2132 New file.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2134 file.
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2136 New file.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2138 New file.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2140 New file.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2142 New file.
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2144 New file.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2146 New file.
2147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2149 file.
2150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2151 New file.
2152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2153 file.
2154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2155 file.
2156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2157 file.
2158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2159 file.
2160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2161 file.
2162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2163 New file.
2164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2165 file.
2166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2167 file.
2168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2169 New file.
2170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2171 file.
2172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2174 file.
2175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2176 New file.
2177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2178 file.
2179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2180 file.
2181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2182 file.
2183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2184 file.
2185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2186 file.
2187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2188 New file.
2189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2190 file.
2191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2192 file.
2193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2194 New file.
2195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2196 file.
2197 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2198 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2199 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2200 file.
2201 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2202 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2203 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2204 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2205 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2206 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2207 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2208 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2209 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2210 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2213 file.
2214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2215 New file.
2216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2217 file.
2218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2219 file.
2220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2221 file.
2222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2223 file.
2224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2225 file.
2226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2227 New file.
2228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2229 New file.
2230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2231 file.
2232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2233 New file.
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2235 file.
2236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2238 file.
2239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2240 New file.
2241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2242 file.
2243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2244 file.
2245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2246 file.
2247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2248 file.
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2250 file.
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2252 New file.
2253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2254 New file.
2255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2256 file.
2257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2258 New file.
2259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2260 file.
2261
41d73a1b
JM
22622012-04-28 Joseph Myers <joseph@codesourcery.com>
2263
2264 * conform/conformtest.pl: Fix typo in handling typed-constant from
2265 allow-header.
2266
28aeeda4
JM
22672012-04-27 Joseph Myers <joseph@codesourcery.com>
2268
adae8f5e
JM
2269 * README: Cut down references to pre-2.6 Linux kernels and
2270 Linuxthreads. Update lists of configurations in libc and ports
2271 and sort alphabetically. Say "or newer" with Linux kernel version
2272 requirements.
2273
28aeeda4
JM
2274 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2275
a462cb63
RA
22762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2277
2278 [BZ #887]
2279 * math/libm-test.inc (logb_test_downward): New test to expose
2280 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2281 rounding mode.
2282
6ad3493e
JM
22832012-04-27 Joseph Myers <joseph@codesourcery.com>
2284
2285 [BZ #14027]
2286 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2287 to be done.
2288 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2289 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2290
2ce4f015
JM
22912012-04-26 Joseph Myers <joseph@codesourcery.com>
2292
5aeb141a
JM
2293 * sysdeps/unix/i386/brk.S: Remove file.
2294 * sysdeps/unix/i386/dl-brk.S: Likewise.
2295 * sysdeps/unix/i386/pipe.S: Likewise.
2296 * sysdeps/unix/i386/sigreturn.S: Likewise.
2297 * sysdeps/unix/i386/syscall.S: Likewise.
2298 * sysdeps/unix/i386/vfork.S: Likewise.
2299 * sysdeps/unix/i386/wait.S: Likewise.
2300
7143acae
JM
2301 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2302 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2303
2ce4f015
JM
2304 * configure.in (arm*-none*): Do not allow without
2305 --enable-hacker-mode.
2306 (netbsd*): Remove case setting base_os.
2307 (386bsd*): Likewise.
2308 (freebsd*): Likewise.
2309 (bsdi*): Likewise.
2310 (osf*): Likewise.
2311 (sunos*): Likewise.
2312 (ultrix*): Likewise.
2313 (newsos*): Likewise.
2314 (dynix*): Likewise.
2315 (*bsd*): Likewise.
2316 (sysv*): Likewise.
2317 (isc*): Likewise.
2318 (esix*): Likewise.
2319 (sco*): Likewise.
2320 (minix*): Likewise.
2321 (irix4*): Likewise.
2322 (irix6*): Likewise.
2323 (solaris[2-9]*): Likewise.
2324 (none): Likewise.
2325 * configure: Regenerated.
2326
0ac229c8
AZ
23272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2328
2329 [BZ #11521]
2330 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2331 overflow or cancellation in calculating denominator.
2332 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2334 down expression to avoid unexpected rounding in newer GCCs.
2335 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2336
33f244f4
DM
23372012-04-26 David S. Miller <davem@davemloft.net>
2338
2339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2340 long-double compat symbols.
2341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2354
cfa1f3e8
DM
23552012-04-25 David S. Miller <davem@davemloft.net>
2356
2357 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2358 HWCAP_* values only after the memory barriers have been defined.
2359 (atomic_full_barrier): Define.
2360 (atomic_read_barrier): Define.
2361 (atomic_write_barrier): Define.
2362
6e236b92
SP
23632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2364
2365 * shlib-versions: Add libgcc_s version information.
2366 * sysdeps/generic/libgcc_s.h: Remove.
2367 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2368 libgcc_s.h.
2369 * sysdeps/gnu/unwind-resume.c: Likewise.
2370 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2371
aab39a09
DM
23722012-04-25 David S. Miller <davem@davemloft.net>
2373
2374 * sysdeps/unix/sparc/brk.S: Delete.
2375 * sysdeps/unix/sparc/dl-brk.S: Delete.
2376 * sysdeps/unix/sparc/pipe.S: Delete.
2377 * sysdeps/unix/sparc/sysdep.S: Delete.
2378 * sysdeps/unix/sparc/sysdep.h: Delete.
2379 * sysdeps/unix/sparc/vfork.S: Delete.
2380 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2381 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2382 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2383 ret_ERRVAL, r0, r1, MOVE): Define.
2384 (JUMPTARGET): Remove.
2385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2386 sysdeps/unix/sparc/sysdep.h
2387 (ENTRY, END): Remove.
2388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2389
a3cc4f48
JM
23902012-04-25 Joseph Myers <joseph@codesourcery.com>
2391
2ed8cda2
JM
2392 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2393 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2394 -DIS_IN_build.
2395
35d76d59
JM
2396 * timezone/README: Update upstream location and email address for
2397 tzcode and tzdata.
2398 * timezone/zdump.c: Update from tzcode 2012b.
2399 * timezone/zic.c: Likewise.
2400
a3cc4f48
JM
2401 * configure.in (libc_cv_as_needed): Remove test.
2402 * configure: Regenerated.
2403 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2404 conditional definition.
2405 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2406 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2407 * config.make.in (have-as-needed): Remove variable.
2408
ceab42c3
SP
24092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2410 Paul Pluzhnikov <ppluzhnikov@google.com>
2411
2412 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2413 strings correctly.
2414
3ce2865f
CLT
24152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2416
2417 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2418 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2419 * sysdeps/sh/strlen.S: Likewise.
2420
f37e0d68
JM
24212012-04-24 Joseph Myers <joseph@codesourcery.com>
2422
ae186e9a
JM
2423 * sysdeps/unix/fork.S: Remove file.
2424 * sysdeps/unix/i386/fork.S: Likewise.
2425 * sysdeps/unix/sparc/fork.S: Likewise.
2426
b96914af
JM
2427 * sysdeps/unix/system.c: Remove file.
2428 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2429
f37e0d68
JM
2430 * sysdeps/unix/getegid.S: Remove file.
2431 * sysdeps/unix/geteuid.S: Likewise.
2432
87ef29ca
RM
24332012-04-24 Roland McGrath <roland@hack.frob.com>
2434
83bcd236
RM
2435 * scripts/check-localplt.awk: New file.
2436 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2437 of diff.
2438 * scripts/data/localplt-generic.data: Add a comment.
2439
87ef29ca
RM
2440 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2441 NODE when __dir_mkfile failed.
2442 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2443 Reported by Ludovic Courtès <ludo@gnu.org>.
2444
e5a6e567
AJ
24452012-04-24 Andreas Jaeger <aj@suse.de>
2446
2447 * Makerules (common-clean): Also remove gen-as-const-headers
2448 files.
2449
c1820385
JM
24502012-04-24 Joseph Myers <joseph@codesourcery.com>
2451
2452 * Makerules (native-compile): Do not change working directory for
2453 build. Use $(OUTPUT_OPTION) in command.
2454 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2455
94e02fc4
AZ
24562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2457
2458 [BZ #13886]
2459 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2460 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2461 * math/libm-test.inc (floor_test): Add more tests.
2462 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2463
3a533ca3
JM
24642012-04-24 Joseph Myers <joseph@codesourcery.com>
2465
940ab4b3
JM
2466 * sysdeps/unix/getdents.c: Remove file.
2467 * sysdeps/unix/sysv/getdents.c: Likewise.
2468 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2469
90e037bd
JM
2470 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2471 sysdeps/unix/mman/syscalls.list.
2472 (mmap): Likewise.
2473 (mprotect): Likewise.
2474 (msync): Likewise.
2475 (munmap): Likewise.
2476 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2477 * sysdeps/unix/mman/syscalls.list: Remove.
2478 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2479
3a533ca3
JM
2480 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2481 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2482 * configure: Regenerated.
2483 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2484 $(libgcc_s_suffix).
2485 * config.make.in (libgcc_s_suffix): Remove variable.
2486
1ad743de
JM
24872012-04-23 Joseph Myers <joseph@codesourcery.com>
2488
4ad451e2
JM
2489 * sysdeps/unix/sysv/gethostname.c: Move to ...
2490 * sysdeps/posix/gethostname.c: ... here.
2491
5e37ce39
JM
2492 * sysdeps/unix/execve.S: Remove file.
2493
1ad743de
JM
2494 * sysdeps/unix/_exit.S: Remove file.
2495
4e681b5b
AJ
24962012-04-23 Andreas Jaeger <aj@suse.de>
2497
2498 [BZ #13739]
2499 * manual/Makefile: Remove make dist support, there's no
2500 need for a stand-alone documentation tar ball.
2501 (TEXI2DVI): Define always, it's not in Makeconfig.
2502 (dist): Removed.
2503 (tar-it): Removed.
2504 (edition): Removed.
2505 (glibc-doc-$(edition).tar): Removed
2506 (%.Z): Removed.
2507 (%.gz): Removed.
2508 (%.uu): Removed.
2509 (ETAGS): Remove, it's in Makeconfig.
2510 (move-if-change): Remove, it's in Makeconfig.
2511
c0baea34
PE
25122013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2513
2514 [BZ #13970]
2515 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2516 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2517 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2518 (strtod_l, strtof_l, strtold_l): Remove __wur.
2519 It is not necessarily an error to ignore strtol's return value.
2520 One can reliably look at the stored endptr to decide whether
2521 the number had valid syntax.
2522
7c0616fa
AJ
25232012-04-21 Andreas Jaeger <aj@suse.de>
2524
803cb6b7 2525 [BZ #13739]
7c0616fa
AJ
2526 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2527
b0fe253f
JM
25282012-04-21 Joseph Myers <joseph@codesourcery.com>
2529
2530 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2531 * sysdeps/unix/sysv/Versions: Remove file.
2532
8280f22d
MT
25332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2534
2535 [BZ #13927]
2536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2537
75ce411f 25382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2539
2540 [BZ #7064]
2541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2542 version from __vm86.
2543
097d59fa
JM
25442012-04-20 Joseph Myers <joseph@codesourcery.com>
2545
a90f3bcb
JM
2546 * sysdeps/unix/common/lxstat.c: Remove file.
2547 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2548
edc7ea78
JM
2549 * sysdeps/unix/sysv/Makefile: Remove file.
2550
cb78c221
JM
2551 * sysdeps/unix/sysv/direct.h: Remove file.
2552
efa6a45f
JM
2553 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2554 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2555 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2556 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2557 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2558 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2559 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2560
9c9f2d0c
JM
2561 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2562
4541c83b
JM
2563 * sysdeps/unix/xmknod.c: Remove file.
2564 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2565
f5d153a0
JM
2566 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2567
aa746595
JM
2568 * sysdeps/unix/sysv/i386/time.S: Remove file.
2569
cce5905e
JM
2570 * sysdeps/unix/fxstat.c: Remove file.
2571 * sysdeps/unix/xstat.c: Likewise.
2572 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2573
37fa3841
JM
2574 * sysdeps/unix/sysv/sigaction.c: Remove file.
2575
ff1962a3
JM
2576 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2577 (sysdep_headers): Remove variable.
2578 [termio.h not in sysdep_headers] (generated): Likewise.
2579 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2580 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2581 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2582 * sysdeps/unix/sysv/tcflow.c: Likewise.
2583 * sysdeps/unix/sysv/tcflush.c: Likewise.
2584 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2585 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2586 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2587 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2588 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2589
e7740d31
JM
2590 * sysdeps/unix/siglist.c: Remove file.
2591
ee06f18b
JM
2592 * sysdeps/unix/getppid.S: Remove file.
2593
097d59fa
JM
2594 * sysdeps/unix/mkdir.c: Remove file.
2595 * sysdeps/unix/rmdir.c: Likewise.
2596
ff3d51ec
AS
25972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2598
2599 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2600 ERR_MAX value.
2601 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2602 errlist-compat value.
2603
50f81fd7
DM
26042012-04-18 David S. Miller <davem@davemloft.net>
2605
2606 * sysdeps/generic/memcopy.h (reg_char): Delete.
2607 * debug/strcat_chk.c: Use char, not reg_char.
2608 * debug/strcpy_chk.c: Likewise.
2609 * debug/strncat_chk.c: Likewise.
2610 * debug/strncpy_chk.c: Likewise.
2611 * string/memchr.c: Likewise.
2612 * string/memrchr.c: Likewise.
2613 * string/rawmemchr.c: Likewise.
2614 * string/strcat.c: Likewise.
2615 * string/strchr.c: Likewise.
2616 * string/strchrnul.c: Likewise.
2617 * string/strcmp.c: Likewise.
2618 * string/strcpy.c: Likewise.
2619 * string/strncat.c: Likewise.
2620 * string/strncmp.c: Likewise.
2621 * string/strncpy.c: Likewise.
2622
8ff41c46
WS
26232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2624
2625 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2626 __builtin_memcopy is called when src and dest ranges are known to not
2627 overlap.
2628
6b652f46
WS
26292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2630
2631 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2632 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2633 fwd_align_merge macro call.
2634 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2635 bwd_align_merge macro call.
2636 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2637
b282631e
WS
26382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2639
2640 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2641 bwd_align_merge macros.
2642 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2643 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2644 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2645
95aa737c
DM
26462012-04-18 David S. Miller <davem@davemloft.net>
2647
2648 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2649
7a99a614
AJ
26502012-04-18 Andreas Jaeger <aj@suse.de>
2651
2652 [BZ# 6794]
2653 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2654 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2656
2657 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2658 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2659 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2660
2661 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2662 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2663 Adjust for changed ldbl-128 files.
2664
2665 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2666 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2667 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2668
e5270c23
DM
26692012-04-17 David S. Miller <davem@davemloft.net>
2670
2671 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2672
fb5e92c9
AS
26732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2674
2675 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2676 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2677 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2678 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2679 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2680 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2681
76da7265
AZ
26822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2683
2684 [BZ #6794]
2685 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2686 * math/libm-test.inc: Add ilogb errno and exception tests.
2687 * math/w_ilogb.c: New file: ilogb wrapper.
2688 * math/w_ilogbf.c: New file: ilogbf wrapper.
2689 * math/w_ilogbl.c: New file: ilogbl wrapper.
2690 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2691 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2692 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2693 exception being thrown with 0.0 as argument.
2694 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2695 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2696 exception being thrown with 0.0 as argument.
2697 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2698 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2699 exception being thrown with 0.0 as argument.
2700 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2701 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2702 exception being thrown with 0.0 as argument.
2703 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2704 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2705 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2706 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2707 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2708 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2709 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2710 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2711 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2712
0396e69d
PB
27132012-04-17 Petr Baudis <pasky@ucw.cz>
2714
2715 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2716 with altivec.
2717
750b5926
MP
27182012-04-16 Marek Polacek <polacek@redhat.com>
2719
2720 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2721
751728a1
MP
27222012-04-16 Marek Polacek <polacek@redhat.com>
2723
2724 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2725 operands of fdivp instruction.
2726
34a27407
L
27272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2730 * elf/tst-auditmod3b.c: Likewise.
2731 * elf/tst-auditmod4b.c: Likewise.
2732 * elf/tst-auditmod5b.c: Likewise.
2733 * elf/tst-auditmod6b.c: Likewise.
2734 * elf/tst-auditmod6c.c: Likewise.
2735 * elf/tst-auditmod7b.c: Likewise.
2736 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2737 * sysdeps/x86_64/preconfigure.in: Likewise.
2738 * sysdeps/x86_64/preconfigure: Regenerated.
2739
7e73e17d
L
27402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2741
2742 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2743 __ILP32__.
2744
c7a6ab72
AB
27452012-04-13 Antoine Balestrat <merkil33@gmail.com>
2746
2747 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2748 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2749
a9e8e0e0
CL
27502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2751
2752 [BZ #13973]
2753 * locale/iso-639.def: Fix gl language name. Spotted by
2754 Yaron Shahrabani.
2755
ec98af7d
RM
27562012-04-12 Roland McGrath <roland@hack.frob.com>
2757
2758 [BZ #2074]
2759 * libio/libio.h (__io_write_fn): Update comment.
2760
247c3ede
PB
27612012-04-12 Petr Baudis <pasky@ucw.cz>
2762
2763 [BZ #2074]
2764 * stdio.texi (Hook Functions): The user provided writer function
2765 is not allowed to return -1.
2766
55939d6d
DM
27672012-04-11 David S. Miller <davem@davemloft.net>
2768
2769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2770
90020f5a
MF
27712012-04-11 Mike Frysinger <vapier@gentoo.org>
2772
2773 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2774 Add a leading slash to rtkaio.
2775
288f9098
JM
27762012-04-11 Jim Meyering <meyering@redhat.com>
2777
90020f5a
MF
2778 [BZ #11959]
2779 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2780 It is not necessarily an error to ignore fwrite's return
2781 value. One can reliably use ferror to test for errors after
2782 the fact.
288f9098 2783
4be2b570
L
27842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2785
2786 * bits/types.h (__snseconds_t): New type.
2787 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2788
2789 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2791 (__SNSECONDS_T_TYPE): Likewise.
2792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2793 (__SNSECONDS_T_TYPE): Likewise.
2794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2795 (__SNSECONDS_T_TYPE): Likewise.
2796
288f9098 27972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2798
2799 [BZ #2636]
2800 * manual/time.texi (Processor Time): Return type of times is
2801 elapsed real time since an arbitrary point in the past.
2802 (CPU Time): Move CLK_TCK from here...
2803 (Processor Time): ...to here. Correct description.
2804 * manual/conf.texi (Constants for Sysconf): Correct description of
2805 _SC_CLK_TCK.
2806
d7dd4413
DM
28072012-04-10 David S. Miller <davem@davemloft.net>
2808
2809 [BZ #13967]
2810 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2811 where the is a gap between DT_REL(A) and DT_JMPREL.
2812
b46068fc
L
28132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2814
2815 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2816 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2817 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2818
73d65cc3
SP
28192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2820
2821 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2822 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2823 (dl_main): Handle --inhibit-cache.
2824 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2825 _dl_inhibit_cache.
2826 * elf/dl-load.c (_dl_map_object): Use it.
2827 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2828
bcc8d661
JM
28292012-04-09 Joseph Myers <joseph@codesourcery.com>
2830
8f9a2fae
JM
2831 [BZ #13872]
2832 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2833 (__ieee754_powl): Saturate large exponents rather than testing for
2834 overflow of y*log2(x).
2835 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2836 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2837 exceptions.
2838
bcc8d661
JM
2839 [BZ #11521]
2840 * math/s_ctan.c: Include <float.h>.
2841 (__ctan): Avoid internal overflow or cancellation in calculating
2842 denominator.
2843 * math/s_ctanf.c: Likewise.
2844 * math/s_ctanl.c: Likewise.
2845 * math/s_ctanh.c: Likewise.
2846 * math/s_ctanhf.c: Likewise.
2847 * math/s_ctanhl.c: Likewise.
2848 * math/libm-test.inc (ctan_test): Add more tests.
2849 (ctanh_test): Likewise.
2850 * sysdeps/i386/fpu/libm-test-ulps: Update.
2851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2852
823fbbb4
AJ
28532012-04-09 Andreas Jaeger <aj@suse.de>
2854
03879793
AJ
2855 [BZ #6894]
2856 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2857 is an optional BSD extension.
2858
823fbbb4
AJ
2859 [BZ #10254]
2860 * manual/stdio.texi (Opening Streams): Document additional fopen
2861 parameters.
2862
8de131cb
RM
28632012-04-09 Roland McGrath <roland@hack.frob.com>
2864
2865 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2866 %eax without telling the compiler.
2867
c0ed9d7d
CD
28682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2869
2870 [BZ # 13963]
2871 * manual/install.texi: Use sourceware.org.
2872
c483f6b4
JM
28732012-04-09 Joseph Myers <joseph@codesourcery.com>
2874
d7dd9453
JM
2875 [BZ #13873]
2876 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2877 (__ieee754_pow): Generate overflow and underflow using huge*huge
2878 and tiny*tiny rather than just returning constant infinity or zero
2879 for large exponents.
2880 * math/libm-test.inc (pow_test): Require overflow exceptions for
2881 applicable cases of large exponents.
2882
c483f6b4
JM
2883 [BZ #706]
2884 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2885 (__ieee754_pow): Use iterative multiplication algorithm only for
2886 integer exponents with absolute value below 1024. Check for odd
2887 integer exponents when using algorithm for real exponents.
2888 * math/libm-test.inc (pow_test): Add more tests.
2889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2890
d2de7579
JM
28912012-04-08 Joseph Myers <joseph@codesourcery.com>
2892
2893 [BZ #13705]
2894 * math/libm-test.inc (exp_test): Do not allow overflow exception
2895 on underflow test.
2896
f77f1232
AJ
28972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2898
2899 [BZ #13705]
2900 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2901 instead of __kernel_standard_f.
2902
3884932b
MF
29032012-04-08 Mike Frysinger <vapier@gentoo.org>
2904
2905 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2906 * sysdeps/x86_64/memset_chk.S: Likewise.
2907
54472e9c
AJ
29082012-04-08 Andreas Jaeger <aj@suse.de>
2909
6ab0fbfc
AJ
2910 [BZ #10153]
2911 * manual/startup.texi (Environment Access): Describe return value
2912 for putenv and setenv.
2913
61efba8c
AJ
2914 [BZ #6895]
2915 * manual/filesys.texi (Directory Entries): Add description for
2916 DT_LNK.
2917
95c3f29a
AJ
2918 [BZ #6890]
2919 * manual/filesys.texi (Directory Entries): Clarify that it's file
2920 system not operating system in the description of DT_UNKNOWN.
2921
54472e9c
AJ
2922 [BZ #6578]
2923 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2924
624254b1
SC
29252012-04-08 Stephen Compall <s11@member.fsf.org>
2926
2927 [BZ #6649]
2928 * manual/llio.texi (Opening and Closing Files): Add cross
2929 reference to explain mode argument.
2930
1e4920e0
MF
29312012-04-07 Mike Frysinger <vapier@gentoo.org>
2932
2933 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2934 * sysdeps/x86_64/memset_chk.S: Likewise.
2935
5ed848f3
DM
29362012-04-07 David S. Miller <davem@davemloft.net>
2937
2938 * elf/elf.h (R_SPARC_WDISP10): Define.
2939 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2940 R_SPARC_SIZE32.
2941 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2942 R_SPARC_SIZE64 and R_SPARC_H34.
2943
96154cd8
CD
29442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2945
2946 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2947 conditions and remove no longer applicable assertion.
2948
9904dc47
L
29492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2950
2951 * bits/byteswap.h: Include <features.h>.
2952 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2953 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2954
f8887d0a
L
29552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * bits/byteswap.h (__bswap_16): Removed.
2958 Include <bits/byteswap-16.h> to get __bswap_16.
2959 * sysdeps/i386/bits/byteswap.h: Likewise.
2960 * sysdeps/s390/bits/byteswap.h: Likewise.
2961 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2962 * bits/byteswap-16.h: New file.
2963 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2964 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2965 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2966 * string/Makefile (headers): Add bits/byteswap-16.h.
2967
62470f60
PP
29682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2969
2970 [BZ #13895]
2971 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2972 extra indirection.
2973 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2974 * nss/tst-nss-static.c: New.
2975
4dad7bab
RM
29762012-04-06 Robert Millan <rmh@gnu.org>
2977
2978 [BZ #6486]
2979 * manual/llio.texi (File Position Primitive): lseek
2980 refers to WHENCE when it really means OFFSET.
2981
e9142a17
AJ
29822012-04-06 Andreas Jaeger <aj@suse.de>
2983
2c040eff
AJ
2984 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2985 strncmp declarations.
2986
e9142a17
AJ
2987 * abilist/libc.abilist: Add __poll and __ppoll.
2988
ff9f1c5f
DM
29892012-04-05 David S. Miller <davem@davemloft.net>
2990
dcd2ae90
DM
2991 * scripts/check-local-headers.sh: Accept a host triplet in the
2992 path matched by the exclude regexp.
2993
993eb054
DM
2994 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2995 definition.
2996 * sysdeps/powerpc/powerpc32/dl-machine.h
2997 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2998 * sysdeps/s390/s390-32/dl-machine.h
2999 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3000 * sysdeps/sparc/sparc32/dl-machine.h
3001 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3002 * sysdeps/sparc/sparc64/dl-machine.h
3003 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3004
ff9f1c5f
DM
3005 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3006 lazy binding.
48e2e132 3007 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3008 undefined symbol errors.
3009
48e2e132 3010 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3011 DT_NEEDED entries.
3012
e80d6f94
MM
30132012-04-05 Michael Matz <matz@suse.de>
3014
3015 [BZ #13592]
3016 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3017
349fa79f
AJ
30182012-04-05 Andreas Jaeger <aj@suse.de>
3019
3020 [BZ #13908]
3021 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3022 comment.
3023
f402708f
KK
30242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3025
3026 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3027 which ROUND is no valid rounding mode.
3028
2ecccfc9
KK
30292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3030
3031 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3032 read again.
3033 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3034
8a53f50f
KK
30352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3036
3037 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3038 an exception using FPU order intentionally.
3039
30402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3041
3042 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3043 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3044 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3045 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3046
d653abb7
SJ
30472012-04-05 Simon Josefsson <simon@josefsson.org>
3048
3049 [BZ #12340]
3050 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3051 EINVAL when BUFLEN is too smal.
3052
c3b1bf7d
TS
30532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3054
3055 [BZ #13553]
3056 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3057 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3058
b1aa60f3
AJ
30592012-04-03 Andreas Jaeger <aj@suse.de>
3060
c3b1bf7d 3061 [BZ #13938]
67f60a26
AJ
3062 * manual/setjmp.texi (System V contexts): Fix sentence.
3063
b1aa60f3
AJ
3064 [BZ #13926]
3065 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3066 New macro for this case.
3067 [!__GNUC__] (__bswap_64): New inline function for this case.
3068 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3069 * bits/byteswap.h: Likewise.
3070 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3071 ull, guard with __GLIBC_HAVE_LONG_LONG.
3072
3073 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3074 __GLIBC_HAVE_LONG_LONG.
3075
3076 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3077 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3078
39c59c35
TMQMF
30792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3080
3081 [BZ #13691]
3082 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3083 inptr and inend, rather than using last_ch.
3084
135ffda8
DM
30852012-04-02 David S. Miller <davem@davemloft.net>
3086
3087 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3088 * stdio-common/printf-parse.h (read_int): Change return type to
3089 'int', return -1 on INT_MAX overflow.
3090 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3091 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3092 overflows INT_MAX. Check for overflow of in-format-string precision
3093 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3094 SIZE_MAX not INT_MAX for integer overflow test.
3095 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3096 skip the construct in the format string but do not record anything.
3097 * stdio-common/bug22.c: Adjust to test both width/prevision
3098 INT_MAX overflow as well as total length INT_MAX overflow. Check
3099 explicitly for proper errno values.
3100
228c019e
TS
31012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3102
302cadd3
TS
3103 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3104 CHAR_MAX.
3105 * string/test-strcmp.c [! WIDE]: Likewise.
3106 * time/tst-mktime2.c: Likewise for INT_MAX.
3107 * string/test-string.h: #include <sys/param.h> for MIN.
3108
228c019e
TS
3109 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3110 * sysdeps/i386/init-first.c (init): Likewise.
3111 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3112 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3113 * sysdeps/sh/init-first.c (init): Likewise.
3114
cfa633f5
UD
31152012-04-01 Ulrich Drepper <drepper@gmail.com>
3116
3117 * po/ru.po: Update from translation team.
d1635ef8 3118 * po/vi.po: Likewise.
cfa633f5 3119
6cd0a5ea
SP
31202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3121
3122 * resolv/nss_dns/dns-host.c: Merge copyright years.
3123
4b43400f
LD
31242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3125
3126 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3127 Optimize memcpy with prefetch if
3128 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3129 src, dst pointers have unequal 16 byte alignments.
3130
48c41d04
SP
31312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3132
3133 [BZ #13928]
3134 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3135 from a CNAME entry and return the minimum ttl for the query.
3136 (gaih_getanswer_slice): Likewise.
3137
b8dc394d
JL
31382012-03-30 Jeff Law <law@redhat.com>
3139
3140 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3141 due to long keys.
3142 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3143 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3144
2f5a5ed0
JL
3145 * resolv/nss_dns/dns-host.c: Update copyright year.
3146
1d39e359
UD
31472012-03-30 Ulrich Drepper <drepper@gmail.com>
3148
c030f70c 3149 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3150 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3151
1d39e359
UD
3152 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3153 comments for sendmmsg.
3154
31552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3156
3157 [BZ #13691]
3158 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3159 with only 1 character between 0x0041 and 0x01b0.
3160 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3161 * wcsmbs/tst-mbsnrtowcs.c: New file.
3162
20fde227
DM
31632012-03-29 David S. Miller <davem@davemloft.net>
3164
3165 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3166 small copies by hand.
3167
984a4237
JL
31682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3169
3170 [BZ #13761]
3171 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3172 _nss_compat_initgroups_dyn): Fall back to malloc/free
3173 for large group memberships.
3174
18c9d62b
DM
31752012-03-28 David S. Miller <davem@davemloft.net>
3176
88d85d4f
DM
3177 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3178 that branches into memcpy.
3179 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3180 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3182 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3184 bits.
3185 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3186 implementation too.
3187 * sysdeps/sparc/mempcpy.S: New file.
3188
e5aa83e1
DM
3189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3190 the IFUNC routine in the libc case.
3191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3192
88570753
DM
3193 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3194 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3195 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3196 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3197 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3198 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3199 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3200 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3201
249d7567
DM
3202 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3203 loop to 256 bytes instead of 64 bytes and fix test signedness.
3204
18c9d62b
DM
3205 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3206 * sysdeps/sparc/sparc32/Makefile: rather than here...
3207 * sysdeps/sparc/sparc64/Makefile: and here.
3208
05f3d1f6
UD
32092012-03-28 Ulrich Drepper <drepper@gmail.com>
3210
3211 * malloc/mallocbug.c: Avoid warnings about unused variables.
3212
86ae07a8
JL
32132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3214
3215 [BZ #13760]
3216 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3217 in the right place. Discard and retry query if response is
3218 larger than input buffer size.
3219
41bf21a1
JM
32202012-03-28 Joseph Myers <joseph@codesourcery.com>
3221
d6270972
JM
3222 [BZ #369]
3223 [BZ #2678]
3224 [BZ #3866]
3225 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3226 x for large integer exponent.
3227 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3228 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3229 sign of result as needed afterwards.
3230 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3231 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3232 result for underflowing pow the same as for overflow.
3233 (__kernel_standard_l): Handle powl overflow and underflow here
3234 rather than calling __kernel_standard.
3235 * math/libm-test.inc (pow_test): Add more tests.
3236
414fca03 3237 [BZ #3868]
41bf21a1
JM
3238 [BZ #13879]
3239 [BZ #13910]
3240 [BZ #13911]
3241 [BZ #13912]
3242 [BZ #13913]
3243 [BZ #13915]
3244 [BZ #13916]
3245 [BZ #13917]
3246 [BZ #13918]
3247 [BZ #13919]
3248 [BZ #13920]
3249 [BZ #13921]
3250 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3251 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3252 (__kernel_standard_l): New function.
3253 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3254 __kernel_standard.
3255 * math/w_acosl.c (__acosl): Likewise.
3256 * math/w_asinl.c (__asinl): Likewise.
3257 * math/w_atan2l.c (__atan2l): Likewise.
3258 * math/w_atanhl.c (__atanhl): Likewise.
3259 * math/w_coshl.c (__coshl): Likewise.
3260 * math/w_exp10l.c (__exp10l): Likewise.
3261 * math/w_exp2l.c (__exp2l): Likewise.
3262 * math/w_fmodl.c (__fmodl): Likewise.
3263 * math/w_hypotl.c (__hypotl): Likewise.
3264 * math/w_j0l.c (__j0l, __y0l): Likewise.
3265 * math/w_j1l.c (__j1l, __y1l): Likewise.
3266 * math/w_jnl.c (__jnl, __ynl): Likewise.
3267 * math/w_lgammal.c (__lgammal): Likewise.
3268 * math/w_log10l.c (__log10l): Likewise.
3269 * math/w_log2l.c (__log2l): Likewise.
3270 * math/w_logl.c (__logl): Likewise.
3271 * math/w_powl.c (__powl): Likewise.
3272 * math/w_remainderl.c (__remainderl): Likewise.
3273 * math/w_scalbl.c (sysv_scalbl): Likewise.
3274 * math/w_sinhl.c (__sinhl): Likewise.
3275 * math/w_sqrtl.c (__sqrtl): Likewise.
3276 * math/w_tgammal.c (__tgammal): Likewise.
3277 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3278 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3279 * math/libm-test.inc (acos_test): Add more tests.
3280 (acosh_test): Likewise.
3281 (asin_test): Likewise.
3282 (atanh_test): Likewise.
3283 (exp_test): Likewise.
3284 (exp10_test): Likewise.
3285 (exp2_test): Likewise.
3286 (expm1_test): Likewise.
3287 (lgamma_test): Likewise.
3288 (log_test): Likewise.
3289 (log10_test): Likewise.
3290 (log1p_test): Likewise.
3291 (log2_test): Likewise.
3292 (pow_test): Do not allow some spurious overflow exceptions.
3293 (sqrt_test): Add more tests.
3294 (tgamma_test): Likewise.
3295 (y0_test): Likewise.
3296 (y1_test): Likewise.
3297 (yn_test): Likewise.
3298
dd62fda6
AB
32992012-03-27 Anton Blanchard <anton@samba.org>
3300
3301 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3302 MAP_HUGETLB.
3303 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3304 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3305 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3306
1e3cdfda
AJ
33072012-03-27 David S. Miller <davem@davemloft.net>
3308
b855ab85
DM
3309 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3310
1e3cdfda
AJ
3311 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3312 have-as-vis3 check.
3313
33142012-03-27 Andreas Jaeger <aj@suse.de>
3315
3316 * sysdeps/x86_64/elf/configure.in: Moved to ...
3317 * sysdeps/x86_64/configure.in: ... here.
3318 * sysdeps/x86_64/elf/start.S: Moved to ...
3319 * sysdeps/x86_64/start.S: ... here.
3320 * sysdeps/x86_64/elf/configure: Delete.
3321
3322 * sysdeps/x86_64/configure.in: Merge contents from
3323 sysdeps/i386/configure.in (without i686 check).
3324
3325 * sysdeps/i386/elf/Versions: Merge into ...
3326 * sysdeps/i386/Versions: ... this.
3327 * sysdeps/i386/elf/Versions: Delete file.
3328 * sysdeps/i386/elf/start.S: Moved to ...
3329 * sysdeps/i386/start.S: ...here.
3330 * sysdeps/i386/elf/configure.in: Merge into...
3331 * sysdeps/i386/configure.in: ...here.
3332 * sysdeps/i386/elf/configure.in: Delete file.
3333 * sysdeps/i386/elf/configure: Delete file.
3334
3335 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3336 * debug/backtracesyms.c: ... here.
3337 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3338 * debug/backtracesymsfd.c: ... here.
3339 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3340 * sysdeps/generic/ifunc-sel.h: ... here.
3341
3342 * sysdeps/unix/i386/start.c: Delete file.
3343 * sysdeps/unix/sparc/start.c: Delete file.
3344 * sysdeps/unix/start.c: Delete file.
3345
3346 * sysdeps/sh/elf/configure.in: Moved to ...
3347 * sysdeps/sh/configure.in: ... here.
3348 * sysdeps/sh/elf/start.S: Moved to ...
3349 * sysdeps/sh/start.S: ... here.
3350 * sysdeps/sh/elf/configure: Delete file.
3351
3352 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3353 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3354 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3355 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3356 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3357 * sysdeps/powerpc/powerpc64/start.S: here.
3358 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3359 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3360 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3361 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3362 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3363
3364 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3365 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3366 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3367 * sysdeps/powerpc/powerpc32/start.S: ... here.
3368 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3369 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3370 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3371
3372 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3373 * sysdeps/powerpc/ifunc-sel.h: ... here.
3374 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3375 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3376
3377 * sysdeps/sparc/elf/configure.in: Moved to ...
3378 * sysdeps/sparc/configure.in: ... here.
3379 * sysdeps/sparc/elf/configure: Delete file.
3380 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3381 * sysdeps/sparc/sparc32/start.S: ... here.
3382 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3383 * sysdeps/sparc/sparc64/start.S: ... here.
3384 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3385 * sysdeps/sparc/sparc32/Makefile: ... this.
3386 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3387 * sysdeps/sparc/sparc64/Makefile: ... this.
3388
3389 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3390 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3391 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3392 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3393 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3394 * sysdeps/s390/s390-32/setjmp.S: ... here.
3395 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3396 * sysdeps/s390/s390-32/configure.in: ... here.
3397 * sysdeps/s390/s390-32/elf/configure: Delete file.
3398 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3399 * sysdeps/s390/s390-32/start.S: ... here.
3400
3401 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3402 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3403 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3404 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3405 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3406 * sysdeps/s390/s390-64/setjmp.S: ... here.
3407 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3408 * sysdeps/s390/s390-64/configure.in: ... here
3409 * sysdeps/s390/s390-64/elf/configure: Delete file.
3410 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3411 * sysdeps/s390/s390-64/start.S: ... here.
3412 * sysdeps/s390/s390-64/elf/configure: Delete.
3413
3414 * configure.in: Remove support for elf directories in sysdeps.
3415
3416 * configure: Regenerated.
3417 * sysdeps/i386/configure: Regenerated.
3418 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3419 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3420 * sysdeps/s390/s390-32/configure: Regenerated.
3421 * sysdeps/s390/s390-64/configure: Regenerated.
3422 * sysdeps/sh/configure: Regenerated.
3423 * sysdeps/sparc/configure: Regenerated.
3424 * sysdeps/x86_64/configure: Regenerated.
3425
a3f61311
AS
34262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3427
c876e002
AS
3428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3429
a3f61311
AS
3430 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3431 denormal result into account.
3432
ac4c54f0
RM
34332012-03-25 Roland McGrath <roland@hack.frob.com>
3434
3435 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3436 Reported by Allan McRae <allan@archlinux.org>.
3437
6a9b9c02
JL
34382012-03-23 Jeff Law <law@redhat.com>
3439
3440 * nss/getnssent.c (__nss_getent): Fix typo.
3441
4c42a0c1
DM
34422012-03-23 David S. Miller <davem@davemloft.net>
3443
3444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3445
1532c7ac
L
34462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3447
3448 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3449 to pad to uint64_t for each field.
3450 (dl_tls_index): Replace unsigned long with uint64_t.
3451
3ff42526
PP
34522012-03-23 Daniel Jacobowitz <dmj@google.com>
3453 Paul Pluzhnikov <ppluzhnikov@google.com>
3454
3455 [BZ #6528]
3456 * grp/Makefile (otherlibs): Don't set it.
3457 * inet/Makefile (otherlibs): Likewise.
3458 * login/Makefile (otherlibs): Likewise.
3459 * nscd/Makefile (otherlibs): Likewise.
3460 * posix/Makefile (otherlibs): Likewise.
3461 * pwd/Makefile (otherlibs): Likewise.
3462 * rt/Makefile (otherlibs): Likewise.
3463 * sunrpc/Makefile (otherlibs): Likewise.
3464 * nss/Makefile (otherlibs): Likewise.
3465 Add libnss_files to routines and static-only-routines.
3466 ($(objpfx)getent): Remove rule.
3467 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3468 static-only-routines.
3469
7c69cd14
JM
34702012-03-22 Joseph Myers <joseph@codesourcery.com>
3471
3472 [BZ #13892]
3473 * math/s_cexp.c: Include <float.h>.
3474 (__cexp): Handle exp result overflowing not necessarily
3475 overflowing both real and imaginary parts of result.
3476 * math/s_cexpf.c: Likewise.
3477 * math/s_cexpl.c: Likewise.
3478 * math/libm-test.inc (cexp_test): Add more tests.
3479 * sysdeps/i386/fpu/libm-test-ulps: Update.
3480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3481
81b035fe
L
34822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3483
3484 * include/link.h (ELFW): New macro.
3485 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3486 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3487
1da7940c
L
34882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3489
3490 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3491 with uint64_t.
3492
b749dbb9
L
34932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3494
3495 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3496 declaration.
3497 (struct La_x32_retval): Likewise.
3498
2ff87f3f
L
34992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3500
3501 * sysdeps/x86_64/preconfigure.in: New file.
3502 * sysdeps/x86_64/preconfigure: New generated file.
3503
c0df8e69
JM
35042012-03-22 Joseph Myers <joseph@codesourcery.com>
3505
48e44791
JM
3506 [BZ #13824]
3507 * math/e_exp2l.c: Include <float.h>.
3508 (__ieee754_exp2l): Handle overflow and underflow cases
3509 separately. Only pass fractional part of argument to
3510 __ieee754_expl.
3511 * math/libm-test.inc (exp2_test): Add more tests.
3512
c0df8e69
JM
3513 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3514 negating x to take absolute value.
3515 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3516 Likewise.
3517 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3518 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3519 Likewise.
3520 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3521 computing low part if x was negated.
3522 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3523
c8e43ba7
L
35242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3525
3526 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3527 la_x32_gnu_pltexit.
3528 (pltexit): Cast int_retval to ptrdiff_t.
3529 * elf/tst-auditmod3b.c: Likewise.
3530 * elf/tst-auditmod4b.c: Likewise.
3531 * elf/tst-auditmod5b.c: Likewise.
3532 * elf/tst-auditmod6b.c: Likewise.
3533 * elf/tst-auditmod6c.c: Likewise.
3534 * elf/tst-auditmod7b.c: Likewise.
3535
3536 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3537 and x32_gnu_pltexit.
3538
3539 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3540 __ELF_NATIVE_CLASS.
3541 (La_x32_regs): New macro.
3542 (La_x32_retval): Likewise.
3543 (la_x32_gnu_pltenter): New function prototype.
3544 (la_x32_gnu_pltexit): Likewise.
3545
7998fa78
AS
35462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3547
dcb33988
AS
3548 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3549 exponent.
3550
233fc563
AS
3551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3552
7998fa78
AS
3553 * configure.in (libc_cv_cc_nofma): Check for option to disable
3554 generation of FMA instructions.
3555 * configure: Regenerate.
3556 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3557 * sysdeps/ieee754/dbl-64/Makefile: New file.
3558 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3559 Remove brandred-fma4.
3560 (CFLAGS-brandred-fma4.c): Remove.
3561 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3562 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3563 define.
3564 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3565 define.
3566
8e95c99a
L
35672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3568
3569 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3570 LLONG_MAX != LONG_MAX.
3571 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3572 (_fitoa_word): Likewise.
3573 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3574 LLONG_MAX != LONG_MAX.
3575 * stdio-common/_itowa.h: Include <_itoa.h>.
3576 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3577 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3578 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3579 only if not defined.
3580 (_ITOA_WORD_TYPE): Likewise.
3581 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3582 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3583
6f4db457
DM
35842012-03-21 David S. Miller <davem@davemloft.net>
3585
3586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3587
7785fe5a
L
35882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3589
3590 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3591 of x86_64 when setting libc_cv_slibdir, libdir and
3592 libc_cv_localedir.
3593 * sysdeps/unix/sysv/linux/configure: Regenerated.
3594
4535cd55
JM
35952012-03-21 Joseph Myers <joseph@codesourcery.com>
3596
3597 * manual/lang.texi (Old Varargs): Remove section.
3598 (How Variadic): Update menu.
3599 (va_start): Do not mention varargs.h.
3600
17228132
TS
36012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3602 Joseph Myers <joseph@codesourcery.com>
3603
3604 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3605 link test.
3606 * configure: Regenerated.
3607
8149f976
TS
36082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3609
05f3d1f6
UD
3610 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3611 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3612 conformtest.pl
8149f976 3613
1a4ac776
JM
36142012-03-21 Joseph Myers <joseph@codesourcery.com>
3615
be22ce65
JM
3616 * NOTES: Remove.
3617 * Makefile (files-for-dist): Remove NOTES.
3618 (NOTES): Remove rule.
3619 * README: Don't refer to NOTES.
3620 * manual/creature.texi: Don't include macros.texi.
3621 * manual/intro.texi (creature.texi): Remove comment referring to
3622 NOTES.
3623
40b601fb
JM
3624 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3625 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3626 * configure: Regenerated.
3627 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3628 LIBC_TRY_CC_OPTION.
3629 (libc_cv_as_i686): Likewise.
3630 (libc_cv_cc_avx): Likewise.
3631 (libc_cv_cc_sse2avx): Likewise.
3632 (libc_cv_cc_fma4): Likewise.
3633 (libc_cv_cc_novzeroupper): Likewise.
3634 * sysdeps/i386/configure: Regenerated.
3635
1a4ac776
JM
3636 [BZ #13883]
3637 * sysdeps/i386/fpu/s_cexp.S: Remove.
3638 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3639 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3640 * math/libm-test.inc (cexp_test): Add more tests.
3641 * sysdeps/i386/fpu/libm-test-ulps: Update.
3642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3643
a458e7fe
AM
36442012-03-21 Allan McRae <allan@archlinux.org>
3645
3646 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3647
0cb7efc5
JM
36482012-03-21 Joseph Myers <joseph@codesourcery.com>
3649
3650 [BZ #13871]
3651 * math/w_exp2.c: Do not include <float.h>.
3652 (o_threshold, u_threshold): Remove.
3653 (__exp2): Calculate result before checking finiteness and calling
3654 __kernel_standard.
3655 * math/w_exp2f.c: Likewise.
3656 * math/w_exp2l.c: Likewise.
3657 * math/libm-test.inc (exp2_test): Require overflow exception for
3658 1e6 input.
2460d3aa
JM
3659
3660 [BZ #3866]
3661 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3662 range of signed 64-bit integers before using fistpll. Remove
3663 checks for whether integers fit in mantissa bits.
3664 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3665 the range of signed 32-bit integers before using fistpl. Remove
3666 checks for whether integers fit in mantissa bits.
3667 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3668 (__ieee754_powl): Test for y outside the range of signed 64-bit
3669 integers before using fistpll. Reduce 64-bit values to 63-bit
3670 ones as needed.
3671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3672 divide-by-zero is raised for zero to large negative powers.
3673 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3674 (__ieee754_powl): Test for y outside the range of signed 64-bit
3675 integers before using fistpll. Reduce 64-bit values to 63-bit
3676 ones as needed.
3677 * math/libm-test.inc (pow_test): Add more tests.
3678
eb96ffb0
L
36792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3682 <stdio-common/_itoa.h>.
3683 * debug/segfault.c: Likewise.
3684 * elf/dl-cache.c: Likewise.
3685 * elf/dl-minimal.c: Likewise.
3686 * elf/dl-misc.c: Likewise.
3687 * elf/dl-sysdep.c: Likewise.
3688 * elf/dl-version.c: Likewise.
3689 * elf/rtld.c: Likewise.
3690 * hurd/hurdsock.c: Likewise.
3691 * hurd/lookup-retry.c: Likewise.
3692 * malloc/malloc.c: Likewise.
3693 * malloc/mtrace.c: Likewise.
3694 * nscd/nscd_getgr_r.c: Likewise.
3695 * nscd/nscd_getpw_r.c: Likewise.
3696 * nscd/nscd_getserv_r.c: Likewise.
3697 * posix/getopt_init.c: Likewise.
3698 * posix/wordexp.c: Likewise.
3699 * stdio-common/_itoa.c: Likewise.
3700 * stdio-common/printf_fphex.c: Likewise.
3701 * stdio-common/vfprintf.c: Likewise.
3702 * string/_strerror.c: Likewise.
3703 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3704 * sysdeps/i386/i686/hp-timing.h: Likewise.
3705 * sysdeps/mach/_strerror.c: Likewise.
3706 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3707 * sysdeps/mach/hurd/sethostid.c: Likewise.
3708 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3709 * sysdeps/mach/xpg-strerror.c: Likewise.
3710 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3711 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3712 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3713 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3714 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3715 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3716 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3717 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3718 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3719 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3720 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3721 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3722 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3723 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3724 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3725 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3726 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3727 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3728 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3729 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3730 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3731
3732 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3733
3734 * stdio-common/_itoa.h: Moved to ...
3735 * sysdeps/generic/_itoa.h: Here.
3736
3737 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3738
3739 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3740 instead of "_itoa.h" and "_itowa.h".
3741 * stdio-common/vfprintf.: Likewise.
3742
d1af992d
L
37432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3744
3745 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3746 <bits/wordsize.h>.
3747 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3748 (__signbit): Likwise.
3749 (llrintf): Likwise.
3750 (llrint): Likwise.
3751
114883e0
L
37522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3753
3754 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3755 __WORDSIZE != 64.
3756
c135cc1b
JM
37572012-03-20 Joseph Myers <joseph@codesourcery.com>
3758
3759 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3760 OVERFLOW_EXCEPTION_OK.
3761 * math/libm-test.inc ("Philosophy"): Update comment about
3762 exception testing.
3763 (OVERFLOW_EXCEPTION): Define.
3764 (OVERFLOW_EXCEPTION_OK): Likewise.
3765 (INVALID_EXCEPTION_OK): Renumber.
3766 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3767 (IGNORE_ZERO_INF_SIGN): Likewise.
3768 (test_exceptions): Handle FE_OVERFLOW.
3769 (exp10_test): Expect overflow exceptions.
3770 (exp2_test): Likewise.
3771 (expm1_test): Likewise.
3772 (nextafter_test): Likewise.
3773 (pow_test): Likewise.
3774 (scalbn_test): Likewise.
3775 (scalbln_test): Likewise.
3776
95443d88
L
37772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3778
3779 * sysdeps/x86_64/bits/atomic.h
3780 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3781 64bit integer.
3782 (atomic_exchange_acq): Likewise.
3783 (__arch_exchange_and_add_body): Likewise.
3784 (__arch_add_body): Likewise.
3785 (atomic_add_negative): Likewise.
3786 (atomic_add_zero): Likewise.
3787
490df6c4
L
37882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3789
c2722551 3790 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3791 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3792
5e52b189
L
37932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3794
3795 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3796 Check __x86_64__ instead of __WORDSIZE.
3797
a9879d4c
L
37982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3799
3800 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3801
5df98260
DM
38022012-03-19 David S. Miller <davem@davemloft.net>
3803
e1497744
DM
3804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3805
5df98260
DM
3806 * sysdeps/sparc/fpu/fenv_private.h: New file.
3807 * sysdeps/sparc/fpu/math_private.h: Use it.
3808 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3809 Remove.
3810 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3811 (libc_feholdexcept_setroundl): Remove.
3812 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3813 Remove.
3814 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3815 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3816
b4c35121
L
38172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3818
3819 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3820 int64_t instead of long int.
3821 (INSERT_WORDS64): Likwise.
3822
56965fd7
L
38232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3824
3825 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3826 _Unwind_GetCFA return to _Unwind_Ptr first.
3827
83d1aec8
JM
38282012-03-19 Joseph Myers <joseph@codesourcery.com>
3829
1897ad44
JM
3830 [BZ #13629]
3831 * math/s_clog.c: Include <float.h>.
3832 (__clog): Scale large or subnormal inputs.
3833 * math/s_clogf.c: Likewise.
3834 * math/s_clogl.c: Likewise.
3835 * math/s_clog10.c: Include <float.h>.
3836 (M_LOG10_2): Define.
3837 (__clog10): Scale large or subnormal inputs.
3838 * math/s_clog10f.c: Likewise.
3839 * math/s_clog10l.c: Likewise.
3840 * math/libm-test.inc (clog_test): Add more tests.
3841 (clog10_test): Likewise.
3842 * sysdeps/i386/fpu/libm-test-ulps: Update.
3843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3844
7726d6a9
JM
3845 [BZ #11451]
3846 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3847 x and y.
3848 * math/libm-test.inc (atan2_test): Add another test.
3849
83d1aec8
JM
3850 * Makerules (common-objdir-compile): Remove.
3851 * sysdeps/unix/Makefile (config-generated): Do not add
3852 $(unix-generated) to variable.
3853 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3854 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3855 Remove rule.
3856 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3857 Likewise.
3858 [generic bits/local_lim.h] (before-compile): Do not append to
3859 variable.
3860 [generic bits/local_lim.h] (common-generated): Likewise.
3861 [generic sys/param.h] (before-compile): Do not append to variable.
3862 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3863 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3864 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3865 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3866 include.
3867 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3868 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3869 [generic sys/param.h] ($(addprefix
3870 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3871 [generic sys/param.h] (common-generated): Do not append to
3872 variable.
3873 [generic sys/param.h] (sysdep_headers): Likewise.
3874 [generic bits/errno.h] (before-compile): Do not append to
3875 variable.
3876 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3877 rule.
3878 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3879 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3880 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3881 [generic bits/errno.h] (common-generated): Do not append to
3882 variable.
3883 [generic bits/ioctls.h] (before-compile): Do not append to
3884 variable.
3885 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3886 rule.
3887 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3888 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3889 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3890 rule.
3891 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3892 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3893 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3894 [generic bits/ioctls.h] (common-generated): Do not append to
3895 variable.
3896 [generic sys/syscall.h] (syscall.h): Remove variable.
3897 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3898 rule.
3899 [generic sys/syscall.h] (before-compile): Do not append to
3900 variable.
3901 [generic sys/syscall.h] (common-generated): Likewise.
3902 * sysdeps/unix/errnos-tmpl.c: Remove file.
3903 * sysdeps/unix/errnos.awk: Likewise.
3904 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3905 * sysdeps/unix/ioctls.awk: Likewise.
3906 * sysdeps/unix/mk-local_lim.c: Likewise.
3907 * sysdeps/unix/snarf-ioctls: Likewise.
3908
4851a949
RH
39092012-03-19 Richard Henderson <rth@twiddle.net>
3910
bd37f2ee
RH
3911 * sysdeps/i386/fpu/fenv_private.h: New file.
3912 * sysdeps/i386/fpu/math_private.h: Use it.
3913 (math_opt_barrier, math_force_eval): Remove.
3914 (libc_feholdexcept_setround_53bit): Remove.
3915 (libc_feupdateenv_53bit): Remove.
3916 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3917 (math_opt_barrier, math_force_eval): Remove.
3918 (libc_feholdexcept): Remove.
3919 (libc_feholdexcept_setround): Remove.
3920 (libc_fetestexcept, libc_fesetenv): Remove.
3921 (libc_feupdateenv_test): Remove.
3922 (libc_feupdateenv, libc_feholdsetround): Remove.
3923 (libc_feresetround): Remove.
3924
d0adc922
RH
3925 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3926 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3927
0fe0f1f8
RH
3928 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3929 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3930 (libc_feupdateenv_testl): New.
3931 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3932 (libc_feupdateenv_testf): New.
3933 (libc_feupdateenv): Use libc_feupdateenv_test.
3934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3935 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3936
eb92c487
RH
3937 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3938 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3939 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3940 (libc_feresetround_noex): New.
3941 (libc_feresetround_noexf): New.
3942 (libc_feresetround_noexl): New.
3943 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3944 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3945 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3946 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3947 SET_RESTORE_ROUND.
3948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3949 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3950 (__cos): Likewise.
3951 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3952 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3953 SET_RESTORE_ROUND_NOEX.
3954 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3955 SET_RESTORE_ROUND_NOEXF.
3956 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3957 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3958 (libc_feholdsetroundf): New.
3959 (libc_feresetround, libc_feresetroundf): New.
3960
7d2e8012
RH
3961 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3962 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3963 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3964
b4dabbb4
RH
3965 * sysdeps/generic/math_private.h: Include <fenv.h>.
3966 (default_libc_feholdexcept): New.
3967 (default_libc_feholdexcept_setround): New.
3968 (default_libc_fesetenv, default_libc_feupdateenv): New.
3969 (libc_feholdexcept): Only define if undefined.
3970 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3971 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3972 (libc_feholdexcept_setroundl): Likewise.
3973 (libc_feholdexcept_setround_53bit): Likewise.
3974 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3975 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3976 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3977 (libc_feupdateenv_53bit): Likewise.
3978 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3979 (libc_feholdexcept): Convert from macro to inline function.
3980 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3981 (libc_fesetenv, libc_feupdateenv): Likewise.
3982
4851a949
RH
3983 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3984 not previously defined.
3985 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3986 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3987 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3988 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3989 * sysdeps/ieee754/flt-32/math_private.h: New file.
3990 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3991 math_private.h below SET_FLOAT_WORD.
3992 (__isnan, __isinf_ns, __finite): Remove.
3993 (__isnanf, __isinf_nsf, __finitef): Remove.
3994
e79d442e
AS
39952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3996
3997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3998
90b80344
DM
39992012-03-17 David S. Miller <davem@davemloft.net>
4000
4001 [BZ #6471]
4002 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4003 for 2.16.
4004
edc21804
DM
40052012-03-16 David S. Miller <davem@davemloft.net>
4006
77e927af
DM
4007 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4008 warnings.
4009
374976dd
DM
4010 [BZ #6471]
4011 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4012 properly.
4013 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4014 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4015 sysdep_routines when subdir is sysvipc.
4016 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4017 __getshmlba helper.
4018
edc21804
DM
4019 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4020
473c3ef3
L
40212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4022
4023 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4024 [__LP64__].
4025
eb0f39b6
L
40262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4029 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4030 (__lround): Renamed to ...
4031 (__llround): This. Replace long int with long long int.
4032 Define lround functions as aliases of llround functions.
4033 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4034
6b6cd74b
L
40352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4036
4037 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4038 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4039 adresses to uintptr_t. Replace "long int" and "unsigned long
4040 int" with "greg_t" on va_arg.
4041
f1a77b01
L
40422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4043
4044 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4045 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4046
4047 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4048 Move e_machine check before EI_CLASS check. Handle x32
4049 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4050 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4051 SKIP_EM_IA_64 and include
4052 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4053
4054 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4055 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4056 (add_system_dir): New macro.
4057
4058 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4059 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4060
11b90b9f
JM
40612012-03-16 Joseph Myers <joseph@codesourcery.com>
4062
c36e1d23
JM
4063 [BZ #2551]
4064 [BZ #2552]
4065 [BZ #2553]
4066 [BZ #2554]
4067 [BZ #2562]
4068 [BZ #2563]
4069 [BZ #2565]
4070 [BZ #2566]
4071 [BZ #2576]
4072 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4073 (y0): Likewise.
4074 * math/w_j0f.c (j0f): Likewise.
4075 (y0f): Likewise.
4076 * math/w_j0l.c (__j0l): Likewise.
4077 (__y0l): Likewise.
4078 * math/w_j1.c (j1): Likewise.
4079 (y1): Likewise.
4080 * math/w_j1f.c (j1f): Likewise.
4081 (y1f): Likewise.
4082 * math/w_j1l.c (__j1l): Likewise.
4083 (__y1l): Likewise.
4084 * math/w_jn.c (jn): Likewise.
4085 (yn): Likewise.
4086 * math/w_jnf.c (jnf): Likewise.
4087 (ynf): Likewise.
4088 * math/w_jnl.c (__jnl): Likewise.
4089 (__ynl): Likewise.
4090 * math/libm-test.inc (j0_test): Add more tests.
4091 (j1_test): Likewise.
4092 (jn_test): Likewise. Add trailing semicolon to existing test.
4093 (y0_test): Likewise.
4094 (y1_test): Likewise.
4095 * sysdeps/i386/fpu/libm-test-ulps: Update.
4096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4097
11b90b9f
JM
4098 [BZ #13851]
4099 [BZ #13854]
4100 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4101 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4102 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4103 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4104 (__tanl): Set errno for infinite argument.
4105 * sysdeps/i386/fpu/mptan.c: Remove.
4106 * sysdeps/i386/fpu/s_tan.S: Likewise.
4107 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4108 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4109 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4110 * math/libm-test.inc (tan_test): Add more tests and enable more
4111 tests for double and long double.
4112 * sysdeps/i386/fpu/libm-test-ulps: Update.
4113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4114
6a1bd2a1
JK
41152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4116
4117 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4118 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4119
10a803e0
RM
41202012-03-16 Roland McGrath <roland@hack.frob.com>
4121
4122 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4123 * configure.in: Use it for both main tree and add-ons.
4124 * configure: Regenerated.
4125
f196c7f7
L
41262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4127
4128 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4129
8848d99d
JM
41302012-03-16 Joseph Myers <joseph@codesourcery.com>
4131
96cbe7f4
JM
4132 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4133 in comment.
4134
8848d99d
JM
4135 [BZ #13851]
4136 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4137 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4141 infinite argument.
4142 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4144 != 0 for prec == 2.
4145 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4146 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4147 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4148 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4149 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4150 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4151 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4152 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4153 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4154 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4155 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4156 * math/libm-test.inc (cos_test): Add more tests and enable more
4157 tests for long double.
4158 (sin_test): Likewise.
4159 (sincos_test): Likewise.
4160 * sysdeps/i386/fpu/libm-test-ulps: Update.
4161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4162
dd7f4703
DM
41632012-03-16 David S. Miller <davem@davemloft.net>
4164
4165 * sysdeps/sparc/fpu/math_private.h: New file.
4166
006f1daa
DM
41672012-03-15 David S. Miller <davem@davemloft.net>
4168
c0c83bc8
DM
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4170 file.
e6a62e18 4171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4173 file.
e6a62e18
DM
4174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4179 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4180 sysdep routines.
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4182
88cb87d9
DM
4183 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4184 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4185
006f1daa 4186 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4188 sparc-ifunc.h
006f1daa 4189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4191 Likewise.
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4193 Likewise.
006f1daa
DM
4194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4198 Likewise.
006f1daa
DM
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4204 Likewise.
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4206 Likewise.
006f1daa
DM
4207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4231
11e0098e
AS
42322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4233
4234 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4235 scaling.
4236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4237
e85b09d0
AJ
42382012-03-15 Andreas Jaeger <aj@suse.de>
4239
4240 [BZ #13852]
4241 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4242 ieee754/flt-32 implementation for sin, cos and sincos.
4243 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4244 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4245 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4246 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4247 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4248 ieee754/flt-32 implementation for tan.
4249
4250 * math/libm-test.inc (cos_test): Enable some large input tests for
4251 float as well
4252 (sin_test): Likewise.
4253 (sincos_test): Likewise.
4254 (tan_test): Add tests for large input.
4255
4256 * sysdeps/i386/fpu/libm-test-ulps: Update.
4257
81c64153
AJ
42582012-03-15 Andreas Jaeger <aj@suse.de>
4259
4260 [BZ #13658]
4261 * math/libm-test.inc (cos_test): Add more test cases.
4262 (sin_test): Likewise.
4263 (sincos_test): Likewise.
4264
7bbfa5c6
AJ
42652012-03-15 Andreas Jaeger <aj@suse.de>
4266
4267 [BZ #13837]
4268 * math/libm-test.inc (cos_test): Add a test case for large input
4269 value.
4270 (sin_test): Likewise.
4271 (sincos_test): Likewise.
4272
42732012-03-15 Andreas Jaeger <aj@suse.de>,
4274 Joseph Myers <joseph@codesourcery.com>
4275
4276 [BZ #13658]
0671f479 4277 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4278 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4279 * sysdeps/i386/fpu/branred.c: Likewise.
4280 * sysdeps/i386/fpu/dosincos.c: Likewise.
4281 * sysdeps/i386/fpu/mpa.c: Likewise.
4282 * sysdeps/i386/fpu/s_cos.S: Likewise.
4283 * sysdeps/i386/fpu/s_sin.S: Likewise.
4284 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4285 * sysdeps/i386/fpu/sincos32.c: Likewise.
4286
4287 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4288 Define.
4289 (libc_feupdateenv_53bit): Define.
4290 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4291 Define.
4292 (libc_feupdateenv_53bit): Define.
4293
4294 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4295 53 bit (without extend i386 double precision).
4296
4297 * math/libm-test.inc (sincos_test): Add tests for large input.
4298 (sin): Likewise.
4299 (cos): Likewise.
4300
4301 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4302
9cad04ea
AS
43032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4304
4305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4306
f7062b9a
DM
43072012-03-15 David S. Miller <davem@davemloft.net>
4308
4309 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4310 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4311 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4312 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4325 file.
f7062b9a 4326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4328 file.
f7062b9a 4329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4331 file.
f7062b9a 4332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4334 file.
f7062b9a
DM
4335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4337 fmin/fmax sysdep routines.
4338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4339
7bd951ff
DM
43402012-03-14 David S. Miller <davem@davemloft.net>
4341
559398ab
DM
4342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4346 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4347 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4350 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4362 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4363 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4364 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4366 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4367 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4371 routines.
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4373 file.
559398ab 4374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4376 file.
559398ab 4377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4379 file.
559398ab 4380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4382 file.
559398ab 4383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4385 file.
559398ab 4386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4388 file.
4389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4390 file.
4391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4392 file.
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4394 file.
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4396 New file.
4397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4398 file.
4399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4400 file.
559398ab 4401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4403 file.
559398ab 4404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4406 file.
559398ab 4407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4409 file.
559398ab 4410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4412 VIS3 routines.
559398ab
DM
4413
4414 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4415 New file.
4416
5a1c1e32
DM
4417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4418
eae47a36
DM
4419 * sysdeps/sparc/configure.in: New file.
4420 * sysdeps/sparc/configure: Generate.
4421 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4422 * configure: Regenerate.
4423 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4424 * config.make.in (have-as-vis3): New.
4425 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4426 available use -Av9d instead of -Av9a.
4427 * sysdeps/sparc/sparc64/Makefile: Likewise.
4428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4430 New file.
4431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4432 file.
4433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4434 New file.
4435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4436 file.
eae47a36
DM
4437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4438 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4442
c0c83bc8
DM
4443 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4444 fzeros/fnegs to load 0x80000000 into a float register instead of
4445 using the stack.
7bd951ff
DM
4446 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4447
bd951ccb
JM
44482012-03-14 Joseph Myers <joseph@codesourcery.com>
4449
4450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4451 bits/syscall.h.
4452 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4453 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4454 ($(inst_includedir)/bits/syscall.h): Remove rule.
4455 ($(objpfx)bits/syscall.d): Include instead of
4456 $(objpfx)syscall-list.d.
4457 (generated): Change syscall-list.h and syscall-list.d to
4458 bits/syscall.h and bits/syscall.d.
4459
bb4e6db2
RM
44602012-03-14 Roland McGrath <roland@hack.frob.com>
4461
4462 [BZ #13846]
4463 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4464
aa4a2ae1
JM
44652012-03-14 Joseph Myers <joseph@codesourcery.com>
4466
e456826d
JM
4467 [BZ #13841]
4468 * math/s_csqrt.c: Include <float.h>.
4469 (__csqrt): Scale large or subnormal inputs.
4470 * math/s_csqrtf.c: Likewise.
4471 * math/s_csqrtl.c: Likewise.
4472 * math/libm-test.inc (csqrt_test): Add more tests.
4473 * sysdeps/i386/fpu/libm-test-ulps: Update.
4474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4475
aa4a2ae1
JM
4476 [BZ #13840]
4477 * math/libm-test.inc (hypot_test): Add more tests.
4478
7c10fd35
DM
44792012-03-13 David S. Miller <davem@davemloft.net>
4480
4481 [BZ #13840]
4482 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4483 double-precision for the calculation instead of scaling.
4484
f453b98b
JM
44852012-03-13 Joseph Myers <joseph@codesourcery.com>
4486
4487 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4488 manipulate bits before adding and subtracting TWO52[sx].
4489 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4490 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4491 Likewise.
4492 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4493
09a3453f
DM
44942012-03-13 David S. Miller <davem@davemloft.net>
4495
8e59da90
DM
4496 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4497 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4499 rtld-global-offsets.h
4500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4501
2a8ab7f2
DM
4502 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4503 large parameters.
4504
10f62770
DM
4505 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4506
5f0bdb18
DM
4507 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4508 'err' in the ifdef scope in which it is actually used.
4509
09a3453f
DM
4510 * nss/nss_db/db-init.c: Include string.h
4511
b4b2eb5e
DM
45122012-03-12 David S. Miller <davem@davemloft.net>
4513
98bb2f1c
DM
4514 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4515 masking out of the most significant byte of random value used.
4516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4517 Fix coding style in previous change.
4518
b4b2eb5e
DM
4519 * sysdeps/unix/sysv/linux/kernel-features.h
4520 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4521 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4522 expression.
4523 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4524 later.
4525
6e226b09
DM
45262012-03-11 David S. Miller <davem@davemloft.net>
4527
a1bcbd40
DM
4528 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4529 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4530 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4531 for 'resultvar' otherwise things get truncated on 64-bit.
4532
cb9d6174
DM
4533 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4534 Fix masking out of the most significant byte of random value used.
4535
6e226b09
DM
4536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4537
058c132d
AS
45382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4539
4540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4541
2d2cd515
DM
45422012-03-09 David S. Miller <davem@davemloft.net>
4543
4544 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4545 variables with appropriate CPP guards.
4546 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4547 frame pointer, not the stack pointer. Correct layout comments. Fix test
4548 on resulting framesize and the management of the outregs buffer for pltexit.
4549 Preserve floating point return values across _dl_call_pltexit call.
4550 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4551 framesize and the management of the outregs buffer for pltexit.
4552 Preserve floating point return values across _dl_call_pltexit
4553 call.
4554 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4555 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4556 (print_exit): Fix format string for return register value.
4557
9a07f9d0
JM
45582012-03-10 Joseph Myers <joseph@codesourcery.com>
4559
4560 * sunrpc/Makefile (others): Add rpcgen.
4561 ($(objpfx)rpcgen): Remove special build rule and dependency on
4562 libc.
4563 * sunrpc/rpcgen.c: New file.
4564
547b5e30
PE
45652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4566
c524201a
PE
4567 [BZ #13673]
4568 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4569 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4570 * sysdeps/i386/crti.S: Likewise.
4571 * sysdeps/i386/crtn.S: Likewise.
4572 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4573 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4574 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4575 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4576 * sysdeps/sh/crti.S: Likewise.
4577 * sysdeps/sh/crtn.S: Likewise.
4578 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4579
7b6235f2
PE
4580 [BZ #13673]
4581 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4582 with URL.
4583 * locale/programs/locfile-kw.gperf: Likewise.
4584 * locale/programs/charmap-kw.h: Regenerated.
4585 * locale/programs/locfile-kw.h: Likewise.
4586
547b5e30
PE
4587 [BZ #13673]
4588 * intl/plural.y: Replace FSF snail mail address with URL.
4589 * intl/plural.c: Regenerated.
4590
5f0a5dae
RH
45912012-03-09 Richard Henderson <rth@twiddle.net>
4592
4593 * include/math_private.h: Remove file.
4594 * math/math_private.h: Move file ...
4595 * sysdeps/generic/math_private.h: ... here.
4596
b8c03620
RH
4597 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4598 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4599 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4600
4e234f5d 4601 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4602 and <math_private.h>.
4603 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4604 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4605 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4606 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4607 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4608 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4609 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4611 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4616 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4617 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4618 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4619 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4621 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4622 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4624 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4625 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4626 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4628 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4647 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4652 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4653 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4654 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4655 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4656 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4657 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4659 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4660 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4661 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4662 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4663 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4664 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4666 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4667 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4668 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4669 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4670 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4671 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4672 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4673 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4674 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4675 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4676 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4677 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4679 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4681 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4682 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4683 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4684 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4686 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4687 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4688 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4689 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4690 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4691 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4692 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4693 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4694 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4695 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4696 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4697 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4698 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4699 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4700 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4701 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4702 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4703 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4704 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4705 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4706 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4707 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4708 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4709 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4710 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4711 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4712 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4713 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4714 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4715 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4716 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4717 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4718 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4719 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4720 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4721 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4722 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4723 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4724 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4725 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4726 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4727 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4728 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4729 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4730 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4731 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4732 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4733 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4734 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4735 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4736 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4737 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4738 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4739 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4740 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4741 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4742 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4743 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4744 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4745 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4746 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4747 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4748 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4749 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4750 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4751 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4752 * sysdeps/ieee754/k_standard.c: Likewise.
4753 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4757 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4758 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4763 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4765 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4767 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4770 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4775 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4776 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4777 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4778 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4780 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4781 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4784 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4786 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4788 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4789 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4790 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4791 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4792 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4793 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4794 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4795 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4796 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4797 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4798 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4799 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4800 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4802 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4803 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4804 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4805 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4808 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4809 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4868 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4872 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4873 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4875 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4880 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4885 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4886 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4890 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4893 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4894 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4897 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4898 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4901 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4902 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4903 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4904 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4905 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4906 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4907 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4908 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4912 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4913 * sysdeps/ieee754/s_lib_version.c: Likewise.
4914 * sysdeps/ieee754/s_matherr.c: Likewise.
4915 * sysdeps/ieee754/s_signgam.c: Likewise.
4916 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4917 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4918 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4919 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4920 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4921 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4922 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4923 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4924 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4925 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4926 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4927 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4928 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4929 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4930 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4931 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4932 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4933 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4934 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4936 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4937
1991fa03
JM
49382012-03-09 Joseph Myers <joseph@codesourcery.com>
4939
4940 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4941 * sunrpc/rpc_main.c: Likewise.
4942 * sunrpc/rpc_svcout.c: Likewise.
4943
60d6f5a6
DM
49442012-03-09 David S. Miller <davem@davemloft.net>
4945
4946 * include/math_private.h: New file.
4947
4962050e
JM
49482012-03-09 Joseph Myers <joseph@codesourcery.com>
4949
02a6f887
JM
4950 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4951 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4952 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4953 from <bits/socket_type.h>.
4954 (enum __socket_type): Don't define here.
4955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4957 bits/socket_type.h.
4958
c6e013c1
JM
4959 [BZ #13566]
4960 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4961 checking __USE_GNU.
4962
4962050e
JM
4963 * Makerules ($(inst_includedir)/%.h): New rule.
4964 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4965 (install-others): Remove variable setting.
4966 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4967
38842f45
RH
49682012-03-08 Richard Henderson <rth@twiddle.net>
4969
67bb6da6
RH
4970 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4971 from macro to inline function; merge with the
4972 !__LIBC_INTERNAL_MATH_INLINES version.
4973 (__ieee754_sqrtf): Likewise.
4974
15194b4b
RH
4975 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4976 to inline function.
4977 (__rintf, __floor, __floorf): Likewise.
4978
64e21ede
RH
4979 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4980 macro to inline function.
4981 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4982
38842f45
RH
4983 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4984 not <math/math_private.h>.
4985
c64bf5fe
DM
49862012-03-08 David S. Miller <davem@davemloft.net>
4987
4988 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4989 copyright year.
4990 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4991
82d86f28
TS
49922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4993
4994 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4995 normalization.
4996 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4997 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4998
aea5d727
UD
49992012-03-08 Ulrich Drepper <drepper@gmail.com>
5000
5001 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5002 be defined individually, they must be defined as a block. Define
5003 S for printing a string instead of hidint the different by using a
5004 macro for adding the 'l'.
5005 * stdio-common/tst-fphex-wide.c: Adjust.
5006
70bca0a3
MP
50072012-03-07 Marek Polacek <polacek@redhat.com>
5008
5009 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5010
65b81130
MP
50112012-03-08 Marek Polacek <polacek@redhat.com>
5012
5013 [BZ #13806]
5014 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5015 * stdio-common/tst-fphex.c: Define a few macros to make the
5016 test reusable. Use them.
5017 * stdio-common/tst-fphex-wide.c: New file.
5018
07037eeb
JM
50192012-03-08 Joseph Myers <joseph@codesourcery.com>
5020
a7a93d50
JM
5021 [BZ #6911]
5022 * manual/macros.texi (gnusystems): New macro.
5023 (nongnusystems): Likewise.
5024 (gnulinuxhurdsystems): Likewise.
5025 (gnuhurdsystems): Likewise..
5026 (gnulinuxsystems): Likewise.
5027 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5028 variants of the GNU system, not "GNU system".
5029 * manual/conf.texi: Likewise.
5030 * manual/errno.texi: Likewise. Update example of errno macro
5031 expansion.
5032 * manual/filesys.texi: Likewise.
5033 (getumask): Document as specific to GNU/Hurd.
5034 * manual/install.texi: Likewise. Reword some references to
5035 GNU/Linux.
5036 * manual/intro.texi: Likewise.
5037 * manual/io.texi: Likewise.
5038 (File Name Portability): Detail which constraints are inapplicable
5039 to all GNU systems and which are only inapplicable to GNU/Hurd.
5040 * manual/job.texi: Likewise.
5041 * manual/llio.texi: Likewise.
5042 (O_NOCTTY): Document as present on GNU/Linux.
5043 * manual/maint.texi: Likewise.
5044 * manual/memory.texi: Likewise.
5045 * manual/pattern.texi: Likewise.
5046 * manual/pipe.texi: Likewise.
5047 * manual/process.texi: Likewise.
5048 * manual/resource.texi: Likewise.
5049 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5050 child on GNU/Hurd.
5051 * manual/setjmp.texi: Likewise.
5052 * manual/signal.texi: Likewise.
5053 * manual/startup.texi: Likewise.
5054 * manual/stdio.texi: Likewise.
5055 * manual/terminal.texi: Likewise.
5056 (ONLCR): Document as POSIX.
5057 (OXTABS): Document availability on GNU/Linux as XTABS.
5058 (ONOEOT): Document availability separately from other bits.
5059 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5060 * manual/time.texi: Likewise.
5061 * manual/users.texi: Likewise.
5062 * INSTALL: Regenerated.
5063 * sysdeps/gnu/errlist.c: Regenerated.
5064
07037eeb
JM
5065 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5066 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5067 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5068 puts.
5069 * configure: Regenerated.
5070
d1d3431a
JM
50712012-03-07 Joseph Myers <joseph@codesourcery.com>
5072
af6a1e37
JM
5073 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5074 default includes instead of AC_HEADER_CHECK.
5075 * sysdeps/i386/configure: Regenerated.
5076
d1d3431a
JM
5077 [BZ #10716]
5078 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5079 * math/s_cacoshf.c (__cacoshf): Likewise.
5080 * math/s_cacoshl.c (__cacoshl): Likewise.
5081 * math/s_casinh.c (__casinh): Set signs of result from argument.
5082 * math/s_casinhf.c (__casinhf): Likewise.
5083 * math/s_casinhl.c (__casinhl): Likewise.
5084 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5085 (casinh_test): Add more tests.
5086 * sysdeps/i386/fpu/libm-test-ulps: Update.
5087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5088
482ff4da
UD
50892012-03-07 Ulrich Drepper <drepper@gmail.com>
5090
872fda05
UD
5091 * po/zh_TW.po: Update from translation team.
5092
a4300c7a
UD
5093 * login/Makefile (distribute): Remove variable.
5094 * catgets/Makefile: Likewise.
5095 * mach/Makefile: Likewise.
5096 * malloc/Makefile: Likewise.
5097 * misc/Makefile: Likewise.
5098 * iconv/Makefile: Likewise.
5099 * nscd/Makefile: Likewise.
5100 * hurd/Makefile: Likewise.
5101 * manual/Makefile: Likewise.
5102 * locale/Makefile: Likewise.
5103 * intl/Makefile: Likewise.
5104 * conform/Makefile: Likewise.
5105 * nss/Makefile: Likewise.
5106 * time/Makefile: Likewise.
5107 * soft-fp/Makefile: Likewise.
5108 * dirent/Makefile: Likewise.
5109 * gmon/Makefile: Likewise.
5110 * po/Makefile: Likewise.
5111 * rt/Makefile: Likewise.
5112 * socket/Makefile: Likewise.
5113 * math/Makefile: Likewise.
5114 * signal/Makefile: Likewise.
5115 * debug/Makefile: Likewise.
5116 * elf/Makefile: Likewise.
5117 * timezone/Makefile: Likewise.
5118 * stdlib/Makefile: Likewise.
5119 * iconvdata/Makefile: Likewise.
5120 * sunrpc/Makefile: Likewise.
5121 * io/Makefile: Likewise.
5122 * argp/Makefile: Likewise.
5123 * inet/Makefile: Likewise.
5124 * hesiod/Makefile: Likewise.
5125 * grp/Makefile: Likewise.
5126 * csu/Makefile: Likewise.
5127 * wctype/Makefile: Likewise.
5128 * crypt/Makefile: Likewise.
5129 * libio/Makefile: Likewise.
5130 * string/Makefile: Likewise.
5131 * nis/Makefile: Likewise.
5132 * resolv/Makefile: Likewise.
5133 * stdio-common/Makefile: Likewise.
5134 * wcsmbs/Makefile: Likewise.
5135 * dlfcn/Makefile: Likewise.
5136 * posix/Makefile: Likewise.
5137
3b7c4e74 5138 [BZ #6959]
482ff4da
UD
5139 * timezone/Makefile: Don't install timezone files, just the programs
5140 and scripts.
5141
f72ed77d
UD
51422012-03-06 Ulrich Drepper <drepper@gmail.com>
5143
a000466f
UD
5144 * nss/databases.def: Add missing gshadow entry.
5145
f72ed77d
UD
5146 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5147
a53b7a4e
MP
51482012-03-06 Marek Polacek <polacek@redhat.com>
5149
5150 [BZ #13726]
5151 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5152 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5153 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5154 * stdio-common/tst-long-dbl-fphex.c: New file.
5155
e9258400
DM
51562012-03-06 David S. Miller <davem@davemloft.net>
5157
5158 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5159 (set_obp_int): New function.
5160 (get_obp_int): New function.
5161 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5162 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5163 Avoid unused variable warnings on 'val' and use builtin_expect.
5164 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5165 __builtin_expect.
e9258400
DM
5166 (INLINE_CLONE_SYSCALL): Likewise.
5167
3bd2c723
DM
51682012-03-05 David S. Miller <davem@davemloft.net>
5169
5170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5171
bbb78d03
AS
51722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5173
884c5db4
AS
5174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5175
bbb78d03
AS
5176 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5177 only for |x| >= 40.
5178 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5179
1c9f702a 51802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5181
5182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5183 Replace gettimeofday with __vdso_gettimeofday.
5184
7be16f82
RM
5185 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5186 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5187 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5188
5189 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5190 time with __vdso_time.
5191
ed58a00f
JM
51922012-03-05 Joseph Myers <joseph@codesourcery.com>
5193
5194 * manual/lang.texi (size_t): Note types to which size_t may be
5195 equivalent with the GNU C Library, but do not describe when
5196 differences between them are significant.
5197
30ee4ced
AJ
51982012-03-05 Andreas Jaeger <aj@suse.de>
5199
5200 * sysdeps/i386/fpu/libm-test-ulps: Update.
5201
b7cd39e8
JM
52022012-03-05 Joseph Myers <joseph@codesourcery.com>
5203
5204 [BZ #3976]
5205 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5206 (__ieee754_pow): Save and restore rounding mode and use
5207 round-to-nearest for main computations.
5208 * math/libm-test.inc (pow_test_tonearest): New function.
5209 (pow_test_towardzero): Likewise.
5210 (pow_test_downward): Likewise.
5211 (pow_test_upward): Likewise.
5212 (main): Call the new functions.
5213 * sysdeps/i386/fpu/libm-test-ulps: Update.
5214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5215
5216 [BZ #3976]
5217 * math/libm-test.inc (cosh_test_tonearest): New function.
5218 (cosh_test_towardzero): Likewise.
5219 (cosh_test_downward): Likewise.
5220 (cosh_test_upward): Likewise.
5221 (sinh_test_tonearest): Likewise.
5222 (sinh_test_towardzero): Likewise.
5223 (sinh_test_downward): Likewise.
5224 (sinh_test_upward): Likewise.
5225 (main): Call the new functions.
5226 * sysdeps/i386/fpu/libm-test-ulps: Update.
5227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5228
6c6a98c9
TV
52292012-03-05 Tom de Vries <tom@codesourcery.com>
5230
5231 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5232 default stack guard is set in last bytes.
5233 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5234
21bb2d2e 52352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5236
21bb2d2e 5237 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5238
21bb2d2e
AJ
5239 [BZ #13656]
5240 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5241 possibly allocate from heap instead of stack.
5242 * stdio-common/bug-vfprintf-nargs.c: New file.
5243 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5244
c6922934
AS
52452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5246
5247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5248
bc957d53
MP
52492012-03-03 Marek Polacek <polacek@redhat.com>
5250
5251 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5252 * math/math_private.h: Likewise.
5253 * stdlib/tst-strtod.c: Likewise.
5254 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5255 * sysdeps/x86_64/bits/atomic.h: Likewise.
5256
6358490d
DM
52572012-03-02 David S. Miller <davem@davemloft.net>
5258
5259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5263 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5264 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5265 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5266 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5267
01ae168d
RM
52682012-03-02 Roland McGrath <roland@hack.frob.com>
5269
d9a17c07
RM
5270 [BZ #13792]
5271 * manual/examples/README: New file, says the example source files
5272 can be used under GPL>=2.
5273 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5274 line containing just "*/".
5275 * manual/examples/add.c: Add copyright header (GPL>=2).
5276 * manual/examples/argp-ex1.c: Likewise.
5277 * manual/examples/argp-ex2.c: Likewise.
5278 * manual/examples/argp-ex3.c: Likewise.
5279 * manual/examples/argp-ex4.c: Likewise.
5280 * manual/examples/atexit.c: Likewise.
5281 * manual/examples/db.c: Likewise.
5282 * manual/examples/dir.c: Likewise.
5283 * manual/examples/dir2.c: Likewise.
5284 * manual/examples/execinfo.c: Likewise.
5285 * manual/examples/filecli.c: Likewise.
5286 * manual/examples/filesrv.c: Likewise.
5287 * manual/examples/fmtmsgexpl.c: Likewise.
5288 * manual/examples/genpass.c: Likewise.
5289 * manual/examples/inetcli.c: Likewise.
5290 * manual/examples/inetsrv.c: Likewise.
5291 * manual/examples/isockad.c: Likewise.
5292 * manual/examples/longopt.c: Likewise.
5293 * manual/examples/memopen.c: Likewise.
5294 * manual/examples/memstrm.c: Likewise.
5295 * manual/examples/mkfsock.c: Likewise.
5296 * manual/examples/mkisock.c: Likewise.
5297 * manual/examples/mygetpass.c: Likewise.
5298 * manual/examples/pipe.c: Likewise.
5299 * manual/examples/popen.c: Likewise.
5300 * manual/examples/rprintf.c: Likewise.
5301 * manual/examples/search.c: Likewise.
5302 * manual/examples/select.c: Likewise.
5303 * manual/examples/setjmp.c: Likewise.
5304 * manual/examples/sigh1.c: Likewise.
5305 * manual/examples/sigusr.c: Likewise.
5306 * manual/examples/stpcpy.c: Likewise.
5307 * manual/examples/strdupa.c: Likewise.
5308 * manual/examples/strftim.c: Likewise.
5309 * manual/examples/strncat.c: Likewise.
5310 * manual/examples/subopt.c: Likewise.
5311 * manual/examples/swapcontext.c: Likewise.
5312 * manual/examples/termios.c: Likewise.
5313 * manual/examples/testopt.c: Likewise.
5314 * manual/examples/testpass.c: Likewise.
5315 * manual/examples/timeval_subtract.c: Likewise.
5316
01ae168d
RM
5317 [BZ #13792]
5318 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5319 function to ...
5320 * manual/timeval_subtract.c.texi: ... here, new file.
5321
49efa33d
DM
53222012-03-02 David S. Miller <davem@davemloft.net>
5323
5324 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5325
28afd92d
JM
53262012-03-02 Joseph Myers <joseph@codesourcery.com>
5327
804360ed
JM
5328 [BZ #3976]
5329 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5330 (__sin): Save and restore rounding mode and use round-to-nearest
5331 for all computations.
5332 (__cos): Save and restore rounding mode and use round-to-nearest
5333 for all computations.
5334 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5335 <fenv.h>.
5336 (tan): Save and restore rounding mode and use round-to-nearest for
5337 all computations.
5338 * math/libm-test.inc (cos_test_tonearest): New function.
5339 (cos_test_towardzero): Likewise.
5340 (cos_test_downward): Likewise.
5341 (cos_test_upward): Likewise.
5342 (sin_test_tonearest): Likewise.
5343 (sin_test_towardzero): Likewise.
5344 (sin_test_downward): Likewise.
5345 (sin_test_upward): Likewise.
5346 (tan_test_tonearest): Likewise.
5347 (tan_test_towardzero): Likewise.
5348 (tan_test_downward): Likewise.
5349 (tan_test_upward): Likewise.
5350 (main): Call the new functions.
5351 * sysdeps/i386/fpu/libm-test-ulps: Update.
5352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5353
a6d06d7b
JM
5354 [BZ #10135]
5355 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5356 small n, then large n, before computing and testing k+n.
5357 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5359 Likewise.
5360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5361 Likewise.
5362 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5363 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5364 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5365 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5366 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5367 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5368 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5370 * math/libm-test.inc (scalbn_test): Add more tests.
5371 (scalbln_test): Likewise.
5372
07e12bb3
JM
5373 * manual/filesys.texi (mode_t): Describe constraints on size and
5374 signedness, not exact equivalence to a particular type.
5375 (ino_t): Likewise.
5376 (ino64_t): Likewise.
5377 (dev_t): Likewise.
5378 (nlink_t): Likewise.
5379 (blkcnt_t): Likewise.
5380 (blkcnt64_t): Likewise.
5381 * manual/llio.texi (off_t): Likewise.
5382
28afd92d
JM
5383 [BZ #3976]
5384 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5385 (__ieee754_exp): Save and restore rounding mode and use
5386 round-to-nearest for all computations.
5387 * math/libm-test.inc (exp_test_tonearest): New function.
5388 (exp_test_towardzero): Likewise.
5389 (exp_test_downward): Likewise.
5390 (exp_test_upward): Likewise.
5391 (main): Call the new functions.
5392 * sysdeps/i386/fpu/libm-test-ulps: Update.
5393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5394
b1eeb65d
CD
53952012-03-01 Chris Demetriou <cgd@google.com>
5396
5397 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5398 have predictable order.
5399
53362a4b
DM
54002012-03-01 David S. Miller <davem@davemloft.net>
5401
3c969083
DM
5402 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5403
759707de
DM
5404 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5405 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5406 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5407 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5408
dfdb8ff2
DM
5409 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5410 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5411 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5413 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5414 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5415 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5416 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5417 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5418
ead89f96
DM
5419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5420
7f66bd07
DM
5421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5422 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5423 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5424
53362a4b
DM
5425 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5426 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5427 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5428 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5429 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5430 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5431 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5432 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5433 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5434 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5435 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5438 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5439 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5440 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5441 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5442 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5443 * sysdeps/sparc/elf/configure: Regenerated.
5444
7b1902cb
JM
54452012-03-01 Joseph Myers <joseph@codesourcery.com>
5446
bec039bc
JM
5447 * configure.in (AS, LD): Require binutils 2.20 or later.
5448 * configure: Regenerated.
5449 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5450 as required minimum version.
5451 * INSTALL: Regenerated.
5452
7b1902cb
JM
5453 [BZ #2541]
5454 [BZ #4108]
5455 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5456 before squaring exponent.
5457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5458 bottom long double and 27 bits of top long double before squaring
5459 exponent.
5460 * math/libm-test.inc (erfc_test): Add more tests.
5461 * sysdeps/i386/fpu/libm-test-ulps: Update.
5462 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5464
f775c276
KT
54652012-03-01 Kai Tietz <ktietz@redhat.com>
5466
5467 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5468 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5469 containing bit-fields.
5470 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5471 * soft-fp/single.h (_FP_UNION_S): Likewise.
5472 * soft-fp/double.h (_FP_UNION_D): Likewise.
5473
5b8a4d4a
JM
54742012-02-29 Joseph Myers <joseph@codesourcery.com>
5475
0bab47b6
JM
5476 [BZ #13786]
5477 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5478 not include ../strcmp.S.
5479 [USE_AS_STRNCASECMP_L]: Likewise.
5480 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5481 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5482 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5483 (__strncasecmp_l_ia32): Define as alias to
5484 __strncasecmp_l_nonascii.
5485
0fcad3e2
JM
5486 [BZ #5794]
5487 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5488 * sysdeps/i386/fpu/libm-test-ulps: Update.
5489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5490
5b8a4d4a
JM
5491 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493
8fdceb2e
JL
54942012-02-29 Jeff Law <law@redhat.com>
5495
5496 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5497 out of bounds read.
5498
1f393a11
MP
54992012-02-29 Marek Polacek <polacek@redhat.com>
5500
5501 [BZ #13706]
5502 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5503 * elf/Makefile: Add rules to run tst-unused-dep.out.
5504
8847f037
DM
55052012-02-28 David S. Miller <davem@davemloft.net>
5506
5507 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5508 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5509 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5510 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5511 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5512 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5513
169d7f11
JM
55142012-02-29 Joseph Myers <joseph@codesourcery.com>
5515
5516 * math/libm-test.inc (llround_test): Move one test from
5517 lround_test. Use TEST_f_L in moved test.
5518 (lround_test): Move misplaced test to llround_test. Add testcase
5519 from bug 2561.
5520
39adf059
UD
55212012-02-28 Ulrich Drepper <drepper@gmail.com>
5522
5523 * sysdeps/x86_64/fpu/e_expf.S: New file.
5524 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5525
71b5d1c5
SB
55262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5527
5528 [BZ #13637]
5529 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5530 of remain_len that may cause incomplete multi-byte character and
5531 false match.
5532 * posix/bug-regex33.c: New file.
5533 * posix/Makefile (tests): Add bug-regex33.
5534
1f77f049
JM
55352012-02-28 Joseph Myers <joseph@codesourcery.com>
5536
5537 * manual/macros.texi: New file.
5538 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5539 * manual/libc.texinfo: Include macros.texi.
5540 * manual/creatute.texi: Likewise.
5541 * manual/install.texi: Likewise.
5542 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5543 @glibcadj{} in references to the GNU C Library.
5544 * manual/charset.texi: Likewise.
5545 * manual/conf.texi: Likewise.
5546 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5547 when not using those macros.
5548 * manual/creature.texi: Likewise.
5549 * manual/crypt.texi: Likewise.
5550 * manual/errno.texi: Likewise.
5551 * manual/filesys.texi: Likewise.
5552 * manual/header.texi: Likewise.
5553 * manual/install.texi: Likewise.
5554 * manual/intro.texi: Likewise.
5555 * manual/io.texi: Likewise.
5556 * manual/job.texi: Likewise.
5557 * manual/lang.texi: Likewise.
5558 * manual/libc.texiinfo: Likewise.
5559 * manual/llio.texi: Likewise.
5560 * manual/locale.texi: Likewise.
5561 * manual/maint.texi: Likewise.
5562 * manual/math.texi: Likewise.
5563 * manual/memory.texi: Likewise.
5564 * manual/message.texi: Likewise.
5565 * manual/nss.texi: Likewise.
5566 * manual/pattern.texi: Likewise.
5567 * manual/process.texi: Likewise.
5568 * manual/resource.texi: Likewise.
5569 * manual/search.texi: Likewise.
5570 * manual/setjmp.texi: Likewise.
5571 * manual/signal.texi: Likewise.
5572 * manual/socket.texi: Likewise.
5573 * manual/startup.texi: Likewise.
5574 * manual/stdio.texi: Likewise.
5575 * manual/string.texi: Likewise.
5576 * manual/sysinfo.texi: Likewise.
5577 * manual/syslog.texi: Likewise.
5578 * manual/terminal.texi: Likewise.
5579 * manual/time.texi: Likewise.
5580 * manual/users.texi: Likewise.
5581 * INSTALL: Regenerated.
5582 * NOTES: Regenerated.
d40c5d54 5583 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5584
450bf206
AS
55852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5586
5587 * include/dirent.h: Include <dirstream.h> before
5588 <dirent/dirent.h>.
5589
741a235b
DM
55902012-02-28 David S. Miller <davem@davemloft.net>
5591
5592 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5593 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5594 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5595 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5596
d6b5aa58
DM
55972012-02-27 David S. Miller <davem@davemloft.net>
5598
1aff59a3
DM
5599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5601 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5602 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5603
d6b5aa58
DM
5604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5605 frame pointer instead of stack pointer relative arg slot.
5606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5607 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5608 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5609
433f48bf
CD
56102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5611
5612 [BZ #3992]
5613 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5614
d674b76d
DM
56152012-02-27 David S. Miller <davem@davemloft.net>
5616
5617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5623 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5624 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5625
0e7727f7
JM
56262012-02-27 Joseph Myers <joseph@codesourcery.com>
5627
5628 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5629 later. Allow versions 5-9.
43be4ca2 5630 * configure: Regenerated.
0e7727f7
JM
5631 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5632 required minimum version and 4.6 as recommended version. Do not
5633 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5634 * INSTALL: Regenerated.
0e7727f7 5635
a78bc654
DM
56362012-02-27 David S. Miller <davem@davemloft.net>
5637
428d5830
DM
5638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5642 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5643 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5644 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5645 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5646
a78bc654
DM
5647 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5648 manipulate bits before adding and subtracting TWO112[sx].
5649 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5650
4579f81c
RM
56512012-02-27 Roland McGrath <roland@hack.frob.com>
5652
36c8acb4
RM
5653 [BZ #13775]
5654 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5655 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5656 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5657 being in POSIX, because they are in 1003.1-2008.
5658
84ad622b
RM
5659 * rt/tst-aio.c: Include <fcntl.h>.
5660 * rt/tst-aio7.c: Likewise.
5661 * rt/tst-aio64.c: Likewise.
5662
4579f81c
RM
5663 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5664
abd923db
JM
56652012-02-27 Joseph Myers <joseph@codesourcery.com>
5666
5667 * manual/install.texi (--with-headers): Describe headers as
5668 interface headers, not private headers.
5669 (Specific advice for GNU/Linux systems): Describe use of headers
5670 from "make headers_install", not private headers from older
5671 kernels.
43be4ca2 5672 * INSTALL: Regenerated.
abd923db
JM
5673 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5674 Change to 2.6.19.
5675 * sysdeps/unix/sysv/linux/configure: Regenerated.
5676
6664049b
JM
5677 * manual/llio.texi (fclean): Remove documentation.
5678
bb8b6697
JM
5679 * manual/Makefile (libc-texi-generated): New variable. Include
5680 version.texi.
5681 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5682 $(libc-texi-generated), not duplicated list of files.
5683 (version.texi, stamp-version): New rules.
5684 (realclean): Remove $(libc-texi-generated), not individual files
5685 from that list. Do not remove dir-add.texinfo.
5686 * manual/libc.texinfo: Comment out uses of edition numbers and
5687 references to printed manual. Remove last-updated dates.
5688 (EDITION): Comment out.
5689 (ISBN): Likewise.
5690 (VERSION, UPDATED): Remove.
5691 (version.texi): Include.
5692
12e5c3b9
AS
56932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5694
5695 * sysdeps/posix/spawni.c: Include <signal.h>.
5696 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5697 * sysdeps/pthread/aio_fsync.c: Likewise.
5698
4efeffc1 56992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5700
ba63ba08
UD
5701 * conform/Makefile (tests): Run only when not cross-compiling and
5702 when fast-check is not defined.
5703
d94a4670
UD
5704 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5705 * conform/data/limits.h-data: Fixes for POSIX2008.
5706 * conform/run-conformtest.sh: Run all tests.
5707 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5708 headers.
5709 * include/bits/dlfcn.h: Likewise.
5710 * include/langinfo.h: Likewise.
5711 * include/monetary.h: Likewise.
5712 * include/sys/poll.h: Likewise.
5713
5714 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5715 for __USE_GNU.
5716 * posix/spawn.h: Define __need_sigset_t.
5717 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5718 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5719 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5720 to get sigevent_t only.
5721 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5722 only for __USE_GNU.
5723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5724 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5725 process_vm_writev only for __USE_GNU.
5726 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5727
5728 * conform/Makefile: For now ignore errors from run-conformtest.
5729 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5730 POSIX to avoid namespace pollution. Don't prepend headers.
5731 * conform/data/aio.h-data: Fixes for POSIX testing.
5732 * conform/data/fcntl.h-data: Likewise.
5733 * conform/data/glob.h-data: Likewise.
5734 * conform/data/grp.h-data: Likewise.
5735 * conform/data/pthread.h-data: Likewise.
5736 * conform/data/pwd.h-data: Likewise.
5737 * conform/data/signal.h-data: Likewise.
5738 * conform/data/spawn.h-data: Likewise.
5739 * conform/data/stdio.h-data: Likewise.
5740 * conform/data/stdlib.h-data: Likewise.
5741 * conform/data/stropts.h-data: Likewise.
5742 * conform/data/sys/mman.h-data: Likewise.
5743 * conform/data/sys/stat.h-data: Likewise.
5744 * conform/data/sys/types.h-data: Likewise.
5745 * conform/data/sys/wait.h-data: Likewise.
5746 * conform/data/time.h-data: Likewise.
5747 * conform/data/unistd.h-data: Likewise.
5748 * conform/data/utime.h-data: Likewise.
5749
5750 * io/sys/stat.h: fchmod was always in POSIX.
5751 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5752 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5753 * rt/aio.h: Define __need_timespec before including <time.h>.
5754 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5755 struct. Add forward declaration of pthread_attr_t and use it in
5756 sigevent.
5757 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5758 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5759 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5760 always remove CLK_TCK definition.
5761
c20105c3
AS
57622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5763
5764 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5765
7a270350
UD
57662012-02-25 Ulrich Drepper <drepper@gmail.com>
5767
31341567
UD
5768 * conform/run-conformtest.sh: New file.
5769 * conform/Makefile: Run run-conformtest for tests.
5770 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5771 support.
5772
5773 * conform/data/uchar.h-data: New file.
5774 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5775 * conform/data/arpa/inet.h-data: Likewise.
5776 * conform/data/assert.h-data: Likewise.
5777 * conform/data/complex.h-data: Likewise.
5778 * conform/data/cpio.h-data: Likewise.
5779 * conform/data/ctype.h-data: Likewise.
5780 * conform/data/dirent.h-data: Likewise.
5781 * conform/data/dlfcn.h-data: Likewise.
5782 * conform/data/errno.h-data: Likewise.
5783 * conform/data/fcntl.h-data: Likewise.
5784 * conform/data/float.h-data: Likewise.
5785 * conform/data/fmtmsg.h-data: Likewise.
5786 * conform/data/fnmatch.h-data: Likewise.
5787 * conform/data/ftw.h-data: Likewise.
5788 * conform/data/glob.h-data: Likewise.
5789 * conform/data/grp.h-data: Likewise.
5790 * conform/data/iconv.h-data: Likewise.
5791 * conform/data/inttypes.h-data: Likewise.
5792 * conform/data/langinfo.h-data: Likewise.
5793 * conform/data/libgen.h-data: Likewise.
5794 * conform/data/limits.h-data: Likewise.
5795 * conform/data/locale.h-data: Likewise.
5796 * conform/data/math.h-data: Likewise.
5797 * conform/data/monetary.h-data: Likewise.
5798 * conform/data/mqueue.h-data: Likewise.
5799 * conform/data/ndbm.h-data: Likewise.
5800 * conform/data/net/if.h-data: Likewise.
5801 * conform/data/netdb.h-data: Likewise.
5802 * conform/data/netinet/in.h-data: Likewise.
5803 * conform/data/nl_types.h-data: Likewise.
5804 * conform/data/poll.h-data: Likewise.
5805 * conform/data/pthread.h-data: Likewise.
5806 * conform/data/pwd.h-data: Likewise.
5807 * conform/data/regex.h-data: Likewise.
5808 * conform/data/sched.h-data: Likewise.
5809 * conform/data/search.h-data: Likewise.
5810 * conform/data/semaphore.h-data: Likewise.
5811 * conform/data/setjmp.h-data: Likewise.
5812 * conform/data/signal.h-data: Likewise.
5813 * conform/data/spawn.h-data: Likewise.
5814 * conform/data/stdarg.h-data: Likewise.
5815 * conform/data/stdio.h-data: Likewise.
5816 * conform/data/stdlib.h-data: Likewise.
5817 * conform/data/string.h-data: Likewise.
5818 * conform/data/strings.h-data: Likewise.
5819 * conform/data/stropts.h-data: Likewise.
5820 * conform/data/sys/ipc.h-data: Likewise.
5821 * conform/data/sys/mman.h-data: Likewise.
5822 * conform/data/sys/msg.h-data: Likewise.
5823 * conform/data/sys/resource.h-data: Likewise.
5824 * conform/data/sys/select.h-data: Likewise.
5825 * conform/data/sys/sem.h-data: Likewise.
5826 * conform/data/sys/shm.h-data: Likewise.
5827 * conform/data/sys/socket.h-data: Likewise.
5828 * conform/data/sys/stat.h-data: Likewise.
5829 * conform/data/sys/statvfs.h-data: Likewise.
5830 * conform/data/sys/time.h-data: Likewise.
5831 * conform/data/sys/timeb.h-data: Likewise.
5832 * conform/data/sys/times.h-data: Likewise.
5833 * conform/data/sys/types.h-data: Likewise.
5834 * conform/data/sys/uio.h-data: Likewise.
5835 * conform/data/sys/un.h-data: Likewise.
5836 * conform/data/sys/utsname.h-data: Likewise.
5837 * conform/data/sys/wait.h-data: Likewise.
5838 * conform/data/syslog.h-data: Likewise.
5839 * conform/data/tar.h-data: Likewise.
5840 * conform/data/termios.h-data: Likewise.
5841 * conform/data/utime.h-data: Likewise.
5842 * conform/data/utmpx.h-data: Likewise.
5843 * conform/data/varargs.h-data: Likewise.
5844 * conform/data/wchar.h-data: Likewise.
5845 * conform/data/wctype.h-data: Likewise.
5846 * conform/data/wordexp.h-data: Likewise.
5847
5848 * include/stropts.h: New file.
5849 * include/uchar.h: New file.
5850 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5851 * include/assert.h: Likewise.
5852 * include/ctype.h: Likewise.
5853 * include/dirent.h: Likewise.
5854 * include/dlfcn.h: Likewise.
5855 * include/fcntl.h: Likewise.
5856 * include/fnmatch.h: Likewise.
5857 * include/glob.h: Likewise.
5858 * include/grp.h: Likewise.
5859 * include/libio.h: Likewise.
5860 * include/locale.h: Likewise.
5861 * include/math.h: Likewise.
5862 * include/net/if.h: Likewise.
5863 * include/netdb.h: Likewise.
5864 * include/netinet/in.h: Likewise.
5865 * include/pthread.h: Likewise.
5866 * include/pwd.h: Likewise.
5867 * include/regex.h: Likewise.
5868 * include/sched.h: Likewise.
5869 * include/search.h: Likewise.
5870 * include/setjmp.h: Likewise.
5871 * include/signal.h: Likewise.
5872 * include/stdio.h: Likewise.
5873 * include/stdlib.h: Likewise.
5874 * include/string.h: Likewise.
5875 * include/sys/cdefs.h: Likewise.
5876 * include/sys/mman.h: Likewise.
5877 * include/sys/msg.h: Likewise.
5878 * include/sys/resource.h: Likewise.
5879 * include/sys/select.h: Likewise.
5880 * include/sys/socket.h: Likewise.
5881 * include/sys/stat.h: Likewise.
5882 * include/sys/statvfs.h: Likewise.
5883 * include/sys/time.h: Likewise.
5884 * include/sys/times.h: Likewise.
5885 * include/sys/uio.h: Likewise.
5886 * include/sys/utsname.h: Likewise.
5887 * include/sys/wait.h: Likewise.
5888 * include/termios.h: Likewise.
5889 * include/time.h: Likewise.
5890 * include/ulimit.h: Likewise.
5891 * include/unistd.h: Likewise.
5892 * include/utime.h: Likewise.
5893 * include/wchar.h: Likewise.
5894 * include/wctype.h: Likewise.
5895 * include/wordexp.h: Likewise.
5896
5897 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5898
7a270350
UD
5899 * time/time.h: TIME_UTC must be a macro.
5900 Make timespec_get available for ISO C11 only as well.
5901
7724defc
UD
59022012-02-24 Ulrich Drepper <drepper@gmail.com>
5903
5904 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5905 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5906
6b1d1d46
JM
59072012-02-24 Joseph Myers <joseph@codesourcery.com>
5908
5909 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5910
0f8bbd69
JM
59112012-02-24 Joseph Myers <joseph@codesourcery.com>
5912
5913 * manual/texinfo.tex: Update to version 2012-01-19.16.
5914
66ab80bc
JM
59152012-02-24 Joseph Myers <joseph@codesourcery.com>
5916
5917 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5918
74981cc5
RM
59192012-02-24 Roland McGrath <roland@hack.frob.com>
5920
ee968201
RM
5921 [BZ #13738]
5922 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5923 * manual/fdl-1.3.texi: New file.
5924 * manual/fdl-1.1.texi: File removed.
5925
74981cc5
RM
5926 [BZ #13738]
5927 * manual/libc.texinfo (FDL_VERSION): New @set.
5928 Use it for mention of FDL in cover text.
5929 (Documentation License): Use it in @include file name.
5930
7bb764bc
JM
59312012-02-22 Joseph Myers <joseph@codesourcery.com>
5932 Roland McGrath <roland@hack.frob.com>
5933
5934 [BZ #5461]
5935 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5936 not LONG_LONG_MAX and LONG_LONG_MIN.
5937 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5938 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5939 name.
5940 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5941
6cbeae47
JM
59422012-02-22 Joseph Myers <joseph@codesourcery.com>
5943
5944 [BZ #2547]
5945 [BZ #11365]
5946 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5947 manipulate bits before adding and subtracting TWO23[sx].
5948 * math/libm-test.inc (nearbyint_test): Add more tests.
5949
fe45ce09
JM
59502012-02-22 Joseph Myers <joseph@codesourcery.com>
5951
5952 [BZ #2548]
5953 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5954 bits before adding and subtracting TWO23[sx].
5955 * math/libm-test.inc (rint_test): Add more tests.
5956 (rint_test_tonearest): Likewise.
5957 (rint_test_towardzero): Likewise.
5958 (rint_test_downward): Likewise.
5959 (rint_test_upward: Likewise.
5960
ff3b3d82
JM
59612012-02-22 Joseph Myers <joseph@codesourcery.com>
5962
5963 [BZ #10110]
5964 * include/stdc-predef.h: New file. Extracted from features.h.
5965 * include/features.h: Include stdc-predef.h.
5966 * Makefile (headers): Add stdc-predef.h.
5967 * CONFORMANCE (Compiler limitations): Update.
5968
ef0aab35
JM
59692012-02-22 Joseph Myers <joseph@codesourcery.com>
5970
5971 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5972
58639409
DM
59732012-02-21 David S. Miller <davem@davemloft.net>
5974
5975 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5976 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5977
c0e70b25
DM
59782012-02-20 David S. Miller <davem@davemloft.net>
5979
5980 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5981 using a normal save/restore sequence, rather than allocating a
5982 dummy stack frame just to store a frame pointer and restore.
5983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5984
fb06851d
JM
59852012-02-21 Joseph Myers <joseph@codesourcery.com>
5986
5987 * manual/install.texi: Fix stray word in line-wrapped comment.
5988
7a8b71c3
DM
59892012-02-20 David S. Miller <davem@davemloft.net>
5990
d510c123
DM
5991 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5992 both binutils and gcc support GOTDATA.
5993
0722d7c2
DM
5994 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5995 "rd %pc" in the PIC register setup sequences.
5996
3d2b3019
DM
5997 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5998 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5999 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6000 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6001 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6003 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6004 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6005 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6006 (SYSCALL_ERROR_HANDLER): Likewise.
6007 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6008 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6010 (SYSCALL_ERROR_HANDLER): Likewise.
6011
c80098a9
DM
6012 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6013 (HAVE_GCC_GOTDATA): New.
6014 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6015 relocation support in both binutils and gcc.
6016 * sysdeps/sparc/elf/configure: Regenerate.
6017
3a2545a0
DM
6018 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6019 * sysdeps/sparc/sparc32/elf/configure: Delete.
6020 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6021 * sysdeps/sparc/sparc64/elf/configure: Delete.
6022 * sysdeps/sparc/elf/configure.in: New file.
6023 * sysdeps/sparc/elf/configure: Generate.
6024
7a8b71c3
DM
6025 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6026 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6027 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6028 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6029 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6030
f1e86fca
JM
60312012-02-21 Joseph Myers <joseph@codesourcery.com>
6032
6033 * manual/install.texi: Do not mention specific glibc version
6034 numbers.
6035 * manual/libc.texinfo (VERSION, UPDATED): Update.
6036 (@copying): Use @copyright{} and range of years.
6037
0e7dfaef
JM
60382012-02-21 Joseph Myers <joseph@codesourcery.com>
6039
6040 [BZ #13695]
6041 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6042 [crti.S not in sysdirs] (generated): Do not append.
6043 [crti.S not in sysdirs] (omit-deps): Likewise.
6044 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6045 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6046 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6047 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6048 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6049 Likewise.
6050 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6051 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6052 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6053 * csu/defs.awk: Remove file.
6054 * sysdeps/generic/initfini.c: Likewise.
6055 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6056 variable.
6057 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6058 Likewise.
6059
599af3ca
JM
60602012-02-20 Joseph Myers <joseph@codesourcery.com>
6061
6062 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6063 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6064 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6065 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6066 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6067 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6068 <bits/epoll.h>.
6069 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6070 (__EPOLL_PACKED): Define to empty if not defined by
6071 <bits/epoll.h>.
6072 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6074 bits/epoll.h.
6075
0e499750
JM
60762012-02-20 Joseph Myers <joseph@codesourcery.com>
6077
6078 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6079 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6080 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6081 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6082 <bits/timerfd.h>.
6083 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6085 bits/timerfd.h.
6086
5ad91f6e
JM
60872012-02-20 Joseph Myers <joseph@codesourcery.com>
6088
6089 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6090 in C locale.
6091 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6092 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6093 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6095
06b99b02
AJ
60962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6097
6098 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6099 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6100
7638c0fd
AS
61012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6102
6103 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6104 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6105 defined.
6106 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6107 Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6109 entry for 2.16.
6110
92221550
AJ
61112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6112
6113 * math/w_acos.c: Use non-signaling floating-point comparisons.
6114 * math/w_acosf.c: Likewise.
6115 * math/w_acosh.c: Likewise.
6116 * math/w_acoshf.c: Likewise.
6117 * math/w_acoshl.c: Likewise.
6118 * math/w_acosl.c: Likewise.
6119 * math/w_asin.c: Likewise.
6120 * math/w_asinf.c: Likewise.
6121 * math/w_asinl.c: Likewise.
6122 * math/w_atanh.c: Likewise.
6123 * math/w_atanhf.c: Likewise.
6124 * math/w_atanhl.c: Likewise.
6125 * math/w_exp2.c: Likewise.
6126 * math/w_exp2f.c: Likewise.
6127 * math/w_exp2l.c: Likewise.
6128 * math/w_j0.c: Likewise.
6129 * math/w_j0f.c: Likewise.
6130 * math/w_j0l.c: Likewise.
6131 * math/w_j1.c: Likewise.
6132 * math/w_j1f.c: Likewise.
6133 * math/w_j1l.c: Likewise.
6134 * math/w_jn.c: Likewise.
6135 * math/w_jnf.c: Likewise.
6136 * math/w_log.c: Likewise.
6137 * math/w_log10.c: Likewise.
6138 * math/w_log10f.c: Likewise.
6139 * math/w_log10l.c: Likewise.
6140 * math/w_log2.c: Likewise.
6141 * math/w_log2f.c: Likewise.
6142 * math/w_log2l.c: Likewise.
6143 * math/w_logf.c: Likewise.
6144 * math/w_logl.c: Likewise.
6145 * math/w_sqrt.c: Likewise.
6146 * math/w_sqrtf.c: Likewise.
6147 * math/w_sqrtl.c: Likewise.
6148 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6150 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6151 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6153
ebaf36eb
JM
61542012-02-19 Joseph Myers <joseph@codesourcery.com>
6155
6156 [BZ #9739]
6157 * manual/string.texi (strnlen): Use correct parameter name in
6158 equivalent expression.
6159
71c254a6
JM
61602012-02-19 Joseph Myers <joseph@codesourcery.com>
6161
6162 [BZ #11174]
6163 * manual/users.texi (seteuid): Consistently use neweuid for
6164 argument name.
6165
16d2c631
JM
61662012-02-19 Joseph Myers <joseph@codesourcery.com>
6167
6168 [BZ #13704]
6169 * manual/nss.texi (Services in the NSS configuration): Correct
6170 list of services in example configuration file.
6171
cd837b09
NB
61722012-02-19 Nick Bowler <nbowler@draconx.ca>
6173
6174 [BZ #11322]
6175 * manual/arith.texi: Remove statements about negative zero
6176 behaving identically to zero.
6177
02c4bbad
JM
61782012-02-18 Joseph Myers <joseph@codesourcery.com>
6179
6180 [BZ #5993]
6181 * manual/install.texi: Do not document upgrading from libc5.
6182
366842e7
JM
61832012-02-18 Joseph Myers <joseph@codesourcery.com>
6184
6185 [BZ #4596]
6186 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6187
dd54084d
DM
61882012-02-18 David S. Miller <davem@davemloft.net>
6189
6190 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6191 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6192 %o7 across the call.
6193 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6194 instead.
6195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6196 SETUP_PIC_REG_LEAF.
6197 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6198 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6199 * sysdeps/sparc/crtn.S: Likewise.
6200
2bcc53a3
UD
62012012-02-17 Ulrich Drepper <drepper@gmail.com>
6202
6203 * aout/Makefile: Remove.
6204
09c093b5
RK
62052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6206
6207 [BZ #13058]
6208 * manual/examples/argp-ex1.c (main): Format definition in GNU
6209 style.
6210 * manual/examples/argp-ex2.c (main): Likewise.
6211 * manual/examples/argp-ex3.c (main): Likewise.
6212 * manual/examples/argp-ex4.c (main): Likewise.
6213 * manual/examples/longopt.c (main): Use new-style prototype
6214 definition.
6215 * manual/examples/strncat.c (main): Specify return type and use
6216 (void) for arguments.
6217 * manual/examples/subopt.c (main): Use char **argv argument.
6218
2ee633a2
JM
62192012-02-17 Joseph Myers <joseph@codesourcery.com>
6220
6221 [BZ #5077]
6222 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6223 rounding modes.
6224
0520adde
FB
62252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6226
6227 [BZ #6907]
6228 * manual/string.texi (strchr): Change when strchrnul is
6229 recommended.
6230
3f4081cd
DGM
62312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6232
6233 [BZ #174]
6234 * manual/locale.texi (setlocale): Document LOCPATH.
6235
d1b10e78
JM
62362012-02-17 Joseph Myers <joseph@codesourcery.com>
6237
6238 [BZ #10210]
6239 * manual/process.texi (execle): Move @dots{} before last argument.
6240
79c6869c
PB
62412012-02-17 Paul Bolle <pebolle@tiscali.nl>
6242
6243 [BZ #12047]
6244 * manual/charset.texi (Generic Charset Conversion): Fix typo
6245 (LC_TYPE -> LC_CTYPE).
6246
cc6e48bc
NB
62472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6248
6249 [BZ #5805]
6250 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6251 (scalbnf): Likewise.
6252 (scalbnl): Likewise.
6253 (scalbln): Likewise.
6254 (scalblnf): Likewise.
6255 (scalblnl): Likewise.
6256 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6257 (vwarnx): Likewise.
6258 (verr): Likewise.
6259 (verrx): Likewise.
6260 * manual/filesys.texi (telldir): Use braces around return type.
6261 * manual/llio.texi (mmap): Add space after comma.
6262 (mmap64): Likewise.
6263 * manual/math.texi (jn): Use @var{} on parameter names.
6264 (jnf): Likewise.
6265 (jnl): Likewise.
6266 (yn): Likewise.
6267 (ynf): Likewise.
6268 (ynl): Likewise.
6269 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6270 line.
6271 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6272 "...".
6273 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6274 (sched_get_priority_max): Likewise.
6275 * manual/signal.texi (sigvec): Add space after comma.
6276 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6277 names.
6278 (if_indextoname): Likewise.
6279 (if_freenameindex): Likewise.
6280 (sendto): Use ',' instead of '.' in prototype.
6281 * manual/startup.texi (syscall): Use @dots{} instead of literal
6282 "...".
6283 * manual/stdio.texi (__fpending): Separate initial words of
6284 paragraph from @deftypefun line.
6285 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6286 "...".
6287 (vsyslog): Use @var{} on parameter names.
6288 * manual/terminal.texi (stty): Use @var{} on parameter names.
6289 * manual/users.texi (getutmp): Use @var{} on parameter names.
6290 (getutmpx): Likewise.
6291
5b23062f
JM
62922012-02-17 Joseph Myers <joseph@codesourcery.com>
6293
6294 [BZ #6884]
6295 * manual/stdio.texi (fopen): Fix typos in description of
6296 ",ccs=STRING".
6297
8dee4833
AJ
62982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6299
6300 [BZ #4026]
6301 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6302 get clock_id definition.
6303
9078ce93
TS
63042012-02-17 Thomas Schwinge <thomas@schwinge.name>
6305
6306 [BZ #4822]
6307 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6308 (madvise): Cast every argument to void on its own.
6309
3835c55f
JM
63102012-02-17 Joseph Myers <joseph@codesourcery.com>
6311
6312 [BZ #9902]
6313 * manual/startup.texi (Exit Status): Fix typo.
6314
35c47e37
JM
63152012-02-17 Joseph Myers <joseph@codesourcery.com>
6316
6317 [BZ #10140]
6318 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6319 * manual/examples/argp-ex2.c: Likewise.
6320 * manual/examples/argp-ex3.c: Likewise.
6321
e3b69ca7
RH
63222012-02-16 Richard Henderson <rth@redhat.com>
6323
6324 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6325 * sysdeps/s390/s390-32/initfini.c: Remove.
6326 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6327 * sysdeps/s390/s390-64/initfini.c: Remove.
6328
df83af67
KK
63292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6330
6331 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6332 compiler output for sysdeps/generic/initfini.c.
6333 * sysdeps/sh/elf/initfini.c: Remove file.
6334
f63f3380
DM
63352012-02-16 David S. Miller <davem@davemloft.net>
6336
fb59b3a4
DM
6337 [BZ #11494]
6338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6339
f63f3380
DM
6340 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6341 * sysdeps/sparc/crti.S: New file.
6342 * sysdeps/sparc/crtn.S: New file.
6343 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6344 * sysdeps/sparc/sparc64/Makefile: Likewise.
6345
df6a4a4a
MF
63462012-02-15 Mike Frysinger <vapier@gentoo.org>
6347
6dd8f3dc 6348 [BZ #3335]
df6a4a4a
MF
6349 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6350
1cac7236
RM
63512012-02-15 Roland McGrath <roland@hack.frob.com>
6352
d2c736f8
RM
6353 [BZ #4822]
6354 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6355
1cac7236
RM
6356 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6357 (write, read, close): Likewise.
6358 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6359
8e475601
JM
63602012-02-15 Joseph Myers <joseph@codesourcery.com>
6361
6362 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6363 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6364 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6365 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6366 <bits/signalfd.h>.
6367 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6369 bits/signalfd.h.
6370
ed656b40
MP
63712012-02-14 Marek Polacek <polacek@redhat.com>
6372
6373 * sysdeps/x86_64/crti.S: New file.
6374 * sysdeps/x86_64/crtn.S: New file.
6375 * sysdeps/x86_64/elf/initfini.c: Remove file.
6376
2a979d3a
JM
63772012-02-13 Joseph Myers <joseph@codesourcery.com>
6378
6379 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6380 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6381 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6382 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6383 <bits/inotify.h>.
6384 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6386 bits/inotify.h.
6387
2a418ac3
JM
63882012-02-13 Joseph Myers <joseph@codesourcery.com>
6389
6390 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6391 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6392 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6393 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6394 <bits/eventfd.h>.
6395 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6397 bits/eventfd.h.
6398
fb779be7
TS
63992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6400
e19e83c5
RM
6401 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6402 __feraiseexcept instead of feraiseexcept.
7c35ffed 6403
fb779be7
TS
6404 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6405 nanosleep invocations.
6406 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6407 strings, and add error checking for a nanosleep invocations.
6408
59ba27a6
PE
64092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6410
6411 Replace FSF snail mail address with URLs, as per GNU coding standards.
6412 Most of the snail mail addresses were wrong anyway, and omitting
6413 them makes the source code easier to maintain. Almost all of the
6414 changes are to license notices and to locale LC_IDENTIFICATION
6415 addresses, except for this one:
6416 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6417 not its snail mail address.
6418
57b957eb
RH
64192012-02-09 Richard Henderson <rth@twiddle.net>
6420
af850b1c
RH
6421 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6422 of kernel-features.h.
6423
57b957eb
RH
6424 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6425
6b73181a
MP
64262012-02-08 Marek Polacek <polacek@redhat.com>
6427
6428 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6429 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6430 * sysdeps/gnu/_G_config.h: Likewise.
6431 * sysdeps/generic/_G_config.h: Likewise.
6432
26ecc33a
AS
64332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6434
6c6dbc63
AS
6435 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6436 tests.
6437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6438
e216c012
AS
6439 * sysdeps/powerpc/powerpc32/crti.S: New file.
6440 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6441 * sysdeps/powerpc/powerpc64/crti.S: New file.
6442 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6443
26ecc33a
AS
6444 * Makeconfig (have-initfini): Don't set.
6445 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6446 * configure.in (nopic_initfini): Don't substitute.
6447 * config.h.in (HAVE_INITFINI): Don't #undef.
6448 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6449 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6450
3add8e13
JM
64512012-02-08 Joseph Myers <joseph@codesourcery.com>
6452
6453 Support crti.S and crtn.S provided directly by architectures.
6454 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6455 [crti.S in sysdirs] (omit-deps): Likewise.
6456 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6457 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6458 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6459 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6460 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6461 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6462 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6463 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6464 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6465 compiler output for sysdeps/generic/initfini.c.
6466 * sysdeps/i386/elf/Makefile: Remove file.
6467 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6468
a22f12b4
MP
64692012-02-07 Marek Polacek <polacek@redhat.com>
6470
6471 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6472 * sysdeps/gnu/_G_config.h: Likewise.
6473 * sysdeps/mach/hurd/_G_config.h: Likewise.
6474
148cf100
MP
64752012-02-07 Marek Polacek <polacek@redhat.com>
6476
6477 * math/Makefile (tests): Add tst-CMPLX2.
6478 * math/tst-CMPLX2.c: New file.
6479
cfdc0dd7
AS
64802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6481
84ba42c4
AS
6482 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6483
cfdc0dd7
AS
6484 * math/libm-test.inc (jn_test): Add missing L suffix.
6485
622c86f4
MP
64862012-02-06 Marek Polacek <polacek@redhat.com>
6487
6488 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6489 * sysdeps/i386/fpu/e_powf.S: Likewise.
6490 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6491 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6492 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6493 * sysdeps/i386/fpu/e_pow.S: Likewise.
6494 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6495 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6496 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6497 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6498 * sysdeps/i386/fpu/e_log2.S: Likewise.
6499 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6500 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6501 * sysdeps/i386/fpu/e_powl.S: Likewise.
6502 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6503 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6504 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6505 * sysdeps/i386/fpu/e_logl.S: Likewise.
6506 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6507 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6508 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6509 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6510 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6511 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6512 * sysdeps/i386/fpu/e_log.S: Likewise.
6513 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6514 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6515 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6516 * sysdeps/i386/fpu/e_logf.S: Likewise.
6517 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6518 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6519 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6520 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6521 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6522 * sysdeps/i386/fpu/e_log10.S: Likewise.
6523 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6524 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6525 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6526 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6527 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6528 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6529 * sysdeps/i386/asm-syntax.h: Likewise.
6530 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6531 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6532 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6533 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6534 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6535 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6536 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6537 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6538 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6539 * sysdeps/powerpc/sysdep.h: Likewise.
6540 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6541 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6542
d4a54ac6
JM
65432012-02-06 Joseph Myers <joseph@codesourcery.com>
6544
6545 [BZ #411]
6546 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6547
314054ea
JM
65482012-02-06 Joseph Myers <joseph@codesourcery.com>
6549
6550 * sysdeps/i386/sysdep.h: Include <features.h>.
6551 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6552 version.
6553
d8e0ca50
JM
65542012-02-05 Joseph Myers <joseph@codesourcery.com>
6555
6556 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6557 Define.
6558 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6559 LOAD_PIC_REG_STR.
6560
b1da7dd9
JM
65612012-02-03 Joseph Myers <joseph@codesourcery.com>
6562
6563 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6564 (SETUP_PIC_REG): Use GET_PC_THUNK.
6565 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6566 macro.
6567
9a1d9254
JM
65682012-02-03 Joseph Myers <joseph@codesourcery.com>
6569
6570 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6571 for non-PIC compilation.
6572 (SETUP_PIC_REG): Add .p2align directive.
6573 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6574 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6575 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6576 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6577 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6578 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6579 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6580 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6581 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6585 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6586 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6587 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6588 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6589 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6590 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6591 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6592 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6593 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6594 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6595 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6596 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6597 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6599 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6600 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6601 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6602 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6603 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6604 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6605 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6606 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6607 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6608 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6609 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6610 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6611 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6612 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6613 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6614
65dc3b75
JM
66152012-02-03 Joseph Myers <joseph@codesourcery.com>
6616
6617 * math/tst-CMPLX.c: Include <stdio.h>.
6618
d55bf177
JM
66192012-01-31 Joseph Myers <joseph@codesourcery.com>
6620
6621 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6622 float.
6623 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6624 * sysdeps/sparc/bits/mathdef.h: Likewise.
6625
69db4f8f
MP
66262012-01-31 Marek Polacek <polacek@redhat.com>
6627
6628 * libio/libio.h: Don't define _PARAMS.
6629 * locale/programs/config.h: Don't define PARAMS.
6630 * stdlib/strtol_l.c: Likewise.
6631 (__strtol_l): Remove PARAMS from the prototype.
6632
41b81892
UD
66332012-01-31 Ulrich Drepper <drepper@gmail.com>
6634
3b49edc0
UD
6635 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6636 names. Just use the correct names. Remove unnecessary wrapper
6637 functions.
6638 * malloc/arena.c: Likewise.
6639 * malloc/hooks.c: Likewise.
6640
41b81892
UD
6641 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6642 ARENA_TEST says not to. Simplify test for creation of a new arena.
6643 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6644
27a25b6e
UD
66452012-01-30 Ulrich Drepper <drepper@gmail.com>
6646
6647 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6648 into tail calls.
6649 (update_get_addr): New function.
6650 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6651 GET_ADDR_MODULE parameter.
6652
c8a89e7d
JM
66532012-01-30 Joseph Myers <joseph@codesourcery.com>
6654
6655 * crypt/cert.c: Remove __STDC__ conditionals.
6656 * crypt/crypt-entry.c: Likewise.
6657 * crypt/crypt_util.c: Likewise.
6658 * libio/filedoalloc.c: Likewise.
6659 * libio/fileops.c: Likewise.
6660 * libio/genops.c: Likewise.
6661 * libio/iofclose.c: Likewise.
6662 * libio/iofdopen.c: Likewise.
6663 * libio/iofopen.c: Likewise.
6664 * libio/iofopen64.c: Likewise.
6665 * libio/iogetdelim.c: Likewise.
6666 * libio/iopopen.c: Likewise.
6667 * libio/obprintf.c: Likewise.
6668 * libio/oldfileops.c: Likewise.
6669 * libio/oldiofclose.c: Likewise.
6670 * libio/oldiofdopen.c: Likewise.
6671 * libio/oldiofopen.c: Likewise.
6672 * libio/oldiopopen.c: Likewise.
6673 * libio/wfiledoalloc.c: Likewise.
6674 * libio/wgenops.c: Likewise.
6675 * locale/programs/xmalloc.c: Likewise.
6676 * misc/syslog.c: Likewise.
6677 * stdio-common/xbug.c: Likewise.
6678 * string/memchr.c: Likewise.
6679 * string/memcmp.c: Likewise.
6680 * string/memrchr.c: Likewise.
6681 * string/rawmemchr.c: Likewise.
6682 * sysdeps/posix/getcwd.c: Likewise.
6683 * time/strftime_l.c: Likewise.
6684
3b100462
JM
66852012-01-30 Joseph Myers <joseph@codesourcery.com>
6686
6687 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6688 * config.make.in (config-cflags-sse2avx): Define.
6689 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6690 Fix typo.
6691
607998af
CM
66922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6693
6694 * scripts/config.guess: Update from upstream config git repository.
6695 * scripts/config.sub: Likewise.
6696
3601428f
CM
66972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6698
3ac8b282
CM
6699 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6700 (EM_NUM): Update.
6701 (R_TILEPRO_*, R_TILEGX_*): New macros.
6702
e034841e
CM
6703 * scripts/firstversions.awk: Fix bug in version range handling.
6704
540d7568
CM
6705 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6706
3601428f
CM
6707 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6708
463de862
CM
6709 * include/sys/epoll.h: New file.
6710 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6711 libc_hidden_def.
6712
73139a76
UD
67132012-01-28 Ulrich Drepper <drepper@gmail.com>
6714
96bc5b45
UD
6715 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6716 Avoid unnecessary __WORDSIZE == 64 test.
6717 (fmaxf): Use VEX format if possible.
6718 (fmax): Likewise.
6719 (fminf): Likewise.
6720 (fmin): Likewise.
6721
56f6f6a2
UD
6722 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6723 * math/math_private.h: Remove libc_fegetround* and
6724 libc_fesetround*.
6725 * sysdeps/i386/configure.in: Check for -msse2avx.
6726 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6727 also if SSE2AVX is defined.
6728 Remove libc_fegetround* and libc_fesetround*.
6729 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6730 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6731 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6732 of HAS_YMM_USABLE.
6733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6735 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6738
73139a76
UD
6739 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6740
d73f93a4
AZ
67412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6742
6743 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6744 size is not set.
6745 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6746
6ee65ed6
UD
67472012-01-27 Ulrich Drepper <drepper@gmail.com>
6748
6749 [BZ #13618]
6750 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6751 relocation.
6752 * Makeconfig (libm): Define.
6753 * elf/Makefile: Add rules to build and run tst-relsort1.
6754 * elf/tst-relsort1.c: New file.
6755 * elf/tst-relsort1mod1.c: New file.
6756 * elf/tst-relsort1mod2.c: New file.
6757
8db21882
JM
67582012-01-27 Joseph Myers <joseph@codesourcery.com>
6759
6760 * math/s_ldexp.c: Remove __STDC__ conditionals.
6761 * math/s_ldexpf.c: Likewise.
6762 * math/s_ldexpl.c: Likewise.
6763 * math/s_nextafter.c: Likewise.
6764 * math/s_nexttowardf.c: Likewise.
6765 * math/s_significand.c: Likewise.
6766 * math/s_significandf.c: Likewise.
6767 * math/s_significandl.c: Likewise.
6768 * math/w_jnl.c: Likewise.
6769 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6770 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6771 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6772 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6773 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6781 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6782 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6783 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6784 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6785 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6786 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6788 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6789 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6790 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6791 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6792 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6793 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6794 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6795 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6796 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6797 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6798 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6799 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6800 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6801 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6802 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6803 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6804 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6805 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6806 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6807 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6808 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6809 * sysdeps/ieee754/k_standard.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6871 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6884 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6885 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6886 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6889 * sysdeps/ieee754/s_matherr.c: Likewise.
6890 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6891 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6892 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6893 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6894
965a54a4
JM
68952012-01-26 Joseph Myers <joseph@codesourcery.com>
6896
6897 * crypt/md5.h: Remove __STDC__ conditionals.
6898 * libio/libioP.h: Likewise.
6899 * locale/programs/config.h: Likewise.
6900 * sysdeps/generic/sysdep.h: Likewise.
6901 * sysdeps/i386/asm-syntax.h: Likewise.
6902 * sysdeps/s390/asm-syntax.h: Likewise.
6903 * sysdeps/unix/sysdep.h: Likewise.
6904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6906
7071ad79
JM
69072012-01-26 Joseph Myers <joseph@codesourcery.com>
6908
6909 * libio/libio.h: Remove __STDC__ conditionals.
6910 * malloc/obstack.h: Likewise.
6911 * math/complex.h: Likewise.
6912 * math/math.h: Likewise.
6913 * sysdeps/generic/_G_config.h: Likewise.
6914 * sysdeps/gnu/_G_config.h: Likewise.
6915 * sysdeps/mach/hurd/_G_config.h: Likewise.
6916 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6917 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6918 * sysdeps/sparc/bits/mathdef.h: Likewise.
6919
afc5ed09
UD
69202012-01-26 Ulrich Drepper <drepper@gmail.com>
6921
6922 [BZ #13583]
6923 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6924 Clean up HAS_* macros.
afc5ed09 6925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6926 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6927 possible.
6928 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6929 HAS_AVX.
6930 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6931 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6932 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6933 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6934 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6935
bdb6de1d
JM
69362012-01-25 Joseph Myers <joseph@codesourcery.com>
6937
6938 * elf/tst-unique3.cc (gets): Remove declaration.
6939 * elf/tst-unique3lib.cc (gets): Likewise.
6940 * elf/tst-unique3lib2.cc (gets): Likewise.
6941 * elf/tst-unique4.cc (gets): Likewise.
6942
b15549e6
UD
69432012-01-24 Ulrich Drepper <drepper@gmail.com>
6944
6945 * include/stdio.h: Add C++ protection. Add gets declarations and
6946 definitions.
6947 * debug/tst-chk1.c: Don't declare gets here.
6948 * stdio-common/tst-gets.c: Likewise.
6949
a037381f
JM
69502012-01-24 Joseph Myers <joseph@codesourcery.com>
6951
6952 * posix/glob: Remove directory.
6953
f1d4aa75
JM
69542012-01-24 Joseph Myers <joseph@codesourcery.com>
6955
6956 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6957
81c0c964
PT
69582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6959
6960 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6961 of the non-standard EPFNOSUPPORT.
6962
0ea698ae
ST
69632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6964
6965 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6966 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6967 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6968
d220b117
UD
69692012-01-21 Ulrich Drepper <drepper@gmail.com>
6970
6971 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6972
3e1aa84e
UD
69732012-01-20 Ulrich Drepper <drepper@gmail.com>
6974
6975 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6976 transient errors.
6977 * nscd/grpcache.c (cache_addgr): Likewise.
6978 * nscd/hstcache.c (cache_addhst): Likewise.
6979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6980 * nscd/pwdcache.c (cache_addpw): Likewise.
6981 * nscd/servicescache.c (cache_addserv): Likewise.
6982
400aa020
UD
69832012-01-16 Ulrich Drepper <drepper@gmail.com>
6984
d77e7869
UD
6985 * malloc/malloc.c: Various cleanups.
6986 * malloc/hooks.c: Likewise.
6987
400aa020
UD
6988 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6989 * stdlib/bug-fmtmsg1.c: New file.
6990
6991 * stdlib/fmtmsg.c (init): Add missing unlock.
6992 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6993
e0a309cf
MP
69942012-01-12 Marek Polacek <polacek@redhat.com>
6995
6996 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6997 and _GNU_SOURCE.
6998
929d11c7
WS
69992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7000
7001 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7003 macro to ensure uniqueness of label name.
7004 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7005 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7006
41d0e869
UD
70072012-01-11 Ulrich Drepper <drepper@gmail.com>
7008
0cc5ed3b
UD
7009 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7010
41d0e869
UD
7011 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7012 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7013 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7014 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7015
a47a831a
UD
70162012-01-10 Ulrich Drepper <drepper@gmail.com>
7017
daa891c0
UD
7018 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7019
7020 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7021 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7022 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7023
e58ef0f2
UD
7024 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7025
a47a831a 7026 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7027 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7028 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7030
7031 * math/bits/math-finite.h: Add ldexp support.
7032
a0bfc9c7
MP
70332012-01-10 Marek Polacek <polacek@redhat.com>
7034
7035 * locale/programs/localedef.h (show_archive_content): Add noreturn
7036 attribute.
7037
d6e97a1d
UD
70382012-01-09 Ulrich Drepper <drepper@gmail.com>
7039
7040 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7041
d5835c26
UD
70422012-01-08 Ulrich Drepper <drepper@gmail.com>
7043
e5f484c6
UD
7044 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7045
d5835c26
UD
7046 * io/Makefile (headers): Add bits/poll2.h.
7047
d1f741e9
WS
70482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7049
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7051 typo #include statement.
7052
ec09c1c4
UD
70532012-01-08 Ulrich Drepper <drepper@gmail.com>
7054
7055 * include/sys/cdefs.h: Define __attribute_alloc_size.
7056 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7057 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7058 * elf/pldd.c: Likewise.
7059 * iconv/iconv_charmap.c: Likewise.
7060 * iconv/iconvconfig.c: Likewise.
7061 * iconv/strtab.c: Likewise.
7062 * locale/programs/locale.c: Likewise.
7063 * locale/programs/localedef.h: Likewise.
7064 * locale/programs/simple-hash.c: Likewise.
7065 * nscd/nscd.h: Likewise.
7066 * nss/makedb.c: Likewise.
7067 * sysdeps/generic/ldconfig.h: Likewise.
7068 * locale/programs/localedef.c: Remove xmalloc prototype.
7069 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7070
20b38e03
PP
70712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7072
7073 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7074 appropriate.
7075
a0da5fe1
UD
70762012-01-08 Ulrich Drepper <drepper@gmail.com>
7077
1d5a644a 7078 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7079 * math/tst-CMPLX.c: New file.
1d5a644a 7080
8784a6db
UD
7081 * math/complex.h (CMPLXL): Fix typo.
7082
d9a216c0
UD
7083 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7084 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7085 GLIBC_2.16.
7086 * debug/tst-chk1.c: Add poll and ppoll tests.
7087 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7088 * include/sys/poll.h: Add hidden proto for ppoll.
7089 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7090 * sysdeps/mach/hurd/ppoll.c: Likewise.
7091 * io/ppoll.c: Likewise.
7092 * debug/poll_chk.c: New file.
7093 * debug/ppoll_chk.c: New file.
7094 * include/bits/poll2.h: New file.
7095 * io/bits/poll2.h: New file.
7096
ac097f5c
UD
7097 [BZ #1350]
7098 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7099
2119dcfa
UD
7100 * configure.in: static is always set to yes. Remove.
7101 * config.make.in: Don't set build-static.
7102 * Makeconfig: Remove use of build-static.
7103 * dlfcn/Makefile: Likewise.
7104 * elf/Makefile: Likewise.
7105 * math/Makefile: Likewise.
7106 * misc/Makefile: Likewise.
7107 * nptl/Makefile: Likewise.
7108 * sysdeps/mach/hurd/Makefile: Likewise.
7109
121766a9
UD
7110 * configure.in: PWD_P is not used anymore.
7111 * config.make.in: Remove PWD_P entry.
7112
51a1d39c 7113 * configure.in: Remove last remnants of RANLIB.
8720d066 7114 No need to check for signed size_t anymore.
215f4bdc
UD
7115 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7116 and IA-64.
3857022a 7117 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7118 * aclocal.m4: Likewise.
7119
d3ed7225
UD
7120 * wcsmbs/mbrtoc16.c: Implement using towc function.
7121 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7122 * wcsmbs/wcsmbsload.c: Likewise.
7123 * iconv/gconv_simple.c: Likewise.
7124 * iconv/gconv_int.h: Likewise.
7125 * iconv/gconv_builtin.h: Likewise.
7126 * iconv/iconv_prog.c: Remove CHAR16 handling.
7127
7128 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7129
7130 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7131
a0da5fe1
UD
7132 * configure.in: Remove --with-elf and --enable-bounded options.
7133 Dont set base_machine for ia64. More non-ELF conditions removed.
7134 Remove testing and setting of leading underscore information.
7135 * config.make.in (build-bounded): Set to no.
7136 * config.h.in: Remove NO_UNDERSCORES entry.
7137 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7138 them.
7139 * csu/start.c: Remove !NO_UNDERSCORE code.
7140 * locale/localeinfo.h: Likewise.
7141 * sysdeps/generic/machine-gmon.h: Likewise.
7142 * sysdeps/generic/sysdep.h: Likewise.
7143 * sysdeps/i386/sysdep.h: Likewise.
7144 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7145 * sysdeps/mach/sysdep.h: Likewise.
7146 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7147 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7148 * sysdeps/sh/sysdep.h: Likewise.
7149 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7150 * sysdeps/unix/i386/sysdep.S: Likewise.
7151 * sysdeps/unix/sparc/start.c: Likewise.
7152 * sysdeps/unix/sparc/sysdep.S: Likewise.
7153 * sysdeps/unix/sparc/sysdep.h: Likewise.
7154 * sysdeps/unix/start.c: Likewise.
7155 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7156 * sysdeps/x86_64/sysdep.h: Likewise.
7157
df78418a
UD
71582012-01-07 Ulrich Drepper <drepper@gmail.com>
7159
a784e502
UD
7160 [BZ #13553]
7161 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7162 for non-gcc.
7163 * argp/argp-fmtstream.h: Use const instead __const.
7164 * argp/argp.h: Likewise.
7165 * assert/assert.h: Likewise.
7166 * bits/fenv.h: Likewise.
7167 * bits/sched.h: Likewise.
7168 * bits/sigset.h: Likewise.
7169 * bits/sigthread.h: Likewise.
7170 * catgets/nl_types.h: Likewise.
7171 * conform/data/pthread.h-data: Likewise.
7172 * crypt/crypt-private.h: Likewise.
7173 * crypt/crypt.h: Likewise.
7174 * crypt/crypt_util.c: Likewise.
7175 * ctype/ctype.h: Likewise.
7176 * debug/execinfo.h: Likewise.
7177 * debug/mbsnrtowcs_chk.c: Likewise.
7178 * debug/mbsrtowcs_chk.c: Likewise.
7179 * debug/wcsnrtombs_chk.c: Likewise.
7180 * debug/wcsrtombs_chk.c: Likewise.
7181 * debug/wcstombs_chk.c: Likewise.
7182 * dirent/dirent.h: Likewise.
7183 * dlfcn/dlfcn.h: Likewise.
7184 * elf/neededtest4.c: Likewise.
7185 * grp/grp.h: Likewise.
7186 * gshadow/gshadow.h: Likewise.
7187 * iconv/gconv.h: Likewise.
7188 * iconv/gconv_int.h: Likewise.
7189 * iconv/gconv_simple.c: Likewise.
7190 * iconv/iconv.h: Likewise.
7191 * iconv/loop.c: Likewise.
7192 * iconv/skeleton.c: Likewise.
7193 * include/aio.h: Likewise.
7194 * include/aliases.h: Likewise.
7195 * include/argz.h: Likewise.
7196 * include/arpa/inet.h: Likewise.
7197 * include/assert.h: Likewise.
7198 * include/dirent.h: Likewise.
7199 * include/dlfcn.h: Likewise.
7200 * include/execinfo.h: Likewise.
7201 * include/fcntl.h: Likewise.
7202 * include/fenv.h: Likewise.
7203 * include/glob.h: Likewise.
7204 * include/grp.h: Likewise.
7205 * include/libintl.h: Likewise.
7206 * include/mntent.h: Likewise.
7207 * include/netdb.h: Likewise.
7208 * include/pwd.h: Likewise.
7209 * include/rpc/netdb.h: Likewise.
7210 * include/sched.h: Likewise.
7211 * include/search.h: Likewise.
7212 * include/shadow.h: Likewise.
7213 * include/signal.h: Likewise.
7214 * include/stdio.h: Likewise.
7215 * include/stdlib.h: Likewise.
7216 * include/string.h: Likewise.
7217 * include/sys/socket.h: Likewise.
7218 * include/sys/stat.h: Likewise.
7219 * include/sys/statfs.h: Likewise.
7220 * include/sys/statvfs.h: Likewise.
7221 * include/sys/syslog.h: Likewise.
7222 * include/sys/time.h: Likewise.
7223 * include/sys/uio.h: Likewise.
7224 * include/time.h: Likewise.
7225 * include/unistd.h: Likewise.
7226 * include/utmp.h: Likewise.
7227 * include/wchar.h: Likewise.
7228 * include/wctype.h: Likewise.
7229 * inet/aliases.h: Likewise.
7230 * inet/arpa/inet.h: Likewise.
7231 * inet/netinet/ether.h: Likewise.
7232 * inet/netinet/in.h: Likewise.
7233 * intl/libintl.h: Likewise.
7234 * io/bits/fcntl2.h: Likewise.
7235 * io/fcntl.h: Likewise.
7236 * io/ftw.h: Likewise.
7237 * io/sys/poll.h: Likewise.
7238 * io/sys/stat.h: Likewise.
7239 * io/sys/statfs.h: Likewise.
7240 * io/sys/statvfs.h: Likewise.
7241 * io/utime.h: Likewise.
7242 * libio/bits/stdio.h: Likewise.
7243 * libio/bits/stdio2.h: Likewise.
7244 * libio/libio.h: Likewise.
7245 * libio/libioP.h: Likewise.
7246 * libio/stdio.h: Likewise.
7247 * locale/lc-ctype.c: Likewise.
7248 * locale/locale.h: Likewise.
7249 * login/utmp.h: Likewise.
7250 * malloc/arena.c: Likewise.
7251 * malloc/malloc.c: Likewise.
7252 * malloc/malloc.h: Likewise.
7253 * malloc/mcheck.c: Likewise.
7254 * malloc/mtrace.c: Likewise.
7255 * math/bits/mathcalls.h: Likewise.
7256 * math/fenv.h: Likewise.
7257 * math/math_private.h: Likewise.
7258 * misc/bits/error.h: Likewise.
7259 * misc/bits/syslog.h: Likewise.
7260 * misc/err.h: Likewise.
7261 * misc/error.h: Likewise.
7262 * misc/fstab.h: Likewise.
7263 * misc/mntent.h: Likewise.
7264 * misc/regexp.h: Likewise.
7265 * misc/search.h: Likewise.
7266 * misc/sgtty.h: Likewise.
7267 * misc/sys/mman.h: Likewise.
7268 * misc/sys/syslog.h: Likewise.
7269 * misc/sys/uio.h: Likewise.
7270 * misc/sys/xattr.h: Likewise.
7271 * misc/ttyent.h: Likewise.
7272 * nis/rpcsvc/ypclnt.h: Likewise.
7273 * nss/nss.h: Likewise.
7274 * posix/bits/unistd.h: Likewise.
7275 * posix/fnmatch.h: Likewise.
7276 * posix/glob.h: Likewise.
7277 * posix/sched.h: Likewise.
7278 * posix/spawn.h: Likewise.
7279 * posix/sys/wait.h: Likewise.
7280 * posix/unistd.h: Likewise.
7281 * posix/wordexp.h: Likewise.
7282 * pwd/pwd.h: Likewise.
7283 * resolv/netdb.h: Likewise.
7284 * resource/sys/resource.h: Likewise.
7285 * rt/aio.h: Likewise.
7286 * rt/bits/mqueue2.h: Likewise.
7287 * rt/mqueue.h: Likewise.
7288 * shadow/shadow.h: Likewise.
7289 * signal/signal.h: Likewise.
7290 * socket/send.c: Likewise.
7291 * socket/sendto.c: Likewise.
7292 * socket/sys/socket.h: Likewise.
7293 * stdio-common/printf.h: Likewise.
7294 * stdlib/bits/stdlib.h: Likewise.
7295 * stdlib/fmtmsg.h: Likewise.
7296 * stdlib/monetary.h: Likewise.
7297 * stdlib/stdlib.h: Likewise.
7298 * stdlib/ucontext.h: Likewise.
7299 * streams/stropts.h: Likewise.
7300 * string/argz.h: Likewise.
7301 * string/bits/string2.h: Likewise.
7302 * string/string.h: Likewise.
7303 * string/strings.h: Likewise.
7304 * sunrpc/rpc/auth.h: Likewise.
7305 * sunrpc/rpc/auth_des.h: Likewise.
7306 * sunrpc/rpc/clnt.h: Likewise.
7307 * sunrpc/rpc/netdb.h: Likewise.
7308 * sunrpc/rpc/pmap_clnt.h: Likewise.
7309 * sunrpc/rpc/xdr.h: Likewise.
7310 * sysdeps/generic/inttypes.h: Likewise.
7311 * sysdeps/generic/net/if.h: Likewise.
7312 * sysdeps/generic/sys/swap.h: Likewise.
7313 * sysdeps/gnu/net/if.h: Likewise.
7314 * sysdeps/gnu/utmpx.h: Likewise.
7315 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7316 * sysdeps/i386/i486/bits/string.h: Likewise.
7317 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7318 * sysdeps/s390/bits/string.h: Likewise.
7319 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7320 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7321 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7322 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7323 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7324 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7325 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7326 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7327 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7328 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7329 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7330 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7331 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7332 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7333 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7334 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7335 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7337 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7340 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7341 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7342 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7343 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7344 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7345 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7346 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7347 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7348 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7349 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7350 * sysvipc/sys/ipc.h: Likewise.
7351 * sysvipc/sys/msg.h: Likewise.
7352 * sysvipc/sys/sem.h: Likewise.
7353 * sysvipc/sys/shm.h: Likewise.
7354 * termios/termios.h: Likewise.
7355 * time/sys/time.h: Likewise.
7356 * time/time.h: Likewise.
7357 * wcsmbs/bits/wchar2.h: Likewise.
7358 * wcsmbs/uchar.h: Likewise.
7359 * wcsmbs/wchar.h: Likewise.
7360 * wctype/wctype.h: Likewise.
7361
0269750c
UD
7362 [BZ #13551]
7363 * Makeconfig: Remove all but ELF support including AIX support.
7364 * Makerules: Likewise.
7365 * config.h.in: Likewise.
7366 * config.make.in: Likewise.
7367 * configure: Likewise.
7368 * configure.in: Likewise.
7369 * csu/Makefile: Likewise.
7370 * csu/version.c: Likewise.
7371 * debug/Makefile: Likewise.
7372 * dlfcn/Makefile: Likewise.
7373 * elf/Makefile: Likewise.
7374 * extra-lib.mk: Likewise.
7375 * iconv/Makefile: Likewise.
7376 * include/libc-symbols.h: Likewise.
7377 * include/shlib-compat.h: Likewise.
7378 * resolv/Makefile: Likewise.
7379 * resolv/res_libc.c: Likewise.
7380 * rt/Makefile: Likewise.
7381 * sysdeps/i386/asm-syntax.h: Likewise.
7382 * sysdeps/i386/sysdep.h: Likewise.
7383 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7384 * sysdeps/mach/sysdep.h: Likewise.
7385 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7386 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7387 * sysdeps/s390/asm-syntax.h: Likewise.
7388 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7389 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7390 * sysdeps/sh/sysdep.h: Likewise.
7391 * sysdeps/unix/sparc/sysdep.h: Likewise.
7392 * sysdeps/wordsize-32/divdi3.c: Likewise.
7393 * sysdeps/x86_64/sysdep.h: Likewise.
7394
00bbd29b
UD
7395 * argp/Versions: Remove _argp_unlock_xxx.
7396
7397 [BZ #13559]
7398 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7399 * abilist/libBrokenLocale.abilist: Likewise.
7400 * abilist/libanl.abilist: Likewise.
7401 * abilist/libc.abilist: Likewise.
7402 * abilist/libcrypt.abilist: Likewise.
7403 * abilist/libdl.abilist: Likewise.
7404 * abilist/libm.abilist: Likewise.
7405 * abilist/libnsl.abilist: Likewise.
7406 * abilist/libpthread.abilist: Likewise.
7407 * abilist/libresolv.abilist: Likewise.
7408 * abilist/librt.abilist: Likewise.
7409 * abilist/libthread_db.abilist: Likewise.
7410 * abilist/libutil.abilist: Likewise.
7411 * abilist/libnss_db.abilist: New file.
7412
7413 * scripts/abilist.awk: Add support for indirect functions.
7414
a2693a0e
UD
7415 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7416
3f05895f
UD
7417 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7418
ecb6fb48
UD
7419 * shlib-versions: Remove entries for ports architectures.
7420
664f8cb9
UD
7421 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7422 files in ports.
7423 * elf/stackguard-macros.h: Remove support for IA-64.
7424 * elf/tst-auditmod1.c: Likewise.
7425 * sysdeps/generic/ldsodefs.h: Likewise.
7426
7ae81d88
UD
7427 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7428 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7429 configure files.
7430
bdeba135
UD
7431 [BZ #13552]
7432 * configure.in: Remove --enable-omitfp support.
7433 * FAQ.in: Adjust.
7434 * config.make.in: Likewise.
7435 * Makeconfig: Likewise.
7436 * manual/install.texi: Likewise.
7437
d75a0a62
UD
7438 In case anyone cares, the IA-64 architecture could move to ports.
7439 * sysdeps/ia64/*: Removed.
7440 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7441 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7442
dcc9756b
UD
7443 [BZ #13555]
7444 * configure.in: Remove entries for unsupported architectures.
7445
d3761ebc 7446 [BZ #13533]
9954432e
UD
7447 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7448 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7449 routines.
7450 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7451 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7452 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7453 fall back to using wcrtomb.
7454 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7455 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7456 renaming.
7457 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7458 * wcsmbs/tst-c16c32-1.c: New file.
7459
7460 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7461 local variable.
7462
c3a87236
UD
7463 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7464
28926a1b
UD
7465 * elf/tst-unique3.cc: Add explicit declaration of gets.
7466 * elf/tst-unique3lib.cc: Likewise.
7467 * elf/tst-unique3lib2.cc: Likewise.
7468 * elf/tst-unique4.cc: Likewise.
7469
df78418a
UD
7470 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7471
8ecd6b2a
JM
74722012-01-06 Joseph Myers <joseph@codesourcery.com>
7473
7474 [BZ #13566]
7475 * assert/assert.h (static_assert): Don't define for C++.
7476 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7477 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7478
9f115170
UD
74792012-01-03 Ulrich Drepper <drepper@gmail.com>
7480
5e0d0300
UD
7481 * iconv/loop.c (single loop): Fix assertion in storing of
7482 remaining bytes.
7483
9f115170
UD
7484 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7485
81fb02b0
UD
74862012-01-01 Ulrich Drepper <drepper@gmail.com>
7487
7488 * posix/getconf.c: Update copyright year.
7489 * nss/getent.c: Likewise.
a316c1f6 7490 * nss/makedb.c: Likewise.
81fb02b0
UD
7491 * iconv/iconvconfig.c: Likewise.
7492 * iconv/iconv_prog.c: Likewise.
7493 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7494 * elf/pldd.c: Likewise.
7495 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7496 * catgets/gencat.c: Likewise.
7497 * csu/version.c: Likewise.
7498 * elf/ldd.bash.in: Likewise.
7499 * elf/sprof.c (print_version): Likewise.
7500 * locale/programs/locale.c: Likewise.
7501 * locale/programs/localedef.c: Likewise.
a316c1f6 7502 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7503 * nscd/nscd.c (print_version): Likewise.
7504 * debug/xtrace.sh: Likewise.
7505 * malloc/memusage.sh: Likewise.
7506 * malloc/mtrace.pl: Likewise.
7507 * debug/catchsegv.sh: Likewise.
7508
2ba92745
JJ
75092011-12-30 Jakub Jelinek <jakub@redhat.com>
7510
7511 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7512 pure attribute.
7513
dadebdae
UD
75142011-12-24 Ulrich Drepper <drepper@gmail.com>
7515
d3761ebc 7516 [BZ #13533]
db6af3eb
UD
7517 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7518 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7519 transformations.
7520 * iconv/gconv_int.h: Likewise.
7521 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7522 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7523 from libc for GLIBC_2.16.
7524 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7525 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7526 * wcsmbs/uchar.h: Really define mbstate_t.
7527 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7528 * wcsmbs/c16rtomb.c: New file.
7529 * wcsmbs/mbrtoc16.c: New file.
7530 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7531 for C/POSIX locale.
7532 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7533 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7534
dadebdae
UD
7535 * wcsmbs/wchar.h: Add missing __restrict.
7536
67371b56
UD
75372011-12-23 Ulrich Drepper <drepper@gmail.com>
7538
74033a25
UD
7539 [BZ #13532]
7540 * time/Makefile (routines): Add timespec_get.
7541 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7542 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7543 timespec for ISO C11.
7544 * time/timespec_get.c: New file.
7545 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7546 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7547
380d7e87
UD
7548 [BZ #13531]
7549 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7550 * stdlib/stdlib.h: Declare aligned_alloc.
7551 * Versions.def: Add GLIBC_2.16 for libc.
7552 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7553
4e9e7a35
UD
7554 [BZ 13527]
7555 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7556 ISO C11.
7557
380d7e87 7558 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7559 code.
7560
03a71829
UD
7561 [BZ #13528]
7562 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7563
839e283e
UD
7564 [BZ #13529]
7565 * assert/assert.h (static_assert): Define.
7566
ce5294e2 7567 * version.h: Update for 2.16 development version.
90fa7312 7568
8d44e150 7569 [BZ #13526]
d7809905
UD
7570 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7571 _ISOC11_SOURCE.
7572
c0da14cd
UD
7573 * version.h (RELEASE): Bump for 2.15 release.
7574 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7575
530a3249
MP
7576 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7577 Patch by Marek Polacek <mpolacek@redhat.com>.
7578
67371b56
UD
7579 * bits/byteswap.h: Protect long long constants with __extension__.
7580 * sysdeps/i386/bits/byteswap.h: Likewise.
7581 * sysdeps/ia64/bits/byteswap.h: Likewise.
7582 * sysdeps/s390/bits/byteswap.h: Likewise.
7583 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7584
15db4de1
LD
75852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7586
7587 [BZ #13540]
bbe315ea
LD
7588 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7589 destination buffer.
15db4de1
LD
7590 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7591
2b2596b1
MP
75922011-12-23 Marek Polacek <polacek@redhat.com>
7593
7594 * elf/dl-addr.c (determine_info): Add inline keyword.
7595 * elf/tst-auditmod4b.c (check_avx): Likewise.
7596 * elf/tst-auditmod6b.c (check_avx): Likewise.
7597 * elf/tst-auditmod6c.c (check_avx): Likewise.
7598 * elf/tst-auditmod7b.c (check_avx): Likewise.
7599
70c6c246
UD
76002011-12-23 Ulrich Drepper <drepper@gmail.com>
7601
7602 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7603 !__SSE_MATH__.
7604
c044cf14
LD
76052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7606
15db4de1 7607 [BZ #13540]
c044cf14
LD
7608 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7609 processing for last bytes.
7610
6b13d9d9
BH
76112011-08-06 Bruno Haible <bruno@clisp.org>
7612
d455f537
BH
7613 [BZ #13061]
7614 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7615 U+0385, not to U+1FEE.
7616
6b13d9d9
BH
7617 [BZ #13062]
7618 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7619 entry for U+00A5 U+0301.
7620
db910efd
UD
76212011-12-22 Ulrich Drepper <drepper@gmail.com>
7622
27deeafc
UD
7623 [BZ #13166]
7624 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7625 buffer for the output is too small.
7626
aed9d171
UD
7627 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7628 optimization.
7629
db910efd
UD
7630 [BZ #13185]
7631 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7632 SSE flags if possible.
7633
2bd779ae
LD
76342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7635
e7f9dac3 7636 [BZ #13540]
2bd779ae
LD
7637 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7638 processing for last bytes.
7639
154bfc16
JM
76402011-12-22 Joseph Myers <joseph@codesourcery.com>
7641
7642 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7643 (syscall-list-default-options, syscall-list-default-condition)
7644 (syscall-list-includes): Define.
7645 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7646 list of ABIs and options and #if conditions for each ABI. Do not
7647 handle common syscalls between ABIs specially.
7648 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7649 Remove.
7650 (syscall-list-variants, syscall-list-32bit-options)
7651 (syscall-list-32bit-condition, syscall-list-64bit-options)
7652 (syscall-list-64bit-condition): Define.
7653 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7654 (syscall-list-variants, syscall-list-32bit-options)
7655 (syscall-list-32bit-condition, syscall-list-64bit-options)
7656 (syscall-list-64bit-condition): Define.
7657 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7658 Remove.
7659 (syscall-list-variants, syscall-list-32bit-options)
7660 (syscall-list-32bit-condition, syscall-list-64bit-options)
7661 (syscall-list-64bit-condition): Define.
7662 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7663 Remove.
7664 (syscall-list-variants, syscall-list-32bit-options)
7665 (syscall-list-32bit-condition, syscall-list-64bit-options)
7666 (syscall-list-64bit-condition): Define.
7667
21eaf3a5
UD
76682011-12-22 Ulrich Drepper <drepper@gmail.com>
7669
16c6f992
UD
7670 * locale/iso-639.def: Add brx entry.
7671
41043168
UD
7672 [BZ #13328]
7673 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7674 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7675
21eaf3a5
UD
7676 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7677 __feraiseexcept_renamed.
7678
e3a851a2
UD
76792011-12-21 Ulrich Drepper <drepper@gmail.com>
7680
4920765e
UD
7681 [BZ #13538]
7682 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7683 EPOLLET with unsigned values.
7684 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7685 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7686
e3a851a2
UD
7687 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7688 to large cancellation.
7689 * math/s_cacoshf.c: Likewise.
7690 * math/s_cacoshl.c: Likewise.
7691
b27e24b8
RK
76922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7693
7694 [BZ #13305]
aebefeee 7695 [BZ #12786]
b27e24b8
RK
7696 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7697 * math/s_cacoshf.c: Likewise.
7698 * math/s_cacoshl.c: Likewise.
7699
ee190f67
UD
77002011-12-21 Ulrich Drepper <drepper@gmail.com>
7701
7702 [BZ #13439]
7703 * iconv/gconv.h: Define __GCONV_SWAP.
7704 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7705 * iconvdata/utf-16.c: Likewise.
7706 * iconvdata/utf-32.c: Likewise.
7707
707f25df
AS
77082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7709
7710 [BZ #13524]
7711 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7712 numerator after shifting it by one limb.
7713
d2daaa1e
RÁE
77142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7715
7716 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7717 under [__USE_EXTERN_INLINES].
7718
a4647e72
UD
77192011-12-17 Ulrich Drepper <drepper@gmail.com>
7720
7721 [BZ #13446]
7722 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7723
f0b264f1
AZ
77242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7725
7726 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7727 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7728 optimized code.
7729 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7730 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7731 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7732 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7733 for strncasecmp/strncasecmp_l compilation.
7734 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7735 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7736
8ef4f244
MP
77372011-12-08 Marek Polacek <mpolacek@redhat.com>
7738
7739 [BZ #13484]
7740 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7741 of __asm__.
7742
97ac2654
UD
77432011-12-17 Ulrich Drepper <drepper@gmail.com>
7744
7745 [BZ #13506]
7746 * time/tzfile.c (__tzfile_read): Check values from file header.
7747
91d2a845
WS
77482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7749
7750 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7751 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7752 * powerpc/powerpc32/dl-start.S: Likewise.
7753 * powerpc/powerpc32/elf/start.S: Likewise.
7754 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7755 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7756 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7757 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7758 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7759 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7760 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7761 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7762 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7763 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7764 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7765 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7766 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7767 * powerpc/powerpc32/memset.S: Likewise.
7768 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7769 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7770 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7771 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7772 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7773 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7774 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7775 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7776 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7777 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7778 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7779 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7780 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7781
a1267ba1
AZ
77822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7783
7784 * math/libm-test.inc: Added more nearbyint tests.
7785 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7786 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7788 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7789
ad8ac1bd
RL
77902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7791
7792 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7793 FD_CLOEXEC.
7794
1d3e4b61
UD
77952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7796
7797 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7798 Add wcscpy-ssse3 wcscpy-c.
7799 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7800 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7801 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7802 * sysdeps/x86_64/wcschr.S: New file.
7803 * sysdeps/x86_64/wcsrchr.S: New file.
7804 * string/test-strcmp.c: Remove checking of wcscmp function for
7805 wrong alignments.
7806 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7807 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7808 wcsrchr-sse2 wcsrchr-c.
7809 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7810 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7811 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7812 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7813 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7814 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7815 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7816 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7817 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7818 * wcsmbc/wcschr.c (WCSCHR): New macro.
7819
5b330a2d
UD
78202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7821
7822 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7823 * wcsmbs/test-wcsrchr.c: New file.
7824 * string/test-strrchr.c: Add wcsrchr support.
7825 (WIDE): New macro.
7826 * wcsmbs/test-wcscpy.c: New file.
7827 * string/test-strcpy.c: Add wcscpy support.
7828 (WIDE): New macro.
26428b7c 7829
f039c043
UD
78302011-12-10 Ulrich Drepper <drepper@gmail.com>
7831
7832 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7833 the inner loop.
7834
850fb039
AS
78352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7836
7837 [BZ #13472]
7838 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7839
4efbd5cb
UD
78402011-12-04 Ulrich Drepper <drepper@gmail.com>
7841
52ff5dd0 7842 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7843 Minor optimizations.
52ff5dd0 7844
4efbd5cb
UD
7845 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7846 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7847 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7848
8a426e12
UD
78492011-12-03 Ulrich Drepper <drepper@gmail.com>
7850
aff2453d
UD
7851 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7852 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7853 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7854 for gcc to avoid warnings.
7855 * inet/Makefile (tests): Add tst-checks.
7856 * inet/tst-checks.c: New file.
7857
7858 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7859 warning.
7860
7861 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7862 __wmemcmp_sse2.
7863
7864 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7865 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7866
8a426e12
UD
7867 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7868
9bea3473
UD
78692011-12-02 Ulrich Drepper <drepper@gmail.com>
7870
3a965496
UD
7871 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7872 problem.
7873
9bea3473
UD
7874 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7875
f101631b
UD
78762011-11-29 Joseph Myers <joseph@codesourcery.com>
7877
7878 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7879 conditional on GCC version.
7880 (__arch_compare_and_exchange_val_8_acq)
7881 (__arch_compare_and_exchange_val_16_acq)
7882 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7883 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7884 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7885
a98275aa
UD
78862011-12-02 Joseph Myers <joseph@codesourcery.com>
7887
7888 * sysdeps/sh/backtrace.c: New file.
7889
d4cc29a2
AS
78902011-12-02 Andreas Schwab <schwab@redhat.com>
7891
7892 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7893 parenthesis.
7894
6257af2d
AS
78952011-12-01 Andreas Schwab <schwab@redhat.com>
7896
7897 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7898 falling back to utime.
7899
b5f44c1a
AS
79002011-11-30 Andreas Schwab <schwab@redhat.com>
7901
7902 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7903 expectations for float.
7904
f3a6cc0a
AS
79052011-11-29 Andreas Schwab <schwab@redhat.com>
7906
7907 * locale/weight.h (findidx): Add parameter len.
7908 * locale/weightwc.h (findidx): Likewise.
7909 * posix/fnmatch_loop.c (FCT): Adjust caller.
7910 * posix/regcomp.c (build_equiv_class): Likewise.
7911 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7912 * posix/regexec.c (check_node_accept_bytes): Likewise.
7913 * string/strcoll_l.c (STRCOLL): Likewise.
7914 * string/strxfrm_l.c (STRXFRM): Likewise.
7915
9d65ea3a
UD
79162011-11-17 Ulrich Drepper <drepper@gmail.com>
7917
7918 * Makefile.in: Remove CVSOPT handling.
7919 * configure.in: Remove use of AC_REVISION.
7920 * iconvdata/Makefile (distribute): No need to filter out CVS.
7921 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7922 handling.
7923
5583a086
AS
79242011-11-16 Andreas Schwab <schwab@redhat.com>
7925
7926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7927 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7928 [USE_AS_STRNCASECMP_L]: Likewise.
7929 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7930 NO_TLS_DIRECT_SEG_REFS.
7931 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7932 Fix argument offsets for non-PIC.
7933 [USE_AS_STRNCASECMP_L]: Likewise.
7934 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7935 NO_TLS_DIRECT_SEG_REFS.
7936
d62a8200
UD
79372011-11-15 Ulrich Drepper <drepper@gmail.com>
7938
9d65ea3a 7939 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7940 O_CLOEXEC.
7941 * locale/loadlocale.c (_nl_load_locale): Likewise.
7942
09f93bd3
AS
79432011-11-15 Andreas Schwab <schwab@redhat.com>
7944
446514f9
AS
7945 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7946 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7947 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7948 (SYSCALL_GETTIME): Set errno on error.
7949
09f93bd3
AS
7950 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7951 count references to noai6ai_cached.
7952
312be3f9
UD
79532011-11-15 Ulrich Drepper <drepper@gmail.com>
7954
7955 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7956
7957 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7958 FD_CLOEXEC for /proc/self/maps.
7959
7960 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7961 FD_CLOEXEC for /proc/meminfo.
7962
7963 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7964 gai.conf.
7965
7966 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7967 FD_CLOEXEC for given file.
7968
7969 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7970
7971 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7972 FD_CLOEXEC for /etc/hosts.
7973 (_gethtent): Likewise.
7974
7975 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7976
7977 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7978 cancellation and set FD_CLOEXEC for /etc/netgroup.
7979
7980 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7981 reading /etc/publickey.
7982
7983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7984 allow cancellation when reading /etc/group.
7985
7986 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7987 cancellation.
7988 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7989
7990 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7991 when using data file.
7992
7993 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7994
7995 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7996 (write_nis_obj): Use "c" and "e" in fopen.
7997
7998 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7999
8000 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8001
8002 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8003
8004 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8005
8006 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8007 locale.alias.
8008
8009 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8010
8011 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8012
8013 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8014
8015 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8016 file parsing and set FD_CLOEXEC.
8017
82af0fa8
UD
80182011-11-14 Ulrich Drepper <drepper@gmail.com>
8019
8020 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8021
a5fb313c
AS
80222011-11-14 Andreas Schwab <schwab@redhat.com>
8023
8024 * malloc/arena.c (arena_get2): Don't call reused_arena when
8025 _int_new_arena failed.
8026
6abf3465
UD
80272011-11-14 Ulrich Drepper <drepper@gmail.com>
8028
8029 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8030 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8032 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8033 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8034 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8035 to compile strcasecmp and strncasecmp.
8036 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8037 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8038
8039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8040
76e3966e
UD
80412011-11-13 Ulrich Drepper <drepper@gmail.com>
8042
8043 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8044 locale-defines.sym to gen-as-const-headers.
8045 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8046 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8048 to compile strcasecmp and strncasecmp.
8049 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8050 strcasecmp_l and strncasecmp_l.
8051 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8052 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8053 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8054 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8055 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8056 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8057 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8058 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8059 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8060 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8061 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8062
ab26144e
UD
80632011-11-12 Ulrich Drepper <drepper@gmail.com>
8064
7edb22ef
UD
8065 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8066 result of SYSDEP_GETTIME_CPU to retval.
8067 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8068 parameter list to macro. Remove trailing semicolon. Adjust users.
8069
9694fc44
UD
8070 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8071 variable.
8072
8ad89ef8
UD
8073 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8074 mantissa words.
8075 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8076
0c822ef9
UD
8077 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8078 from unused variable.
8079
874e0564
UD
8080 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8081 DWARF definitions.
8082 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8083 for assembling.
8084
3a2edc79
UD
8085 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8086 over namespaces.
8087
f3c2577f
UD
8088 * sunrpc/rpc_prot.c (rejected): Fix case value.
8089
294ce126
UD
8090 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8091 unsigned long long int to avoid warnings in shift.
8092
5e2b63c6
UD
8093 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8094 of use of trans.
8095 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8096 variable tmp.
8097
e7f4b08e
UD
8098 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8099 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8100 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8101
ab26144e
UD
8102 * nis/nis_table.c (nis_list): Use variable of correct type for
8103 result of __follow_path call.
8104
8a6d5255
AZ
81052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8106
8107 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8108 of math functions ceil, trunc, floor, round, and sqrt, when
8109 avaliable on the platform.
8110 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8111 name clash.
8112 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8113 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8114 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8115
aaddc98c
MP
81162011-10-30 Marek Polacek <mpolacek@redhat.com>
8117
8118 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8119 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8120
95b7042b
RM
81212011-11-11 Roland McGrath <roland@hack.frob.com>
8122
8123 * include/unistd.h: Fix __readlink return type.
8124 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8125
57769839
UD
81262011-11-11 Ulrich Drepper <drepper@gmail.com>
8127
8128 * stdlib/ucontext.h: Undo last change for makecontext.
8129
edc5984d
AS
81302011-11-11 Andreas Schwab <schwab@redhat.com>
8131
98591e58
AS
8132 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8133
edc5984d
AS
8134 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8135 * setjmp/setjmp.h: Mark functions as non-leaf.
8136 * setjmp/bits/setjmp2.h: Likewise.
8137 * stdlib/ucontext.h: Likewise.
8138
77cdc054
AS
81392011-11-10 Andreas Schwab <schwab@redhat.com>
8140
8141 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8142 (reused_arena): Don't check arena limit.
8143 (arena_get2): Atomically check arena limit.
8144
fe72eebd
UD
81452011-11-08 Ulrich Drepper <drepper@gmail.com>
8146
5f078c32
UD
8147 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8148 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8149
fe72eebd
UD
8150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8151 instructions.
8152
ae1bc2fa
AS
81532011-11-07 Andreas Schwab <schwab@redhat.com>
8154
7583a88d
AS
8155 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8156 handler when locking.
8157
ae1bc2fa
AS
8158 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8159 Fix size of allocated buffer.
8160
10fb0bfa
AS
81612011-11-04 Andreas Schwab <schwab@redhat.com>
8162
998832a4
AS
8163 [BZ #10103]
8164 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8165 declarations for long double functions.
8166 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8167
10fb0bfa
AS
8168 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8169
3d7ba52b
AS
81702011-11-03 Andreas Schwab <schwab@redhat.com>
8171
a9ae54a1
AS
8172 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8173 installed.
8174
3d7ba52b
AS
8175 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8176 is disabled.
8177
bc8db248
ST
81782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8179
8180 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8181
45b96dd6
AS
81822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8183
647776f6
AS
8184 * include/alloca.h (stackinfo_alloca_round): Define.
8185 (extend_alloca): Use it.
8186 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8187 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8188 here.
8189
d91a8b93
AS
8190 * scripts/check-local-headers.sh: Ignore libaudit.h.
8191
45b96dd6
AS
8192 * nscd/Makefile (extra-objs): Make recursively expanded.
8193
432d41ce
UD
81942011-11-01 Ulrich Drepper <drepper@gmail.com>
8195
34372fc6
UD
8196 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8197 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8198
fadb59f8
UD
8199 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8200 * posix/tst-rfc3484-2.c: Likewise.
8201 * posix/tst-rfc3484-3.c: Likewise.
8202
78239589
UD
8203 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8204 process_vm_writev.
8205 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8206 process_vm_writev.
8207 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8208 process_vm_writev from libc using GLIBC_2.15 version.
8209
432d41ce
UD
8210 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8211
02f9c6cf
PP
82122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8213
8214 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8215 stack usage.
8216
3a2c0242
UD
82172011-10-31 Ulrich Drepper <drepper@gmail.com>
8218
f4ec4833
UD
8219 [BZ #13367]
8220 * nss/getent.c (initgroups_keys): Show error message in case no group
8221 names are given.
8222
3a2c0242
UD
8223 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8224 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8225 __bump_nl_timestamp.
8226 * nscd/connections (nscd_init): When host database is served open
8227 netlink socket and request notification about configuration changes.
8228 (main_loop_poll): Track netlink file descriptor and bump timestamp
8229 in case data becomes available.
8230 (main_loop_epoll): Likewise.
8231 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8232 (database_pers_head): Add extra_data fileds.
8233 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8234 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8235 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8236 Adjust caller.
8237 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8238 in6ai data, call __free_in6ai.
8239 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8240 Add -DHAVE_NETLINK.
8241 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8242 interface information. Reuse previous data if netlink timestamp
8243 is not changed.
8244 (__bump_nl_timestamp): New function.
8245 (__free_in6ai): New function.
8246
636064eb
UD
82472011-10-30 Ulrich Drepper <drepper@gmail.com>
8248
8249 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8250 close_not_cancel_no_status here.
8251 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8252
9beb2334
UD
82532011-10-29 Ulrich Drepper <drepper@gmail.com>
8254
6ef76f3b
UD
8255 [BZ #13276]
8256 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8257 return value.
8258
0ffc4f3e 8259 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8260 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8261 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8262
cb95113e
UD
82632011-07-03 Andreas Jaeger <aj@suse.de>
8264
8265 [BZ #10709]
8266 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8267 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8268 * math/libm-test.inc (sin_test): Add test case.
8269
a1b560ff
UD
82702011-10-29 Ulrich Drepper <drepper@gmail.com>
8271
c9aaface
UD
8272 [BZ #13337]
8273 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8274 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8275
d272e7f1
UD
8276 * elf/chroot_canon.c (chroot_canon): Cleanups.
8277
1bc33071
UD
8278 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8279
1760874d
TJ
8280 [BZ #13335]
8281 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8282 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8283
51d91b18
UD
8284 * string/test-strchr.c: Make usable for strchrnul testing.
8285 * string/test-strchrnul.c: New file.
8286 * string/Makefile (strop-tests): Add strchrnul.
8287
a1b560ff 8288 * po/it.po: Update from translation team.
b611fb81 8289 * po/es.po: Likewise.
a1b560ff 8290
a5b81e1f
UD
82912011-10-28 Ulrich Drepper <drepper@gmail.com>
8292
fd52bc6d
UD
8293 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8294 the three constants needed as parameters. Drop the others.
8295 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8296 __m128i_strloadu_tolower.
52e4b9eb
UD
8297 Create and initialize variable zero and use it in all the places
8298 where _mm_setzero_si128 was used.
fd52bc6d 8299
a5b81e1f
UD
8300 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8301 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8302 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8303 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8304 anymore.
8305 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8306 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8307 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8308 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8309 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8310 __mpranred, __mptan.
8311 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8312 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8313 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8314 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8315 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8316 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8317 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8318 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8319 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8320
b4343346
AS
83212011-10-28 Andreas Schwab <schwab@redhat.com>
8322
0c92d8a8
AS
8323 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8324 redefine if SHARED.
8325 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8326
b4343346
AS
8327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8328 wide char related routines to wcsmbs subdir.
8329
3871f58f
AS
83302011-10-27 Andreas Schwab <schwab@redhat.com>
8331
8332 [BZ #13344]
8333 * misc/sys/cdefs.h (__THROWNL): Define.
8334 * posix/unistd.h: Use __THREADNL instead of __THREAD
8335 for memory synchronization functions.
8336
94d44d9f
RM
83372011-10-26 Roland McGrath <roland@hack.frob.com>
8338
21b64b15 8339 [BZ #13349]
94d44d9f
RM
8340 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8341 doesn't exist.
8342 * manual/stdio.texi (Obstack Streams): Node removed.
8343
f6ce9294
AS
83442011-10-26 Andreas Schwab <schwab@redhat.com>
8345
80479147
AS
8346 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8347 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8348 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8349
f6ce9294
AS
8350 * math/math_private.h (math_force_eval): Allow non-addressable
8351 arguments.
8352 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8353
618280a1
UD
83542011-10-25 Ulrich Drepper <drepper@gmail.com>
8355
e0016b11
UD
8356 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8357 file is not needed.
8358
8359 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8360 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8361 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8362 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8365 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8366 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8367 Add AVX variants.
8368 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8369 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8370 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8371 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8372 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8373 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8374 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8375 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8376 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8377 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8378 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8379 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8380 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8381 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8382 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8383 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8384 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8385 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8386 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8387
8388 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8389 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8390
618280a1
UD
8391 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8392 place. Use VEX encoding when compiling for AVX.
8393
37822576
AS
83942011-10-25 Andreas Schwab <schwab@redhat.com>
8395
1f1e1947
AS
8396 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8397 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8398
37822576
AS
8399 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8400
31ea014d
UD
84012011-10-25 Ulrich Drepper <drepper@gmail.com>
8402
d7826aa1 8403 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8404 useless if() expression.
d7826aa1
UD
8405 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8406 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8407 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8408 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8412 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8413 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8414 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8415 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8416 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8417 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8418 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8419 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8420 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8421 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8423 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8424
31ea014d
UD
8425 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8426
16437fec
AS
84272011-10-25 Andreas Schwab <schwab@redhat.com>
8428
8429 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8430 condition.
8431 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8432
31d3cc00
UD
84332011-10-25 Ulrich Drepper <drepper@gmail.com>
8434
8435 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8436 .text section. Avoid duplicate constants.
8437 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8438 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8439 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8445 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8446 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8447 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8448 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8449 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8451 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8452 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8453 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8454 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8457 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8458 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8460 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8461 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8462 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8463 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8464 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8465 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8466 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8467 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8468 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8469 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8470 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8471 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8472 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8473 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8474 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8475 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8476 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8477 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8478 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8479 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8480 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8481 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8482
58985aa9
UD
84832011-10-24 Ulrich Drepper <drepper@gmail.com>
8484
202c9deb
UD
8485 * sysdeps/x86_64/dla.h: Move to ...
8486 * sysdeps/x86_64/fpu/dla.h: ...here.
8487 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8488 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8489
af968f62
UD
8490 * config.make.in: Add have-mfma4 entry.
8491 * configure.in: Substitute libc_cv_cc_fma4.
8492 * math/Makefile (dbl-only-routines): Add sincostab.
8493 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8494 Use __sincostab not sincos.
8495 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8496 name is a macro.
8497 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8501 using __copysign.
8502 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8503 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8504 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8505 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8506 and __inv.
8507 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8508 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8509 __copysign.
8510 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8511 define aliases when function name is a macro.
8512 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8513 sysdeps/ieee754/dbl-64/sincos.tbl.
8514 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8515 fma4-enabled routines.
8516 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8517 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8518 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8519 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8520 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8521 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8522 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8523 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8525 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8526 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8527 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8528 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8529 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8530 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8531 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8532 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8533 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8534 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8535 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8536 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8537 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8538 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8539 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8540 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8541 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8542 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8543 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8544 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8545 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8546
58985aa9
UD
8547 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8548 rename.
8549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8557
a201fbcf
AS
85582011-10-24 Andreas Schwab <schwab@redhat.com>
8559
8560 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8561
fc2ee42a
LD
85622011-10-23 Ulrich Drepper <drepper@gmail.com>
8563
bb3129bd
UD
8564 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8565
0275fff8
UD
8566 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8567 prediction.
8568 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8569
2fa2ae85
UD
8570 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8571 Remove unused variable magic_bits.
8572 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8573
fc2ee42a
LD
8574 * string/strnlen.c: Define and use STRNLEN macro.
8575 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8576 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8577 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8578 * wcsmbs/wcslen.c: Define and use WCSLEN.
8579 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8580 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8581 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8582 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8583 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8584 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8585 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8586
ce7dd29f
LD
85872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8588
8589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8590 strnlen-sse2-no-bsf.
8591 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8592 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8593 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8594 Add strnlen support.
8595 (USE_AS_STRNLEN): New macro.
8596 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8597 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8598 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8599 * sysdeps/x86_64/wcslen.S: New file.
8600
979c70a3
MZ
86012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8602
8603 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8604 XMM-moves are used for copying on small sizes.
8605
2d09f82f
LD
86062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8607
8608 * wcsmbs/Makefile (strop-tests): Add wcschr.
8609 * wcsmbs/test-wcschr.c: New file.
8610 * string/test-strchr.c: Update.
8611 Add wcschr support.
8612 (WIDE): New macro.
8613
619fccca
LD
86142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8615
2d09f82f 8616 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8617 * wcsmbs/test-wcslen.c: New file.
8618 * string/test-strlen.c: Update.
8619 Add wcslen support.
8620 (WIDE): New macro.
8621
09f699ea
UD
86222011-10-23 Ulrich Drepper <drepper@gmail.com>
8623
8624 * po/it.po: Update from translation team.
8625
95584d3b
LD
86262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8627
8628 * sysdeps/x86_64/wcscmp.S: Update.
8629 Fix wrong comparison semantics.
8630 wcscmp shall use signed comparison not unsigned.
8631 Don't use substraction to avoid overflow bug.
8632 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8633 * wcsmbc/wcscmp.c: Likewise.
8634 * string/test-strcmp.c: Likewise.
8635 Add new tests to check cases with negative values.
8636
c8b3296b
UD
86372011-10-23 Ulrich Drepper <drepper@gmail.com>
8638
8639 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8640 * sysdeps/x86_64/dla.h: ...here. New file.
8641 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8642 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8650
246ad57a
AS
86512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8652
8653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8654 __ynl_finite aliases.
8655
a1a87169
UD
86562011-10-22 Ulrich Drepper <drepper@gmail.com>
8657
0d355eb7
UD
8658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8659
a1a87169
UD
8660 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8661 define DLA_FMA.
8662 [DLA_FMA] (EMULV): Use DLA_FMA.
8663 [DLA_FMA] (MUL12): Use EMULV.
8664 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8665 that are not needed.
8666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8673
ee2aafe0
AS
86742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8675
8676 * math/s_nan.c: Undef __nan.
8677 * math/s_nanf.c: Undef __nanf.
8678 * math/s_nanl.c: Undef __nanl.
8679 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8680 "math_private.h".
8681
bc62c2fb
UD
86822011-10-22 Ulrich Drepper <drepper@gmail.com>
8683
77425c63
UD
8684 * math/s_catan.c: Add branch predictions.
8685 * math/s_catanf.c: Likewise.
8686 * math/s_catanh.c: Likewise.
8687 * math/s_catanhf.c: Likewise.
8688 * math/s_catanhl.c: Likewise.
8689 * math/s_catanl.c: Likewise.
8690 * math/s_cexp.c: Likewise.
8691 * math/s_cexpf.c: Likewise.
8692 * math/s_cexpl.c: Likewise.
8693 * math/s_clog.c: Likewise.
8694 * math/s_clog10.c: Likewise.
8695 * math/s_clog10f.c: Likewise.
8696 * math/s_clog10l.c: Likewise.
8697 * math/s_clogf.c: Likewise.
8698 * math/s_clogl.c: Likewise.
8699 * math/s_csqrt.c: Likewise.
8700 * math/s_csqrtf.c: Likewise.
8701 * math/s_csqrtl.c: Likewise.
8702 * math/s_ctanf.c: Likewise.
8703 * math/s_ctanh.c: Likewise.
8704 * math/s_ctanhf.c: Likewise.
8705 * math/s_ctanhl.c: Likewise.
8706 * math/s_ctanl.c: Likewise.
8707
bc62c2fb
UD
8708 * math/math_private.h: Define __nan, __nanf, __nanl.
8709 * math/s_cacosh.c: Include <math_private.h>.
8710 * math/s_cacoshl.c: Likewise.
8711 * math/s_casinh.c: Likewise.
8712 * math/s_casinhf.c: Likewise.
8713 * math/s_casinhl.c: Likewise.
8714 * math/s_ccos.c: Rely entire on ccosh.
8715 * math/s_ccosf.c: Rely entire on ccoshf.
8716 * math/s_ccosl.c: Rely entirely on ccoshl.
8717 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8718 Remove tests for FE_INVALID.
8719 * math/s_ccoshf.c: Likewise.
8720 * math/s_ccoshl.c: Likewise.
8721 * math/s_csin.c: Likewise.
8722 * math/s_csinf.c: Likewise.
8723 * math/s_csinh.c Likewise.
8724 * math/s_csinhf.c: Likewise.
8725 * math/s_csinhl.c: Likewise.
8726 * math/s_csinl.c: Likewise.
8727 * math/s_ctan.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8729 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8730 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8731
8ec250a4
UD
87322011-10-21 Ulrich Drepper <drepper@gmail.com>
8733
c196fed8
UD
8734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8735 compilation problems.
8736
8ec250a4
UD
8737 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8738 __builtin_expect.
8739
8d4f46c6
UD
87402011-10-20 Ulrich Drepper <drepper@gmail.com>
8741
ed72b654
UD
8742 * sysdeps/i386/configure.in: Test for -mfma4 option.
8743 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8744 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8745 COMMON_CPUID_INDEX_80000001.
8746 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8747 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8748 use it if FMA3 is not supported.
8749 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8750
8d4f46c6
UD
8751 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8752 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8753
d45c60c2
AS
87542011-10-20 Andreas Schwab <schwab@redhat.com>
8755
8756 [BZ #12892]
8757 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8758 it would create a cycle with a link time dependency.
8759
d9a4d2ab
UD
87602011-10-19 Ulrich Drepper <drepper@gmail.com>
8761
855d1560
UD
8762 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8763 instruction.
8764 * string/Makefile (strop-tests): Add rawmemchr.
8765 * string/test-rawmemchr.c: New file.
8766
d9a4d2ab
UD
8767 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8768 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8769 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8770 when compiling str{,n}casecmp and when AVX is available. Hook up
8771 new optimized code in initializers.
8772
8f3b1ffe
AS
87732011-10-19 Andreas Schwab <schwab@redhat.com>
8774
8775 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8776 __feraiseexcept instead of feraiseexcept.
8777
d38f1dba
UD
87782011-10-18 Ulrich Drepper <drepper@gmail.com>
8779
d9a8d0ab
UD
8780 * math/math_private.h: Define defaults for libc_fetestexcept and
8781 libc_feupdateenv.
8782 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8783 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8784 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8785 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8786 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8787 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8788 libc_fetestexcept and libc_feupdateenv.
8789
4855e3dd
UD
8790 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8791 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8792 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8793 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8794 libc_feholdexcept_setround.
8795
581d30e3
UD
8796 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8797 Add s_nearbyint-c and s_nearbyintf-c.
8798 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8799 nearbyintf inlines.
8800 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8801 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8802 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8803 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8804
d38f1dba
UD
8805 * math/math_private.h: Define defaults for libc_fegetround,
8806 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8807 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8808 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8809 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8810 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8811 standard functions.
8812 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8813 Remove comments and hacks for old compiler versions.
8814 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8815 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8816 libc_feholdexceptl.
8817
caa6c9d8
AS
88182011-10-18 Andreas Schwab <schwab@redhat.com>
8819
8820 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8821 (__feraiseexcept_renamed): Add __NTH.
8822 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8823 namespace violations.
8824
97c066e6
UD
88252011-10-17 Ulrich Drepper <drepper@gmail.com>
8826
99ce7b04
UD
8827 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8828
1004d182
UD
8829 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8830
228a984d
UD
8831 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8832 recently added interfaces.
8833 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8834
c8553a6a
UD
8835 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8836 about macro parameter expansion.
8837
ed22dcf6
UD
8838 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8839 __NO_MATH_INLINES is defined. Cleanups.
8840
8841 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8842 and __floorf is target has SSE4.1.
8843 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8844 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8845 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8846 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8847
b171c137
UD
8848 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8849 name.
8850 (floorf): Likewise.
8851
97c066e6
UD
8852 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8853
629f62ef
AS
88542011-10-17 Andreas Schwab <schwab@redhat.com>
8855
49a43d80
AS
8856 * misc/sys/cdefs.h: Fix last change.
8857
629f62ef
AS
8858 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8859 database lookup.
8860
e453f6cd
UD
88612011-10-16 Ulrich Drepper <drepper@gmail.com>
8862
aa78043a
UD
8863 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8864
ad0f5cad
UD
8865 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8871 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8872 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8873 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8874 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8875 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8876 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8877 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8878 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8879 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8880 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8881 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8882 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8883 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8884 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8885 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8886 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8887
8888 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8889 ceil, ceilf, floor, floorf.
8890
8891 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8892 Perform IRELATIVE relocations last.
8893
e453f6cd
UD
8894 * elf/do-rel.h: Add another parameter nrelative, replacing the
8895 local variable with the same name. Change name of the function
8896 to end in Rel or Rela (uppercase).
8897 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8898 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8899 elf_dynamic_do_##reloc function.
8900
fd5bdc09
UD
89012011-10-15 Ulrich Drepper <drepper@gmail.com>
8902
79b195b5
UD
8903 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8904 is sufficient, at least on modern CPUs.
8905
d4a28569
UD
8906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8907
b61099b5
UD
8908 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8909 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8910
bcf01e6d
UD
8911 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8912 __expl_finite.
8913 * math/bits/math-finite.h: Add entries for exp.
8914 * math/e_expl.c: Add __*_finite alias.
8915 * sysdeps/i386/fpu/e_exp.S: Likewise.
8916 * sysdeps/i386/fpu/e_expf.S: Likewise.
8917 * sysdeps/i386/fpu/e_expl.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8919 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8920 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8923 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8924 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8925
ba1a0d59
UD
8926 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8927 is sufficient, at least on modern CPUs.
8928
fd5bdc09
UD
8929 * ctype/ctype-info.c (__ctype_init): Define.
8930 * include/ctype.h (__ctype_init): Declare.
8931 (__ctype_b_loc): The variable is always initialized.
8932 (__ctype_toupper_loc): Likewise.
8933 (__ctype_tolower_loc): Likewise.
8934 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8935 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8936
7872cfb0
AS
89372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8938
b468825a
AS
8939 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8940
7872cfb0
AS
8941 * configure.in: Also look in $cxxmachine/include for C++ system
8942 headers.
8943
be13f7bf
LD
89442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8945
8946 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8947 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8948 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8949 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8950 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8951 (USE_AS_WMEMCMP): New macro.
8952 Fixing indents.
8953 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8954 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8955 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8956 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8958 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8959 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8960 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8961 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8962 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8963 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8964 (USE_AS_WMEMCMP): New macro.
8965 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8966 * sysdeps/string/test-memcmp.c: Update.
8967 Fix simple_wmemcmp.
8968 Add new tests.
8969 * wcsmbs/wmemcmp.c: Update.
8970 (WMEMCMP): New macro.
8971 Fix overflow bug.
8972
556a2007
AJ
89732011-10-12 Andreas Jaeger <aj@suse.de>
8974
8975 [BZ #13268]
8976 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8977
538faaa7
UD
89782011-10-15 Ulrich Drepper <drepper@gmail.com>
8979
ab6737ff
UD
8980 * libio/iofwide.c (do_length): Avoid warning.
8981
538faaa7
UD
8982 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8983
396a21b1
UD
89842011-10-14 Ulrich Drepper <drepper@gmail.com>
8985
cdf2901f
UD
8986 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8987
38ad40ce
UD
8988 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8989 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8990 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8991 * sysdeps/i386/i686/fpu/e_log.S: New file.
8992 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8993 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8994
396a21b1
UD
8995 * ctype/ctype.h: Add support for inlined isXXX functions when
8996 compiling C++ code.
8997
6b1f68c9
AS
89982011-10-14 Andreas Schwab <schwab@redhat.com>
8999
349290c0
AS
9000 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9001
6b1f68c9
AS
9002 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9003
f2282d42
RM
90042011-10-13 Roland McGrath <roland@hack.frob.com>
9005
9006 [BZ #13291]
9007 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9008
5298ffa8
AS
90092011-10-13 Andreas Schwab <schwab@redhat.com>
9010
714fad23
AS
9011 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9012 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9013 feraiseexcept.
9014
81dcc7fb
AS
9015 * sysdeps/x86_64/memrchr.S: Check for zero size.
9016
5298ffa8
AS
9017 * string/stratcliff.c: Add memrchr tests.
9018
951fbcec
LD
90192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9020
9021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9022 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9023 rawmemchr-sse2 rawmemchr-sse2-bsf.
9024 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9025 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9026 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9027 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9028 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9029 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9030 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9031 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9032 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9033 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9034 * string/memrchr.c (MEMRCHR): New macro.
9035
0ac5ae23
UD
90362011-10-12 Ulrich Drepper <drepper@gmail.com>
9037
9038 Add integration with gcc's -ffinite-math-only and optimize wrapper
9039 functions in libm.
9040 * Versions.def: Define GLIBC_2.15 version for libm.
9041 * math/Makefile (headers): Add bits/math-finite.h.
9042 * math/bits/math-finite.h: New file.
9043 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9044 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9045 * math/e_acoshl.c: Add __*_finite alias.
9046 * math/e_acosl.c: Likewise.
9047 * math/e_asinl.c: Likewise.
9048 * math/e_atan2l.c: Likewise.
9049 * math/e_atanhl.c: Likewise.
9050 * math/e_coshl.c: Likewise.
9051 * math/e_exp10.c: Likewise.
9052 * math/e_exp10f.c: Likewise.
9053 * math/e_exp10l.c: Likewise.
9054 * math/e_exp2l.c: Likewise.
9055 * math/e_fmodl.c: Likewise.
9056 * math/e_gammal_r.c: Likewise.
9057 * math/e_hypotl.c: Likewise.
9058 * math/e_j0l.c: Likewise.
9059 * math/e_j1l.c: Likewise.
9060 * math/e_jnl.c: Likewise.
9061 * math/e_lgammal_r.c: Likewise.
9062 * math/e_log10l.c: Likewise.
9063 * math/e_log2l.c: Likewise.
9064 * math/e_logl.c: Likewise.
9065 * math/e_powl.c: Likewise.
9066 * math/e_sinhl.c: Likewise.
9067 * math/e_sqrtl.c: Likewise.
9068 * math/e_scalb.c: Completely rewritten and optimized.
9069 * math/e_scalbf.c: Likewise.
9070 * math/e_scalbl.c: Likewise.
9071 * math/w_acos.c: Likewise.
9072 * math/w_acosf.c: Likewise.
9073 * math/w_acosl.c: Likewise.
9074 * math/w_acosh.c: Likewise.
9075 * math/w_acoshf.c: Likewise.
9076 * math/w_acoshl.c: Likewise.
9077 * math/w_asin.c: Likewise.
9078 * math/w_asinf.c: Likewise.
9079 * math/w_asinl.c: Likewise.
9080 * math/w_atan2.c: Likewise.
9081 * math/w_atan2f.c: Likewise.
9082 * math/w_atan2l.c: Likewise.
9083 * math/w_atanh.c: Likewise.
9084 * math/w_atanhf.c: Likewise.
9085 * math/w_atanhl.c: Likewise.
9086 * math/w_exp10.c: Likewise.
9087 * math/w_exp10f.c: Likewise.
9088 * math/w_exp10l.c: Likewise.
9089 * math/w_fmod.c: Likewise.
9090 * math/w_fmodf.c: Likewise.
9091 * math/w_fmodl.c: Likewise.
9092 * math/w_j0.c: Likewise.
9093 * math/w_j0f.c: Likewise.
9094 * math/w_j0l.c: Likewise.
9095 * math/w_j1.c: Likewise.
9096 * math/w_j1f.c: Likewise.
9097 * math/w_j1l.c: Likewise.
9098 * math/w_jn.c: Likewise.
9099 * math/w_jnf.c: Likewise.
9100 * math/w_log.c: Likewise.
9101 * math/w_logf.c: Likewise.
9102 * math/w_logl.c: Likewise.
9103 * math/w_log10.c: Likewise.
9104 * math/w_log10f.c: Likewise.
9105 * math/w_log10l.c: Likewise.
9106 * math/w_log2.c: Likewise.
9107 * math/w_log2f.c: Likewise.
9108 * math/w_log2l.c: Likewise.
9109 * math/w_pow.c: Likewise.
9110 * math/w_powf.c: Likewise.
9111 * math/w_powl.c: Likewise.
9112 * math/w_remainder.c: Likewise.
9113 * math/w_remainderf.c: Likewise.
9114 * math/w_remainderl.c: Likewise.
9115 * math/w_scalb.c: Likewise.
9116 * math/w_scalbf.c: Likewise.
9117 * math/w_scalbl.c: Likewise.
9118 * math/w_sqrt.c: Likewise.
9119 * math/w_sqrtf.c: Likewise.
9120 * math/w_sqrtl.c: Likewise.
9121 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9122 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9123 used.
9124 * math/math_private.h: Declare __kernel_standard_f.
9125 * math/w_cosh.c: Remove cruft and optimize a bit.
9126 * math/w_coshf.c: Likewise.
9127 * math/w_coshl.c: Likewise.
9128 * math/w_exp2.c: Likewise.
9129 * math/w_exp2f.c: Likewise.
9130 * math/w_exp2l.c: Likewise.
9131 * math/w_hypot.c: Likewise.
9132 * math/w_hypotf.c: Likewise.
9133 * math/w_hypotl.c: Likewise.
9134 * math/w_lgamma.c: Likewise.
9135 * math/w_lgamma_r.c: Likewise.
9136 * math/w_lgammaf.c: Likewise.
9137 * math/w_lgammaf_r.c: Likewise.
9138 * math/w_lgammal.c: Likewise.
9139 * math/w_lgammal_r.c: Likewise.
9140 * math/w_sinh.c: Likewise.
9141 * math/w_sinhf.c: Likewise.
9142 * math/w_sinhl.c: Likewise.
9143 * math/w_tgamma.c: Likewise.
9144 * math/w_tgammaf.c: Likewise.
9145 * math/w_tgammal.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9148 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9149 Minor optimizations. Pretty printing. Remove cruft.
9150 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9151 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9152 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9153 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9154 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9155 * sysdeps/i386/fpu/e_asin.S: Likewise.
9156 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9157 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9158 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9159 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9160 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9161 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9162 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9163 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9164 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9165 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9166 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9167 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9168 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9169 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9170 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9171 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9172 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9173 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9174 * sysdeps/i386/fpu/e_log.S: Likewise.
9175 * sysdeps/i386/fpu/e_log10.S: Likewise.
9176 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9177 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9178 * sysdeps/i386/fpu/e_log2.S: Likewise.
9179 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9180 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9181 * sysdeps/i386/fpu/e_logf.S: Likewise.
9182 * sysdeps/i386/fpu/e_logl.S: Likewise.
9183 * sysdeps/i386/fpu/e_pow.S: Likewise.
9184 * sysdeps/i386/fpu/e_powf.S: Likewise.
9185 * sysdeps/i386/fpu/e_powl.S: Likewise.
9186 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9187 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9188 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9189 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9190 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9191 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9192 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9193 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9194 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9209 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9211 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9212 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9213 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9214 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9215 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9216 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9217 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9218 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9219 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9220 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9221 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9222 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9223 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9224 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9225 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9226 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9227 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9228 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9229 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9230 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9231 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9232 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9233 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9234 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9235 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9236 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9248 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9250 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9255 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9256 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9265 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9275 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9278 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9280 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9281 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9283 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9286 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9288 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9289 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9290 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9291 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9292 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9293 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9294 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9295 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9296 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9297 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9298 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9299 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9300 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9301 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9302 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9303 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9304 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9305 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9306 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9307 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9308 (__isnanf): Likewise.
9309 (__isinf_ns): Likewise.
9310 (__isinf_nsf): Likewise.
9311 (__finite): Likewise.
9312 (__finitef): Likewise.
9313 (__ieee754_sqrt): Define as macro.
9314 (__ieee754_sqrtf): Define as macro.
9315 (__ieee754_sqrtl): Define as macro.
9316 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9317 inlined copy.
9318 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9319 __FINITE_MATH_ONLY__ consistent.
9320 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9321
12cc2fcd
AS
93222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9323
a843a204
AS
9324 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9325 of rawmemchr.
9326
12cc2fcd
AS
9327 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9328
c853acd5
UD
93292011-10-09 Ulrich Drepper <drepper@gmail.com>
9330
9331 * po/ja.po: Update from translation team.
9332
c658d255
RM
93332011-10-08 Roland McGrath <roland@hack.frob.com>
9334
110946e4
RM
9335 * locale/programs/locarchive.c (prepare_address_space): New function.
9336 (create_archive, enlarge_archive, open_archive): Use it.
9337
50604220
RM
9338 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9339 inside [SHARED], where it is used.
9340
c658d255
RM
9341 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9342
9343 * nss/getent.c (netgroup_keys): Remove unused variable.
9344 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9345
6a621eb7
UD
93462011-10-08 Ulrich Drepper <drepper@gmail.com>
9347
7edb55ce
UD
9348 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9349 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9351 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9352 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9353 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9354 * math/Makefile (libm-calls): Add s_isinf_ns.
9355 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9356 * math/multc3.c: Likewise.
9357 * math/s_casin.c: Likewise.
9358 * math/s_casinf.c: Likewise.
9359 * math/s_casinl.c: Likewise.
9360 * math/s_ccos.c: Likewise.
9361 * math/s_ccosf.c: Likewise.
9362 * math/s_ccosl.c: Likewise.
9363 * math/s_ctan.c: Likewise.
9364 * math/s_ctanf.c: Likewise.
9365 * math/s_ctanh.c: Likewise.
9366 * math/s_ctanhf.c: Likewise.
9367 * math/s_ctanhl.c: Likewise.
9368 * math/s_ctanl.c: Likewise.
9369 * math/w_fmod.c: Likewise.
9370 * math/w_fmodf.c: Likewise.
9371 * math/w_fmodl.c: Likewise.
9372 * math/w_remainder.c: Likewise.
9373 * math/w_remainderf.c: Likewise.
9374 * math/w_remainderl.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9376 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9377 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9379 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9380 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9381 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9382 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9383
187da0ae
UD
9384 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9385 of the number.
9386 * stdio-common/printf_fphex.c: Likewise.
9387 * stdio-common/printf_size.c: Likewise.
9388
9277c064
UD
9389 * math/e_exp10.c: Include math_private.h using <...> not "...".
9390 * math/e_exp10f.c: Likewise.
9391 * math/e_exp10l.c: Likewise.
9392 * math/e_exp2l.c: Likewise.
9393 * math/e_j0l.c: Likewise.
9394 * math/e_j1l.c: Likewise.
9395 * math/e_jnl.c: Likewise.
9396 * math/e_lgammal_r.c: Likewise.
9397 * math/e_rem_pio2l.c: Likewise.
9398 * math/e_scalb.c: Likewise.
9399 * math/e_scalbf.c: Likewise.
9400 * math/e_scalbl.c: Likewise.
9401 * math/k_cosl.c: Likewise.
9402 * math/k_sinl.c: Likewise.
9403 * math/k_tanl.c: Likewise.
9404 * math/s_cacoshf.c: Likewise.
9405 * math/s_catan.c: Likewise.
9406 * math/s_catanf.c: Likewise.
9407 * math/s_catanh.c: Likewise.
9408 * math/s_catanhf.c: Likewise.
9409 * math/s_catanhl.c: Likewise.
9410 * math/s_catanl.c: Likewise.
9411 * math/s_ccosh.c: Likewise.
9412 * math/s_ccoshf.c: Likewise.
9413 * math/s_ccoshl.c: Likewise.
9414 * math/s_cexp.c: Likewise.
9415 * math/s_cexpf.c: Likewise.
9416 * math/s_cexpl.c: Likewise.
9417 * math/s_clog.c: Likewise.
9418 * math/s_clog10.c: Likewise.
9419 * math/s_clog10f.c: Likewise.
9420 * math/s_clog10l.c: Likewise.
9421 * math/s_clogf.c: Likewise.
9422 * math/s_clogl.c: Likewise.
9423 * math/s_csin.c: Likewise.
9424 * math/s_csinf.c: Likewise.
9425 * math/s_csinh.c: Likewise.
9426 * math/s_csinhf.c: Likewise.
9427 * math/s_csinhl.c: Likewise.
9428 * math/s_csinl.c: Likewise.
9429 * math/s_csqrt.c: Likewise.
9430 * math/s_csqrtf.c: Likewise.
9431 * math/s_csqrtl.c: Likewise.
9432 * math/s_ctan.c: Likewise.
9433 * math/s_ctanf.c: Likewise.
9434 * math/s_ctanh.c: Likewise.
9435 * math/s_ctanhf.c: Likewise.
9436 * math/s_ctanhl.c: Likewise.
9437 * math/s_ctanl.c: Likewise.
9438 * math/s_ldexp.c: Likewise.
9439 * math/s_ldexpf.c: Likewise.
9440 * math/s_ldexpl.c: Likewise.
9441 * math/s_significand.c: Likewise.
9442 * math/s_significandf.c: Likewise.
9443 * math/s_significandl.c: Likewise.
9444 * math/w_acos.c: Likewise.
9445 * math/w_acosf.c: Likewise.
9446 * math/w_acosh.c: Likewise.
9447 * math/w_acoshf.c: Likewise.
9448 * math/w_acoshl.c: Likewise.
9449 * math/w_acosl.c: Likewise.
9450 * math/w_asin.c: Likewise.
9451 * math/w_asinf.c: Likewise.
9452 * math/w_asinl.c: Likewise.
9453 * math/w_atan2.c: Likewise.
9454 * math/w_atan2f.c: Likewise.
9455 * math/w_atan2l.c: Likewise.
9456 * math/w_atanh.c: Likewise.
9457 * math/w_atanhf.c: Likewise.
9458 * math/w_atanhl.c: Likewise.
9459 * math/w_cosh.c: Likewise.
9460 * math/w_coshf.c: Likewise.
9461 * math/w_coshl.c: Likewise.
9462 * math/w_dremf.c: Likewise.
9463 * math/w_exp10.c: Likewise.
9464 * math/w_exp10f.c: Likewise.
9465 * math/w_exp10l.c: Likewise.
9466 * math/w_exp2.c: Likewise.
9467 * math/w_exp2f.c: Likewise.
9468 * math/w_fmod.c: Likewise.
9469 * math/w_fmodf.c: Likewise.
9470 * math/w_fmodl.c: Likewise.
9471 * math/w_hypot.c: Likewise.
9472 * math/w_hypotf.c: Likewise.
9473 * math/w_hypotl.c: Likewise.
9474 * math/w_j0.c: Likewise.
9475 * math/w_j0f.c: Likewise.
9476 * math/w_j0l.c: Likewise.
9477 * math/w_j1.c: Likewise.
9478 * math/w_j1f.c: Likewise.
9479 * math/w_j1l.c: Likewise.
9480 * math/w_jn.c: Likewise.
9481 * math/w_jnf.c: Likewise.
9482 * math/w_jnl.c: Likewise.
9483 * math/w_lgamma.c: Likewise.
9484 * math/w_lgamma_r.c: Likewise.
9485 * math/w_lgammaf.c: Likewise.
9486 * math/w_lgammaf_r.c: Likewise.
9487 * math/w_lgammal.c: Likewise.
9488 * math/w_lgammal_r.c: Likewise.
9489 * math/w_log.c: Likewise.
9490 * math/w_log10.c: Likewise.
9491 * math/w_log10f.c: Likewise.
9492 * math/w_log10l.c: Likewise.
9493 * math/w_log2.c: Likewise.
9494 * math/w_log2f.c: Likewise.
9495 * math/w_log2l.c: Likewise.
9496 * math/w_logf.c: Likewise.
9497 * math/w_logl.c: Likewise.
9498 * math/w_pow.c: Likewise.
9499 * math/w_powf.c: Likewise.
9500 * math/w_powl.c: Likewise.
9501 * math/w_remainder.c: Likewise.
9502 * math/w_remainderf.c: Likewise.
9503 * math/w_remainderl.c: Likewise.
9504 * math/w_scalb.c: Likewise.
9505 * math/w_scalbf.c: Likewise.
9506 * math/w_scalbl.c: Likewise.
9507 * math/w_sinh.c: Likewise.
9508 * math/w_sinhf.c: Likewise.
9509 * math/w_sinhl.c: Likewise.
9510 * math/w_sqrt.c: Likewise.
9511 * math/w_sqrtf.c: Likewise.
9512 * math/w_sqrtl.c: Likewise.
9513 * math/w_tgamma.c: Likewise.
9514 * math/w_tgammaf.c: Likewise.
9515 * math/w_tgammal.c: Likewise.
9516
6a621eb7
UD
9517 * po/ja.po: Update from translation team.
9518
bf582445
AJ
95192011-09-29 Andreas Jaeger <aj@suse.de>
9520
f9efbf3a
AJ
9521 [BZ #13179]
9522 * sunrpc/netname.c (netname2host): Fix logic.
9523
bf582445
AJ
9524 [BZ #6779]
9525 [BZ #6783]
9526 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9527 correctly.
9528 * math/w_remainder.c (__remainder): Likewise.
9529 * math/w_remainderf.c (__remainderf): Likewise.
9530 * math/libm-test.inc (remainder_test): Add test cases.
9531
48693bea
AK
95322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9533
9534 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9535 sdiv_qrnnd.
9536
42622229
LD
95372011-10-07 Ulrich Drepper <drepper@gmail.com>
9538
9539 * string/test-memcmp.c: Avoid unncessary #defines.
9540 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9541
093ecf92
LD
95422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9543
9544 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9545 Use new sse2 version for core i3 - i7 as it's faster
9546 than sse42 version.
9547 (bit_Prefer_PMINUB_for_stringop): New.
9548 * sysdeps/x86_64/rawmemchr.S: Update.
9549 Replace with faster SSE2 version.
9550 * sysdeps/x86_64/memrchr.S: New file.
9551 * sysdeps/x86_64/memchr.S: Update.
9552 Replace with faster SSE2 version.
9553
fde56e5c
MP
95542011-09-12 Marek Polacek <mpolacek@redhat.com>
9555
9556 * elf/dl-load.c (lose): Add cast to avoid warning.
9557
21fd49a9
UD
95582011-10-07 Ulrich Drepper <drepper@gmail.com>
9559
5a06e643
UD
9560 * po/ca.po: Update from translation team.
9561
684ae515
UD
9562 * inet/getnetgrent_r.c: Hook up nscd.
9563 * nscd/Makefile (routines): Add nscd_netgroup.
9564 (nscd-modules): Add netgroupcache.
9565 (CFLAGS-netgroupcache.c): Define.
9566 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9567 (cache_search): Add const to second parameter.
9568 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9569 INNETGR.
9570 (dbs): Add netgrdb entry.
9571 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9572 (verify_persistent_db): Handle netgrdb.
9573 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9574 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9575 GETFDNETGR.
9576 (netgroup_response_header): Define.
9577 (innetgroup_response_header): Define.
9578 (datahead): Add netgroup_response_header and innetgroup_response_header
9579 elements.
9580 * nscd/nscd.conf: Add entries for netgroup cache.
9581 * nscd/nscd.h (dbtype): Add netgrdb.
9582 (_PATH_NSCD_NETGROUP_DB): Define.
9583 (netgroup_iov_disabled): Declare.
9584 (xmalloc, xcalloc, xrealloc): Move declarations here.
9585 (cache_search): Adjust prototype.
9586 Add netgroup-related prototypes.
9587 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9588 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9589 (__nscd_innetgr): Declare.
9590 * nscd/selinux.c (perms): Use access_vector_t as element type and
9591 add netgroup-related initializers.
9592 * nscd/netgroupcache.c: New file.
9593 * nscd/nscd_netgroup.c: New file.
9594 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9595 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9596 For four parameters use innetgr.
9597 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9598 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9599 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9600 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9601
21fd49a9
UD
9602 * nscd/connections.c (register_traced_file): Don't register file
9603 for disabled databases.
9604
054c0457
UD
96052011-10-06 Ulrich Drepper <drepper@gmail.com>
9606
32b63198
UD
9607 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9608
054c0457
UD
9609 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9610 from tree and freeing node.
9611
64031225
JO
96122011-09-25 Jiri Olsa <jolsa@redhat.com>
9613
9614 * nss/nsswitch.c (__nss_database_lookup): Handle
9615 nss_parse_service_list out of memory case.
9616
0490345c
JO
96172011-09-15 Jiri Olsa <jolsa@redhat.com>
9618
9619 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9620 out of memory case.
9621
3a62d00d
AS
96222011-10-04 Andreas Schwab <schwab@redhat.com>
9623
9624 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9625 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9626 pass it down.
9627 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9628 elf_machine_rela, elf_machine_lazy_rel.
9629 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9630 (ELF_DYNAMIC_DO_REL): Likewise.
9631 (ELF_DYNAMIC_DO_RELA): Likewise.
9632 (ELF_DYNAMIC_RELOCATE): Likewise.
9633 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9634 to ELF_DYNAMIC_DO_REL.
9635 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9636 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9637 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9638 elf_machine_rela.
9639 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9640 skip_ifunc, don't call ifunc function if non-zero.
9641 (elf_machine_rela): Likewise.
9642 (elf_machine_lazy_rel): Likewise.
9643 (elf_machine_lazy_rela): Likewise.
9644 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9645 (elf_machine_lazy_rel): Likewise.
9646 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9647 Likewise.
9648 (elf_machine_lazy_rel): Likewise.
9649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9650 Likewise.
9651 (elf_machine_lazy_rel): Likewise.
9652 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9653 (elf_machine_lazy_rel): Likewise.
9654 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9655 (elf_machine_lazy_rel): Likewise.
9656 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9657 (elf_machine_lazy_rel): Likewise.
9658 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9659 (elf_machine_lazy_rel): Likewise.
9660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9661 (elf_machine_lazy_rel): Likewise.
9662 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9663 (elf_machine_lazy_rel): Likewise.
9664
68577918
UD
96652011-09-28 Ulrich Drepper <drepper@gmail.com>
9666
9667 * nss/nss_files/files-init.c (_nss_files_init): Use static
9668 initialization for all the *_traced_file variables.
9669
68822d74
AS
96702011-09-28 Andreas Schwab <schwab@redhat.com>
9671
9672 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9673
2056100b
RM
96742011-09-27 Roland McGrath <roland@hack.frob.com>
9675
9676 [BZ #13226]
9677 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9678
32c76b63
AS
96792011-09-27 Andreas Schwab <schwab@redhat.com>
9680
9681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9682 Reread the line before reparsing it.
9683
bf972c9d
AS
96842011-09-26 Andreas Schwab <schwab@redhat.com>
9685
9686 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9687
e057a1b5
JM
96882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9689 Maxim Kuvyrkov <maxim@codesourcery.com>
9690 Joseph Myers <joseph@codesourcery.com>
9691
9692 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9693 if needed for __stack_chk_guard.
9694
bc7e1c36
RM
96952011-09-19 Roland McGrath <roland@hack.frob.com>
9696
ecb1482f
RM
9697 * sysdeps/posix/spawni.c (script_execute): Always define it.
9698 It will be optimized away if unused.
9699 (maybe_script_execute): New function.
9700 (__spawni): Call it.
9701
bc7e1c36
RM
9702 * Makerules: Don't include tls.make.
9703 (config-tls): Always set to thread.
9704 * tls.make.c: File removed.
9705
1c3b002b
MF
97062011-09-19 Mike Frysinger <vapier@gentoo.org>
9707
9708 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9709 * config.make.in (CPPFLAGS-config): New substituted variable.
9710
2840865d
UD
97112011-09-15 Ulrich Drepper <drepper@gmail.com>
9712
88738eb6
UD
9713 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9714
cbf645a6 9715 [BZ #13192]
2840865d
UD
9716 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9717 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9718
b402e91a
RM
97192011-09-15 Roland McGrath <roland@hack.frob.com>
9720
9721 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9722 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9724 (CALL_FAIL): Likewise.
9725 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9726 (CALL_FAIL): Macro removed.
9727 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9728
4c1a1f71
UD
97292011-09-15 Ulrich Drepper <drepper@gmail.com>
9730
9731 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9732 for __FINITE_MATH_ONLY__ == 1.
9733
edc121be
AS
97342011-09-15 Andreas Schwab <schwab@redhat.com>
9735
9736 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9737 __ieee754_sqrt instead of sqrt.
9738 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9739 __ieee754_sqrtf instead of sqrtf.
9740 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9741 __floorf instead of floorf.
9742 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9743 __floorf, __truncf instead of floorf, truncf.
9744
cd205654
UD
97452011-09-14 Ulrich Drepper <drepper@gmail.com>
9746
ee4d0315
UD
9747 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9748
cd205654
UD
9749 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9750 __extern_always_inline.
9751 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9752 32-bit.
9753
48b67d71
AS
97542011-09-14 Andreas Schwab <schwab@redhat.com>
9755
9756 * elf/rtld.c (dl_main): Also relocate in dependency order when
9757 doing symbol dependency testing.
9758
1ae12c75
AS
97592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9760
9761 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9762 Always define `refsym'.
9763
995a80df
AS
97642011-09-13 Andreas Schwab <schwab@redhat.com>
9765
e529793b
AS
9766 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9767 (__FD_ELT): Renamed from __FDELT.
9768 * misc/bits/select2.h (__FD_ELT): Likewise.
9769 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9770 __FD_MASK instead of __FDELT, __FDMASK.
9771 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9772 Likewise.
9773 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9774 Likewise.
9775
52d4fef8
AS
9776 * elf/Makefile (gen-ldd): Fix pattern.
9777
995a80df
AS
9778 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9779 (init_tls): Likewise.
9780
8682f8b0
UD
97812011-09-12 Ulrich Drepper <drepper@gmail.com>
9782
9783 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9784
de82006d
AS
97852011-09-12 Andreas Schwab <schwab@redhat.com>
9786
a7c8e6a1
AS
9787 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9788 `struct cmsghdr *' instead of `void *'.
9789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9790 Likewise.
9791
0f31fe77
AS
97922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9793
9794 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9795 if non-absolute.
9796 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9797 ldd_rewrite_script.
0f31fe77 9798
32b4c839
UD
97992011-09-11 Ulrich Drepper <drepper@gmail.com>
9800
83cd1420
UD
9801 * configure.in: Remove --with-tls option.
9802 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9803 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9804 out in case it is missing.
9805 * sysdeps/ia64/elf/configure.in: Likewise.
9806 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9807 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9808 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9809 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9810 * sysdeps/sh/elf/configure.in: Likewise.
9811 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9812 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9813 * sysdeps/x86_64/elf/configure.in: Likewise.
9814 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9815 * sysdeps/mach/hurd/tls.h: Likewise.
9816
633f745d
UD
9817 [BZ #13067]
9818 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9819
f318beb8
UD
9820 [BZ #13090]
9821 * configure.in: Fix use of AC_INIT.
9822
32b4c839
UD
9823 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9824
3ce1f295
UD
98252011-09-10 Ulrich Drepper <drepper@gmail.com>
9826
bb016596
UD
9827 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9828 __set_errno.
8e58439c
UD
9829 * malloc/hooks.c: Likewise.
9830
aebae053 9831 [BZ #11929]
02d46fc4
UD
9832 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9833 variables statically.
9834 (narenas): Initialize.
9835 (list_lock): Initialize.
bb016596
UD
9836 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9837 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9838 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9839 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9840 Add initializers to main_arena and mp_.
9841 (malloc_state): Remove pagesize member. Change all users to use
9842 GLRO(dl_pagesize).
9843
9844 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9845 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9846 is always initialized.
9847
22a89187
UD
9848 * malloc/malloc.c: Removed unused configurations and dead code.
9849 * malloc/arena.c: Likewise.
9850 * malloc/hooks.c: Likewise.
02d46fc4 9851 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9852
d063d164
UD
9853 * include/tls.h: Removed. USE___THREAD must always be defined.
9854 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9855 * elf/dl-libc.c: Likewise.
9856 * elf/dl-tsd.c: Likewise.
9857 * include/errno.h: Likewise.
9858 * include/netdb.h: Likewise.
9859 * include/resolv.h: Likewise.
9860 * inet/herrno-loc.c: Likewise.
9861 * inet/herrno.c: Likewise.
9862 * malloc/arena.c: Likewise.
9863 * malloc/hooks.c: Likewise.
9864 * malloc/malloc.c: Likewise.
9865 * resolv/res-state.c: Likewise.
9866 * resolv/res_libc.c: Likewise.
9867 * sysdeps/i386/dl-machine.h: Likewise.
9868 * sysdeps/ia64/dl-machine.h: Likewise.
9869 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9870 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9871 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9872 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9873 * sysdeps/sh/dl-machine.h: Likewise.
9874 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9875 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9876 * sysdeps/unix/i386/sysdep.S: Likewise.
9877 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9878 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9879 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9880 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9881 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9882 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9883 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9887 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9888 * sysdeps/x86_64/dl-machine.h: Likewise.
9889 * tls.make.c: Likewise.
9890
3ce1f295
UD
9891 * configure.in: Remove --with-__thread option. Make tests for
9892 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9893 tls_model attribute fail if no support is available. Remove
9894 USE_IN_LIBIO.
9895 * Makeconfig: Adjust for dropped configure option. All features are
9896 now mandatory.
9897 * Makerules: Likewise.
9898 * Versions.def: Likewise.
9899 * argp/argp-fmtstream.c: Likewise.
9900 * argp/argp-fmtstream.h: Likewise.
9901 * argp/argp-help.c: Likewise.
9902 * assert/assert.c: Likewise.
9903 * config.h.in: Likewise.
9904 * config.make.in: Likewise.
9905 * configure: Likewise.
9906 * configure.in: Likewise.
9907 * csu/Versions: Likewise.
9908 * csu/init.c: Likewise.
9909 * elf/tst-audit2.c: Likewise.
9910 * elf/tst-tls10.c: Likewise.
9911 * elf/tst-tls10.h: Likewise.
9912 * elf/tst-tls11.c: Likewise.
9913 * elf/tst-tls12.c: Likewise.
9914 * elf/tst-tls14.c: Likewise.
9915 * elf/tst-tlsmod11.c: Likewise.
9916 * elf/tst-tlsmod12.c: Likewise.
9917 * elf/tst-tlsmod13.c: Likewise.
9918 * elf/tst-tlsmod13a.c: Likewise.
9919 * elf/tst-tlsmod14a.c: Likewise.
9920 * elf/tst-tlsmod15b.c: Likewise.
9921 * elf/tst-tlsmod16a.c: Likewise.
9922 * elf/tst-tlsmod16b.c: Likewise.
9923 * elf/tst-tlsmod7.c: Likewise.
9924 * elf/tst-tlsmod8.c: Likewise.
9925 * elf/tst-tlsmod9.c: Likewise.
9926 * gmon/gmon.c: Likewise.
9927 * grp/fgetgrent_r.c: Likewise.
9928 * grp/putgrent.c: Likewise.
9929 * hurd/fopenport.c: Likewise.
9930 * include/libc-symbols.h: Likewise.
9931 * include/tls.h: Likewise.
9932 * intl/gettextP.h: Likewise.
9933 * intl/loadinfo.h: Likewise.
9934 * locale/global-locale.c: Likewise.
9935 * locale/localeinfo.h: Likewise.
9936 * mach/devstream.c: Likewise.
9937 * malloc/arena.c: Likewise.
9938 * malloc/set-freeres.c: Likewise.
9939 * misc/err.c: Likewise.
9940 * misc/getttyent.c: Likewise.
9941 * misc/mntent_r.c: Likewise.
9942 * posix/getopt.c: Likewise.
9943 * posix/wordexp.c: Likewise.
9944 * pwd/fgetpwent_r.c: Likewise.
9945 * resolv/Versions: Likewise.
9946 * resolv/res_hconf.c: Likewise.
9947 * shadow/fgetspent_r.c: Likewise.
9948 * shadow/putspent.c: Likewise.
9949 * stdio-common/printf_fphex.c: Likewise.
9950 * stdio-common/tmpfile.c: Likewise.
9951 * stdlib/abort.c: Likewise.
9952 * stdlib/fmtmsg.c: Likewise.
9953 * sunrpc/auth_unix.c: Likewise.
9954 * sunrpc/clnt_perr.c: Likewise.
9955 * sunrpc/clnt_tcp.c: Likewise.
9956 * sunrpc/clnt_udp.c: Likewise.
9957 * sunrpc/clnt_unix.c: Likewise.
9958 * sunrpc/openchild.c: Likewise.
9959 * sunrpc/svc_simple.c: Likewise.
9960 * sunrpc/svc_tcp.c: Likewise.
9961 * sunrpc/svc_udp.c: Likewise.
9962 * sunrpc/svc_unix.c: Likewise.
9963 * sunrpc/xdr.c: Likewise.
9964 * sunrpc/xdr_array.c: Likewise.
9965 * sunrpc/xdr_rec.c: Likewise.
9966 * sunrpc/xdr_ref.c: Likewise.
9967 * sunrpc/xdr_stdio.c: Likewise.
9968
1248c1c4
PB
99692011-09-09 Ulrich Drepper <drepper@gmail.com>
9970
9971 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9972
99732011-07-03 Andreas Jaeger <aj@suse.de>
9974
9975 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9976 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9977 regenerate with gen-libm-tests.pl.
9978
99792010-05-12 Petr Baudis <pasky@suse.cz>
9980
9981 [BZ #11589]
9982 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9983 around j0() zero points by switching to j1().
9984 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9988
f22e1074
UD
99892011-09-09 Ulrich Drepper <drepper@gmail.com>
9990
f19009c1
UD
9991 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9992 instead of 0.
9993 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9994 instead of 0. .
9995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9996 Patch in part by Pavel Roskin <proski@gnu.org>.
9997
3f8cc204
UD
9998 [BZ #13138]
9999 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10000 realloc.
10001 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10002 Free memory block if necessary.
10003
f22e1074
UD
10004 [BZ #12847]
10005 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10006 be NULL. Don't lock in this case.
10007
0a2349f9
RM
100082011-09-09 Roland McGrath <roland@hack.frob.com>
10009
10010 * elf/elf.h (ELFOSABI_GNU): New macro.
10011 (ELFOSABI_LINUX): Define to that.
10012
f3cdd467
DZ
100132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10014
10015 * string/strncat.c (strncat): Undef the symbol in case it has been
10016 defined in bits/string.h.
10017
74718d13
UD
100182011-09-09 Ulrich Drepper <drepper@gmail.com>
10019
633e9e0f
UD
10020 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10021
0a2349f9 10022 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10023 link map.
10024
f9924780
AJ
100252011-08-17 Andreas Jaeger <aj@suse.de>
10026
10027 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10028
7f5517aa
PP
100292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10030 Ian Lance Taylor <iant@google.com>
10031
10032 * math/libm-test.inc (lround_test): New testcase.
10033 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10034
762011fe
UD
100352011-09-08 Ulrich Drepper <drepper@gmail.com>
10036
92963737
UD
10037 * Makefile: Remove support for automatic cvs check-ins.
10038 * Makerules: Likewise.
10039 * config.make.in: Likewise.
10040 * configure.in: Likewise.
10041 * intl/Makefile: Likewise.
10042 * locale/Makefile: Likewise.
10043 * po/Makefile: Likewise.
10044 * posix/Makefile: Likewise.
10045 * sysdeps/gnu/Makefile: Likewise.
10046 * sysdeps/mach/hurd/Makefile: Likewise.
10047 * sysdeps/sparc/sparc32/Makefile: Likewise.
10048
b0727fd8
JS
10049 [BZ #13118]
10050 * posix/Makefile (bug-regex32-ENV): Define.
10051 Patch by John Stanley <jpsinthemix@verizon.net>.
10052
a0f33f99
UD
10053 * misc/Makefile (headers): Add bits/select2.h.
10054 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10055 * misc/bits/select2.h: New file.
10056 * include/bits/select2.h: New file.
10057 * debug/Makefile (routines): Add fdelt_chk.
10058 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10059 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10060 FD_ISSET.
10061 * debug/fdelt_chk.c: New file.
10062
762011fe
UD
10063 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10064 * wcsmbs/test-wmemcmp.c: Likewise.
10065 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10066 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10067
100682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10069
10070 * string/Makefile (strop-tests): Add memcmp.
10071 * string/test-wmemcmp.c: New file.
10072 * string/test-memcmp.c: Add wmemcmp support.
10073
7f513ec8
RM
100742011-09-08 Roland McGrath <roland@hack.frob.com>
10075
0442afb4
RM
10076 [BZ #13153]
10077 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10078 2011-07-19 change.
10079
7f513ec8
RM
10080 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10081 garbage value in a __mach_port_mod_refs call in the cases of the
10082 task-self and thread-self ports.
10083
a12b2239
ST
100842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10085
10086 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10087
610f9ab4
AS
100882011-09-08 Andreas Schwab <schwab@redhat.com>
10089
7f513ec8 10090 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10091
48882a1a
LD
100922011-09-07 Ulrich Drepper <drepper@gmail.com>
10093
b49865be
UD
10094 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10095
fdc86bc9
UD
10096 * elf/dl-libc.c (dlerror_run): Pass back error code from
10097 dl_catch_error.
10098
c966526a
UD
10099 [BZ #13123]
10100 * elf/dl-load.c (lose): Free l_origin if it is valid.
10101
48882a1a
LD
10102 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10103 names.
10104 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10105 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10107 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10108 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10109 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10110
77a2a8b4
AZ
101112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10112
10113 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10114 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10115 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10116 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10117 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10118 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10119 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10120 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10121 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10122 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10123
24f579d8
AM
101242011-08-15 Alan Modra <amodra@gmail.com>
10125
10126 [BZ #13092]
10127 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10128 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10129 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10130 ppc_mcount to static-only-routines.
10131 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10132 __mcount_internal.
10133 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10134 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10135
3d4837df
UD
101362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10137
10138 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10139 for finite and infinity parameters.
10140
22700377
WS
101412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10142
10143 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10144 and add nop instructions for throughput optimization.
10145 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10146
5025581e
WS
101472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10148
10149 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10150 aligned copy for power7 with vector-scalar instructions.
10151 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10152
08a300c9
L
101532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10154
10155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10156 AVX check.
10157
59178ef9
AS
101582011-09-07 Andreas Schwab <schwab@redhat.com>
10159
10160 [BZ #13144]
10161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10162 last change.
10163
e38ba7ab
UD
101642011-09-07 Ulrich Drepper <drepper@gmail.com>
10165
10166 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10167 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10168 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10169 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10170 clock_gettime.
10171
d53a73ac
UD
101722011-09-06 Ulrich Drepper <drepper@gmail.com>
10173
fc8bffcc
UD
10174 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10175 Forgot to demangle the pointer.
10176
ceaa0c5d
UD
10177 * sysdeps/i386/sysdep.h: Define atom_text_section.
10178 * sysdeps/x86_64/sysdep.h: Likewise.
10179 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10180 section with atom_text_section.
10181 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10182 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10183 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10185 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10186
a77d3c17
UD
10187 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10188 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10189 already be defined. Change to take two parameters and don't assign
10190 result to variable. Adjust all users.
10191 Define INTERNAL_GETTIME if not already defined.
10192 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10193 call.
10194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10195 HAVE_CLOCK_GETTIME_VSYSCALL.
10196 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10197
d53a73ac
UD
10198 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10199 gettimeofday vsyscall, just use time.
10200
a8f84144
AS
102012011-09-06 Andreas Schwab <schwab@redhat.com>
10202
10203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10204 <errno.h>.
10205
ef606249
UD
102062011-09-06 Ulrich Drepper <drepper@gmail.com>
10207
10208 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10209 syscall on x86-64.
10210 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10211 syscall.
10212 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10213 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10214 syscall if possible.
10215
6585cb60
UD
102162011-09-05 Ulrich Drepper <drepper@gmail.com>
10217
10218 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10219 e_ident. Don't pass to find_mapsXX.
10220 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10221
a5f524e4
LD
102222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10223
10224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10225 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10226 * sysdeps/x86_64/multiarch/strchr.S: Update.
10227 Check bit_slow_BSF bit.
10228 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10229 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10230 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10231
554881ef
UD
102322011-09-05 Ulrich Drepper <drepper@gmail.com>
10233
d96de963
UD
10234 [BZ #13134]
10235 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10236 before glibc 2.15.
10237 (tryshell): Define.
10238 (__spawni): Change last parameter to be flag. Test
10239 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10240 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10241 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10242 * posix/spawni.c: Likewise.
10243 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10244 * posix/spawnp.c: Likewise. Change normal version to use
10245 SPAWN_XFLAGS_USE_PATH.
10246 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10247 SPAWN_XFLAGS_TRY_SHELL.
10248
d48e5868
UD
10249 [BZ #13150]
10250 * posix/glob.h: Remove gcc 1.x support.
10251
554881ef
UD
10252 [BZ #13068]
10253 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10254
693fb948
LD
102552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10256
10257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10258 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10259 strrchr-sse2-bsf
10260 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10261 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10262 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10263 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10264 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10265 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10266
1b48c537
UD
102672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10268
49d42c37
UD
10269 * sysdeps/x86_64/wcscmp.S: New file.
10270
1b48c537
UD
10271 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10272 wcscmp-c wcscmp-sse2
10273 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10274 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10275 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10276 * wcsmbs/wcscmp.c: Allow renaming.
10277
15c95c5d
DM
102782011-09-05 David S. Miller <davem@davemloft.net>
10279
10280 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10281 stack slot, rather than the struct return pointer slot.
10282 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10283 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10285 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10286
2f0ad8f3
UD
102872011-09-05 Ulrich Drepper <drepper@gmail.com>
10288
d88ae418
UD
10289 * po/ja.po: Update from translation team.
10290
2f0ad8f3
UD
10291 [BZ #13144]
10292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10293 kernel in 64-bit binaries.
10294
5f4318d1
DM
102952011-09-01 David S. Miller <davem@davemloft.net>
10296
10297 * elf/elf.h (HWCAP_SPARC_*): Move to..
10298 * sysdeps/sparc/sysdep.h: this new file and add new values.
10299 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10300 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10301 _DL_HWCAP_COUNT to 24.
10302 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10303 entries.
10304 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10305 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10306 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10308 instead of magic constants.
10309 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10310
3ba57516
DM
103112011-08-31 David S. Miller <davem@davemloft.net>
10312
10313 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10315 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
10321 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10322 (PSEUDO): Reimplement to do errno handling inline.
10323 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10324 (SYSCALL_ERROR_HANDLER): New macro.
10325 (__SYSCALL_STRING): Do not do errno handling in asm.
10326 (__CLONE_SYSCALL_STRING): Delete.
10327 (__INTERNAL_SYSCALL_STRING): Delete.
10328 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10329 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10330 i386.
10331 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10332 (inline_syscall*): Add 'err' argument.
10333 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10334 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10335 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10336 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10337
10338 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10339 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10340
2bc17433
AS
103412011-08-30 Andreas Schwab <schwab@redhat.com>
10342
10343 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10344
fbeb5f4d
JO
103452011-08-29 Jiri Olsa <jolsa@redhat.com>
10346
10347 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10348 directive.
10349
ad69cc26
DM
103502011-08-24 David S. Miller <davem@davemloft.net>
10351
10352 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10353
39dd69df
AS
103542011-08-24 Andreas Schwab <schwab@redhat.com>
10355
10356 * elf/Makefile: Add rules to build and run unload8 test.
10357 * elf/unload8.c: New file.
10358 * elf/unload8mod1.c: New file.
10359 * elf/unload8mod1x.c: New file.
10360 * elf/unload8mod2.c: New file.
10361 * elf/unload8mod3.c: New file.
10362
10363 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10364 it wasn't used.
10365
2c0b250a
DM
103662011-08-23 David S. Miller <davem@davemloft.net>
10367
10368 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10369 subtract stack bias.
10370 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10371 %sp not %fp in calculations.
10372 (_JMPBUF_UNWINDS_ADJ): Likewise.
10373
22044b48
DM
10374 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10375 (aio_suspend): Call it to force an exception region around the
10376 AIO_MISC_WAIT() invocation.
10377
2cae4995
AS
103782011-08-23 Andreas Schwab <schwab@redhat.com>
10379
10380 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10381 backslash.
10382
873a772e
AJ
103832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10384
10385 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10386 protection macro.
10387 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10388 and <dl-machine.h>.
10389 (Elf64_FuncDesc): Remove.
10390
25ad0df1
DM
103912011-08-22 David S. Miller <davem@davemloft.net>
10392
10393 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10394 sigaltstack check, add missing cfi directives.
10395 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10396 missing cfi directives, and sigaltstack handling.
10397
e888bcbe
AS
103982011-08-16 Andreas Schwab <schwab@redhat.com>
10399
10400 [BZ #11724]
10401 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10402 object is seen twice.
10403 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10404
10405 * elf/Makefile (distribute): Add tst-initorder2.c.
10406 (tests): Add tst-initorder2.
10407 (modules-names): Add tst-initorder2a tst-initorder2b
10408 tst-initorder2c tst-initorder2d. Add rules to build them.
10409 ($(objpfx)tst-initorder2.out): New rule.
10410 * elf/tst-initorder2.c: New file.
10411 * elf/tst-initorder2.exp: New file.
10412
87162f46
AS
104132011-08-22 Andreas Schwab <schwab@redhat.com>
10414
70538b7f
AS
10415 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10416
f55ffe58
AS
10417 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10418 dependencies back to end of function.
10419
87162f46
AS
10420 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10421 $(elfobjdir)/ld.so.
10422
91b392a4
UD
104232011-08-21 Ulrich Drepper <drepper@gmail.com>
10424
10425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10426 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10428 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10429 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10430 of __vdso_gettimeofday.
10431 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10432 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10433 attribute_hidden.
10434 (_libc_vdso_platform_setup): Remove initialization of
10435 __vdso_gettimeofday and __vdso_time.
10436
5c43483f
UD
104372011-08-20 Ulrich Drepper <drepper@gmail.com>
10438
775a77e7
UD
10439 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10440 and fgetc_unlocked.
10441 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10442 getc_unlocked.
89f447ed 10443
49c74ba9
UD
10444 * elf/dl-open.c (add_to_global): Report additions to the global scope
10445 for LD_DEBUG=scopes.
10446 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10447 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10448
5c43483f
UD
10449 [BZ #13114]
10450 * stdio-common/Makefile (tests): Add bug24.
10451 * stdio-common/bug24.c: New file.
10452
a101b025
AJ
104532011-08-19 Andreas Jaeger <aj@suse.de>
10454
10455 [BZ #13114]
10456 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10457 non-existant file when using close-on-exec mode.
10458
c88f1766
UD
104592011-08-20 Ulrich Drepper <drepper@gmail.com>
10460
0276a718
UD
10461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10462 the very first instruction.
10463
c88f1766
UD
10464 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10465 the CFI state in the end.
10466 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10467 inclusion of dl-trampoline.h.
10468 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10469
51ccffa0
AS
104702011-08-19 Andreas Schwab <schwab@redhat.com>
10471
94d7165f
AS
10472 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10473 expectations for long double.
10474
51ccffa0
AS
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10476 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10477
fd708658 104782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10479
10480 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10481 artificual limit depends upon the system page size.
10482
44f0a71e
UD
104832011-08-17 Ulrich Drepper <drepper@gmail.com>
10484
10485 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10486 * resolv/Makefile: Define CFLAGS-libresolv.
10487
8de79a24
AS
104882011-08-17 Andreas Schwab <schwab@redhat.com>
10489
10490 * nss/makedb.c (compute_tables): Make variables used in nested
10491 function static.
10492
27724598
UD
104932011-08-17 Ulrich Drepper <drepper@gmail.com>
10494
c5305d88
UD
10495 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10496 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10497 if buffer was too small.
10498
27724598
UD
10499 * elf/pldd.c (main): Attach to all threads in the process.
10500 Rewrite /proc handling to use *at functions.
10501
076fe015
UD
105022011-08-16 Ulrich Drepper <drepper@gmail.com>
10503
174baab3
UD
10504 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10505 specifies first scope to show.
10506 (dl_open_worker): Update callers. Move printing scope of new
10507 object to before the relocation.
44f0a71e 10508 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10509 * sysdeps/generic/ldsodefs.h: Update declaration.
10510
076fe015
UD
10511 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10512 string for the scope number.
10513
a60df2c3
UD
105142011-08-14 Ulrich Drepper <drepper@gmail.com>
10515
10516 * nscd/servicescache.c (cache_addserv): Make sure written is always
10517 initialized.
10518
5e4287d1
RM
105192011-08-14 Roland McGrath <roland@hack.frob.com>
10520
85ae0589
RM
10521 * sysdeps/i386/i486/bits/atomic.h
10522 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10523 statement expression, so as to suppress "set but not used" warning.
10524 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10525
69f63097
RM
10526 * string/strncat.c (STRNCAT): Use prototype definition.
10527
675456ef
RM
10528 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10529 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10530 -Iprograms here.
10531 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10532 (localedef-modules): Add localedef.
10533 (locale-modules): Add locale.
10534
5e4287d1
RM
10535 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10536 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10537 to avoid a warning.
10538
9c96ff23
DM
105392011-08-14 David S. Miller <davem@davemloft.net>
10540
10541 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10542 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10543
f9ddf089
UD
105442011-08-13 Ulrich Drepper <drepper@gmail.com>
10545
44f0a71e 10546 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10547 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10548 * elf/rtld.c (dl_main): Set l_name of vDSO.
10549 Call _dl_show_scope when DL_DEBUG_SCOPES.
10550 (process_dl_debug): Recognize scopes flag and also set it for all.
10551 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10552 Declare _dl_show_scope.
10553
1dc27704
UD
10554 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10555 (do_dlopen): Pass caller_dlopen to dl_open.
10556 (__libc_dlopen_mode): Initialize caller_dlopen.
10557
f9ddf089
UD
10558 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10559 of libc. Make tolower call locale-independent. Optimize a bit by
10560 using isdigit instead of isalnum.
10561 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10562
9ac533d3
UD
105632011-08-12 Ulrich Drepper <drepper@gmail.com>
10564
10565 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10566 was a dependency or dynamically loaded.
10567
89edf2e9
UD
105682011-08-11 Ulrich Drepper <drepper@gmail.com>
10569
8e999d29
UD
10570 * intl/l10nflist.c: Allow architecture-specific pop function.
10571 * sysdeps/x86_64/l10nflist.c: New file.
10572
89edf2e9
UD
10573 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10574 classification.
10575
14d96785
AS
105762011-08-10 Andreas Schwab <schwab@redhat.com>
10577
10578 * include/dirent.h: Add libc_hidden_proto for scandirat and
10579 scandirat64. Don't declare __scandirat64.
10580 * dirent/scandirat.c: Add libc_hidden_def.
10581 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10582 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10583
6761ac04
DM
105842011-08-10 David S. Miller <davem@davemloft.net>
10585
10586 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10587 enum.
10588 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10589 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10590 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10591
c55fbd1e
UD
105922011-08-09 Ulrich Drepper <drepper@gmail.com>
10593
10594 * Versions.def [libc]: Add GLIBC_2.15.
10595 * dirent/Makefile (routines): Add scandirat and scandirat64.
10596 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10597 GLIBC_2.15.
10598 * dirent/dirent.h: Declare scandirat and scandirat64.
10599 * dirent/scandirat.c: New file.
10600 * dirent/scandirat64.c: New file.
10601 * sysdeps/wordsize-64/scandirat.c: New file.
10602 * sysdeps/wordsize-64/scandirat64.c: New file.
10603 * dirent/opendir.c: Define opendirat.
10604 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10605 using scandirat.
10606 * dirent/scandir64.c: Adjust for scandir.c change.
10607 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10608 __scandirat64, and __scandir_cancel_handler.
10609 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10610 additional parameter and use openat instead of open (outside of ld.so).
10611 Add new __opendir as wrapper around __opendirat.
10612 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10613 here without requiring old scandirat implementation.
10614
879165f2
UD
106152011-08-08 Ulrich Drepper <drepper@gmail.com>
10616
10617 * dirent/scandir.c (cancel_handler): Renamed to
10618 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10619 defined. Adjust users.
10620 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10621 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10622
cb7e923b
UD
106232011-08-04 Ulrich Drepper <drepper@gmail.com>
10624
16292edd
UD
10625 * string/test-string.h (IMPL): Use __STRING to expand name and then
10626 stringify it.
10627
cb7e923b
UD
10628 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10629 of cleanups.
10630
cff82933
LD
106312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10632
10633 * string/Makefile: Update.
10634 (strop-tests): Append strncat.
10635 * string/test-wcscmp.c: New file.
10636 New comprehensive test for wcscmp.
10637 * string/test-strcmp.c: Update.
10638 (WIDE): New define.
10639
9be9bfcc
AS
106402011-07-22 Andreas Schwab <schwab@redhat.com>
10641
10642 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10643 line.
10644
2e96f1c7
AS
106452011-07-26 Andreas Schwab <schwab@redhat.com>
10646
10647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10648 encoding to ACE if AI_IDN.
10649
85188888
JJ
106502011-08-01 Jakub Jelinek <jakub@redhat.com>
10651
10652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10653 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10654
5fa16e9b
LD
106552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10656
10657 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10658 Fix overflow bug in strncat.
10659 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10660
10661 * string/test-strncat.c: Update.
10662 Add new tests for checking overflow bugs.
10663
106642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10665
10666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10667 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10668 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10669 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10670 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10671 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10672 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10673 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10674 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10675
10676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10677 (USE_AS_STRCAT): Define.
10678 Add strcat and strncat support.
10679 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10680
8c1a459f
AS
106812011-07-25 Andreas Schwab <schwab@redhat.com>
10682
10683 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10684 __n bigger than INT_MAX+1.
10685 (__strncmp_g): Likewise.
10686
bba33c28
UD
106872011-07-23 Ulrich Drepper <drepper@gmail.com>
10688
798be72d
UD
10689 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10690 * libio/stido.h: Likewise.
10691
8accd4dc
UD
10692 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10693 (AF_NFC): Define.
10694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10695 (AF_NFC): Define.
10696
cbff0d96
UD
10697 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10698 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10699 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10700 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10701 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10702
9191c04a
UD
10703 [BZ #13021]
10704 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10705 installed.
10706
bba33c28
UD
10707 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10708 typo.
10709 (_dl_x86_64_save_sse): Likewise.
10710
90f139dd
UD
107112011-07-22 Ulrich Drepper <drepper@gmail.com>
10712
1aae088a
UD
10713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10714 OSXSAVE.
10715 (_dl_x86_64_save_sse): Likewise.
10716
8e2045f5
UD
10717 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10718
90f139dd
UD
10719 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10720
1d002f25
AS
107212011-07-21 Andreas Schwab <schwab@redhat.com>
10722
10723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10724 change.
10725 (_dl_x86_64_save_sse): Use correct AVX check.
10726
21137f89
UD
107272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10728
10729 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10730 bug in strncpy/strncat.
10731 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10732
a65c0b7a
UD
107332011-07-21 Ulrich Drepper <drepper@gmail.com>
10734
10735 * string/tester.c (test_strcat): Add tests for different alignments
10736 of source and destination.
10737 (test_strncat): Likewise.
10738
6986b98a
UD
107392011-07-20 Ulrich Drepper <drepper@gmail.com>
10740
90bb2039
UD
10741 [BZ #12852]
10742 * posix/glob.c (glob): Check passed in values before using them in
10743 expressions to avoid some overflows.
10744 (glob_in_dir): Likewise.
10745
5644ef54
UD
10746 [BZ #13007]
10747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10748 check for AVX enablement so that we don't crash with old kernels and
10749 new hardware.
10750 * elf/tst-audit4.c: Add same checks here.
10751 * elf/tst-audit6.c: Likewise.
10752
10753 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10754
bfc9dc9b
AS
107552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10756
10757 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10758
702e64bb
UD
107592011-07-20 Ulrich Drepper <drepper@gmail.com>
10760
10761 * po/cs.po: Update from translation team.
10762 * po/bg.po: Likewise.
10763
295e904f
MP
107642011-07-12 Marek Polacek <mpolacek@redhat.com>
10765
10766 * misc/sys/cdefs.h: Add support for const attribute.
10767 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10768 to gnu_dev_{major,minor,makedev} functions.
10769
3ff94596
MP
107702011-07-20 Marek Polacek <mpolacek@redhat.com>
10771
10772 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10773
28b59fca
AS
107742011-07-20 Andreas Schwab <schwab@redhat.com>
10775
10776 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10777 strlen results.
10778
19df733e
AK
107792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10780
10781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10782 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10783 register in order to avoid conflicts with the soft frame pointer
10784 being held in r11 when necessary.
10785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10786 (INTERNAL_VSYSCALL_NCS): Likewise.
10787
c8835729
MP
107882011-07-14 Marek Polacek <mpolacek@redhat.com>
10789
10790 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10791 * elf/dl-fini.c (_dl_fini): Adjust caller.
10792 * elf/dl-close.c (_dl_close_worker): Likewise.
10793 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10794
b902330c
MP
107952011-07-15 Marek Polacek <mpolacek@redhat.com>
10796
8991e135
MP
10797 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10798 "aux_cache->nlibs < 0".
10799
b902330c
MP
10800 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10801 in the reload-count case.
10802
99710781
LD
108032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10804
10805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10806 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10807 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10808 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10809 * sysdeps/x86_64/multiarch/strcat.S: New file.
10810 * sysdeps/x86_64/multiarch/strncat.S: New file.
10811 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10812 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10813 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10814 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10815 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10816 (USE_AS_STRCAT): Define.
10817 Add strcat and strncat support.
10818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10819 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10820 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10821 * string/strncat.c: Update.
10822 (USE_AS_STRNCAT): Define.
10823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10824 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10825 and i7.
10826 * sysdeps/x86_64/multiarch/init-arch.h
10827 (bit_Prefer_PMINUB_for_stringop): New.
10828 (index_Prefer_PMINUB_for_stringop): Likewise.
10829 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10830 bit_Prefer_PMINUB_for_stringop.
10831
7dc6bd90
UD
108322011-07-19 Ulrich Drepper <drepper@gmail.com>
10833
10834 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10835 buffer64.
10836 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10837 of casting of buffer.
10838 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10839 buffer32 and buffer64.
10840 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10841 writes instead of casting of buffer.
10842 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10843 buffer32.
10844 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10845 casting of buffer.
10846
e0e72284
AS
108472011-07-19 Andreas Schwab <schwab@redhat.com>
10848
10849 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10850
feb1eb0b
UD
108512011-07-19 Ulrich Drepper <drepper@gmail.com>
10852
10853 * nscd/nscd.c (termination_handler): Don't do anything for a database
10854 if it has not yet been initialized.
10855
298711ff
UD
108562011-07-18 Ulrich Drepper <drepper@gmail.com>
10857
10858 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10859
108602011-07-15 Marek Polacek <mpolacek@redhat.com>
10861
10862 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10863
f9d68389
UD
108642011-07-18 Ulrich Drepper <drepper@gmail.com>
10865
10866 * po/nl.po: Update from translation team.
10867 * po/sv.po: Likewise.
10868
db290cf5
RM
108692011-07-16 Roland McGrath <roland@hack.frob.com>
10870
10871 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10872 now disallowed by GCC.
5c550700 10873
fd5e21c7
RM
10874 * configure.in (use-default-link): Default to yes if a test -shared
10875 link meets our qualifications.
10876 * configure: Regenerated.
10877
5c550700
RM
10878 * config.make.in (output-format): New variable.
10879 * configure.in: Check for ld --print-output-format support.
10880 * configure: Regenerated.
10881 * Makerules ($(common-objpfx)format.lds)
10882 [$(output-format) != unknown]: Just use $(output-format),
10883 instead of the linker-script munging.
10884
9fa2c032
RM
108852011-07-14 Roland McGrath <roland@hack.frob.com>
10886
a6928d51
RM
10887 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10888 of $(common-objpfx)shlib.lds.
10889 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10890
661607b3
RM
10891 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10892 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10893
9fa2c032
RM
10894 * configure.in (-z relro check): Adjust test code to add a large
10895 writable data section after it.
10896 * configure: Regenerated.
10897
defe9061
RM
108982011-07-11 Roland McGrath <roland@hack.frob.com>
10899
10900 * configure.in (-z relro check): Fix test code to make the variable
10901 truly const.
10902 * configure: Regenerated.
10903
319b9ad4
UD
109042011-07-11 Ulrich Drepper <drepper@gmail.com>
10905
10906 * nscd/nscd.h (struct traced_file): Define.
10907 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10908 elements. Add traced_files.
10909 (inotify_fd): Declare.
10910 (register_traced_file): Declare.
10911 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10912 (inotify_fd): Export.
10913 (resolv_conf_descr): Remove.
10914 (nscd_init): Move inotify descriptor creation to main.
10915 Don't register files for notification here.
10916 (register_traced_file): New function.
10917 (invalidate_cache): Don't use reset_res to determine whether to call
10918 res_init, go through the list of registered files.
10919 (main_loop_poll): The inotify descriptors are now stored in the
10920 structures for the traced files.
10921 (main_loop_epoll): Likewise
10922 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10923 to __nss_disable_nscd.
10924 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10925 for a database anymore. Check the records for all the registered
10926 files instead.
10927 * nss/Makefile (libnss_files-routines): Add files-init.
10928 (libnss_db-routines): Add db-init.
10929 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10930 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10931 * nss/nss_db/db-init.c: New file.
10932 * nss/nss_files/files-init.c: New file.
10933 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10934 __nss_lookup_function.
10935 (__nss_lookup_function): Call nss_load_library.
10936 (nss_load_all_libraries): New function.
10937 (__nss_disable_nscd): Take parameter with callback function for files
10938 to register. Set is_nscd. Load all the DSOs for the NSS modules
10939 used for the cached services.
10940 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10941 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10942 options for features to all the files in nscd.
10943
10944 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10945
23bee3e8
RM
109462011-07-10 Roland McGrath <roland@hack.frob.com>
10947
10948 * csu/elf-init.c (__libc_csu_init): Comment typo.
10949
46a5b7f0
UD
109502011-07-09 Ulrich Drepper <drepper@gmail.com>
10951
10952 * po/pl.po: Update from translation team.
10953 * po/ja.po: Likewise.
10954 * po/ru.po: Likewise.
10955 * po/ko.po: Likewise.
10956 * po/fr.po: Likewise.
10957
d30cf5bb
RM
109582011-07-09 Roland McGrath <roland@hack.frob.com>
10959
113ddea4
RM
10960 * configure.in (.ctors/.dtors header and trailer check):
10961 Use an empirical test on a built program.
10962 * configure: Regenerated.
10963
574920b4
RM
10964 * configure.in (-z relro check): Use an empirical test on a built DSO.
10965 Detect, but do not require, on ia64.
10966 * configure: Regenerated.
10967
d30cf5bb
RM
10968 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10969 Update tests that use readelf to use $READELF instead.
10970 * configure: Regenerated.
10971
8538fdb3
UD
109722011-07-08 Ulrich Drepper <drepper@gmail.com>
10973
10974 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10975 if the result is not used.
10976
04d08991
AJ
109772011-07-05 Andreas Jaeger <aj@suse.de>
10978
10979 [BZ#9696]
10980 * stdlib/tst-strtod.c: Add testcase.
10981
de283087
AD
109822011-07-07 Ulrich Drepper <drepper@gmail.com>
10983
4e5f31c8 10984 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10985 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10986 The latter has a higher limit. Take additional parameter to pass to
10987 the new function.
10988 (__pathconf): Pass file to __statfs_link_max.
10989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10990 __statfs_link_max.
10991 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10992 __statfs_link_max.
10993
de283087
AD
10994 [BZ #12868]
10995 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10996 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10997 Handle Lustre.
10998 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10999 (__statfs_filesize_max): Likewise.
11000 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11001
c75fa153
AJ
110022011-07-05 Andreas Jaeger <aj@suse.de>
11003
11004 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11005
1a544854
UD
110062011-07-06 Marek Polacek <mpolacek@redhat.com>
11007
11008 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11009 `status' variable.
11010 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11011 Likewise.
11012
6f0eec67
UD
110132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11014
11015 * Makefile (strop-tests): Add strncat.
11016 * string/test-strncat.c: New file.
11017
aae30307
UD
110182011-06-30 Marek Polacek <mpolacek@redhat.com>
11019
11020 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11021
c0cfb5eb
UD
110222011-06-21 Andreas Jaeger <aj@suse.de>
11023
11024 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11025 Copy rule from iconvdata/Makefile.
11026
01636b21
UD
110272011-07-06 Ulrich Drepper <drepper@gmail.com>
11028
11029 [BZ #12922]
11030 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11031 but no long options are defined, just return 'W'.
11032
9895c8bc
UD
110332011-06-22 Marek Polacek <mpolacek@redhat.com>
11034
11035 [BZ #9696]
11036 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11037
5d4cf042
UD
110382011-07-06 Ulrich Drepper <drepper@gmail.com>
11039
11040 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11041 netgroups to read.
960e5535 11042 (innetgr): Likewise.
5d4cf042 11043
751eb97e
RM
110442011-07-05 Roland McGrath <roland@hack.frob.com>
11045
11046 * config.make.in (install_root): Default to $(DESTDIR).
11047
f15f1e45
UD
110482011-07-05 Ulrich Drepper <drepper@gmail.com>
11049
11050 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11051
4e34ac6a
RM
110522011-07-02 Roland McGrath <roland@hack.frob.com>
11053
5e9b6af4
RM
11054 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11055
84f9ea0f
RM
11056 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11057 containing directory rather than embedding absolute directory names.
11058
ea5ee9f7
RM
11059 * scripts/check-local-headers.sh: Rewritten using awk.
11060 Match by word, not by line. Print error messages for matches.
11061 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11062
1b74661a
RM
11063 * Makerules [shlib-lds-flags empty]:
11064 ($(common-objpfx)libc_pic.opts): New target.
11065 ($(common-objpfx)libc_pic.os.clean): New target.
11066 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11067
11068 * config.make.in (OBJCOPY): New variable.
11069 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11070 * configure: Regenerated.
11071
f781ef40
RM
11072 * config.make.in (use-default-link): New variable.
11073 * configure.in (use_default_link): Grok --with-default-link to set it.
11074 * configure: Regenerated.
11075 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11076 (shlib-lds, shlib-lds-flags): Define to empty.
11077
2d4fa81e
RM
11078 * Makerules (shlib-lds): New variable.
11079 (shlib-lds-flags): New variable.
11080 (build-shlib, build-moduile, build-module-asneeded): Use it.
11081 ($(common-objpfx)libc.so): Use $(shlib-lds).
11082 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11083 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11084
31fffa6b
RM
11085 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11086 DT_FLAGS/DT_FLAGS_1 with zero flags.
11087
4e34ac6a
RM
11088 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11089 linker script munging.
11090
fcfc776b
UD
110912011-07-02 Ulrich Drepper <drepper@gmail.com>
11092
11093 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11094 as 128-bit value.
11095 * crypt/sha512.c (sha512_process_block): Perform total addition using
11096 128-bit if possible.
11097 (__sha512_finish_ctx): Likewise.
11098 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11099 as 64-bit value.
11100 * crypt/sha256.c (SWAP64): Define.
11101 (sha256_process_block): Perform total addition using 64-bit if
11102 possible.
11103 (__sha256_finish_ctx): Likewise.
11104
99231d9a
UD
111052011-07-01 Ulrich Drepper <drepper@gmail.com>
11106
11107 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11109 * nscd/hstcache.c (cache_addhst): Likewise.
11110 * nscd/grpcache.c (cache_addgr): Likewise.
11111 * nscd/aicache.c (addhstaiX): Likewise
11112 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11113
445b4a53
TK
111142011-07-01 Thorsten Kukuk <kukuk@suse.de>
11115
11116 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11117 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11118 * nscd/hstcache.c (cache_addhst): Likewise.
11119 * nscd/grpcache.c (cache_addgr): Likewise.
11120 * nscd/aicache.c (addhstaiX): Likewise
11121
6d4d8e8e
AS
111222011-07-01 Andreas Schwab <schwab@redhat.com>
11123
11124 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11125 domain only when needed.
11126
89f654c5
AS
111272011-06-30 Andreas Schwab <schwab@redhat.com>
11128
11129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11130 is always restored.
11131
cf3b23ff
UD
111322011-06-29 Ulrich Drepper <drepper@gmail.com>
11133
11134 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11135 are re-adding the entry.
11136 * nscd/servicescache.c (cache_addserv): Likewise.
11137
751626f9
AJ
111382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11139
11140 * sysdeps/generic/dl-irel.h: fix protection against multiple
11141 inclusions.
11142 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11143
9113ea1f
UD
111442011-06-28 Ulrich Drepper <drepper@gmail.com>
11145
5c0b8d90
UD
11146 [BZ #12935]
11147 * malloc/memusage.sh: Fix quoting in message.
11148 * debug/xtrace.sh: Likewise.
11149
9113ea1f
UD
11150 * configure.in: Remove support for --experimental-malloc option, make
11151 it the default.
11152 * config.make.in: Likewise.
11153 * malloc/Makefile: Likewise.
11154
a4172181
AS
111552011-06-27 Andreas Schwab <schwab@redhat.com>
11156
11157 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11158 two-byte characters.
11159
78a7eee7
RM
111602011-06-27 Roland McGrath <roland@hack.frob.com>
11161
62bede13
RM
11162 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11163 AC_CACHE_CHECK invocation.
11164 * configure: Regenerated.
11165
78a7eee7
RM
11166 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11167
5ce33a62
UD
111682011-06-27 Ulrich Drepper <drepper@gmail.com>
11169
034807a9
UD
11170 [BZ #12350]
11171 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11172 bit from old_res_options.
11173
4902da17
UD
11174 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11175
5ce33a62
UD
11176 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11177 value type for setfct.
11178
c2344f56
L
111792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11180
11181 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11182 __gettimeofday instead of gettimeofday.
11183
68468076
UD
111842011-06-26 Ulrich Drepper <drepper@gmail.com>
11185
11186 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11187
acb0d739
L
111882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11189
11190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11191
11192 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11193 info.
11194
8912479f
L
111952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11196
11197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11198 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11199 strcpy-sse2-unaligned strncpy-sse2-unaligned
11200 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11201 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11202 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11203 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11204 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11205 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11206 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11207 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11208 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11209 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11210 (STRCPY): Support SSE2 and SSSE3 versions.
11211
d5495a11
UD
112122011-06-24 Ulrich Drepper <drepper@gmail.com>
11213
11214 [BZ #12874]
11215 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11216 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11217 kernels which artificially limit size of requests.
11218
0b1cbaae
L
112192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11220
11221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11222 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11223 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11224 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11225 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11226 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11227 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11228 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11229 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11231 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11232 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11233 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11234 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11235 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11237 Enable unaligned load optimization for Intel Core i3, i5 and i7
11238 processors.
11239 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11240 Define.
11241 (index_Fast_Unaligned_Load): Define.
11242 (HAS_FAST_UNALIGNED_LOAD): Define.
11243
07f494a0
MP
112442011-06-23 Marek Polacek <mpolacek@redhat.com>
11245
11246 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11247
fa3fc0fe
UD
112482011-06-22 Ulrich Drepper <drepper@gmail.com>
11249
11250 [BZ #12907]
11251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11252 until it is clear that the information is realy needed.
11253 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11254
e12df166
AS
112552011-06-22 Andreas Schwab <schwab@redhat.com>
11256
11257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11258
852eb34d
UD
112592011-06-22 Ulrich Drepper <drepper@gmail.com>
11260
84e2a551
UD
11261 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11262 /sys/devices/system/cpu/online if it is usable.
11263
852eb34d
UD
11264 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11265 reading the information from the /proc filesystem to once a second.
11266
6e502e19
UD
112672011-06-21 Andreas Jaeger <aj@suse.de>
11268
11269 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11270 NULL after inclusion of kernel headers.
11271
75d39ff2
UD
112722011-06-21 Ulrich Drepper <drepper@gmail.com>
11273
51f9aa6a
UD
11274 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11275 calls to internal_setent.
11276
c0244a9d
UD
11277 [BZ #12885]
11278 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11279 addresses using gethostbyname4_r ignore IPv4 addresses.
11280
c5e3c2ae
UD
11281 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11282 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11283
75d39ff2
UD
11284 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11285
42675c6f
DM
112862011-06-20 David S. Miller <davem@davemloft.net>
11287
11288 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11289 inclusions.
11290 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11291
11292 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11293 (elf_irel): Use it.
11294 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11295 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11296 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11297 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11298 * sysdeps/x86_64/dl-irel.h: Likewise.
11299
11300 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11301 * elf/dl-sym.c: Likewise.
11302
57912a71
UD
113032011-06-15 Ulrich Drepper <drepper@gmail.com>
11304
11305 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11306 need to dereference resplen2.
11307
ee22793d
AS
113082011-06-14 Andreas Schwab <schwab@redhat.com>
11309
11310 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11311
a9e836b0
UD
113122011-06-15 Ulrich Drepper <drepper@gmail.com>
11313
77fb9117
UD
11314 * Makeconfig: Define vardbdir and inst_vardbdir.
11315 * nss/Makefile: Add rules to install db-Makefile.
11316
40c1b22c
UD
11317 * nss/nss_db/db-XXX.c: Cleanup.
11318
9f2da732
UD
11319 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11320 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11321 GLIBC_PRIVATE.
11322 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11323 * nss/makedb.c: Implement -g option to specify that value strings
11324 are generated and should not be added to table iterated over for
11325 get*ent calls.
11326 * nss/nss_db/db-initgroups.c: New file.
11327
82e9a1f7
UD
11328 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11329 interface.
11330
c41af17e
UD
11331 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11332 (internal_getgrouplist): Adjust to name change.
11333 Update use_initgroups_entry if this is not the first call.
11334 * nss/databases.def: Add initgroups entry.
11335
a9e836b0
UD
11336 * nss/makedb.c (compute_tables): Check result of multiple hash table
11337 sizes to minimize maximum chain length.
11338
2666d441
UD
113392011-06-14 Ulrich Drepper <drepper@gmail.com>
11340
11341 * Versions.def: Add entry for libnss_db.
11342 * shlib-versions: Likewise.
11343 * nss/Makefile: Add rules to build libnss_db.
11344 * nss/Versions: Add libnss_db information. Organize libnss_files
11345 entries better.
11346 * nss/db-Makefile: Add gshadow support. Change rules for the new
11347 makedb progra. Some minor improvements to generate smaller files.
11348 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11349 here from...
11350 * nss/makedb.c: ...here.
11351 Improve database format to be smaller and require less memory at
11352 runtime.
11353 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11354 db anymore.
11355 * nss/nss_db/db-netgrp.c: Likewise.
11356 * nss/nss_db/db-open.c: Likewise.
11357 * nss/nss_files/flies-XXX.x: Adjust comments.
11358 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11359 * nss/nss_files/files-grp.c: Likewise.
11360 * nss/nss_files/files-hosts.c: Likewise.
11361 * nss/nss_files/files-network.c: Likewise.
11362 * nss/nss_files/files-proto.c: Likewise.
11363 * nss/nss_files/files-pwd.c: Likewise.
11364 * nss/nss_files/files-rpc.c: Likewise.
11365 * nss/nss_files/files-service.c: Likewise.
11366 * nss/nss_files/files-sgrp.c: Likewise.
11367 * nss/nss_files/files-spwd.c: Likewise.
11368 * nss/nss_db/db-alias.c: Removed.
11369 * nss/nss_db/dummy-db.h: Removed.
11370
9ee76b5a
UD
113712011-06-02 Ulrich Drepper <drepper@gmail.com>
11372
11373 * nss/makedb.c: Rewritten to not use database library.
11374 * nss/Makefile: Update to build new makedb program.
11375
c71ca1f8
AJ
113762011-06-14 Andreas Jaeger <aj@suse.de>
11377
11378 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11379 memset declaration.
11380
3154bfb8
UD
113812011-06-10 Andreas Schwab <schwab@redhat.com>
11382
11383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11384 tmpbuf.
11385
b350afab
RM
113862011-06-10 Roland McGrath <roland@hack.frob.com>
11387
decd4e50
RM
11388 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11389 * elf/Makefile ($(objpfx)ld.so): Likewise.
11390
5615eaf2
RM
11391 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11392 Don't list ld.so twice in dependencies.
11393
11394 * posix/bug-regex31.c: Include <stdlib.h>.
11395
11396 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11397
11398 * nis/nss_compat/compat-spwd.c
11399 (getspent_next_nss_netgr): Remove unused variable.
11400 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11401
11402 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11403 nonmembers" output to use the right array.
11404
11405 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11406
11407 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11408
11409 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11410 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11411 * catgets/gencat.c (read_input_file): Likewise.
11412 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11413
11414 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11415 variable definition inside #if's controlling its use.
11416
11417 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11418
11419 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11420
11421 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11422
11423 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11424 unreachable code.
11425
11426 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11427
b68e08db
RM
11428 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11429 * configure: Regenerated.
11430
b350afab
RM
11431 * Makerules: Revert last change.
11432 * elf/Makefile: Likewise.
11433
28368601
RM
114342011-06-09 Roland McGrath <roland@hack.frob.com>
11435
11436 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11437 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11438 (reloc-link): Likewise.
11439
11988f8f
UD
114402011-06-09 Ulrich Drepper <drepper@gmail.com>
11441
11442 * elf/Makefile: Add rules to build pldd.
11443 * elf/pldd.c: New file.
11444 * elf/pldd-xx.c: New file.
11445
e80fab37
UD
114462011-06-07 Ulrich Drepper <drepper@gmail.com>
11447
11448 * version.h: Update for 2.15 development version.
11449
9b849836
DM
114502011-06-07 David S. Miller <davem@davemloft.net>
11451
11452 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11453 ifuncs.
11454 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11455 elf_machine_lazy_rel): Likewise.
11456 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11457 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11458 elf_machine_lazy_rel): Likewise.
11459 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11460 dl_hwcap via passed in argument.
11461 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11462 Likewise.
11463
5a31b283
AK
114642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11465
11466 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11467
069e52f8
RM
114682011-06-06 Roland McGrath <roland@hack.frob.com>
11469
11470 [BZ #12849]
11471 * manual/fdl-1.1.texi: New file, verbatim from:
11472 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11473 * manual/lgpl-2.1.texi: New file, verbatim from:
11474 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11475 * manual/Makefile (licenses): New variable, list those new file names.
11476 (texis): Use it.
11477 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11478
11479 * manual/fdl.texi: File removed.
11480 * manual/lesser.texi: File removed.
11481 * manual/libc.texinfo (Copying, Documentation License):
11482 Use new @include file names, put @appendix directive before @include.
11483
f16846a5
JJ
114842011-06-04 Jakub Jelinek <jakub@redhat.com>
11485
11486 [BZ #12841]
11487 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11488 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11489 (mq_open): Add __NTH.
11490
3d29045b
L
114912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11492
11493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11494 Assume Intel Core i3/i5/i7 processor if AVX is available.
11495
8c297311
UD
114962011-05-31 Ulrich Drepper <drepper@gmail.com>
11497
11498 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11499 typo.
11500
c8fc0c91
UD
115012011-05-31 Andreas Schwab <schwab@redhat.com>
11502
11503 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11504 memory. Use alloca_account. Fix memory leak when retrying.
11505
5b27a807
UD
115062011-05-31 Ulrich Drepper <drepper@gmail.com>
11507
356f8bc6
UD
11508 * version.h (RELEASE): Bump for 2.14 release.
11509 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11510
5b27a807
UD
11511 * config.make.in (RANLIB): Remove entry.
11512
01f16ab0
UD
115132011-05-30 Ulrich Drepper <drepper@gmail.com>
11514
41fce8bd
UD
11515 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11516 (libc.pot): Work around missing support for .ksh extension in xgettext.
11517
4769ae77
UD
11518 [BZ #12684]
11519 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11520 if both request failed.
11521 (send_dg): In case of server errors clear resplen or *resplen2.
11522
6b1e7d19
UD
11523 [BZ #12454]
11524 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11525 when there are multiple maps.
11526 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11527 (_dl_fini): Remove test here.
11528
01f16ab0
UD
11529 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11530
b1ebd700
UD
115312011-05-29 Ulrich Drepper <drepper@gmail.com>
11532
7ae22829
UD
11533 [BZ #12350]
11534 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11535 bit from old_res_options.
11536 (gaih_inet): Likewise.
11537
553149f6 11538 [BZ #11099]
18a84741 11539 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11540 as signed.
11541
652ffab1
UD
11542 * resolv/res_init.c (res_setoptions): Make the code more compact.
11543
16985fd0
UD
11544 [BZ #11558]
11545 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11546 set RES_USEVC.
11547
0464f746
UD
11548 [BZ #11634]
11549 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11550
7d17596c
UD
11551 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11552
cf6bbbd7
UD
11553 [BZ #11781]
11554 * malloc/malloc.h: Declare malloc hook variables as volatile.
11555
13f1ab36
UD
11556 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11557 in last patch.
11558
b1ebd700
UD
11559 [BZ #11799]
11560 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11561 raise in the comment.
80e2212d
UD
11562 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11564 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11565
ce67228d
UD
115662011-05-28 Ulrich Drepper <drepper@gmail.com>
11567
8887a920
UD
11568 [BZ #12811]
11569 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11570 grow the buffers more if it already has to be sufficient.
11571 (build_wcs_upper_buffer): Likewise.
11572 * posix/regexec.c (check_matching): Likewise.
11573 (clean_state_log_if_needed): Likewise.
11574 (extend_buffers): Don't enlarge buffers beyond size of the input
11575 buffer.
11576 Patches mostly by Emil Wojak <emil@wojak.eu>.
11577 * posix/bug-regex32.c: New file.
11578 * posix/Makefile (tests): Add bug-regex32.
11579
4f031072
UD
11580 * locale/findlocale.c (_nl_find_locale): Return right away if
11581 _nl_explode_name failed.
11582 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11583
d0478f0c
UD
11584 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11585
de81b246
UD
11586 * debug/xtrace.sh: Unify messages.
11587 * malloc/memusage.sh: Likewise.
11588
c738465a
UD
11589 [BZ #12813]
11590 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11591 time symbol from vDSO. Substitute with vsyscall if not available.
11592 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11593 __vdso_time.
11594
f1f929d7
UD
11595 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11596 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11597 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11598 Add sendmmsg and internal_sendmmsg.
11599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11600 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11601 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11602
ce67228d
UD
11603 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11604 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11605 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11606
e57420c6
UD
116072011-05-27 Ulrich Drepper <drepper@gmail.com>
11608
a8509ca5
UD
11609 [BZ #12813]
11610 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11611 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11612 available.
11613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11614 __vdso_getcpu.
11615
e57420c6
UD
11616 [BZ #12814]
11617 * iconvdata/Makefile (tests): Add bug-iconv9.
11618 * iconvdata/bug-iconv9.c: New file.
11619
4d07db15
AS
116202011-05-27 Andreas Schwab <schwab@redhat.com>
11621
11622 [BZ #12814]
11623 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11624
ea486f69
JJ
116252011-05-25 Jakub Jelinek <jakub@redhat.com>
11626
11627 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11628 (struct user_regs_struct): Change intcs field back to cs.
11629
6f038433
UD
116302011-05-25 Ulrich Drepper <drepper@gmail.com>
11631
11632 * po/ja.po: Update from translation team.
11633
67f86a25
UD
116342011-05-23 Ulrich Drepper <drepper@gmail.com>
11635
11636 [BZ #12795]
11637 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11638 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11639
def7fbd6
AS
116402011-05-20 Andreas Schwab <schwab@redhat.com>
11641
11642 * stdlib/longlong.h: Update from GCC.
11643
f50ef8f1
AS
116442011-05-23 Andreas Schwab <schwab@redhat.com>
11645
11646 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11647 parameter name.
11648 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11649 Add parameter name.
11650 (__sysconf): Pass it down.
11651
de7ce8f1
UD
116522011-05-22 Ulrich Drepper <drepper@gmail.com>
11653
f2962a71
UD
11654 [BZ #12671]
11655 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11656 some situations.
11657 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11658 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11659 add in in __libc_use_alloca calls. Adjust callers.
11660 (glob): Use malloc in some situations.
11661
de7ce8f1
UD
11662 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11663 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11664 pltexit.
11665
aec84f53
UD
116662011-05-21 Ulrich Drepper <drepper@gmail.com>
11667
05bb4a68
UD
11668 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11669 and CLOCK_BOOTTIME_ALARM.
11670
7ea72f99
UD
11671 [BZ #12782]
11672 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11673 is returned.
11674
7e4afad5
UD
11675 * string/_strerror.c (__strerror_r): Print negative errors as signed
11676 numbers.
11677
8e211fec
UD
11678 [BZ #12777]
11679 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11680 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11681 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11682
f7d82dc9
UD
11683 * configure.in: Fix typo in redirection and correct removal of test
11684 files in two cases.
11685
cc9e536d
UD
11686 [BZ #12788]
11687 * locale/setlocale.c (new_composite_name): Fix test to check for
11688 identical name of all categories.
11689
aec84f53
UD
11690 [BZ #12792]
11691 * libio/filedoalloc.c (local_isatty): New function.
11692 (_IO_file_doallocate): Use local_isatty.
11693 * stdio-common/perror.c (perror): In case a new stream is used
11694 forward the stream error.
11695 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11696 error flag.
11697
78e64fdc
RT
116982011-05-20 Ulrich Drepper <drepper@gmail.com>
11699
34a9094f
UD
11700 [BZ #11869]
11701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11702 alloca.
11703 * include/alloca.h (extend_alloca_account): Define.
11704
78e64fdc
RT
11705 [BZ #11857]
11706 * posix/regex.h: Fix comments with documentation of user-accessible
11707 fields after compilation and describe correct free'ing of pattern
11708 after re_compile_pattern.
11709 Patch by Reuben Thomas <rrt@sc3d.org>.
11710
457bddfc
RA
117112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11712
11713 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11714 and -mno-altivec to prevent the compiler from using Altivec and/or
11715 VSX instructions when the corresponding registers are not available.
11716
a4527b51
AS
117172011-05-19 Andreas Schwab <schwab@redhat.com>
11718
11719 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11720
ed690b2f
UD
117212011-05-19 Ulrich Drepper <drepper@gmail.com>
11722
11723 * libio/freopen.c (freopen): Use __dup2, not dup2.
11724 * libio/freopen64.c (freopen64): Likewise.
11725
8db73634
L
117262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11727
11728 [BZ #12775]
11729 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11730 * math/Makefile (tests): Add test-powl.
11731 (CFLAGS-test-powl.c): Define.
11732 * math/test-powl.c: New file.
11733
0a197a9d
L
117342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11735
11736 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11737
ee30c380
UD
117382011-05-17 Ulrich Drepper <drepper@gmail.com>
11739
11740 [BZ #11837]
11741 * iconvdata/gb18030.c: Update to GB18020-2005.
11742
6ce75379
UD
117432011-05-16 Ulrich Drepper <drepper@gmail.com>
11744
a4b89fd8
AR
11745 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11746 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11747 Patch by Aharon Robbins <arnold@skeeve.com>.
11748
ea389b12
UD
11749 [BZ #11892]
11750 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11751 on the stack.
11752
68a3f91f
UD
11753 [BZ #11895]
11754 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11755 through underflows.
11756
15cc7dd1
UD
11757 [BZ #12766]
11758 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11759 point to strings before performing equality test for error_one_per_line
11760 mode.
11761
f3799213
UD
11762 [BZ #11697]
11763 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11764
d79a9c94
UD
11765 [BZ #11820]
11766 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11767 (struct user_fpregs_struct): Avoid __uint*_t types.
11768
56e5eb46
UD
11769 [BZ #6420]
11770 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11771 symbol info. Use it instead of calling _dl_addr locally.
11772 (lock_and_info): New function.
11773 (tr_freehook): Call lock_and_info and pass symbol info as additional
11774 parameter to tr_where.
11775 (tr_mallochook): Likewise.
11776 (tr_reallochook): Likewise.
11777 (tr_memalignhook): Likewise.
11778
6ce75379
UD
11779 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11780 used and couldn't be at all thread-safe.
11781
f8a3b5bf
UD
117822011-05-15 Ulrich Drepper <drepper@gmail.com>
11783
94b7cc37
UD
11784 * libio/freopen.c (freopen): Don't close old file descriptor
11785 before the new one is opened. Instead dup the new file descriptor
11786 to the old one after the new stream is created.
11787 * libio/freopen64.c (freopen64): Likewise.
11788 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11789 * libio/fileops.c (_IO_new_file_close_it): Handle new
11790 _IO_FLAGS2_NOCLOSE flag.
11791 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11792 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11793 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11794 _IO_FLAGS2_NOCLOSE flag.
11795 * include/unistd.h: Add hidden_proto for dup3.
11796 Define __have_dup3.
11797 * io/dup3.c: Define hidden symbol.
11798 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11799
bd25564e
UD
11800 [BZ #7101]
11801 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11802 when an incomplete long option is used.
11803 * posix/tst-getopt_long1.c: New file.
11804 * posix/Makefile (tests): Add tst-getopt_long1.
11805
c84cfef4
UD
11806 [BZ #10138]
11807 * scripts/config.guess: Update from autoconf-2.68.
11808 * scripts/config.sub: Likewise.
11809
3b85df27
UD
11810 [BZ #10157]
11811 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11812 tests into ...
11813 (has_cpuclock): ...this. New function.
11814 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11815 macro here based on has_cpuclock code.
11816
15a856b1
UD
11817 [BZ #10149]
11818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11819 First byte (not low byte) is now always NUL.
11820 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11821
05f399e6
UD
11822 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11823 Use non-cancelable interfaces.
11824
10a52685 11825 [BZ #9809]
94ecc67d
UD
11826 * locale/iso-639.def: Add entry for Sorani.
11827
f8a3b5bf
UD
11828 [BZ #11901]
11829 * include/stdlib.h: Move include protection to the right place.
11830 Define abort_msg_s. Declare __abort_msg with it.
11831 * stdlib/abort.c (__abort_msg): Adjust type.
11832 * assert/assert.c (__assert_fail_base): New function. Majority
11833 of code from __assert_fail. Allocate memory for __abort_msg with
11834 mmap.
11835 (__assert_fail): Now call __assert_fail_base.
11836 * assert/assert-perr.c: Remove bulk of implementation. Use
11837 __assert_fail_base.
11838 * include/assert.hL Declare __assert_fail_base.
11839 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11840 mmap.
11841 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11842
1af4e298
UD
118432011-05-14 Ulrich Drepper <drepper@gmail.com>
11844
f8a3b5bf 11845 [BZ #11952]
d26dfc60
MG
11846 [BZ #12453]
11847 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11848 until all modules are registered in the DTV.
11849 * elf/Makefile: Add rules to build and run tst-tls19.
11850 * elf/tst-tls19.c: New file.
11851 * elf/tst-tls19mod1.c: New file.
11852 * elf/tst-tls19mod2.c: New file.
11853 * elf/tst-tls19mod3.c: New file.
11854 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11855
2fc54d6f
UD
11856 [BZ #12083]
11857 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11858 correctly.
11859
98d76b46
UD
11860 [BZ #12601]
11861 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11862 two-byte sequence errors.
11863 * iconvdata/Makefile (tests): Add bug-iconv8.
11864 * iconvdata/bug-iconv8.c: New file.
11865
da3c19ef
UD
11866 [BZ #12626]
11867 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11868 buf2 definition.
11869
ca408c15
UD
11870 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11871
d6f67f7d
UD
11872 [BZ #12432]
11873 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11874 (dummy_getcfa): New function.
11875 (init): Get _Unwind_GetCFA address, use dummy if not found.
11876 (backtrace_helper): In recursion check, also check whether CFA changes.
11877 (__backtrace): Completely initialize arg.
11878
1af4e298 11879 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11880 storing incomplete byte sequence in state object. Avoid testing for
11881 guaranteed too small input if we know there is enough data available.
1af4e298 11882
da62f81b
AS
118832011-05-11 Andreas Schwab <schwab@redhat.com>
11884
11885 * Makeconfig (+link-pie): Indent.
11886 * Rules (binaries-pie): Define if $(have-fpie) and
11887 $(build-shared).
11888 (binaries-shared): Also filter out $(binaries-pie).
11889 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11890 * nscd/Makefile (others-pie): Add nscd.
11891 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11892 ($(objpfx)nscd): Remove command override.
11893 * login/Makefile (others-pie): Add pt_chown.
11894 ($(objpfx)pt_chown): Remove command override.
11895 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11896 remove command overrides.
11897
fcabc0f8
UD
118982011-05-13 Ulrich Drepper <drepper@gmail.com>
11899
20030ae6
UD
11900 * libio/tst_putwc.c: Fix error messages.
11901
fcabc0f8
UD
11902 [BZ #12724]
11903 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11904 currently writing and seek to current position when not.
11905 * libio/Makefile (tests): Add bug-fclose1.
11906 * libio/bug-fclose1.c: New file.
11907
320a5dc0
PB
119082011-05-12 Ulrich Drepper <drepper@gmail.com>
11909
11910 [BZ #12511]
11911 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11912 don't set DF_1_NODELETE here.
11913 (do_lookup_x): When entering new entry test for copy relocation
11914 and if necessary set DF_1_NODELETE flag.
11915 * elf/tst-unique4.cc: New file.
11916 * elf/tst-unique4.h: New file.
11917 * elf/tst-unique4lib.cc: New file.
11918 * elf/Makefile: Add rules to build and run tst-unique4.
11919 Patch by Piotr Bury <pbury@goahead.com>.
11920
22836f52
UD
119212011-05-11 Ulrich Drepper <drepper@gmail.com>
11922
f574184a
UD
11923 [BZ #12052]
11924 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11925
e1fb097f
UD
11926 [BZ #12625]
11927 * misc/mntent_r.c (addmntent): Flush the stream after the output
11928
22836f52
UD
11929 [BZ #12393]
11930 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11931 (is_trusted_path_normalize): Skip initial colon. Append slash
11932 to empty buffer. Duplicate is_trusted_path code but allow
11933 constructed patch to be prefix.
11934 (is_dst): Allow $ORIGIN followed by /.
11935 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11936 Correct testing of result of is_trusted_path_normalize
11937 (decompose_rpath): Fix warning.
11938
7b3b0b2a
UD
119392011-05-10 Ulrich Drepper <drepper@gmail.com>
11940
11941 [BZ #11257]
11942 * grp/initgroups.c (internal_getgrouplist): When we found the service
11943 list through the initgroups entry in nsswitch.conf do not always
11944 continue on a successful lookup. Don't always use the
eac80ce2 11945 __nss_group_database value if it is set.
7b3b0b2a
UD
11946 * nss/nsswitch.conf (initgroups): Change action for successful db
11947 lookup to continue for compatibility.
11948
2a81eaa5
UD
119492011-05-09 Ulrich Drepper <drepper@gmail.com>
11950
be97a69e
UD
11951 [BZ #11532]
11952 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11953 and CP774 modules.
11954 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11955 and CP774 modules.
11956 * iconvdata/tst-tables.sh: Likewise.
11957 * iconvdata/cp770.c: New file.
11958 * iconvdata/cp771.c: New file.
11959 * iconvdata/cp772.c: New file.
11960 * iconvdata/cp773.c: New file.
11961 * iconvdata/cp774.c: New file.
11962 * iconvdata/testdata/CP770: New file.
11963 * iconvdata/testdata/CP770..UTF8: New file.
11964 * iconvdata/testdata/CP771: New file.
11965 * iconvdata/testdata/CP771..UTF8: New file.
11966 * iconvdata/testdata/CP772: New file.
11967 * iconvdata/testdata/CP772..UTF8: New file.
11968 * iconvdata/testdata/CP773: New file.
11969 * iconvdata/testdata/CP773..UTF8: New file.
11970 * iconvdata/testdata/CP774: New file.
11971 * iconvdata/testdata/CP774..UTF8: New file.
11972
11973 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11974 END CHARMAP line.
11975 * iconvdata/gen-8bit-gap.sh: Likewise.
11976 * iconvdata/gen-8bit.sh: Likewise.
11977
c1e9e399
UD
11978 * locale/iso-639.def: Add ary entry.
11979
24c55fb3 11980 [BZ #11258]
96b4b1b0
UD
11981 * locale/C-translit.h.in: Add U20A1 transliteration.
11982
bdc2f971
KB
11983 [BZ #12178]
11984 * locale/iso-639.def: Add wae entry.
11985 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11986
2952b117
UD
11987 [BZ #12545]
11988 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11989 for n.
11990
2a81eaa5
UD
11991 [BZ #12711]
11992 * locale/C-translit.h.in: Add entry for U20B9.
11993 Patch by pravin.d.s@gmail.com.
11994
28377d1b
UD
119952011-05-08 Ulrich Drepper <drepper@gmail.com>
11996
7fb90fb8
UD
11997 [BZ #12713]
11998 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11999 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12000 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12001 in rtld. Use *stat64.
7fb90fb8 12002 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12003 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12004 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12005 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12006 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12007 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12008 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12009 __fstatat64 macros.
7fb90fb8
UD
12010 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12011 * dirent/rewinddir.c: Add libc_hidden_def.
12012 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12013 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12014
28377d1b
UD
12015 * include/dirent.h (__alloc_dir): Add flags parameter.
12016 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12017 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12018 __alloc_dir.
12019 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12020 from fdopendir if O_CLOEXEC is already set.
12021
66bdbaa4
AM
120222011-03-15 Alan Modra <amodra@gmail.com>
12023
12024 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12025 l_tls_firstbyte_offset non-zero. Save padding offset in
12026 l_tls_firstbyte_offset for later use.
12027 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12028 freeing static tls block.
12029
95721191
JN
120302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12031
12032 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12033 where #ifdef was intended. The intent is to prevent ARG_MAX from
12034 being defined by the kernel headers.
12035
f87dfb1f
UD
120362011-05-07 Ulrich Drepper <drepper@gmail.com>
12037
12038 [BZ #12734]
12039 * resolv/resolv.h: Define RES_NOTLDQUERY.
12040 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12041 no-tld-query and set RES_NOTLDQUERY.
12042 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12043 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12044 modern BIND to search name as TLD unless forbidden.
12045
47c3cd7a
UD
120462011-05-07 Petr Baudis <pasky@suse.cz>
12047 Ulrich Drepper <drepper@gmail.com>
12048
12049 [BZ #12393]
12050 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12051 (is_trusted_path): ...to here.
c1e9ea35 12052 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12053 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12054 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12055
8a35c912
PP
120562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12057
12058 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12059 __BEGIN/__END_DECLS.
12060
acd41f47
UD
120612011-05-06 Ulrich Drepper <drepper@gmail.com>
12062
12063 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12064 NSS_STATUS_NOTFOUND if no record was found.
12065
597df647
AS
120662011-05-05 Andreas Schwab <schwab@redhat.com>
12067
12068 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12069 (headers-not-in-tirpc): Remove rpc/netdb.h
12070 * resolv/netdb.h: Revert last change.
12071
b9af1301
PP
120722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12073
12074 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12075 circular dependency between libgcc.a and libc.a.
12076
4e34d5f5
AS
120772011-05-05 Andreas Schwab <schwab@redhat.com>
12078
12079 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12080 * nis/Makefile: Don't install rpcsvc/*.
12081 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12082 instead of <rpc/types.h>.
12083 (MAXHOSTNAMELEN): Define.
12084
00ee369c
AS
120852011-05-03 Andreas Schwab <schwab@redhat.com>
12086
12087 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12088
0b592a30
MB
120892011-04-28 Maciej Babinski <mbabinski@google.com>
12090
12091 [BZ #12714]
12092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12093 gethostbyname4_r when IPv6 results are possible.
12094
6e04cbbe
UD
120952011-05-02 Ulrich Drepper <drepper@gmail.com>
12096
12097 [BZ #12723]
12098 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12099 _PC_PIPE_BUF handling.
12100
e4ecafe0
BH
121012011-04-30 Bruno Haible <bruno@clisp.org>
12102
12103 [BZ #12717]
12104 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12105 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12106 to 'int'.
12107 * inet/getnameinfo.c (getnameinfo): Likewise.
12108
125ee683
UD
121092011-04-29 Ulrich Drepper <drepper@gmail.com>
12110
12111 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12112 to groups setting in database lookup.
12113 * nss/nsswitch.conf: Add initgroups entry.
12114
b722481a
EB
121152011-04-22 Ulrich Drepper <drepper@gmail.com>
12116
12117 [BZ #12685]
12118 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12119 mode string.
12120 Patch by Eric Blake <eblake@redhat.com>.
12121
4df46dbd
L
121222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12123
12124 * sunrpc/Makefile (need-export-routines): Add svc_run.
12125 (routines): Remove svc_run.
12126 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12127 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12128 * sunrpc/svc_run.c (svc_run): Likewise.
12129 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12130
e84142d2
UD
121312011-04-21 Ulrich Drepper <drepper@gmail.com>
12132
12133 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12134 problem in reallocation in last patch.
12135
877175d8
UD
121362011-04-20 Ulrich Drepper <drepper@gmail.com>
12137
12138 * sunrpc/Makefile: Move inclusion of Rules.
12139
ab8eed78
UD
121402011-04-19 Ulrich Drepper <drepper@gmail.com>
12141
12142 * nss/nss_files/files-initgroups.c: New file.
12143 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12144 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12145 _nss_files_initgroups_dyn.
12146
e3d8f584
RS
121472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12148
12149 * elf/elf.h (R_ARM_IRELATIVE): Define.
12150
af190f45
UD
121512011-04-19 Ulrich Drepper <drepper@gmail.com>
12152
12153 * po/ru.po: Update from translation team.
12154
53cf59ef
UD
121552011-04-17 Ulrich Drepper <drepper@gmail.com>
12156
12157 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12158 dependencies.
12159
4c559bcd
MF
121602011-02-06 Mike Frysinger <vapier@gentoo.org>
12161
12162 [BZ #12653]
12163 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12164 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12165 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12166 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12167 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12168
4420675c
AS
121692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12170
12171 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12172 differing bytes.
12173 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12174 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12175 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12176
75ea32ab
UD
121772011-04-17 Ulrich Drepper <drepper@gmail.com>
12178
12179 [BZ #12420]
12180 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12181 storing it.
12182 * stdlib/bug-getcontext.c: New file.
12183 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12184
27390476
AK
121852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12186
12187 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12188 instructions into .machine "z9-109".
12189 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12190 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12191
10442705
AK
121922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12193
12194 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12195 between environment variables and auxiliary vector.
12196
7b57bfe5
UD
121972011-04-16 Ulrich Drepper <drepper@gmail.com>
12198
12199 * Makefile: Add rules to build linkobj/libc.so.
12200 * include/libc-symbols.h: Define libc_hidden_nolink.
12201 * include/rpc/auth.h: Mark functions which are to be hidden.
12202 * include/rpc/auth_des.h: Likewise.
12203 * include/rpc/auth_unix.h: Likewise.
12204 * include/rpc/clnt.h: Likewise.
12205 * include/rpc/des_crypt.h: Likewise.
12206 * include/rpc/key_prot.h: Likewise.
12207 * include/rpc/pmap_clnt.h: Likewise.
12208 * include/rpc/pmap_prot.h: Likewise.
12209 * include/rpc/pmap_rmt.h: Likewise.
12210 * include/rpc/rpc_msg.h: Likewise.
12211 * include/rpc/svc.h: Likewise.
12212 * include/rpc/svc_auth.h: Likewise.
12213 * include/rpc/xdr.h: Likewise.
12214 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12215 * nss/Makefile: Likewise.
12216 * sunrpc/Makefile: Don't install headers. Build library with normal
12217 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12218 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12219 for the compat linking library. Remove use of INTDEF/INTUSE.
12220 * sunrpc/auth_none.c: Likewise.
12221 * sunrpc/auth_unix.c: Likewise.
12222 * sunrpc/authdes_prot.c: Likewise.
12223 * sunrpc/authuxprot.c: Likewise.
12224 * sunrpc/clnt_gen.c: Likewise.
12225 * sunrpc/clnt_perr.c: Likewise.
12226 * sunrpc/clnt_raw.c: Likewise.
12227 * sunrpc/clnt_simp.c: Likewise.
12228 * sunrpc/clnt_tcp.c: Likewise.
12229 * sunrpc/clnt_udp.c: Likewise.
12230 * sunrpc/clnt_unix.c: Likewise.
12231 * sunrpc/des_crypt.c: Likewise.
12232 * sunrpc/des_soft.c: Likewise.
12233 * sunrpc/get_myaddr.c: Likewise.
12234 * sunrpc/key_call.c: Likewise.
12235 * sunrpc/key_prot.c: Likewise.
12236 * sunrpc/netname.c: Likewise.
12237 * sunrpc/pm_getmaps.c: Likewise.
12238 * sunrpc/pm_getport.c: Likewise.
12239 * sunrpc/pmap_clnt.c: Likewise.
12240 * sunrpc/pmap_prot.c: Likewise.
12241 * sunrpc/pmap_prot2.c: Likewise.
12242 * sunrpc/pmap_rmt.c: Likewise.
12243 * sunrpc/publickey.c: Likewise.
12244 * sunrpc/rpc_cmsg.c: Likewise.
12245 * sunrpc/rpc_common.c: Likewise.
12246 * sunrpc/rpc_dtable.c: Likewise.
12247 * sunrpc/rpc_prot.c: Likewise.
12248 * sunrpc/rpc_thread.c: Likewise.
12249 * sunrpc/rtime.c: Likewise.
12250 * sunrpc/svc.c: Likewise.
12251 * sunrpc/svc_auth.c: Likewise.
12252 * sunrpc/svc_authux.c: Likewise.
12253 * sunrpc/svc_raw.c: Likewise.
12254 * sunrpc/svc_run.c: Likewise.
12255 * sunrpc/svc_simple.c: Likewise.
12256 * sunrpc/svc_tcp.c: Likewise.
12257 * sunrpc/svc_udp.c: Likewise.
12258 * sunrpc/svc_unix.c: Likewise.
12259 * sunrpc/svcauth_des.c: Likewise.
12260 * sunrpc/xcrypt.c: Likewise.
12261 * sunrpc/xdr.c: Likewise.
12262 * sunrpc/xdr_array.c: Likewise.
12263 * sunrpc/xdr_float.c: Likewise.
12264 * sunrpc/xdr_intXX_t.c: Likewise.
12265 * sunrpc/xdr_mem.c: Likewise.
12266 * sunrpc/xdr_rec.c: Likewise.
12267 * sunrpc/xdr_ref.c: Likewise.
12268 * sunrpc/xdr_sizeof.c: Likewise.
12269 * sunrpc/xdr_stdio.c: Likewise.
12270
e6c61494
UD
122712011-04-10 Ulrich Drepper <drepper@gmail.com>
12272
12273 [BZ #12650]
12274 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12275 * sysdeps/ia64/dl-tls.h: Likewise.
12276 * sysdeps/powerpc/dl-tls.h: Likewise.
12277 * sysdeps/s390/dl-tls.h: Likewise.
12278 * sysdeps/sh/dl-tls.h: Likewise.
12279 * sysdeps/sparc/dl-tls.h: Likewise.
12280 * sysdeps/x86_64/dl-tls.h: Likewise.
12281 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12282
34fe483e
AS
122832011-03-14 Andreas Schwab <schwab@redhat.com>
12284
12285 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12286 rpath element also skip the following colon.
12287 (expand_dynamic_string_token): Add is_path parameter and pass
12288 down to DL_DST_REQUIRED and _dl_dst_substitute.
12289 (decompose_rpath): Call expand_dynamic_string_token with
12290 non-zero is_path. Ignore empty rpaths.
12291 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12292 with zero is_path.
12293
f12a32e6
AS
122942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12295
12296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12297 Make cancelable.
12298
38a7d692
UD
122992011-04-09 Ulrich Drepper <drepper@gmail.com>
12300
12301 [BZ #12655]
12302 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12303 Patch by Filipe David Manana <fdmanana@apache.org>.
12304
e451d22b
AS
123052011-04-07 Andreas Schwab <schwab@redhat.com>
12306
12307 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12308 Maintain aligned stack.
12309 (CHECK_RSP): Remove unused macro.
12310
dedc7c7b
UD
123112011-04-03 Ulrich Drepper <drepper@gmail.com>
12312
12313 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12314 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12315
94521213
UD
123162011-04-02 Ulrich Drepper <drepper@gmail.com>
12317
12318 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12319
8cb700c0 12320 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12321
0354e355
L
123222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12323
12324 [BZ #12518]
12325 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12326 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12327 * sysdeps/x86_64/memmove.c: New file.
12328 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12329 (memcpy): Renamed to ...
12330 (__new_memcpy): This.
12331 (memcpy): Provide GLIBC_2_14 memcpy.
12332 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12333 (memcpy): Provide GLIBC_2_2_5 memcpy.
12334
8593482f
UD
123352011-04-01 Ulrich Drepper <drepper@gmail.com>
12336
12337 [BZ #12631]
12338 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12339
81a5726b
AS
123402011-03-30 Andreas Schwab <schwab@redhat.com>
12341
12342 * misc/syncfs.c: New file.
12343 * misc/Makefile (routines): Add syncfs.
12344 * posix/unistd.h: Declare syncfs.
12345 * sysdeps/unix/syscalls.list: Add syncfs.
12346
00e5419f
AS
123472011-04-01 Andreas Schwab <schwab@redhat.com>
12348
12349 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12350 open_by_handle_at.
12351 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12354 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12356 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12358
748876bf
UD
123592011-04-01 Ulrich Drepper <drepper@gmail.com>
12360
658e451d
UD
12361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12362 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12363 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12365 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12368
748876bf
UD
12369 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12370 sync_file_range.c with -fexceptions.
12371 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12372 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12373 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12374 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12375 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12376 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12377 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12378 sync_file_range as cancellation point
12379 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12380 now a wrapper around __call_sync_file_range with cancellation handling.
12381 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12382 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12383 function name to __call_sync_file_range.
12384 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12385 Add call_sync_file_range.
748876bf 12386
6e63d5e1
AS
123872011-04-01 Andreas Schwab <schwab@redhat.com>
12388
12389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12390 bits/timex.h.
6e63d5e1 12391
46998f74
UD
123922011-04-01 Ulrich Drepper <drepper@gmail.com>
12393
4c1423ed
UD
12394 * iconv/iconv.h: Fix typo in comment.
12395 * io/fcntl.h: Likewise.
12396 * libio/stdio.h: Likewise.
12397 * posix/spawn.h: Likewise.
12398 * posix/unistd.h: Likewise.
12399 * stdlib/stdlib.h: Likewise.
12400 * time/time.h: Likewise.
12401 * wcsmbs/wchar.h: Likewise.
12402
158648c0
UD
12403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12404 open_by_handle): Add.
12405 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12406 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12407 Augment a few comments.
12408 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12410 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12412 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12413 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12414 open_by_handle.
12415
46998f74
UD
12416 * io/fcntl.h (AT_EMPTY_PATH): Define.
12417
83fe108b
UD
124182011-03-30 Ulrich Drepper <drepper@gmail.com>
12419
12420 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12421 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12422 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12423 to...
12424 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12425 * Versions.def: Add GLIBC_2.14.
12426 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12427 Export.
83fe108b 12428
bb242059
UD
124292011-03-22 Ulrich Drepper <drepper@gmail.com>
12430
12431 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12432 round counter.
12433 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12434
c97a1282
L
124352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12436
12437 [BZ #12597]
12438 * string/test-strncmp.c (do_page_test): New function.
12439 (check2): Likewise.
12440 (test_main): Call check2.
12441 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12442
2a115601
UD
124432011-03-20 Ulrich Drepper <drepper@gmail.com>
12444
12445 [BZ #12587]
12446 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12447 Handle cache information in CPU leaf 4.
12448 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12449
8126d904
UD
124502011-03-18 Ulrich Drepper <drepper@gmail.com>
12451
042c49c6 12452 [BZ #12583]
8126d904
UD
12453 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12454 character representation.
12455 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12456
ccfe366e
RA
124572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12458
12459 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12460 END(__isnan) to END(__isnanf) to match function entry point/label
12461 EALIGN(__isnanf,...).
12462
c6e13027
JJ
124632011-03-10 Jakub Jelinek <jakub@redhat.com>
12464
12465 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12466
33f85a3f
UD
124672011-03-10 Ulrich Drepper <drepper@gmail.com>
12468
028478fa
UD
12469 [BZ #12510]
12470 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12471 copy from the symbol referenced in the relocation to initialize the
12472 used variable.
12473 Patch by Piotr Bury <pbury@goahead.com>.
12474 * elf/Makefile: Add rules to build and tst-unique3.
12475 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12476 * elf/tst-unique3.cc: New file.
12477 * elf/tst-unique3.h: New file.
12478 * elf/tst-unique3lib.cc: New file.
12479 * elf/tst-unique3lib2.cc: New file.
12480
33f85a3f
UD
12481 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12482
03592fc7
MF
124832011-03-10 Mike Frysinger <vapier@gentoo.org>
12484
12485 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12486 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12487 to _start.
03592fc7 12488
6a5ee102
UD
124892011-03-06 Ulrich Drepper <drepper@gmail.com>
12490
12491 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12492 to-be-loaded object along a path to loader is ld.so.
12493
7e4ba49c
HJ
124942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12495 Ulrich Drepper <drepper@gmail.com>
12496
12497 * sysdeps/x86_64/memset.S: After aligning destination, code
12498 branches to different locations depending on the value of
12499 misalignment, when multiarch is enabled. Fix this.
12500
125012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12502
12503 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12504 Set _x86_64_preferred_memory_instruction for AMD processsors.
12505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12506 Set bit_Prefer_SSE_for_memop for AMD processors.
12507
13a804de
UD
125082011-03-04 Ulrich Drepper <drepper@gmail.com>
12509
12510 * libio/fmemopen.c (fmemopen): Optimize a bit.
12511
9d25c392
AS
125122011-03-03 Andreas Schwab <schwab@redhat.com>
12513
12514 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12515
a5543c6a
RM
125162011-03-03 Roland McGrath <roland@redhat.com>
12517
12518 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12519
012d35f7
DM
125202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12521
7e4ba49c 12522 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12523 __bzero_ultra1 instead of __memset_ultra1.
12524
4bff6e01
AS
125252011-02-23 Andreas Schwab <schwab@redhat.com>
12526 Ulrich Drepper <drepper@gmail.com>
12527
12528 [BZ #12509]
12529 * include/link.h (struct link_map): Add l_orig_initfini.
12530 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12531 returning unsuccessfully.
12532 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12533 close of a file loaded at startup, restore the original l_initfini
12534 list.
12535 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12536 list, store the pointer.
12537 * elf/Makefile ($(objpfx)noload-mem): New rule.
12538 (noload-ENV): Define.
12539 (tests): Add $(objpfx)noload-mem.
12540 * elf/noload.c: Include <memcheck.h>.
12541 (main): Call mtrace. Close all opened handles.
12542
f2092faf
AS
125432011-02-17 Andreas Schwab <schwab@redhat.com>
12544
12545 [BZ #12454]
12546 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12547 dependencies are missing.
12548
6c8a2e88
ST
125492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12550
f2092faf 12551 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12552 Hurd needs munmap.
12553 * sysdeps/mach/hurd/ifreq.h: New file.
12554
84a42118
PB
125552011-01-27 Petr Baudis <pasky@suse.cz>
12556 Ulrich Drepper <drepper@gmail.com>
12557
071f805e 12558 [BZ 12445]#
84a42118
PB
12559 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12560 to extend_alloca().
12561 * stdio-common/bug23.c: New file.
12562 * stdio-common/Makefile (tests): Add bug23.
12563
e23fe25b
AS
125642010-09-28 Andreas Schwab <schwab@redhat.com>
12565 Ulrich Drepper <drepper@gmail.com>
12566
12567 [BZ #12489]
12568 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12569 before performing relro protection. At old place add assertion
12570 to make sure nothing changed.
12571
d3f02e10
NS
125722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12573 Glauber de Oliveira Costa <glommer@gmail.com>
12574
12575 * elf/elf.h: Add new ARM TLS relocs.
12576
d55fd7a5
RA
125772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12578
12579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12580 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12581 cast from r3.
12582 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12583 'tests' variable.
12584 * sysdeps/wordsize-64/tst-writev.c: New file.
12585
2206397e
RA
125862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12587
12588 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12589 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12590 insns in _dl_start to prevent a TOC reference before relocs are
12591 resolved.
12592
e9433893
UD
125932011-02-15 Ulrich Drepper <drepper@gmail.com>
12594
12595 [BZ #12469]
12596 * Makeconfig: Remove RANLIB definition.
12597 * Makerules: Don't use RANLIB.
12598 * aclocal.m4: Remove ranlib test.
12599 * configure.in: No need to check for ranlib.
12600 * elf/rtld-Rules: Don't use RANLIB.
12601
f75286c6
ST
126022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12603
8e31c82d
ST
12604 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12605 protection macro.
12606 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12607 inclusion protection macro.
12608
f75286c6
ST
12609 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12610 SIGRTMIN and SIGRTMAX and print information in that case only when
12611 SIGRTMIN is defined.
12612
c1d0e639
JJ
126132011-02-11 Jakub Jelinek <jakub@redhat.com>
12614
12615 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12616 arginfo fn returning -1.
12617
12618 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12619 and thousands string is zero terminated.
12620
edf9294e
AS
126212011-02-03 Andreas Schwab <schwab@redhat.com>
12622
12623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12624 sysdeps/unix/sysv/linux/bits/socket.h.
12625
2b7e92df
ST
126262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12627
edf9294e
AS
12628 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12629 (__CPU_COUNT): Remove old macros.
12630 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12631 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12632 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12633 (__sched_cpualloc, __sched_cpufree): Add declarations.
12634
a4c7ea7b
UD
126352011-02-05 Ulrich Drepper <drepper@gmail.com>
12636
12637 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12638 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12639 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12640 (readdhstai): Return value of addhstaiX call.
12641 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12642 (addgrbyX): Return value returned by cache_addgr.
12643 (readdgrbyname): Return value returned by addgrbyX.
12644 (readdgrbygid): Likewise.
12645 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12646 (addpwbyX): Return value returned by cache_addpw.
12647 (readdpwbyname): Return value returned by addhstbyX.
12648 (readdpwbyuid): Likewise.
12649 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12650 (addservbyX): Return value returned by cache_addserv.
12651 (readdservbyname): Return value returned by addservbyX:
12652 (readdservbyport): Likewise.
12653 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12654 (addhstbyX): Return value returned by cache_addhst.
12655 (readdhstbyname): Return value returned by addhstbyX.
12656 (readdhstbyaddr): Likewise.
12657 (readdhstbynamev6): Likewise.
12658 (readdhstbyaddrv6): Likewise.
12659 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12660 (readdinitgroups): Return value returned by addinitgroupsX.
12661 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12662 (prune_cache): Keep track of timeout value of re-added entries.
12663 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12664 * nscd/nscd.h: Adjust prototypes of readd* functions.
12665
a0bf67cc
RM
126662011-02-04 Roland McGrath <roland@redhat.com>
12667
12668 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12669 (nis_stats): Likewise.
12670 * nis/nis_modify.c (nis_modify): Likewise.
12671 * nis/nis_remove.c (nis_remove): Likewise.
12672 * nis/nis_add.c (nis_add): Likewise.
12673
12674 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12675
12676 * posix/fnmatch_loop.c: Add some consts.
12677
12678 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12679
435b95eb
L
126802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12681
12682 [BZ #12460]
12683 * config.make.in (config-cflags-novzeroupper): Define.
12684 * configure.in: Substitute libc_cv_cc_novzeroupper.
12685 * elf/Makefile (AVX-CFLAGS): Define.
12686 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12687 (CFLAGS-tst-auditmod4a.c): Likewise.
12688 (CFLAGS-tst-auditmod4b.c): Likewise.
12689 (CFLAGS-tst-auditmod6b.c): Likewise.
12690 (CFLAGS-tst-auditmod6c.c): Likewise.
12691 (CFLAGS-tst-auditmod7b.c): Likewise.
12692 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12693
8517b15e
UD
126942011-02-02 Ulrich Drepper <drepper@gmail.com>
12695
12696 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12697 function to the callback.
12698 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12699
10a656fe
AS
127002011-02-02 Andreas Schwab <schwab@redhat.com>
12701
12702 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12703 of errno.
12704
968dad0a
UD
127052011-01-19 Ulrich Drepper <drepper@gmail.com>
12706
9f94d2ea 12707 [BZ #11724]
968dad0a
UD
12708 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12709 of constructors.
12710 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12711 of destructors.
12712 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12713
12714 [BZ #11724]
12715 * elf/Makefile: Add rules to build and run new test.
12716 * elf/tst-initorder.c: New file.
12717 * elf/tst-initorder.exp: New file.
12718 * elf/tst-initordera1.c: New file.
12719 * elf/tst-initordera2.c: New file.
12720 * elf/tst-initordera3.c: New file.
12721 * elf/tst-initordera4.c: New file.
12722 * elf/tst-initorderb1.c: New file.
12723 * elf/tst-initorderb2.c: New file.
12724 * elf/tst-order-a1.c: New file.
12725 * elf/tst-order-a2.c: New file.
12726 * elf/tst-order-a3.c: New file.
12727 * elf/tst-order-a4.c: New file.
12728 * elf/tst-order-b1.c: New file.
12729 * elf/tst-order-b2.c: New file.
12730 * elf/tst-order-main.c: New file.
12731 New test case by George Gensure <werkt0@gmail.com>.
12732
86e92359
UD
127332010-10-01 Andreas Schwab <schwab@redhat.com>
12734
12735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12736 decoding ACE if AI_CANONIDN.
12737
5d5732b0
UD
127382011-01-18 Ulrich Drepper <drepper@gmail.com>
12739
12740 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12741
a77e8cbc
UD
127422011-01-17 Ulrich Drepper <drepper@gmail.com>
12743
6392473f
UD
12744 * version.h (RELEASE): Bump for 2.13 release.
12745 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12746
620a0529
UD
12747 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12748
18ba70a5
UD
12749 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12750 MADV_NOHUGEPAGE.
32465c3e
UD
12751 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12752 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12753 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12754 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12755 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12757
c0dafcf1
UD
12758 * posix/getconf.c: Update copyright year.
12759 * catgets/gencat.c: Likewise.
12760 * csu/version.c: Likewise.
12761 * debug/catchsegv.sh: Likewise.
12762 * debug/xtrace.sh: Likewise.
12763 * elf/ldconfig.c: Likewise.
12764 * elf/ldd.bash.in: Likewise.
12765 * elf/sprof.c (print_version): Likewise.
12766 * iconv/iconv_prog.c: Likewise.
12767 * iconv/iconvconfig.c: Likewise.
12768 * locale/programs/locale.c: Likewise.
12769 * locale/programs/localedef.c: Likewise.
12770 * malloc/memusage.sh: Likewise.
12771 * malloc/mtrace.pl: Likewise.
12772 * nscd/nscd.c (print_version): Likewise.
12773 * nss/getent.c: Likewise.
12774
a77e8cbc
UD
12775 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12776 PF_CAIF, and PF_ALG.
12777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12778
77e8bddf
AS
127792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12780
1f20b93a
AS
12781 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12782 (modules-names): Use them.
12783 (ifunc-test-modules, ifunc-pie-tests): Define.
12784 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12785 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12786 (test-extras): Likewise.
12787 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12788 $(compile-command.c).
12789 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12790 (all-built-dso): Define.
12791 (check-textrel.out, check-execstack.out): Depend on it.
12792
77e8bddf
AS
12793 * configure.in: Don't override --enable-multi-arch.
12794
bc425b33
UD
127952011-01-15 Ulrich Drepper <drepper@gmail.com>
12796
12797 [BZ #6812]
12798 * nscd/hstcache.c (tryagain): Define.
12799 (cache_addhst): Return tryagain not notfound for temporary errors.
12800 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12801 failed.
12802
794c3ad3
UD
128032011-01-14 Ulrich Drepper <drepper@gmail.com>
12804
70181fdd
UD
12805 [BZ #10563]
12806 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12807 to make the syscall.
12808 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12809
794c3ad3
UD
12810 [BZ #12378]
12811 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12812 and fall back to matching as normal character if the string ends before
12813 the matching ']' is found. This is what POSIX requires.
12814 * posix/testfnm.c: Adjust test result.
12815 * posix/globtest.sh: Adjust test result. Add new test.
12816 * posix/tst-fnmatch.input: Likewise.
12817 * posix/tst-fnmatch2.c: Add new test.
12818
68dc9497
AS
128192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12820
12821 * elf/Makefile (check-execstack): Revert last change. Depend on
12822 check-execstack.h.
12823 (check-execstack.h): New target.
12824 (generated): Add check-execstack.h.
12825 * elf/check-execstack.c: Include "check-execstack.h".
12826 (main): Revert last change.
12827 (handle_file): Return zero if GNU_STACK is absent and
12828 DEFAULT_STACK_PERMS doesn't include PF_X.
12829
451f001b
UD
128302011-01-13 Ulrich Drepper <drepper@gmail.com>
12831
cfa28e56
UD
12832 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12833 in child fails because the descriptor is already closed.
8cf8ce17
UD
12834 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12835 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12836 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12837
1086d70d
UD
12838 [BZ #12397]
12839 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12840 syscall.
12841
451f001b
UD
12842 [BZ #10484]
12843 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12844 temporary buffer used to handle multi lookups locally.
a85b5cb4 12845 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12846
08769175
UD
128472011-01-12 Ulrich Drepper <drepper@gmail.com>
12848
12849 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12850 loader is ld.so.
12851
5e49c52e
UD
128522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12853
12854 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12855 alignment for SSE2.
12856
60522a5f
UD
128572011-01-12 Ulrich Drepper <drepper@gmail.com>
12858
12859 [BZ #12394]
12860 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12861 characters. When rounding increased number of integer digits recompute
12862 number of groups.
12863 * stdio-common/tst-grouping.c: New file.
12864 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12865
f257bbd7
UD
128662011-01-09 Ulrich Drepper <drepper@gmail.com>
12867
12868 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12869 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12870
12871 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12872 void.
12873 * bits/select.h: Likewise.
12874
fa9c15cb
UD
128752011-01-08 Ulrich Drepper <drepper@gmail.com>
12876
12877 * po/ja.po: Update from translation team.
12878
16c2895f
DM
128792011-01-04 David S. Miller <davem@sunset.davemloft.net>
12880
12881 [BZ #11155]
12882 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12883 implementation just like for lxstat, fxstatat, et al.
12884
2543fef2
JM
128852010-12-27 Jim Meyering <meyering@redhat.com>
12886
12887 [BZ #12348]
12888 * posix/regexec.c (build_trtable): Return failure indication upon
12889 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12890
98727dbe
UD
128912010-12-25 Ulrich Drepper <drepper@gmail.com>
12892
5bd6dc5c
UD
12893 [BZ #12201]
12894 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12895 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12896 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12897 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12898
97983464
UD
12899 [BZ #12207]
12900 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12901
98727dbe
UD
12902 [BZ #12204]
12903 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12904 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12905
4a531bb0
L
129062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12907
12908 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12909 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12910 script has SORT_BY_INIT_PRIORITY.
12911 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12912 NO_CTORS_DTORS_SECTIONS is defined.
12913 * elf/soinit.c: Likewise.
12914 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12915 NO_CTORS_DTORS_SECTIONS is defined.
12916 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12917 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12918 * sysdeps/sh/init-first.c: Likewise.
12919 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12920
07eb4b71
UD
129212010-12-24 Ulrich Drepper <drepper@gmail.com>
12922
12923 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12924 always use the slow path.
12925
30950a5f
RA
129262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12927
12928 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12929 similar rule which adds the sysdep directories to the header search in
12930 order to pick up the correct platform stackinfo.h.
12931 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12932 perform test if it is, otherwise return successfully without testing.
12933 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12934 DEFAULT_STACK_PERMS define in stackinfo.h.
12935 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12936 defined in stackinfo.h.
12937 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12938 DEFAULT_STACK_PERMS defined in stackinfo.h.
12939 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12940 * sysdeps/ia64/stackinfo.h: Likewise.
12941 * sysdeps/s390/stackinfo.h: Likewise.
12942 * sysdeps/sh/stackinfo.h: Likewise.
12943 * sysdeps/sparc/stackinfo.h: Likewise.
12944 * sysdeps/x86_64/stackinfo.h: Likewise.
12945 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12946 PF_X for powerpc64. Retain PF_X for powerpc32.
12947
db753e2c
UD
129482010-12-19 Ulrich Drepper <drepper@gmail.com>
12949
14b697f7
UD
12950 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12951 accurately.
db753e2c
UD
12952 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12953 GETDENTS_64BIT_ALIGNED.
12954
28300719
UD
129552010-12-14 Ulrich Drepper <dreper@gmail.com>
12956
14b697f7 12957 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12958
4f197237
AS
129592010-12-10 Andreas Schwab <schwab@redhat.com>
12960
dbb0472f
AS
12961 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12962 _GNU_SOURCE.
12963
4f197237
AS
12964 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12965 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12966 Remove __restrict.
12967 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12968 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12969
fb88ac72
UD
129702010-12-09 Ulrich Drepper <drepper@gmail.com>
12971
12972 [BZ #11655]
12973 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12974 are initialized.
12975
42acbb92
JJ
129762010-12-09 Jakub Jelinek <jakub@redhat.com>
12977
12978 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12979
c038d98d
UD
129802010-12-03 Ulrich Drepper <drepper@gmail.com>
12981
12982 * po/it.po: Update from translation team.
12983
3a4a2499
L
129842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12985
12986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12987 unused codes.
12988
1e24cf6e
UD
129892010-11-30 Ulrich Drepper <drepper@gmail.com>
12990
12991 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12992
a7690819
AS
129932010-11-24 Andreas Schwab <schwab@redhat.com>
12994
12995 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12996 specially.
12997 (gaih_getanswer_slice): Likewise.
12998
3bf8d1b1
JJ
129992010-10-20 Jakub Jelinek <jakub@redhat.com>
13000
13001 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13002
6db52fbb
PB
130032010-05-31 Petr Baudis <pasky@suse.cz>
13004
13005 [BZ #11149]
13006 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13007 silently even in the chroot mode.
13008
eaca7569
UD
130092010-11-22 Ulrich Drepper <drepper@gmail.com>
13010
13011 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13012 last patch a bit. Pretty printing
13013
3056dcdb
UD
130142010-05-31 Petr Baudis <pasky@suse.cz>
13015
13016 [BZ #10085]
13017 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13018 initialization of skip_initgroups_dyn.
13019
cf7c9078
UD
130202010-11-19 Ulrich Drepper <drepper@gmail.com>
13021
13022 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13024
a1fb5e3e
UD
130252010-11-16 Ulrich Drepper <drepper@gmail.com>
13026
13027 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13028
3540d66b
AS
130292010-11-11 Andreas Schwab <schwab@redhat.com>
13030
13031 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13032 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13033 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13034 ($(objpfx)tst-fnmatch-mem): New rule.
13035 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13036 * posix/tst-fnmatch.c (main): Call mtrace.
13037
13b69574
L
130382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13039
13040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13041 Support Intel processor model 6 and model 0x2c.
13042
da93d214
LM
130432010-11-10 Luis Machado <luisgpm@br.ibm.com>
13044
13045 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13046 signed comparison.
13047
8ca52c6e
L
130482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13049
13050 [BZ #12205]
13051 * string/test-strncasecmp.c (check_result): New function.
13052 (do_one_test): Use it.
13053 (check1): New function.
13054 (test_main): Use it.
13055 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13056 Support strcasecmp and strncasecmp.
13057
69da074d
UD
130582010-11-08 Ulrich Drepper <drepper@gmail.com>
13059
13060 [BZ #12194]
13061 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13062 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13063
ff02d528
L
130642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13065
13066 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13067 IFUNC support.
13068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13069 memset-x86-64.
13070 * sysdeps/x86_64/multiarch/bzero.S: New file.
13071 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13072 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13073 * sysdeps/x86_64/multiarch/memset.S: New file.
13074 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13076 Set bit_Prefer_SSE_for_memop for Intel processors.
13077 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13078 Define.
13079 (index_Prefer_SSE_for_memop): Define.
13080 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13081
344d0b54
LM
130822010-11-04 Luis Machado <luisgpm@br.ibm.com>
13083
13084 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13085 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13086
c0dde15b
UD
130872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13088
13089 [BZ #12191]
13090 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13091 (__x86_64_raw_data_cache_size_half): Likewise.
13092 (__x86_64_raw_shared_cache_size): Likewise.
13093 (__x86_64_raw_shared_cache_size_half): Likewise.
13094
13095 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13096 (__x86_64_raw_data_cache_size_half): Likewise.
13097 (__x86_64_raw_shared_cache_size): Likewise.
13098 (__x86_64_raw_shared_cache_size_half): Likewise.
13099 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13100 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13101 and __x86_64_raw_shared_cache_size_half. Round
13102 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13103 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13104 to multiple of 256 bytes.
13105
0e516e0e
MS
131062010-11-03 Ulrich Drepper <drepper@gmail.com>
13107
13108 [BZ #12167]
13109 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13110 of inacessible symlinks. Verify result of symlink before returning it.
13111 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13112 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13113
0e012e87
ER
131142010-10-28 Erich Ritz <erichritz@gmail.com>
13115
13116 * math/math.h (isinf): Fix typo in comment.
13117
de0ff7bc
UD
131182010-11-01 Ulrich Drepper <drepper@gmail.com>
13119
13120 * po/da.po: Update from translation team.
13121
fa41c84d
UD
131222010-10-26 Ulrich Drepper <drepper@gmail.com>
13123
13124 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13125 is added to the list.
13126
f0967738
AK
131272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13128 Ulrich Drepper <drepper@gmail.com>
13129
13130 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13131 the global list here. Move code to...
13132 (_dl_add_to_namespace_list): ...here. New function.
13133 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13134 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13135 * elf/dl-load.c (lose): Don't remove the element from the list.
13136 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13137 (_dl_map_object): Likewise.
13138
131392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13140
13141 [BZ #12159]
13142 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13143 into all bytes of SSE register.
13144 Patch by Richard Li <richardpku@gmail.com>.
13145
f0967738 131462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13147
13148 [BZ #12140]
13149 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13150 perturbing.
13151
d0b9e94f
MB
131522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13153
13154 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13155 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13156 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13157 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13159 submachine.
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13161
8e9f92e9
AS
131622010-10-22 Andreas Schwab <schwab@redhat.com>
13163
13164 * include/dlfcn.h (__RTLD_SECURE): Define.
13165 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13166 mode & __RTLD_SECURE instead.
13167 (open_path): Rename preloaded parameter to secure.
13168 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13169 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13170 * elf/dl-deps.c (openaux): Likewise.
13171 * elf/rtld.c (struct map_args): Remove is_preloaded.
13172 (map_doit): Don't use it.
13173 (dl_main): Likewise.
13174 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13175 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13176
bc96fbda
AS
131772010-09-09 Andreas Schwab <schwab@redhat.com>
13178
13179 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13180 (sysd-rules-targets): Remove duplicates.
13181 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13182 rtld-%.$o dependency.
13183
22cd1c9b
AS
131842010-10-18 Andreas Schwab <schwab@redhat.com>
13185
13186 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13187 _dl_map_object do it.
13188
18edac48
UD
131892010-10-19 Ulrich Drepper <drepper@gmail.com>
13190
13191 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13192 fast fma builtins, define the macros in the C99 standard.
13193 (FP_FAST_FMAF): Likewise.
13194 (FP_FAST_FMAL): Likewise.
13195 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13196
13197 * bits/mathdef.h: Update copyright year.
13198 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13199
d2050124
MM
132002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13201
13202 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13203 builtins, define the macros in the C99 standard.
13204 (FP_FAST_FMAF): Likewise.
13205 (FP_FAST_FMAL): Likewise.
13206 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13207 multiply/add.
13208 (FP_FAST_FMAF): Likewise.
13209
475facd1
JJ
132102010-10-15 Jakub Jelinek <jakub@redhat.com>
13211
13212 [BZ #3268]
13213 * math/libm-test.inc (fma_test): Some new testcases.
13214 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13215 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13216 y and infinite z. Do multiplication by C already in long double.
13217 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13219 y and infinite z. Do bitwise or of inexact bit into u.d.
13220 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13221 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13222 * sysdeps/i386/fpu/s_fma.S: Removed.
13223 * sysdeps/i386/fpu/s_fmal.S: Removed.
13224
7c08a05c
JJ
132252010-10-16 Jakub Jelinek <jakub@redhat.com>
13226
13227 [BZ #3268]
13228 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13230 computation is not scheduled after fetestexcept. Fix value
13231 of minimum denormal long double.
13232
f3f7372d
JJ
132332010-10-14 Jakub Jelinek <jakub@redhat.com>
13234
13235 [BZ #3268]
13236 * math/libm-test.inc (fma_test): Add some more tests.
13237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13238 correctly.
13239
14d43591
AS
132402010-10-15 Andreas Schwab <schwab@redhat.com>
13241
13242 * scripts/data/localplt-s390-linux-gnu.data: New file.
13243 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13244
5e908464
JJ
132452010-10-13 Jakub Jelinek <jakub@redhat.com>
13246
13247 [BZ #3268]
13248 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13249 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13250 instead of dbl-64.
13251 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13252 inlines.
13253 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13255 if one of x and y is very large and the other is subnormal.
13256 * sysdeps/s390/fpu/s_fmaf.c: New file.
13257 * sysdeps/s390/fpu/s_fma.c: New file.
13258 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13259 * sysdeps/powerpc/fpu/s_fma.S: New file.
13260 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13261 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13262 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13263
132642010-10-12 Jakub Jelinek <jakub@redhat.com>
13265
13266 [BZ #3268]
13267 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13268 fma tests.
13269 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13270 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13271 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13272 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13273 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13274 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13276
b833d51f
UD
132772010-10-12 Ulrich Drepper <drepper@redhat.com>
13278
13279 [BZ #12078]
13280 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13281 * posix/bug-regex31.input: Add test case.
13282
1751705d
UD
132832010-10-11 Ulrich Drepper <drepper@gmail.com>
13284
e9b9cbf5
UD
13285 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13286 * posix/bug-regex31.input: New file.
13287
13288 [BZ #12078]
13289 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13290 (parse_sub_exp): Fix last change, use postorder.
13291
ef06edbe
UD
13292 * posix/bug-regex31.c: New file.
13293 * posix/Makefile: Add rules to build and run bug-regex31.
13294
a129c80d
UD
13295 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13296
13297 [BZ #12078]
13298 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13299
b76b818e
UD
13300 [BZ #12108]
13301 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13302 to have entries in sys_siglist.
13303
1751705d
UD
13304 [BZ #12093]
13305 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13306 be NULL.
13307
9ff8d36f
JJ
133082010-10-07 Jakub Jelinek <jakub@redhat.com>
13309
13310 [BZ #3268]
13311 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13312 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13313 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13314 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13315 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13316 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13317 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13318 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13319 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13320 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13321 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13322 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13323 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13324 * math/ftestexcept.c (fetestexcept): Likewise.
13325 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13326 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13327 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13328 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13329 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13330 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13331 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13332
af325969
UD
133332010-10-11 Ulrich Drepper <drepper@gmail.com>
13334
c579b202 13335 [BZ #12107]
af325969
UD
13336 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13337 newline.
13338
67a67b95
UD
133392010-10-06 Ulrich Drepper <drepper@gmail.com>
13340
13341 * string/bug-strstr1.c: New file.
13342 * string/Makefile: Add rules to build and run bug-strstr1.
13343
5fb308bc
EB
133442010-10-05 Eric Blake <eblake@redhat.com>
13345
13346 [BZ #12092]
13347 * string/str-two-way.h (two_way_long_needle): Always clear memory
13348 when skipping input due to the shift table.
13349
45db99c7
UD
133502010-10-03 Ulrich Drepper <drepper@gmail.com>
13351
3b111893
UD
13352 [BZ #12005]
13353 * malloc/mcheck.c: Handle large requests.
13354
45db99c7
UD
13355 [BZ #12077]
13356 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13357 for strncmp and strncasecmp.
13358 * string/stratcliff.c: Add tests for strcmp and strncmp.
13359 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13360
cf7a1eb8
NI
133612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13362
13363 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13364 __set_fpscr.
13365
6484ba5e
AJ
133662010-09-30 Andreas Jaeger <aj@suse.de>
13367
13368 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13369 (CGROUP_SUPER_MAGIC): Define.
13370 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13371 Handle btrfs and cgroup file systems.
13372 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13373 Likewise.
13374
91c42559
LM
133752010-09-27 Luis Machado <luisgpm@br.ibm.com>
13376
13377 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13378 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13379
87a97932
AK
133802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13381
13382 [BZ #12067]
13383 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13384 trying to locate the ELF header.
13385
c21cc9bc
AS
133862010-09-27 Andreas Schwab <schwab@redhat.com>
13387
13388 [BZ #11611]
13389 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13390 Mask out sign-bit copies when constructing f_fsid.
13391
315970f6
PB
133922010-09-24 Petr Baudis <pasky@suse.cz>
13393
13394 * debug/stack_chk_fail_local.c: Add missing licence exception.
13395 * debug/warning-nop.c: Likewise.
13396
1ac7a2c7
JM
133972010-09-15 Joseph Myers <joseph@codesourcery.com>
13398
13399 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13400 implementing getdents64 using getdents syscall, set d_type if
13401 __ASSUME_GETDENTS32_D_TYPE.
13402
56801c50
AS
134032010-09-16 Andreas Schwab <schwab@redhat.com>
13404
13405 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13406 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13407
dda51327
UD
134082010-09-21 Ulrich Drepper <drepper@redhat.com>
13409
13410 [BZ #12037]
13411 * posix/unistd.h: Undo change of feature selection for ftruncate from
13412 2010-01-11.
13413
8ffcee4a
UD
134142010-09-20 Ulrich Drepper <drepper@redhat.com>
13415
a545ecd9 13416 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13417 detection.
13418
e24f0a8b
AS
134192010-09-20 Andreas Schwab <schwab@redhat.com>
13420
13421 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13422 fanotify_mark.
13423 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13424
7291c56f
AS
134252010-09-14 Andreas Schwab <schwab@redhat.com>
13426
13427 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13428 variables after CHECK_SP call.
13429 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13430
bc5fb037
AS
134312010-09-13 Andreas Schwab <schwab@redhat.com>
13432 Ulrich Drepper <drepper@redhat.com>
13433
13434 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13435 re-relocationg ld.so.
13436 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13437 _dl_init_paths call.
13438 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13439 here anymore.
13440
e66e7419
UD
134412010-09-14 Ulrich Drepper <drepper@redhat.com>
13442
13443 * resolv/res_init.c (__res_vinit): Count the default server we added.
13444
c044aa75
CLT
134452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13446 Ulrich Drepper <drepper@redhat.com>
13447
13448 [BZ #11968]
13449 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13450 (____longjmp_chk): Use %ebx for saving value across system call.
13451 Add unwind info.
13452
32cf4069
AS
134532010-09-06 Andreas Schwab <schwab@redhat.com>
13454
13455 * manual/Makefile: Don't mix pattern rules with normal rules.
13456
817328ee
AS
134572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13458
13459 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13460 operation.
13461 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13462 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13463 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13464 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13465 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13466 Likewise.
13467
29fddf61
UD
134682010-09-04 Ulrich Drepper <drepper@redhat.com>
13469
13470 [BZ #11979]
13471 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13472 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13473
0959ffc9
UD
134742010-09-02 Ulrich Drepper <drepper@redhat.com>
13475
13476 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13477 * sysdeps/x86_64/addmul_1.S: Likewise.
13478 * sysdeps/x86_64/lshift.S: Likewise.
13479 * sysdeps/x86_64/mul_1.S: Likewise.
13480 * sysdeps/x86_64/rshift.S: Likewise.
13481 * sysdeps/x86_64/sub_n.S: Likewise.
13482 * sysdeps/x86_64/submul_1.S: Likewise.
13483
ece29840
ST
134842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13485
0959ffc9
UD
13486 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13487 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13488 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13489 * bits/sched.h [__need_schedparam]
ece29840 13490 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13491 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13492 (__defined_schedparam): Define to 1.
ece29840
ST
13493 (__sched_param): New structure, identical to sched_param.
13494 (__need_schedparam): Undefine.
13495
e53a31fe
MF
134962010-08-31 Mike Frysinger <vapier@gentoo.org>
13497
fdc0c10d
MF
13498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13499 (epoll_create1): Declare.
13500
e53a31fe
MF
13501 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13502
a726d796
AS
135032010-08-31 Andreas Schwab <schwab@redhat.com>
13504
13505 [BZ #7066]
13506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13507 shifting retval into place.
13508
2f3e3dc7
UD
135092010-09-01 Ulrich Drepper <drepper@redhat.com>
13510
f2933da9
UD
13511 * nis/rpcsvc/nis.h: Update copyright notice.
13512 * nis/rpcsvc/nis.x: Likewise.
13513 * nis/rpcsvc/nis_callback.h: Likewise.
13514 * nis/rpcsvc/nis_callback.x: Likewise.
13515 * nis/rpcsvc/nis_object.x: Likewise.
13516 * nis/rpcsvc/nis_tags.h: Likewise.
13517 * nis/rpcsvc/yp.h: Likewise.
13518 * nis/rpcsvc/yp.x: Likewise.
13519 * nis/rpcsvc/ypupd.h: Likewise.
13520 * nis/yp_xdr.c: Likewise.
13521 * nis/ypupdate_xdr.c: Likewise.
13522
2f3e3dc7
UD
13523 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13524 mainly the body of pmap_getport. Add parameters to specify timeouts.
13525 (pmap_getport): Use __libc_rpc_getport.
13526 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13527 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13528 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13529
f3dcc2f9
AS
135302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13531
13532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13533 fanotify_mark.
13534
6d34eb5b
RM
135352010-08-27 Roland McGrath <roland@redhat.com>
13536
13537 * sysdeps/i386/i686/multiarch/Makefile
13538 (CFLAGS-varshift.c): New variable.
13539
9ea3de11
UD
135402010-08-27 Ulrich Drepper <drepper@redhat.com>
13541
c96d23fc
UD
13542 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13543 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13544
9ea3de11
UD
13545 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13546
13547 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13548
623aac7f
L
135492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13550
13551 * sysdeps/x86_64/strlen.S: Unroll the loop.
13552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13553 strlen-sse2 strlen-sse2-bsf.
13554 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13555 __strlen_no_bsf if bit_Slow_BSF is set.
13556 (__strlen_sse42): Removed.
13557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13558 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13559
8b2b7715
RM
135602010-08-25 Roland McGrath <roland@redhat.com>
13561
13562 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13563 * sysdeps/x86_64/multiarch/varshift.c: New file.
13564 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13565 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13566 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13567 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13568
e73015f2
L
135692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13570
13571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13572 strlen-sse2 strlen-sse2-bsf.
13573 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13574 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13575 (__strlen_sse2): Removed.
13576 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13577 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13579 bit_Slow_BSF for Atom.
13580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13581 (index_Slow_BSF): Define.
13582 (HAS_SLOW_BSF): Define.
13583
df24a73e
UD
135842010-08-25 Ulrich Drepper <drepper@redhat.com>
13585
13586 [BZ #10851]
13587 * resolv/res_init.c (__res_vinit): When no server address at all
13588 is given default to loopback.
13589
f2ac4868
RM
135902010-08-24 Roland McGrath <roland@redhat.com>
13591
09055553
RM
13592 * configure.in: Remove config-name.h generation.
13593 * configure: Regenerated.
13594 * config-name.in: File removed.
13595 * scripts/config-uname.sh: New file.
13596 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13597 ($(objdir)config-name.h): New target.
13598
f2ac4868
RM
13599 * sunrpc/rpc_parse.h: Avoid nested comment.
13600
73f27d5e
RH
136012010-08-24 Richard Henderson <rth@redhat.com>
13602 Ulrich Drepper <drepper@redhat.com>
13603 H.J. Lu <hongjiu.lu@intel.com>
13604
13605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13607 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13608 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13609 _mm_alignr_epi8 with _mm_loadu_si128.
13610 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13611 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13612 (__m128i_shift_right): Removed.
13613 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13614 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13615 * sysdeps/x86_64/multiarch/varshift.h: New file.
13616 * sysdeps/x86_64/multiarch/varshift.S: New file.
13617
84b9230c
MF
136182010-08-21 Mike Frysinger <vapier@gentoo.org>
13619
13620 * configure.in: Move assembler checks to before sysdep dir checking.
13621
9bbd0ddc
PB
136222010-08-20 Petr Baudis <pasky@suse.cz>
13623
13624 * LICENSES: Sync the sunrpc license.
13625
9da4bb31
UD
136262010-08-19 Ulrich Drepper <drepper@redhat.com>
13627
a7ab6ec8
UD
13628 * sunrpc/auth_des.c: Update copyright notice once again.
13629 * sunrpc/auth_none.c: Likewise.
13630 * sunrpc/auth_unix.c: Likewise.
13631 * sunrpc/authdes_prot.c: Likewise.
13632 * sunrpc/authuxprot.c: Likewise.
13633 * sunrpc/bindrsvprt.c: Likewise.
13634 * sunrpc/clnt_gen.c: Likewise.
13635 * sunrpc/clnt_perr.c: Likewise.
13636 * sunrpc/clnt_raw.c: Likewise.
13637 * sunrpc/clnt_simp.c: Likewise.
13638 * sunrpc/clnt_tcp.c: Likewise.
13639 * sunrpc/clnt_udp.c: Likewise.
13640 * sunrpc/clnt_unix.c: Likewise.
13641 * sunrpc/des_crypt.c: Likewise.
13642 * sunrpc/des_soft.c: Likewise.
13643 * sunrpc/get_myaddr.c: Likewise.
13644 * sunrpc/getrpcport.c: Likewise.
13645 * sunrpc/key_call.c: Likewise.
13646 * sunrpc/key_prot.c: Likewise.
13647 * sunrpc/openchild.c: Likewise.
13648 * sunrpc/pm_getmaps.c: Likewise.
13649 * sunrpc/pm_getport.c: Likewise.
13650 * sunrpc/pmap_clnt.c: Likewise.
13651 * sunrpc/pmap_prot.c: Likewise.
13652 * sunrpc/pmap_prot2.c: Likewise.
13653 * sunrpc/pmap_rmt.c: Likewise.
13654 * sunrpc/rpc/auth.h: Likewise.
13655 * sunrpc/rpc/auth_unix.h: Likewise.
13656 * sunrpc/rpc/clnt.h: Likewise.
13657 * sunrpc/rpc/des_crypt.h: Likewise.
13658 * sunrpc/rpc/key_prot.h: Likewise.
13659 * sunrpc/rpc/netdb.h: Likewise.
13660 * sunrpc/rpc/pmap_clnt.h: Likewise.
13661 * sunrpc/rpc/pmap_prot.h: Likewise.
13662 * sunrpc/rpc/pmap_rmt.h: Likewise.
13663 * sunrpc/rpc/rpc.h: Likewise.
13664 * sunrpc/rpc/rpc_des.h: Likewise.
13665 * sunrpc/rpc/rpc_msg.h: Likewise.
13666 * sunrpc/rpc/svc.h: Likewise.
13667 * sunrpc/rpc/svc_auth.h: Likewise.
13668 * sunrpc/rpc/types.h: Likewise.
13669 * sunrpc/rpc/xdr.h: Likewise.
13670 * sunrpc/rpc_clntout.c: Likewise.
13671 * sunrpc/rpc_cmsg.c: Likewise.
13672 * sunrpc/rpc_common.c: Likewise.
13673 * sunrpc/rpc_cout.c: Likewise.
13674 * sunrpc/rpc_dtable.c: Likewise.
13675 * sunrpc/rpc_hout.c: Likewise.
13676 * sunrpc/rpc_main.c: Likewise.
13677 * sunrpc/rpc_parse.c: Likewise.
13678 * sunrpc/rpc_parse.h: Likewise.
13679 * sunrpc/rpc_prot.c: Likewise.
13680 * sunrpc/rpc_sample.c: Likewise.
13681 * sunrpc/rpc_scan.c: Likewise.
13682 * sunrpc/rpc_scan.h: Likewise.
13683 * sunrpc/rpc_svcout.c: Likewise.
13684 * sunrpc/rpc_tblout.c: Likewise.
13685 * sunrpc/rpc_util.c: Likewise.
13686 * sunrpc/rpc_util.h: Likewise.
13687 * sunrpc/rpcinfo.c: Likewise.
13688 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13689 * sunrpc/rpcsvc/key_prot.x: Likewise.
13690 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13691 * sunrpc/rpcsvc/mount.x: Likewise.
13692 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13693 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13694 * sunrpc/rpcsvc/rex.x: Likewise.
13695 * sunrpc/rpcsvc/rstat.x: Likewise.
13696 * sunrpc/rpcsvc/rusers.x: Likewise.
13697 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13698 * sunrpc/rpcsvc/spray.x: Likewise.
13699 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13700 * sunrpc/rtime.c: Likewise.
13701 * sunrpc/svc.c: Likewise.
13702 * sunrpc/svc_auth.c: Likewise.
13703 * sunrpc/svc_authux.c: Likewise.
13704 * sunrpc/svc_raw.c: Likewise.
13705 * sunrpc/svc_run.c: Likewise.
13706 * sunrpc/svc_simple.c: Likewise.
13707 * sunrpc/svc_tcp.c: Likewise.
13708 * sunrpc/svc_udp.c: Likewise.
13709 * sunrpc/svc_unix.c: Likewise.
13710 * sunrpc/svcauth_des.c: Likewise.
13711 * sunrpc/xcrypt.c: Likewise.
13712 * sunrpc/xdr.c: Likewise.
13713 * sunrpc/xdr_array.c: Likewise.
13714 * sunrpc/xdr_float.c: Likewise.
13715 * sunrpc/xdr_mem.c: Likewise.
13716 * sunrpc/xdr_rec.c: Likewise.
13717 * sunrpc/xdr_ref.c: Likewise.
13718 * sunrpc/xdr_sizeof.c: Likewise.
13719 * sunrpc/xdr_stdio.c: Likewise.
13720
9da4bb31
UD
13721 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13722 handling.
13723
bdaa77bc
AS
137242010-08-19 Andreas Schwab <schwab@redhat.com>
13725
13726 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13727
fe2f79db
LM
137282010-08-19 Luis Machado <luisgpm@br.ibm.com>
13729
13730 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13731 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13732 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13733 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13734 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13735 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13736 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13737 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13738 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13739 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13740 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13741 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13742 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13743 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13744
b9b42ee0
AB
137452010-07-26 Anton Blanchard <anton@samba.org>
13746
13747 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13748 * malloc/arena.c (heap_trim): Likewise.
13749
1c06ba31
UD
137502010-08-16 Ulrich Drepper <drepper@redhat.com>
13751
13752 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13753 here. Not...
13754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13755 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13756
f8392f40
L
137572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13758
13759 * sysdeps/i386/elf/Makefile: New file.
13760
3162f12e
AS
137612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13762
13763 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13764 from fanotify_init.
13765 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13766 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13767
28c90b2c
UD
137682010-08-15 Ulrich Drepper <drepper@redhat.com>
13769
13770 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13771 of strncasecmp_l.
1feccb6c 13772 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13773
ca6bb004
UD
137742010-08-14 Ulrich Drepper <drepper@redhat.com>
13775
e9f82e0d
UD
13776 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13777 strncase_l-nonascii.
13778 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13779 Add strncase_l-ssse3.
13780 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13781 * sysdeps/x86_64/strcmp.S: Likewise.
13782 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13783 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13784 * sysdeps/x86_64/strncase.S: New file.
13785 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13786 * sysdeps/x86_64/strncase_l.S: New file.
13787 * string/Makefile (strop-tests): Add strncasecmp.
13788 * string/test-strncasecmp.c: New file.
13789
13790 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13791 warning.
13792
ca6bb004
UD
13793 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13794 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13795
052fa7b3
AS
137962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13797
13798 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13799
962dba78
UD
138002010-08-12 Ulrich Drepper <drepper@redhat.com>
13801
13802 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13803 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13804 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13805
bebff237
AM
138062010-05-01 Alan Modra <amodra@gmail.com>
13807
13808 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13809 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13810 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13811 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13812 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13813 tidying. Don't tail-call __sigjmp_save for static lib.
13814 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13815 save location.
13816 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13817 (CALL_MCOUNT): Add eh info, and nop after bl.
13818 (TAIL_CALL_SYSCALL_ERROR): New macro.
13819 (PSEUDO_RET): Use it.
13820 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13821 Correct save location of integer regs and cr.
13822 (_dl_profile_resolve): Correct cr save location. Delete nops
13823 after bl when SHARED. Reduce cfi size a little by better
13824 placement of cfi directives.
13825 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13826 make a stack frame. Instead use parm save area as a temp.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13828 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13830 Don't make a stack frame for parent, use parm save area.
13831 Increase child stack frame to 112 bytes. Don't save unused reg,
13832 and adjust reg usage. Set up cfi on error recovery and
13833 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13835 (__makecontext): Add dummy nop after jump to exit.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13837 Use correct parm save area and cr save, reduce stack frame.
13838 Correct cfi for possible PSEUDO_RET frame setup.
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13840 Branch to local label emitted by PSEUDO_RET rather than
13841 __syscall_error.
13842
02637374
AS
138432010-08-12 Andreas Schwab <schwab@redhat.com>
13844
13845 [BZ #11904]
13846 * locale/programs/locale.c (print_assignment): New function.
13847 (show_locale_vars): Use it.
13848
c3e2f19b
UD
138492010-08-11 Ulrich Drepper <drepper@redhat.com>
13850
3cdaa6ad
UD
13851 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13852 field.
13853 (struct statfs64): Likewise.
13854 (_STATFS_F_FLAGS): Define.
13855 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13856 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13857 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13858 (ST_VALID): Define locally.
13859 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13860 __statvfs_getflags, use the provided value.
13861 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13862 __ASSUME_STATFS_F_FLAGS.
13863
754f7da3
UD
13864 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13865
10b3bedc
UD
13866 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13867 Add sys/fanotify.h.
13868 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13869 fanotify_mask for GLIBC_2.13.
13870 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13871 fanotify_init and fanotify_mark.
13872 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13873 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13874
c08fb0d7
UD
13875 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13876 Add prlimit.
13877 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13878 prlimit64 for GLIBC_2.13.
13879 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13880 prlimit64.
13881 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13882 syscall.
13883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13884 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13885 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13886 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13888 add prlimit alias.
13889 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13890
15bac72b
UD
13891 [BZ #11903]
13892 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13893 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13894
c3e2f19b
UD
13895 * nss/Makefile: Add rules to build and run tst-nss-test1.
13896 * shlib-versions: Add entry for libnss_test1.
13897 * nss/nss_test1.c: New file.
13898 * nss/tst-nss-test1.c: New file.
13899
13900 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13901 (__nss_configure_lookup): Set appropriate entry in
13902 __nss_configure_lookup to true.
13903 * nss/nsswitch.h: Define enum with indeces of databases in
13904 databases and __nss_database_custom arrays. Declare
13905 __nss_database_custom.
13906 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13907 to avoid using nscd when custom rules are installed.
13908 * nss/getXXbyYY_r.c: Likewise.
13909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13910
13911 * nss/nss_files/files-parse.c: Whitespace fixes.
13912
f15ce4d8
UD
139132010-08-09 Ulrich Drepper <drepper@redhat.com>
13914
13915 [BZ #11883]
13916 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13917 * posix/fnmatch_loop.c: Likewise.
13918
d22e4cc9
AK
139192010-07-17 Andi Kleen <ak@linux.intel.com>
13920
13921 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13922 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13923 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13924 * Versions.def [GLIBC_2.13]: Add.
13925
805bc17d
UD
139262010-08-06 Ulrich Drepper <drepper@redhat.com>
13927
13928 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13929 Also fail if tpwd after pwuid call is NULL.
13930
5a42321d
ST
139312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13932
13933 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13934 when converting to ms.
13935
fd3ebeda
ST
139362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13937
13938 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13939 EOPNOTSUPP errors with ENOTTY.
13940 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13941 EOPNOTSUPP errors with ENOTTY.
13942
73507d3a
UD
139432010-07-31 Ulrich Drepper <drepper@redhat.com>
13944
13945 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13946 Add strcasecmp_l-ssse3.
13947 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13948 strcasecmp.
13949 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13950 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13951 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13952
fe36dd02
UD
139532010-07-30 Ulrich Drepper <drepper@redhat.com>
13954
66f6765a
UD
13955 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13956
42e08a54
UD
13957 * string/Makefile (strop-tests): Add strcasecmp.
13958 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13959 strcasecmp_l-nonascii.
13960 (gen-as-const-headers): Add locale-defines.sym.
13961 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13962 * sysdeps/x86_64/strcasecmp.S: New file.
13963 * sysdeps/x86_64/strcasecmp_l.S: New file.
13964 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13965 * sysdeps/x86_64/locale-defines.sym: New file.
13966 * string/test-strcasecmp.c: New file.
13967
fe36dd02
UD
13968 * string/test-strcasestr.c: Test both ends of the range of characters.
13969 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13970
48cbc0d6
RM
139712010-07-29 Roland McGrath <roland@redhat.com>
13972
76e6d6bc 13973 [BZ #11856]
48cbc0d6
RM
13974 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13975
880113d9
UD
139762010-07-27 Ulrich Drepper <drepper@redhat.com>
13977
13978 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13979 for ld.so.
13980
deb9cabb
AS
139812010-07-27 Andreas Schwab <schwab@redhat.com>
13982
13983 * manual/memory.texi (Malloc Tunable Parameters): Document
13984 M_PERTURB.
13985
1c7570ff
RM
139862010-07-26 Roland McGrath <roland@redhat.com>
13987
13988 [BZ #11840]
13989 * configure.in (-fgnu89-inline check): Set and substitute
13990 gnu89_inline, not libc_cv_gnu89_inline.
13991 * configure: Regenerated.
13992 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13993
24fb0f88
UD
139942010-07-26 Ulrich Drepper <drepper@redhat.com>
13995
13996 * string/test-strnlen.c: New file.
13997 * string/Makefile (strop-tests): Add strnlen.
13998 * string/tester.c (test_strnlen): Add a few more test cases.
13999 * string/tst-strlen.c: Better error reporting.
14000
14001 * sysdeps/x86_64/strnlen.S: New file.
14002
8e96b93a
UD
140032010-07-24 Ulrich Drepper <drepper@redhat.com>
14004
14005 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14006 lower-latency instructions.
14007
dbc676d4
UD
140082010-07-23 Ulrich Drepper <drepper@redhat.com>
14009
14010 * string/test-strcasestr.c: New file.
14011 * string/test-strstr.c: New file.
14012 * string/Makefile (strop-tests): Add strstr and strcasestr.
14013 * string/str-two-way.h: Don't undefine MAX.
14014 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14015
f6a31e0e
AS
140162010-07-21 Andreas Schwab <schwab@redhat.com>
14017
14018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14019 strcasestr-nonascii.
14020 (CFLAGS-strcasestr-nonascii.c): Define.
14021 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14022 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14023 Remove unused attribute.
14024
5dbc3b6c
RM
140252010-07-20 Roland McGrath <roland@redhat.com>
14026
14027 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14028 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14029 ld.so.cache was broken. With it, there is no way to disable dsocaps
14030 like LD_HWCAP_MASK can disable hwcaps.
14031
23d101d8
EPM
140322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14033
14034 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14035
cc9f2e47
UD
140362010-07-16 Ulrich Drepper <drepper@redhat.com>
14037
14038 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14039 call in strcasestr.
14040 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14041 __strcasestr_sse42_nonascii.
14042 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14043 strcasestr-nonascii.c.
14044 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14045
77c1b069
LM
140462010-06-15 Luis Machado <luisgpm@br.ibm.com>
14047
14048 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14049 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14050 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14051 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14052
440566c3
UD
140532010-07-09 Ulrich Drepper <drepper@redhat.com>
14054
14055 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14056 fcntl.
14057
5be9d05d
AS
140582010-07-06 Andreas Schwab <schwab@redhat.com>
14059
c30b7ee2 14060 [BZ #11577]
5be9d05d
AS
14061 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14062 dl_signal_cerror.
14063
8a492a67
UD
140642010-07-06 Ulrich Drepper <drepper@redhat.com>
14065
14066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14067 _PC_PIPE_BUF using F_GETPIPE_SZ.
14068
713df3d5
RM
140692010-07-05 Roland McGrath <roland@redhat.com>
14070
14071 * manual/arith.texi (Rounding Functions): Fix rint description
14072 implicit in round description.
14073
702e8f14
UD
140742010-07-02 Ulrich Drepper <drepper@redhat.com>
14075
14076 * elf/Makefile: Fix linking for a few tests to make recent linker
14077 happy.
14078
52ed8be9
AS
140792010-06-30 Andreas Schwab <schwab@redhat.com>
14080
14081 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14082 $(common-objpfx)libc_nonshared.a.
14083
f47c9a11
LM
140842010-06-21 Luis Machado <luisgpm@br.ibm.com>
14085
14086 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14087 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14088 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14089 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14090 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14091 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14092 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14093 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14108 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14109 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14110 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14111 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14112 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14113 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14114 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14115 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14116 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14117 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14118 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14119 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14134
6fb8cbcb
L
141352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14136
14137 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14138 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14139 * string/memmove.c (memmove): Renamed to ...
14140 (MEMMOVE): ...this. Default to memmove.
14141 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14142 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14143 (END_CHK): Define.
14144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14145 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14146 mempcpy-ssse3-back memmove-ssse3-back.
14147 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14148 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14149 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14150 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14151 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14152 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14153 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14154 * sysdeps/x86_64/multiarch/memmove.c: New file.
14155 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14156 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14157 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14158 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14159 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14160 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14161 Define.
14162 (index_Fast_Copy_Backward): Define.
14163 (HAS_ARCH_FEATURE): Define.
14164 (HAS_FAST_REP_STRING): Define.
14165 (HAS_FAST_COPY_BACKWARD): Define.
14166
4e733bac 141672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14168
14169 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14170 Restore proper fallback handling.
14171
63c4ed22
UD
141722010-06-19 Ulrich Drepper <drepper@redhat.com>
14173
ac2b484c
UD
14174 [BZ #11701]
14175 * posix/group_member.c (__group_member): Correct checking loop.
14176
63c4ed22
UD
14177 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14178 OOM in getpwuid_r correctly. Return error number when the caller
14179 should return, otherwise -1.
14180 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14181 call returning > 0 value.
14182 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14183
765ade4b
AS
141842010-06-07 Andreas Schwab <schwab@redhat.com>
14185
14186 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14187 libc_nonshared.a from targets in modules-names.
14188
80da2e09
KS
141892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14190
14191 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14192 requires it.
14193
158db122
LM
141942010-06-10 Luis Machado <luisgpm@br.ibm.com>
14195
14196 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14197 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14198 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14199 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14200
caa78cf8
AS
142012010-06-02 Andreas Schwab <schwab@redhat.com>
14202
14203 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14204
b2ef2c01
UD
142052010-06-14 Ulrich Drepper <drepper@redhat.com>
14206
14207 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14208 and F_GETPIPE_SZ.
14209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14211 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14213 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14214 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14215
fbd643b6
RM
142162010-06-14 Roland McGrath <roland@redhat.com>
14217
14218 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14219
f32f2869
JJ
142202010-06-07 Jakub Jelinek <jakub@redhat.com>
14221
14222 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14223 __REDIRECT followed by __THROW.
14224 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14225 * posix/getopt.h (getopt): Likewise.
14226
2a50c078
EPM
142272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14228
14229 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14230 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14231 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14232 in AT_FLAGS.
14233 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14234 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14235
eb5ad2eb
LM
142362010-05-28 Luis Machado <luisgpm@br.ibm.com>
14237
14238 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14239
3c88fe1e
L
142402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14241
14242 [BZ #11640]
14243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14244 Properly check family and model.
14245
d2f73151
TY
142462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14247
14248 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14249
ebd2e13d
LM
142502010-05-24 Luis Machado <luisgpm@br.ibm.com>
14251
14252 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14253
b32b8b45
UD
142542010-05-21 Ulrich Drepper <drepper@redhat.com>
14255
14256 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14257 symbol reference.
14258
9acbe24d
AS
142592010-05-19 Andreas Schwab <schwab@redhat.com>
14260
14261 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14262 symbol reference.
14263
f0ccf6ea
AS
142642010-05-21 Andreas Schwab <schwab@redhat.com>
14265
3d04ff3a
AS
14266 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14267 and internal_recvmmsg.
14268 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14269 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14270 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14271 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14272
f0ccf6ea
AS
14273 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14274 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14275 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14276
5b08ac57
AS
142772010-05-20 Andreas Schwab <schwab@redhat.com>
14278
14279 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14280
4828935d
LM
142812010-05-17 Luis Machado <luisgpm@br.ibm.com>
14282
14283 POWER7 optimizations.
14284 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14285 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14286
373d545e
UD
142872010-05-19 Ulrich Drepper <drepper@redhat.com>
14288
14289 * version.h: Update for 2.13 development version.
14290
21a2b1ae
AS
142912010-05-12 Andrew Stubbs <ams@codesourcery.com>
14292
14293 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14294 exceptions. Return 0.
14295
3f7dcb2b
RM
142962010-05-07 Roland McGrath <roland@redhat.com>
14297
14298 * elf/ldconfig.c (main): Add a const.
14299
5f24d53a 143002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14301
a160f8d8
UD
14302 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14303 (args_options): Add no-idn option.
14304 (ahosts_keys_int): Add idn_flags to ai_flags.
14305 (parse_option): Handle 'i' option to clear idn_flags.
14306
5f24d53a
UD
14307 * malloc/malloc.c (_int_free): Possible race in the most recently
14308 added check. Only act on the data if no current modification
14309 happened.
265bb1ce
UD
14310
14311See ChangeLog.17 for earlier changes.