]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix indentation in aicache.c
[glibc.git] / ChangeLog
CommitLineData
e0a69f5c
SP
12013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * nscd/aicache.c (addhstaiX): Fix indentation.
4
8c12f01d
MF
52013-08-25 Mike Frysinger <vapier@gentoo.org>
6
7 * configure.ac: Quote $build_pt_chown test.
8 * configure: Regenerated.
9
8fe89494
JM
102013-08-23 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #15532]
13 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14 * math/s_cexpf.c (__cexpf): Likewise.
15 * math/s_cexpl.c (__cexpl): Likewise.
16 * math/libm-test.inc (cexp_test_data): Correct expected return
17 value for NaN + i0. Add another test.
18
75b181d6
DM
192013-08-22 David S. Miller <davem@davemloft.net>
20
21 * po/ca.po: Update Catalan translation from translation project.
936241e4 22 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23
acd06bb1
JM
242013-08-21 Joseph Myers <joseph@codesourcery.com>
25
26 [BZ #15797]
27 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28 is infinite, not alongside NaN test.
29 * math/s_fdimf.c (__fdimf): Likewise.
30 * math/s_fdiml.c (__fdiml): Likewise.
31 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
32 errno is unchanged.
33
c0c3f78a
OB
342013-08-21 Ondřej Bílka <neleai@seznam.cz>
35
36 * argp/argp-help.c: Fix typos.
37 * crypt/speeds.c: Likewise.
38 * csu/check_fds.c: Likewise.
39 * elf/dl-load.c: Likewise.
40 * elf/dl-open.c: Likewise.
41 * elf/reldep3.c: Likewise.
42 * elf/reldep.c: Likewise.
43 * elf/sprof.c: Likewise.
44 * iconv/iconv_charmap.c: Likewise.
45 * iconv/skeleton.c: Likewise.
46 * iconv/strtab.c: Likewise.
47 * io/lockf64.c: Likewise.
48 * libio/libioP.h: Likewise.
49 * resolv/gai_notify.c: Likewise.
50 * resolv/ns_name.c: Likewise.
51 * resolv/ns_samedomain.c: Likewise.
52 * resolv/res_send.c: Likewise.
53 * stdlib/random.c: Likewise.
54 * sunrpc/rpc/xdr.h: Likewise.
55 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63 * sysdeps/mach/hurd/check_fds.c: Likewise.
64 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
66 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
67 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
68 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
69 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
70 * sysdeps/pthread/aio_notify.c: Likewise.
71 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
72 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
73 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
74 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
76
46ed1038
LD
772013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
78
79 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
80 version if bit_Slow_SSE4_2 is set.
81 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
83
d400dcac
AZ
842013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85
86 [BZ #15867]
87 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
88 trampoline stack frame information.
89 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
90 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
91 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
92 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
93 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
94 * sysdeps/unix/sysv/linux/powerpc/init-first.c
95 (_libc_vdso_platform_setup): Initialize the signal trampolines.
96 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
97 sa_flags value.
98 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
99 interrupting a syscall and set with option SA_SIGINFO.
100
42c8fdd8
JM
1012013-08-20 Joseph Myers <joseph@codesourcery.com>
102
c980f2f4
JM
103 [BZ #15531]
104 * math/s_cproj.c (__cproj): Only return an infinity if one part of
105 argument is infinite.
106 * math/s_cprojf.c (__cprojf): Likewise.
107 * math/s_cprojl.c (__cprojl): Likewise.
108 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
109 * math/libm-test.inc (cproj_test_data): Add more tests.
110
0716c4fc
JM
111 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
112
42c8fdd8
JM
113 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
114 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
115 size. Use __ffs to determine corresponding shift.
116
b31469d0
JM
1172013-08-20 Joseph Myers <joseph@codesourcery.com>
118 Roland McGrath <roland@hack.frob.com>
119
120 * Makefile (INSTALL): Remove trailing blank lines from output of
121 makeinfo.
122
4e39af6e
AK
1232013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
124
125 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
126 Align 32 bit compat elf_greg to 8 bytes.
127
f315524e
AA
1282013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
129
130 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
131
1326ba1a
SP
1322013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
133
134 * string/strcoll_l.c (coll_seq): New structure.
135 (get_next_seq_cached): New function.
136 (get_next_seq): New function.
137 (do_compare): New function.
138 (STRCOLL): Use GNU style definition. Simplify implementation
139 by using get_next_seq, get_next_seq_cached and do_compare.
140
91ce4085
FW
1412013-08-16 Florian Weimer <fweimer@redhat.com>
142
143 [BZ #14699]
144 CVE-2013-4237
145 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
146 member.
147 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
148 member.
149 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
150 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
151 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
152 conditional.
153 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
154 GETDENTS_64BIT_ALIGNED.
155 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
156 * manual/filesys.texi (Reading/Closing Directory): Document
157 ENAMETOOLONG return value of readdir_r. Recommend readdir more
158 strongly.
159 * manual/conf.texi (Limits for Files): Add portability note to
160 NAME_MAX, PATH_MAX.
161 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
162
ca0a6bc4
AS
1632013-08-13 Andreas Schwab <schwab@suse.de>
164
165 [BZ #15749]
166 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
167 of fabs.
168 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
169 LDBL_MAX_EXP >= 16384]: Add tests for it.
170
6c1fd795
DM
1712013-08-12 David S. Miller <davem@davemloft.net>
172
173 * version.h (RELEASE): Set to "development".
174 (VERSION): Set to "2.18.90".
175 * NEWS: Add 2.19 section.
176
31ad488d
DM
1772013-08-03 David S. Miller <davem@davemloft.net>
178
179 * po/ko.po: Update Korean translation from translation project.
180
db24e684
DM
1812013-08-01 David S. Miller <davem@davemloft.net>
182
183 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
184 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
185 Bilka.
186
f723285b
DM
1872013-07-30 David S. Miller <davem@davemloft.net>
188
189 * po/fr.po: Update French translation from translation project.
190
3cbc52db
DM
1912013-07-28 David S. Miller <davem@davemloft.net>
192
30bbc0cc
DM
193 * po/cs.po: Update Czech translation from translation project.
194
3cbc52db
DM
195 * po/sv.po: Update Swedish translation from translation project.
196
d492e6d0
DM
1972013-07-27 David S. Miller <davem@davemloft.net>
198
f1a7f492
DM
199 * po/eo.po: Update Esperanto translation from translation project.
200
90e62a4a
DM
201 * po/vi.po: Update Vietnamese translation from translation project.
202
d492e6d0
DM
203 * po/de.po: Update German translation from translation project.
204
d4baa62d
DM
2052013-07-26 David S. Miller <davem@davemloft.net>
206
641aa7b4
DM
207 * po/bg.po: Update Bulgarian translation from translation project.
208
d4baa62d
DM
209 * po/nl.po: Update Dutch translation from translation project.
210 * po/pl.po: Update Polish translation from translation project.
211 * po/ru.po: Update Russian translation from translation project.
212
61a9dcb9
DM
2132013-07-24 David S. Miller <davem@davemloft.net>
214
215 * po/libc.pot: Update.
216
7b1f8b58
AZ
2172013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
220 variable page size.
221 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
222 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
223 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
224
a8fc7a03
AK
2252013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
226
227 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
228
e4608715
CD
2292013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
230 Andreas Schwab <schwab@suse.de>
231 Roland McGrath <roland@hack.frob.com>
232 Joseph Myers <joseph@codesourcery.com>
233 Carlos O'Donell <carlos@redhat.com>
234
235 [BZ #15755]
236 * config.h.in: Define HAVE_PT_CHOWN.
237 * config.make.in (build-pt-chown): New variable.
238 * configure.in (--enable-pt_chown): New configure option.
239 * configure: Regenerate.
240 * login/Makefile: Include Makeconfig. Build pt_chown only if
241 build-pt-chown is enabled.
242 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
243 pt_chown to fix pty ownership.
244 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
245 CLOSE_ALL_FDS.
246 * manual/install.texi (Configuring and compiling): Mention
247 --enable-pt_chown. Add @findex for grantpt.
248 * INSTALL: Regenerate.
249
da2d62df
DM
2502013-07-20 David S. Miller <davem@davemloft.net>
251
252 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
253 difference between 32-bit and 64-bit.
254
d7e06450
CD
2552013-07-15 Carlos O'Donell <carlos@redhat.com>
256
257 [BZ #15711]
258 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
259 Avoid system header dependency with -ffreestanding.
260 ($(objpfx)bits/syscall%d): Likewise.
261
f959cfd7
DM
2622013-07-13 David S. Miller <davem@davemloft.net>
263
264 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
265 underflows from atanl/atan2l due to bug 15319.
266 (casinh_test_data): Likewise.
267
c61f8513
DM
2682013-07-07 David S. Miller <davem@davemloft.net>
269
270 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
271
72c90ed0
JA
2722013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
273
274 * sysdeps/i386/fpu/libm-test-ulps: Update.
275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
276
52dfbe13
SP
2772013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
278
279 * configure.in (--enable-lock-elision): Fix message text.
280 * INSTALL: Regenerate.
281 * configure: Regenerate.
282
3f169543
AZ
2832013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284
285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
286
521c6785
AJ
2872013-07-03 Andreas Jaeger <aj@suse.de>
288
289 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
290 define.
291 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
292 (ptrace_peeksiginfo_args): Add.
293 (__ptrace_peeksiginfo_flags): Add.
294 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
295 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
296 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
297
d2cc15cb
AM
2982013-07-03 Allan McRae <allan@archlinux.org>
299
300 * sysdeps/i386/fpu/libm-test-ulps: Update.
301
3aaeeca7
DM
3022013-07-02 David S. Miller <davem@davemloft.net>
303
304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
305
5314ed1a
MT
3062013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
307
308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
309
67338156
JM
3102013-07-02 Joseph Myers <joseph@codesourcery.com>
311
312 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
314
1717da59
AK
3152013-07-02 Andi Kleen <ak@linux.intel.com>
316
317 * config.h.in (ENABLE_LOCK_ELISION): Add.
318 * configure.in (--enable-lock-elision): Add option.
319 * manual/install.texi: Document --enable lock elision.
320 * configure: Regenerate
321 * INSTALL: Regenerate.
322
1c81621c
L
3232013-07-02 H.J. Lu <hongjiu.lu@intel.com>
324
325 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
326 SSE4.2 strcasecmp for libc.a.
327 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
328
77f01ab5
JM
3292013-07-02 Joseph Myers <joseph@codesourcery.com>
330
331 [BZ #13304]
332 * soft-fp/op-common.h (_FP_FMA): New macro.
333 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
334 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
335 (_FP_MUL_MEAT_1_imm): ... here.
336 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
337 (_FP_MUL_MEAT_1_wide): ... here.
338 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
339 (_FP_MUL_MEAT_1_hard): ... here.
340 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
341 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
342 (_FP_MUL_MEAT_2_wide): ... here.
343 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
344 (_FP_MUL_MEAT_2_wide_3mul): ... here.
345 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
346 (_FP_MUL_MEAT_2_gmp): ... here.
347 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
348 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
349 (_FP_MUL_MEAT_4_wide): ... here.
350 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
351 (_FP_MUL_MEAT_4_gmp): ... here.
352 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
353 (_FP_WFRACBITS_DW_S): Likewise.
354 (_FP_WFRACXBITS_DW_S): Likewise.
355 (_FP_HIGHBIT_DW_S): Likewise.
356 (FP_FMA_S): Likewise.
357 (_FP_FRAC_HIGH_DW_S): Likewise.
358 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
359 (_FP_WFRACBITS_DW_D): Likewise.
360 (_FP_WFRACXBITS_DW_D): Likewise.
361 (_FP_HIGHBIT_DW_D): Likewise.
362 (FP_FMA_D): Likewise.
363 (_FP_FRAC_HIGH_DW_D): Likewise.
364 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
365 (_FP_WFRACBITS_DW_E): Likewise.
366 (_FP_WFRACXBITS_DW_E): Likewise.
367 (_FP_HIGHBIT_DW_E): Likewise.
368 (FP_FMA_E): Likewise.
369 (_FP_FRAC_HIGH_DW_E): Likewise.
370 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
371 (_FP_WFRACBITS_DW_Q): Likewise.
372 (_FP_WFRACXBITS_DW_Q): Likewise.
373 (_FP_HIGHBIT_DW_Q): Likewise.
374 (FP_FMA_Q): Likewise.
375 (_FP_FRAC_HIGH_DW_Q): Likewise.
376 * soft-fp/fmasf4.c: New file.
377 * soft-fp/fmadf4.c: Likewise.
378 * soft-fp/fmatf4.c: Likewise.
379
6308fd9a
LD
3802013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
381
382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
383 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
384 Silvermont.
385 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
386 macro.
387 (index_Slow_SSE4_2): Likewise.
388 (index_Prefer_PMINUB_for_stringop): Likewise.
389 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
390 bit_Slow_SSE4_2 is set.
391 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
392 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
393
89cd9569
RA
3942013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
395
396 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
397 rtld_global._dl_hwcap2.
398 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
399 POWER8.
400 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
401 POWER8 feature descriptions defined in _dl_hwcap2.
402 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
403 string handling for POWER8 feature bits.
404 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
405 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
406 _dl_powerpc_cap_flags.
407 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
408 * sysdeps/powerpc/rtld-global-offsets.sym
409 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
410 _dl_hwcap2 in the rtld_global_ro structure.
411
1ae8bfe0
RA
4122013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
413
414 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
415 hardware capabilities in support of AT_HWCAP2.
416 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
417 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
418 GLRO(dl_hwcap2).
419 (_dl_show_auxv): Add support for calling _dl_procinfo to display
420 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
421 explicitly the unknown a_type display mechanism is used.
422 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
423 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
424 struct member.
425 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
426 to macro prototype for AT_HWCAP2 support.
427 * sysdeps/i386/dl-procinfo.h: Likewise.
428 * sysdeps/s390/dl-procinfo.h: Likewise.
429 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
430 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
431 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
432 return -1 for unknown a_type display fallback.
433 * sysdeps/sparc/dl-procinfo.h: Likewise.
434 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
435 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
436
8fbec010
JM
4372013-06-28 Joseph Myers <joseph@codesourcery.com>
438
439 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
440 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
441
0432680e
PY
4422013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
443
444 [BZ #12492]
445 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
446 mprotect making __stack_prot writable.
447
ce61a2ad
NF
4482013-06-28 Nathan Froyd <froydnj@codesourcery.com>
449 Joseph Myers <joseph@codesourcery.com>
450
451 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
452 as being properly aligned.
453
f91f1c0f
MR
4542013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
455
3d0f5d0c
MR
456 * dlfcn/modstatic5.c: New file.
457 * dlfcn/tststatic5.c: New file.
458 * dlfcn/Makefile (tests): Add tststatic5.
459 (tests-static): Likewise.
460 (modules-names): Add modstatic5.
461 (tststatic5-ENV): New variable.
462 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
463
f91f1c0f
MR
464 [BZ #15022]
465 * elf/dl-support.c (_dl_main_map): New variable.
466 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
467 (_dl_nns, _dl_load_adds): Set to 1.
468 (_dl_initial_searchlist): Refer to _dl_main_map.
469 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
470 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
471 call to _dl_get_origin.
472 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
473 around call_map.
474 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
475 * dlfcn/modstatic3.c: New file.
476 * dlfcn/tststatic3.c: New file.
477 * dlfcn/tststatic4.c: New file.
478 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
479 (tests-static): Likewise.
480 (modules-names): Add modstatic3.
481 (tststatic3-ENV, tststatic4-ENV): New variables.
482 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
483 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
484
cbe7d24b
JM
4852013-06-26 Joseph Myers <joseph@codesourcery.com>
486
487 * configure.in (CC): Require GCC version 4.4 or later.
488 * configure: Regenerated.
489 * manual/install.texi (Tools for Compilation): Update GCC version
490 requirement.
491 * INSTALL: Regenerated.
492
11b8a0e1
LD
4932013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
494
495 [BZ #15674]
bb5bb87c
L
496 * string/test-memcmp.c (check2): New.
497 (main): Call check2.
498
11b8a0e1
LD
499 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
500
b0037103
MR
5012013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
502
503 [BZ #15022]
504 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
505 over to...
506 (dl_open_worker) [!SHARED]: ... here.
507
c18c701d
RA
5082013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
509
510 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
511
1d17fa5f
RH
5122013-06-25 Richard Henderson <rth@redhat.com>
513
514 * locale/programs/locarchive.c: Include <libc-internal.h>
515
8fcb833a
JM
5162013-06-25 Joseph Myers <joseph@codesourcery.com>
517
518 * manual/texinfo.tex: Update to version 2013-06-21.17, with
519 trailing whitespace removed.
520
17db6e8d
MF
5212013-06-24 Mike Frysinger <vapier@gentoo.org>
522
523 [BZ #10283]
17db6e8d
MF
524 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
525 * locale/programs/locarchive.c: Include libc-mmap.h.
526 (prepare_address_space): Take two new outputs (the mmap base and len).
527 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
528 values.
529 (create_archive): Declare new mmap base and len values for
530 prepare_address_space, and store the result in ah.
531 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
532 (enlarge_archive): If ah->mmap_base is not NULL, use that and
533 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
534 Declare new mmap base and len values for
535 prepare_address_space, and store the result in new_ah.
536 (open_archive): Declare new mmap base and len values for
537 prepare_address_space, and store the result in ah.
538 (close_archive): If ah->mmap_base is not NULL, use that and
539 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
540 * sysdeps/generic/libc-mmap.h: New file.
541
d605071e
MF
5422013-06-24 Mike Frysinger <vapier@gentoo.org>
543
544 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
545 (ALIGN_UP): Likewise.
546 (PTR_ALIGN_DOWN): Likewise.
547 (PTR_ALIGN_UP): Likewise.
548
2f063a6e
RA
5492013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
550
551 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
552 entry mapped to PPC_PLATFORM_POWER8.
553 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
554 POWER8.
555 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
556 (_dl_string_platform): Add case for exporting platform position for
557 POWER8.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
559 search path to sysdeps/powerpc/powerpc32/power8 directory.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
561 search path to sysdeps/powerpc/powerpc64/power8 directory.
562 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
563 power7 directories.
564 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
565 power7 directories.
566
a31ee4b3
SP
5672013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
568
a74ca98f
SP
569 * INSTALL: Regenerate.
570
a31ee4b3
SP
571 * nscd/connections.c (nscd_init): Fix comment.
572
695c378f
JM
5732013-06-22 Joseph Myers <joseph@codesourcery.com>
574
d8412221
JM
575 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
576
695c378f
JM
577 [BZ #15667]
578 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
579 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
580
d1d54715
MR
5812013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
582
583 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
584 DL_DST_REQ_STATIC.
585 (DL_DST_REQ_STATIC): Remove macro.
586
8fdda7af
JM
5872013-06-21 Joseph Myers <joseph@codesourcery.com>
588
589 [BZ #7006]
590 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
591 with a shift of 0 bits.
592
f3bc5e5a
MR
5932013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
594
595 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
596 $(tststatic-ENV).
597
be09e8c9
KK
5982013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
599
600 [BZ #15655]
601 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
602
85c2e611
AZ
6032013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
604
605 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
606 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
607 accepts -fno-tree-loop-distribute-patterns.
608 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
609 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
610 recursive call.
611 * string/memset.c (memset): Likewise.
612 * string/test-memmove.c (simple_memmove): Disable loop transformation
613 to library calls.
614 * string/test-memset.c (simple_memset): Likewise.
615 * benchtests/bench-memmove.c (simple_memmove): Likewise.
616 * benchtests/bench-memset.c (simple_memset): Likewise.
617 * configure: Regenerated.
618
c91e0825
JM
6192013-06-20 Joseph Myers <joseph@codesourcery.com>
620
b8c792af
JM
621 * math/test-misc.c (main): Ignore fesetround failure when failures
622 of subsequent rounding tests would be ignored.
623
c91e0825
JM
624 [BZ #15654]
625 * math/fedisblxcpt.c (fedisableexcept): Return 0.
626 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
627 * math/fegetenv.c (__fegetenv): Return 0.
628 * math/fegetexcept.c (fegetexcept): Return 0.
629 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
630 FE_TONEAREST.
631 * math/feholdexcpt.c (feholdexcept): Return 0.
632 * math/fesetenv.c (__fesetenv): Return 0.
633 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
634 argument FE_TONEAREST.
635 * math/feupdateenv.c (__feupdateenv): Return 0.
636 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
637
bfcacbde
RM
6382013-06-18 Roland McGrath <roland@hack.frob.com>
639
640 * elf/rtld-Rules (rtld-compile-command.S): New variable.
641 (rtld-compile-command.s, rtld-compile-command.c): New variables.
642 ($(objpfx)rtld-%.os rules): Use them.
643
e55a9b25
AZ
6442013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
645
646 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
647 fields.
648
346d65b3
RM
6492013-06-17 Roland McGrath <roland@hack.frob.com>
650
12086fb4
RM
651 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
652 length of target pattern, then descending length of dependency pattern.
653 * configure.in (AWK): Require gawk 3.1.2 or newer.
654 * manual/install.texi (Tools for Compilation): Say that we do.
655 * configure: Regenerated.
656
346d65b3
RM
657 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
658 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
659 * scripts/sysd-rules.awk: ... this new script.
660 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
661 than a glob-style pattern.
662
1a846317
JM
6632013-06-17 Joseph Myers <joseph@codesourcery.com>
664
665 * math/test-misc.c (main): Do not treat incorrectly rounded
666 conversions as failure unless ROUNDING_TESTS passes.
667
8fc75e6f
JM
6682013-06-15 Joseph Myers <joseph@codesourcery.com>
669
3711a167
JM
670 [BZ #15631]
671 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
672 restore exception state around main square root computation, then
673 check for inexactness explicitly.
674
8fc75e6f
JM
675 * math/libm-test.inc (fma_test_data): Add another test.
676
61dd6208
SP
6772013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
678
adf23d2c
SP
679 * manual/threads.texi (Non-POSIX Extensions): New document
680 node. Document pthread_getattr_default_np and
681 pthread_setattr_default_np.
682
61dd6208
SP
683 * Versions.def (libpthread): Add GLIBC_2.18.
684 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
686 Likewise.
687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
688 Likewise.
689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
690 Likewise.
691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
692 Likewise.
693 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
694 Likewise.
695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
696 Likewise.
697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
698 Likewise.
699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
700 Likewise.
701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
702 Likewise.
703
d086fc7b
LD
7042013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
705
706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
707 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
708
747ef469
SP
7092013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
710 H.J. Lu <hjl.tools@gmail.com>
711
712 [BZ #15627]
713 * sysdeps/x86_64/rtld-memset.c: Remove file.
714 * sysdeps/x86_64/rtld-memset.S: New file.
715
1b2feed2
JM
7162013-06-14 Joseph Myers <joseph@codesourcery.com>
717
718 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
719 (test_in_one_mode): Take arguments for whether the rounding mode
720 is supported for each floating-point type.
721 (do_test): Pass new arguments to test_in_one_mode using
722 ROUNDING_TESTS.
723
a58ad3f8
RM
7242013-06-13 Roland McGrath <roland@hack.frob.com>
725
726 * posix/tst-waitid.c (do_test): Distinguish different instances of
727 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
728 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
729 before entering the kernel for waitpid.
730
c204ab28
SP
7312013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
732
733 * NEWS: Fix note on clock function precision. Text by Roland
734 McGrath.
735
f4a29fba
RM
7362013-06-13 Roland McGrath <roland@hack.frob.com>
737
738 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
739 it into place only when and if the sanity check passes.
740
1f24b9ad
JM
7412013-06-13 Joseph Myers <joseph@codesourcery.com>
742
743 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
744 output for whether conversion result is exact. Take argument
745 indicating whether type is IBM long double.
746 (round_for_all): Change need_exact field to ibm_ld.
747 * stdlib/tst-strtod-round.c (struct exactness): New type.
748 (struct test): Change bool ld_ok field to struct exactness exact.
749 (TEST): Update all definitions for change to field.
750 (tests): Regenerate array contents.
751 (test_in_one_mode): Take pointer to new field instead of old ld_ok
752 field value. Check for IBM long double here.
753 (do_test): Update calls to test_in_one_mode.
754
58206c68
SP
7552013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
756
757 [BZ #12515]
758 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
759 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
760
2d6f4c5b 7612013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
762
763 [BZ #15605]
764 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
765 generated by the compiler on loop optimizations.
766 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
767 general definitions.
768
94f2c076
JM
7692013-06-12 Joseph Myers <joseph@codesourcery.com>
770
771 * math/bug-nextafter.c: Include <math-tests.h>.
772 (main): Only test for exceptions if EXCEPTION_TESTS is true for
773 the relevant type.
774 * math/bug-nexttoward.c: Include <math-tests.h>.
775 (main): Only test for exceptions if EXCEPTION_TESTS is true for
776 the relevant type.
777 * math/test-misc.c: Include <math-tests.h>.
778 (main): Only test for exceptions if EXCEPTION_TESTS is true for
779 the relevant type.
780
e0e50a0a
AJ
7812013-06-12 Andreas Jaeger <aj@suse.de>
782
783 * po/ia.po: Update Interlingua translation from translation
784 project.
785
25061094
SP
7862013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
787
788 * include/fenv.h: Include stdbool.h.
789 (struct rm_ctx): New structure.
790 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
791 Define macro.
792 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
793 (SET_RESTORE_ROUNDF): Likewise.
794 (SET_RESTORE_ROUNDL): Likewise.
795 (SET_RESTORE_ROUND_NOEX): Likewise.
796 (SET_RESTORE_ROUND_NOEXF): Likewise.
797 (SET_RESTORE_ROUND_NOEXL): Likewise.
798 (SET_RESTORE_ROUND_53BIT): Likewise.
799 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
800 (libc_feresetround_noexf_ctx): Likewise.
801 (libc_feresetround_noexl_ctx): Likewise.
802 (libc_feholdsetround_53bit_ctx): Likewise.
803 (libc_feresetround_53bit_ctx): Likewise.
804 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
805 (libc_feholdexcept_setround_sse_ctx): New function.
806 (libc_fesetenv_sse_ctx): Likewise.
807 (libc_feupdateenv_sse_ctx): Likewise.
808 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
809 (libc_feholdexcept_setround_387_ctx): Likewise.
810 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
811 (libc_feholdsetround_387_prec_ctx): Likewise.
812 (libc_feholdsetround_387_ctx): Likewise.
813 (libc_feholdsetround_387_53bit_ctx): Likewise.
814 (libc_feholdsetround_sse_ctx): Likewise.
815 (libc_feresetround_sse_ctx): Likewise.
816 (libc_feresetround_387_ctx): Likewise.
817 (libc_feupdateenv_387_ctx): Likewise.
818 (libc_feholdexcept_setroundf_ctx): Define macro.
819 (libc_fesetenvf_ctx): Likewise.
820 (libc_feupdateenvf_ctx): Likewise.
821 (libc_feholdsetroundf_ctx): Likewise.
822 (libc_feresetroundf_ctx): Likewise.
823 (libc_feholdexcept_setround_ctx): Likewise.
824 (libc_fesetenv_ctx): Likewise.
825 (libc_feupdateenv_ctx): Likewise.
826 (libc_feholdsetround_ctx): Likewise.
827 (libc_feresetround_ctx): Likewise.
828 (libc_feholdexcept_setroundl_ctx): Likewise.
829 (libc_feupdateenvl_ctx): Likewise.
830 (libc_feholdsetroundl_ctx): Likewise.
831 (libc_feresetroundl_ctx): Likewise.
832 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
833 (libc_feresetround_53bit_ctx): Likewise.
834
59b30555
SP
8352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
836
837 * locale/iso-639.def: Convert to UTF-8.
838
f1d73d30
JM
8392013-06-11 Joseph Myers <joseph@codesourcery.com>
840
841 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
842 (EXCEPTION_TESTS_double): Likewise.
843 (EXCEPTION_TESTS_long_double): Likewise.
844 (EXCEPTION_TESTS): Likewise.
845 * math/libm-test.inc (test_exceptions): Only test exceptions if
846 EXCEPTION_TESTS (FLOAT).
847
94aca5e7
SP
8482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
849
850 * benchtests/Makefile (string-bench): Add strcpy_chk and
851 stpcpy_chk.
852 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
853 * benchtests/bench-stpcpy_chk.c: New file.
854 * benchtests/bench-strcpy_chk-ifunc.c: New file.
855 * benchtests/bench-strcpy_chk.c: New file.
856 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
857 code.
858 (do_test): Likewise.
859
fac0c5f2
RA
8602013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
861
862 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
863 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
864 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
865 with tabs where appropriate.
866 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
867 dl-procinfo.h.
868 [PPC_PLATFORM_PPC440]: Likewise.
869 [PPC_PLATFORM_PPC464]: Likewise.
870 [PPC_PLATFORM_PPC476]: Likewise.
871 (_dl_string_platform): Add support for detecting ppc405, ppc440,
872 ppc464, and ppc476 platform strings merging from ports/
873 dl-procinfo.h.
874
f22bc486
AS
8752013-06-11 Andreas Schwab <schwab@suse.de>
876
877 [BZ #14991]
878 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
879 (from_ucs4_idx): Regenerate.
880 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
881 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
882 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
883 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
884 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
885 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
886 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
887 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
888 from FROM_LOOP and TO_LOOP specific macros.
889 (BODY): Handle combining characters.
890 * iconvdata/BIG5HKSCS.irreversible: Update.
891 * iconvdata/BIG5HKSCS.precomposed: New file.
892 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
893 characters.
894 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
895
c1f75dc3
SP
8962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
897
4eacded2
SP
898 * include/sys/time.h: Fix indentation and add copyright header.
899
fec799f8
SP
900 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
901 (do_test): Likewise.
902 * string/test-memchr.c (do_one_test): Likewise.
903 (do_test): Likewise.
904 * string/test-memcmp.c (do_one_test): Likewise.
905 (do_test): Likewise.
906 * string/test-memcpy.c (do_one_test): Likewise.
907 (do_test): Likewise.
908 * string/test-memmem.c (do_one_test): Likewise.
909 (do_test): Likewise.
910 (do_random_tests): Likewise.
911 * string/test-memmove.c (do_one_test): Likewise.
912 (do_test): Likewise.
913 * string/test-memset.c (do_one_test): Likewise.
914 (do_test): Likewise.
915 * string/test-rawmemchr.c (do_one_test): Likewise.
916 (do_test): Likewise.
917 * string/test-strcasecmp.c (do_one_test): Likewise.
918 (do_test): Likewise.
919 * string/test-strcasestr.c (do_one_test): Likewise.
920 (do_test): Likewise.
921 * string/test-strcat.c (do_one_test): Likewise.
922 (do_test): Likewise.
923 * string/test-strchr.c (do_one_test): Likewise.
924 (do_test): Likewise.
925 * string/test-strcmp.c (do_one_test): Likewise.
926 (do_test): Likewise.
927 * string/test-strcpy.c (do_one_test): Likewise.
928 (do_test): Likewise.
929 * string/test-string.h: Likewise.
930 (test_init): Likewise.
931 * string/test-strlen.c (do_one_test): Likewise.
932 (do_test): Likewise.
933 * string/test-strncasecmp.c (do_one_test): Likewise.
934 (do_test): Likewise.
935 * string/test-strncat.c (do_one_test): Likewise.
936 (do_test): Likewise.
937 * string/test-strncmp.c (do_one_test): Likewise.
938 (do_test_limit): Likewise.
939 (do_test): Likewise.
940 * string/test-strncpy.c (do_one_test): Likewise.
941 (do_test): Likewise.
942 * string/test-strnlen.c (do_one_test): Likewise.
943 (do_test): Likewise.
944 * string/test-strpbrk.c (do_one_test): Likewise.
945 (do_test): Likewise.
946 * string/test-strrchr.c (do_one_test): Likewise.
947 (do_test): Likewise.
948 * string/test-strspn.c (do_one_test): Likewise.
949 (do_test): Likewise.
950 * string/test-strstr.c (do_one_test): Likewise.
951 (do_test): Likewise.
952
97020474
SP
953 * benchtests/Makefile (string-bench): Add string benchmarks.
954 * benchtests/bench-bcopy-ifunc.c: New file.
955 * benchtests/bench-bcopy.c: New file.
956 * benchtests/bench-bzero-ifunc.c: New file.
957 * benchtests/bench-bzero.c: New file.
958 * benchtests/bench-memccpy-ifunc.c: New file.
959 * benchtests/bench-memccpy.c: New file.
960 * benchtests/bench-memchr-ifunc.c: New file.
961 * benchtests/bench-memchr.c: New file.
962 * benchtests/bench-memcmp-ifunc.c: New file.
963 * benchtests/bench-memcmp.c: New file.
964 * benchtests/bench-memmem-ifunc.c: New file.
965 * benchtests/bench-memmem.c: New file.
966 * benchtests/bench-memmove-ifunc.c: New file.
967 * benchtests/bench-memmove.c: New file.
968 * benchtests/bench-mempcpy-ifunc.c: New file.
969 * benchtests/bench-mempcpy.c: New file.
970 * benchtests/bench-memset-ifunc.c: New file.
971 * benchtests/bench-memset.c: New file.
972 * benchtests/bench-rawmemchr-ifunc.c: New file.
973 * benchtests/bench-rawmemchr.c: New file.
974 * benchtests/bench-stpcpy-ifunc.c: New file.
975 * benchtests/bench-stpcpy.c: New file.
976 * benchtests/bench-stpncpy-ifunc.c: New file.
977 * benchtests/bench-stpncpy.c: New file.
978 * benchtests/bench-strcasecmp-ifunc.c: New file.
979 * benchtests/bench-strcasecmp.c: New file.
980 * benchtests/bench-strcasestr-ifunc.c: New file.
981 * benchtests/bench-strcasestr.c: New file.
982 * benchtests/bench-strcat-ifunc.c: New file.
983 * benchtests/bench-strcat.c: New file.
984 * benchtests/bench-strchr-ifunc.c: New file.
985 * benchtests/bench-strchr.c: New file.
986 * benchtests/bench-strchrnul-ifunc.c: New file.
987 * benchtests/bench-strchrnul.c: New file.
988 * benchtests/bench-strcmp-ifunc.c: New file.
989 * benchtests/bench-strcmp.c: New file.
990 * benchtests/bench-strcpy-ifunc.c: New file.
991 * benchtests/bench-strcpy.c: New file.
992 * benchtests/bench-strcspn-ifunc.c: New file.
993 * benchtests/bench-strcspn.c: New file.
994 * benchtests/bench-strlen-ifunc.c: New file.
995 * benchtests/bench-strlen.c: New file.
996 * benchtests/bench-strncasecmp-ifunc.c: New file.
997 * benchtests/bench-strncasecmp.c: New file.
998 * benchtests/bench-strncat-ifunc.c: New file.
999 * benchtests/bench-strncat.c: New file.
1000 * benchtests/bench-strncmp-ifunc.c: New file.
1001 * benchtests/bench-strncmp.c: New file.
1002 * benchtests/bench-strncpy-ifunc.c: New file.
1003 * benchtests/bench-strncpy.c: New file.
1004 * benchtests/bench-strnlen-ifunc.c: New file.
1005 * benchtests/bench-strnlen.c: New file.
1006 * benchtests/bench-strpbrk-ifunc.c: New file.
1007 * benchtests/bench-strpbrk.c: New file.
1008 * benchtests/bench-strrchr-ifunc.c: New file.
1009 * benchtests/bench-strrchr.c: New file.
1010 * benchtests/bench-strspn-ifunc.c: New file.
1011 * benchtests/bench-strspn.c: New file.
1012 * benchtests/bench-strstr-ifunc.c: New file.
1013 * benchtests/bench-strstr.c: New file.
1014
c1f75dc3
SP
1015 * benchtests/Makefile: Disable parallel execution of targets.
1016 (string-bench): Add memcpy.
1017 (benchset): New variable to store a list of benchmark sets.
1018 (bench-func): Renamed from bench.
1019 (bench-set): New target.
1020 (bench): Depend on bench-func and bench-set.
1021 * benchtests/README: Add section on benchmark sets.
1022 * benchtests/bench-memcpy-ifunc.c: New file.
1023 * benchtests/bench-memcpy.c: New file.
1024 * benchtests/bench-string.h: New file.
1025
50fd745b
AS
10262013-06-11 Andreas Schwab <schwab@suse.de>
1027
1028 [BZ #15577]
1029 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1030 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1031 values in the triple.
1032 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1033 terminator in the group key.
1034
3ee7e9fe
AJ
10352013-06-11 Andreas Jaeger <aj@suse.de>
1036
1037 * po/zh_TW.po: Update Chinese (traditional) translation from
1038 translation project.
1039
89fb6835
SP
10402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1041
1042 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1043 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1044 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1045 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1046 (clock_getcpuclockid): Likewise.
1047 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1048 Add weak_alias and libc_hidden_def.
1049 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1050 * rt/clock_gettime.c (clock_gettime): Rename to
1051 __clock_gettime. Add weak_alias and libc_hidden_def.
1052 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1053 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1054 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1055 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1056 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1057 Likewise.
1058 * rt/clock_settime.c (clock_settime): Rename to
1059 __clock_settime. Add weak_alias and libc_hidden_def.
1060 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1061
0efa6f8b
JM
10622013-06-10 Joseph Myers <joseph@codesourcery.com>
1063
b8c61b4b
JM
1064 * mach/err_boot.sub: Remove trailing whitespace.
1065 * mach/err_ipc.sub: Likewise.
1066 * mach/err_mach.sub: Likewise.
1067
0efa6f8b
JM
1068 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1069 (ROUNDING_TESTS_double): Likewise.
1070 (ROUNDING_TESTS_long_double): Likewise.
1071 (ROUNDING_TESTS): Likewise.
1072 * math/libm-test.inc: Include <math-tests.h>.
1073 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1074 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1075 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1076 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1077
50b818bf
SP
10782013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1079
1080 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1081 of assigning.
1082
60d2f8f3
JM
10832013-06-08 Joseph Myers <joseph@codesourcery.com>
1084
4902d2c3
JM
1085 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1086 otherwise empty TRANS lines.
1087 * sysdeps/gnu/errlist.c: Regenerated.
1088
60d2f8f3
JM
1089 * catgets/gencat.c (error_print): Use (void) in function
1090 definition.
1091 * crypt/crypt_util.c (__init_des): Likewise.
1092 * crypt/speeds.c (Stop): Likewise.
1093 (main): Likewise.
1094 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1095 * inet/ruserpass.c (token): Likewise.
1096 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1097 * intl/localealias.c (extend_alias_table): Likewise.
1098 * intl/plural-exp.c (init_germanic_plural): Likewise.
1099 * libio/fcloseall.c (__fcloseall): Likewise.
1100 * libio/genops.c (_IO_flush_all): Likewise.
1101 (_IO_flush_all_linebuffered): Likewise.
1102 (_IO_cleanup): Likewise.
1103 (_IO_iter_begin): Likewise.
1104 (_IO_iter_end): Likewise.
1105 (_IO_list_lock): Likewise.
1106 (_IO_list_unlock): Likewise.
1107 (_IO_list_resetlock): Likewise.
1108 * libio/getchar.c (getchar): Likewise.
1109 * libio/getchar_u.c (getchar_unlocked): Likewise.
1110 * libio/getwchar.c (getwchar): Likewise.
1111 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1112 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1113 * login/getpt.c (__getpt): Likewise.
1114 * login/tst-utmp.c (main): Likewise.
1115 * malloc/hooks.c (__malloc_check_init): Likewise.
1116 * malloc/malloc.c (__malloc_stats): Likewise.
1117 * malloc/mtrace.c (tr_break): Likewise.
1118 (mtrace): Likewise.
1119 (muntrace): Likewise.
1120 * misc/fstab.c (endfsent): Likewise.
1121 * misc/getclktck.c (__getclktck): Likewise.
1122 * misc/getdtsz.c (__getdtablesize): Likewise.
1123 * misc/gethostid.c (gethostid): Likewise.
1124 * misc/getpagesize.c (__getpagesize): Likewise.
1125 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1126 (__get_nprocs): Likewise.
1127 (__get_phys_pages): Likewise.
1128 (__get_avphys_pages): Likewise.
1129 * misc/getttyent.c (getttyent): Likewise.
1130 (setttyent): Likewise.
1131 (endttyent): Likewise.
1132 * misc/getusershell.c (getusershell): Likewise.
1133 (endusershell): Likewise.
1134 (setusershell): Likewise.
1135 (initshells): Likewise.
1136 * misc/hsearch.c (__hdestroy): Likewise.
1137 * misc/sync.c (sync): Likewise.
1138 * misc/syslog.c (closelog_internal): Likewise.
1139 (closelog): Likewise.
1140 * misc/ttyslot.c (ttyslot): Likewise.
1141 * misc/vhangup.c (vhangup): Likewise.
1142 * posix/fork.c (__fork): Likewise.
1143 * posix/getegid.c (__getegid): Likewise.
1144 * posix/geteuid.c (__geteuid): Likewise.
1145 * posix/getgid.c (__getgid): Likewise.
1146 * posix/getpid.c (__getpid): Likewise.
1147 * posix/getppid.c (__getppid): Likewise.
1148 * posix/getuid.c (__getuid): Likewise.
1149 * posix/pause.c (pause): Likewise.
1150 * posix/setpgrp.c (setpgrp): Likewise.
1151 * posix/setsid.c (__setsid): Likewise.
1152 * posix/test-vfork.c (noop): Likewise.
1153 * resolv/gethnamaddr.c (_endhtent): Likewise.
1154 (_gethtent): Likewise.
1155 (ht_endhostent): Likewise.
1156 (gethostent): Likewise.
1157 (dns_service): Likewise.
1158 * stdlib/drand48.c (drand48): Likewise.
1159 * stdlib/lrand48.c (lrand48): Likewise.
1160 * stdlib/mrand48.c (mrand48): Likewise.
1161 * stdlib/rand.c (rand): Likewise.
1162 * stdlib/random.c (__random): Likewise.
1163 * stdlib/setenv.c (clearenv): Likewise.
1164 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1165 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1166 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1167 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1168 (__get_nprocs): Likewise.
1169 (__get_phys_pages): Likewise.
1170 (__get_avphys_pages): Likewise.
1171 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1172 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1173 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1174 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1175 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1176 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1177 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1178 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1179 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1180 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1181 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1182 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1183 * sysdeps/posix/clock.c (clock): Likewise.
1184 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1185 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1186 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1187 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1188 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1189 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1190 (__get_nprocs_conf): Likewise.
1191 (__get_phys_pages): Likewise.
1192 (__get_avphys_pages): Likewise.
1193 * time/clock.c (clock): Likewise.
1194 * time/tzset.c (__tzname_max): Likewise.
1195
2e09a79a
JM
11962013-06-07 Joseph Myers <joseph@codesourcery.com>
1197
1198 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1199 (__bswap_32): Do not use "register".
1200 * crypt/crypt.c (_ufc_doit_r): Likewise.
1201 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1202 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1203 * gmon/gmon.c (__monstartup): Likewise.
1204 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1205 * hurd/hurdmalloc.c (more_memory): Likewise.
1206 (malloc): Likewise.
1207 (free): Likewise.
1208 (realloc): Likewise.
1209 (malloc_fork_prepare): Likewise.
1210 (malloc_fork_parent): Likewise.
1211 (malloc_fork_child): Likewise.
1212 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1213 (_svcauth_des): Likewise.
1214 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1215 * inet/inet_net.c (inet_network): Likewise.
1216 * inet/inet_netof.c (inet_netof): Likewise.
1217 * inet/rcmd.c (__validuser2_sa): Likewise.
1218 * io/fts.c (fts_open): Likewise.
1219 (fts_load): Likewise.
1220 (fts_close): Likewise.
1221 (fts_read): Likewise.
1222 (fts_children): Likewise.
1223 (fts_build): Likewise.
1224 (fts_stat): Likewise.
1225 (fts_sort): Likewise.
1226 (fts_alloc): Likewise.
1227 (fts_lfree): Likewise.
1228 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1229 (_IO_file_xsgetn): Likewise.
1230 (_IO_file_xsgetn_mmap): Likewise.
1231 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1232 (_IO_cookie_write): Likewise.
1233 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1234 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1235 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1236 * malloc/obstack.c (_obstack_begin): Likewise.
1237 (_obstack_begin_1): Likewise.
1238 (_obstack_newchunk): Likewise.
1239 (_obstack_allocated_p): Likewise.
1240 (obstack_free): Likewise.
1241 (_obstack_memory_used): Likewise.
1242 * misc/getttyent.c (getttynam): Likewise.
1243 (getttyent): Likewise.
1244 (skip): Likewise.
1245 (value): Likewise.
1246 * misc/getusershell.c (initshells): Likewise.
1247 * misc/syslog.c (__vsyslog_chk): Likewise.
1248 * misc/ttyslot.c (ttyslot): Likewise.
1249 * nis/nis_hash.c (__nis_hash): Likewise.
1250 * posix/fnmatch_loop.c (FCT): Likewise.
1251 * posix/getconf.c (print_all): Likewise.
1252 (main): Likewise.
1253 * posix/getopt.c (exchange): Likewise.
1254 * posix/glob.c (globfree): Likewise.
1255 (prefix_array): Likewise.
1256 (__glob_pattern_type): Likewise.
1257 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1258 (NS_GET32): Likewise.
1259 (NS_PUT16): Likewise.
1260 (NS_PUT32): Likewise.
1261 * resolv/gethnamaddr.c (getanswer): Likewise.
1262 (gethostbyname2): Likewise.
1263 (gethostbyaddr): Likewise.
1264 (_gethtent): Likewise.
1265 (_gethtbyname2): Likewise.
1266 (_gethtbyaddr): Likewise.
1267 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1268 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1269 * resolv/res_init.c (__res_vinit): Likewise.
1270 (net_mask): Likewise.
1271 * resolv/res_mkquery.c (outchar): Likewise.
1272 (PRINT): Likewise.
1273 * stdio-common/printf_fp.c (outchar): Likewise.
1274 (PRINT): Likewise.
1275 * stdio-common/printf_fphex.c (outchar): Likewise.
1276 (PRINT): Likewise.
1277 * stdio-common/printf_size.c (outchar): Likewise.
1278 (PRINT): Likewise.
1279 * stdio-common/test_rdwr.c (main): Likewise.
1280 * stdio-common/tfformat.c (matches): Likewise.
1281 * stdio-common/vfprintf.c (outchar): Likewise.
1282 (printf_unknown): Likewise.
1283 (buffered_vfprintf): Likewise.
1284 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1285 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1286 (ReadFile): Likewise.
1287 * stdlib/qsort.c (SWAP): Likewise.
1288 (_quicksort): Likewise.
1289 * stdlib/setenv.c (__add_to_environ): Likewise.
1290 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1291 * stdlib/strtol_l.c (__strtol_l): Likewise.
1292 * stdlib/tst-strtod.c (main): Likewise.
1293 * stdlib/tst-strtol.c (main): Likewise.
1294 * stdlib/tst-strtoll.c (main): Likewise.
1295 * string/bits/string2.h (__strcmp_cc): Likewise.
1296 (__strcmp_cg): Likewise.
1297 (__strcspn_c1): Likewise.
1298 (__strcspn_c2): Likewise.
1299 (__strcspn_c3): Likewise.
1300 (__strspn_c1): Likewise.
1301 (__strspn_c2): Likewise.
1302 (__strspn_c3): Likewise.
1303 (__strsep_1c): Likewise.
1304 (__strsep_2c): Likewise.
1305 (__strsep_3c): Likewise.
1306 * string/memccpy.c (__memccpy): Likewise.
1307 * string/stpcpy.c (__stpcpy): Likewise.
1308 * string/strcmp.c (strcmp): Likewise.
1309 * string/strrchr.c (strrchr): Likewise.
1310 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1311 Likewise.
1312 * sysdeps/mach/hurd/getcwd.c
1313 (_hurd_canonicalize_directory_name_internal): Likewise.
1314 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1315 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1316 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1317 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1318 Likewise, in both definitions.
1319 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1320 definitions.
1321 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1322 64] (__bswap_64): Likewise.
1323 * time/test_time.c (main): Likewise.
1324 * time/tzfile.c (__tzfile_read): Likewise.
1325 (__tzfile_compute): Likewise.
1326 * time/tzset.c (__tzset_parse_tz): Likewise.
1327 (tzset_internal): Likewise.
1328 (compute_change): Likewise.
1329 * wcsmbs/wcscat.c (__wcscat): Likewise.
1330 * wcsmbs/wcschr.c (wcschr): Likewise.
1331 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1332 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1333 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1334 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1335 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1336 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1337 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1338 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1339 * wcsmbs/wmemset.c (wmemset): Likewise.
1340
9e54314b
JM
13412013-06-06 Joseph Myers <joseph@codesourcery.com>
1342
1343 * scripts/config.guess: Update to version 2013-05-16.
1344 * scripts/config.sub: Update to version 2013-04-24.
1345 * scripts/install-sh: Update to version 2011-11-20.07.
1346 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1347 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1348
350635a5
OB
13492013-06-06 Ondřej Bílka <neleai@seznam.cz>
1350
1351 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1352 * elf/sln.c: Likewise.
1353 * hurd/hurd/ioctl.h: Likewise.
1354 * hurd/hurdmalloc.c: Likewise.
1355 * hurd/xattr.c: Likewise.
1356 * include/shlib-compat.h: Likewise.
1357 * inet/ruserpass.c: Likewise.
1358 * libio/iofgets_u.c: Likewise.
1359 * libio/iofgetws_u.c: Likewise.
1360 * locale/programs/ld-identification.c: Likewise.
1361 * locale/programs/ld-time.c: Likewise.
1362 * mach/msg-destroy.c: Likewise.
1363 * nss/nss_files/files-netgrp.c: Likewise.
1364 * resolv/res_data.c: Likewise.
1365 * soft-fp/op-1.h: Likewise.
1366 * soft-fp/op-2.h: Likewise.
1367 * soft-fp/op-4.h: Likewise.
1368 * soft-fp/op-common.h: Likewise.
1369 * stdio-common/printf_fphex.c: Likewise.
1370 * stdlib/strtod_l.c: Likewise.
1371 * sunrpc/rpc/clnt.h: Likewise.
1372 * sysdeps/generic/framestate.c: Likewise.
1373 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1374 * sysdeps/i386/bsd-setjmp.S: Likewise.
1375 * sysdeps/i386/__longjmp.S: Likewise.
1376 * sysdeps/i386/setjmp.S: Likewise.
1377 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1378 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1380 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1384 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1387 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1395 * sysdeps/ieee754/support.c: Likewise.
1396 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1397 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1398 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1399 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1400 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1401 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1402 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1403 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1404 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1405 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1406 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1407 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1408 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1409 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1410 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1411 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1412 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1414
44a988af
OB
14152013-06-05 Ondřej Bílka <neleai@seznam.cz>
1416
25506f09 1417 * posix/transbug.c: Remove executable mode.
44a988af 1418
9c84384c
JM
14192013-06-05 Joseph Myers <joseph@codesourcery.com>
1420
1421 * crypt/speeds.c: Remove trailing whitespace.
1422 * dlfcn/default.c: Likewise.
1423 * elf/ifuncdep2.c: Likewise.
1424 * elf/ifuncmain1.c: Likewise.
1425 * elf/ifuncmain1vis.c: Likewise.
1426 * elf/testobj.h: Likewise.
1427 * elf/tst-stackguard1.c: Likewise.
1428 * gmon/sys/gmon.h: Likewise.
1429 * hurd/hurdmsg.c: Likewise.
1430 * hurd/new-fd.c: Likewise.
1431 * hurd/ports-get.c: Likewise.
1432 * iconvdata/ibm1008_420.c: Likewise.
1433 * inet/tst-getni1.c: Likewise.
1434 * inet/tst-getni2.c: Likewise.
1435 * libio/ioungetc.c: Likewise.
1436 * libio/wfiledoalloc.c: Likewise.
1437 * manual/libm-err-tab.pl: Likewise.
1438 * math/w_dremf.c: Likewise.
1439 * misc/ftruncate.c: Likewise.
1440 * posix/bug-glob2.c: Likewise.
1441 * posix/tst-pcre.c: Likewise.
1442 * posix/wait4.c: Likewise.
1443 * resolv/README: Likewise.
1444 * resolv/res_debug.h: Likewise.
1445 * resolv/tst-inet_ntop.c: Likewise.
1446 * setjmp/bug269-setjmp.c: Likewise.
1447 * soft-fp/extended.h: Likewise.
1448 * soft-fp/op-1.h: Likewise.
1449 * soft-fp/op-2.h: Likewise.
1450 * soft-fp/op-4.h: Likewise.
1451 * soft-fp/op-8.h: Likewise.
1452 * soft-fp/testit.c: Likewise.
1453 * stdio-common/bug16.c: Likewise.
1454 * stdlib/random.c: Likewise.
1455 * sunrpc/rpcsvc/rquota.x: Likewise.
1456 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1457 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1458 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1459 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1460 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1461 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1462 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1463 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1464 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1465 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1466 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1467 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1468 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1469 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1470 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1471 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1472 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1473 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1474 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1475 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1476 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1477 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1478 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1479 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1480 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1483 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1484 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1485 * sysdeps/ieee754/s_lib_version.c: Likewise.
1486 * sysdeps/mach/hurd/check_fds.c: Likewise.
1487 * sysdeps/mach/hurd/getsockname.c: Likewise.
1488 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1489 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1490 * sysdeps/powerpc/bits/link.h: Likewise.
1491 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1492 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1493 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1494 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1495 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1496 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1497 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1498 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1499 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1500 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1501 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1502 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1503 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1504 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1505 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1506 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1507 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1508 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1510 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1511 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1513 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1514 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1515 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1516 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1517 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1518 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1519 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1520 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1521 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1522 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1523 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1524 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1525 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1526 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1527 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1528 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1529 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1530 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1532 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1537 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1538 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1539 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1540 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1541 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1542 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1543 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1544 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1548 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1550 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1551 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1552 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1553 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1554 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1555 * sysdeps/powerpc/sysdep.h: Likewise.
1556 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1557 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1558 * sysdeps/sh/dl-trampoline.S: Likewise.
1559 * sysdeps/sh/memset.S: Likewise.
1560 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1561 * sysdeps/sh/strlen.S: Likewise.
1562 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1563 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1564 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1565 * sysdeps/sparc/sparc32/rem.S: Likewise.
1566 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1567 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1568 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1569 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1570 * sysdeps/sparc/sparc32/urem.S: Likewise.
1571 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1572 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1573 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1574 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1575 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1576 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1577 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1578 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1579 * sysdeps/unix/bsd/times.c: Likewise.
1580 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1581 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1585 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1586 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1587 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1588 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1589 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1590 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1591 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1592 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1593 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1594 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1595 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1596 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1597 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1598 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1599 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1600 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1601 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1602 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1603 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1604 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1605 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1606 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1607 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1608 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1609 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1610 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1611 * sysdeps/x86_64/strcspn.S: Likewise.
1612
869378a5
RA
16132013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1614
1615 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1616 generated file. Regenerate properly from gen-translit.pl.
1617 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1618 locale/C-translit.h.
1619
840e2943
AS
16202013-06-05 Andreas Schwab <schwab@suse.de>
1621
1622 [BZ #15100]
1623 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1624 week as 6 instead of -1.
1625 * time/tst-strptime.c (day_tests): Add test case.
1626
4c60cb0c
SP
16272013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1628
1629 * sysdeps/generic/math_private.h
1630 (libc_feholdexcept_setround_53bit): Replace with
1631 libc_feholdsetround_53bit.
1632 (libc_feupdateenv_53bit): Replace with
1633 libc_feresetround_53bit.
1634 (SET_RESTORE_ROUND_53BIT): Adjust.
1635
d180203e
SP
16362013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1637
96df079a
SP
1638 * string/test-strchrnul.c: Add copyright header.
1639
d180203e
SP
1640 * posix/tst-getaddrinfo4.c: Increase test timeout.
1641
8b0ccb2d
CD
16422013-06-03 Carlos O'Donell <carlos@redhat.com>
1643
1644 [BZ #15536]
1645 * math/libm-test.inc (MAX_EXP): Remove
1646 (MIN_EXP): Define.
1647 (ulp): Use MIN_EXP - MANT_DIG.
1648 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1649
3b3c4d40
CD
16502013-05-31 Carlos O'Donell <carlos@redhat.com>
1651
1652 * po/be.po: Revert last change.
1653 * po/zh_CN.po: Likewise.
1654 * po/header.pot: Likewise.
1655
fab7ce3f
JM
16562013-05-31 Joseph Myers <joseph@codesourcery.com>
1657
1658 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1659 link-libc-deps to empty as target-specific variable.
1660 * Makerules (link-libc-args): New variable.
1661 (libc-for-link): Likewise.
1662 (link-libc-deps): Likewise.
1663 (lib%.so): Depend on $(link-libc-deps). Link with
1664 $(link-libc-args).
1665 (build-module): Link with $(link-libc-args).
1666 (build-module-asneeded): Likewise.
1667 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1668 list of objects.
1669 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1670 target-specific variable.
1671 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1672 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1673 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1674 libc.
1675 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1676 libc and ld.so.
1677 ($(objpfx)libpcprofile.so): Likewise.
1678 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1679 libc_nonshared.a.
1680 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1681 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1682 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1683 $(link-libc-deps).
1684 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1685 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1686 * login/Makefile ($(objpfx)libutil.so): Likewise.
1687 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1688 * math/Makefile ($(objpfx)libm.so): Likewise.
1689 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1690 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1691 variable instead of depending directly on libc.
1692 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1693 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1694 $(link-libc-deps).
1695 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1696 libc.
1697 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1698 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1699 ($(objpfx)libanl.so): Likewise.
1700 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1701 ld.so.
1702 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1703 $(link-libc-deps).
1704 * sysdeps/i386/fpu/Makefile: Remove file.
1705 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1706 ($(objpfx)libm.so): Remove dependency on ld.so.
1707
eca5920c
PF
17082013-05-30 Patsy Franklin <pfrankli@redhat.com>
1709
1710 [BZ # 15553]
1711 * nis/yp_xdr.c (XDRMAXNAME): Define.
1712 (XDRMAXRECORD): Define.
1713 (xdr_domainname): Use XDRMAXNAME.
1714 (xdr_mapname): Likewise.
1715 (xdr_peername): Likewise.
1716 (xdr_keydat): Use XDRMAXRECORD.
1717 (xdr_valdat): Likewise.
1718
17192013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1720
1721 [BZ #14256]
1722 * manual/errno.texi (ESTALE): Update to account for more than
1723 just NFS file systems.
1724 * sysdeps/gnu/errlist.c: Regenerated.
1725
b9375348
SP
17262013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1727
1728 [BZ #15465]
1729 * elf/Makefile (tests): Add tst-null-argv.
1730 (modules-names): Add tst-null-argv-lib.
1731 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1732 (tst-null-argv-ENV): Set environment for tst-null-argv.
1733 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1734 (RTLD_PROGNAME): New macro.
1735 * elf/tst-null-argv.c: New test case.
1736 * elf/tst-null-argv-lib.c: Library for test case.
1737 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1738 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1739 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1740 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1741 * elf/dl-init.c (call_init): Likewise.
1742 (_dl_init): Likewise.
1743 * elf/dl-load.c (print_search_path): Likewise.
1744 (_dl_map_object): Likewise.
1745 * elf/dl-lookup.c (do_lookup_x): Likewise.
1746 (add_dependency): Likewise.
1747 (_dl_lookup_symbol_x): Likewise.
1748 (_dl_debug_bindings): Likewise.
1749 * elf/dl-open.c (_dl_show_scope): Likewise.
1750 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1751 * elf/dl-version.c (match_symbol): Likewise.
1752 (_dl_check_map_versions): Likewise.
1753 * elf/rtld.c (dl_main): Likewise.
1754 (print_unresolved): Use RTLD_PROGNAME.
1755 (print_missing_version): Likewise.
1756 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1757 (elf_machine_rela): Likewise.
1758 * sysdeps/powerpc/powerpc32/dl-machine.c
1759 (__process_machine_rela): Likewise.
1760 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1761 Likewise.
1762 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1763 Likewise.
1764 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1765 Likewise.
1766 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1767 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1768 Likewise.
1769 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1770 Likewise.
1771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1772
8a9f20c8
CD
17732013-05-28 Carlos O'Donell <carlos@redhat.com>
1774
1775 * po/be.po: Add descriptive title.
1776 * po/zh_CN.po: Likewise.
1777 * po/header.pot: Likewise.
1778
0e60d68e
MF
17792013-05-28 Mike Frysinger <vapier@gentoo.org>
1780
1781 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1782 error message.
1783 (enlarge_archive): Likewise.
1784
56b672e9
BN
17852013-05-28 Ben North <ben@redfrontdoor.org>
1786
1787 * manual/arith.texi (frexp): It is the magnitude of the return
1788 value which lies in [0.5, 1), not the return value itself.
1789
5e056687
AZ
17902013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1791
1792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1793
2b66ef5d
TS
17942013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1795
528c2405
TS
1796 * stdio-common/bug26.c (main): Correct fscanf template.
1797
07b4c13d
TS
1798 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1799 declare _dl_skip_args.
1800
ec9dd97c
TS
1801 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1802 Don't declare.
1803
2b66ef5d
TS
1804 * manual/platform.texi: Add missing @end deftypefun.
1805
4f8dfe27
JM
18062013-05-24 Joseph Myers <joseph@codesourcery.com>
1807
0323d086
JM
1808 [BZ #15529]
1809 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1810 bit of mantissa of 2^16382.
1811 * math/libm-test.inc (hypot_test_data): Add more tests.
1812
dd4259b9
JM
1813 * math/libm-test.inc: Add drem and pow10 to list of tested
1814 functions.
1815 (pow10_test): New function.
1816 (drem_test): Likewise.
1817 (drem_test_tonearest): Likewise.
1818 (drem_test_towardzero): Likewise.
1819 (drem_test_downward): Likewise.
1820 (drem_test_upward): Likewise.
1821 (main): Call the new functions.
1822
4f8dfe27
JM
1823 * math/libm-test.inc (finite_test_data): Remove.
1824 (finite_test): Run tests from isfinite_test_data.
1825 (gamma_test_data): Remove.
1826 (gamma_test): Run tests from lgamma_test_data.
1827 * sysdeps/i386/fpu/libm-test-ulps: Update.
1828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1829
d116b7c4
AZ
18302013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1831
1832 * manual/platform.texi: Add PowerPC PPR function set documentation.
1833 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1834 implementation.
1835
e96e3767
CD
18362013-05-24 Carlos O'Donell <carlos@redhat.com>
1837
1838 * math/libm-test.inc (MAX_EXP): Define.
1839 (ULPDIFF): Define.
1840 (ulp): New function.
1841 (check_float_internal): Use ULPDIFF.
1842 (cpow_test): Disable failing test.
1843 (check_ulp): Test ulp() implemetnation.
1844 (main): Call check_ulp before starting tests.
1845
b679a606
JM
18462013-05-24 Joseph Myers <joseph@codesourcery.com>
1847
e8bdba36
JM
1848 * math/gen-libm-test.pl (generate_testfile): Do not handle
1849 START_DATA and END_DATA.
1850 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1851 END_DATA.
1852 (acos_tonearest_test_data): Likewise.
1853 (acos_towardzero_test_data): Likewise.
1854 (acos_downward_test_data): Likewise.
1855 (acos_upward_test_data): Likewise.
1856 (acosh_test_data): Likewise.
1857 (asin_test_data): Likewise.
1858 (asin_tonearest_test_data): Likewise.
1859 (asin_towardzero_test_data): Likewise.
1860 (asin_downward_test_data): Likewise.
1861 (asin_upward_test_data): Likewise.
1862 (asinh_test_data): Likewise.
1863 (atan_test_data): Likewise.
1864 (atanh_test_data): Likewise.
1865 (atan2_test_data): Likewise.
1866 (cabs_test_data): Likewise.
1867 (cacos_test_data): Likewise.
1868 (cacosh_test_data): Likewise.
1869 (carg_test_data): Likewise.
1870 (casin_test_data): Likewise.
1871 (casinh_test_data): Likewise.
1872 (catan_test_data): Likewise.
1873 (catanh_test_data): Likewise.
1874 (cbrt_test_data): Likewise.
1875 (ccos_test_data): Likewise.
1876 (ccosh_test_data): Likewise.
1877 (ceil_test_data): Likewise.
1878 (cexp_test_data): Likewise.
1879 (cimag_test_data): Likewise.
1880 (clog_test_data): Likewise.
1881 (clog10_test_data): Likewise.
1882 (conj_test_data): Likewise.
1883 (copysign_test_data): Likewise.
1884 (cos_test_data): Likewise.
1885 (cos_tonearest_test_data): Likewise.
1886 (cos_towardzero_test_data): Likewise.
1887 (cos_downward_test_data): Likewise.
1888 (cos_upward_test_data): Likewise.
1889 (cosh_test_data): Likewise.
1890 (cosh_tonearest_test_data): Likewise.
1891 (cosh_towardzero_test_data): Likewise.
1892 (cosh_downward_test_data): Likewise.
1893 (cosh_upward_test_data): Likewise.
1894 (cpow_test_data): Likewise.
1895 (cproj_test_data): Likewise.
1896 (creal_test_data): Likewise.
1897 (csin_test_data): Likewise.
1898 (csinh_test_data): Likewise.
1899 (csqrt_test_data): Likewise.
1900 (ctan_test_data): Likewise.
1901 (ctan_tonearest_test_data): Likewise.
1902 (ctan_towardzero_test_data): Likewise.
1903 (ctan_downward_test_data): Likewise.
1904 (ctan_upward_test_data): Likewise.
1905 (ctanh_test_data): Likewise.
1906 (ctanh_tonearest_test_data): Likewise.
1907 (ctanh_towardzero_test_data): Likewise.
1908 (ctanh_downward_test_data): Likewise.
1909 (ctanh_upward_test_data): Likewise.
1910 (erf_test_data): Likewise.
1911 (erfc_test_data): Likewise.
1912 (exp_test_data): Likewise.
1913 (exp_tonearest_test_data): Likewise.
1914 (exp_towardzero_test_data): Likewise.
1915 (exp_downward_test_data): Likewise.
1916 (exp_upward_test_data): Likewise.
1917 (exp10_test_data): Likewise.
1918 (exp2_test_data): Likewise.
1919 (expm1_test_data): Likewise.
1920 (fabs_test_data): Likewise.
1921 (fdim_test_data): Likewise.
1922 (finite_test_data): Likewise.
1923 (floor_test_data): Likewise.
1924 (fma_test_data): Likewise.
1925 (fma_towardzero_test_data): Likewise.
1926 (fma_downward_test_data): Likewise.
1927 (fma_upward_test_data): Likewise.
1928 (fmax_test_data): Likewise.
1929 (fmin_test_data): Likewise.
1930 (fmod_test_data): Likewise.
1931 (fpclassify_test_data): Likewise.
1932 (frexp_test_data): Likewise.
1933 (gamma_test_data): Likewise.
1934 (hypot_test_data): Likewise.
1935 (ilogb_test_data): Likewise.
1936 (isfinite_test_data): Likewise.
1937 (isgreater_test_data): Likewise.
1938 (isgreaterequal_test_data): Likewise.
1939 (isinf_test_data): Likewise.
1940 (isless_test_data): Likewise.
1941 (islessequal_test_data): Likewise.
1942 (islessgreater_test_data): Likewise.
1943 (isnan_test_data): Likewise.
1944 (isnormal_test_data): Likewise.
1945 (issignaling_test_data): Likewise.
1946 (isunordered_test_data): Likewise.
1947 (j0_test_data): Likewise.
1948 (j1_test_data): Likewise.
1949 (jn_test_data): Likewise.
1950 (ldexp_test_data): Likewise.
1951 (lgamma_test_data): Likewise.
1952 (lrint_test_data): Likewise.
1953 (lrint_tonearest_test_data): Likewise.
1954 (lrint_towardzero_test_data): Likewise.
1955 (lrint_downward_test_data): Likewise.
1956 (lrint_upward_test_data): Likewise.
1957 (llrint_test_data): Likewise.
1958 (llrint_tonearest_test_data): Likewise.
1959 (llrint_towardzero_test_data): Likewise.
1960 (llrint_downward_test_data): Likewise.
1961 (llrint_upward_test_data): Likewise.
1962 (log_test_data): Likewise.
1963 (log10_test_data): Likewise.
1964 (log1p_test_data): Likewise.
1965 (log2_test_data): Likewise.
1966 (logb_test_data): Likewise.
1967 (logb_downward_test_data): Likewise.
1968 (lround_test_data): Likewise.
1969 (llround_test_data): Likewise.
1970 (modf_test_data): Likewise.
1971 (nearbyint_test_data): Likewise.
1972 (nextafter_test_data): Likewise.
1973 (nexttoward_test_data): Likewise.
1974 (pow_test_data): Likewise.
1975 (pow_tonearest_test_data): Likewise.
1976 (pow_towardzero_test_data): Likewise.
1977 (pow_downward_test_data): Likewise.
1978 (pow_upward_test_data): Likewise.
1979 (remainder_test_data): Likewise.
1980 (remainder_tonearest_test_data): Likewise.
1981 (remainder_towardzero_test_data): Likewise.
1982 (remainder_downward_test_data): Likewise.
1983 (remainder_upward_test_data): Likewise.
1984 (remquo_test_data): Likewise.
1985 (rint_test_data): Likewise.
1986 (rint_tonearest_test_data): Likewise.
1987 (rint_towardzero_test_data): Likewise.
1988 (rint_downward_test_data): Likewise.
1989 (rint_upward_test_data): Likewise.
1990 (round_test_data): Likewise.
1991 (scalb_test_data): Likewise.
1992 (scalbn_test_data): Likewise.
1993 (scalbln_test_data): Likewise.
1994 (signbit_test_data): Likewise.
1995 (sin_test_data): Likewise.
1996 (sin_tonearest_test_data): Likewise.
1997 (sin_towardzero_test_data): Likewise.
1998 (sin_downward_test_data): Likewise.
1999 (sin_upward_test_data): Likewise.
2000 (sincos_test_data): Likewise.
2001 (sinh_test_data): Likewise.
2002 (sinh_tonearest_test_data): Likewise.
2003 (sinh_towardzero_test_data): Likewise.
2004 (sinh_downward_test_data): Likewise.
2005 (sinh_upward_test_data): Likewise.
2006 (sqrt_test_data): Likewise.
2007 (tan_test_data): Likewise.
2008 (tan_tonearest_test_data): Likewise.
2009 (tan_towardzero_test_data): Likewise.
2010 (tan_downward_test_data): Likewise.
2011 (tan_upward_test_data): Likewise.
2012 (tanh_test_data): Likewise.
2013 (tgamma_test_data): Likewise.
2014 (trunc_test_data): Likewise.
2015 (y0_test_data): Likewise.
2016 (y1_test_data): Likewise.
2017 (yn_test_data): Likewise.
2018 (significand_test_data): Likewise.
2019
b679a606
JM
2020 * math/gen-libm-test.pl (@functions): Remove variable.
2021 (generate_testfile): Don't handle START and END lines.
2022 * math/libm-test.inc (START): New macro.
2023 (END): Likewise.
2024 (END_COMPLEX): Likewise.
2025 (acos_test): Use END macro without arguments.
2026 (acos_test_tonearest): Likewise.
2027 (acos_test_towardzero): Likewise.
2028 (acos_test_downward): Likewise.
2029 (acos_test_upward): Likewise.
2030 (acosh_test): Likewise.
2031 (asin_test): Likewise.
2032 (asin_test_tonearest): Likewise.
2033 (asin_test_towardzero): Likewise.
2034 (asin_test_downward): Likewise.
2035 (asin_test_upward): Likewise.
2036 (asinh_test): Likewise.
2037 (atan_test): Likewise.
2038 (atanh_test): Likewise.
2039 (atan2_test): Likewise.
2040 (cabs_test): Likewise.
2041 (cacos_test): Use END_COMPLEX macro without arguments.
2042 (cacosh_test): Likewise.
2043 (carg_test): Use END macro without arguments.
2044 (casin_test): Use END_COMPLEX macro without arguments.
2045 (casinh_test): Likewise.
2046 (catan_test): Likewise.
2047 (catanh_test): Likewise.
2048 (cbrt_test): Use END macro without arguments.
2049 (ccos_test): Use END_COMPLEX macro without arguments.
2050 (ccosh_test): Likewise.
2051 (ceil_test): Use END macro without arguments.
2052 (cexp_test): Use END_COMPLEX macro without arguments.
2053 (cimag_test): Use END macro without arguments.
2054 (clog_test): Use END_COMPLEX macro without arguments.
2055 (clog10_test): Likewise.
2056 (conj_test): Likewise.
2057 (copysign_test): Use END macro without arguments.
2058 (cos_test): Likewise.
2059 (cos_test_tonearest): Likewise.
2060 (cos_test_towardzero): Likewise.
2061 (cos_test_downward): Likewise.
2062 (cos_test_upward): Likewise.
2063 (cosh_test): Likewise.
2064 (cosh_test_tonearest): Likewise.
2065 (cosh_test_towardzero): Likewise.
2066 (cosh_test_downward): Likewise.
2067 (cosh_test_upward): Likewise.
2068 (cpow_test): Use END_COMPLEX macro without arguments.
2069 (cproj_test): Likewise.
2070 (creal_test): Use END macro without arguments.
2071 (csin_test): Use END_COMPLEX macro without arguments.
2072 (csinh_test): Likewise.
2073 (csqrt_test): Likewise.
2074 (ctan_test): Likewise.
2075 (ctan_test_tonearest): Likewise.
2076 (ctan_test_towardzero): Likewise.
2077 (ctan_test_downward): Likewise.
2078 (ctan_test_upward): Likewise.
2079 (ctanh_test): Likewise.
2080 (ctanh_test_tonearest): Likewise.
2081 (ctanh_test_towardzero): Likewise.
2082 (ctanh_test_downward): Likewise.
2083 (ctanh_test_upward): Likewise.
2084 (erf_test): Use END macro without arguments.
2085 (erfc_test): Likewise.
2086 (exp_test): Likewise.
2087 (exp_test_tonearest): Likewise.
2088 (exp_test_towardzero): Likewise.
2089 (exp_test_downward): Likewise.
2090 (exp_test_upward): Likewise.
2091 (exp10_test): Likewise.
2092 (exp2_test): Likewise.
2093 (expm1_test): Likewise.
2094 (fabs_test): Likewise.
2095 (fdim_test): Likewise.
2096 (finite_test): Likewise.
2097 (floor_test): Likewise.
2098 (fma_test): Likewise.
2099 (fma_test_towardzero): Likewise.
2100 (fma_test_downward): Likewise.
2101 (fma_test_upward): Likewise.
2102 (fmax_test): Likewise.
2103 (fmin_test): Likewise.
2104 (fmod_test): Likewise.
2105 (fpclassify_test): Likewise.
2106 (frexp_test): Likewise.
2107 (gamma_test): Likewise.
2108 (hypot_test): Likewise.
2109 (ilogb_test): Likewise.
2110 (isfinite_test): Likewise.
2111 (isgreater_test): Likewise.
2112 (isgreaterequal_test): Likewise.
2113 (isinf_test): Likewise.
2114 (isless_test): Likewise.
2115 (islessequal_test): Likewise.
2116 (islessgreater_test): Likewise.
2117 (isnan_test): Likewise.
2118 (isnormal_test): Likewise.
2119 (issignaling_test): Likewise.
2120 (isunordered_test): Likewise.
2121 (j0_test): Likewise.
2122 (j1_test): Likewise.
2123 (jn_test): Likewise.
2124 (ldexp_test): Likewise.
2125 (lgamma_test): Likewise.
2126 (lrint_test): Likewise.
2127 (lrint_test_tonearest): Likewise.
2128 (lrint_test_towardzero): Likewise.
2129 (lrint_test_downward): Likewise.
2130 (lrint_test_upward): Likewise.
2131 (llrint_test): Likewise.
2132 (llrint_test_tonearest): Likewise.
2133 (llrint_test_towardzero): Likewise.
2134 (llrint_test_downward): Likewise.
2135 (llrint_test_upward): Likewise.
2136 (log_test): Likewise.
2137 (log10_test): Likewise.
2138 (log1p_test): Likewise.
2139 (log2_test): Likewise.
2140 (logb_test): Likewise.
2141 (logb_test_downward): Likewise.
2142 (lround_test): Likewise.
2143 (llround_test): Likewise.
2144 (modf_test): Likewise.
2145 (nearbyint_test): Likewise.
2146 (nextafter_test): Likewise.
2147 (nexttoward_test): Likewise.
2148 (pow_test): Likewise.
2149 (pow_test_tonearest): Likewise.
2150 (pow_test_towardzero): Likewise.
2151 (pow_test_downward): Likewise.
2152 (pow_test_upward): Likewise.
2153 (remainder_test): Likewise.
2154 (remainder_test_tonearest): Likewise.
2155 (remainder_test_towardzero): Likewise.
2156 (remainder_test_downward): Likewise.
2157 (remainder_test_upward): Likewise.
2158 (remquo_test): Likewise.
2159 (rint_test): Likewise.
2160 (rint_test_tonearest): Likewise.
2161 (rint_test_towardzero): Likewise.
2162 (rint_test_downward): Likewise.
2163 (rint_test_upward): Likewise.
2164 (round_test): Likewise.
2165 (scalb_test): Likewise.
2166 (scalbn_test): Likewise.
2167 (scalbln_test): Likewise.
2168 (signbit_test): Likewise.
2169 (sin_test): Likewise.
2170 (sin_test_tonearest): Likewise.
2171 (sin_test_towardzero): Likewise.
2172 (sin_test_downward): Likewise.
2173 (sin_test_upward): Likewise.
2174 (sincos_test): Likewise.
2175 (sinh_test): Likewise.
2176 (sinh_test_tonearest): Likewise.
2177 (sinh_test_towardzero): Likewise.
2178 (sinh_test_downward): Likewise.
2179 (sinh_test_upward): Likewise.
2180 (sqrt_test): Likewise.
2181 (tan_test): Likewise.
2182 (tan_test_tonearest): Likewise.
2183 (tan_test_towardzero): Likewise.
2184 (tan_test_downward): Likewise.
2185 (tan_test_upward): Likewise.
2186 (tanh_test): Likewise.
2187 (tgamma_test): Likewise.
2188 (trunc_test): Likewise.
2189 (y0_test): Likewise.
2190 (y1_test): Likewise.
2191 (yn_test): Likewise.
2192 (significand_test): Likewise.
2193
bae143d2
OB
21942013-05-24 Ondřej Bílka <neleai@seznam.cz>
2195
2196 [BZ #15381]
2197 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2198
9323d39b
EM
21992013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2200
d4ea44a0 2201 [BZ #14894]
9323d39b
EM
2202 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2203 __ppc_mdoio and __ppc_mdoom.
2204 * manual/platform.texi: Document new functions __ppc_yield,
2205 __ppc_mdoio and __ppc_mdoom.
2206
13e23af7
CD
22072013-05-22 Carlos O'Donell <carlos@redhat.com>
2208
2209 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2210 (main): Mention "tls" pseudo-hwcap is legacy.
2211 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2212
351fe550
JM
22132013-05-22 Joseph Myers <joseph@codesourcery.com>
2214
2215 * math/gen-libm-test.pl (parse_args): Output only string of
2216 arguments as text for test name, not full call or descriptions of
2217 tests for extra outputs.
2218 (generate_testfile): Do not pass function name to parse_args.
2219 Generate this_func variable from START.
2220 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2221 field to arg_str.
2222 (struct test_ff_f_data): Likewise.
2223 (test_ff_f_data_nexttoward): Likewise.
2224 (struct test_fi_f_data): Likewise.
2225 (struct test_fl_f_data): Likewise.
2226 (struct test_if_f_data): Likewise.
2227 (struct test_fff_f_data): Likewise.
2228 (struct test_c_f_data): Likewise.
2229 (struct test_f_f1_data): Likewise. Remove field extra_name.
2230 (struct test_fF_f1_data): Likewise.
2231 (struct test_ffI_f1_data): Likewise.
2232 (struct test_c_c_data): Rename test_name field to arg_str.
2233 (struct test_cc_c_data): Likewise.
2234 (struct test_f_i_data): Likewise.
2235 (struct test_ff_i_data): Likewise.
2236 (struct test_f_l_data): Likewise.
2237 (struct test_f_L_data): Likewise.
2238 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2239 and extra2_name.
2240 (COMMON_TEST_SETUP): New macro.
2241 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2242 (COMMON_TEST_CLEANUP): Likewise.
2243 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2244 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2245 macros.
2246 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2247 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2248 macros.
2249 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2250 (RUN_TEST_fff_f): Take argument string. Call new setup and
2251 cleanup macros.
2252 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2253 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2254 macros.
2255 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2256 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2257 macros.
2258 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2259 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2260 cleanup macros.
2261 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2262 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2263 cleanup macros.
2264 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2265 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2266 cleanup macros.
2267 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2268 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2269 macros.
2270 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2271 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2272 macros.
2273 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2274 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2275 macros.
2276 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2277 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2278 cleanup macros.
2279 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2280 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2281 cleanup macros.
2282 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2283 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2284 macros.
2285 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2286 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2287 cleanup macros.
2288 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2289 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2290 macros.
2291 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2292 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2293 macros.
2294 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2295 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2296 cleanup macros.
2297 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2298
85118d4d
EBM
22992013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2300
2301 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2302 to _sifields.sigfault.
2303 (si_addr_lsb): Define new macro.
2304 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2305 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2306 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2307
7a44c18f
CD
23082013-05-03 Carlos O'Donell <carlos at redhat.com>
2309
2310 [BZ #15441]
2311 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2312 returns -1.
2313 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2314 null return -1.
2315 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2316 loading the domain.
2317
b50a7181
JM
23182013-05-22 Joseph Myers <joseph@codesourcery.com>
2319
2320 * math/gen-libm-test.pl (parse_args): Do not include expected
2321 result in test name.
2322 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2324 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2325 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2326 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2328
051063c8
SP
23292013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2330
3ce9e010
SP
2331 * benchtests/Makefile: Sort function entries.
2332
051063c8
SP
2333 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2334 tanh, asinh, acosh, atanh.
2335 * benchtests/acos-inputs: New file.
2336 * benchtests/acosh-inputs: New file.
2337 * benchtests/asin-inputs: New file.
2338 * benchtests/asinh-inputs: New file.
2339 * benchtests/atanh-inputs: New file.
2340 * benchtests/cosh-inputs: New file.
2341 * benchtests/log-inputs: New file.
2342 * benchtests/sinh-inputs: New file.
2343 * benchtests/tanh-inputs: New file.
2344
47c22455
DL
23452013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2346
2347 [BZ #15339]
2348 * posix/tst-getaddrinfo4.c: New test.
2349 * posix/Makefile (tests): Add it.
2350
3d04f5db
SP
23512013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2352
2353 [BZ #15339]
2354 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2355 when no services were used.
2356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2357 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2358
d5dd6189
AS
23592013-05-21 Andreas Schwab <schwab@suse.de>
2360
2361 [BZ #15014]
2362 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2363 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2364 successful.
2365 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2366 redundant variable declarations and reallocation of buffer when
2367 parsing as IPv6 address. Always set NSS status when called from
2368 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2369 buffer too small. Correct computation of needed size.
2370 * nss/Makefile (tests): Add test-digits-dots.
2371 * nss/test-digits-dots.c: New test.
2372
fef94eab
SP
23732013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2374
2375 * benchtests/Makefile: Remove instructions for adding
2376 benchmark tests.
2377 * benchtests/README: New file to explain how to execute and
2378 enhance the benchmark tests.
2379
e39adf43
AS
23802013-05-21 Andreas Schwab <schwab@suse.de>
2381
2382 [BZ #15493]
2383 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2384 * setjmp/tst-sigsetjmp.c: New test.
2385
b2b671b6
OB
23862013-05-20 Ondřej Bílka <neleai@seznam.cz>
2387
2388 * sysdeps/x86_64/memset.S (memset): New implementation.
2389 (__bzero): Likewise.
2390 (__memset_tail): New function.
2391
2d48b41c
OB
23922013-05-20 Ondřej Bílka <neleai@seznam.cz>
2393
2394 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2395 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2396 __memcpy_sse2_unaligned ifunc selection.
2397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2398 Add memcpy-sse2-unaligned.S.
2399 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2400 Add: __memcpy_sse2_unaligned.
2401
f16cc3eb
JM
24022013-05-19 Joseph Myers <joseph@codesourcery.com>
2403
3e694268
JM
2404 [BZ #15490]
2405 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2406 math_force_eval before restoring floating-point envrionment.
2407 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2408 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2409 Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2411 <math_private.h>.
2412 (__nearbyintl): Use math_force_eval before restoring
2413 floating-point environment.
2414 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2415
db62a907
JM
2416 * math/gen-libm-test.pl (special_functions): Remove.
2417 (parse_args): Don't handle TEST_extra. Handle functions with no
2418 return value.
2419 * math/libm-test.inc (struct test_sincos_data): Replace with
2420 struct test_fFF_11_data.
2421 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2422 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2423 (sincos_test_data): Change element type to struct
2424 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2425 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2426 RUN_TEST_LOOP_sincos.
2427 * math/README.libm-test: Don't mention special handling of
2428 individual functions.
2429 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2430 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2431 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2432 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2433 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2435
f16cc3eb
JM
2436 * math/gen-libm-test.pl (get_variable): Remove function.
2437 (parse_args): Don't show pointer parameters to call in test
2438 names. Use "extra output N" in test names for extra outputs
2439 rather than naming variables.
2440
3779b5b6
JM
24412013-05-18 Joseph Myers <joseph@codesourcery.com>
2442
2ee094ff
JM
2443 [BZ #15488]
2444 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2445 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2446 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2447 double tests.
2448 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2449 disable.
2450 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2451 check_long_double.
2452
3779b5b6
JM
2453 * math/gen-libm-test.pl (@tests): Remove variable.
2454 ($count): Likewise.
2455 (new_test): Remove function.
2456 (show_exceptions): New function.
2457 (special_functions): Use show_exceptions instead of new_test.
2458 (parse_args): Likewise.
2459 (generate_testfile): Pass only function name in generated call to
2460 print_max_error or print_complex_max_error.
2461 (get_ulps): Do not handle complex tests specially.
2462 (output_test): Rename to ...
2463 (get_all_ulps_for_test): ... this. Return a string rather than
2464 printing to a file. Require ulps to be present.
2465 (output_ulps): Generate arrays rather than #defines.
2466 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2467 (struct ulp_data): New type.
2468 (BUILD_COMPLEX_ULP): Remove macro.
2469 (compare_ulp_data): New function.
2470 (find_ulps): Likewise.
2471 (find_test_ulps): Likewise.
2472 (find_function_ulps): Likewise.
2473 (find_complex_function_ulps): Likewise.
2474 (print_max_error): Determine allowed ulps using
2475 find_function_ulps.
2476 (print_complex_max_error): Determine allowed ulps using
2477 find_complex_function_ulps.
2478 (check_float_internal): Determine max ulps using find_test_ulps.
2479 (check_float): Do not take max_ulp parameter. Update call to
2480 check_float_internal.
2481 (check_complex): Likewise.
2482 (check_int): Do not take max_ulp parameter.
2483 (check_long): Likewise.
2484 (check_bool): Likewise.
2485 (check_longlong): Likewise.
2486 (struct test_f_f_data): Remove max_ulp field.
2487 (struct test_ff_f_data): Likewise.
2488 (struct test_ff_f_data_nexttoward): Likewise.
2489 (struct test_fi_f_data): Likewise.
2490 (struct test_fl_f_data): Likewise.
2491 (struct test_if_f_data): Likewise.
2492 (struct test_fff_f_data): Likewise.
2493 (struct test_c_f_data): Likewise.
2494 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2495 (struct test_fF_f1_data): Likewise.
2496 (struct test_ffI_f1_data): Likewise.
2497 (struct test_c_c_data): Remove max_ulp field.
2498 (struct test_cc_c_data): Likewise.
2499 (struct test_f_i_data): Likewise.
2500 (struct test_ff_i_data): Likewise.
2501 (struct test_f_l_data): Likewise.
2502 (struct test_f_L_data): Likewise.
2503 (struct test_sincos_data): Likewise.
2504 (RUN_TEST_f_f): Do not handle ulps.
2505 (RUN_TEST_LOOP_f_f): Likewise.
2506 (RUN_TEST_2_f): Likewise.
2507 (RUN_TEST_LOOP_2_f): Likewise.
2508 (RUN_TEST_fff_f): Likewise.
2509 (RUN_TEST_LOOP_fff_f): Likewise.
2510 (RUN_TEST_c_f): Likewise.
2511 (RUN_TEST_LOOP_c_f): Likewise.
2512 (RUN_TEST_f_f1): Likewise.
2513 (RUN_TEST_LOOP_f_f1): Likewise.
2514 (RUN_TEST_fF_f1): Likewise.
2515 (RUN_TEST_LOOP_fF_f1): Likewise.
2516 (RUN_TEST_fI_f1): Likewise.
2517 (RUN_TEST_LOOP_fI_f1): Likewise.
2518 (RUN_TEST_ffI_f1): Likewise.
2519 (RUN_TEST_LOOP_ffI_f1): Likewise.
2520 (RUN_TEST_c_c): Likewise.
2521 (RUN_TEST_LOOP_c_c): Likewise.
2522 (RUN_TEST_cc_c): Likewise.
2523 (RUN_TEST_LOOP_cc_c): Likewise.
2524 (RUN_TEST_f_i): Likewise.
2525 (RUN_TEST_LOOP_f_i): Likewise.
2526 (RUN_TEST_f_i_tg): Likewise.
2527 (RUN_TEST_LOOP_f_i_tg): Likewise.
2528 (RUN_TEST_ff_i_tg): Likewise.
2529 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2530 (RUN_TEST_f_b): Likewise.
2531 (RUN_TEST_LOOP_f_b): Likewise.
2532 (RUN_TEST_f_b_tg): Likewise.
2533 (RUN_TEST_LOOP_f_b_tg): Likewise.
2534 (RUN_TEST_f_l): Likewise.
2535 (RUN_TEST_LOOP_f_l): Likewise.
2536 (RUN_TEST_f_L): Likewise.
2537 (RUN_TEST_LOOP_f_L): Likewise.
2538 (RUN_TEST_sincos): Likewise.
2539 (RUN_TEST_LOOP_sincos): Likewise.
2540
8269107f
JM
25412013-05-17 Joseph Myers <joseph@codesourcery.com>
2542
bb38759d
JM
2543 [BZ #15480]
2544 [BZ #15485]
2545 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2546 main case of finite arguments, set rounding mode to FE_TONEAREST
2547 and discard exceptions.
2548 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2549 exceptions.
2550 (remainder_tonearest_test_data): New variable.
2551 (remainder_test_tonearest): New function.
2552 (remainder_towardzero_test_data): New variable.
2553 (remainder_test_towardzero): New function.
2554 (remainder_downward_test_data): New variable.
2555 (remainder_test_downward): New function.
2556 (remainder_upward_test_data): New variable.
2557 (remainder_test_upward): New function.
2558 (main): Call the new test functions.
2559
a00bdcf0
JM
2560 * math/libm-test.inc (struct test_f_f1_data): Remove field
2561 extra_init.
2562 (struct test_fF_f1_data): Likewise.
2563 (struct test_ffI_f1_data): Likewise.
2564 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2565 based on value of EXTRA_EXPECTED.
2566 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2567 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2568 EXTRA_VAR based on value of EXTRA_EXPECTED.
2569 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2570 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2571 EXTRA_VAR based on value of EXTRA_EXPECTED.
2572 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2573 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2574 EXTRA_VAR based on value of EXTRA_EXPECTED.
2575 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2576 * math/gen-libm-test.pl (parse_args): Don't output initializers
2577 for extra output values.
2578
de407f79
JM
2579 * math/libm-test.inc (check_int): Expect result to be exactly
2580 equal to expected value and do not handle ulps.
2581 (check_long): Likewise.
2582 (check_longlong): Likewise.
2583
8269107f
JM
2584 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2585 exceptions.
2586 (cimag_test_data): Likewise.
2587 (conj_test_data): Likewise.
2588 (copysign_test_data): Likewise.
2589 (cproj_test_data): Likewise.
2590 (creal_test_data): Likewise.
2591 (fabs_test_data): Likewise.
2592 (fdim_test_data): Likewise.
2593 (finite_test_data): Likewise.
2594 (floor_test_data): Likewise.
2595 (fmax_test_data): Likewise.
2596 (fmin_test_data): Likewise.
2597 (fmod_test_data): Likewise.
2598 (fpclassify_test_data): Likewise.
2599 (frexp_test_data): Likewise.
2600 (ilogb_test_data): Likewise.
2601 (isfinite_test_data): Likewise.
2602 (isgreater_test_data): Likewise.
2603 (isgreaterequal_test_data): Likewise.
2604 (isinf_test_data): Likewise.
2605 (isless_test_data): Likewise.
2606 (islessequal_test_data): Likewise.
2607 (islessgreater_test_data): Likewise.
2608 (isnan_test_data): Likewise.
2609 (isnormal_test_data): Likewise.
2610 (issignaling_test_data): Likewise.
2611 (isunordered_test_data): Likewise.
2612 (ldexp_test_data): Likewise.
2613 (lrint_test_data): Likewise.
2614 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2615 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2616 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2617 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2618 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2619 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2620 test input.
2621 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2622 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2623 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2624 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2625 that test input.
2626 (lrint_downward_test_data): Test for "inexact" exceptions.
2627 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2628 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2629 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2630 test input.
2631 (lrint_upward_test_data): Test for "inexact" exceptions.
2632 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2633 test input.
2634 (llrint_test_data): Test for "inexact" exceptions.
2635 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2636 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2637 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2638 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2639 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2640 (llrint_downward_test_data): Test for "inexact" exceptions.
2641 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2642 (llrint_upward_test_data): Test for "inexact" exceptions.
2643 (logb_test_data): Likewise.
2644 (logb_downward_test_data): Likewise.
2645 (nextafter_test_data): Likewise.
2646 (nexttoward_test_data): Likewise.
2647 (remainder_test_data): Likewise.
2648 (remquo_test_data): Likewise.
2649 (scalbn_test_data): Likewise.
2650 (scalbln_test_data): Likewise.
2651 (signbit_test_data): Likewise.
2652 (sqrt_test_data): Likewise.
2653 (significand_test_data): Likewise.
2654
48a18de1
SP
26552013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2656
2657 [BZ #15424]
2658 * benchtests/bench-modf.c (struct args): Mark arg0 as
2659 volatile.
2660 * scripts/bench.pl: Mark members of struct args as volatile.
2661
13d3b41a
AZ
26622013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2663
68191c1d 2664 [BZ # 15497]
13d3b41a
AZ
2665 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2666 negative infinity on POWER6 or lower.
2667 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2668
2848b105
MR
26692013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2670
2671 [BZ #15442]
2672 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2673 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2674 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2675 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2676 (_FP_SETQNAN): New macro.
2677 (_FP_SETQNAN_SEMIRAW): Likewise.
2678 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2679 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2680 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2681 (FP_EXTEND): Use _FP_FRAC_SNANP.
2682 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2683 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2684 into account.
2685 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2686 New macro.
2687 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2688 Likewise.
2689
323e5cb7
JM
26902013-05-16 Joseph Myers <joseph@codesourcery.com>
2691
c58b274f
JM
2692 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2693 with DIVIDE_BY_ZERO_EXCEPTION.
2694 (gamma_test_data): Likewise.
2695 (lgamma_test_data): Likewise.
2696 (log_test_data): Likewise.
2697 (log10_test_data): Likewise.
2698 (log2_test_data): Likewise.
2699 (tgamma_test_data): Likewise.
2700
0ab34904
JM
2701 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2702 (acos_test_tonearest): Likewise.
2703 (acos_test_towardzero): Likewise.
2704 (acos_test_downward): Likewise.
2705 (acos_test_upward): Likewise.
2706 (acosh_test): Likewise.
2707 (asin_test): Likewise.
2708 (asin_test_tonearest): Likewise.
2709 (asin_test_towardzero): Likewise.
2710 (asin_test_downward): Likewise.
2711 (asin_test_upward): Likewise.
2712 (asinh_test): Likewise.
2713 (atan_test): Likewise.
2714 (atanh_test): Likewise.
2715 (atan2_test): Likewise.
2716 (cabs_test): Likewise.
2717 (cacos_test): Likewise.
2718 (cacosh_test): Likewise.
2719 (casin_test): Likewise.
2720 (casinh_test): Likewise.
2721 (catan_test): Likewise.
2722 (catanh_test): Likewise.
2723 (cbrt_test): Likewise.
2724 (ccos_test): Likewise.
2725 (ccosh_test): Likewise.
2726 (cexp_test): Likewise.
2727 (clog_test): Likewise.
2728 (clog10_test): Likewise.
2729 (cos_test): Likewise.
2730 (cos_test_tonearest): Likewise.
2731 (cos_test_towardzero): Likewise.
2732 (cos_test_downward): Likewise.
2733 (cos_test_upward): Likewise.
2734 (cosh_test): Likewise.
2735 (cosh_test_tonearest): Likewise.
2736 (cosh_test_towardzero): Likewise.
2737 (cosh_test_downward): Likewise.
2738 (cosh_test_upward): Likewise.
2739 (cpow_test): Likewise.
2740 (csin_test): Likewise.
2741 (csinh_test): Likewise.
2742 (csqrt_test): Likewise.
2743 (ctan_test): Likewise.
2744 (ctan_test_tonearest): Likewise.
2745 (ctan_test_towardzero): Likewise.
2746 (ctan_test_downward): Likewise.
2747 (ctan_test_upward): Likewise.
2748 (ctanh_test): Likewise.
2749 (ctanh_test_tonearest): Likewise.
2750 (ctanh_test_towardzero): Likewise.
2751 (ctanh_test_downward): Likewise.
2752 (ctanh_test_upward): Likewise.
2753 (erf_test): Likewise.
2754 (erfc_test): Likewise.
2755 (exp_test): Likewise.
2756 (exp_test_tonearest): Likewise.
2757 (exp_test_towardzero): Likewise.
2758 (exp_test_downward): Likewise.
2759 (exp_test_upward): Likewise.
2760 (exp10_test): Likewise.
2761 (exp2_test): Likewise.
2762 (expm1_test): Likewise.
2763 (fmod_test): Likewise.
2764 (gamma_test): Likewise.
2765 (hypot_test): Likewise.
2766 (j0_test): Likewise.
2767 (j1_test): Likewise.
2768 (jn_test): Likewise.
2769 (lgamma_test): Likewise.
2770 (log_test): Likewise.
2771 (log10_test): Likewise.
2772 (log1p_test): Likewise.
2773 (log2_test): Likewise.
2774 (logb_test_downward): Likewise.
2775 (pow_test): Likewise.
2776 (pow_test_tonearest): Likewise.
2777 (pow_test_towardzero): Likewise.
2778 (pow_test_downward): Likewise.
2779 (pow_test_upward): Likewise.
2780 (remainder_test): Likewise.
2781 (remquo_test): Likewise.
2782 (sin_test): Likewise.
2783 (sin_test_tonearest): Likewise.
2784 (sin_test_towardzero): Likewise.
2785 (sin_test_downward): Likewise.
2786 (sin_test_upward): Likewise.
2787 (sincos_test): Likewise.
2788 (sinh_test): Likewise.
2789 (sinh_test_tonearest): Likewise.
2790 (sinh_test_towardzero): Likewise.
2791 (sinh_test_downward): Likewise.
2792 (sinh_test_upward): Likewise.
2793 (sqrt_test): Likewise.
2794 (tan_test): Likewise.
2795 (tan_test_tonearest): Likewise.
2796 (tan_test_towardzero): Likewise.
2797 (tan_test_downward): Likewise.
2798 (tan_test_upward): Likewise.
2799 (tanh_test): Likewise.
2800 (tgamma_test): Likewise.
2801 (y0_test): Likewise.
2802 (y1_test): Likewise.
2803 (yn_test): Likewise.
2804
323e5cb7
JM
2805 * math/gen-libm-test.pl (adjust_arg): Remove function.
2806 (special_function): Remove argument $in_func. Only handle
2807 generating output for tables of tests, not inside functions.
2808 (parse_args): Likewise.
2809 (generate_testfile): Remove variable $in_func. Update call to
2810 parse_args.
2811 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2812 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2813 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2814 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2815 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2816 (MAX_VALUE_INIT): Rename macro to max_value.
2817 (MIN_VALUE_INIT): Rename macro to min_value.
2818 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2819 (plus_zero): Remove variable.
2820 (minus_zero): Likewise.
2821 (plus_infty): Likewise.
2822 (minus_infty): Likewise.
2823 (qnan_value): Likewise.
2824 (max_value): Likewise.
2825 (min_value): Likewise.
2826 (min_subnorm_value): Likewise.
2827
e054f494
RA
28282013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2829
2830 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2831 uint64_t or uint32_t usage.
2832 * crypt/sha256-block.c: Likewise.
2833 * crypt/sha256-crypt.c: Likewise.
2834 * crypt/sha256.c: Likewise.
2835 * crypt/sha512-block.c: Likewise.
2836 * crypt/sha512-crypt.c: Likewise.
2837 * crypt/sha512.c: Likewise.
2838 * debug/backtrace-tst.c: Likewise.
2839 * debug/pcprofiledump.c: Likewise.
2840 * elf/cache.c: Likewise.
2841 * elf/dl-cache.c: Likewise.
2842 * elf/dl-misc.c: Likewise.
2843 * elf/dl-profile.c: Likewise.
2844 * elf/dl-support.c: Likewise.
2845 * elf/ldconfig.c: Likewise.
2846 * elf/sprof.c: Likewise.
2847 * iconv/dummy-repertoire.c: Likewise.
2848 * iconv/iconv_charmap.c: Likewise.
2849 * iconv/skeleton.c: Likewise.
2850 * iconvdata/8bit-generic.c: Likewise.
2851 * iconvdata/cp737.h: Likewise.
2852 * iconvdata/cp775.h: Likewise.
2853 * iconvdata/ibm1008.h: Likewise.
2854 * iconvdata/ibm1025.h: Likewise.
2855 * iconvdata/ibm1046.h: Likewise.
2856 * iconvdata/ibm1097.h: Likewise.
2857 * iconvdata/ibm1112.h: Likewise.
2858 * iconvdata/ibm1122.h: Likewise.
2859 * iconvdata/ibm1123.h: Likewise.
2860 * iconvdata/ibm1124.h: Likewise.
2861 * iconvdata/ibm1129.h: Likewise.
2862 * iconvdata/ibm1130.h: Likewise.
2863 * iconvdata/ibm1132.h: Likewise.
2864 * iconvdata/ibm1133.h: Likewise.
2865 * iconvdata/ibm1137.h: Likewise.
2866 * iconvdata/ibm1140.h: Likewise.
2867 * iconvdata/ibm1141.h: Likewise.
2868 * iconvdata/ibm1142.h: Likewise.
2869 * iconvdata/ibm1143.h: Likewise.
2870 * iconvdata/ibm1144.h: Likewise.
2871 * iconvdata/ibm1145.h: Likewise.
2872 * iconvdata/ibm1146.h: Likewise.
2873 * iconvdata/ibm1147.h: Likewise.
2874 * iconvdata/ibm1148.h: Likewise.
2875 * iconvdata/ibm1149.h: Likewise.
2876 * iconvdata/ibm1153.h: Likewise.
2877 * iconvdata/ibm1154.h: Likewise.
2878 * iconvdata/ibm1155.h: Likewise.
2879 * iconvdata/ibm1156.h: Likewise.
2880 * iconvdata/ibm1157.h: Likewise.
2881 * iconvdata/ibm1158.h: Likewise.
2882 * iconvdata/ibm1160.h: Likewise.
2883 * iconvdata/ibm1161.h: Likewise.
2884 * iconvdata/ibm1162.h: Likewise.
2885 * iconvdata/ibm1163.h: Likewise.
2886 * iconvdata/ibm1164.h: Likewise.
2887 * iconvdata/ibm1166.h: Likewise.
2888 * iconvdata/ibm1167.h: Likewise.
2889 * iconvdata/ibm12712.h: Likewise.
2890 * iconvdata/ibm1390.h: Likewise.
2891 * iconvdata/ibm1399.h: Likewise.
2892 * iconvdata/ibm16804.h: Likewise.
2893 * iconvdata/ibm4517.h: Likewise.
2894 * iconvdata/ibm4899.h: Likewise.
2895 * iconvdata/ibm4909.h: Likewise.
2896 * iconvdata/ibm4971.h: Likewise.
2897 * iconvdata/ibm5347.h: Likewise.
2898 * iconvdata/ibm803.h: Likewise.
2899 * iconvdata/ibm856.h: Likewise.
2900 * iconvdata/ibm901.h: Likewise.
2901 * iconvdata/ibm902.h: Likewise.
2902 * iconvdata/ibm9030.h: Likewise.
2903 * iconvdata/ibm9066.h: Likewise.
2904 * iconvdata/ibm921.h: Likewise.
2905 * iconvdata/ibm922.h: Likewise.
2906 * iconvdata/ibm9448.h: Likewise.
2907 * iconvdata/isiri-3342.h: Likewise.
2908 * iconvdata/jis0201.h: Likewise.
2909 * include/link.h: Likewise.
2910 * include/netdb.h: Likewise.
2911 * inet/check_native.c: Likewise.
2912 * inet/check_pf.c: Likewise.
2913 * inet/getipv4sourcefilter.c: Likewise.
2914 * inet/getnameinfo.c: Likewise.
2915 * inet/getsourcefilter.c: Likewise.
2916 * inet/htonl.c: Likewise.
2917 * inet/setipv4sourcefilter.c: Likewise.
2918 * inet/setsourcefilter.c: Likewise.
2919 * inet/test-inet6_opt.c: Likewise.
2920 * inet/tst-network.c: Likewise.
2921 * locale/C-collate.c: Likewise.
2922 * locale/C-ctype.c: Likewise.
2923 * locale/C-time.c: Likewise.
2924 * locale/C-translit.h: Likewise.
2925 * locale/loadarchive.c: Likewise.
2926 * locale/programs/3level.h: Likewise.
2927 * locale/programs/charmap.c: Likewise.
2928 * locale/programs/charmap.h: Likewise.
2929 * locale/programs/ld-address.c: Likewise.
2930 * locale/programs/ld-collate.c: Likewise.
2931 * locale/programs/ld-ctype.c: Likewise.
2932 * locale/programs/ld-identification.c: Likewise.
2933 * locale/programs/ld-measurement.c: Likewise.
2934 * locale/programs/ld-messages.c: Likewise.
2935 * locale/programs/ld-monetary.c: Likewise.
2936 * locale/programs/ld-name.c: Likewise.
2937 * locale/programs/ld-numeric.c: Likewise.
2938 * locale/programs/ld-paper.c: Likewise.
2939 * locale/programs/ld-telephone.c: Likewise.
2940 * locale/programs/ld-time.c: Likewise.
2941 * locale/programs/linereader.c: Likewise.
2942 * locale/programs/locale.c: Likewise.
2943 * locale/programs/locarchive.c: Likewise.
2944 * locale/programs/locfile.h: Likewise.
2945 * locale/programs/repertoire.c: Likewise.
2946 * locale/programs/simple-hash.c: Likewise.
2947 * locale/programs/simple-hash.h: Likewise.
2948 * malloc/memusage.c: Likewise.
2949 * malloc/memusagestat.c: Likewise.
2950 * nis/nis_defaults.c: Likewise.
2951 * nis/nis_hash.c: Likewise.
2952 * nis/nis_print.c: Likewise.
2953 * nis/nis_xdr.c: Likewise.
2954 * nscd/connections.c: Likewise.
2955 * nscd/hstcache.c: Likewise.
2956 * nscd/nscd_gethst_r.c: Likewise.
2957 * nscd/nscd_getserv_r.c: Likewise.
2958 * nscd/nscd_helper.c: Likewise.
2959 * nscd/servicescache.c: Likewise.
2960 * nss/makedb.c: Likewise.
2961 * nss/nss_db/db-XXX.c: Likewise.
2962 * nss/nss_db/db-initgroups.c: Likewise.
2963 * nss/nss_db/db-netgrp.c: Likewise.
2964 * nss/nss_files/files-network.c: Likewise.
2965 * nss/nss_files/files-parse.c: Likewise.
2966 * posix/bug-regex5.c: Likewise.
2967 * posix/fnmatch_loop.c: Likewise.
2968 * posix/regcomp.c: Likewise.
2969 * posix/regexec.c: Likewise.
2970 * posix/tst-rfc3484-2.c: Likewise.
2971 * posix/tst-rfc3484-3.c: Likewise.
2972 * posix/tst-rfc3484.c: Likewise.
2973 * resolv/nss_dns/dns-canon.c: Likewise.
2974 * resolv/nss_dns/dns-network.c: Likewise.
2975 * resolv/res_init.c: Likewise.
2976 * resolv/res_mkquery.c: Likewise.
2977 * resolv/tst-aton.c: Likewise.
2978 * stdlib/cxa_atexit.c: Likewise.
2979 * stdlib/cxa_finalize.c: Likewise.
2980 * stdlib/gen-fpioconst.c: Likewise.
2981 * stdlib/strtol_l.c: Likewise.
2982 * string/tst-endian.c: Likewise.
2983 * sunrpc/auth_des.c: Likewise.
2984 * sunrpc/clnt_udp.c: Likewise.
2985 * sunrpc/rtime.c: Likewise.
2986 * sunrpc/svcauth_des.c: Likewise.
2987 * sunrpc/xdr.c: Likewise.
2988 * sunrpc/xdr_intXX_t.c: Likewise.
2989 * sunrpc/xdr_rec.c: Likewise.
2990 * sysdeps/generic/ldconfig.h: Likewise.
2991 * sysdeps/generic/ldsodefs.h: Likewise.
2992 * sysdeps/generic/memusage.h: Likewise.
2993 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2996 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3002 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3003 * sysdeps/posix/getaddrinfo.c: Likewise.
3004 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3005 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3006 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3007 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3008 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3009 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3010 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3011 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3012 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3013 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3014 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3015 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3016 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3017 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3018 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3019 * sysdeps/x86_64/dl-tls.h: Likewise.
3020 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3021 * time/alt_digit.c: Likewise.
3022 * time/era.c: Likewise.
3023 * wcsmbs/tst-c16c32-1.c: Likewise.
3024
8c75f674
JM
30252013-05-16 Joseph Myers <joseph@codesourcery.com>
3026
3027 * math/libm-test.inc (struct test_sincos_data): New type.
3028 (RUN_TEST_LOOP_sincos): New macro.
3029 (sincos_test_data): New variable.
3030 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3031
e6e49e59
RH
30322013-05-16 Richard Henderson <rth@redhat.com>
3033
3034 * math/atest-exp2.c (LIMB64): New macro.
3035 (CONSTSZ): New macro.
3036 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3037 (hexdig): Move ...
3038 (print_mpn_fp): ... to function scope.
3039 (read_mpn_hex): Remove.
3040 (get_log2): Remove.
3041 (exp2_mpn): Use mp_log2.
3042 (main): Use mp_exp1.
3043
15c7c18d
JM
30442013-05-16 Joseph Myers <joseph@codesourcery.com>
3045
105a07df
JM
3046 * math/libm-test.inc: Remove comment about not testing "inexact"
3047 exceptions.
3048 (INEXACT_EXCEPTION): New macro.
3049 (NO_INEXACT_EXCEPTION): Likewise.
3050 (INVALID_EXCEPTION_OK): Update value.
3051 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3052 (OVERFLOW_EXCEPTION_OK): Likewise.
3053 (UNDERFLOW_EXCEPTION_OK): Likewise.
3054 (IGNORE_ZERO_INF_SIGN): Likewise.
3055 (ERRNO_UNCHANGED): Likewise.
3056 (ERRNO_EDOM): Likewise.
3057 (ERRNO_ERANGE): Likewise.
3058 (test_exceptions): Handle testing "inexact" exceptions.
3059 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3060 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3061 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3062 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3063 INEXACT_EXCEPTION.
3064 (rint_towardzero_test_data): Likewise.
3065 (rint_downward_test_data): Likewise.
3066 (rint_upward_test_data): Likewise.
3067
e9eee333
JM
3068 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3069 with OVERFLOW_EXCEPTION.
3070 (exp10_test_data): Likewise.
3071 (exp2_test_data): Likewise.
3072 (expm1_test_data): Likewise.
3073 (lgamma_test_data): Likewise.
3074 (pow_test_data): Likewise.
3075 (tgamma_test_data): Likewise.
3076 (yn_test_data): Remove duplicate test of overflow.
3077
1c38ff73
JM
3078 * math/libm-test.inc (struct test_cc_c_data): New type.
3079 (RUN_TEST_LOOP_cc_c): New macro.
3080 (cpow_test_data): New variable.
3081 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3082
15c7c18d
JM
3083 * math/libm-test.inc (struct test_f_L_data): New type.
3084 (RUN_TEST_LOOP_f_L): New macro.
3085 (llrint_test_data): New variable.
3086 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3087 (llrint_tonearest_test_data): New variable.
3088 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3089 (llrint_towardzero_test_data): New variable.
3090 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3091 (llrint_downward_test_data): New variable.
3092 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3093 (llrint_upward_test_data): New variable.
3094 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3095 (llround_test_data): New variable.
3096 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3097
f137ff13
PC
30982013-05-13 Peter Collingbourne <pcc@google.com>
3099
3100 * math/atest-exp2.c (get_log2): Remove const attribute.
3101
3608cb24
JM
31022013-05-15 Joseph Myers <joseph@codesourcery.com>
3103
3104 * math/libm-test.inc (struct test_f_l_data): New type.
3105 (RUN_TEST_LOOP_f_l): New macro.
3106 (lrint_test_data): New variable.
3107 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3108 (lrint_tonearest_test_data): New variable.
3109 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3110 (lrint_towardzero_test_data): New variable.
3111 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3112 (lrint_downward_test_data): New variable.
3113 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3114 (lrint_upward_test_data): New variable.
3115 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3116 (lround_test_data): New variable.
3117 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3118
39b1f617
PC
31192013-05-15 Peter Collingbourne <pcc@google.com>
3120
1deff3dc
PC
3121 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3122 (EXTRACT_WORDS64) Use where appropriate.
3123 (INSERT_WORDS64) Likewise.
3124
791f3ba0
PC
3125 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3126 constraints with x constraints.
3127 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3128
39b1f617
PC
3129 * malloc/obstack.c (_obstack_compat): Add initializer.
3130
12fba011
EM
31312013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3132
3133 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3134 si_trapno and add si_addr_lsb to _sifields.sigfault.
3135 (si_trapno): Remove macro.
3136 (si_addr_lsb): Define new macro.
3137 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3138
d369f531
JM
31392013-05-15 Joseph Myers <joseph@codesourcery.com>
3140
b861c6c4
JM
3141 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3142 instead of TEST_f_l.
3143 (llrint_test_tonearest): Likewise.
3144 (llrint_test_towardzero): Likewise.
3145 (llrint_test_downward): Likewise.
3146 (llrint_test_upward): Likewise.
3147 (llround_test): Likewise.
3148
7abeee12
JM
3149 * math/libm-test.inc (struct test_f_i_data): Add comment.
3150 (RUN_TEST_LOOP_f_b): New macro.
3151 (RUN_TEST_LOOP_f_b_tg): Likewise.
3152 (finite_test_data): New variable.
3153 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3154 (isfinite_test_data): New variable.
3155 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3156 (isinf_test_data): New variable.
3157 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3158 (isnan_test_data): New variable.
3159 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3160 (isnormal_test_data): New variable.
3161 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3162 (issignaling_test_data): New variable.
3163 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3164 (signbit_test_data): New variable.
3165 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3166
cbe8c4d3
JM
3167 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3168 with INVALID_EXCEPTION.
3169 (acosh_test_data): Likewise.
3170 (asin_test_data): Likewise.
3171 (atanh_test_data): Likewise.
3172 (fmod_test_data): Likewise.
3173 (log_test_data): Likewise.
3174 (log10_test_data): Likewise.
3175 (log2_test_data): Likewise.
3176 (pow_test_data): Likewise.
3177 (sqrt_test_data): Likewise.
3178 (y0_test_data): Likewise.
3179 (y1_test_data): Likewise.
3180 (yn_test_data): Likewise.
3181
5575c0e5
JM
3182 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3183 function contents.
3184
d369f531
JM
3185 * math/libm-test.inc (struct test_ff_i_data): New type.
3186 (RUN_TEST_LOOP_ff_i_tg): New macro.
3187 (isgreater_test_data): New variable.
3188 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3189 (isgreaterequal_test_data): New variable.
3190 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3191 (isless_test_data): New variable.
3192 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3193 (islessequal_test_data): New variable.
3194 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3195 (islessgreater_test_data): New variable.
3196 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3197 (isunordered_test_data): New variable.
3198 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3199
781fd748
DM
32002013-05-14 David S. Miller <davem@davemloft.net>
3201
3202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3203
87aa21df
JM
32042013-05-14 Joseph Myers <joseph@codesourcery.com>
3205
5e908270
JM
3206 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3207
f71172e5
JM
3208 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3209 extra_test to int.
3210 (struct test_f_i_data): Change type of max_ulp to int.
3211
8cfa635a
JM
3212 * math/libm-test.inc (test_ffI_f1_data): New type.
3213 (RUN_TEST_LOOP_ffI_f1): New macro.
3214 (remquo_test_data): New variable.
3215 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3216
2bcb36b2
JM
3217 * setjmp/tst-setjmp-fp.c: New file.
3218 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3219 (link-libm): New variable.
3220 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3221
acbd839a
JM
3222 * math/libm-test.inc (struct test_f_i_data): New type.
3223 (RUN_TEST_LOOP_f_i): New macro.
3224 (RUN_TEST_LOOP_f_i_tg): Likewise.
3225 (fpclassify_test_data): New variable.
3226 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3227 (ilogb_test_data): New variable.
3228 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3229
e414d745
JM
3230 * math/libm-test.inc (scalbln_test): Correct function name in END
3231 call.
3232
d9c2a0fd
JM
3233 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3234 (RUN_TEST_LOOP_fI_f1): New macro.
3235 (frexp_test_data): New variable.
3236 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3237
9dc9095d
JM
3238 * math/libm-test.inc (struct test_fF_f1_data): New type.
3239 (RUN_TEST_LOOP_fF_f1): New macro.
3240 (modf_test_data): New variable.
3241 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3242
87aa21df
JM
3243 * math/libm-test.inc (struct test_f_f1_data): New type.
3244 (RUN_TEST_LOOP_f_f1): New macro.
3245 (gamma_test_data): New variable.
3246 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3247 (lgamma_test_data): New variable.
3248 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3249
141af660
CD
32502013-05-13 Carlos O'Donell <carlos@redhat.com>
3251
3252 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3253 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3254 (main): Comment "tls" pseudo-hwcap.
3255
6d33265c
JM
32562013-05-13 Joseph Myers <joseph@codesourcery.com>
3257
68fc074c
JM
3258 * math/libm-test.inc (struct test_fl_f_data): New type.
3259 (RUN_TEST_LOOP_fl_f): New variable.
3260 (scalbln_test_data): New variable.
3261 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3262
243216e1
JM
3263 * math/libm-test.inc (struct test_fi_f_data): New type.
3264 (RUN_TEST_LOOP_fi_f): New macro.
3265 (ldexp_test_data): New variable.
3266 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3267 (scalbn_test_data): New variable.
3268 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3269
6a1992e2
JM
3270 * math/libm-test.inc (struct test_c_f_data): New type.
3271 (RUN_TEST_LOOP_c_f): New macro.
3272 (cabs_test_data): New variable.
3273 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3274 (carg_test_data): New variable.
3275 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3276 (cimag_test_data): New variable.
3277 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3278 (creal_test_data): New variable.
3279 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3280
0e400df5
JM
3281 * math/libm-test.inc (struct test_if_f_data): New type.
3282 (RUN_TEST_LOOP_if_f): New macro.
3283 (jn_test_data): New variable.
3284 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3285 (yn_test_data): New variable.
3286 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3287
6d33265c
JM
3288 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3289
f98ece5f
AZ
32902013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3291
3292 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3293 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3294
0f7d347b
SP
32952013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3296
43fe811b
SP
3297 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3298 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3299 (bench-deps): Add bench-timing.h.
3300 * benchtests-bench-skeleton.c: Include bench-timing.h.
3301 (main): Use TIMING_* macros instead of clock_gettime.
3302 * benchtests/bench-timing.h: New file.
3303
0f7d347b
SP
3304 [BZ #14582]
3305 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3306 Renamed from _LIB_VERSION.
3307 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3308
601a3a5f
JM
33092013-05-12 Joseph Myers <joseph@codesourcery.com>
3310
4f184d30
JM
3311 * math/libm-test.inc (struct test_fff_f_data): New type.
3312 (RUN_TEST_LOOP_fff_f): New macro.
3313 (fma_test_data): New variable.
3314 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3315 (fma_towardzero_test_data): New variable.
3316 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3317 (fma_downward_test_data): New variable.
3318 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3319 (fma_upward_test_data): New variable.
3320 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3321
08198877
JM
3322 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3323 (struct test_c_c_data): New type.
3324 (RUN_TEST_LOOP_c_c): New macro.
3325 (cacos_test_data): New variable.
3326 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3327 (cacosh_test_data): New variable.
3328 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3329 (casin_test_data): New variable.
3330 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3331 (casinh_test_data): New variable.
3332 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3333 (catan_test_data): New variable.
3334 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3335 (catanh_test_data): New variable.
3336 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3337 (ccos_test_data): New variable.
3338 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3339 (ccosh_test_data): New variable.
3340 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3341 (cexp_test_data): New variable.
3342 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3343 (clog_test_data): New variable.
3344 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3345 (clog10_test_data): New variable.
3346 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3347 (conj_test_data): New variable.
3348 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3349 (cproj_test_data): New variable.
3350 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3351 (csin_test_data): New variable.
3352 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3353 (csinh_test_data): New variable.
3354 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3355 (csqrt_test_data): New variable.
3356 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3357 (ctan_test_data): New variable.
3358 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3359 (ctan_tonearest_test_data): New variable.
3360 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3361 (ctan_towardzero_test_data): New variable.
3362 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3363 (ctan_downward_test_data): New variable.
3364 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3365 (ctan_upward_test_data): New variable.
3366 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3367 (ctanh_test_data): New variable.
3368 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3369 (ctanh_tonearest_test_data): New variable.
3370 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3371 (ctanh_towardzero_test_data): New variable.
3372 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3373 (ctanh_downward_test_data): New variable.
3374 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3375 (ctanh_upward_test_data): New variable.
3376 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3377 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3378 of BUILD_COMPLEX.
3379
601a3a5f
JM
3380 * math/libm-test.inc (struct test_ff_f_data): New type.
3381 (struct test_ff_f_data_nexttoward): Likewise.
3382 (RUN_TEST_LOOP_2_f): New macro.
3383 (RUN_TEST_LOOP_ff_f): Likewise.
3384 (atan2_test_data): New variable.
3385 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3386 (copysign_test_data): New variable.
3387 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3388 (fdim_test_data): New variable.
3389 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3390 (fmax_test_data): New variable.
3391 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3392 (fmin_test_data): New variable.
3393 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3394 (fmod_test_data): New variable.
3395 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3396 (hypot_test_data): New variable.
3397 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3398 (nextafter_test_data): New variable.
3399 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3400 (nexttoward_test_data): New variable.
3401 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3402 (pow_test_data): New variable.
3403 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3404 (pow_tonearest_test_data): New variable.
3405 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3406 (pow_towardzero_test_data): New variable.
3407 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3408 (pow_downward_test_data): New variable.
3409 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3410 (pow_upward_test_data): New variable.
3411 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3412 (remainder_test_data): New variable.
3413 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3414 (scalb_test_data): New variable.
3415 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3416 * sysdeps/i386/fpu/libm-test-ulps: Update.
3417
74c57478
JM
34182013-05-11 Joseph Myers <joseph@codesourcery.com>
3419
8329e4da
JM
3420 * math/libm-test.inc (fma_test): Use max_value instead of local
3421 variable fltmax.
3422 (nextafter_test): Likewise.
3423
74c57478
JM
3424 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3425 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3426 (acos_downward_test_data): New variable.
3427 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3428 (acos_upward_test_data): New variable.
3429 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3430 (acosh_test_data): New variable.
3431 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3432 (asin_test_data): New variable.
3433 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3434 (asin_tonearest_test_data): New variable.
3435 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3436 (asin_towardzero_test_data): New variable.
3437 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3438 (asin_downward_test_data): New variable.
3439 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3440 (asin_upward_test_data): New variable.
3441 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3442 (asinh_test_data): New variable.
3443 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3444 (atan_test_data): New variable.
3445 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3446 (atanh_test_data): New variable.
3447 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3448 (cbrt_test_data): New variable.
3449 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3450 (ceil_test_data): New variable.
3451 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3452 (cos_test_data): New variable.
3453 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3454 (cos_tonearest_test_data): New variable.
3455 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3456 (cos_towardzero_test_data): New variable.
3457 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3458 (cos_downward_test_data): New variable.
3459 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3460 (cos_upward_test_data): New variable.
3461 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3462 (cosh_test_data): New variable.
3463 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3464 (cosh_tonearest_test_data): New variable.
3465 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3466 (cosh_towardzero_test_data): New variable.
3467 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3468 (cosh_downward_test_data): New variable.
3469 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3470 (cosh_upward_test_data): New variable.
3471 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3472 (erf_test_data): New variable.
3473 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3474 (erfc_test_data): New variable.
3475 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3476 (exp_test_data): New variable.
3477 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3478 (exp_tonearest_test_data): New variable.
3479 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3480 (exp_towardzero_test_data): New variable.
3481 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3482 (exp_downward_test_data): New variable.
3483 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3484 (exp_upward_test_data): New variable.
3485 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3486 (exp10_test_data): New variable.
3487 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3488 (exp2_test_data): New variable.
3489 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3490 (expm1_test_data): New variable.
3491 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3492 (fabs_test_data): New variable.
3493 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3494 (floor_test_data): New variable.
3495 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3496 (j0_test_data): New variable.
3497 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3498 (j1_test_data): New variable.
3499 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3500 (log_test_data): New variable.
3501 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3502 (log10_test_data): New variable.
3503 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3504 (log1p_test_data): New variable.
3505 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3506 (log2_test_data): New variable.
3507 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3508 (logb_test_data): New variable.
3509 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3510 (logb_downward_test_data): New variable.
3511 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3512 (nearbyint_test_data): New variable.
3513 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3514 (rint_test_data): New variable.
3515 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3516 (rint_tonearest_test_data): New variable.
3517 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3518 (rint_towardzero_test_data): New variable.
3519 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3520 (rint_downward_test_data): New variable.
3521 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3522 (rint_upward_test_data): New variable.
3523 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3524 (round_test_data): New variable.
3525 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3526 (sin_test_data): New variable.
3527 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3528 (sin_tonearest_test_data): New variable.
3529 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3530 (sin_towardzero_test_data): New variable.
3531 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3532 (sin_downward_test_data): New variable.
3533 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3534 (sin_upward_test_data): New variable.
3535 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3536 (sinh_test_data): New variable.
3537 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3538 (sinh_tonearest_test_data): New variable.
3539 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3540 (sinh_towardzero_test_data): New variable.
3541 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3542 (sinh_downward_test_data): New variable.
3543 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3544 (sinh_upward_test_data): New variable.
3545 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3546 (sqrt_test_data): New variable.
3547 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3548 (tan_test_data): New variable.
3549 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3550 (tan_tonearest_test_data): New variable.
3551 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3552 (tan_towardzero_test_data): New variable.
3553 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3554 (tan_downward_test_data): New variable.
3555 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3556 (tan_upward_test_data): New variable.
3557 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3558 (tanh_test_data): New variable.
3559 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3560 (tgamma_test_data): New variable.
3561 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3562 (trunc_test_data): New variable.
3563 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3564 (y0_test_data): New variable.
3565 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3566 (y1_test_data): New variable.
3567 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3568 (significand_test_data): New variable.
3569 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3570
7187d844
CG
35712013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3572
3573 [BZ #12387]
3574 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3575
f63fae73
PT
35762013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3577
3578 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3579
8a67a4b3
AJ
35802013-05-10 Andreas Jaeger <aj@suse.de>
3581
3582 [BZ #15448]
3583 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3584 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3585
51df539d
JM
35862013-05-10 Joseph Myers <joseph@codesourcery.com>
3587
3588 * math/gen-libm-test.pl (adjust_arg): New function.
3589 (special_functions): Handle generating output in both functions
3590 and arrays.
3591 (parse_args): Likewise.
3592 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3593 $in_func argument to parse_args.
3594 * math/libm-test.inc (struct test_f_f_data): New type.
3595 (IF_ROUND_INIT_): New macro.
3596 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3597 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3598 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3599 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3600 (ROUND_RESTORE_): Likewise.
3601 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3602 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3603 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3604 (ROUND_RESTORE_FE_UPWARD): Likewise.
3605 (RUN_TEST_LOOP_f_f): New macro.
3606 (acos_test_data): New variable.
3607 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3608 (acos_tonearest_test_data): New variable.
3609 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3610
5c637fe5
SP
36112013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3612
3613 * benchtests/bench-skeleton.c (startup): Fix coding style.
3614
ab2b9461
JM
36152013-05-10 Joseph Myers <joseph@codesourcery.com>
3616
3617 [BZ #6809]
3618 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3619 negative infinity argument.
3620 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3621 negative infinity argument.
3622 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3623 negative infinity argument.
3624 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3625 domain errors.
3626
4c0fe6fe
FW
36272013-05-10 Florian Weimer <fweimer@redhat.com>
3628
3629 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3630 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3631 * iconv/iconv_prog.c (main): Likewise.
3632 * locale/programs/charmap-dir.c (charmap_readdir)
3633 (fopen_uncompressed): Likewise.
3634 * locale/programs/locfile.c (siblings_uncached)
3635 (write_locale_data): Use lstat64 instead of lstat.
3636 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3637 stat.
3638
a3375d29
AJ
36392013-05-10 Andreas Jaeger <aj@suse.de>
3640
3641 [BZ #15395]
3642 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3643 localization.
3644 Include <locale.h>.
3645
36129722
CD
36462013-05-09 Carlos O'Donell <carlos@redhat.com>
3647
3648 * elf/dl-close.c (_dl_close_worker): Add comments.
3649
faa7f811
JM
36502013-05-09 Joseph Myers <joseph@codesourcery.com>
3651
ed41ffef
JM
3652 [BZ #15359]
3653 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3654 high part of pi/2.
3655 (__ieee754_rem_pio2l): Update comments.
3656
d0213cd0
JM
3657 [BZ #15429]
3658 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3659 high part of pi/2.
3660 (__ieee754_rem_pio2l): Update comments.
3661
0d3e777a
JM
3662 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3663 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3664
24f56066
JM
3665 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3666 M_PI_4l.
3667
faa7f811
JM
3668 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3669 (M_PI_34_LOG10El): Likewise.
3670 (M_PI2_LOG10El): Likewise.
3671 (M_PI4_LOG10El): Likewise.
3672 (M_PI_LOG10El): Likewise.
3673
e9a5e0fd
AZ
36742013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3675
3676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3677
d8cd06db
JM
36782013-05-08 Joseph Myers <joseph@codesourcery.com>
3679
a0d9f9d7
JM
3680 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3681 (MINUS_ZERO_INIT): Likewise.
3682 (PLUS_INFTY_INIT): Likewise.
3683 (MINUS_INFTY_INIT): Likewise.
3684 (QNAN_VALUE_INIT): Likewise.
3685 (MAX_VALUE_INIT): Likewise.
3686 (MIN_VALUE_INIT): Likewise.
3687 (MIN_SUBNORM_VALUE_INIT): Likewise.
3688 (plus_zero): Initialize with PLUS_ZERO_INIT.
3689 (minus_zero): Initialize with MINUS_ZERO_INIT.
3690 (plus_infty): Initialize with PLUS_INFTY_INIT.
3691 (minus_infty): Initialize with MINUS_INFTY_INIT.
3692 (qnan_value): Initialize with QNAN_VALUE_INIT.
3693 (max_value): Initialize with MAX_VALUE_INIT.
3694 (min_value): Initialize with MIN_VALUE_INIT.
3695 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3696
ae08db3b
JM
3697 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3698 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3699 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3700 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3701
f44bf14a
JM
3702 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3703 (RUN_TEST_2_f): Likewise.
3704 (RUN_TEST_ff_f): Likewise.
3705 (RUN_TEST_fi_f): Likewise.
3706 (RUN_TEST_fl_f): Likewise.
3707 (RUN_TEST_fff_f): Likewise.
3708 (RUN_TEST_c_f): Likewise.
3709 (RUN_TEST_f_f1): Likewise.
3710 (RUN_TEST_fF_f1): Likewise.
3711 (RUN_TEST_fI_f1): Likewise.
3712 (RUN_TEST_ffI_f1): Likewise.
3713 (RUN_TEST_c_c): Likewise.
3714 (RUN_TEST_cc_c): Likewise.
3715 (RUN_TEST_f_i): Likewise.
3716 (RUN_TEST_f_i_tg): Likewise.
3717 (RUN_TEST_ff_i_tg): Likewise.
3718 (RUN_TEST_f_b): Likewise.
3719 (RUN_TEST_f_b_tg): Likewise.
3720 (RUN_TEST_f_l): Likewise.
3721 (RUN_TEST_f_L): Likewise.
3722 (RUN_TEST_sincos): Likewise.
3723 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3724 whether to show exceptions. Do not include ");\n" in return
3725 value.
3726 (special_functions): Output call to RUN_TEST_sincos instead of
3727 check_float calls. Update calls to new_test.
3728 (parse_args): Output call to single RUN_TEST_* macro instead of
3729 check_* calls and other assignments. Update calls to new_test.
3730
d8cd06db
JM
3731 [BZ #2546]
3732 [BZ #2560]
3733 [BZ #5159]
3734 [BZ #15426]
3735 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3736 input to result for tgamma overflow.
3737 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3738 (gamma_coeff): New variable.
3739 (NCOEFF): New macro.
3740 (gamma_positive): New function.
3741 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3742 underflow here. Use gamma_positive instead of exp (lgamma) for
3743 other arguments.
3744 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3745 (gamma_coeff): New variable.
3746 (NCOEFF): New macro.
3747 (gammaf_positive): New function.
3748 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3749 underflow here. Use gamma_positive instead of exp (lgamma) for
3750 other arguments.
3751 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3752 (gamma_coeff): New variable.
3753 (NCOEFF): New macro.
3754 (gammal_positive): New function.
3755 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3756 underflow here. Use gamma_positive instead of exp (lgamma) for
3757 other arguments.
3758 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3759 (gamma_coeff): New variable.
3760 (NCOEFF): New macro.
3761 (gammal_positive): New function.
3762 (__ieee754_gammal_r): Handle positive infinity, overflow and
3763 underflow here. Handle NaN the same as positive infinity. Remove
3764 check x < 0xffffffff for negative integers. Use gamma_positive
3765 instead of exp (lgamma) for other arguments.
3766 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3767 (gamma_coeff): New variable.
3768 (NCOEFF): New macro.
3769 (gammal_positive): New function.
3770 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3771 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3775 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3776 * sysdeps/generic/math_private.h (__gamma_productf): New
3777 prototype.
3778 (__gamma_product): Likewise.
3779 (__gamma_productl): Likewise.
3780 * math/Makefile (libm-calls): Add gamma_product.
3781 * math/libm-test.inc (tgamma_test): Add more tests.
3782 * sysdeps/i386/fpu/libm-test-ulps: Update.
3783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3784
bb7cf681
OB
37852013-05-08 Ondřej Bílka <neleai@seznam.cz>
3786
3787 * benchtests/bench-skeleton.c (main): Preheat CPU.
3788
ba853947
AJ
37892013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3790
3791 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3792
8347c74c
RM
37932013-05-07 Roland McGrath <roland@hack.frob.com>
3794
3795 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3796 and _dl_skip_args_internal.
3797
e8dd4791
CD
37982013-05-07 Carlos O'Donell <carlos@redhat.com>
3799
3800 * manual/message.texi (Message Translation): Talk about users.
3801 Message to key mapping impacts design.
3802
c7405830
RM
38032013-05-06 Roland McGrath <roland@hack.frob.com>
3804
a9173057
RM
3805 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3806
976e2f03
RM
3807 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3808
9723ffc5
RM
3809 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3810 * sysdeps/wordsize-64/glob64.c: ... here.
3811
962e6658
RM
3812 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3813 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3814 New macros.
3815
ee586a6d
RM
3816 * debug/getlogin_r_chk.c: Moved to ...
3817 * login/getlogin_r_chk.c: ... here.
3818 * debug/Makefile (routines): Move getlogin_r_chk to ...
3819 * login/Makefile (routines): ... here.
3820 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3821 * login/Versions (libc: GLIBC_2.4): ... here.
3822
355f9165
RM
3823 * io/poll.c (__poll): Renamed from poll.
3824 Add libc_hidden_def.
3825 (poll): Define as weak alias.
3826
bd9ffde6
RM
3827 * debug/ptsname_r_chk.c: Moved to ...
3828 * login/ptsname_r_chk.c: ... here.
3829 * debug/Makefile (routines): Move ptsname_r_chk to ...
3830 * login/Makefile (routines): ... here.
3831 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3832 * login/Versions (libc: GLIBC_2.4): ... here.
3833
8fb16a04
RM
3834 * posix/getlogin.c: Moved to ...
3835 * login/getlogin.c: ... here.
3836 * posix/getlogin_r.c: Moved to ...
3837 * login/getlogin_r.c: ... here.
3838 * posix/getlogin_r.c: Moved to ...
3839 * login/getlogin_r.c: ... here.
3840 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3841 * login/Makefile (routines): ... here.
3842 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3843 * login/Versions (libc: GLIBC_2.0): ... here.
3844
b99b892f
RM
3845 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3846 (setrlimit): Define as weak alias.
3847
c7405830
RM
3848 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3849 Call __ names for open, ftruncate, and close.
3850 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3851 (truncate): Define as weak alias.
3852
5bf96de5
JM
38532013-05-06 Joseph Myers <joseph@codesourcery.com>
3854
9ea3513c
JM
3855 * math/gen-libm-test.pl (parse_args): Initialize x before each
3856 test of frexp, modf and remquo.
3857
5bf96de5
JM
3858 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3859 test signgam value.
3860
16e616a7
AZ
38612013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3862
3863 [BZ #15418]
3864 [BZ #15419]
3865 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3866 internal tests.
3867 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3868
d5e82754
RM
38692013-05-06 Roland McGrath <roland@hack.frob.com>
3870
3871 * elf/dl-writev.h: New file.
3872 * elf/dl-misc.c: Include it.
3873 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3874 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3875
a7548d41
JM
38762013-05-04 Joseph Myers <joseph@codesourcery.com>
3877
b7dab1e4
JM
3878 * math/libm-test.inc (noXFails): Remove variable.
3879 (noXPasses): Likewise.
3880 (BUILD_COMPLEX_INT): Remove macro.
3881 (print_screen): Remove xfail argument.
3882 (print_screen_max_error): Likewise.
3883 (update_stats): Likewise.
3884 (print_max_error): Likewise. Update calls to other affected
3885 functions.
3886 (print_complex_max_error): Likewise.
3887 (test_single_exception): Update calls to print_screen.
3888 (test_single_errno): Likewise.
3889 (check_float_internal): Remove xfail argument. Update calls to
3890 other affected functions.
3891 (check_float): Likewise.
3892 (check_complex): Likewise.
3893 (check_int): Likewise.
3894 (check_long): Likewise.
3895 (check_bool): Likewise.
3896 (check_longlong): Likewise.
3897 (main): Don't print noXFails and noXPasses.
3898 * math/gen-libm-test.pl (top level): Don't mention expected
3899 failure handling in comment.
3900 (new_test): Don't handle expected failures.
3901 (parse_args): Don't mention expected failure handling in comment.
3902 (generate_testfile): Don't handle expected failures.
3903 (parse_ulps): Likewise.
3904 (print_ulps_file): Likewise.
3905 (get_failure): Remove function.
3906 (output_test): Don't handle expected failures.
3907 * make/README.libm-test: Don't mention expected failure handling.
3908
a7548d41
JM
3909 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3910 (minus_zero): Likewise.
3911 (plus_infty): Likewise.
3912 (minus_infty): Likewise.
3913 (qnan_value): Likewise.
3914 (max_value): Likewise.
3915 (min_value): Likewise.
3916 (min_subnorm_value): Likewise.
3917 (initialize): Do not initialize those variables dynamically.
3918
60bfd54c
RM
39192013-05-03 Roland McGrath <roland@hack.frob.com>
3920
cc0e6ed8
RM
3921 * io/open.c (__open_2): Moved to ...
3922 * io/open_2.c: ... this new file.
3923 * io/open64.c (__open64_2): Moved to ...
3924 * io/open64_2.c: ... this new file.
3925 * io/openat.c (__openat_2): Moved to ...
3926 * io/openat_2.c: ... this new file.
3927 * io/openat64.c (__openat64_2): Moved to ...
3928 * io/openat64_2.c: ... this new file.
3929 * io/Makefile (routines): Add them.
3930 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3931 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3932 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3933 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3934 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3935 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3936 (__openat64): Add hidden_ver.
3937 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3938 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3939
60bfd54c
RM
3940 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3941 Separately conditionalize setting of GLRO(dl_sysinfo) so
3942 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3943 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3944
83e7640f
AZ
39452013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3946
3947 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3948 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3949 definition.
3950 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3951 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3952 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3953 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3954 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3955
d5dc2af3
JM
39562013-05-03 Joseph Myers <joseph@codesourcery.com>
3957
c31a5b1e
JM
3958 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3959 test signgam value.
3960
d5dc2af3
JM
3961 * math/libm-test.inc (hypot_test): Do not use
3962 IGNORE_ZERO_INF_SIGN.
3963
164fd39d
AJ
39642013-05-03 Andreas Jaeger <aj@suse.de>
3965
3966 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3967 Linux 3.9.
3968 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3969 (PF_MAX): Adjust for VSOCK change.
3970
8237f48c
AZ
39712013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3972
3973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3974
9df02941
CD
39752013-05-02 Carlos O'Donell <carlos@redhat.com>
3976
3977 [BZ #15264]
3978 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3979 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3980 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3981
d422395e
DM
39822013-05-02 David S. Miller <davem@davemloft.net>
3983
3984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3985
a07c5731
OB
39862013-05-01 Ondřej Bílka <neleai@seznam.cz>
3987
3988 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3989
1324e37f
RM
39902013-05-01 Roland McGrath <roland@hack.frob.com>
3991
3992 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3993
0695940b
RS
39942013-05-01 Richard Smith <richard@metafoo.co.uk>
3995
bb5f27ad 3996 [BZ #14952]
0695940b
RS
3997 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3998 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3999 Use __attribute__ ((__gnu_inline__)).
4000 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4001 Don't use __attribute__ ((__gnu_inline__)).
4002
10de07f5
JM
40032013-05-01 Joseph Myers <joseph@codesourcery.com>
4004
4005 [BZ #15423]
4006 * math/s_catan.c (__catan): Handle small real or imaginary part of
4007 input specially to avoid spurious underflow.
4008 * math/s_catanf.c (__catanf): Likewise.
4009 * math/s_catanh.c (__catanh): Likewise.
4010 * math/s_catanhf.c (__catanhf): Likewise.
4011 * math/s_catanhl.c (__catanhl): Likewise.
4012 * math/s_catanl.c (__catanl): Likewise.
4013 * math/libm-test.inc (catan_test): Add more tests.
4014 (catanh_test): Likewise.
4015 * sysdeps/i386/fpu/libm-test-ulps: Update.
4016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4017
cb4d5414
AZ
40182013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4019
4020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4021
caf84319
JM
40222013-04-30 Joseph Myers <joseph@codesourcery.com>
4023
4024 [BZ #15416]
4025 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4026 accurately for denominator in atan2.
4027 * math/s_catanf.c (__catanf): Likewise.
4028 * math/s_catanh.c (__catanh): Likewise.
4029 * math/s_catanhf.c (__catanhf): Likewise.
4030 * math/s_catanhl.c (__catanhl): Likewise.
4031 * math/s_catanl.c (__catanl): Likewise.
4032 * math/libm-test.inc (catan_test): Add more tests.
4033 (catanh_test): Likewise.
4034 * sysdeps/i386/fpu/libm-test-ulps: Update.
4035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4036
d569c6ee
SP
40372013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4038
6dbe713d
SP
4039 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4040
f0ee064b
SP
4041 * benchtests/Makefile (bench): Remove slow benchmarks.
4042 * benchtests/atan-inputs: Add slow benchmark inputs.
4043 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4044 (BENCH_FUNC): Accept variant offset.
4045 (VARIANT): Define.
4046 * benchtests/bench-skeleton.c (main): Run benchmark for each
4047 variant.
4048 * benchtests/cos-inputs: Add slow benchmark inputs.
4049 * benchtests/exp-inputs: Likewise.
4050 * benchtests/pow-inputs: Likewise.
4051 * benchtests/sin-inputs: Likewise.
4052 * benchtests/slowatan-inputs: Remove.
4053 * benchtests/slowatan.c: Remove.
4054 * benchtests/slowcos-inputs: Remove.
4055 * benchtests/slowcos.c: Remove.
4056 * benchtests/slowexp-inputs: Remove.
4057 * benchtests/slowexp.c: Remove.
4058 * benchtests/slowpow-inputs: Remove.
4059 * benchtests/slowpow.c: Remove.
4060 * benchtests/slowsin-inputs: Remove.
4061 * benchtests/slowsin.c: Remove.
4062 * benchtests/slowtan-inputs: Remove.
4063 * benchtests/slowtan.c: Remove.
4064 * benchtests/tan-inputs: Add slow benchmark inputs.
4065 * scripts/bench.pl: Parse comments and directives.
4066
d569c6ee
SP
4067 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4068 in CPPFLAGS.
4069 ($(objpfx)bench-%.c): Remove *-ITER.
4070 * benchtests/bench-modf.c: Remove definition of ITER.
4071 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4072 (main): Loop for DURATION seconds instead of fixed number of
4073 iterations.
4074 * scripts/bench.pl: Don't expect iterations in parameters.
4075
a6a242fe
RM
40762013-04-29 Roland McGrath <roland@hack.frob.com>
4077
4078 * io/fchdir.c (__fchdir): Renamed from fchdir.
4079 (fchdir): Define as weak alias.
4080
f2da7793
JM
40812013-04-29 Joseph Myers <joseph@codesourcery.com>
4082
4083 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4084 (ERRNO_EDOM): Likewise.
4085 (ERRNO_ERANGE): Likewise.
4086 (noErrnoTests): New variable.
4087 (init_max_error): Set errno to 0.
4088 (test_single_errno): New function.
4089 (test_errno): Likewise.
4090 (check_float_internal): Call test_errno. Set errno to 0.
4091 (check_complex): Refer to errno tests in comment.
4092 (check_int): Call test_errno. Set errno to 0.
4093 (check_long): Likewise.
4094 (check_bool): Likewise.
4095 (check_longlong): Likewise.
4096 (cos_test): Use ERRNO_* flags for errno tests instead of
4097 check_int.
4098 (expm1_test): Likewise.
4099 (fmod_test): Likewise.
4100 (ilogb_test): Likewise.
4101 (lgamma_test): Likewise.
4102 (pow_test): Likewise.
4103 (remainder_test): Likewise.
4104 (sin_test): Likewise.
4105 (tan_test): Likewise.
4106 (yn_test): Likewise.
4107 (initialize): Set errno to 0.
4108 (main): Print number of errno tests.
4109 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4110
b1a36ceb
AJ
41112013-04-29 Andreas Jaeger <aj@suse.de>
4112
c3ed8088
AJ
4113 [BZ #15084]
4114 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4115 and RES_USEVC.
4116
f1a24198
AJ
4117 [BZ #15085]
4118 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4119 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4120 unimplemented.
4121
9ce3b2cb
AJ
4122 [BZ #15380]
4123 * stdlib/random.c (__initstate): Return NULL if
4124 __initstate fails.
4125
f1a24198 4126 [BZ #15086]
b1a36ceb
AJ
4127 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4128 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4129 RES_SNGLKUPREOP.
4130
7e7b6f36
AZ
41312013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4132
4133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4134
4d14f449
JM
41352013-04-29 Joseph Myers <joseph@codesourcery.com>
4136
4137 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4138 of individual tests.
4139 (casin_test): Likewise.
4140 (casinh_test): Likewise.
4141
5b4217d7
JM
41422013-04-27 Joseph Myers <joseph@codesourcery.com>
4143
4144 [BZ #15409]
4145 * math/s_catan.c (__catan): Handle arguments with large real or
4146 imaginary part separately without squaring.
4147 * math/s_catanf.c (__catanf): Likewise.
4148 * math/s_catanh.c (__catanh): Likewise.
4149 * math/s_catanhf.c (__catanhf): Likewise.
4150 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4151 and redefine.
4152 (__catanhl): Handle arguments with large real or imaginary part
4153 separately without squaring.
4154 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4155 and redefine.
4156 (__catanl): Handle arguments with large real or imaginary part
4157 separately without squaring.
4158 * math/libm-test.inc (catan_test): Add more tests.
4159 (catanh_test): Likewise.
4160 * sysdeps/i386/fpu/libm-test-ulps: Update.
4161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4162
4220c3ef
AJ
41632013-04-27 Andreas Jaeger <aj@suse.de>
4164
4165 [BZ #15007]
4166 * stdlib/stdlib.h: Update guards for qecvt.
4167 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4168 <stdlib.h>.
4169
4721b2d1
AM
41702013-04-27 Allan McRae <allan@archlinux.org>
4171
4172 * sysdeps/i386/fpu/libm-test-ulps: Update.
4173
f0302940
JM
41742013-04-26 Joseph Myers <joseph@codesourcery.com>
4175
9457fd95
JM
4176 [BZ #15406]
4177 * math/s_catan.c: Include <float.h>.
4178 (__catan): Ensure underflow exception occurs for underflowed
4179 result.
4180 * math/s_catanf.c: Include <float.h>.
4181 (__catanf): Ensure underflow exception occurs for underflowed
4182 result.
4183 * math/s_catanh.c: Include <float.h>.
4184 (__catanh): Ensure underflow exception occurs for underflowed
4185 result.
4186 * math/s_catanhf.c: Include <float.h>.
4187 (__catanhf): Ensure underflow exception occurs for underflowed
4188 result.
4189 * math/s_catanhl.c: Include <float.h>.
4190 (__catanhl): Ensure underflow exception occurs for underflowed
4191 result.
4192 * math/s_catanl.c: Include <float.h>.
4193 (__catanl): Ensure underflow exception occurs for underflowed
4194 result.
4195 * math/libm-test.inc (catan_test): Add more tests.
4196 (catanh_test): Likewise.
4197
f0302940
JM
4198 [BZ #15405]
4199 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4200 underflowed result.
4201 * math/s_ccoshf.c (__ccoshf): Likewise.
4202 * math/s_ccoshl.c (__ccoshl): Likewise.
4203 * math/s_csin.c (__csin): Likewise.
4204 * math/s_csinf.c (__csinf): Likewise.
4205 * math/s_csinh.c (__csinh): Likewise.
4206 * math/s_csinhf.c (__csinhf): Likewise.
4207 * math/s_csinhl.c (__csinhl): Likewise.
4208 * math/s_csinl.c (__csinl): Likewise.
4209 * math/libm-test.inc (ccos_test): Add more tests.
4210 (ccosh_test): Likewise.
4211 (csin_test): Likewise.
4212 (csinh_test): Likewise.
4213
aa630f59
AZ
42142013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4215
4216 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4217 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4218 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4219 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4220 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4221 powerpc/power5+/fpu folders.
4222 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4223
4224
1b835983
MT
42252013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4226
4227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4228
73709b26
JM
42292013-04-25 Joseph Myers <joseph@codesourcery.com>
4230
4231 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4232 additions to variable.
4233 [$(config-machine) = x86_64] (modules-names): Likewise.
4234 ($(objpfx)tst-audit3): Remove dependency.
4235 ($(objpfx)tst-audit3.out): Likewise.
4236 ($(objpfx)tst-audit4): Likewise.
4237 ($(objpfx)tst-audit4.out): Likewise.
4238 ($(objpfx)tst-audit5): Likewise.
4239 ($(objpfx)tst-audit5.out): Likewise.
4240 ($(objpfx)tst-audit6): Likewise.
4241 ($(objpfx)tst-audit6.out): Likewise.
4242 ($(objpfx)tst-audit7): Likewise.
4243 ($(objpfx)tst-audit7.out): Likewise.
4244 (tst-audit3-ENV): Remove variable.
4245 (tst-audit4-ENV): Likewise.
4246 (tst-audit5-ENV): Likewise.
4247 (tst-audit6-ENV): Likewise.
4248 (tst-audit7-ENV): Likewise.
4249 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4250 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4251 addition to variable.
4252 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4253 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4254 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4255 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4256 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4257 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4258 tst-audit3, tst-audit4 and tst-audit5.
4259 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4260 tst-audit6 and tst-audit7.
4261 [$(subdir) = elf] (modules-names): Add audit modules for those
4262 tests.
4263 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4264 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4265 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4266 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4267 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4268 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4269 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4270 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4271 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4272 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4273 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4274 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4275 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4276 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4277 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4278 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4279 Likewise.
4280 [$(subdir) = elf && $(config-cflags-avx) = yes]
4281 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4282 [$(subdir) = elf && $(config-cflags-avx) = yes]
4283 (CFLAGS-tst-auditmod4a.c): Likewise.
4284 [$(subdir) = elf && $(config-cflags-avx) = yes]
4285 (CFLAGS-tst-auditmod4b.c): Likewise.
4286 [$(subdir) = elf && $(config-cflags-avx) = yes]
4287 (CFLAGS-tst-auditmod6b.c): Likewise.
4288 [$(subdir) = elf && $(config-cflags-avx) = yes]
4289 (CFLAGS-tst-auditmod6c.c): Likewise.
4290 [$(subdir) = elf && $(config-cflags-avx) = yes]
4291 (CFLAGS-tst-auditmod7b.c): Likewise.
4292 * elf/tst-audit3.c: Move to ...
4293 * sysdeps/x86_64/tst-audit3.c: ... here.
4294 * elf/tst-audit4.c: Move to ...
4295 * sysdeps/x86_64/tst-audit4.c: ... here.
4296 * elf/tst-audit5.c: Move to ...
4297 * sysdeps/x86_64/tst-audit5.c: ... here.
4298 * elf/tst-audit6.c: Move to ...
4299 * sysdeps/x86_64/tst-audit6.c: ... here.
4300 * elf/tst-audit7.c: Move to ...
4301 * sysdeps/x86_64/tst-audit7.c: ... here.
4302 * elf/tst-auditmod3a.c: Move to ...
4303 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4304 * elf/tst-auditmod3b.c: Move to ...
4305 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4306 * elf/tst-auditmod4a.c: Move to ...
4307 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4308 * elf/tst-auditmod4b.c: Move to ...
4309 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4310 * elf/tst-auditmod5a.c: Move to ...
4311 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4312 * elf/tst-auditmod5b.c: Move to ...
4313 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4314 * elf/tst-auditmod6a.c: Move to ...
4315 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4316 * elf/tst-auditmod6b.c: Move to ...
4317 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4318 * elf/tst-auditmod6c.c: Move to ...
4319 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4320 * elf/tst-auditmod7a.c: Move to ...
4321 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4322 * elf/tst-auditmod7b.c: Move to ...
4323 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4324
1ef74943
PP
43252013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4326
4327 [BZ #15366]
4328 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4329 define unconditionally.
4330 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4331 define unconditionally.
4332 (INT8_C, INT16_C, etc.): Likewise.
4333
93fd48c5
MR
43342013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4335
ae9552cf
MR
4336 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4337 __ehdr_start with hidden visibility.
4338
93fd48c5
MR
4339 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4340
418601aa
CD
43412013-04-24 Carlos O'Donell <carlos@redhat.com>
4342
4343 * math/libm-test.inc (cos_test): Use accurate hex constants.
4344 (sincost_test): Likewise.
4345
2f38fbfe
JM
43462013-04-24 Joseph Myers <joseph@codesourcery.com>
4347
5e221800
JM
4348 * math/libm-test.inc (catan_test): Add more tests.
4349 (catanh_test): Likewise.
4350
77f143fd
JM
4351 * math/s_catanf.c (__catanf): Use suffixed floating-point
4352 constants.
4353 * math/s_catanhf.c (__catanhf): Likewise.
4354 * math/s_catanhl.c (__catanhl): Likewise.
4355 * math/s_catanl.c (__catanl): Likewise.
4356
2f38fbfe
JM
4357 [BZ #15394]
4358 * math/s_catan.c (__catan): Calculate imaginary part of result
4359 with log1p not log unless computing log of number close to 0.
4360 * math/s_catanf.c (__catanf): Likewise.
4361 * math/s_catanl.c (__catanl): Likewise.
4362 * math/s_catanh.c (__catanh): Calculate real part of result with
4363 log1p not log unless computing log of number close to 0.
4364 * math/s_catanhf.c (__catanhf): Likewise.
4365 * math/s_catanhl.c (__catanhl): Likewise.
4366 * math/libm-test.inc (catan_test): Add more tests.
4367 (catanh_test): Likewise.
4368 * sysdeps/i386/fpu/libm-test-ulps: Update.
4369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4370
45d69176
SP
43712013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4372
4373 * benchtests/Makefile: Mention files in which fast and slow
4374 paths of math functions are implemented.
4375
87f51853
RM
43762013-04-23 Roland McGrath <roland@hack.frob.com>
4377
4378 * sysdeps/posix/timespec_get.c: New file.
4379
3c026539
AZ
43802013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4381
4382 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4383 POWER.
4384 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4385 for POWER.
4386 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4387 powerpc/power5/fpu folders.
4388 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4389 * benchtests/Makefile: Add modf testcase.
4390 * benchtests/bench-modf.c: New file: Benchmark test for mo
4391
ff491d14
SP
43922013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4393
4394 [BZ #14888]
4395 * time/Makefile (tests): Add tst-strptime-whitespace.
4396 * time/strptime_l.c (get_number): Use ISSPACE.
4397 (__strptime_internal): Likewise.
4398 * time/tst-strptime-whitespace.c: New test case.
4399
7ed3f4e8
AS
44002013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4401
4402 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4403 member.
4404 (_nss_files_init): Set it here.
4405
5c95f7b6
HC
44062013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4407
4408 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4409 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4410 unsigned.
4411
d34c9158
JBG
44122013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4413
4414 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4415
2169712d
SP
44162013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4417
4418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4419 size just once.
4420
29c5de99
DM
44212013-04-21 David S. Miller <davem@davemloft.net>
4422
4423 * po/ru.po: Update Russion translation from translation project.
4424
ccdad15d
AC
44252013-04-17 Adam Conrad <adconrad@0c3.net>
4426
4427 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4428 and setfsgid.
4429
0f122b8d
CD
44302013-04-17 Carlos O'Donell <carlos@redhat.com>
4431
5c5b07da 4432 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4433 * configure: Regenerate.
5c5b07da 4434 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4435 Add example to error message.
4436 * sysdeps/i386/configure: Regenerate.
4437
037714dd
SP
44382013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4439
4440 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4441 slowtan.
4442 * benchtests/cos-inputs: New file.
4443 * benchtests/slowcos-inputs: New file.
4444 * benchtests/slowcos.c: New file.
4445 * benchtests/slowtan-inputs: New file.
4446 * benchtests/slowtan.c: New file.
4447 * benchtests/tan-inputs: New file.
4448
e913141d
RM
44492013-04-16 Roland McGrath <roland@hack.frob.com>
4450
4451 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4452 considered kosher.
4453
a2964074
SP
44542013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4455
4856bcd2
SP
4456 * benchtests/Makefile: Include cppflags-iterator.mk to add
4457 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4458
a2964074
SP
4459 * Makefile.in (bench-clean): New target.
4460 * benchtests/Makefile (bench-clean): Likewise.
4461
9fbf9aca
DH
44622013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4463
4464 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4465
207d1e2a
TS
44662013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4467
4468 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4469
306dfba9
AS
44702013-04-15 Andreas Schwab <schwab@suse.de>
4471
4472 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4473 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4474 * nscd/pwdcache.c (cache_addpw): Likewise.
4475 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4476 more than recsize.
4477
206a6699
SP
44782013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4479
4480 * benchtests/Makefile (bench): Write all output to
4481 bench-out.tmp together.
4482
0582f6b3
AS
44832013-04-15 Andreas Schwab <schwab@suse.de>
4484
4485 * nscd/nscd.c (main): Don't fork again after closing files.
4486
acb4325f
SP
44872013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4488
5cb26d0a
SP
4489 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4490
acb4325f
SP
4491 * benchtests/Rules (bench-deps): Collect dependencies into a
4492 single variable. Add Makefile to dependencies.
4493 ($(objpfx)bench-%.c): Depend on bench-deps.
4494
47792506
RM
44952013-04-12 Roland McGrath <roland@hack.frob.com>
4496 Xavier Roche <roche+kml2@exalead.com>
4497
4498 [BZ #15361]
4499 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4500 just that it's a file descriptor.
4501 * manual/llio.texi (Synchronizing AIO Operations): Update description
4502 for EBADF error from aio_fsync.
4503
8fc1bee5
SP
45042013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4505
4506 * Rules (bench): Move target definition...
4507 * benchtests/Makefile: ... here.
4508
aba5e333
CD
45092013-04-11 Carlos O'Donell <carlos@redhat.com>
4510
4511 * math/libm-test.inc (cos_test): Fix PI/2 test.
4512 (sincos_test): Likewise.
4513 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4514 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4515
273cdee8
AS
45162013-04-11 Andreas Schwab <schwab@suse.de>
4517
6ecec3b6
AS
4518 [BZ #13988]
4519 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4520 accept exponent character only when digits were seen.
4521 * stdio-common/Makefile (tests): Add bug26.
4522 * stdio-common/bug26.c: New file.
4523
273cdee8
AS
4524 [BZ #14293]
4525 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4526 non-freeable.
4527
8da491f5
SP
45282013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4529
01dc6df9
SP
4530 * Makeconfig (rtld-prefix): Define built linker prefix.
4531 * Rules (run-bench): Use it.
4532 * math/Makefile (run-regen-ulps): Likewise.
4533
8da491f5
SP
4534 * Rules (bench): Remove eval.
4535
abe7f530
SP
45362013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4537 Roland McGrath <roland@hack.frob.com>
4538 Ondrej Bilka <neleai@seznam.cz>
4539
4540 [BZ #15346]
4541 * time/getdate.c: Include ctype.h and alloca.h.
4542 (__getdate_r): Trim leading and trailing spaces of input.
4543 * time/tst-getdate.c (tests): Add tests with leading and
4544 trailing spaces.
4545
61c23e62
RM
45462013-04-08 Roland McGrath <roland@hack.frob.com>
4547
4548 [BZ #14280]
4549 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4550 when computing value.
4551
7208a313
CD
45522013-04-06 Carlos O'Donell <carlos@redhat.com>
4553
085b2d41
CD
4554 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4555 Use testrun.sh to run libm tests.
4556
7208a313
CD
4557 [BZ #15309]
4558 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4559
872c0acd
MM
45602013-04-06 Marko Myllynen <myllynen@redhat.com>
4561
4562 [BZ #15264]
4563 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4564
26510bdd
CD
45652013-04-06 Carlos O'Donell <carlos@redhat.com>
4566
4567 * Makefile.in (regen-ulps): New target.
4568 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4569 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4570 [ifneq (no,$(PERL)] (regen-ulps): New target.
4571 [ifeq (no,$(PERL)] (regen-ulps): New target.
4572 * math/libm-test.inc (ulps_file_name): Define.
4573 (output_dir): New variable.
4574 (options): Add "output-dir" option.
4575 (parse_opt): Handle 'o' case.
4576 (main): If output_dir is non-NULL use it as a prefix
4577 otherwise use "".
4578 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4579
a01f19c8
CD
45802013-04-06 Carlos O'Donell <carlos@redhat.com>
4581
4582 [BZ #10060, #10062]
4583 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4584 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4585 fail configure if __sync_val_compare_and_swap is not inlined.
4586 * sysdeps/i386/configure: Regenerate.
4587 * configure.in: Build for i686 when configured for i386.
4588 * configure: Regenerate.
4589 * README: Remove i386 reference.
4590
b7a329a5
CD
45912013-04-06 Carlos O'Donell <carlos@redhat.com>
4592
4593 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4594 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4595
bf0f50df
TS
45962013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4597
ee091edf
TS
4598 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4599 (lmsnanval): New variables.
4600 (F): Add conversion tests.
4601 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4602 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4603
a8b792d6
TS
4604 * stdio-common/tstdiomisc.c (F): Properly collect individual
4605 tests' results.
4606
a1cbf437
TS
4607 [BZ #14686, #15336]
4608 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4609 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4610 Instead, use input NaN values or generate a qNaN by arithmetic
4611 operation. Also fix bugs to comply with the standard.
4612 * math/libm-test.inc (remainder_test): Add more tests.
4613
8b43a0c9
TS
4614 [BZ #15335, #15342]
4615 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4617 input NaN values or generate a qNaN by arithmetic operation.
4618
d91da4ce
TS
4619 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4620 unreachable code.
4621
bf0f50df
TS
4622 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4623 definitions.
4624
05e166c8
JM
46252013-04-03 Joseph Myers <joseph@codesourcery.com>
4626
4627 [BZ #14478]
4628 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4629 underflowed result.
4630 * math/s_cexpf.c (__cexpf): Likewise.
4631 * math/s_cexpl.c (__cexpl): Likewise.
4632 * math/libm-test.inc (cexp_test): Add more tests.
4633
1cef1b19
AS
46342013-04-03 Andreas Schwab <schwab@suse.de>
4635
4636 [BZ #15330]
4637 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4638 order arrays from heap if bigger than alloca cutoff.
4639
74d87055
TS
46402013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4641
4642 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4643 (SNAN_TESTS_double): Refer to GCC PR56831.
4644 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4645 GCC PR56828.
4646
d755bba4
SP
46472013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4648
90d5d5bb
SP
4649 * Rules (bench): Move bench.out after the run is complete.
4650
73e0cd5d
SP
4651 * Rules (bench): Echo currently running benchmark.
4652
64aabd4b
SP
4653 * benchtests/Makefile (bench): Add atan and slowatan.
4654 * benchtests/atan-inputs: New file.
4655 * benchtests/slowatan-inputs: New file.
4656 * benchtests/slowatan.c: New file.
4657
c871eccd
SP
4658 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4660 its value.
4661
d755bba4
SP
4662 [BZ #15305]
4663 * sysdeps/unix/sysv/linux/kernel-features.h
4664 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4665 __ASSUME_XFS_RESTRICTED_CHOWN.
4666 * sysdeps/unix/sysv/linux/pathconf.c
4667 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4668 Save and restore errno.
4669
52ce4860
JM
46702013-04-02 Joseph Myers <joseph@codesourcery.com>
4671
4672 [BZ #15327]
4673 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4674 arguments using __kernel_casinh.
4675 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4676 arguments using __kernel_casinhf.
4677 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4678 arguments using __kernel_casinhl.
4679 * math/libm-test.inc (cacosh_test): Add more tests.
4680 * sysdeps/i386/fpu/libm-test-ulps: Update.
4681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4682
81f311c2
SP
46832013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4684
e7906a47
SP
4685 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4686 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4687
92e3664b
SP
4688 * bench/Makefile (bench): Add sin and slowsin.
4689 * benchtests/sin-inputs: New file.
4690 * benchtests/slowsin-inputs: New file.
4691 * benchtests/slowsin.c: New file.
4692
81f311c2
SP
4693 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4694 (bench): Add slowexp and slowpow.
4695 (exp-ITER): Increase iterations.
4696 (pow-ITER): Likewise.
4697 * benchtests/exp-inputs: Change input.
4698 * benchtests/pow-inputs: Likewise.
4699 * benchtests/slowexp-inputs: New file.
4700 * benchtests/slowexp.c: New file.
4701 * benchtests/slowpow-inputs: New file.
4702 * benchtests/slowpow.c: New file.
4703
ab0f1aa9
AZ
47042013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4705
4706 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4707 instructions.
4708 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4709 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4710 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4711 * benchtests/Makefile: Add rint benchtest.
4712 * benchtests/rint-inputs: Input for rint benchtest.
4713
57267616
TS
47142013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4715
4716 * Versions.def (libm): Add GLIBC_2.18.
4717 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4718 hidden libm prototypes.
4719 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4720 * math/Makefile (libm-calls): Add s_issignaling.
4721 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4722 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4723 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4724 declaration.
4725 * math/math.h [__USE_GNU] (issignaling): New macro.
4726 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4727 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4728 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4729 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4732 * manual/arith.texi (issignaling): New section.
4733 * manual/libm-err-tab.pl (@all_functions): Update comment.
4734 * math/gen-libm-test.pl (parse_args): Apply special handling for
4735 issignaling.
4736 * math/libm-test.inc (print_float, issignaling_test): New
4737 functions.
4738 (check_float_internal): Add issignaling checks.
4739 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4740 default definition.
4741 * sysdeps/powerpc/math-tests.h: New file.
4742 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4743 tests.
4744 * math/test-snan.c (TEST_FUNC): Likewise.
4745
6142896d
DM
47462013-03-30 David S. Miller <davem@davemloft.net>
4747
4748 * po/de.po: Update from translation team.
4749
ccc8cadf
JM
47502013-03-30 Joseph Myers <joseph@codesourcery.com>
4751
4752 [BZ #10357]
4753 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4754 imaginary part less than 1.0 and real part less than 0.5
4755 specially.
4756 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4757 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4758 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4759 (cacos_test): Add more tests.
4760 (casin_test): Likewise.
4761 (casinh_test): Likewise.
4762 * sysdeps/i386/fpu/libm-test-ulps: Update.
4763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4764
0f6a8d4b
SP
47652013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4766
0d1029de
SP
4767 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4768 ONE with its value.
4769
c2d94018
SP
4770 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4771 (__pow_mp): Replace ONE and MONE with their values.
4772 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4773 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4774 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4775 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4776 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4777 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4778
27ec37f1
SP
4779 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4780
a64d7e0e
SP
4781 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4782 (__pow_mp): Replace ZERO and MZERO with their values.
4783 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4785 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4787 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4788 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4789 (__sqr): Likewise.
4790
d26dd3eb
SP
4791 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4792
0f6a8d4b
SP
4793 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4794
e57b0c61
RM
47952013-03-28 Roland McGrath <roland@hack.frob.com>
4796
4797 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4798 Declare with __attribute__ ((weak)).
4799 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4800 Call __call_tls_dtors only if it's not NULL.
4801
356b3480
RM
48022013-03-28 Roland McGrath <roland@hack.frob.com>
4803
288f7d79
RM
4804 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4805 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4806 magic __ehdr_start linker symbol if it's defined.
4807 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4808 them up here if it was already done.
4809
dc0a0263
RM
4810 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4811 (_dl_aux_init): Use const in cast when setting it.
4812 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4813 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4814 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4815
3d3436ae
RM
4816 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4817 Declare them here.
4818 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4819 * csu/libc-tls.c: Nor here.
4820 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4821
356b3480
RM
4822 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4823 (__libc_message): Never call vsyslog.
4824
b0f1246a
AM
48252013-03-28 Alan Modra <amodra@gmail.com>
4826
4827 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4828 Define as empty.
4829 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4830 Likewise.
4831
fbbe2b9a
AZ
48322013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4833
4834 [BZ #15214]
4835 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4836 underflow.
4837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4838
1728ab37
SP
48392013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4840
7a86be6e
SP
4841 [BZ #15304]
4842 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4843 Don't add gid passed as argument.
4844
1728ab37
SP
4845 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4846
3a7182a1
JM
48472013-03-27 Joseph Myers <joseph@codesourcery.com>
4848
4849 [BZ #15307]
4850 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4851 imaginary part between 1.0 and 1.5 and real part less than 0.5
4852 specially.
4853 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4854 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4855 * math/libm-test.inc (cacos_test): Add more tests.
4856 (casin_test): Likewise.
4857 (casinh_test): Likewise.
4858 * sysdeps/i386/fpu/libm-test-ulps: Update.
4859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4860
6f2e90e7
SP
48612013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4862
5739f705
SP
4863 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4864 constants.
4865 (norm): Likewise.
4866 (denorm): Likewise.
4867 (__dbl_mp): Likewise.
4868 (add_magnitudes): Likewise.
4869 (sub_magnitudes): Likewise.
4870 (__add): Likewise.
4871 (__sub): Likewise.
4872 (__mul): Likewise.
4873 (__sqr): Likewise.
4874 (__inv): Likewise.
4875 (__dvd): Likewise.
4876
e375e83d
SP
4877 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4878 commented code.
4879 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4880 (__dubcos): Likewise.
4881 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4882 (__ieee754_acos): Likewise.
4883 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4885 (__exp1): Likewise.
4886 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4888 (log1): Likewise.
4889 (my_log2): Likewise.
4890 (checkint): Likewise.
4891 * sysdeps/ieee754/dbl-64/e_remainder.c
4892 (__ieee754_remainder): Likewise.
4893 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4894 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4895 (bsloww): Likewise.
4896 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4897
6f2e90e7
SP
4898 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4899 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4900 MANTISSA_STORE_T to store computations on mantissa. Use
4901 macros for rounding and division.
4902 (denorm): Likewise.
4903 (__dbl_mp): Likewise.
4904 (add_magnitudes): Likewise.
4905 (sub_magnitudes): Likewise.
4906 (__mul): Likewise.
4907 (__sqr): Likewise.
4908 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4909 powers of two in terms of TWOPOW macro.
4910 (mp_no): Make type of mantissa as MANTISSA_T.
4911 [!RADIXI]: Define RADIXI.
4912 [!TWO52]: Define TWO52.
4913 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4914
fce14d4e
AZ
49152013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4916
4917 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4918 llroundl symbol when building for PPC32.
4919
9ad027fb
MW
49202013-03-24 Mark H Weaver <mhw@netris.org>
4921
4922 * manual/arith.texi (Normalization Functions): Fix prototypes for
4923 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4924
e42a38dd
AZ
49252013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4926
4927 [BZ #13889]
4928 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4929 high value to check if expl overflow.
4930 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4931 to check for underflow and overflow.
4932 * math/libm-test.inc: Add exp test.
4933
2e0fb521
DL
49342013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4935
4936 [BZ #11120]
4937 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4938 with NOT_IN_libc.
4939
b5784d95
AZ
49402013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4941
4942 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4943 symbol.
4944
5aa4a1a1
TS
49452013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4946
bdef0be7
TS
4947 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4948 wrap blocks consisting of several statements.
4949
5aa4a1a1
TS
4950 * sysdeps/generic/math-tests.h: New file.
4951 * sysdeps/i386/fpu/math-tests.h: Likewise.
4952 * math/test-snan.c: Include it.
4953 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4954
98c48fe5
JM
49552013-03-21 Joseph Myers <joseph@codesourcery.com>
4956
4957 [BZ #15285]
4958 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4959 (__ieee754_j0l): Do not improve calculations using cos of twice
4960 input for inputs above LDBL_MAX / 2.0L.
4961 (__ieee754_y0l): Likewise.
4962 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4963 (__ieee754_j1l): Do not improve calculations using cos of twice
4964 input for inputs above LDBL_MAX / 2.0L.
4965 (__ieee754_y1l): Likewise.
4966 * math/libm-test.inc (j0_test): Add another test.
4967 (j1_test): Likewise.
4968 (y0_test): Likewise.
4969 (y1_test): Likewise.
4970 * sysdeps/i386/fpu/libm-test-ulps: Update.
4971
3775a8bc
SP
49722013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4973
4974 * Rules ($(objpfx)bench-%.c): Include code from a C source
4975 file.
4976
0a1b2ae6
JM
49772013-03-21 Joseph Myers <joseph@codesourcery.com>
4978
4979 [BZ #15287]
4980 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4981 imaginary part 1.0 and real part less than 0.5 specially.
4982 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4983 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4984 * math/libm-test.inc (cacos_test): Add more tests.
4985 (casin_test): Likewise.
4986 (casinh_test): Likewise.
4987 * sysdeps/i386/fpu/libm-test-ulps: Update.
4988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4989
b33d4ce4
SP
49902013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4991
4992 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4993 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4994
bef0b507
JM
49952013-03-20 Joseph Myers <joseph@codesourcery.com>
4996
4997 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4998 * config.make.in (config-cflags-sse4): Remove variable.
4999 (config-cflags-avx): Likewise.
5000 (config-cflags-sse2avx): Likewise.
5001 (config-cflags-novzeroupper): Likewise.
5002 (config-asflags-i686): Likewise.
5003 (have-mfma4): Likewise.
5004 (have-as-vis3): Likewise.
5005 (MIG): Likewise.
5006 * configure.in (MIG): Do not AC_SUBST.
5007 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5008 (libc_cv_cc_sse4): Do not AC_SUBST.
5009 (libc_cv_cc_avx): Likewise.
5010 (libc_cv_cc_sse2avx): Likewise.
5011 (libc_cv_cc_novzeroupper): Likewise.
5012 (libc_cv_cc_fma4): Likewise.
5013 (libc_cv_as_i686): Likewise.
5014 (libc_cv_sparc_as_vis3): Likewise.
5015 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5016 LIBC_CONFIG_VAR.
5017 (config-asflags-i686): Likewise.
5018 (config-cflags-avx): Likewise.
5019 (config-cflags-sse2avx): Likewise.
5020 (have-mfma4): Likewise.
5021 (config-cflags-novzeroupper): Likewise.
5022 * sysdeps/mach/configure.in (MIG): Likewise.
5023 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5024 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5025 LIBC_CONFIG_VAR.
5026 (config-cflags-avx): Likewise.
5027 (config-cflags-sse2avx): Likewise.
5028 (have-mfma4): Likewise.
5029 (config-cflags-novzeroupper): Likewise.
5030 * configure: Regenerated.
5031 * sysdeps/i386/configure: Likewise.
5032 * sysdeps/mach/configure: Likewise.
5033 * sysdeps/sparc/configure: Likewise.
5034 * sysdeps/x86_64/configure: Likewise.
5035
912cc4b3
RM
50362013-03-20 Roland McGrath <roland@hack.frob.com>
5037
5038 [BZ #14812]
5039 * locale/programs/localedef.c (options): Put N_ translation marker
5040 on argument names, not just descriptions.
5041
04eed2b0
MS
50422013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5043
5044 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5045
a065ceff
OB
50462013-03-20 Ondřej Bílka <neleai@seznam.cz>
5047
9bb2a810 5048 [BZ #14176]
a065ceff
OB
5049 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5050
a600e5ce
RM
50512013-03-19 Roland McGrath <roland@hack.frob.com>
5052
5053 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5054 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5055 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5056 [!BEFORE_ABORT] (before_abort): New function.
5057 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5058 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5059 (writev_for_fatal): New function.
5060 (WRITEV_FOR_FATAL): New macro; call that.
5061 (backtrace_and_maps): New function.
5062 (BEFORE_ABORT): New macro; call that.
5063 (struct str_list): Type removed.
5064 (__libc_message, __libc_fatal): Functions removed.
5065 Include <sysdeps/posix/libc_fatal.c> instead.
5066
6b18bea6
JM
50672013-03-19 Joseph Myers <joseph@codesourcery.com>
5068
5069 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5070 constants.
5071 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5072 double constants.
5073
aaa8cb4b
AS
50742013-03-19 Andreas Schwab <schwab@suse.de>
5075
44673770
AS
5076 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5077 * sysdeps/gnu/configure: Regenerate.
5078
aaa8cb4b
AS
5079 * configure.in: Substitute libc_cv_rtlddir.
5080 * configure: Regenerate.
5081 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5082 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5083 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5084 * elf/Makefile (install-others, CFLAGS-interp.c)
5085 (ldso_install, common-ldd-rewrite): Likewise.
5086 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5087 $(inst_slibdir)/$(rtld-installed-name).
5088 * scripts/rellns-sh: Add -p option.
5089 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5090 for source.
5091
d3cfc668
SP
50922013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5093
5094 * manual/nptl.texi: Renamed to ...
5095 * manual/threads.texi: ... this.
5096 * manual/Makefile (chapters): Update.
5097
0e2b9cdd
RM
50982013-03-18 Roland McGrath <roland@hack.frob.com>
5099
5100 [BZ #14812]
5101 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5102 on argument names, not just descriptions.
0e2b9cdd
RM
5103 * malloc/memusagestat.c (options): Likewise.
5104 * nss/getent.c (options): Likewise.
63270c24
RM
5105
51062013-03-18 Benno Schulenberg <bensberg@justemail.net>
5107
5108 [BZ #14812]
5109 * iconv/iconv_prog.c (options): Put N_ translation marker
5110 on argument names, not just descriptions.
5111 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5112
b2e1393c
OB
51132013-03-18 Ondrej Bilka <neleai@seznam.cz>
5114
5115 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5116 implementation which is faster on all x86_64 architectures.
5117 Tested on AMD, Intel Nehalem, SNB, IVB.
5118 * sysdeps/x86_64/strnlen.S: Likewise.
5119
5120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5121 Remove all multiarch strlen and strnlen versions.
5122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5123 Remove strlen and strnlen related parts.
5124
5125 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5126 Inline strlen part.
5127 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5128
5129 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5130 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5131 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5132 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5133 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5134 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5135
ec4ff04d
CD
51362013-03-17 Carlos O'Donell <carlos@redhat.com>
5137
5138 * manual/memory.texi (Malloc Tunable Parameters):
5139 Sort parameters alphabetically. Add comments for missing entries.
5140
cd18e90a
DM
51412013-03-17 David S. Miller <davem@davemloft.net>
5142
5143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5144
2a185d32
JM
51452013-03-16 Joseph Myers <joseph@codesourcery.com>
5146
d2f9799e
JM
5147 [BZ #15283]
5148 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5149 for arguments at most half maximum finite value.
5150 * math/libm-test.inc (j0_test): Add more tests.
5151 (j1_test): Likewise.
5152 (y0_test): Likewise.
5153 (y1_test): Likewise.
5154 * sysdeps/i386/fpu/libm-test-ulps: Update.
5155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5156
2a185d32
JM
5157 [BZ #14155]
5158 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5159 1 / x and functions P and Q for arguments above 0x1p256L.
5160 (__ieee754_y0l): Likewise.
5161 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5162 (__ieee754_y1l): Likewise.
5163 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5164 (j1_test): Likewise.
5165 (y0_test): Likewise.
5166 (y1_test): Likewise.
5167
6cbec759
TS
51682013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5169
5170 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5171 variable.
5172
bc16e260
RM
51732013-03-15 Roland McGrath <roland@hack.frob.com>
5174
aefc9b8c
RM
5175 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5176 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5177 zero since it's initialized to EXEC_PAGESIZE.
5178
bc16e260
RM
5179 * sysdeps/unix/sysv/linux/ldsodefs.h
5180 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5181 * sysdeps/generic/ldsodefs.h: ... here.
5182
a57da955
TS
51832013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5184
af00a34d
TS
5185 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5186
495ded2c
TS
5187 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5188 math/test-snan.c.
5189 * math/test-snan.c: Renamed from
5190 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5191 * math/Makefile (tests): Add test-snan.
5192 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5193 test-powerpc-snan.
5194
777b0332
TS
5195 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5196 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5197 functions.
5198 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5199 __builtin_nan family of functions.
5200 * math/libm-test.inc (initialize): Initialize qnan_value with
5201 __builtin_nan family of functions.
5202 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5203 Remove variables.
5204 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5205 Remove functions.
5206 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5207 storage class. Initialize qNaN_var and sNaN_var with
5208 __builtin_nan and __builtin_nans families of functions,
5209 respectively.
5210
64d063b8
TS
5211 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5212 (sqrt_test): Remove duplicate test with qNaN input.
5213 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5214 (round_test, signbit_test, significand_test): Note missing +/-Inf
5215 as well as qNaN tests.
5216
67e971f1
TS
5217 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5218 qNaN_var. Fix a few strings, too.
5219 * math/libm-test.inc (nan_value): Rename to qnan_value.
5220 * math/gen-libm-test.pl (%beautify): Adjust to that.
5221 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5222 * math/test-misc.c (main): Likewise.
5223 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5224 to __qnan_bytes, and __qnan_union, respectively.
5225 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5226 Likewise.
5227 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5228 and lqnanval, respectively.
5229 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5230 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5231 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5232 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5233
64487e12
TS
5234 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5235 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5236 doubles.
5237
e015e27b
TS
5238 * math/test-misc.c (main): Fix copy'n'pastos.
5239 * misc/tst-efgcvt.c (special): Likewise.
5240
a57da955
TS
5241 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5242 Remove declarations.
5243
1e380345
SP
52442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5245
5246 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5247 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5248 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5249 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5250
ef26eece
AZ
52512013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5252
5253 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5254 macro to return vdso values correctly in IFUNC implementations.
5255 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5256 Optimization by using IFUNC.
5257
8cfdb7e0
SP
52582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5259 Richard Henderson <rth@redhat.com>
5260 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5261
5262 * Makefile.in (bench): New target.
5263 * NEWS: Mention the benchmark framework.
5264 * Rules (bench): Likewise.
5265 (binaries-bench): Generate binaries for functions to
5266 benchmark.
5267 * benchtests/Makefile: New makefile for benchmark tests.
5268 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5269 programs.
5270 * benchtests/exp-inputs: New input file for EXP function.
5271 * benchtests/pow-inputs: New input file for POW function.
5272 * scripts/bench.pl: New script to generate source files for
5273 benchmark programs.
5274
bcda9880
SP
52752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5276
d22ca8cd
SP
5277 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5278 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5279 computations on mantissa. Use macros for rounding and
5280 division.
5281 (denorm): Likewise.
5282 (__dbl_mp): Likewise.
5283 (add_magnitudes): Likewise.
5284 (sub_magnitudes): Likewise.
5285 (__mul): Likewise.
5286 (__sqr): Likewise.
5287 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5288 powers of two in terms of TWOPOW macro.
5289 (mp_no): Make type of mantissa as MANTISSA_T.
5290 [!RADIXI]: Define RADIXI.
5291 [!TWO52]: Define TWO52.
5292 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5293
bcda9880
SP
5294 * manual/nptl.texi (cindex): Modify threads to pthreads.
5295
06d5adfb
JM
52962013-03-15 Joseph Myers <joseph@codesourcery.com>
5297
5298 * sysdeps/x86_64/preconfigure: Regenerated.
5299
41c7328e
JM
53002013-03-14 Joseph Myers <joseph@codesourcery.com>
5301
5302 [BZ #14155]
5303 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5304 0x1p28 and above.
5305 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5306 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5307 0x1p28 and above.
5308 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5309 * math/libm-test.inc (j0_test): Do not allow one spurious
5310 underflow exception.
5311 (y1_test): Likewise.
5312
e25cfa60
SP
53132013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5314
0409959c
SP
5315 * manual/Makefile (chapters): Add nptl.
5316 * manual/debug.texi (Debugging Support): Add link to Threads
5317 chapter.
5318 * manual/nptl.texi: New file.
5319
e25cfa60
SP
5320 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5321
58a1335e
PB
53222013-03-14 Petr Baudis <pasky@ucw.cz>
5323
5324 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5325 for non-NULL pointer before the memory validity test. Pointed
5326 out by Holger Brunck <holger.brunck@keymile.com>.
5327
9dc7c64f
AS
53282013-03-13 Andreas Schwab <schwab@suse.de>
5329
5330 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5331 instead of .os.
5332
54206aa6
JM
53332013-03-13 Joseph Myers <joseph@codesourcery.com>
5334
5335 * timezone/zic.c: Update from tzcode 2013b.
5336
e98cdb38
CD
53372013-03-12 Carlos O'Donell <carlos@redhat.com>
5338
5339 * manual/install.texi (Configuring and compiling):
5340 Mention i686 and i586.
5341 * INSTALL: Regenerate.
5342
9967e003
RM
53432013-03-12 Roland McGrath <roland@hack.frob.com>
5344
5345 * sysdeps/init_array/elf-init.c: New file.
5346 * csu/elf-init.c
5347 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5348 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5349
5350 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5351 __gmon_start__ as global, but as static with a .preinit_array pointer.
5352 * sysdeps/init_array/gmon-start.c: New file. Use that.
5353 * sysdeps/init_array/crti.S: New file, empty except for comments.
5354 * sysdeps/init_array/crtn.S: Likewise.
5355
e6b5a293 53562013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5357
5358 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5359 definining bcopy.
80f844c9
OB
5360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5361 Remove Prefer_SSE_for_memop.
5362 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5363 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5364 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5366 memset-x86-64.
80f844c9 5367 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5368 Remove bzero, memset ifunc support.
80f844c9
OB
5369 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5370 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5371 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5372 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5373
fb6b0fcb
AS
53742013-03-11 Andreas Schwab <schwab@suse.de>
5375
5376 [BZ #15234]
5377 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5378 by SHLIB_COMPAT.
5379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5380 (GLIBC_2.16): Remove pthread_atfork.
5381
3e6bd4b1
PP
53822013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5383
5384 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5385 (ptestcases.h): Likewise.
5386
222d7f00
RM
53872013-03-08 Roland McGrath <roland@hack.frob.com>
5388
5389 * Makeconfig ($(common-objpfx)config.status): Depend on
5390 sysdeps/*/preconfigure{,.in} too.
5391
1ba4f030
JM
53922013-03-08 Joseph Myers <joseph@codesourcery.com>
5393
a222d91a
JM
5394 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5395 (__free_hook): Use void * instead of __malloc_ptr_t.
5396 (__malloc_hook): Likewise.
5397 (__realloc_hook): Likewise.
5398 (__memalign_hook): Likewise.
5399 (__after_morecore_hook): Likewise.
5400 * malloc/arena.c (save_malloc_hook): Likewise.
5401 (save_free_hook): Likewise.
5402 * malloc/hooks.c (malloc_hook_ini): Likewise.
5403 (realloc_hook_ini): Likewise.
5404 (memalign_hook_ini): Likewise.
5405 * malloc/malloc.c (malloc_hook_ini): Likewise.
5406 (realloc_hook_ini): Likewise.
5407 (memalign_hook_ini): Likewise.
5408 (__free_hook): Likewise.
5409 (__malloc_hook): Likewise.
5410 (__realloc_hook): Likewise.
5411 (__memalign_hook): Likewise.
5412 (__libc_malloc): Likewise.
5413 (__libc_free): Likewise.
5414 (__libc_realloc): Likewise.
5415 (__libc_memalign): Likewise.
5416 (__libc_valloc): Likewise.
5417 (__libc_pvalloc): Likewise.
5418 (__libc_calloc): Likewise.
5419 (__posix_memalign): Likewise.
5420 * malloc/morecore.c (__sbrk): Likewise.
5421 (__default_morecore): Likewise.
5422
5cc45e10
JM
5423 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5424
dd54b864
JM
5425 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5426 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5427 __malloc_ptrdiff_t.
5428
1ba4f030
JM
5429 * malloc/malloc.h (__malloc_size_t): Remove macro.
5430 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5431 __malloc_size_t.
5432 (old_memalign_hook): Likewise.
5433 (old_realloc_hook): Likewise.
5434 (struct hdr): Likewise.
5435 (flood): Likewise.
5436 (mallochook): Likewise.
5437 (memalignhook): Likewise.
5438 (reallochook): Likewise.
5439 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5440 (tr_old_realloc_hook): Likewise.
5441 (tr_old_memalign_hook): Likewise.
5442 (tr_mallochook): Likewise.
5443 (tr_reallochook): Likewise.
5444 (tr_memalignhook): Likewise.
5445
edf66e57
AZ
54462013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5447
5448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5449 default_ldbl_pack and using as default implementation.
5450 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5451 implementation.
5452 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5453 redundant definition.
5454 (ldbl_insert_mantissa): Likewise.
5455 (ldbl_canonicalize): Likewise.
5456 (ldbl_nearbyint): Likewise.
5457 (ldbl_pack): Rename to ldbl_pack_ppc.
5458 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5459 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5460 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5461
6d9145d8
SP
54622013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5463
5464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5465 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5466 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5467 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5470 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5471 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5472
4dd4e157
AJ
54732013-03-07 Andreas Jaeger <aj@suse.de>
5474
5475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5476 bits/mman-linux.h.
5477
adbb8027
SP
54782013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5479
ce544b5b
SP
5480 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5481 Include mpa.h and declare __MPEXP.
5482 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5483 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5484 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5485 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5487 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5488 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5489
4cc149fd
SP
5490 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5491 (__slowpow): Use long double EXPL and LOGL functions to
5492 compute POW.
5493 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5494 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5495 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5496 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5497 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5498 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5499
e6ebd4a7
SP
5500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5501 intermediate variable to calculate exponent.
5502 (__sqr): Likewise.
5503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5504 Likewise.
5505 (__sqr): Likewise.
5506
82a9811d
SP
5507 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5508 [!NO__SQR]: Define __sqr.
5509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5510 and NO__SQR. Remove all code except __mul and __sqr. Include
5511 sysdeps/ieee754/dbl-64/mpa.c.
5512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5513
adbb8027
SP
5514 [BZ #12723]
5515 * posix/Makefile (tests): Add tst-pathconf.
5516 * posix/tst-pathconf.c: New test case.
5517 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5518 _PC_PIPE_BUF.
5519 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5520
39120df9
PF
55212013-03-06 Patsy Franklin <pfrankli@redhat.com>
5522
5523 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5524
67525cb8
AJ
55252013-03-06 Andreas Jaeger <aj@suse.de>
5526
664a9ce4
AJ
5527 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5528 definition via __MAP_ANONYMOUS.
5529
8e39047d
AJ
5530 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5531 it's not part of Linux headers.
5532
67525cb8
AJ
5533 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5534 (MAP_HUGE_MASK): Define.
5535
5536 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5537 Define.
5538 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5539 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5540 Define.
5541 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5542 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5543 Define.
5544 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5545 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5546 Define.
5547 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5548
5549 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5550 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5551 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5552 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5553 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5554 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5555
5556 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5557 Handle f2fs.
5558
5559 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5560 Handle f2fs and efivarfs.
5561
5562 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5563 f2fs.
5564
5565 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5566 (EFIVARFS_MAGIC): Add.
5567 (F2FS_LINK_MAX): Add.
5568
e1b42695
PP
55692013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5570
5571 * stdio-common/vfprintf.c: Replace __builtin_expect with
5572 __glibc_unlikely.
5573
2d67d91a
JM
55742013-03-06 Joseph Myers <joseph@codesourcery.com>
5575
5576 [BZ #13550]
5577 * sysdeps/generic/bp-sym.h: Remove file.
5578 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5579 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5580 <bp-sym.h> and <bp-asm.h>.
5581 (__longjmp): Don't use BP_SYM.
5582 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5583 and <bp-asm.h>.
5584 (memcpy): Don't use BP_SYM.
5585 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5586 <bp-sym.h> and <bp-asm.h>.
5587 (memcpy): Don't use BP_SYM.
5588 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5589 <bp-asm.h>.
5590 (memcpy): Don't use BP_SYM.
5591 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5592 <bp-asm.h>.
5593 (memset): Don't use BP_SYM.
5594 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5595 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5596 (__bzero): Don't use BP_SYM.
5597 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5598 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5599 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5600 <bp-sym.h> and <bp-asm.h>.
5601 (memcmp): Don't use BP_SYM. Remove comment about bounded
5602 pointers.
5603 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5604 <bp-sym.h> and <bp-asm.h>.
5605 (memcpy): Don't use BP_SYM.
5606 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5607 <bp-sym.h> and <bp-asm.h>.
5608 (memset): Don't use BP_SYM.
5609 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5610 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5611 (__bzero): Don't use BP_SYM.
5612 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5613 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5614 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5615 <bp-sym.h> and <bp-asm.h>.
5616 (strncmp): Don't use BP_SYM. Remove comment about bounded
5617 pointers.
5618 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5619 <bp-sym.h> and <bp-asm.h>.
5620 (memcpy): Don't use BP_SYM.
5621 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5622 <bp-sym.h> and <bp-asm.h>.
5623 (memset): Don't use BP_SYM.
5624 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5625 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5626 (__bzero): Don't use BP_SYM.
5627 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5628 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5629 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5630 <bp-sym.h> and <bp-asm.h>.
5631 (__memchr): Don't use BP_SYM.
5632 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5633 <bp-sym.h> and <bp-asm.h>.
5634 (memcmp): Don't use BP_SYM. Remove comment about bounded
5635 pointers.
5636 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5637 <bp-sym.h> and <bp-asm.h>.
5638 (memcpy): Don't use BP_SYM.
5639 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5640 <bp-sym.h> and <bp-asm.h>.
5641 (__mempcpy): Don't use BP_SYM.
5642 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5643 <bp-sym.h> and <bp-asm.h>.
5644 (__memrchr): Don't use BP_SYM.
5645 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5646 <bp-sym.h> and <bp-asm.h>.
5647 (memset): Don't use BP_SYM.
5648 (__bzero): Likewise.
5649 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5650 <bp-sym.h> and <bp-asm.h>.
5651 (__rawmemchr): Don't use BP_SYM.
5652 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5653 <bp-sym.h> and <bp-asm.h>.
5654 (__STRCMP): Don't use BP_SYM.
5655 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5656 <bp-sym.h> and <bp-asm.h>.
5657 (strchr): Don't use BP_SYM.
5658 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5659 <bp-sym.h> and <bp-asm.h>.
5660 (__strchrnul): Don't use BP_SYM.
5661 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5662 <bp-sym.h> and <bp-asm.h>.
5663 (strlen): Don't use BP_SYM.
5664 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5665 <bp-sym.h> and <bp-asm.h>.
5666 (strncmp): Don't use BP_SYM. Remove comment about bounded
5667 pointers.
5668 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5669 <bp-sym.h> and <bp-asm.h>.
5670 (__strnlen): Don't use BP_SYM.
5671 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5672 <bp-sym.h> and <bp-asm.h>.
5673 (__GI__setjmp): Don't use BP_SYM.
5674 (_setjmp): Likewise.
5675 (__sigsetjmp): Likewise.
5676 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5677 (L(start_addresses)): Don't use BP_SYM.
5678 (_start): Likewise.
5679 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5680 <bp-asm.h>.
5681 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5682 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5683 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5684 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5685 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5686 <bp-asm.h>.
5687 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5688 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5689 about bounded pointers.
5690 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5691 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5692 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5693 <bp-asm.h>.
5694 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5695 about bounded pointers. Remove GKM FIXME comments.
5696 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5697 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5698 <bp-asm.h>.
5699 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5700 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5701 Remove GKM FIXME comments.
5702 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5703 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5704 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5705 <bp-asm.h>.
5706 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5707 about bounded pointers. Remove GKM FIXME comment.
5708 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5709 and <bp-asm.h>.
5710 (strncmp): Don't use BP_SYM. Remove comment about bounded
5711 pointers.
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5713 <bp-sym.h> and <bp-asm.h>.
5714 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5716 <bp-sym.h> and <bp-asm.h>.
5717 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5718 comment.
5719
cdcf361f
PP
57202013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5721
5722 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5723 call free(NULL).
5724
3c4a2b15
DM
57252013-03-05 David S. Miller <davem@davemloft.net>
5726
5727 * po/es.po: Update from translation team.
5728
cdcf361f 57292013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5730
5731 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5732 <bits/mman-linux.h>.
5733 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5734 is fine.
5735 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5736 <bits/mman-linux.h> to end of file.
5737 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5738 is fine.
5739 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5740 <bits/mman-linux.h> to end of file.
5741 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5742 is fine.
5743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5744 <bits/mman-linux.h> to end of file.
5745
5746 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5747 (MCL_CURRENT, MCL_FUTURE): Define here.
5748
5f67c04f
AK
57492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5750
8a4473cc 5751 [BZ #15232]
5f67c04f
AK
5752 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5753 attribute_hidden.
5754 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5755
c3e94a95
AK
57562013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5757
5758 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5759 fourth parameter needed for rt_sigprocmask syscall.
5760 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5761 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5762 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5763 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5764 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5765 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5766
cfb6382a
JM
57672013-03-04 Joseph Myers <joseph@codesourcery.com>
5768
5769 [BZ #13550]
5770 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5771 comment about bounded pointers.
5772 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5773 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5774
539d8e01
AJ
57752013-03-04 Andreas Jaeger <aj@suse.de>
5776
5777 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5778 common definitions.
5779
5780 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5781 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5782 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5783 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5784 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5785 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5786
2e167a70 57872013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5788
5789 [BZ #15055]
5790 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5791 __ieee754_sqrl instead of __sqrl.
5792
68508633
JM
57932013-03-01 Joseph Myers <joseph@codesourcery.com>
5794
5795 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5796 * sysdeps/powerpc/fpu_control.h: ... here.
5797 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5798 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5799 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5800 * sysdeps/powerpc/bits/mathinline.h: ... here.
5801
7775448e
RM
58022013-03-01 Roland McGrath <roland@hack.frob.com>
5803
5804 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5805 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5806 to just [NEED_DL_SYSINFO_DSO].
5807 * elf/dl-support.c: Likewise.
5808 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5809 * elf/rtld.c (dl_main): Likewise.
5810 * elf/setup-vdso.h (setup_vdso): Likewise.
5811 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5812 * sysdeps/unix/sysv/linux/dl-sysdep.c
5813 (_dl_discover_osversion): Likewise.
5814
4e9b5995
CD
58152013-03-01 Carlos O'Donell <carlos@redhat.com>
5816
5817 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5818 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5819
e23872c8
SP
58202013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5821
e5c74c63
SP
5822 * NEWS: Mention libm performance improvements and non-x86 PI
5823 futex support.
5824
e23872c8
SP
5825 * csu/libc-start.c (__pthread_initialize_minimal): Change
5826 function arguments.
5827 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5828
b5510883
JM
58292013-02-28 Joseph Myers <joseph@codesourcery.com>
5830
5831 [BZ #13550]
5832 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5833 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5834 <bp-sym.h> and <bp-asm.h>.
5835 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5836 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5837 and <bp-asm.h>.
5838 (memcpy): Don't use BP_SYM.
5839 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5840 <bp-asm.h>.
5841 (__mpn_add_n): Don't use BP_SYM.
5842 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5843 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5844 and <bp-asm.h>.
5845 (__mpn_addmul_1): Don't use BP_SYM.
5846 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5847 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5848 <bp-sym.h>.
5849 (_setjmp): Don't use BP_SYM.
5850 (__novmx_setjmp): Likewise.
5851 (__GI__setjmp): Likewise.
5852 (__vmx_setjmp): Likewise.
5853 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5854 <bp-sym.h>.
5855 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5856 (__bzero): Don't use BP_SYM.
5857 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5858 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5859 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5860 <bp-sym.h> and <bp-asm.h>.
5861 (memcpy): Don't use BP_SYM.
5862 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5863 <bp-sym.h> and <bp-asm.h>.
5864 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5865 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5866 <bp-sym.h> and <bp-asm.h>.
5867 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5868 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5869 <bp-asm.h>.
5870 (__mpn_lshift): Don't use BP_SYM.
5871 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5872 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5873 <bp-asm.h>.
5874 (memset): Don't use BP_SYM.
5875 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5876 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5877 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5878 <bp-asm.h>.
5879 (__mpn_mul_1): Don't use BP_SYM.
5880 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5881 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5882 <bp-sym.h> and <bp-asm.h>.
5883 (memcmp): Don't use BP_SYM.
5884 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5885 <bp-sym.h> and <bp-asm.h>.
5886 (memcpy): Don't use BP_SYM.
5887 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5888 <bp-sym.h> and <bp-asm.h>.
5889 (memset): Don't use BP_SYM.
5890 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5891 <bp-sym.h> and <bp-asm.h>.
5892 (strncmp): Don't use BP_SYM.
5893 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5894 <bp-sym.h> and <bp-asm.h>.
5895 (memcpy): Don't use BP_SYM.
5896 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5897 <bp-sym.h> and <bp-asm.h>.
5898 (memset): Don't use BP_SYM.
5899 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5900 <bp-sym.h> and <bp-asm.h>.
5901 (__memchr): Don't use BP_SYM.
5902 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5903 <bp-sym.h> and <bp-asm.h>.
5904 (memcmp): Don't use BP_SYM.
5905 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5906 <bp-sym.h> and <bp-asm.h>.
5907 (memcpy): Don't use BP_SYM.
5908 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5909 <bp-sym.h> and <bp-asm.h>.
5910 (__mempcpy): Don't use BP_SYM.
5911 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5912 <bp-sym.h> and <bp-asm.h>.
5913 (__memrchr): Don't use BP_SYM.
5914 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5915 <bp-sym.h> and <bp-asm.h>.
5916 (memset): Don't use BP_SYM.
5917 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5918 <bp-sym.h> and <bp-asm.h>.
5919 (__rawmemchr): Don't use BP_SYM.
5920 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5921 <bp-sym.h> and <bp-asm.h>.
5922 (__STRCMP): Don't use BP_SYM.
5923 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5924 <bp-sym.h> and <bp-asm.h>.
5925 (strchr): Don't use BP_SYM.
5926 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5927 <bp-sym.h> and <bp-asm.h>.
5928 (__strchrnul): Don't use BP_SYM.
5929 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5930 <bp-sym.h> and <bp-asm.h>.
5931 (strlen): Don't use BP_SYM.
5932 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5933 <bp-sym.h> and <bp-asm.h>.
5934 (strncmp): Don't use BP_SYM.
5935 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5936 <bp-sym.h> and <bp-asm.h>.
5937 (__strnlen): Don't use BP_SYM.
5938 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5939 <bp-asm.h>.
5940 (__mpn_rshift): Don't use BP_SYM.
5941 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5942 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5943 <bp-sym.h> and <bp-asm.h>.
5944 (__sigsetjmp): Don't use BP_SYM.
5945 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5946 (L(start_addresses)): Don't use BP_SYM.
5947 (_start): Likewise.
5948 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5949 <bp-asm.h>.
5950 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5951 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5952 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5953 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5954 <bp-asm.h>.
5955 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5956 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5957 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5958 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5959 <bp-asm.h>.
5960 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5961 comments.
5962 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5963 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5964 <bp-asm.h>.
5965 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5966 FIXME comments.
5967 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5968 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5969 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5970 <bp-asm.h>.
5971 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5972 comment.
5973 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5974 and <bp-asm.h>.
5975 (strncmp): Don't use BP_SYM,
5976 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5977 <bp-asm.h>.
5978 (__mpn_sub_n): Don't use BP_SYM.
5979 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5980 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5981 and <bp-asm.h>.
5982 (__mpn_submul_1): Don't use BP_SYM.
5983 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5985 <bp-sym.h> and <bp-asm.h>.
5986 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5988 <bp-sym.h> and <bp-asm.h>.
5989 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5990 comment.
5991
8d19fe64
SP
59922013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5993
5994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5995 Use ZK to minimize writes to Z.
5996 (sub_magnitudes): Simplify code a bit.
5997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5998 Use ZK to minimize writes to Z.
5999 (sub_magnitudes): Simplify code a bit.
6000
85bd816a
RM
60012013-02-27 Roland McGrath <roland@hack.frob.com>
6002
6003 * csu/gmon-start.c: Add special exception to license text.
6004
b5977bf2
RH
60052013-02-27 Richard Henderson <rth@redhat.com>
6006
6007 * scripts/config.guess: Update from config.git.
6008 * scripts/config.sub: Likewise.
6009
11d6e2f2
SP
60102013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6011
09c14ed2
SP
6012 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6013
a688864e
SP
6014 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6015
6295157a
SP
6016 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6017
b8de2202
SP
6018 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6019
11d6e2f2
SP
6020 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6021
7e80ddb8
RM
60222013-02-26 Roland McGrath <roland@hack.frob.com>
6023
6024 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6025 [$(build-shared = yes].
7e80ddb8 6026
7da6d9ed
SP
60272013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6028
45f05884
SP
6029 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6030 (__mul): Reduce iterations for calculating mantissa.
6031
2236d359
SP
6032 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6033 MPTWO.
6034 (__mpranred): Likewise.
6035
7da6d9ed
SP
6036 [BZ #15160]
6037 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6038 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6039
b7688c42
PE
60402013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6041
6042 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6043 Define __attribute__.
6044
53a5c423
SP
60452013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6046
6047 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6048 unused.
6049 * posix/regex_internal.h (__attribute): Remove.
6050 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6051 (re_string_context_at): Likewise.
6052 (bitset_not): Use __attribute__ and mark function as possibly
6053 unused.
6054 (bitset_merge): Likewise.
6055 (bitset_mask): Likewise.
6056 (re_string_char_size_at): Likewise.
6057 (re_string_wchar_at): Likewise.
6058 (re_string_elem_size_at): Likewise.
6059
60f5a8b5
SP
60602013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6061
2a983a2e
SP
6062 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6063 code.
6064 (cc32): Likewise.
6065
e69804d1
SP
6066 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6067 (__acr): Likewise.
6068 (__cpy): Likewise.
6069 (norm): Likewise.
6070 (denorm): Likewise.
6071 (__dbl_mp): Likewise.
6072 (add_magnitudes): Likewise.
6073 (sub_magnitudes): Likewise.
6074 (__mul): Likewise.
6075 (__inv): Likewise.
6076
2f22a1e8
SP
6077 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6078 style.
6079
8930ddc7
SP
6080 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6081 style.
6082
dc60cb11
SP
6083 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6084 code.
6085
60f5a8b5
SP
6086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6087 up changes with default code.
6088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6089 Likewise.
6090
b4d1fd33
AM
60912013-02-24 Allan McRae <allan@archlinux.org>
6092
faf6f8bc
AM
6093 * manual/socket.texi (The Internet Namespace): Order menu items
6094 to match that in the file.
6095
b4d1fd33
AM
6096 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6097 node listing of the info page menu.
6098
2366713d
JM
60992013-02-21 Joseph Myers <joseph@codesourcery.com>
6100
6101 [BZ #13550]
6102 * sysdeps/i386/bp-asm.h: Remove file.
6103 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6104 (PARMS): Do not use macros from bp-asm.h.
6105 (S1): Likewise.
6106 (S2): Likewise.
6107 (SIZE): Likewise.
6108 (__mpn_add_n): Do not use BP_SYM
6109 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6110 "bp-asm.h".
6111 (PARMS): Do not use macros from bp-asm.h.
6112 (S1): Likewise.
6113 (SIZE): Likewise.
6114 (__mpn_addmul_1): Do not use BP_SYM
6115 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6116 "bp-asm.h".
6117 (PARMS): Do not use macros from bp-asm.h.
6118 (SIGMSK): Likewise.
6119 (_setjmp): Likewise. Do not use BP_SYM.
6120 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6121 "bp-asm.h".
6122 (PARMS): Do not use macros from bp-asm.h.
6123 (SIGMSK): Likewise.
6124 (setjmp): Likewise. Do not use BP_SYM.
6125 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6126 "bp-asm.h".
6127 (PARMS): Do not use macros from bp-asm.h.
6128 (__frexp): Do not use BP_SYM.
6129 (frexp): Likewise.
6130 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6131 "bp-asm.h".
6132 (PARMS): Do not use macros from bp-asm.h.
6133 (__frexpf): Do not use BP_SYM.
6134 (frexpf): Likewise.
6135 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6136 "bp-asm.h".
6137 (PARMS): Do not use macros from bp-asm.h.
6138 (__frexpl): Do not use BP_SYM.
6139 (frexpl): Likewise.
6140 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6141 "bp-asm.h".
6142 (PARMS): Do not use macros from bp-asm.h.
6143 (__remquo): Do not use BP_SYM.
6144 (remquo): Likewise.
6145 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6146 "bp-asm.h".
6147 (PARMS): Do not use macros from bp-asm.h.
6148 (__remquof): Do not use BP_SYM.
6149 (remquof): Likewise.
6150 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6151 "bp-asm.h".
6152 (PARMS): Do not use macros from bp-asm.h.
6153 (__remquol): Do not use BP_SYM.
6154 (remquol): Likewise.
6155 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6156 "bp-asm.h".
6157 (PARMS): Do not use macros from bp-asm.h.
6158 (DEST): Likewise.
6159 (SRC): Likewise.
6160 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6161 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6162 "bp-asm.h".
6163 (PARMS): Do not use macros from bp-asm.h.
6164 (strlen): Do not use BP_SYM.
6165 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6166 "bp-asm.h".
6167 (PARMS): Do not use macros from bp-asm.h.
6168 (S1): Likewise.
6169 (S2): Likewise.
6170 (SIZE): Likewise.
6171 (__mpn_add_n): Do not use BP_SYM.
6172 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6173 "bp-asm.h".
6174 (PARMS): Do not use macros from bp-asm.h.
6175 (S1): Likewise.
6176 (SIZE): Likewise.
6177 (__mpn_addmul_1): Do not use BP_SYM.
6178 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6179 weak_alias.
6180 (bzero): Likewise.
6181 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6182 "bp-asm.h".
6183 (PARMS): Do not use macros from bp-asm.h.
6184 (S): Likewise.
6185 (SIZE): Likewise.
6186 (__mpn_lshift): Do not use BP_SYM.
6187 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6188 "bp-asm.h".
6189 (PARMS): Do not use macros from bp-asm.h.
6190 (DEST): Likewise.
6191 (SRC): Likewise.
6192 (LEN): Likewise.
6193 (memcpy): Likewise. Do not use BP_SYM.
6194 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6195 libc_hidden_def and weak_alias.
6196 (mempcpy): Do not use BP_SYM in weak_alias.
6197 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6198 "bp-asm.h".
6199 (PARMS): Do not use macros from bp-asm.h.
6200 (DEST): Likewise.
6201 (LEN): Likewise.
6202 [!BZERO_P] (CHR): Likewise.
6203 (memset): Likewise. Do not use BP_SYM.
6204 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6205 "bp-asm.h".
6206 (PARMS): Do not use macros from bp-asm.h.
6207 (S1): Likewise.
6208 (SIZE): Likewise.
6209 (__mpn_mul_1): Do not use BP_SYM.
6210 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6211 "bp-asm.h".
6212 (PARMS): Do not use macros from bp-asm.h.
6213 (S): Likewise.
6214 (SIZE): Likewise.
6215 (__mpn_rshift): Do not use BP_SYM.
6216 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6217 "bp-asm.h".
6218 (PARMS): Do not use macros from bp-asm.h.
6219 (STR): Likewise.
6220 (CHR): Likewise.
6221 (strchr): Likewise. Do not use BP_SYM.
6222 (index): Do not use BP_SYM in weak_alias.
6223 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6224 "bp-asm.h".
6225 (PARMS): Do not use macros from bp-asm.h.
6226 (DEST): Likewise.
6227 (SRC): Likewise.
6228 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6229 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6230 "bp-asm.h".
6231 (PARMS): Do not use macros from bp-asm.h.
6232 (strlen): Do not use BP_SYM.
6233 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6234 "bp-asm.h".
6235 (PARMS): Do not use macros from bp-asm.h.
6236 (S1): Likewise.
6237 (S2): Likewise.
6238 (SIZE): Likewise.
6239 (__mpn_sub_n): Do not use BP_SYM.
6240 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6241 "bp-asm.h".
6242 (PARMS): Do not use macros from bp-asm.h.
6243 (S1): Likewise.
6244 (SIZE): Likewise.
6245 (__mpn_submul_1): Do not use BP_SYM.
6246 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6247 "bp-asm.h".
6248 (PARMS): Do not use macros from bp-asm.h.
6249 (S1): Likewise.
6250 (S2): Likewise.
6251 (SIZE): Likewise.
6252 (__mpn_add_n): Do not use BP_SYM.
6253 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6254 weak_alias.
6255 (bzero): Likewise.
6256 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6257 "bp-asm.h".
6258 (PARMS): Do not use macros from bp-asm.h.
6259 (BLK2): Likewise.
6260 (LEN): Likewise.
6261 (memcmp): Do not use BP_SYM.
6262 (bcmp): Do not use BP_SYM in weak_alias.
6263 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6264 "bp-asm.h".
6265 (PARMS): Do not use macros from bp-asm.h.
6266 (DEST): Likewise.
6267 (SRC): Likewise.
6268 (LEN): Likewise.
6269 (memcpy): Likewise. Do not use BP_SYM.
6270 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6271 "bp-asm.h".
6272 (PARMS): Do not use macros from bp-asm.h.
6273 (DEST): Likewise.
6274 (SRC): Likewise.
6275 (LEN): Likewise.
6276 (memmove): Likewise. Do not use BP_SYM.
6277 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6278 "bp-asm.h".
6279 (PARMS): Do not use macros from bp-asm.h.
6280 (DEST): Likewise.
6281 (SRC): Likewise.
6282 (LEN): Likewise.
6283 (__mempcpy): Likewise. Do not use BP_SYM.
6284 (mempcpy): Do not use BP_SYM in weak_alias.
6285 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6286 "bp-asm.h".
6287 (PARMS): Do not use macros from bp-asm.h.
6288 (DEST): Likewise.
6289 (LEN): Likewise.
6290 [!BZERO_P] (CHR): Likewise.
6291 (memset): Likewise. Do not use BP_SYM.
6292 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6293 "bp-asm.h".
6294 (PARMS): Do not use macros from bp-asm.h.
6295 (STR2): Likewise.
6296 (strcmp): Do not use BP_SYM.
6297 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6298 "bp-asm.h".
6299 (PARMS): Do not use macros from bp-asm.h.
6300 (STR): Likewise.
6301 (DELIM): Likewise.
6302 [USE_AS_STRTOK_R] (SAVE): Likewise.
6303 (FUNCTION): Likewise. Do not use BP_SYM.
6304 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6305 aliases.
6306 (strtok_r): Likewise.
6307 (__GI___strtok_r): Likewise.
6308 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6309 (PARMS): Do not use macros from bp-asm.h.
6310 (S): Likewise.
6311 (SIZE): Likewise.
6312 (__mpn_lshift): Do not use BP_SYM.
6313 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6314 (PARMS): Do not use macros from bp-asm.h.
6315 (STR): Likewise.
6316 (CHR): Likewise.
6317 (__memchr): Do not use BP_SYM.
6318 (memchr): Do not use BP_SYM in weak_alias.
6319 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6320 (PARMS): Do not use macros from bp-asm.h.
6321 (BLK2): Likewise.
6322 (LEN): Likewise.
6323 (memcmp): Do not use BP_SYM.
6324 (bcmp): Do not use BP_SYM in weak_alias.
6325 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6326 (PARMS): Do not use macros from bp-asm.h.
6327 (S1): Likewise.
6328 (SIZE): Likewise.
6329 (__mpn_mul_1): Do not use BP_SYM.
6330 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6331 "bp-asm.h".
6332 (PARMS): Do not use macros from bp-asm.h.
6333 (STR): Likewise.
6334 (CHR): Likewise.
6335 (__rawmemchr): Do not use BP_SYM.
6336 (rawmemchr): Do not use BP_SYM in weak_alias.
6337 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6338 (PARMS): Do not use macros from bp-asm.h.
6339 (S): Likewise.
6340 (SIZE): Likewise.
6341 (__mpn_rshift): Do not use BP_SYM.
6342 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6343 (PARMS): Do not use macros from bp-asm.h.
6344 (SIGMSK): Likewise.
6345 (__sigsetjmp): Likewise. Do not use BP_SYM.
6346 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6347 (_start): Do not use BP_SYM.
6348 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6349 (PARMS): Do not use macros from bp-asm.h.
6350 (DEST): Likewise.
6351 (SRC): Likewise.
6352 (__stpcpy): Likewise. Do not use BP_SYM.
6353 (stpcpy): Do not use BP_SYM in weak_alias.
6354 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6355 "bp-asm.h".
6356 (PARMS): Do not use macros from bp-asm.h.
6357 (DEST): Likewise.
6358 (SRC): Likewise.
6359 (LEN): Likewise.
6360 (__stpncpy): Likewise. Do not use BP_SYM.
6361 (stpncpy): Do not use BP_SYM in weak_alias.
6362 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6363 (PARMS): Do not use macros from bp-asm.h.
6364 (STR): Likewise.
6365 (CHR): Likewise.
6366 (strchr): Likewise. Do not use BP_SYM.
6367 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6368 "bp-asm.h".
6369 (PARMS): Do not use macros from bp-asm.h.
6370 (STR): Likewise.
6371 (CHR): Likewise.
6372 (__strchrnul): Likewise. Do not use BP_SYM.
6373 (strchrnul): Do not use BP_SYM in weak_alias.
6374 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6375 "bp-asm.h".
6376 (PARMS): Do not use macros from bp-asm.h.
6377 (STOP): Likewise.
6378 (strcspn): Do not use BP_SYM.
6379 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6380 "bp-asm.h".
6381 (PARMS): Do not use macros from bp-asm.h.
6382 (STR): Likewise.
6383 (STOP): Likewise.
6384 (strpbrk): Likewise. Do not use BP_SYM.
6385 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6386 "bp-asm.h".
6387 (PARMS): Do not use macros from bp-asm.h.
6388 (STR): Likewise.
6389 (CHR): Likewise.
6390 (strrchr): Likewise. Do not use BP_SYM.
6391 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6392 (PARMS): Do not use macros from bp-asm.h.
6393 (SKIP): Likewise.
6394 (strspn): Do not use BP_SYM.
6395 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6396 (PARMS): Do not use macros from bp-asm.h.
6397 (STR): Likewise.
6398 (DELIM): Likewise.
6399 (SAVE): Likewise.
6400 (FUNCTION): Likewise. Do not use BP_SYM.
6401 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6402 aliases.
6403 (strtok_r): Likewise.
6404 (__GI___strtok_r): Likewise.
6405 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6406 (PARMS): Do not use macros from bp-asm.h.
6407 (S1): Likewise.
6408 (S2): Likewise.
6409 (SIZE): Likewise.
6410 (__mpn_sub_n): Do not use BP_SYM.
6411 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6412 "bp-asm.h".
6413 (PARMS): Do not use macros from bp-asm.h.
6414 (S1): Likewise.
6415 (SIZE): Likewise.
6416 (__mpn_submul_1): Do not use BP_SYM.
6417 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6418 <bp-sym.h>.
6419 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6420 and <bp-asm.h>.
6421 (PARMS): Do not use macros from bp-asm.h.
6422 (FLAGS): Likewise.
6423 (PTID): Likewise.
6424 (TLS): Likewise.
6425 (CTID): Likewise.
6426 (__clone): Do not use BP_SYM.
6427 (clone): Do not use BP_SYM in weak_alias.
6428 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6429 and <bp-asm.h>.
6430 (PARMS): Do not use macros from bp-asm.h.
6431 (LEN): Likewise.
6432 (__mmap64): Do not use BP_SYM.
6433 (mmap64): Do not use BP_SYM in weak_alias.
6434 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6435 <bp-sym.h> and <bp-asm.h>.
6436 (PARMS): Do not use macros from bp-asm.h.
6437 (__posix_fadvise64_l64): Do not use BP_SYM.
6438 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6439 (PARMS): Do not use macros from bp-asm.h.
6440 (NSOPS): Likewise.
6441 (semtimedop): Do not use BP_SYM.
6442 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6443 and <bp-asm.h>.
6444
582a3cff
AM
64452013-02-21 Allan McRae <allan@archlinux.org>
6446
6447 * manual/message.texi (Charset conversion in gettext):
6448 Move @end statement to beginning of line.
6449
bab8a695
SP
64502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6451
80945231
SP
6452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6453 static.
6454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6455 Likewise.
6456
bab8a695
SP
6457 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6458 (denorm): Likewise.
6459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6461
e21d7aa7
AK
64622013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6463
6464 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6465 tail-call to the resolved function if pltexit isn't needed.
6466
4c7a4263
SP
64672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6468
6469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6470 or Y being zero as being unlikely.
6471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6472 Likewise.
6473
41f49342
CD
64742013-02-20 Carlos O'Donell <carlos@redhat.com>
6475
6476 * manual/nss.texi (System Databases and Name Service Switch):
6477 Remove frobnicate @pxref.
6478
50022a93
TS
64792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6480
6481 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6482 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6483
08cbd996
PM
64842013-02-20 Petr Machata <pmachata@redhat.com>
6485
6486 * elf/elf.h (R_ARM_TARGET1): New macro.
6487 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6488 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6489 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6490 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6491 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6492 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6493 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6494 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6495 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6496 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6497 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6498 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6499 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6500 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6501 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6502 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6503 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6504 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6505 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6506 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6507 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6508 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6509 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6510 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6511 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6512 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6513 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6514 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6515 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6516 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6517 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6518 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6519 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6520 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6521 (R_ARM_THM_GOT_BREL12): Likewise.
6522 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6523 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6524 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6525 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6526 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6527 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6528 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6529 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6530 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6531
c7b275d6
TS
65322013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6533
6534 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6535 __attribute_used__ to __attribute__ ((unused)).
6536
20cd7fb3
SP
65372013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6538
6539 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6540 powerpc mpa.c.
6541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6542 comment formatting.
6543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6544
92945b52
JM
65452013-02-19 Joseph Myers <joseph@codesourcery.com>
6546
6547 [BZ #13550]
6548 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6549 Remove macro.
6550 (ENTER): Remove both macro definitions.
6551 (LEAVE): Likewise.
6552 (CHECK_BOUNDS_LOW): Likewise.
6553 (CHECK_BOUNDS_HIGH): Likewise.
6554 (CHECK_BOUNDS_BOTH): Likewise.
6555 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6556 (RETURN_BOUNDED_POINTER): Likewise.
6557 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6558 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6559 (POP_ERRNO_LOCATION_RETURN): Likewise.
6560 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6562 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6563 macros.
6564 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6565 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6566 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6567 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6568 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6569 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6570 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6571 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6572 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6573 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6574 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6575 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6576 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6577 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6578 removed macros.
6579 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6580 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6581 macros.
6582 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6583 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6584 * sysdeps/i386/i586/memset.S (memset): Likewise.
6585 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6586 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6587 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6588 macros.
6589 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6590 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6591 Change uses of L(2) to L(out).
6592 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6593 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6594 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6595 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6596 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6597 removed macros.
6598 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6599 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6600 macros.
6601 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6602 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6603 (RETURN): Do not use macro LEAVE.
6604 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6605 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6606 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6607 * sysdeps/i386/i686/memset.S (memset): Likewise.
6608 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6609 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6610 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6611 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6612 Likewise.
6613 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6614 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6615 L(1_2) and L(1_3) into L(1).
6616 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6617 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6618 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6619 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6620 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6621 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6622 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6623 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6624 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6625 macros.
6626 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6627 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6628 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6629 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6630 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6631 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6632 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6633 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6634 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6635 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6636 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6637 * sysdeps/i386/strspn.S (strspn): Likewise.
6638 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6639 conditional code.
6640 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6641 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6642 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6643 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6644 L(1_3) into L(1_1).
6645 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6646 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6647 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6648 macros.
6649 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6650
2389741a
JJ
66512013-02-19 Jakub Jelinek <jakub@redhat.com>
6652
6653 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6654 macro.
6655
2016b3cd
SP
66562013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6657
e4f22324
SP
6658 * math/atest-exp.c (exp_mpn): Remove ROUND.
6659 * math/atest-exp2.c (exp_mpn): Likewise.
6660 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6661
2016b3cd
SP
6662 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6663 * stdlib/tst-tls-atexit-lib.c: Likewise.
6664 * stdlib/tst-tls-atexit.c: Likewise.
6665
4be9b544
MF
66662013-02-18 Mike Frysinger <vapier@gentoo.org>
6667
6668 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6669 and __attribute_alloc_size__.
6670
2f62b9ee
MF
66712013-02-18 Mike Frysinger <vapier@gentoo.org>
6672
6673 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6674 __attribute_alloc_size__.
6675 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6676 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6677
6ff444c4
MF
66782013-02-18 Mike Frysinger <vapier@gentoo.org>
6679
6680 * include/programs/xmalloc.h: New file.
6681 * catgets/gencat.c: Include it.
6682 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6683 * elf/pldd.c: Likewise.
6684 * iconv/iconv_charmap.c: Likewise.
6685 * iconv/iconvconfig.c: Likewise.
6686 * iconv/strtab.c: Likewise.
6687 * locale/programs/locale.c: Likewise.
6688 * locale/programs/localedef.h: Likewise.
6689 * locale/programs/simple-hash.c: Likewise.
6690 * nscd/nscd.h: Likewise.
6691 * nss/makedb.c: Likewise.
6692 * sysdeps/generic/ldconfig.h: Likewise.
6693
be179c8a
SP
66942013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6695
ba384f6e
SP
6696 * Versions.def: Add GLIBC_2.18.
6697 * include/link.h (struct link_map): New member l_tls_dtor_count.
6698 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6699 (__call_tls_dtors): Likewise.
6700 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6701 __cxa_thread_atexit_impl.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6703 Likewise.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6705 Likewise.
6706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6707 Likewise.
6708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6709 Likewise.
6710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6712 Likewise.
6713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6714 Likewise.
6715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6717 Likewise.
6718 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6719 (tests): Add test case tst-tls-atexit.
6720 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6721 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6722 (GLIBC_PRIVATE): Add __call_tls_dtors.
6723 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6724 for libstdc++.
6725 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6726 * stdlib/tst-tls-atexit.c: New test case.
6727 * stdlib/tst-tls-atexit-lib.c: New test case.
6728
ffaa74cf 6729 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6730
be179c8a
SP
6731 * elf/Versions (ld): Add _dl_find_dso_for_object.
6732 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6733 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6734 (dl_open_worker): Use _dl_find_dso_for_object.
6735 * elf/dl-sym.c (do_sym): Likewise.
6736 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6737
f78b5caa
AK
67382013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6739
6740 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6741 Syntactic changes only.
6742 (_dl_runtime_profile): Do a tail-call to the resolved function.
6743
29691210
JM
67442013-02-17 Joseph Myers <joseph@codesourcery.com>
6745
6746 [BZ #13550]
6747 * sysdeps/x86_64/bp-asm.h: Remove file.
6748 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6749 <bp-sym.h> and <bp-asm.h>.
6750 (__clone): Do not use BP_SYM.
6751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6752 <bp-sym.h> and <bp-asm.h>.
6753 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6754 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6755 "bp-asm.h".
6756 (_setjmp): Do not use BP_SYM.
6757 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6758 "bp-asm.h".
6759 (setjmp): Do not use BP_SYM.
6760 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6761 libc_hidden_def.
6762 (mempcpy): Do not use BP_SYM in weak_alias.
6763 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6764 "bp-asm.h".
6765 (strchr): Do not use BP_SYM.
6766 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6767 "bp-asm.h".
6768 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6769 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6770 (_start): Do not use BP_SYM.
6771 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6772 "bp-asm.h".
6773 (strcat): Do not use BP_SYM.
6774 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6775 "bp-asm.h".
6776 (STRCMP): Do not use BP_SYM.
6777 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6778 "bp-asm.h".
6779 (STRCPY): Do not use BP_SYM.
6780 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6781 "bp-asm.h".
6782 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6783 "bp-asm.h".
6784 (FUNCTION): Do not use BP_SYM.
6785 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6786 weak_alias.
6787 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6788
f238fd19
AJ
67892013-02-17 Andreas Jaeger <aj@suse.de>
6790
6791 * time/Versions: Sort entries.
6792 * string/Versions: Likewise.
6793 * resolv/Versions: Likewise.
6794 * posix/Versions: Likewise.
6795 * iconv/Versions: Likewise.
6796 * elf/Versions: Likewise.
6797 * wcsmbs/Versions: Likewise.
6798
bd07f23c 67992013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6800
22af19f9
SP
6801 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6802 loop termination condition.
6803
4709fe76
SP
6804 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6805 variable to calculate EZ.
6806 (__sqr): Likewise.
2d0e0f29
SP
6807
6808 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6809 the lower precision input.
6810
daaa7713
JM
68112013-02-15 Joseph Myers <joseph@codesourcery.com>
6812
6813 [BZ #13550]
6814 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6815 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6816 (run-via-rtld-prefix): Do not handle %-bp tests.
6817 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6818 (all-object-suffixes): Remove .ob.
6819 (bppfx): Remove variable.
6820 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6821 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6822 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6823 [$(build-bounded) = yes] (libtype.ob): Likewise.
6824 * Makerules (elide-routines.ob): Remove variable.
6825 (do-tests-clean): Do not handle *-bp.out.
6826 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6827 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6828 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6829 (tests): Do not include $(tests-bp.out).
6830 (xtests): Do not include $(xtests-bp.out).
6831 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6832 [$(build-bounded) = yes] ($(addprefix
6833 $(objpfx),$(binaries-bounded))): Remove rule.
6834 ($(objpfx)%-bp.out): Remove rule.
6835 * config.make.in (build-bounded): Remove variable.
6836 * crypt/Makefile [$(build-bounded) = yes]
6837 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6838 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6839 append to variable.
6840 [$(build-bounded) = yes] (install-lib): Likewise.
6841 [$(build-bounded) = yes] (generated): Likewise.
6842 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6843 Remove rule.
6844 * intl/Makefile [$(build-bounded) = yes]
6845 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6846 * math/Makefile [$(build-bounded) = yes]
6847 ($(tests:%=$(objpfx)%-bp): Likewise.
6848 * misc/Makefile [$(build-bounded) = yes]
6849 ($(objpfx)tst-tsearch-bp): Likewise.
6850 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6851 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6852 Remove dependency.
6853 * string/Makefile (o-objects.ob): Remove variable.
6854 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6855 (CFLAGS-.ob): Remove variable.
6856 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6857 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6858 both definitions of variable.
6859 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6860 (ASFLAGS-.ob): Remove variable.
6861
e97ed6dd
JM
68622013-02-14 Joseph Myers <joseph@codesourcery.com>
6863
2bdd4ca6
JM
6864 [BZ #13550]
6865 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6866 Remove __BOUNDED_POINTERS__ from condition.
6867 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6868 * string/bits/string2.h [!__NO_STRING_INLINES &&
6869 !__BOUNDED_POINTERS__]: Likewise.
6870 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6871 Likewise.
6872 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6873 Remove conditional code.
6874 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6875 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6876 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6877 condition.
6878
e97ed6dd
JM
6879 [BZ #13550]
6880 * csu/libc-start.c: Do not include <bp-sym.h>.
6881 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6882 * elf/dl-open.c: Do not include <bp-sym.h>.
6883 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6884 * math/fegetenv.c: Do not include <bp-sym.h>.
6885 (fegetenv): Do not use BP_SYM in versioned symbols.
6886 * nptl/sysdeps/pthread/bits/libc-lockP.h
6887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6888 <bp-sym.h>.
6889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6890 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6892 (__pthread_mutex_destroy): Likewise.
6893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6894 (__pthread_mutex_lock): Likewise.
6895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6896 (__pthread_mutex_trylock): Likewise.
6897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6898 (__pthread_mutex_unlock): Likewise.
6899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6900 (__pthread_mutexattr_init): Likewise.
6901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6902 (__pthread_mutexattr_destroy): Likewise.
6903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6904 (__pthread_mutexattr_settype): Likewise.
6905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6906 (__pthread_rwlock_init): Likewise.
6907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6908 (__pthread_rwlock_destroy): Likewise.
6909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6910 (__pthread_rwlock_rdlock): Likewise.
6911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6912 (__pthread_rwlock_tryrdlock): Likewise.
6913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6914 (__pthread_rwlock_wrlock): Likewise.
6915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6916 (__pthread_rwlock_trywrlock): Likewise.
6917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6918 (__pthread_rwlock_unlock): Likewise.
6919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6920 (__pthread_key_create): Likewise.
6921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6922 (__pthread_setspecific): Likewise.
6923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6924 (__pthread_getspecific): Likewise.
6925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6926 Likewise.
6927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6928 (_pthread_cleanup_push_defer): Likewise.
6929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6930 (_pthread_cleanup_pop_restore): Likewise.
6931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6932 (pthread_setcancelstate): Likewise.
6933 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6934 <bp-sym.h>.
6935 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6936 (memchr): Do not use BP_SYM in weak_alias.
6937 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6938 (fegetenv): Do not use BP_SYM in versioned symbols.
6939 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6940 (fesetenv): Do not use BP_SYM in versioned symbols.
6941 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6942 (feupdateenv): Do not use BP_SYM in versioned symbols.
6943 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6944 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6945 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6946 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6947 (open64): Do not use BP_SYM in weak_alias.
6948 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6949 (fegetenv): Do not use BP_SYM in versioned symbols.
6950 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6951 (fesetenv): Do not use BP_SYM in versioned symbols.
6952 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6953 (feupdateenv): Do not use BP_SYM in versioned symbols.
6954 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6955 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6956 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6957 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6958 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6959 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6960 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6961 <bp-sym.h>.
6962 (__libc_start_main): Do not use BP_SYM.
6963
d6752ccd
SP
69642013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6965
cb57ce60
SP
6966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6967 redundant return line.
6968 (norm): Likewise.
6969 (denorm): Likewise.
6970 (dbl_mp): Likewise.
6971 (sub_magnitudes): Likewise.
6972 (__add): Likewise.
6973 (__sub): Likewise.
6974 (__mul): Likewise.
6975 (__inv): Likewise.
6976 (__dvd): Likewise.
6977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6978 (norm): Likewise.
6979 (denorm): Likewise.
6980 (dbl_mp): Likewise.
6981 (sub_magnitudes): Likewise.
6982 (__add): Likewise.
6983 (__sub): Likewise.
6984 (__mul): Likewise.
6985 (__inv): Likewise.
6986 (__dvd): Likewise.
6987
f414520d
SP
6988 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6989 instead of __mul.
6990 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6991 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6992 (cc32): Likewise.
6993
d6752ccd
SP
6994 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6995 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6997 of __mul for squares.
6998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6999 function
7000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7001 Likewise.
7002 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7003 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7004
70d9946a
JM
70052013-02-13 Joseph Myers <joseph@codesourcery.com>
7006
7007 [BZ #13550]
7008 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7009 code.
7010 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7011 prototype or function definition. Rename ubp_* variables and
7012 parameters. Remove argv definitions conditional on
7013 [__BOUNDED_POINTERS__].
7014 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7015 * elf/dl-runtime.c (_dl_fixup): Likewise.
7016 * include/set-hooks.h (RUN_HOOK): Likewise.
7017 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7018 definition.
7019 * string/strcpy.c (strcpy): Do not use __unbounded.
7020 * sysdeps/generic/frame.h (struct layout): Likewise.
7021 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7022 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7023 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7024 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7025 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7026 (__backtrace): Likewise.
7027 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7028 use __ptrvalue.
7029 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7030 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7031 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7032 Likewise.
7033 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7034 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7035 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7036 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7037 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7038 Do not use __unbounded.
7039 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7040 Rename __unboundedrlimits parameter to rlimits in prototype.
7041 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7042 Do not use __unbounded.
7043 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7044 not use __ptrvalue.
7045 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7046 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7047 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7048 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7049 __ptrvalue or __unbounded.
7050 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7051 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7052 use __unbounded.
7053 (__new_msgctl): Do not use __ptrvalue.
7054 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7055 __unbounded.
7056 (__libc_msgrcv): Do not use __ptrvalue.
7057 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7058 startup_info): Do not use __unbounded.
7059 (__libc_start_main): Likewise. Rename ubp_* variables and
7060 parameters. Remove argv definitions conditional on
7061 [__BOUNDED_POINTERS__].
7062 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7063 __ptrvalue.
7064 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7065 use __unbounded.
7066 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7067 or __ptrvalue.
7068 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7069 use __unbounded.
7070 (__new_shmctl): Do not use __ptrvalue.
7071 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7072 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7073 Likewise.
7074 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7075 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7076 (__libc_sigaction): Likewise.
7077 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7078 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7079 Likewise.
7080 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7081
cc7834d6
OB
70822013-02-13 Ondřej Bílka <neleai@seznam.cz>
7083
ffb1ec7b 7084 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7085
7086 * string/mempcpy.c: Implement by calling memcpy.
7087
bdf02814
SP
70882013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7089
c2af38aa
SP
7090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7091
4e92d59e
SP
7092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7093 evaluation.
7094
909279a5
SP
7095 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7096 values in the mantissa.
7097
bdf02814
SP
7098 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7099 minimize writes to Z.
7100 (sub_magnitudes): Simplify code a bit.
7101
cd525923
RM
71022013-02-12 Roland McGrath <roland@hack.frob.com>
7103
7104 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7105 from the message. The linker prefixes all warnings with that already.
7106
7e2f0d2d
AS
71072013-02-12 Andreas Schwab <schwab@suse.de>
7108
a445af0b
AS
7109 [BZ #15078]
7110 * posix/regexec.c (extend_buffers): Add parameter min_len.
7111 (check_matching): Pass minimum needed length.
7112 (clean_state_log_if_needed): Likewise.
7113 (get_subexp): Likewise.
7114 * posix/Makefile (tests): Add bug-regex34.
7115 (bug-regex34-ENV): Define.
7116 * posix/bug-regex34.c: New file.
7117
7e2f0d2d
AS
7118 [BZ #11561]
7119 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7120 elements compare against the byte sequence of it, not its name.
7121 * posix/Makefile (tests): Add bug-regex35.
7122 (bug-regex35-ENV): Define.
7123 * posix/bug-regex35.c: New file.
7124
a175b684
TV
71252013-02-11 Tom de Vries <tom@codesourcery.com>
7126
7127 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7128 comment.
7129 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7130 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7131 (CHECK_EOL): Add undef.
7132
310998fe 71332013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7134
7135 * bits/stdlib-bsearch.h: New file.
7136 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7137 * stdlib/stdlib.h: Likewise.
41eda41d 7138
8ded91fb
RM
71392013-02-11 Roland McGrath <roland@hack.frob.com>
7140
7141 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7142 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7143 declaration.
7144 * manual/search.texi (Array Search Function): Add missing const in
7145 lfind prototype.
7146 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7147 declaration to use rlim_t.
7148 (Basic Scheduling Functions): Remove erroneous const from
7149 sched_getparam prototype. Remove erroneous * from
7150 sched_get_priority_max and sched_get_priority_min prototypes.
7151 (Resource Usage): Fix summary @comment on vtimes to refer to
7152 sys/vtimes.h rather than vtimes.h.
7153 Add missing *s in vtimes prototype.
7154 (Limits on Resources): Fix ulimit prototype to return long int.
7155 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7156 prototypes to use long int rather than double.
7157 (BSD Random): Fix initstate and setstate to use char *, not void *.
7158 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7159 prototype to make second argument 'struct aiocb64 *const[]'.
7160 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7161 (Status of AIO Operations): Remove erroneous const in aio_return and
7162 aio_return64 prototypes.
7163 (Synchronizing I/O): Fix sync prototype to return void.
7164 * manual/startup.texi (Suboptions): Remove an erroneous const in
7165 getsubopt prototype.
7166 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7167 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7168 use size_t rather than int.
7169 (Scanning All Users): Likewise for getpwent_r.
7170 (Setting Groups): Add missing const to setgroups prototype.
7171 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7172 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7173 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7174 'const void *' rather than 'const char *'.
7175 (Host Address Functions): Likewise for inet_ntop.
7176 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7177 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7178 ssize_t for return value.
7179 (Sending Data): Likewise for send, sendto, sendmsg.
7180 (Socket Option Functions): Add a missing const in setsockopt prototype.
7181 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7182 use wchar_t for the argument.
7183 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7184 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7185 take no arguments.
7186 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7187 double/float/long double for second argument.
7188 Fix return types of significand, significandf, significandl.
7189 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7190 argument in fchmod prototype.
7191 (File Owner): Use uid_t and gid_t in fchown prototype.
7192 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7193 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7194 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7195 use 'const struct dirent **' as argument types to CMP function pointer
7196 argument.
7197 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7198 (File Times): Fix summary magic @comment for struct utimbuf and utime
7199 to refer to utime.h, not time.h.
7200 * manual/string.texi (Argz Functions): Add missing const in
7201 argz_extract and argz_next prototypes.
7202 (Finding Tokens in a String): Likewise for basename.
7203 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7204 (Copying and Concatenation): Fix typo in wmemmove prototype.
7205 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7206 (Signal Stack): Remove erroneous const in sigstack prototype.
7207 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7208 prototype.
7209 (Simple Calendar Time): Likewise for stime.
7210 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7211 prototype.
7212 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7213 say sys/sysctl.h instead.
7214 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7215 and vsyslog prototypes.
7216
fe77fe6d
TV
72172013-02-11 Tom de Vries <tom@codesourcery.com>
7218
7219 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7220 Remove.
7221
3a09b620
RM
72222013-02-11 Roland McGrath <roland@hack.frob.com>
7223
7224 * misc/sys/mman.h: Fix typo in mremap comment.
7225
550a0b89
RM
72262013-02-08 Roland McGrath <roland@hack.frob.com>
7227
7228 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7229 the '\0' terminator.
7230
a2da1673
JM
72312013-02-08 Joseph Myers <joseph@codesourcery.com>
7232
7233 [BZ #13550]
7234 * debug/segfault.c: Don't include <bp-checks.h>.
7235 * sysdeps/generic/bp-checks.h: Remove file.
7236 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7237 (__GETDENTS): Don't use CHECK_N.
7238 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7239 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7240 (__getgroups): Don't use CHECK_N.
7241 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7242 (setgroups): Don't use CHECK_N.
7243 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7244 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7245 (__libc_msgrcv): Don't use CHECK_N.
7246 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7247 (__libc_msgsnd): Don't use CHECK_N.
7248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7249 <bp-checks.h>.
7250 (__libc_pread): Don't use CHECK_N.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7252 include <bp-checks.h>.
7253 (__libc_pread64): Don't use CHECK_N.
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7255 include <bp-checks.h>.
7256 (__libc_pwrite): Don't use CHECK_N.
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7258 include <bp-checks.h>.
7259 (__libc_pwrite64): Don't use CHECK_N.
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7261 <bp-checks.h>.
7262 (__libc_pread): Don't use CHECK_N.
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7264 include <bp-checks.h>.
7265 (__libc_pread64): Don't use CHECK_N.
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7267 include <bp-checks.h>.
7268 (__libc_pwrite): Don't use CHECK_N.
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7270 include <bp-checks.h>.
7271 (__libc_pwrite64): Don't use CHECK_N.
7272 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7273 (do_pread): Don't use CHECK_N.
7274 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7275 (do_pread64): Don't use CHECK_N.
7276 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7277 (do_pwrite): Don't use CHECK_N.
7278 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7279 (do_pwrite64): Don't use CHECK_N.
7280 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7281 (__libc_readv): Don't use CHECK_N.
7282 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7283 (semop): Don't use CHECK_N.
7284 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7285 <bp-checks.h>.
7286 (semtimedop): Don't use CHECK_N.
7287 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7288 (__libc_pread): Don't use CHECK_N.
7289 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7290 <bp-checks.h>.
7291 (__libc_pread64): Don't use CHECK_N.
7292 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7293 <bp-checks.h>.
7294 (__libc_pwrite): Don't use CHECK_N.
7295 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7296 <bp-checks.h>.
7297 (__libc_pwrite64): Don't use CHECK_N.
7298 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7299 <bp-checks.h>.
7300 (__libc_msgrcv): Don't use CHECK_N.
7301 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7302 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7303 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7304 (__libc_writev): Don't use CHECK_N.
7305
b84660a8
RM
73062013-02-08 Roland McGrath <roland@hack.frob.com>
7307
7f3e75f8
RM
7308 * string/strcpy.c: Removed unused variable.
7309
b84660a8
RM
7310 * Makeconfig (+sysdep-includes): Define with := rather than =.
7311 Use an existing include/ subdir of each sysdeps dir before it.
7312
471514d3
CD
73132013-02-08 Carlos O'Donell <carlos@redhat.com>
7314
7315 * nscd/connection.c (register_traced_file): Comment function.
7316 [HAVE_INOTIFY] (union __inev): Define.
7317 [HAVE_INOTIFY] (inotify_check_files): New function.
7318 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7319 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7320 clear_db_cache.
7321 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7322
b2d3c3be
CD
73232013-02-08 Carlos O'Donell <carlos@redhat.com>
7324
7325 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7326 loaded if not already and that a failure is permanent.
7327
b39949d2
CD
73282013-02-08 Carlos O'Donell <carlos@redhat.com>
7329
ddacd1db 7330 [BZ #15006]
b39949d2
CD
7331 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7332 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7333
b2c9eff4
JM
73342013-02-08 Joseph Myers <joseph@codesourcery.com>
7335
f3aae3f3
JM
7336 [BZ #13550]
7337 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7338 (CHECK_1_NULL_OK): Likewise.
7339 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7340 (__fxstat): Do not use CHECK_1.
7341 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7342 <bp-checks.h>.
7343 (___fxstat64): Do not use CHECK_1.
7344 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7345 <bp-checks.h>.
7346 (__fxstatat): Do not use CHECK_1.
7347 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7348 <bp-checks.h>.
7349 (__fxstatat64): Do not use CHECK_1.
7350 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7351 <bp-checks.h>.
7352 (__fxstat): Do not use CHECK_1.
7353 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7354 <bp-checks.h>.
7355 (__fxstatat): Do not use CHECK_1.
7356 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7357 <bp-checks.h>.
7358 (__getresgid): Do not use CHECK_1.
7359 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7360 <bp-checks.h>.
7361 (__getresuid): Do not use CHECK_1.
7362 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7363 <bp-checks.h>.
7364 (__lxstat): Do not use CHECK_1.
7365 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7366 <bp-checks.h>.
7367 (__old_msgctl): Do not use CHECK_1.
7368 (__new_msgctl): Likewise.
7369 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7370 <bp-checks.h>.
7371 (__new_setrlimit): Do not use CHECK_1.
7372 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7373 <bp-checks.h>.
7374 (__old_shmctl): Do not use CHECK_1.
7375 (__new_shmctl): Likewise.
7376 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7377 <bp-checks.h>.
7378 (__xstat): Do not use CHECK_1.
7379 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7380 (__lxstat): Do not use CHECK_1.
7381 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7382 <bp-checks.h>.
7383 (___lxstat64): Do not use CHECK_1.
7384 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7385 (__old_msgctl): Do not use CHECK_1.
7386 (__new_msgctl): Likewise.
7387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7388 <bp-checks.h>.
7389 (__gettimeofday): Do not use CHECK_1.
7390 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7391 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7392 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7393 <bp-checks.h>.
7394 (__gettimeofday): Do not use CHECK_1.
7395 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7396 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7397 (__new_shmctl): Do not use CHECK_1.
7398 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7399 <bp-checks.h>.
7400 (do_sigtimedwait): Do not use CHECK_1.
7401 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7402 <bp-checks.h>.
7403 (do_sigwaitinfo): Do not use CHECK_1.
7404 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7405 <bp-checks.h>.
7406 (msgctl): Do not use CHECK_1.
7407 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7408 <bp-checks.h>.
7409 (shmctl): Do not use CHECK_1.
7410 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7411 (ustat): Do not use CHECK_1.
7412 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7413 <bp-checks.h>.
7414 (__fxstat): Do not use CHECK_1.
7415 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7416 <bp-checks.h>.
7417 (__fxstatat): Do not use CHECK_1.
7418 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7419 <bp-checks.h>.
7420 (__lxstat): Do not use CHECK_1.
7421 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7422 <bp-checks.h>.
7423 (__xstat): Do not use CHECK_1.
7424 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7425 (__xstat): Do not use CHECK_1.
7426 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7427 (___xstat64): Do not use CHECK_1.
7428
b2c9eff4
JM
7429 [BZ #13550]
7430 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7431 definitions.
7432 (CHECK_BOUNDS_HIGH): Likewise.
7433 * string/strcpy.c: Do not include <bp-checks.h>.
7434 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7435
f1d70dad
RM
74362013-02-07 Roland McGrath <roland@hack.frob.com>
7437
7438 * nscd/nscd-client.h (__nscd_drop_map_ref):
7439 Add __attribute__ ((unused)).
7440 * nis/nss-nisplus.h (niserr2nss): Likewise.
7441
7442 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7443 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7444
7445 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7446 Remove inline keyword.
7447 * include/rounding-mode.h (round_away): Likewise.
7448 * libio/wfileops.c (adjust_wide_data): Likewise.
7449 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7450 (__m128i_strloadu_tolower): Likewise.
7451 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7452 (__m128i_strloadu_tolower): Likewise.
7453 * time/mktime.c (ydhms_diff): Likewise.
7454 * locale/elem-hash.h (elem_hash): Likewise.
7455 * locale/setlocale.c (setdata): Likewise.
7456 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7457 (re_string_wchar_at): Likewise.
7458 (bitset_not, bitset_merge, bitset_mask): Likewise.
7459 [!(__GNUC__ > 3)] (inline): Remove macro.
7460 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7461 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7462 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7463 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7464 * string/memcmp.c (memcmp_bytes): Likewise.
7465 * locale/programs/locarchive.c (compute_hashval): Likewise.
7466 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7467 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7468 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7469 * nss/getent.c (print_rpc, print_protocols): Likewise.
7470 (print_passwd, print_group, print_aliases): Likewise.
7471 * nis/nss-nisplus.h (niserr2nss): Likewise.
7472 * nscd/connections.c (restart_p): Likewise.
7473 Change return type to bool.
7474
eab55bfb
RM
74752013-02-05 Roland McGrath <roland@hack.frob.com>
7476
7bd642f5
RM
7477 * Makeconfig (all-Depend-files): Add existing
7478 $(sorted-subdirs:=/Depend) files.
7479 (all-subdirs): Remove nss.
7480 * sysdeps/unix/inet/Subdirs: Add it here instead.
7481 * hesiod/Depend: New file.
7482
573c29b2
RM
7483 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7484 instead of calling alloca.
7485
b2e25af0
RM
7486 * io/lseek.c (__lseek): Rename to __libc_lseek.
7487 Define __lseek as an alias.
7488
eab55bfb
RM
7489 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7490
9a0d1941
CD
74912013-02-04 Carlos O'Donell <carlos@redhat.com>
7492
7493 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7494 else clause and remove check for non-standard endianness.
7495
b83bbec4
DM
74962013-02-04 David S. Miller <davem@davemloft.net>
7497
7498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7499
6277fdab
JM
75002013-02-04 Joseph Myers <joseph@codesourcery.com>
7501
7502 [BZ #13550]
7503 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7504 (__ubp_memchr): Remove prototype.
7505 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7506 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7507 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7508 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7509 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7510 Remove alias.
7511 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7512 (__ubp_memchr): Likewise.
7513 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7514 (__ubp_memchr): Likewise.
7515 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7516 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7517 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7518 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7519 CHECK_STRING.
7520 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7521 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7522 (__getcwd): Do not use CHECK_STRING.
7523 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7524 <bp-checks.h>.
7525 (__real_chown): Do not use CHECK_STRING.
7526 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7527 <bp-checks.h>.
7528 (fchownat): Do not use CHECK_STRING.
7529 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7530 CHECK_STRING.
7531 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7532 <bp-checks.h>.
7533 (__lchown): Do not use CHECK_STRING.
7534 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7535 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7536 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7537 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7539 include <bp-checks.h>.
7540 (truncate64): Do not use CHECK_STRING.
7541 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7542 <bp-checks.h>.
7543 (__real_chown): Do not use CHECK_STRING.
7544 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7545 <bp-checks.h>.
7546 (__lchown): Do not use CHECK_STRING.
7547 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7548 <bp-checks.h>.
7549 (__chown): Do not use CHECK_STRING.
7550 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7551 <bp-checks.h>.
7552 (truncate64): Do not use CHECK_STRING.
7553 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7554 Likewise.
7555 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7556 (__xmknod): Do not use CHECK_STRING.
7557 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7558 <bp-checks.h>.
7559 (__xmknodat): Do not use CHECK_STRING.
7560 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7561 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7562
903ae060
AS
75632013-02-04 Andreas Schwab <schwab@suse.de>
7564
7565 [BZ #14142]
7566 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7567 * include/netdb.h: Likewise for h_errno.
7568 * elf/tst-stackguard1.c: Include <tls.h>.
7569
542f9466
JK
75702013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7571
7572 * elf/link.h (struct link_map): Extend the l_addr comment.
7573 * include/link.h (struct link_map): Likewise.
7574
e782a927
JM
75752013-02-01 Joseph Myers <joseph@codesourcery.com>
7576
7577 [BZ #13550]
7578 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7579 (BOUNDED_1): Remove macro.
7580 * debug/backtrace.c: Don't include <bp-checks.h>.
7581 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7582 (__backtrace): Likewise.
7583 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7584 <bp-checks.h>.
7585 (__backtrace): Don't use BOUNDED_1.
7586 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7587 <bp-checks.h>.
7588 (__backtrace): Don't use BOUNDED_1.
7589 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7590 (__backtrace): Don't use BOUNDED_1.
7591 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7592 (shmat): Don't use BOUNDED_N.
7593
8cf28c5e
JM
75942013-01-31 Joseph Myers <joseph@codesourcery.com>
7595
3a7ac8a0
JM
7596 [BZ #13550]
7597 * sysdeps/generic/bp-start.h: Remove file.
7598 * csu/libc-start.c: Don't include <bp-start.h>.
7599 (LIBC_START_MAIN): Set up __environ directly instead of using
7600 INIT_ARGV_and_ENVIRON.
7601 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7602 <bp-start.h>.
7603
f3499f95
JM
7604 [BZ #13550]
7605 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7606 definitions.
7607 (CHECK_FCNTL): Likewise.
7608 (CHECK_N_PAGES): Likewise.
7609
32a45bea
JM
7610 [BZ #13550]
7611 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7612 definitions.
7613 (CHECK_SIGSET_NULL_OK): Likewise.
7614 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7615 <bp-checks.h>.
7616 (sigpending): Don't use CHECK_SIGSET.
7617 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7618 <bp-checks.h>.
7619 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7620 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7621 <bp-checks.h>.
7622 (do_sigsuspend): Don't use CHECK_SIGSET.
7623 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7624 use CHECK_SIGSET.
7625 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7626 (do_sigwait): Don't use CHECK_SIGSET.
7627 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7628 use CHECK_SIGSET.
7629 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7630 include <bp-checks.h>.
7631 (sigpending): Don't use CHECK_SIGSET.
7632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7633 include <bp-checks.h>.
7634 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7635 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7636 <bp-checks.h>.
7637 (sigpending): Don't use CHECK_SIGSET.
7638 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7639 <bp-checks.h>.
7640 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7641
2e8a5c8c
JM
7642 [BZ #13550]
7643 * sysdeps/generic/bp-semctl.h: Remove file.
7644 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7645 <bp-checks.h> and <bp-semctl.h>.
7646 (__old_semctl): Don't use CHECK_SEMCTL.
7647 (__new_semctl): Likewise.
7648 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7649 and <bp-semctl.h>.
7650 (__old_semctl): Don't use CHECK_SEMCTL.
7651 (__new_semctl): Likewise.
7652 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7653 <bp-checks.h> and <bp-semctl.h>.
7654 (__old_semctl): Don't use CHECK_SEMCTL.
7655 (__new_semctl): Likewise.
7656 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7657 <bp-checks.h> and <bp-semctl.h>.
7658 (semctl): Don't use CHECK_SEMCTL.
7659
c2d54929
JM
7660 [BZ #13550]
7661 * Makerules (elide-bp-thunks): Remove variable.
7662 (elide-routines.oS): Don't use $(elide-bp-thunks).
7663 (elide-routines.os): Likewise.
7664 (elide-routines.o): Likewise.
7665 (elide-routines.op): Likewise.
7666 (elide-routines.og): Likewise.
7667 (objects): Don't use $(bp-thunks).
7668 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7669 include.
7670 (common-generated): Do not add s-proto-bp.d.
7671 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7672 (int): Likewise.
7673 (typ): Likewise.
7674 Do not generate makefile rules for bounded-pointer thunks.
7675 * sysdeps/generic/bp-thunks.h: Remove file.
7676 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7677 * sysdeps/unix/s-proto-bp.S: Likewise.
7678
8cf28c5e
JM
7679 [BZ #15062]
7680 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7681 parts of result separately when argument is not close to line from
7682 -i to i and one part of argument is small.
7683 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7684 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7685 * math/libm-test.inc (cacos_test): Add more tests.
7686 (casin_test): Likewise.
7687 (casinh_test): Likewise.
7688 * sysdeps/i386/fpu/libm-test-ulps: Update.
7689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7690
c4e33b8d
DM
76912013-01-31 David S. Miller <davem@davemloft.net>
7692
7693 * po/de.po: Update from translation team.
7694
3b60b421
MK
76952013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7696
7697 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7698
bb931195
TS
76992013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7700
b5a5da23
TS
7701 * configure.in (_AC_PROG_CC_C89): New definition.
7702 * configure: Regenerate.
7703
bb931195
TS
7704 * configure.in (AC_PROG_CPP): New definition.
7705 * configure: Regenerate.
7706
8c53a12c
JM
77072013-01-23 Joseph Myers <joseph@codesourcery.com>
7708
7709 * debug/tst-backtrace.h: New file.
7710 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7711 (ret): Remove variable.
7712 (x): Likewise.
7713 (FAIL): Remove macro.
7714 (NO_INLINE): Likewise.
7715 (fn1): Use match function instead of strstr.
7716 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7717 (ret): Remove variable.
7718 (x): Likewise.
7719 (FAIL): Remove macro.
7720 (NO_INLINE): Likewise.
7721 (fn): Use match function instead of strstr.
7722 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7723 (ret): Remove variable.
7724 (x): Likewise.
7725 (FAIL): Remove macro.
7726 (NO_INLINE): Likewise.
7727 (handle_signal): Use match function instead of strstr.
7728 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7729 (ret): Remove variable.
7730 (x): Likewise.
7731 (FAIL): Remove macro.
7732 (NO_INLINE): Likewise.
7733 (handle_signal): Use match function instead of strstr.
7734
4858fa2a
RM
77352013-01-23 Roland McGrath <roland@hack.frob.com>
7736
7737 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7738
bae8e7f5
DM
77392013-01-23 David S. Miller <davem@davemloft.net>
7740
7741 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7742 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7743 argument of CAS if possible.
7744 * sysdeps/sparc/sparc64/bits/atomic.h
7745 (__arch_compare_and_exchange_val_32_acq): Likewise.
7746 (__arch_compare_and_exchange_val_64_acq): Likewise.
7747
9cbbc4ae
PT
77482013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7749
7750 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7751 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7752 Include <limits.h>.
67b3f58c 7753 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7754
5655a0b5
AC
77552013-01-23 Adam Conrad <adconrad@0c3.net>
7756
7757 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7758 (LDFLAGS-tst-array5): Likewise.
7759
052aff95
JM
77602013-01-23 Joseph Myers <joseph@codesourcery.com>
7761
7762 [BZ #15036]
7763 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7764 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7765 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7766 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7767
7c1e01aa
DM
77682013-01-21 David S. Miller <davem@davemloft.net>
7769
7770 * sysdeps/sparc/backtrace.c: New file.
7771 * sysdeps/sparc/sparc32/backtrace.h: New file.
7772 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7773 * sysdeps/sparc/sparc64/backtrace.h: New file.
7774 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7775 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7776 -funwind-tables.
7777
ab087e0a
AS
77782013-01-21 Andreas Schwab <schwab@suse.de>
7779
7780 [BZ #15020]
7781 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7782 closed its stdout.
7783
ed689c2f
AS
77842013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7785
7786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7787 "mpa2.h".
7788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7789
31d470ac
JM
77902013-01-18 Joseph Myers <joseph@codesourcery.com>
7791 Mark Mitchell <mark@codesourcery.com>
7792 Tom de Vries <tom@codesourcery.com>
7793 Paul Pluzhnikov <ppluzhnikov@google.com>
7794
7795 * debug/tst-backtrace2.c: New file.
7796 * debug/tst-backtrace3.c: Likewise.
7797 * debug/tst-backtrace4.c: Likewise.
7798 * debug/tst-backtrace5.c: Likewise.
7799 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7800 (CFLAGS-tst-backtrace3.c): Likewise.
7801 (CFLAGS-tst-backtrace4.c): Likewise.
7802 (CFLAGS-tst-backtrace5.c): Likewise.
7803 (LDFLAGS-tst-backtrace2): Likewise.
7804 (LDFLAGS-tst-backtrace3): Likewise.
7805 (LDFLAGS-tst-backtrace4): Likewise.
7806 (LDFLAGS-tst-backtrace5): Likewise.
7807 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7808 tst-backtrace4 and tst-backtrace5.
7809
90567f30 78102013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7811 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7812
7813 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7814 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7815 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7816 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7818 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7819 "+r" and remove output regs list as redundant. Add explicit inline
7820 asm to specify register of return val to work around compiler codegen
7821 bug. Remove (int) cast on return value. Add return type parameter to
7822 use in macro so that this macro does not truncate return value for
7823 64-bit values.
7824 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7825 pass to INTERNAL_VSYSCALL_NCS.
7826 (INLINE_VSYSCALL): Add 'long int' as return type to
7827 INTERNAL_VSYSCALL_NCS macro invocation.
7828 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7829 INTERNAL_VSYSCALL_NCS macro invocation.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7831
d3b9ea61
SP
78322013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7833
0b57daeb
SP
7834 [BZ #14496]
7835 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7836 Fix application of SIMD FP exception mask.
7837
caa99d06
SP
7838 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7839 mp_no from a power of two.
7840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7841 __mpexp_twomm1. Use __pow_mp.
7842
d3b9ea61
SP
7843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7844 multiplication.
7845
1dbaee3c
DM
78462013-01-17 David S. Miller <davem@davemloft.net>
7847
7848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7849
728d7b43
JM
78502013-01-17 Joseph Myers <joseph@codesourcery.com>
7851
7852 [BZ #15023]
7853 * include/complex.h: Condition contents on [!_COMPLEX_H].
7854 (__kernel_casinhf): New prototype.
7855 (__kernel_casinh): Likewise.
7856 (__kernel_casinhl): Likewise.
7857 * math/Makefile (libm_calls): Add k_casinh.
7858 * math/k_casinh.c: New file.
7859 * math/k_casinhf.c: Likewise.
7860 * math/k_casinhl.c: Likewise.
7861 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7862 finite nonzero arguments.
7863 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7864 finite nonzero arguments.
7865 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7866 finite nonzero arguments.
7867 * math/s_casinh.c: Do not include <float.h>.
7868 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7869 * math/s_casinhf.c: Do not include <float.h>.
7870 (__casinhf): Move code for finite nonzero arguments to
7871 k_casinhf.c.
7872 * math/s_casinhl.c: Do not include <float.h>.
7873 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7874 redefine.
7875 (__casinhl): Move code for finite nonzero arguments to
7876 k_casinhl.c.
7877 * math/libm-test.inc (cacos_test): Add more tests.
7878 * sysdeps/i386/fpu/libm-test-ulps: Update.
7879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7880
2a26ef3a
PT
78812013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7882
7883 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7884 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7885 [!HAVE_MREMAP]: Remove [defined linux] case.
7886 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7887
a897655d
SP
78882013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7889
7890 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7891
881ebe89 78922013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7893
7894 * elf/elf.h (R_386_SIZE32): New relocation.
7895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7896 R_386_SIZE32.
7897 (elf_machine_rela): Likewise.
7898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7899 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7900
59981e9b
JM
79012013-01-17 Joseph Myers <joseph@codesourcery.com>
7902
7903 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7904 (FP_FAST_FMA): Do not define.
7905 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7906 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7907 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7908 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7909 !_SOFT_FLOAT]: Likewise.
7910 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7911 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7912 value.
7913 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7914 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7915 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7916 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7917 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7918 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7919 file.
7920
cfa8054f
AS
79212013-01-16 Andreas Schwab <schwab@suse.de>
7922
7923 [BZ #14327]
7924 * include/stdlib.h (__mktemp): Add declaration.
7925 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7926 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7927
dd930cc5
SP
79282013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7929
881ebe89
SP
7930 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7931 definitions.
7932 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7933 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7934 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7935 definitions here.
7936 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7937 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7938 definitions.
7939 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7940 and ONE.
7941 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7942 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7943 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7944 definitions.
7945 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7946 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7947 definitions.
7948 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7949
dd930cc5
SP
7950 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7951
c19a9f89
DM
79522013-01-15 David S. Miller <davem@davemloft.net>
7953
1aa61767
DM
7954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7955 trunc{,f} to libm-sysdep_routes.
7956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7958 file.
7959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7961 file.
7962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7963 file.
7964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7966 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7967 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7968 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7969 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7970 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7971 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7972
c42d5e98
DM
7973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7974 nearbyint{,f} to libm-sysdep_routes.
7975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7977 New file.
7978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7979 file.
7980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7981 New file.
7982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7983 file.
7984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7986 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7987 file.
7988 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7989 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7990 file.
7991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7992 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7993 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7994
c19a9f89
DM
7995 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7996 libc_feholdexcept and libc_fesetenv.
7997
357679d2
MF
79982013-01-15 Mike Frysinger <vapier@gentoo.org>
7999
8000 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8001
65a82e3d
DM
80022013-01-14 David S. Miller <davem@davemloft.net>
8003
8b954ab9
DM
8004 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8005 (SPARC_ASM_VIS2_IFUNC): Likewise.
8006 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8008 use of 'siam' instruction.
8009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8010 Likewise.
8011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8012 Likewise.
8013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8014 Likewise.
8015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8020 file.
8021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8022 file.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8024 file.
8025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8026 file.
8027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8032 new VIS2 routines.
8033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8036 Likewise.
8037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8042 routines to libm-sysdep_routines.
8043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8044
65a82e3d
DM
8045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8046 fdim/fdimf to libm-sysdep_routines.
8047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8048 file.
8049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8051 file.
8052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8055 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8056 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8057 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8058 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8059
e34ab705
SP
80602013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8061
2a91b573
SP
8062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8063 to optimize copies.
8064
1066a534
SP
8065 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8068
e34ab705
SP
8069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8070 local variable MPTWO.
8071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8072 Likewise.
8073
aba5e596
MF
80742013-01-13 Mike Frysinger <vapier@gentoo.org>
8075
8076 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8077 GLOB_NOESCAPE.
8078
e557e9e5
MF
80792013-01-13 Mike Frysinger <vapier@gentoo.org>
8080
8081 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8082
0428cec9
MF
80832013-01-13 Mike Frysinger <vapier@gentoo.org>
8084
8085 * manual/pattern.texi (glob_t): Document gl_flags.
8086 (glob64_t): Likewise.
8087
8794a964
DM
80882013-01-11 David S. Miller <davem@davemloft.net>
8089
66438c3f
RM
8090 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8091 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8092 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8093 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8094 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8095 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8096 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8097 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8098 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8099 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8100 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8101 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8102 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8103
4ae4244d
DM
8104 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8105 sparc V9 rather than using V8 code.
8106 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8107 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8108
8794a964
DM
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8110 Move to...
8111 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8112 Here.
8113
6270516e
RM
81142013-01-11 Roland McGrath <roland@hack.frob.com>
8115
8116 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8117 not in the main loop.
8118 * configure: Regenerated.
8119
6a57d931
JM
81202013-01-11 Joseph Myers <joseph@codesourcery.com>
8121
8122 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8123 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8124 to just #else.
8125 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8126 [!__GLIBC_HAVE_LONG_LONG] case.
8127 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8128 condition to just #else.
8129 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8130 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8131 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8132 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8133 unconditional.
8134 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8135 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8136 #elif condition to just #else.
8137 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8138 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8139 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8140 #elif condition to just #else.
8141
0e8529e9
SE
81422013-01-11 Steve Ellcey <sellcey@mips.com>
8143
8144 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8145 (EF_MIPS_ARCH_64): Fix value.
8146 (EF_MIPS_ARCH_32R2): New.
8147 (EF_MIPS_ARCH_64R2): New.
8148
740b3dbe
L
81492013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8150
8151 * Makeconfig (+link-pie-before-libc): New.
8152 (+link-pie-after-libc): Likewise.
8153 (+link-pie-tests): Likewise.
8154 (+link-pie): Rewritten.
8155 (link-before-libc): Remove $(config-LDFLAGS).
8156 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8157 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8158 (config-LDFLAGS): Renamed to ...
8159 (rtld-LDFLAGS): This.
8160 (rtld-tests-LDFLAGS): New macro.
8161 (link-libc-rpath-link): Likewise.
8162 (link-libc-tests-rpath-link): Likewise.
8163 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8164 (link-libc): Prepand $(link-libc-rpath-link).
8165 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8166 (test-program-prefix): New macro.
8167 (test-via-rtld-prefix): Likewise.
8168 (test-program-cmd): Likewise.
8169 (host-test-program-cmd): Likewise.
8170 * Makefile ($(common-objpfx)testrun.sh): Replace
8171 $(run-program-prefix) with $(test-program-prefix).
8172 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8173 $(rtld-LDFLAGS).
8174 ($(common-objpfx)shlib.lds): Likewise.
8175 (build-module-helper): Likewise.
8176 ($(common-objpfx)format.lds): Likewise.
8177 * Rules (binaries-pie-tests): New.
8178 (binaries-pie-notests): Likewise.
8179 (binaries-pie): Rewritten.
8180 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8181 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8182 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8183 (make-test-out): Replace $(host-built-program-cmd) with
8184 $(host-test-program-cmd).
8185 * config.make.in (build-hardcoded-path-in-tests): New variable.
8186 * configure.in (--enable-hardcoded-path-in-tests): New configure
8187 option.
8188 (hardcoded_path_in_tests): New AC_SUBST.
8189 * configure: Regenerated.
8190 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8191 $(built-program-cmd) with $(test-program-cmd).
8192 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8193 (test_program_cmd): This.
8194 * elf/Makefile ($(objpfx)order.out): Run test with
8195 $(test-program-prefix).
8196 ($(objpfx)order2.out): Likewise.
8197 ($(objpfx)tst-initorder.out): Likewise.
8198 ($(objpfx)tst-initorder2.out): Likewise.
8199 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8200 $(test-program-cmd).
8201 ($(objpfx)tst-array1-static.out): Likewise.
8202 ($(objpfx)tst-array2.out): Likewise.
8203 ($(objpfx)tst-array3.out): Likewise.
8204 ($(objpfx)tst-array4.out): Likewise.
8205 ($(objpfx)tst-array5.out): Likewise.
8206 ($(objpfx)tst-array5-static.out): Likewise.
8207 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8208 $(test-program-cmd).
8209 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8210 $(run-program-prefix) with $(test-program-prefix).
8211 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8212 (test_program_prefix): This.
8213 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8214 $(run-program-prefix) with $(test-program-prefix).
8215 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8216 (test_program_prefix): This.
8217 * iconvdata/tst-tables.sh: Likewise.
8218 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8219 $(run-program-prefix) with $(test-program-prefix).
8220 ($(objpfx)tst-translit.out): Likewise.
8221 ($(objpfx)tst-gettext2.out): Likewise.
8222 ($(objpfx)tst-gettext4.out): Likewise.
8223 ($(objpfx)tst-gettext6.out): Likewise.
8224 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8225 (test_program_prefix): This.
8226 * intl/tst-gettext2.sh: Likewise.
8227 * intl/tst-gettext4.sh Likewise.
8228 * intl/tst-gettext6.sh: Likewise.
8229 * intl/tst-translit.sh: Likewise.
8230 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8231 with $(test-program-cmd).
8232 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8233 $(run-program-prefix) with $(test-program-prefix).
8234 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8235 (test_program_prefix): This.
8236 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8237 $(run-program-prefix) with $(test-program-prefix).
8238 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8239 (test_program_prefix): This.
8240 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8241 * posix/Makefile ($(objpfx)globtest.out): Replace
8242 $(run-via-rtld-prefix) and $(test-wrapper) with
8243 $(test-program-prefix) and $(test-via-rtld-prefix).
8244 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8245 $(test-program-prefix).
8246 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8247 $(host-test-program-cmd).
8248 (tst-spawn-ARGS): Likewise.
8249 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8250 $(test-program-prefix).
8251 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8252 (test_via_rtld_prefix): This.
8253 (test_wrapper): Renamed to ...
8254 (test_program_prefix): This.
8255 (run_program_prefix): Replaced by test_program_prefix.
8256 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8257 (test_program_prefix): This.
8258 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8259 with $(host-test-program-cmd).
8260 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8261 $(run-program-prefix) with $(test-program-prefix).
8262 ($(objpfx)tst-printf.out): Likewise.
8263 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8264 $(test-program-cmd).
8265 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8266 (test_program_prefix): This.
8267 * stdio-common/tst-unbputc.sh: Likewise.
8268 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8269 $(run-program-prefix) with $(test-program-prefix).
8270 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8271 (test_program_prefix): This.
8272 * string/Makefile ($(objpfx)tst-svc.out): Replace
8273 $(built-program-cmd) with $(test-program-cmd).
8274
c6fe55cf
AJ
82752013-01-11 Andreas Jaeger <aj@suse.de>
8276
8277 [BZ #15003]
8278 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8279 value. Sync with Linux 3.7.
8280
9e6919c8
DM
82812013-01-10 David S. Miller <davem@davemloft.net>
8282
8283 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8284 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8285 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8286
1c9f1a02
RM
82872013-01-10 Roland McGrath <roland@hack.frob.com>
8288
8289 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8290 never set.
8291 * configure: Regenerated.
8292
b9de2dde
DM
82932013-01-10 David S. Miller <davem@davemloft.net>
8294
8295 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8296 sparc V9 rather than using V8 code.
8297 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8298 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8299
e7f68ef4
RM
83002013-01-10 Roland McGrath <roland@hack.frob.com>
8301
8302 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8303 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8304 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8305 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8306 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8307 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8308 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8309 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8310 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8311 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8312 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8313 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8314 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8315 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8316 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8317 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8318 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8319 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8320 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8321 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8322 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8323 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8324 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8325 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8326 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8327 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8328 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8329
5a47cc9c
DM
83302013-01-10 David S. Miller <davem@davemloft.net>
8331
8332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8333
4cf8f209
L
83342013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8335
8336 * posix/Makefile (tests-static): New variable.
8337 (tests): Add $(tests-static).
8338 (tst-exec-static-ARGS): New variable.
8339 (tst-spawn-static-ARGS): Likewise.
8340 * posix/tst-exec-static.c: New file.
8341 * posix/tst-spawn-static.c: Likewise.
8342 * posix/tst-exec.c: Support run directly.
8343 * posix/tst-spawn.c: Likewise.
8344
fed0faa1
JM
83452013-01-10 Joseph Myers <joseph@codesourcery.com>
8346
828beb13
JM
8347 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8348 long.
8349 * math/bits/mathcalls.h (llrint): Likewise.
8350 (llround): Likewise.
8351 * stdlib/stdlib.h (struct drand48_data): Likewise.
8352 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8353 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8355 Likewise.
8356 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8357 Likewise.
8358 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8359 (elf_greg_t): Likewise.
8360 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8361 (__jmp_buf): Likewise.
8362 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8363 definitions.
8364 (llrint): Likewise, for all definitions.
8365 (llrintl): Likewise.
8366
fed0faa1
JM
8367 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8368 Remove [__GNUC__] condition.
8369 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8370 condition to just [__USE_ISOC99].
8371 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8372
1a20cb20
L
83732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8374
8375 [BZ #14200]
8376 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8377 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8378 defined.
8379 (_POSIX_V6_ILP32_OFF32): Likewise.
8380 (_XBS5_ILP32_OFF32): Likewise.
8381 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8382 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8383
751b85f7
SP
83842013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8385
7490eb81
SP
8386 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8387
751b85f7
SP
8388 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8389 doubles __mpexp_twomm1. Adjust usage.
8390 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8391 Remove.
8392
988197f0
AS
83932013-01-10 Andreas Schwab <schwab@suse.de>
8394
8395 [BZ #14964]
8396 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8397 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8398
e83d7298
DM
83992013-01-09 David S. Miller <davem@davemloft.net>
8400
034ed64b 8401 [BZ #15003]
e83d7298
DM
8402 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8403 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8404 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8405 TCP_FASTOPEN): Define.
8406 (tcp_repair_opt): New structure.
8407 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8408 enum values.
8409 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8410 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8411 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8412 (tcp_cookie_transactions): New structure.
8413
d5e0b9bd
AB
84142013-01-09 Anton Blanchard <anton@samba.org>
8415
8416 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8417 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8418 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8419 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8420
0c07e3ea
JM
84212013-01-09 Joseph Myers <joseph@codesourcery.com>
8422
8423 * include/features.h (__USE_ANSI): Remove.
8424
232f7002
RM
84252013-01-09 Roland McGrath <roland@hack.frob.com>
8426
ad98e30c
RM
8427 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8428
232f7002
RM
8429 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8430
950c99ca
SP
84312013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8432
b5792741
SP
8433 * sysdeps/s390/fpu/libm-test-ulps: Update.
8434
47cf2278
SP
8435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8436
950c99ca
SP
8437 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8438 (__acr): Likewise.
8439 (__cpy): Likewise.
8440 (norm): Likewise.
8441 (denorm): Likewise.
8442 (__mp_dbl): Likewise.
8443 (__dbl_mp): Likewise.
8444 (add_magnitudes): Likewise.
8445 (sub_magnitudes): Likewise.
8446 (__add): Likewise.
8447 (__sub): Likewise.
8448 (__mul): Likewise.
8449 (__inv): Likewise.
8450 (__dvd): Likewise.
8451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8452 (__acr): Likewise.
8453 (__cpy): Likewise.
8454 (norm): Likewise.
8455 (denorm): Likewise.
8456 (__mp_dbl): Likewise.
8457 (__dbl_mp): Likewise.
8458 (add_magnitudes): Likewise.
8459 (sub_magnitudes): Likewise.
8460 (__add): Likewise.
8461 (__sub): Likewise.
8462 (__mul): Likewise.
8463 (__inv): Likewise.
8464 (__dvd): Likewise.
8465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8466 (__acr): Likewise.
8467 (__cpy): Likewise.
8468 (norm): Likewise.
8469 (denorm): Likewise.
8470 (__mp_dbl): Likewise.
8471 (__dbl_mp): Likewise.
8472 (add_magnitudes): Likewise.
8473 (sub_magnitudes): Likewise.
8474 (__add): Likewise.
8475 (__sub): Likewise.
8476 (__mul): Likewise.
8477 (__inv): Likewise.
8478 (__dvd): Likewise.
8479
eede9df9
JM
84802013-01-08 Joseph Myers <joseph@codesourcery.com>
8481
8482 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8483 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8484 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8485 2 && __USE_EXTERN_INLINES]: Likewise.
8486
c40ea3d9
AJ
84872013-01-08 Andreas Jaeger <aj@suse.de>
8488
8489 [BZ# 14985]
8490 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8491 Remove.
8492 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8493 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8494
2ccdea26
AB
84952013-01-07 Anton Blanchard <anton@samba.org>
8496
8497 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8498 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8499 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8500 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8501 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8502 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8503 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8504 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8506 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8507 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8508 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8509 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8510 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8511 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8512 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8513 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8515 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8516 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8517 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8518 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8519 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8520 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8521 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8522 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8523 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8524 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8526 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8527 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8529 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8530 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8531 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8532 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8534 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8535 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8536 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8537 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8539 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8540
a9708fed
JM
85412013-01-07 Joseph Myers <joseph@codesourcery.com>
8542
375607b9
JM
8543 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8544 (__MALLOC_PMT): Likewise.
8545 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8546 [__GNUC__], only on [_LIBC].
8547 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8548 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8549 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8550 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8551 forward declaration.
8552 (realloc_hook_ini): Likewise.
8553 (memalign_hook_ini): Likewise.
8554 (__libc_memalign): Do not use __MALLOC_PMT in variable
8555 declaration.
8556 (__libc_valloc): Likewise.
8557 (__libc_pvalloc): Likewise.
8558 (__libc_calloc): Likewise.
8559 (__posix_memalign): Likewise.
8560
a9708fed
JM
8561 [BZ #14996]
8562 * math/s_casinh.c: Include <float.h>.
8563 (__casinh): Do not do computation with squaring and square root
8564 for large arguments.
8565 * math/s_casinhf.c: Include <float.h>.
8566 (__casinhf): Do not do computation with squaring and square root
8567 for large arguments.
8568 * math/s_casinhl.c: Include <float.h>.
8569 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8570 (__casinhl): Do not do computation with squaring and square root
8571 for large arguments.
8572 * math/libm-test.inc (casin_test): Add more tests.
8573 (casinh_test): Likewise.
8574 * sysdeps/i386/fpu/libm-test-ulps: Update.
8575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8576
afec409a
L
85772013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8580 (__x86_64_raw_data_cache_size): Likewise.
8581 (__x86_64_data_cache_size_half): Likewise.
8582 (__x86_64_raw_data_cache_size_half): Likewise.
8583 (__x86_64_shared_cache_size): Likewise.
8584 (__x86_64_raw_shared_cache_size): Likewise.
8585 (__x86_64_shared_cache_size_half): Likewise.
8586 (__x86_64_raw_shared_cache_size_half): Likewise.
8587 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8588 to ...
8589 (__x86_data_cache_size): This.
8590 (__x86_64_raw_data_cache_size): Renamed to ...
8591 (__x86_raw_data_cache_size): This.
8592 (__x86_64_data_cache_size_half): Renamed to ...
8593 (__x86_data_cache_size_half): This.
8594 (__x86_64_raw_data_cache_size_half): Renamed to ...
8595 (__x86_raw_data_cache_size_half): This.
8596 (__x86_64_shared_cache_size): Renamed to ...
8597 (__x86_shared_cache_size): This.
8598 (__x86_64_raw_shared_cache_size): Renamed to ...
8599 (__x86_raw_shared_cache_size): This.
8600 (__x86_64_shared_cache_size_half): Renamed to ...
8601 (__x86_shared_cache_size_half): This.
8602 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8603 (__x86_raw_shared_cache_size_half): This.
8604 * sysdeps/x86_64/memcpy.S: Updated.
8605 * sysdeps/x86_64/memset.S: Likewise.
8606 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8607 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8608 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8609
0b3986d0
DM
86102013-01-04 David S. Miller <davem@davemloft.net>
8611
8612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8613
e47686e9
AS
86142013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8615
d643bac1
AS
8616 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8617 1 to avoid redefinition warning.
8618 (__USE_GNU): Don't define.
8619 (init_signaling_nan): Protoize.
8620
e47686e9
AS
8621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8622
b18decba
SP
86232013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8624
fffb407f
SP
8625 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8627 (__cpymn): Likewise.
8628 (norm): Remove commented code.
8629 (denorm): Likewise.
8630 (__mp_dbl): Likewise.
8631 (__inv): Likewise.
8632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8633 (__cpymn): Likewise.
8634 (norm): Remove commented code.
8635 (denorm): Likewise.
8636 (__mp_dbl): Likewise.
8637 (__inv): Likewise.
8638
b18decba
SP
8639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8640 mp_no value for 1.0 and 2.0.
8641 (norm): Use RADIXI instead of radixi.d.
8642 (denorm): Likewise.
8643 (__mul): Use 0.0 instead of zero.d.
8644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8645 mp_no value for 1.0 and 2.0.
8646 (norm): Use RADIXI instead of radixi.d.
8647 (denorm): Likewise.
8648 (__mul): Use 0.0 instead of zero.d.
8649
cdc1c96f
JM
86502013-01-04 Joseph Myers <joseph@codesourcery.com>
8651
8652 [BZ #14994]
8653 * math/s_casinh.c (__casinh): Reduce finite argument to first
8654 quadrant then set signs of results at the end.
8655 * math/s_casinhf.c (__casinhf): Likewise.
8656 * math/s_casinhl.c (__casinhl): Likewise.
8657 * math/libm-test.inc (casin_test): Add more tests.
8658 (casinh_test): Likewise.
8659 * sysdeps/i386/fpu/libm-test-ulps: Update.
8660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8661
302913e1
SP
86622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8663
6420d207
SP
8664 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8665
a9e48ab4
SP
8666 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8667
b7837264
SP
8668 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8669 declarations.
8670 (denorm): Likewise.
8671 (__mp_dbl): Likewise.
8672 (__inv): Likewise.
8673
f8af25d2
SP
8674 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8675 and adjust the header comment.
8676
302913e1
SP
8677 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8678 variable name from declaration.
8679
5d7dd1ca
L
86802013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8681
8682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8683 Initialize COMMON_CPUID_INDEX_7 element.
8684 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8685 (CPUID_RTM): Likewise.
8686 (HAS_RTM): Likewise.
8687 (COMMON_CPUID_INDEX_7): New enum.
8688
2f5f40f4
AS
86892013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8690
8691 [BZ #14981]
8692 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8693 size is zero, record memory as freed.
8694
4056f4a0
AJ
86952013-01-03 Andreas Jaeger <aj@suse.de>
8696
8697 * po/ia.po: Add new Interlingua translation.
8698
ab15736f 86992012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8700
8701 * locale/programs/localedef.c: Fix description of '--posix' flag.
8702
568035b7
JM
87032013-01-02 Joseph Myers <joseph@codesourcery.com>
8704
e6898b8d
JM
8705 * NEWS: Update dates in second copyright notice.
8706 * README: Update copyright dates in example.
8707 * manual/libc.texinfo: Update copyright dates.
8708 * scripts/test-installation.pl: Update copyright date in --version
8709 output.
8710
0e2f9562
JM
8711 * hurd/ctty-input.c: Fix copyright notice formatting.
8712 * hurd/ctty-output.c: Likewise.
8713 * hurd/dtable.c: Likewise.
8714 * hurd/hurd-raise.c: Likewise.
8715 * hurd/hurdprio.c: Likewise.
8716 * hurd/msgportdemux.c: Likewise.
8717 * misc/sys/file.h: Likewise.
8718 * misc/sys/ioctl.h: Likewise.
8719 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8720 * sysdeps/mach/hurd/chdir.c: Likewise.
8721 * sysdeps/mach/hurd/fchdir.c: Likewise.
8722 * sysdeps/mach/hurd/rename.c: Likewise.
8723 * sysdeps/mach/hurd/rmdir.c: Likewise.
8724 * sysdeps/mach/hurd/seekdir.c: Likewise.
8725 * sysdeps/mach/hurd/setsid.c: Likewise.
8726 * sysdeps/posix/wait3.c: Likewise.
8727
568035b7
JM
8728 * All files with FSF copyright notices: Update copyright dates
8729 using scripts/update-copyrights.
8730 * intl/plural.c: Regenerated.
8731 * locale/programs/charmap-kw.h: Likewise.
8732 * locale/programs/locfile-kw.h: Likewise.
8733
da08f647
SP
87342013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8735
0f5477af
SP
8736 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8737 four values.
8738
44e0d4c2
SP
8739 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8740 calculation loop and add branch prediction.
8741
4d55b4e5
SP
8742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8743 check access beyond bounds of m1np.
8744
da08f647
SP
8745 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8746 MPTWO.
8747 (__inv): Remove local variable MPTWO to use the global
8748 constant.
8749 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8750 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8751 variable MPTWO.
8752 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8753 MP3HALFS static const.
8754
8e051029
DM
87552013-01-01 David S. Miller <davem@davemloft.net>
8756
8757 * po/ca.po: Update from translation team.
8758
f4cf5f2d
JM
87592013-01-01 Joseph Myers <joseph@codesourcery.com>
8760
8761 * scripts/update-copyrights: New file.
8762 * Makeconfig: Reformat copyright notice.
8763 * ctype/ctype.h: Likewise.
8764 * debug/swprintf_chk.c: Likewise.
8765 * elf/dl-cache.c: Likewise.
8766 * elf/dl-debug.c: Likewise.
8767 * elf/dl-object.c: Likewise.
8768 * grp/initgroups.c: Likewise.
8769 * hurd/Makefile: Likewise.
8770 * hurd/hurd/signal.h: Likewise.
8771 * hurd/hurdfault.c: Likewise.
8772 * hurd/hurdioctl.c: Likewise.
8773 * hurd/hurdlookup.c: Likewise.
8774 * hurd/intr-msg.c: Likewise.
8775 * iconv/gconv_open.c: Likewise.
8776 * libio/swprintf.c: Likewise.
8777 * locale/lc-ctype.c: Likewise.
8778 * locale/nl_langinfo.c: Likewise.
8779 * mach/Machrules: Likewise.
8780 * mach/Makefile: Likewise.
8781 * malloc/obstack.h: Likewise.
8782 * manual/Makefile: Likewise.
8783 * manual/tsort.awk: Likewise.
8784 * misc/bits/stab.def: Likewise.
8785 * nis/nis_print_group_entry.c: Likewise.
8786 * nis/nis_table.c: Likewise.
8787 * nis/nss_compat/compat-pwd.c: Likewise.
8788 * nis/nss_compat/compat-spwd.c: Likewise.
8789 * po/Makefile: Likewise.
8790 * posix/fnmatch.c: Likewise.
8791 * posix/regex.h: Likewise.
8792 * resolv/Makefile: Likewise.
8793 * resolv/nss_dns/dns-network.c: Likewise.
8794 * resolv/res_hconf.c: Likewise.
8795 * scripts/gen-sorted.awk: Likewise.
8796 * soft-fp/soft-fp.h: Likewise.
8797 * stdio-common/printf.h: Likewise.
8798 * stdlib/monetary.h: Likewise.
8799 * stdlib/random.c: Likewise.
8800 * stdlib/random_r.c: Likewise.
8801 * sysdeps/generic/Makefile: Likewise.
8802 * sysdeps/gnu/Makefile: Likewise.
8803 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8831 * sysdeps/mach/hurd/errnos.awk: Likewise.
8832 * sysdeps/mach/hurd/fork.c: Likewise.
8833 * sysdeps/mach/hurd/getcwd.c: Likewise.
8834 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8835 * sysdeps/mach/hurd/mmap.c: Likewise.
8836 * sysdeps/mach/hurd/utimes.c: Likewise.
8837 * sysdeps/mach/hurd/xmknod.c: Likewise.
8838 * sysdeps/posix/profil.c: Likewise.
8839 * sysdeps/posix/readdir_r.c: Likewise.
8840 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8841 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8842 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8843 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8845 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8846 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8847 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8849 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8850 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8851 * sysdeps/pthread/lio_listio.c: Likewise.
8852 * sysdeps/sparc/dl-procinfo.h: Likewise.
8853 * sysdeps/unix/i386/sysdep.S: Likewise.
8854 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8855 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8856 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8857 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8859 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8860 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8861 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8862 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8863 * sysdeps/wordsize-32/divdi3.c: Likewise.
8864 * time/sys/time.h: Likewise.
8865 * wcsmbs/Makefile: Likewise.
8866
0549fbba
DM
88672013-01-01 David S. Miller <davem@davemloft.net>
8868
a141f1a7
DM
8869 * po/fr.po: Update from translation team.
8870
0549fbba
DM
8871 * catgets/gencat.c: Update copyright year.
8872 * csu/version.c: Likewise.
8873 * debug/catchsegv.sh: Likewise.
8874 * debug/pcprofiledump.c: Likewise.
8875 * debug/xtrace.sh: Likewise.
8876 * elf/ldconfig.c: Likewise.
8877 * elf/ldd.bash.in: Likewise.
8878 * elf/pldd.c: Likewise.
8879 * elf/sotruss.ksh: Likewise.
8880 * elf/sprof.c: Likewise.
8881 * iconv/iconv_prog.c: Likewise.
8882 * iconv/iconvconfig.c: Likewise.
8883 * locale/programs/locale.c: Likewise.
8884 * locale/programs/localedef.c: Likewise.
8885 * login/programs/pt_chown.c: Likewise.
8886 * malloc/memusage.sh: Likewise.
8887 * malloc/memusagestat.c: Likewise.
8888 * malloc/mtrace.pl: Likewise.
8889 * nscd/nscd.c: Likewise.
8890 * nss/getent.c: Likewise.
8891 * nss/makedb.c: Likewise.
8892 * posix/getconf.c: Likewise.
8893
18ea052c
SP
88942012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8895
8896 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8897 numbers.
8898
9c89fca6
MF
88992012-12-30 Mike Frysinger <vapier@gentoo.org>
8900
8901 * math/bits/mathcalls.h (modf): Use __nonnull.
8902
085ec079
SP
89032012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8904
8905 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8906 (split): Use macro CN instead of the bare value.
8907 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8908 could be used.
8909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8910 instead of the bare value.
8911 (power1): Likewise.
8912
6d9f97e1
SP
89132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8914
d63f73be
SP
8915 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8916 __ATAN_TWOM.
8917 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8918
6d9f97e1
SP
8919 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8920 their values.
8921 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8922 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8923 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8924 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8925
4c4febf5
AJ
89262012-12-28 Andreas Jaeger <aj@suse.de>
8927
af5843ef
AJ
8928 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8929 values are from Linux 3.7.
8930
4c4febf5
AJ
8931 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8932 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8933
99136f82
SP
89342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8935
2f216c3c 8936 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8937 TRUE case.
8938
99136f82
SP
8939 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8940 (norm): Likewise.
8941 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8942 variables with preprocessor constants.
8943 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8944 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8945 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8946
7fffbdff
BH
89472012-12-27 Bruno Haible <bruno@clisp.org>
8948
8949 [BZ #14317]
8950 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8951 only if needed.
8952
b76eb5f0
SP
89532012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8954
31a7fe5c
SP
8955 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8956 and use variable directly.
8957 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8958
b76eb5f0
SP
8959 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8960 MPONE.
8961 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8963 variable MPONE.
8964 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8966 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8967 include directive. Remove local variable MPONE.
8968 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8969 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8971
2c8bfe7d
DM
89722012-12-25 David S. Miller <davem@davemloft.net>
8973
8974 * version.h (RELEASE): Set to "development".
8975 (VERSION): Set to "2.17.90".
8976 * NEWS: Add 2.18 section.
8977
147d03b0
DM
89782012-12-21 David S. Miller <davem@davemloft.net>
8979
8980 * po/hr.po: Update from translation team.
8981
a8ebb2b9
AK
89822012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8983
8984 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8985
95b4f1b6
SE
89862012-12-19 Steve Ellcey <sellcey@mips.com>
8987
b2d94007 8988 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8989
cedb2a90
MS
89902012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8991
8992 * manual/contrib.texi (Contributors): Spelling correction.
8993
bbf527d6
DM
89942012-12-15 David S. Miller <davem@davemloft.net>
8995
8996 * po/ru.po: Update from translation team.
8997
bc38c906
DM
89982012-12-13 David S. Miller <davem@davemloft.net>
8999
85429b1a
DM
9000 * NEWS: Mention IFUNC testsuite enhancements.
9001
d283e353
DM
9002 * po/pl.po: Update from translation team.
9003 * po/bg.po: Likewise.
9004
bc38c906
DM
9005 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9006 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9007
a181b0d7
DM
90082012-12-11 David S. Miller <davem@davemloft.net>
9009
4641d57e
DM
9010 * po/sv.po: Update from translation team.
9011
f7bc6495
DM
9012 * po/vi.po: Update from translation team.
9013
6fc9048f
DM
9014 * po/cs.po: Update from translation team.
9015
a181b0d7
DM
9016 * po/de.po: Update from translation team.
9017 * po/eo.po: Likewise.
9018 * po/nl.po: Likewise.
9019
f70bfe80
SP
90202012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9021
3c8b4190
SP
9022 [BZ #14246]
9023 * manual/argp.texi (Argp Helper Functions): Move node to follow
9024 Argp Parsing State.
9025
f70bfe80
SP
9026 [BZ #14872]
9027 * manual/conf.texi (Limits on File System Capacity): Mention if
9028 terminating null is included in the max size.
9029
188f0adf
AJ
90302012-12-10 Andreas Jaeger <aj@suse.de>
9031
9032 * po/cs.po: Update from translation team.
9033
56e7d3ad
SP
90342012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9035
9036 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9037 void pointer and cast to uintptr_t.
9038 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9039 path.
9040 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9041 * sysdeps/s390/s390-64/memset.S: Likewise.
9042
76f2d2ea 90432012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9044
9045 [BZ #14833]
9046 * menual/message.texi (Message Translation): Fix typos.
9047 (Helper programs for gettext): Likewise.
9048
67cbf9a2
AS
90492012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9050
9051 [BZ #14898]
9052 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9053 Change to -1.
9054
682d0e9a
DM
90552012-12-07 David S. Miller <davem@davemloft.net>
9056
9057 * po/libc.pot: Update.
9058
573cd484
RH
90592012-12-07 Richard Henderson <rth@redhat.com>
9060
7e9da188 9061 [BZ #10114]
573cd484
RH
9062 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9063 normal/normal case to before the switch.
9064 (_FP_DIV): Likewise.
9065
e933a943
MF
90662012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9067 Mike Frysinger <vapier@gentoo.org>
9068
9069 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9070 check for __NR_fadvise64_64.
9071
82123268
CM
90722012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9073
9074 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9075 0, not just to plain "0" as a statement.
9076 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9077 with cw.
9078
d9814526
JM
90792012-12-06 Joseph Myers <joseph@codesourcery.com>
9080
9081 * NEWS: Use sourceware.org in Bugzilla URL.
9082
7728c574
SP
90832012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9084
f16946dd
SP
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9086 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9087
5704bbcb
SP
9088 * stdio-common/tst-put-error.c (do_test): Add newline to the
9089 padded test to ensure flush.
9090
17aa0516
JL
90912012-12-05 Jeff Law <law@redhat.com>
9092
9093 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9094
363313b5
JM
90952012-12-05 Joseph Myers <joseph@codesourcery.com>
9096
effbd42a
JM
9097 * README: Don't refer to ports add-on as distributed separately.
9098 Mention AArch64 in list of systems supported in the ports add-on.
9099
87600365
JM
9100 * LICENSES: Add more non-FSF copyright and license notices.
9101
a0d7066a
JM
9102 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9103 ((unused)).
9104
66ca5a5b
JM
9105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9106
363313b5
JM
9107 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9108 10000 as width of padded output.
9109
b37984ad
JM
91102012-12-04 Joseph Myers <joseph@codesourcery.com>
9111
9003570a
JM
9112 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9113
b37984ad
JM
9114 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9115 variable LX with __attribute__ ((unused)).
9116 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9117 Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9121 with __attribute__ ((unused)).
9122
c8df52ec
DM
91232012-12-04 David S. Miller <davem@abraco.davemloft.net>
9124
9125 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9126
b3b099af
JM
91272012-12-04 Joseph Myers <joseph@codesourcery.com>
9128
c33aa6e3
JM
9129 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9130 (CFLAGS-nldbl-acos.c): New variable.
9131 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9132 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9133 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9134 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9135 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9136 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9137 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9138 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9139 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9140 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9141 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9142 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9143 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9144 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9145 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9146 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9147 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9148 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9149 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9150 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9151 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9152 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9153 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9154 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9155 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9156 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9157 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9158 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9159 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9160 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9161 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9162 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9163 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9164 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9165 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9166 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9167 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9168 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9169 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9170 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9171 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9172 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9173 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9174 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9175 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9176 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9177 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9178 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9179 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9180 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9181 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9182 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9183 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9184 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9185 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9186 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9187 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9188 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9189 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9190 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9191 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9192 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9193 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9194 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9195 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9196 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9197 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9198 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9199 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9200 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9201 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9202 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9203 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9204 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9205 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9206 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9207 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9208 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9209 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9210 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9211 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9212 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9213 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9214 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9215 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9216 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9217 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9218 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9219 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9220 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9221 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9222 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9223 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9224 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9225 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9226 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9227 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9228
20f0018d
JM
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9230 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9231
b3b099af
JM
9232 [BZ #14914]
9233 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9234 whole low double instead of just low 47 bits when splitting values
9235 into two parts.
9236
029264d1
AM
92372012-12-03 Allan McRae <allan@archlinux.org>
9238
9239 * manual/stdio.texi (Predefined Printf Handlers): Remove
9240 @hsep and @vsep usage.
9241
c9d6789e
MF
92422012-12-03 Mike Frysinger <vapier@gentoo.org>
9243
9244 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9245 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9246
4b7634a5
JL
92472012-12-03 Jeff Law <law@redhat.com>
9248
9249 * time/sys/time.h (settimeofday): Do not mark TV argument
9250 as __nonnull.
9251
eb6cbd24
MF
92522012-12-01 Mike Frysinger <vapier@gentoo.org>
9253
9254 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9255 when currently writing and seek to current position when not.
9256 * libio/Makefile (tests): Remove bug-fclose1.
9257 * libio/bug-fclose1.c: Delete.
9258
f638872a
JM
92592012-12-01 Joseph Myers <joseph@codesourcery.com>
9260
9261 * manual/arith.texi (feenableexcept): Fix typo.
9262 (fedisableexcept): Likewise.
9263
48085d14
RM
92642012-11-30 Roland McGrath <roland@hack.frob.com>
9265
9266 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9267 second, differently-typed declaration, rather than a cast.
9268
1a538b9f
SP
92692012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9270
9271 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9272 * include/rpc/svc.h: ... here.
9273
d07f2ff1 92742012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9275
9276 [BZ #13013]
9277 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9278 depending n and resplen2 to catch cases where answer
9279 equals answerp2.
9280
c93ec1f0
CD
92812012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9282
9283 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9284 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9285
37db69de
MF
92862012-11-29 Mike Frysinger <vapier@gentoo.org>
9287
9288 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9289
e10c4e4f
RM
92902012-11-29 Roland McGrath <roland@hack.frob.com>
9291
9292 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9293
2af1b328
JL
92942012-11-28 Jeff Law <law@redhat.com>
9295
9296 [BZ #13761]
9297 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9298 dataset_temporary. Track alloca usage into alloca_used.
9299 If dataset is large allocate and release it via malloc/free.
9300
111db5b1
FW
93012012-06-04 Florian Weimer <fweimer@redhat.com>
9302
f06cc227 9303 [BZ #14197]
111db5b1
FW
9304 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9305
dd694abd
DM
93062012-11-28 David S. Miller <davem@davemloft.net>
9307
9308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9309
9984dd01
JM
93102012-11-28 Joseph Myers <joseph@codesourcery.com>
9311
9312 [BZ #14803]
9313 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9314 of pi/2 rounded to nearest to 64 bits.
9315 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9316 nearest to 64 bits.
9317 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9318 bits.
9319
14bc93a9
JL
93202012-11-28 Jeff Law <law@redhat.com>
9321 Martin Osvald <mosvald@redhat.com>
9322
9323 [BZ #14889]
9324 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9325 * sunrpc/svc.c: Include time.h.
9326 (__svc_accept_failed): New function.
9327 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9328 any reason other than EINTR, call __svc_accept_failed.
9329 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9330 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9331
e3c6aa3a
AS
93322012-11-28 Andreas Schwab <schwab@suse.de>
9333
9334 * scripts/abilist.awk: Also handle indirect functions in .opd
9335 section.
9336
1bead169
JM
93372012-11-28 Joseph Myers <joseph@codesourcery.com>
9338
9339 [BZ #13881]
9340 * sysdeps/x86/fpu/powl_helper.c: New file.
9341 * sysdeps/x86/fpu/Makefile: Likewise.
9342 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9343 (p3): New object.
9344 (__ieee754_powl): Use __powl_helper for finite arguments except
9345 integer exponents below 8.
9346 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9347 (p3): New object.
9348 (__ieee754_powl): Use __powl_helper for finite arguments except
9349 integer exponents below 8.
9350 * math/libm-test.inc (pow_test): Add more tests and enable some
9351 previously disabled tests.
9352 * sysdeps/i386/fpu/libm-test-ulps: Update.
9353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9354
0817d63d
SP
93552012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9356 Carlos O'Donell <carlos_odonell@mentor.com>
9357
9358 * nss/makedb.c (is_prime): Assert that input is odd and greater
9359 than 4. Note that fact in a comment too.
9360 (next_prime): Add 4 to input.
9361
de2fd463
SP
93622012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9363
9364 [BZ #11741]
9365 * libio/Makefile (tests): Add test case tst-fwrite-error.
9366 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9367 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9368 * libio/tst-fwrite-error.c: New test case.
9369
c515fb51
L
93702012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9371
9372 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9373 before casting to void *.
9374 * include/libc-internal.h (__pointer_type): New macro.
9375 (__integer_if_pointer_type_sub): Likewise.
9376 (__integer_if_pointer_type): Likewise.
9377 (cast_to_integer): Likewise.
9378 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9379 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9380 before casting to atomic64_t.
9381 (atomic_exchange_acq): Likewise.
9382 (__arch_exchange_and_add_body): Likewise.
9383 (__arch_add_body): Likewise.
9384 (atomic_add_negative): Likewise.
9385 (atomic_add_zero): Likewise.
9386
4cf77aa9
JM
93872012-11-26 Joseph Myers <joseph@codesourcery.com>
9388
9389 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9390 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9391 (add_fdes): Likewise.
9392 (linear_search_fdes): Likewise.
9393 (binary_search_unencoded_fdes): Likewise.
9394
d260b3b4
AS
93952012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9396
9397 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9398
67060746
AC
93992012-11-24 Adam Conrad <adconrad@0c3.net>
9400
9401 * configure.in: Autodetect C++ header directories.
9402 * configure: Regenerated.
9403
800938a1
MF
94042012-11-23 Mike Frysinger <vapier@gentoo.org>
9405
9406 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9407
4e6e34e6
AS
94082012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9409
9410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9411
7c7feb47
JM
94122012-11-22 Joseph Myers <joseph@codesourcery.com>
9413
7184dcdf
JM
9414 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9415 LDBL_MANT_DIG == 106]: Disable some tests.
9416 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9417 Likewise.
9418 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9419 Likewise.
9420
0a42601f
JM
9421 [BZ #14871]
9422 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9423 input for small inputs. Return +/- pi/2 for large inputs.
9424 * math/libm-test.inc (atan_test): Add more tests.
9425
79c9b9fe
JM
9426 * sysdeps/generic/unwind-dw2-fde-glibc.c
9427 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9428 __attribute__ ((unused)).
9429
c60d3bf2
JM
9430 [BZ #14645]
9431 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9432 x * y if x and y are nonzero and z is zero.
9433
ef1e0867
JM
9434 [BZ #14811]
9435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9436 nonzero exponents with absolute value below 0x1p-117 to +/-
9437 0x1p-117.
9438
1468ded3
JM
9439 [BZ #14869]
9440 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9441 up arguments below 2**-450, not just those below 2**-500.
9442 * math/libm-test.inc (hypot_test): Add another test.
9443
8e27e3cc
JM
9444 [BZ #14868]
9445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9446 Return a+b for ratio over 2**120, not 2**60.
9447 * math/libm-test.inc (hypot_test): Add another test.
9448
c9c0279b
JM
9449 * math/libm-test.inc (clog_test): Use
9450 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9451 (clog10_test): Likewise.
9452
7c7feb47
JM
9453 [BZ #6778]
9454 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9455
fff1530e
AS
94562012-11-22 Andreas Schwab <schwab@suse.de>
9457
9458 * sysdeps/i386/fpu/libm-test-ulps: Update.
9459
94558d30
PT
94602012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9461
9462 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9463 printf output with newline.
9464
7e1be741
L
94652012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9466
6bfea974
L
9467 [BZ #14865]
9468 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9469 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9470 -z nodlopen, -z initfirst and -z execstack support.
9471 * configure: Regenerated.
9472
7e1be741
L
9473 * elf/elf.h (DF_1_NODIRECT): New macro.
9474 (DF_1_IGNMULDEF): Likewise.
9475 (DF_1_NOKSYMS): Likewise.
9476 (DF_1_NOHDR): Likewise.
9477 (DF_1_EDITED): Likewise.
9478 (DF_1_NORELOC): Likewise.
9479 (DF_1_SYMINTPOSE): Likewise.
9480 (DF_1_GLOBAUDIT): Likewise.
9481 (DF_1_SINGLETON): Likewise.
9482 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9483 DT_1_SUPPORTED_MASK bits.
9484 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9485
105ce2ce
CD
94862012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9487
9488 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9489
123be9de
TS
94902012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9491
d072f3f7
TS
9492 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9493 macro.
9494
123be9de
TS
9495 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9496 (sendmmsg): Move declarations...
9497 * socket/sys/socket.h: ... here.
9498 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9499 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9500 include it from...
9501 * socket/recvmmsg.c: ... this new file.
9502 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9503 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9504 definition of __sendmmsg hidden.
9505 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9506 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9507 Move ENOSYS stub into and include it from...
9508 * socket/sendmmsg.c: ... this new file.
9509 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9510 (sysdep_routines): Move recvmmsg and sendmmsg...
9511 * socket/Makefile (routines): ... here.
9512 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9513 (GLIBC_PRIVATE): Add __sendmmsg.
9514 * include/sys/socket.h (__sendmmsg): Add declarations.
9515 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9516 sendmmsg.
9517
cf9a5d18
JM
95182012-11-20 Joseph Myers <joseph@codesourcery.com>
9519
9520 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9521 variable I1 with __attribute__ ((unused)).
9522 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9523
ecd4caf9
JM
95242012-11-19 Joseph Myers <joseph@codesourcery.com>
9525
be14d48f
JM
9526 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9527 DUMMY variables with __attribute__ ((unused)).
9528
ecd4caf9
JM
9529 * bits/byteswap.h: Include <bits/types.h>.
9530 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9531
986cab95
PT
95322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9533
9534 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9535 string_t. Do not manually set errno.
9536 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9537 length with __strnlen. Make sure to both set errno and return it on
9538 failure.
9539
6d33cc9d
DM
95402012-11-19 David S. Miller <davem@davemloft.net>
9541
9542 With help from Joseph Myers.
9543 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9544 very large arguments properly.
9545 * math/libm-test.inc (atan_test): New tests.
9546 (atan2_test): New tests.
9547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9549
ee663277
JM
95502012-11-19 Joseph Myers <joseph@codesourcery.com>
9551
877f2d8e
JM
9552 [BZ #14856]
9553 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9554 Define to 3.
9555
116fc08a
JM
9556 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9557 [POSIX] (EADDRNOTAVAIL): Likewise.
9558 [POSIX] (EAFNOSUPPORT): Likewise.
9559 [POSIX] (EALREADY): Likewise.
9560 [POSIX] (ECONNABORTED): Likewise.
9561 [POSIX] (ECONNREFUSED): Likewise.
9562 [POSIX] (ECONNRESET): Likewise.
9563 [POSIX] (EDESTADDRREQ): Likewise.
9564 [POSIX] (EDQUOT): Likewise.
9565 [POSIX] (EHOSTUNREACH): Likewise.
9566 [POSIX] (EIDRM): Likewise.
9567 [POSIX] (EISCONN): Likewise.
9568 [POSIX] (ELOOP): Likewise.
9569 [POSIX] (EMULTIHOP): Likewise.
9570 [POSIX] (ENETDOWN): Likewise.
9571 [POSIX] (ENETUNREACH): Likewise.
9572 [POSIX] (ENOBUFS): Likewise.
9573 [POSIX] (ENODATA): Likewise.
9574 [POSIX] (ENOLINK): Likewise.
9575 [POSIX] (ENOMSG): Likewise.
9576 [POSIX] (ENOPROTOOPT): Likewise.
9577 [POSIX] (ENOSR): Likewise.
9578 [POSIX] (ENOSTR): Likewise.
9579 [POSIX] (ENOTCONN): Likewise.
9580 [POSIX] (ENOTSOCK): Likewise.
9581 [POSIX] (EOPNOTSUPP): Likewise.
9582 [POSIX] (EOVERFLOW): Likewise.
9583 [POSIX] (EPROTO): Likewise.
9584 [POSIX] (EPROTONOSUPPORT): Likewise.
9585 [POSIX] (EPROTOTYPE): Likewise.
9586 [POSIX] (ESTALE): Likewise.
9587 [POSIX] (ETIME): Likewise.
9588 [POSIX] (ETXTBSY): Likewise.
9589 [POSIX] (EWOULDBLOCK): Likewise.
9590 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9591 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9592 [POSIX] (SEEK_CUR): Likewise.
9593 [POSIX] (SEEK_END): Likewise.
9594 [POSIX || UNIX98] (mode_t): Do not require.
9595 [POSIX] (off_t): Likewise.
9596 [POSIX] (pid_t): Likewise.
9597 [POSIX] (sys/stat.h): Do not allow header.
9598 [POSIX] (unistd.h): Likewise.
9599 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9600 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9602 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9603 require.
9604 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9605 sigevent): Specify elements.
9606 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9607 entry.
9608 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9609 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9610
a483863f
JM
9611 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9612 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9613 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9614 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9615 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9616 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9617 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9618 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9619 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9620 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9621 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9622 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9623 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9624 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9625 Likewise.
9626 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9627 Likewise.
9628 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9629 Likewise.
9630 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9631 Likewise.
9632 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9633 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9634 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9635 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9636 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9637 Specify lower bound on value.
9638 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9639 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9640 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9641 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9642 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9643 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9644 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9645 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9646 value.
9647 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9648 as optional.
9649 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9650 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9651 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9652 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9653 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9654 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9655 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9656 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9657 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9662 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9664 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9665 entry.
9666 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9667 optional.
9668 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9670 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9671 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9672 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9673 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9674 Likewise.
9675 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9676 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9677 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9678 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9679 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9680 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9681 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9682 as optional.
9683 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9684 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9685 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9686 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9687 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9688 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9689 specify as optional.
9690 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9691 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9692 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9693 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9694 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9695 [XPG3] (NL_LANGMAX): Likewise.
9696 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9697 [POSIX || XPG3] (NL_NMAX): Likewise.
9698 [POSIX || XPG3] (NL_SETMAX): Likewise.
9699 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9700 [XPG3] (NZERO): Likewise.
9701 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9702 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9703 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9704 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9705 (REG_ERANGE): Expect.
9706 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9707 optional-constant.
9708 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9709 Use (void) in prototype.
9710 [POSIX] (*_t): Allow.
9711 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9712 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9713 (WRDE_BADVAL): Expect.
9714
5ba924e3
JM
9715 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9716 expect.
9717 [XPG3 || XPG4] (O_RSYNC): Likewise.
9718 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9719 Likewise.
9720 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9721 [XPG3 || XPG4] (sigqueue): Likewise.
9722 [XPG3 || XPG4] (sigtimedwait): Likewise.
9723 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9724 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9725 [XPG3 || XPG4] (vsnprintf): Likewise.
9726 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9727 Likewise.
9728 [XPG3 || XPG4] (blksize_t): Likewise.
9729 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9730 Likewise.
9731 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9732 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9733 [XPG3 || XPG4] (struct itimerspec): Likewise.
9734 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9735 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9736 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9737 [XPG3 || XPG4] (clockid_t): Likewise.
9738 [XPG3 || XPG4] (timer_t): Likewise.
9739 [XPG3 || XPG4] (clock_getres): Likewise.
9740 [XPG3 || XPG4] (clock_gettime): Likewise.
9741 [XPG3 || XPG4] (clock_settime): Likewise.
9742 [XPG3 || XPG4] (nanosleep): Likewise.
9743 [XPG3 || XPG4] (timer_create): Likewise.
9744 [XPG3 || XPG4] (timer_delete): Likewise.
9745 [XPG3 || XPG4] (timer_gettime): Likewise.
9746 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9747 [XPG3 || XPG4] (timer_settime): Likewise.
9748 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9749 [XPG3 || XPG4] (getlogin_r): Likewise.
9750 [XPG3 || XPG4] (pread): Likewise.
9751 [XPG3 || XPG4] (pthread_atfork): Likewise.
9752 [XPG3 || XPG4] (pwrite): Likewise.
9753
ee663277
JM
9754 [BZ #14835]
9755 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9756 <bits/siginfo.h>.
9757
942caa16
PT
97582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9759
e19af380
PT
9760 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9761 finalizing MALLSTREAM.
9762
942caa16
PT
9763 * sysdeps/mach/hurd/syncfs.c: New file.
9764
cfde9b46
SP
97652012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9766
9767 [BZ #14719]
9768 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9769 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9770 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9771 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9772 (_nss_dns_gethostbyname4_r): Likewise.
9773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9774 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9775
f6da27e5
PH
97762012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9777
9778 [BZ #13763]
9779 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9780
6665d4a2
SM
97812012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9782
1f51ee92
SM
9783 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9784 * elf/cache.c (print_entry): Print ",AArch64" for
9785 FLAG_AARCH64_LIB64
9786
6665d4a2
SM
9787 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9788 * elf/cache.c (print_entry): Print ",hard-float" for
9789 FLAG_ARM_LIBHF.
9790
05b227bd
DM
97912012-11-18 David S. Miller <davem@davemloft.net>
9792
9793 With help from Joseph Myers.
9794 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9795 cutoff to 2**-13.
9796 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9797 cutoff to 2**-25.
9798 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9799 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9800 small.
9801 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9802 * math/libm-test.inc (y0_test): New tests.
9803 (y1_test): New tests.
9804 * sysdeps/i386/fpu/libm-test-ulps: Update.
9805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9807
786b0b67
AS
98082012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9809
9810 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9811 64-bit targets.
9812 * configure: Regenerated.
9813
8e18b86d
DM
98142012-11-17 David S. Miller <davem@davemloft.net>
9815
9816 [BZ #14811]
9817 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9818 nonzero exponents with absolute value below 0x1p-128 to +/-
9819 0x1p-128.
9820
531f1ae0
JM
98212012-11-17 Joseph Myers <joseph@codesourcery.com>
9822
12df29e2
JM
9823 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9824
150dc1a0
JM
9825 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9826
531f1ae0
JM
9827 * posix/getconf-speclist.c: New file.
9828 * posix/posix-envs.def: Likewise.
9829 * posix/confstr.c (START_ENV_GROUP): New macro.
9830 (END_ENV_GROUP): Likewise.
9831 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9832 (KNOWN_PRESENT_ENV_STRING): Likewise.
9833 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9834 (UNKNOWN_ENVIRONMENT): Likewise.
9835 (confstr): Include posix-envs.def instead of handling
9836 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9837 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9838 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9839 (END_ENV_GROUP): Likewise.
9840 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9841 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9842 (UNKNOWN_ENVIRONMENT): Likewise.
9843 (__sysconf): Include posix-envs.def instead of handling associated
9844 cases directly here.
9845 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9846 preprocessing getconf-speclist.c rather than running getconf or
9847 generating empty file.
9848
a93f9cbc
PT
98492012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9850
9851 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9852
d64d9f87
AL
98532012-11-16 Andrej Lajovic <natrij@gmail.com>
9854
9855 [BZ #14672]
9856 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9857
447885eb
DM
98582012-11-16 David S. Miller <davem@davemloft.net>
9859
9860 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9861 smaller than LDBL_EPSILON/2.0L, just return xm1.
9862
bcbf9830
L
98632012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9864
9865 * elf/tst-array1.c (init): Set constructor priority to 1000.
9866 (fini): Set destructor priority to 1000.
9867 * elf/tst-array2dep.c: Likewise.
9868
2b766585
SP
98692012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9870
9871 [BZ #11741]
9872 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9873 (_IO_new_file_xsputn): Also return EOF if none of the input
9874 data was written when overflow failed.
9875 * libio/iopadn.c (_IO_padn): Likewise.
9876 * libio/iowpadn.c (_IO_wpadn): Likewise.
9877 * stdio-common/tst-put-error.c: Add copyright notice.
9878 (do_test): Add case for printing padded string.
9879 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9880 _IO_padn returned error.
9881 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9882 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9883 return EOF.
9884
b1848fde
SP
98852012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9886
9887 * libio/libioP.h: Add comment note that the references to C++
9888 bits are now obsolete.
9889
2fd89785
MS
98902012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9891
9892 * math/libm-test.inc (check_complex): Use asprintf.
9893
e3ea5409
JM
98942012-11-14 Joseph Myers <joseph@codesourcery.com>
9895
9896 * debug/pcprofiledump.c (print_version): Update copyright year.
9897 * malloc/memusagestat.c (print_version): Likewise.
9898
2e64d265
L
98992012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9900
9901 [BZ #14831]
9902 * elf/Makefile (tests): Add tst-audit8.
9903 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9904 ($(objpfx)tst-audit8.out): New target.
9905 (tst-audit8-ENV): New variable.
9906 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9907 audit if l_reloc_result is NULL.
9908 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9909 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9910 * elf/tst-audit8.c: New file.
9911
c485e4d2
MS
99122012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9913
9914 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9915 * misc/Makefile (CFLAGS-select.c): Define.
9916 * posix/Makefile (CFLAGS-pause.c): Define.
9917
3a0d900a
DM
99182012-11-13 David S. Miller <davem@davemloft.net>
9919
9920 * crypt/Makefile: Move test targets after toplevel Rules
9921 inclusion. Grab any necessary sysdep routines when linking.
9922 * crypt/md5.c (md5_process_block): Remove define, we will always
9923 name it __md5_process_block.
9924 (md5_finish_ctx): Update md5_process_block call.
9925 (md5_stream): Likewise.
9926 (md5_process_bytes): Likewise.
9927 (md5_process_block): Rename to __md5_process_block and move to ...
9928 * crypt/md5-block.c: ... here.
9929 * crypt/sha256.c (sha256_process_block): Move to ...
9930 * crypt/sha256-block.c: ... here.
9931 * crypt/sha512.c (sha512_process_block): Move to ...
9932 * crypt/sha512-block.c: ... here.
9933 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9934 path.
9935 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9936 * sysdeps/sparc/sparc64/multiarch/Makefile
9937 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9938 crypt subdir.
9939 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9940 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9941 multiarch changes.
9942 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9943 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9944 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9945 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9946 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9947 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9948 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9949 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9950 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9951 file.
9952 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9953 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9954 file.
9955 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9956
8ca89318
JM
99572012-11-13 Joseph Myers <joseph@codesourcery.com>
9958
e27d476a
JM
9959 * timezone/tzselect.ksh: Update from tzcode git revision
9960 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9961 * timezone/zdump.c: Likewise.
9962 * timezone/zic.c: Likewise.
9963 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9964 in TZVERSION setting, not $(PKGVERSION).
9965 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9966 REPORT_BUGS_TO settings.
9967
8ca89318
JM
9968 [BZ #14838]
9969 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9970 macro.
9971
47594329
MS
99722012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9973
9974 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9975 detection to immediately after _FP_ROUND().
9976 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9977 bits are 0.
9978
640ac3f1
DM
99792012-11-11 David S. Miller <davem@davemloft.net>
9980
9981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9982 inttypes.h
9983 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9984 __close rather than their public counterparts.
9985
3d2577bb
JM
99862012-11-10 Joseph Myers <joseph@codesourcery.com>
9987
9988 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9989 file.
9990 [UNIX98] (sem_timedwait): Do not expect.
9991 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9992 [XPG4 || UNIX98] (sockatmark): Do not expect.
9993 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9994 (clock_getcpuclockid): Do not expect.
9995 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9996 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9997 Do not expect.
9998 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9999 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10000 [UNIX98] (vwscanf): Likewise.
10001 [UNIX98] (vswscanf): Likewise.
10002
fb1ae1ee
JM
100032012-11-09 Joseph Myers <joseph@codesourcery.com>
10004
9ec6f8bd
JM
10005 * timezone/version.h: Remove file.
10006 * timezone/README: Do not refer to version.h.
10007 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10008 $(objpfx)version.h.
10009 ($(objpfx)zdump.o): Likewise.
c3f81911 10010 ($(objpfx)version.h): New target.
9ec6f8bd 10011
0aa8f8a1
JM
10012 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10013 2012i.
10014 * timezone/README: Don't mention modification to tzselect.ksh.
10015 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10016 work on unmodified tzselect.ksh. Substitute version numbers in
10017 tzselect.ksh.
10018
4e87147f
JM
10019 * Makefile (format-me): Remove.
10020 (INSTALL): Adjust indentation. Use commands directly instead of
10021 using $(format-me).
10022
8b748aed
JM
10023 * aclocal.m4 (ACX_PKGVERSION): New macro.
10024 (ACX_BUGURL): Likewise.
10025 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10026 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10027 (REPORT_BUGS_TO): Likewise.
10028 * configure: Regenerated.
10029 * config.h.in (PKGVERSION): New macro.
10030 (REPORT_BUGS_TO): Likewise.
10031 * config.make.in (PKGVERSION): New variable.
10032 (PKGVERSION_TEXI): Likewise.
10033 (REPORT_BUGS_TO): Likewise.
10034 (REPORT_BUGS_TEXI): Likewise.
10035 * Makefile (format-me): Use -I$(common-objpfx)manual.
10036 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10037 ($(common-objpfx)manual/%): New target.
10038 (manual/%): Remove target.
10039 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10040 (print_version): Use PKGVERSION.
10041 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10042 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10043 and REPORT_BUGS_TO.
10044 ($(objpfx)xtrace): Likewise.
10045 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10046 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10047 (print_version): Use PKGVERSION.
10048 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10049 (do_version): Use PKGVERSION.
10050 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10051 REPORT_BUGS_TO.
10052 (common-ldd-rewrite): Likewise.
10053 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10054 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10055 (print_version): Use PKGVERSION.
10056 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10057 * elf/pldd.c (argp_program_bug_address): Remove variable.
10058 (more_help): New function.
10059 (argp): Use more_help.
10060 (print_version): Use PKGVERSION.
10061 * elf/sln.c (main): Use PKGVERSION.
10062 (usage): Use REPORT_BUGS_TO.
10063 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10064 (top level): Use PKGVERSION.
10065 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10066 (print_version): Use PKGVERSION.
10067 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10068 (print_version): Use PKGVERSION.
10069 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10070 (print_version): Use PKGVERSION.
10071 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10072 (print_version): Use PKGVERSION.
10073 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10074 (print_version): Use PKGVERSION.
10075 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10076 (print_version): Use PKGVERSION.
10077 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10078 and BUGURL.
10079 ($(objpfx)memusage): Likewise.
10080 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10081 (do_version): Use PKGVERSION.
10082 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10083 (print_version): Use PKGVERSION.
10084 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10085 ($PKGVERSION): New variable.
10086 ($REPORT_BUGS_TO): Likewise.
10087 (usage): Use $REPORT_BUGS_TO.
10088 (top level): Use $PKGVERSION.
10089 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10090 ($(objpfx)pkgvers.texi): New rule.
10091 ($(objpfx)stamp-pkgvers): Likewise.
10092 * manual/install.texi: Include pkgvers.texi.
10093 (--with-pkgversion): Document new configure option.
10094 (--with-bugurl): Likewise.
10095 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10096 than necessarily for this particular distribution. Use
10097 REPORT_BUGS_TO for where to report bugs.
10098 * INSTALL: Regenerated.
10099 * manual/libc.texinfo: Include pkgvers.texi.
10100 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10101 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10102 (print_version): Use PKGVERSION.
10103 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10104 (print_version): Use PKGVERSION.
10105 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10106 (print_version): Use PKGVERSION.
10107 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10108 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10109 macro.
10110 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10111 (print_version): Use PKGVERSION.
10112 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10113 (print_version): Use PKGVERSION.
10114 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10115 and PKGVERSION.
10116
92e4b6a9
JM
10117 * timezone/checktab.awk: Update from tzcode 2012i.
10118 * timezone/ialloc.c: Likewise.
10119 * timezone/private.h: Likewise.
10120 * timezone/scheck.c: Likewise.
10121 * timezone/tzfile.h: Likewise.
10122 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10123 (TZVERSION): Hardcode tzcode version number.
10124 * timezone/zdump.c: Update from tzcode 2012i.
10125 * timezone/zic.c: Likewise.
10126 * timezone/version.h: New file.
10127 * timezone/README: Describe version.h. Update upstream location.
10128
9bde902c
JM
10129 [BZ #14824]
10130 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10131 (mktemp): Enable declaration.
10132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10136 Likewise.
10137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10138 Likewise.
10139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10140 Likewise.
10141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10142 Likewise.
10143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10144 Likewise.
10145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10146 Likewise.
10147
fb1ae1ee
JM
10148 [BZ #14821]
10149 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10150 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10151 for copies of such integer values.
10152 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10153 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10154
2c1adbcb
AJ
101552012-11-09 Andreas Jaeger <aj@suse.de>
10156
10157 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10158 definitions and declarations that are provided by
10159 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10160
d0f8457e
AK
101612012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10162
3a235abb 10163 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10164 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10165 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10166 definition.
10167
57241e26
MS
101682012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10169
10170 * elf/elf.h: Update comment before AArch64 relocations.
10171
60e8270d
DM
101722012-11-07 David S. Miller <davem@davemloft.net>
10173
10174 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10175 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10176 (__start_context): Declare.
10177 (__makecontext_ret): Delete.
10178 (__makecontext): Hook up __start_context instead of
10179 __makecontext_ret.
10180 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10181 (sysdep_routines): Add __start_context when in stdlib.
10182
0fbb0fbc
JM
101832012-11-07 Joseph Myers <joseph@codesourcery.com>
10184
10185 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10186 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10187 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10188 hardcoded "nm".
10189 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10190 (READELF): New variable. Use it instead of hardcoded "readelf".
10191
eb48db7e
L
101922012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10193
10194 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10195 * sysdeps/x86/Makefile: Here.
10196 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10197 * sysdeps/x86/tst-xmmymm.sh: This.
10198
05bcf62a
JM
101992012-11-07 Joseph Myers <joseph@codesourcery.com>
10200
c4b6cf53
JM
10201 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10202 expectations.
10203 [UNIX98] (pthread_barrier_t): Do not expect.
10204 [UNIX98] (pthread_barrierattr_t): Likewise.
10205 [UNIX98] (pthread_spinlock_t): Likewise.
10206 [UNIX98] (pthread_barrier_destroy): Likewise.
10207 [UNIX98] (pthread_barrier_init): Likewise.
10208 [UNIX98] (pthread_barrier_wait): Likewise.
10209 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10210 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10211 [UNIX98] (pthread_barrierattr_init): Likewise.
10212 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10213 [UNIX98] (pthread_getcpuclockid): Likewise.
10214 [UNIX98] (pthread_mutex_timedlock): Likewise.
10215 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10216 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10217 [UNIX98] (pthread_sigmask): Likewise.
10218 [UNIX98] (pthread_spin_destroy): Likewise.
10219 [UNIX98] (pthread_spin_init): Likewise.
10220 [UNIX98] (pthread_spin_lock): Likewise.
10221 [UNIX98] (pthread_spin_trylock): Likewise.
10222 [UNIX98] (pthread_spin_unlock): Likewise.
10223 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10224 Do not expect.
10225 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10226 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10227 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10228 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10229 [XPG3 || XPG4] (pthread_key_t): Likewise.
10230 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10231 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10232 [XPG3 || XPG4] (pthread_once_t): Likewise.
10233 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10234 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10235 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10236 [XPG3 || XPG4] (pthread_t): Likewise.
10237
cbe6e120
JM
10238 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10239 not expect.
10240 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10241
1b126443
JM
10242 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10243 Change function return type to int.
10244
b961a573
JM
10245 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10246 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10247 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10248 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10249 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10250 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10251 [!POSIX] (posix_madvise): Likewise.
10252 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10253 && !UNIX98].
10254 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10255 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10256 (mode_t): Likewise.
10257 (posix_mem_offset): Likewise.
10258 (posix_typed_mem_get_info): Likewise.
10259 (posix_typed_mem_open): Likewise.
10260
9e188909
JM
10261 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10262 Change condition to [XOPEN2K8].
10263
05bcf62a
JM
10264 * conform/conformtest.pl: Preprocess allow-header data with -x c
10265 instead of from stdin.
10266 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10267 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10268 [C99-based standards] (cerfc): Likewise.
10269 [C99-based standards] (cexp2): Likewise.
10270 [C99-based standards] (cexpm1): Likewise.
10271 [C99-based standards] (clog10): Likewise.
10272 [C99-based standards] (clog1p): Likewise.
10273 [C99-based standards] (clog2): Likewise.
10274 [C99-based standards] (clgamma): Likewise.
10275 [C99-based standards] (ctgamma): Likewise.
10276 [C99-based standards] (cerff): Likewise.
10277 [C99-based standards] (cerfcf): Likewise.
10278 [C99-based standards] (cexp2f): Likewise.
10279 [C99-based standards] (cexpm1f): Likewise.
10280 [C99-based standards] (clog10f): Likewise.
10281 [C99-based standards] (clog1pf): Likewise.
10282 [C99-based standards] (clog2f): Likewise.
10283 [C99-based standards] (clgammaf): Likewise.
10284 [C99-based standards] (ctgammaf): Likewise.
10285 [C99-based standards] (cerfl): Likewise.
10286 [C99-based standards] (cerfcl): Likewise.
10287 [C99-based standards] (cexp2l): Likewise.
10288 [C99-based standards] (cexpm1l): Likewise.
10289 [C99-based standards] (clog10l): Likewise.
10290 [C99-based standards] (clog1pl): Likewise.
10291 [C99-based standards] (clog2l): Likewise.
10292 [C99-based standards] (clgammal): Likewise.
10293 [C99-based standards] (ctgammal): Likewise.
10294 * conform/data/inttypes.h-data [C99-based standards]: Include
10295 stdint.h-data. Remove all expectations for stdint.h contents.
10296 [C99-based standards] (PRI*): Do not allow.
10297 [C99-based standards] (SCN*): Likewise.
10298 [C99-based standards] (*_t): Likewise.
10299 [C99-based-standards] (PRId8): Expect macro.
10300 [C99-based-standards] (PRIi8): Likewise.
10301 [C99-based-standards] (PRIo8): Likewise.
10302 [C99-based-standards] (PRIu8): Likewise.
10303 [C99-based-standards] (PRIx8): Likewise.
10304 [C99-based-standards] (PRIX8): Likewise.
10305 [C99-based-standards] (SCNd8): Likewise.
10306 [C99-based-standards] (SCNi8): Likewise.
10307 [C99-based-standards] (SCNo8): Likewise.
10308 [C99-based-standards] (SCNu8): Likewise.
10309 [C99-based-standards] (SCNx8): Likewise.
10310 [C99-based-standards] (PRIdLEAST8): Likewise.
10311 [C99-based-standards] (PRIiLEAST8): Likewise.
10312 [C99-based-standards] (PRIoLEAST8): Likewise.
10313 [C99-based-standards] (PRIuLEAST8): Likewise.
10314 [C99-based-standards] (PRIxLEAST8): Likewise.
10315 [C99-based-standards] (PRIXLEAST8): Likewise.
10316 [C99-based-standards] (SCNdLEAST8): Likewise.
10317 [C99-based-standards] (SCNiLEAST8): Likewise.
10318 [C99-based-standards] (SCNoLEAST8): Likewise.
10319 [C99-based-standards] (SCNuLEAST8): Likewise.
10320 [C99-based-standards] (SCNxLEAST8): Likewise.
10321 [C99-based-standards] (PRIdFAST8): Likewise.
10322 [C99-based-standards] (PRIiFAST8): Likewise.
10323 [C99-based-standards] (PRIoFAST8): Likewise.
10324 [C99-based-standards] (PRIuFAST8): Likewise.
10325 [C99-based-standards] (PRIxFAST8): Likewise.
10326 [C99-based-standards] (PRIXFAST8): Likewise.
10327 [C99-based-standards] (SCNdFAST8): Likewise.
10328 [C99-based-standards] (SCNiFAST8): Likewise.
10329 [C99-based-standards] (SCNoFAST8): Likewise.
10330 [C99-based-standards] (SCNuFAST8): Likewise.
10331 [C99-based-standards] (SCNxFAST8): Likewise.
10332 [C99-based-standards] (PRId16): Likewise.
10333 [C99-based-standards] (PRIi16): Likewise.
10334 [C99-based-standards] (PRIo16): Likewise.
10335 [C99-based-standards] (PRIu16): Likewise.
10336 [C99-based-standards] (PRIx16): Likewise.
10337 [C99-based-standards] (PRIX16): Likewise.
10338 [C99-based-standards] (SCNd16): Likewise.
10339 [C99-based-standards] (SCNi16): Likewise.
10340 [C99-based-standards] (SCNo16): Likewise.
10341 [C99-based-standards] (SCNu16): Likewise.
10342 [C99-based-standards] (SCNx16): Likewise.
10343 [C99-based-standards] (PRIdLEAST16): Likewise.
10344 [C99-based-standards] (PRIiLEAST16): Likewise.
10345 [C99-based-standards] (PRIoLEAST16): Likewise.
10346 [C99-based-standards] (PRIuLEAST16): Likewise.
10347 [C99-based-standards] (PRIxLEAST16): Likewise.
10348 [C99-based-standards] (PRIXLEAST16): Likewise.
10349 [C99-based-standards] (SCNdLEAST16): Likewise.
10350 [C99-based-standards] (SCNiLEAST16): Likewise.
10351 [C99-based-standards] (SCNoLEAST16): Likewise.
10352 [C99-based-standards] (SCNuLEAST16): Likewise.
10353 [C99-based-standards] (SCNxLEAST16): Likewise.
10354 [C99-based-standards] (PRIdFAST16): Likewise.
10355 [C99-based-standards] (PRIiFAST16): Likewise.
10356 [C99-based-standards] (PRIoFAST16): Likewise.
10357 [C99-based-standards] (PRIuFAST16): Likewise.
10358 [C99-based-standards] (PRIxFAST16): Likewise.
10359 [C99-based-standards] (PRIXFAST16): Likewise.
10360 [C99-based-standards] (SCNdFAST16): Likewise.
10361 [C99-based-standards] (SCNiFAST16): Likewise.
10362 [C99-based-standards] (SCNoFAST16): Likewise.
10363 [C99-based-standards] (SCNuFAST16): Likewise.
10364 [C99-based-standards] (SCNxFAST16): Likewise.
10365 [C99-based-standards] (PRId32): Likewise.
10366 [C99-based-standards] (PRIi32): Likewise.
10367 [C99-based-standards] (PRIo32): Likewise.
10368 [C99-based-standards] (PRIu32): Likewise.
10369 [C99-based-standards] (PRIx32): Likewise.
10370 [C99-based-standards] (PRIX32): Likewise.
10371 [C99-based-standards] (SCNd32): Likewise.
10372 [C99-based-standards] (SCNi32): Likewise.
10373 [C99-based-standards] (SCNo32): Likewise.
10374 [C99-based-standards] (SCNu32): Likewise.
10375 [C99-based-standards] (SCNx32): Likewise.
10376 [C99-based-standards] (PRIdLEAST32): Likewise.
10377 [C99-based-standards] (PRIiLEAST32): Likewise.
10378 [C99-based-standards] (PRIoLEAST32): Likewise.
10379 [C99-based-standards] (PRIuLEAST32): Likewise.
10380 [C99-based-standards] (PRIxLEAST32): Likewise.
10381 [C99-based-standards] (PRIXLEAST32): Likewise.
10382 [C99-based-standards] (SCNdLEAST32): Likewise.
10383 [C99-based-standards] (SCNiLEAST32): Likewise.
10384 [C99-based-standards] (SCNoLEAST32): Likewise.
10385 [C99-based-standards] (SCNuLEAST32): Likewise.
10386 [C99-based-standards] (SCNxLEAST32): Likewise.
10387 [C99-based-standards] (PRIdFAST32): Likewise.
10388 [C99-based-standards] (PRIiFAST32): Likewise.
10389 [C99-based-standards] (PRIoFAST32): Likewise.
10390 [C99-based-standards] (PRIuFAST32): Likewise.
10391 [C99-based-standards] (PRIxFAST32): Likewise.
10392 [C99-based-standards] (PRIXFAST32): Likewise.
10393 [C99-based-standards] (SCNdFAST32): Likewise.
10394 [C99-based-standards] (SCNiFAST32): Likewise.
10395 [C99-based-standards] (SCNoFAST32): Likewise.
10396 [C99-based-standards] (SCNuFAST32): Likewise.
10397 [C99-based-standards] (SCNxFAST32): Likewise.
10398 [C99-based-standards] (PRId64): Likewise.
10399 [C99-based-standards] (PRIi64): Likewise.
10400 [C99-based-standards] (PRIo64): Likewise.
10401 [C99-based-standards] (PRIu64): Likewise.
10402 [C99-based-standards] (PRIx64): Likewise.
10403 [C99-based-standards] (PRIX64): Likewise.
10404 [C99-based-standards] (SCNd64): Likewise.
10405 [C99-based-standards] (SCNi64): Likewise.
10406 [C99-based-standards] (SCNo64): Likewise.
10407 [C99-based-standards] (SCNu64): Likewise.
10408 [C99-based-standards] (SCNx64): Likewise.
10409 [C99-based-standards] (PRIdLEAST64): Likewise.
10410 [C99-based-standards] (PRIiLEAST64): Likewise.
10411 [C99-based-standards] (PRIoLEAST64): Likewise.
10412 [C99-based-standards] (PRIuLEAST64): Likewise.
10413 [C99-based-standards] (PRIxLEAST64): Likewise.
10414 [C99-based-standards] (PRIXLEAST64): Likewise.
10415 [C99-based-standards] (SCNdLEAST64): Likewise.
10416 [C99-based-standards] (SCNiLEAST64): Likewise.
10417 [C99-based-standards] (SCNoLEAST64): Likewise.
10418 [C99-based-standards] (SCNuLEAST64): Likewise.
10419 [C99-based-standards] (SCNxLEAST64): Likewise.
10420 [C99-based-standards] (PRIdFAST64): Likewise.
10421 [C99-based-standards] (PRIiFAST64): Likewise.
10422 [C99-based-standards] (PRIoFAST64): Likewise.
10423 [C99-based-standards] (PRIuFAST64): Likewise.
10424 [C99-based-standards] (PRIxFAST64): Likewise.
10425 [C99-based-standards] (PRIXFAST64): Likewise.
10426 [C99-based-standards] (SCNdFAST64): Likewise.
10427 [C99-based-standards] (SCNiFAST64): Likewise.
10428 [C99-based-standards] (SCNoFAST64): Likewise.
10429 [C99-based-standards] (SCNuFAST64): Likewise.
10430 [C99-based-standards] (SCNxFAST64): Likewise.
10431 [C99-based-standards] (PRIdMAX): Likewise.
10432 [C99-based-standards] (PRIiMAX): Likewise.
10433 [C99-based-standards] (PRIoMAX): Likewise.
10434 [C99-based-standards] (PRIuMAX): Likewise.
10435 [C99-based-standards] (PRIxMAX): Likewise.
10436 [C99-based-standards] (PRIXMAX): Likewise.
10437 [C99-based-standards] (SCNdMAX): Likewise.
10438 [C99-based-standards] (SCNiMAX): Likewise.
10439 [C99-based-standards] (SCNoMAX): Likewise.
10440 [C99-based-standards] (SCNuMAX): Likewise.
10441 [C99-based-standards] (SCNxMAX): Likewise.
10442 [C99-based-standards] (PRIdPTR): Likewise.
10443 [C99-based-standards] (PRIiPTR): Likewise.
10444 [C99-based-standards] (PRIoPTR): Likewise.
10445 [C99-based-standards] (PRIuPTR): Likewise.
10446 [C99-based-standards] (PRIxPTR): Likewise.
10447 [C99-based-standards] (PRIXPTR): Likewise.
10448 [C99-based-standards] (SCNdPTR): Likewise.
10449 [C99-based-standards] (SCNiPTR): Likewise.
10450 [C99-based-standards] (SCNoPTR): Likewise.
10451 [C99-based-standards] (SCNuPTR): Likewise.
10452 [C99-based-standards] (SCNxPTR): Likewise.
10453 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10454 allow.
10455 * conform/data/stdint.h-data: Update comments to clarify
10456 requirements.
10457 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10458 type.
10459 [C99-based standards] (INT8_MAX): Likewise.
10460 [C99-based standards] (INT16_MIN): Likewise.
10461 [C99-based standards] (INT16_MAX): Likewise.
10462 [C99-based standards] (INT32_MIN): Likewise.
10463 [C99-based standards] (INT32_MAX): Likewise.
10464 [C99-based standards] (INT64_MIN): Likewise.
10465 [C99-based standards] (INT64_MAX): Likewise.
10466 [C99-based standards] (UINT8_MAX): Likewise.
10467 [C99-based standards] (UINT16_MAX): Likewise.
10468 [C99-based standards] (UINT32_MAX): Likewise.
10469 [C99-based standards] (UINT64_MAX): Likewise.
10470 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10471 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10472 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10473 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10474 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10475 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10476 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10477 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10478 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10479 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10480 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10481 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10482 [C99-based standards] (INT_FAST8_MIN): Likewise.
10483 [C99-based standards] (INT_FAST8_MAX): Likewise.
10484 [C99-based standards] (INT_FAST16_MIN): Likewise.
10485 [C99-based standards] (INT_FAST16_MAX): Likewise.
10486 [C99-based standards] (INT_FAST32_MIN): Likewise.
10487 [C99-based standards] (INT_FAST32_MAX): Likewise.
10488 [C99-based standards] (INT_FAST64_MIN): Likewise.
10489 [C99-based standards] (INT_FAST64_MAX): Likewise.
10490 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10491 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10492 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10493 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10494 [C99-based standards] (INTPTR_MIN): Likewise.
10495 [C99-based standards] (INTPTR_MAX): Likewise.
10496 [C99-based standards] (UINTPTR_MAX): Likewise.
10497 [C99-based standards] (INTMAX_MIN): Likewise.
10498 [C99-based standards] (INTMAX_MAX): Likewise.
10499 [C99-based standards] (UINTMAX_MAX): Likewise.
10500 [C99-based standards] (PTRDIFF_MIN): Likewise.
10501 [C99-based standards] (PTRDIFF_MAX): Likewise.
10502 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10503 [C99-based standards] (SIZE_MAX): Likewise.
10504 [C99-based standards] (WCHAR_MAX): Likewise.
10505 [C99-based standards] (WINT_MAX): Likewise.
10506 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10507 constraint on value.
10508 [C99-based standards] (WCHAR_MIN): Likewise.
10509 [C99-based standards] (WINT_MIN): Likewise.
10510 [C99-based standards] (*_t): Allow.
10511 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10512 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10513 Include math.h-data and complex.h-data. Remove all expectations
10514 of math.h and complex.h contents.
10515 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10516 at end of line.
10517 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10518 (struct tm): Expect tag.
10519 [C99-based-standards] (wcstof): Expect function.
10520 [C99-based-standards] (wcstold): Likewise.
10521 [C99-based-standards] (wcstoll): Likewise.
10522 [C99-based-standards] (wcstoull): Likewise.
10523 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10524 macro-int-constant. Specify type.
10525 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10526 constraint on value.
10527 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10528 Specify type.
10529 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10530 Specify value.
10531 [ISO C standards]: Do not allow headers.
10532 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10533 wcs[abcdefghijklmnopqrstuvwxyz]*.
10534 [ISO C standards] (*_t): Do not allow.
10535 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10536 Expect function.
10537 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10538 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10539 Specify type.
10540 [ISO C standards]: Do not allow headers.
10541 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10542 is[abcdefghijklmnopqrstuvwxyz]*.
10543 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10544 to[abcdefghijklmnopqrstuvwxyz]*.
10545 [ISO C standards] (*_t): Do not allow.
10546 * conform/data/stdalign.h-data: New file.
10547 * conform/data/stdbool.h-data: Likewise.
10548 * conform/data/stdnoreturn.h-data: Likewise.
10549
7514feb8
RM
105502012-11-07 Roland McGrath <roland@hack.frob.com>
10551
10552 [BZ #14815]
10553 * manual/filesys.texi (Directory Entries): Typo fix.
10554 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10555
19b2ecfc
MS
105562012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10557
10558 * elf/elf.h (EM_AARCH64): New macro.
10559 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10560 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10561 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10562 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10563 (R_AARCH64_TLSDESC): Likewise.
10564 (NT_ARM_TLS): Likewise.
10565 (NT_ARM_HW_BREAK): Likewise.
10566 (NT_ARM_HW_WATCH): Likewise.
10567
60e235ee
JM
105682012-11-07 Joseph Myers <joseph@codesourcery.com>
10569
10570 [BZ #14811]
10571 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10572 (__ieee754_powl): Saturate nonzero exponents with absolute value
10573 below 0x1p-79 to +/- 0x1p-79.
10574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10575 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10576 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10577 nonzero exponents with absolute value below 0x1p-32 to +/-
10578 0x1p-32.
10579 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10580 (__ieee754_powl): Saturate nonzero exponents with absolute value
10581 below 0x1p-79 to +/- 0x1p-79.
10582 * math/libm-test.inc (pow_test): Add more tests.
10583
0ab234b7
AK
105842012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10585
10586 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10587 _dl_s390_cap_flags with kernel. Increase string length.
10588 (_dl_s390_platforms): Add z196 and zEC12.
10589
45832f74
JM
105902012-11-07 Joseph Myers <joseph@codesourcery.com>
10591
10592 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10593 Change XOPEN21K to XOPEN2K.
10594
19218757
MK
105952012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10596
10597 * string/memmove.c: Use memcpy when possible.
10598
c5f45721
AJ
105992012-11-06 Andreas Jaeger <aj@suse.de>
10600
10601 * po/eo.po: Update from translation team.
10602
82477c28
JM
106032012-11-06 Joseph Myers <joseph@codesourcery.com>
10604
10605 [BZ #14793]
10606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10607 exponent and small x and y exponents, scale x or y up. Increase
10608 by 2 the exponent used in scaling up.
10609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10611 * math/libm-test.inc (fma_test): Add more tests.
10612 (fma_test_towardzero): Likewise.
10613 (fma_test_downward): Likewise.
10614 (fma_test_upward): Likewise.
10615
99252c8c
JM
106162012-11-05 Joseph Myers <joseph@codesourcery.com>
10617
acfa885f
JM
10618 [BZ #14805]
10619 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10620 fenv_t *.
10621
99252c8c
JM
10622 [BZ #14801]
10623 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10624 namespace for names of struct fields.
10625 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10626 fenv_t fields.
10627 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10628 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10629
d6d98dea
ST
106302012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10631
10632 [BZ #3665]
10633 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10634
e10bb107
TS
106352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10636
10637 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10638 PTR_DEMANGLE.
10639
10640 [BZ #5246]
10641 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10642 PTR_DEMANGLE.
10643
a0c2940d
JM
106442012-11-04 Joseph Myers <joseph@codesourcery.com>
10645
10646 [BZ #14797]
10647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10648 definitely overflow as x * y not x * y + z.
10649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10651 * math/libm-test.inc (fma_test): Add more tests.
10652 (fma_test_towardzero): Likewise.
10653 (fma_test_downward): Likewise.
10654 (fma_test_upward): Likewise.
10655
b830319d
TS
106562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10657
10658 [BZ #157]
10659
10660 * include/stub-tag.h: Remove file.
10661 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10662 '#include' of it.
10663 * manual/maint.texi (Porting): Don't reference it.
10664 * Makerules ($(objpfx)stubs): Likewise.
10665 * dirent/closedir.c: Don't include <stub-tag.h>.
10666 * dirent/dirfd.c: Likewise.
10667 * dirent/fdopendir.c: Likewise.
10668 * dirent/getdents.c: Likewise.
10669 * dirent/getdents64.c: Likewise.
10670 * dirent/opendir.c: Likewise.
10671 * dirent/readdir.c: Likewise.
10672 * dirent/readdir64.c: Likewise.
10673 * dirent/readdir64_r.c: Likewise.
10674 * dirent/readdir_r.c: Likewise.
10675 * dirent/rewinddir.c: Likewise.
10676 * dirent/seekdir.c: Likewise.
10677 * dirent/telldir.c: Likewise.
10678 * gmon/profil.c: Likewise.
10679 * grp/setgroups.c: Likewise.
10680 * inet/if_index.c: Likewise.
10681 * io/access.c: Likewise.
10682 * io/chdir.c: Likewise.
10683 * io/chmod.c: Likewise.
10684 * io/chown.c: Likewise.
10685 * io/close.c: Likewise.
10686 * io/dup.c: Likewise.
10687 * io/dup2.c: Likewise.
10688 * io/dup3.c: Likewise.
10689 * io/euidaccess.c: Likewise.
10690 * io/faccessat.c: Likewise.
10691 * io/fchdir.c: Likewise.
10692 * io/fchmod.c: Likewise.
10693 * io/fchmodat.c: Likewise.
10694 * io/fchown.c: Likewise.
10695 * io/fchownat.c: Likewise.
10696 * io/fcntl.c: Likewise.
10697 * io/flock.c: Likewise.
10698 * io/fstatfs.c: Likewise.
10699 * io/fstatfs64.c: Likewise.
10700 * io/fstatvfs.c: Likewise.
10701 * io/fstatvfs64.c: Likewise.
10702 * io/futimens.c: Likewise.
10703 * io/fxstat.c: Likewise.
10704 * io/fxstat64.c: Likewise.
10705 * io/fxstatat.c: Likewise.
10706 * io/fxstatat64.c: Likewise.
10707 * io/getcwd.c: Likewise.
10708 * io/isatty.c: Likewise.
10709 * io/lchmod.c: Likewise.
10710 * io/lchown.c: Likewise.
10711 * io/link.c: Likewise.
10712 * io/linkat.c: Likewise.
10713 * io/lseek.c: Likewise.
10714 * io/lseek64.c: Likewise.
10715 * io/lxstat64.c: Likewise.
10716 * io/mkdir.c: Likewise.
10717 * io/mkdirat.c: Likewise.
10718 * io/mkfifo.c: Likewise.
10719 * io/mkfifoat.c: Likewise.
10720 * io/open.c: Likewise.
10721 * io/open64.c: Likewise.
10722 * io/openat.c: Likewise.
10723 * io/openat64.c: Likewise.
10724 * io/pipe.c: Likewise.
10725 * io/pipe2.c: Likewise.
10726 * io/poll.c: Likewise.
10727 * io/posix_fadvise.c: Likewise.
10728 * io/posix_fadvise64.c: Likewise.
10729 * io/posix_fallocate.c: Likewise.
10730 * io/posix_fallocate64.c: Likewise.
10731 * io/read.c: Likewise.
10732 * io/readlink.c: Likewise.
10733 * io/readlinkat.c: Likewise.
10734 * io/rmdir.c: Likewise.
10735 * io/sendfile.c: Likewise.
10736 * io/sendfile64.c: Likewise.
10737 * io/statfs.c: Likewise.
10738 * io/statfs64.c: Likewise.
10739 * io/statvfs.c: Likewise.
10740 * io/statvfs64.c: Likewise.
10741 * io/symlink.c: Likewise.
10742 * io/symlinkat.c: Likewise.
10743 * io/ttyname.c: Likewise.
10744 * io/ttyname_r.c: Likewise.
10745 * io/umask.c: Likewise.
10746 * io/unlink.c: Likewise.
10747 * io/unlinkat.c: Likewise.
10748 * io/utime.c: Likewise.
10749 * io/utimensat.c: Likewise.
10750 * io/write.c: Likewise.
10751 * io/xmknod.c: Likewise.
10752 * io/xmknodat.c: Likewise.
10753 * io/xstat.c: Likewise.
10754 * io/xstat64.c: Likewise.
10755 * login/getpt.c: Likewise.
10756 * login/grantpt.c: Likewise.
10757 * login/unlockpt.c: Likewise.
10758 * math/e_acoshl.c: Likewise.
10759 * math/e_acosl.c: Likewise.
10760 * math/e_asinl.c: Likewise.
10761 * math/e_atan2l.c: Likewise.
10762 * math/e_atanhl.c: Likewise.
10763 * math/e_coshl.c: Likewise.
10764 * math/e_expl.c: Likewise.
10765 * math/e_fmodl.c: Likewise.
10766 * math/e_gammal_r.c: Likewise.
10767 * math/e_hypotl.c: Likewise.
10768 * math/e_j0l.c: Likewise.
10769 * math/e_j1l.c: Likewise.
10770 * math/e_jnl.c: Likewise.
10771 * math/e_lgammal_r.c: Likewise.
10772 * math/e_log10l.c: Likewise.
10773 * math/e_log2l.c: Likewise.
10774 * math/e_logl.c: Likewise.
10775 * math/e_powl.c: Likewise.
10776 * math/e_rem_pio2l.c: Likewise.
10777 * math/e_sinhl.c: Likewise.
10778 * math/e_sqrtl.c: Likewise.
10779 * math/fclrexcpt.c: Likewise.
10780 * math/fedisblxcpt.c: Likewise.
10781 * math/feenablxcpt.c: Likewise.
10782 * math/fegetenv.c: Likewise.
10783 * math/fegetexcept.c: Likewise.
10784 * math/fegetround.c: Likewise.
10785 * math/feholdexcpt.c: Likewise.
10786 * math/fesetenv.c: Likewise.
10787 * math/fesetround.c: Likewise.
10788 * math/feupdateenv.c: Likewise.
10789 * math/fgetexcptflg.c: Likewise.
10790 * math/fraiseexcpt.c: Likewise.
10791 * math/fsetexcptflg.c: Likewise.
10792 * math/ftestexcept.c: Likewise.
10793 * math/k_cosl.c: Likewise.
10794 * math/k_rem_pio2l.c: Likewise.
10795 * math/k_sinl.c: Likewise.
10796 * math/k_tanl.c: Likewise.
10797 * math/s_asinhl.c: Likewise.
10798 * math/s_atanl.c: Likewise.
10799 * math/s_cbrtl.c: Likewise.
10800 * math/s_erfl.c: Likewise.
10801 * math/s_expm1l.c: Likewise.
10802 * math/s_log1pl.c: Likewise.
10803 * math/s_tanhl.c: Likewise.
10804 * misc/acct.c: Likewise.
10805 * misc/brk.c: Likewise.
10806 * misc/chflags.c: Likewise.
10807 * misc/chroot.c: Likewise.
10808 * misc/fchflags.c: Likewise.
10809 * misc/fgetxattr.c: Likewise.
10810 * misc/flistxattr.c: Likewise.
10811 * misc/fremovexattr.c: Likewise.
10812 * misc/fsetxattr.c: Likewise.
10813 * misc/fsync.c: Likewise.
10814 * misc/ftruncate.c: Likewise.
10815 * misc/futimes.c: Likewise.
10816 * misc/futimesat.c: Likewise.
10817 * misc/getdomain.c: Likewise.
10818 * misc/getdtsz.c: Likewise.
10819 * misc/gethostid.c: Likewise.
10820 * misc/gethostname.c: Likewise.
10821 * misc/getloadavg.c: Likewise.
10822 * misc/getpagesize.c: Likewise.
10823 * misc/getsysstats.c: Likewise.
10824 * misc/getxattr.c: Likewise.
10825 * misc/gtty.c: Likewise.
10826 * misc/ioctl.c: Likewise.
10827 * misc/lgetxattr.c: Likewise.
10828 * misc/listxattr.c: Likewise.
10829 * misc/llistxattr.c: Likewise.
10830 * misc/lremovexattr.c: Likewise.
10831 * misc/lsetxattr.c: Likewise.
10832 * misc/lutimes.c: Likewise.
10833 * misc/madvise.c: Likewise.
10834 * misc/mincore.c: Likewise.
10835 * misc/mlock.c: Likewise.
10836 * misc/mlockall.c: Likewise.
10837 * misc/mmap.c: Likewise.
10838 * misc/mprotect.c: Likewise.
10839 * misc/msync.c: Likewise.
10840 * misc/munlock.c: Likewise.
10841 * misc/munlockall.c: Likewise.
10842 * misc/munmap.c: Likewise.
10843 * misc/preadv.c: Likewise.
10844 * misc/preadv64.c: Likewise.
10845 * misc/ptrace.c: Likewise.
10846 * misc/pwritev.c: Likewise.
10847 * misc/pwritev64.c: Likewise.
10848 * misc/readv.c: Likewise.
10849 * misc/reboot.c: Likewise.
10850 * misc/remap_file_pages.c: Likewise.
10851 * misc/removexattr.c: Likewise.
10852 * misc/revoke.c: Likewise.
10853 * misc/select.c: Likewise.
10854 * misc/setdomain.c: Likewise.
10855 * misc/setegid.c: Likewise.
10856 * misc/seteuid.c: Likewise.
10857 * misc/sethostid.c: Likewise.
10858 * misc/sethostname.c: Likewise.
10859 * misc/setregid.c: Likewise.
10860 * misc/setreuid.c: Likewise.
10861 * misc/setxattr.c: Likewise.
10862 * misc/sstk.c: Likewise.
10863 * misc/stty.c: Likewise.
10864 * misc/swapoff.c: Likewise.
10865 * misc/swapon.c: Likewise.
10866 * misc/sync.c: Likewise.
10867 * misc/syncfs.c: Likewise.
10868 * misc/syscall.c: Likewise.
10869 * misc/truncate.c: Likewise.
10870 * misc/ualarm.c: Likewise.
10871 * misc/usleep.c: Likewise.
10872 * misc/ustat.c: Likewise.
10873 * misc/utimes.c: Likewise.
10874 * misc/vhangup.c: Likewise.
10875 * misc/writev.c: Likewise.
10876 * posix/_exit.c: Likewise.
10877 * posix/alarm.c: Likewise.
10878 * posix/execve.c: Likewise.
10879 * posix/fexecve.c: Likewise.
10880 * posix/fork.c: Likewise.
10881 * posix/fpathconf.c: Likewise.
10882 * posix/getaddrinfo.c: Likewise.
10883 * posix/getegid.c: Likewise.
10884 * posix/geteuid.c: Likewise.
10885 * posix/getgid.c: Likewise.
10886 * posix/getgroups.c: Likewise.
10887 * posix/getlogin.c: Likewise.
10888 * posix/getlogin_r.c: Likewise.
10889 * posix/getpgid.c: Likewise.
10890 * posix/getpid.c: Likewise.
10891 * posix/getppid.c: Likewise.
10892 * posix/getresgid.c: Likewise.
10893 * posix/getresuid.c: Likewise.
10894 * posix/getsid.c: Likewise.
10895 * posix/getuid.c: Likewise.
10896 * posix/glob64.c: Likewise.
10897 * posix/nanosleep.c: Likewise.
10898 * posix/pathconf.c: Likewise.
10899 * posix/pause.c: Likewise.
10900 * posix/posix_madvise.c: Likewise.
10901 * posix/pread.c: Likewise.
10902 * posix/pread64.c: Likewise.
10903 * posix/pwrite.c: Likewise.
10904 * posix/pwrite64.c: Likewise.
10905 * posix/sched_getaffinity.c: Likewise.
10906 * posix/sched_getp.c: Likewise.
10907 * posix/sched_gets.c: Likewise.
10908 * posix/sched_primax.c: Likewise.
10909 * posix/sched_primin.c: Likewise.
10910 * posix/sched_rr_gi.c: Likewise.
10911 * posix/sched_setaffinity.c: Likewise.
10912 * posix/sched_setp.c: Likewise.
10913 * posix/sched_sets.c: Likewise.
10914 * posix/sched_yield.c: Likewise.
10915 * posix/setgid.c: Likewise.
10916 * posix/setlogin.c: Likewise.
10917 * posix/setpgid.c: Likewise.
10918 * posix/setresgid.c: Likewise.
10919 * posix/setresuid.c: Likewise.
10920 * posix/setsid.c: Likewise.
10921 * posix/setuid.c: Likewise.
10922 * posix/sleep.c: Likewise.
10923 * posix/spawni.c: Likewise.
10924 * posix/sysconf.c: Likewise.
10925 * posix/times.c: Likewise.
10926 * posix/wait.c: Likewise.
10927 * posix/wait3.c: Likewise.
10928 * posix/wait4.c: Likewise.
10929 * posix/waitpid.c: Likewise.
10930 * resolv/gai_sigqueue.c: Likewise.
10931 * resource/getpriority.c: Likewise.
10932 * resource/getrlimit.c: Likewise.
10933 * resource/getrusage.c: Likewise.
10934 * resource/nice.c: Likewise.
10935 * resource/setpriority.c: Likewise.
10936 * resource/setrlimit.c: Likewise.
10937 * resource/ulimit.c: Likewise.
10938 * rt/aio_cancel.c: Likewise.
10939 * rt/aio_fsync.c: Likewise.
10940 * rt/aio_read.c: Likewise.
10941 * rt/aio_sigqueue.c: Likewise.
10942 * rt/aio_suspend.c: Likewise.
10943 * rt/aio_write.c: Likewise.
10944 * rt/clock_getres.c: Likewise.
10945 * rt/clock_gettime.c: Likewise.
10946 * rt/clock_nanosleep.c: Likewise.
10947 * rt/clock_settime.c: Likewise.
10948 * rt/lio_listio.c: Likewise.
10949 * rt/mq_close.c: Likewise.
10950 * rt/mq_getattr.c: Likewise.
10951 * rt/mq_notify.c: Likewise.
10952 * rt/mq_open.c: Likewise.
10953 * rt/mq_receive.c: Likewise.
10954 * rt/mq_send.c: Likewise.
10955 * rt/mq_setattr.c: Likewise.
10956 * rt/mq_timedreceive.c: Likewise.
10957 * rt/mq_timedsend.c: Likewise.
10958 * rt/mq_unlink.c: Likewise.
10959 * rt/shm_open.c: Likewise.
10960 * rt/shm_unlink.c: Likewise.
10961 * rt/timer_create.c: Likewise.
10962 * rt/timer_delete.c: Likewise.
10963 * rt/timer_getoverr.c: Likewise.
10964 * rt/timer_gettime.c: Likewise.
10965 * rt/timer_settime.c: Likewise.
10966 * setjmp/__longjmp.c: Likewise.
10967 * setjmp/setjmp.c: Likewise.
10968 * signal/kill.c: Likewise.
10969 * signal/killpg.c: Likewise.
10970 * signal/raise.c: Likewise.
10971 * signal/sigaction.c: Likewise.
10972 * signal/sigaltstack.c: Likewise.
10973 * signal/sigblock.c: Likewise.
10974 * signal/sigignore.c: Likewise.
10975 * signal/sigintr.c: Likewise.
10976 * signal/signal.c: Likewise.
10977 * signal/sigpause.c: Likewise.
10978 * signal/sigpending.c: Likewise.
10979 * signal/sigqueue.c: Likewise.
10980 * signal/sigreturn.c: Likewise.
10981 * signal/sigset.c: Likewise.
10982 * signal/sigsetmask.c: Likewise.
10983 * signal/sigstack.c: Likewise.
10984 * signal/sigsuspend.c: Likewise.
10985 * signal/sigtimedwait.c: Likewise.
10986 * signal/sigvec.c: Likewise.
10987 * signal/sigwait.c: Likewise.
10988 * signal/sigwaitinfo.c: Likewise.
10989 * signal/sysv_signal.c: Likewise.
10990 * socket/accept.c: Likewise.
10991 * socket/accept4.c: Likewise.
10992 * socket/bind.c: Likewise.
10993 * socket/connect.c: Likewise.
10994 * socket/getpeername.c: Likewise.
10995 * socket/getsockname.c: Likewise.
10996 * socket/getsockopt.c: Likewise.
10997 * socket/isfdtype.c: Likewise.
10998 * socket/listen.c: Likewise.
10999 * socket/recv.c: Likewise.
11000 * socket/recvfrom.c: Likewise.
11001 * socket/recvmsg.c: Likewise.
11002 * socket/send.c: Likewise.
11003 * socket/sendmsg.c: Likewise.
11004 * socket/sendto.c: Likewise.
11005 * socket/setsockopt.c: Likewise.
11006 * socket/shutdown.c: Likewise.
11007 * socket/sockatmark.c: Likewise.
11008 * socket/socket.c: Likewise.
11009 * socket/socketpair.c: Likewise.
11010 * stdio-common/ctermid.c: Likewise.
11011 * stdio-common/cuserid.c: Likewise.
11012 * stdio-common/remove.c: Likewise.
11013 * stdio-common/rename.c: Likewise.
11014 * stdio-common/renameat.c: Likewise.
11015 * stdio-common/tempname.c: Likewise.
11016 * stdlib/getcontext.c: Likewise.
11017 * stdlib/makecontext.c: Likewise.
11018 * stdlib/setcontext.c: Likewise.
11019 * stdlib/swapcontext.c: Likewise.
11020 * stdlib/system.c: Likewise.
11021 * streams/fattach.c: Likewise.
11022 * streams/fdetach.c: Likewise.
11023 * streams/getmsg.c: Likewise.
11024 * streams/getpmsg.c: Likewise.
11025 * streams/putmsg.c: Likewise.
11026 * streams/putpmsg.c: Likewise.
11027 * sysdeps/unix/bsd/getpt.c: Likewise.
11028 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11029 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11030 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11032 Likewise.
11033 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11034 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11035 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11036 * sysvipc/msgctl.c: Likewise.
11037 * sysvipc/msgget.c: Likewise.
11038 * sysvipc/msgrcv.c: Likewise.
11039 * sysvipc/msgsnd.c: Likewise.
11040 * sysvipc/semctl.c: Likewise.
11041 * sysvipc/semget.c: Likewise.
11042 * sysvipc/semop.c: Likewise.
11043 * sysvipc/semtimedop.c: Likewise.
11044 * sysvipc/shmat.c: Likewise.
11045 * sysvipc/shmctl.c: Likewise.
11046 * sysvipc/shmdt.c: Likewise.
11047 * sysvipc/shmget.c: Likewise.
11048 * termios/tcdrain.c: Likewise.
11049 * termios/tcflow.c: Likewise.
11050 * termios/tcflush.c: Likewise.
11051 * termios/tcgetattr.c: Likewise.
11052 * termios/tcgetpgrp.c: Likewise.
11053 * termios/tcsendbrk.c: Likewise.
11054 * termios/tcsetattr.c: Likewise.
11055 * termios/tcsetpgrp.c: Likewise.
11056 * time/adjtime.c: Likewise.
11057 * time/clock.c: Likewise.
11058 * time/getitimer.c: Likewise.
11059 * time/gettimeofday.c: Likewise.
11060 * time/setitimer.c: Likewise.
11061 * time/settimeofday.c: Likewise.
11062 * time/stime.c: Likewise.
11063 * time/time.c: Likewise.
11064
110652012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11066
a20492cf
PT
11067 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11068 /usr/old/bin.
11069
72e182e3
PT
11070 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11071 instead of spaces.
11072 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11073
fbeafede
JM
110742012-11-03 Joseph Myers <joseph@codesourcery.com>
11075
5b5b04d6
JM
11076 [BZ #14796]
11077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11078 FE_TONEAREST before applying Dekker multiplication and Knuth
11079 addition. Clear inexact exceptions and check for exact zero
11080 results afterwards.
11081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11084 * math/libm-test.inc (fma_test): Add more tests.
11085 (fma_test_towardzero): Likewise.
11086 (fma_test_downward): Likewise.
11087 (fma_test_upward): Likewise.
11088 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11089 function.
11090 (libc_fesetround): New macro.
11091 (libc_fesetroundf): Likewise.
11092 (libc_fesetroundl): Likewise.
11093 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11094 function.
11095 (libc_fesetround_387): Likewise.
11096 (libc_fesetroundf): New macro.
11097 (libc_fesetround): Likewise.
11098 (libc_fesetroundl): Likewise.
11099 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11100 function.
11101 (libc_fesetroundf): New macro.
11102 (libc_fesetround): Likewise.
11103 (libc_fesetroundl): Likewise.
11104 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11105 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11106 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11107 libm_hidden_ver.
11108 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11109 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11110 libm_hidden_def.
11111 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11112 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11113 libm_hidden_ver.
11114 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11115 libm_hidden_def.
11116
fbeafede
JM
11117 [BZ #3439]
11118 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11119 integer constant usable in #if and use that to give value to enum
11120 constant.
11121 (FE_DIVBYZERO): Likewise.
11122 (FE_UNDERFLOW): Likewise.
11123 (FE_OVERFLOW): Likewise.
11124 (FE_INVALID): Likewise.
11125 (FE_INVALID_SNAN): Likewise.
11126 (FE_INVALID_ISI): Likewise.
11127 (FE_INVALID_IDI): Likewise.
11128 (FE_INVALID_ZDZ): Likewise.
11129 (FE_INVALID_IMZ): Likewise.
11130 (FE_INVALID_COMPARE): Likewise.
11131 (FE_INVALID_SOFTWARE): Likewise.
11132 (FE_INVALID_SQRT): Likewise.
11133 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11134 (FE_TONEAREST): Likewise.
11135 (FE_TOWARDZERO): Likewise.
11136 (FE_UPWARD): Likewise.
11137 (FE_DOWNWARD): Likewise.
11138 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11139 (FE_DIVBYZERO): Likewise.
11140 (FE_OVERFLOW): Likewise.
11141 (FE_UNDERFLOW): Likewise.
11142 (FE_INEXACT): Likewise.
11143 (FE_TONEAREST): Likewise.
11144 (FE_DOWNWARD): Likewise.
11145 (FE_UPWARD): Likewise.
11146 (FE_TOWARDZERO): Likewise.
11147 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11148 (FE_UNDERFLOW): Likewise.
11149 (FE_OVERFLOW): Likewise.
11150 (FE_DIVBYZERO): Likewise.
11151 (FE_INVALID): Likewise.
11152 (FE_TONEAREST): Likewise.
11153 (FE_TOWARDZERO): Likewise.
11154 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11155 (FE_OVERFLOW): Likewise.
11156 (FE_UNDERFLOW): Likewise.
11157 (FE_DIVBYZERO): Likewise.
11158 (FE_INEXACT): Likewise.
11159 (FE_TONEAREST): Likewise.
11160 (FE_TOWARDZERO): Likewise.
11161 (FE_UPWARD): Likewise.
11162 (FE_DOWNWARD): Likewise.
11163 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11164 (FE_DIVBYZERO): Likewise.
11165 (FE_OVERFLOW): Likewise.
11166 (FE_UNDERFLOW): Likewise.
11167 (FE_INEXACT): Likewise.
11168 (FE_TONEAREST): Likewise.
11169 (FE_DOWNWARD): Likewise.
11170 (FE_UPWARD): Likewise.
11171 (FE_TOWARDZERO): Likewise.
11172
105ca950
CM
111732012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11174
11175 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11176
a542b389
AS
111772012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11178
11179 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11180 commands. Quote $PWD.
11181 (blacklist_exports): Don't use remove_newlines. Replace "declare
11182 -x" by "export".
11183 (remove_newlines): Remove.
11184
f62c8abc
L
111852012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11186
11187 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11188 * stdlib/stdlib.h (atof): Moved to ...
11189 * include/bits/stdlib-float.h: Here. New file.
11190 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11191 * stdlib/bits/stdlib-float.h: New file.
11192 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11193 -mno-sse -mno-mmx.
11194 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11195 <xmmintrin.h>.
11196
0155d5b2
JM
111972012-11-02 Joseph Myers <joseph@codesourcery.com>
11198
a68d0680
JM
11199 * conform/conformtest.pl (@headers): Add fenv.h.
11200 * conform/data/fenv.h-data: New file.
11201 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11202 include of <math/fenv.h>.
11203
caf7f573
JM
11204 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11205 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11206 && !UNIX98]. Enables tests for XOPEN2K8.
11207 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11208 POSIX2008]: Likewise.
11209
6c073ad6
JM
11210 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11211 (struct rusage): Do not expect type or its members.
11212
0155d5b2
JM
11213 [BZ #3439]
11214 * math/math.h (FP_NAN): Define macro to integer constant usable in
11215 #if and use that to give value to enum constant.
11216 (FP_INFINITE): Likewise.
11217 (FP_ZERO): Likewise.
11218 (FP_SUBNORMAL): Likewise.
11219 (FP_NORMAL): Likewise.
11220
b5dcacb4
AS
112212012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11222
11223 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11224 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11225 arguments.
11226
f7934be8
RM
112272012-11-02 Roland McGrath <roland@hack.frob.com>
11228
11229 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11230 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11231 autoconf-time if not.
11232 * configure.in: Remove AC_PREREQ.
11233
d7d08bde
TMQMF
112342012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11235
11236 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11237 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11238 of the internal implementation.
11239
dcdae19a
JM
112402012-11-02 Joseph Myers <joseph@codesourcery.com>
11241
11242 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11243 except include of <misc/sys/syslog.h>.
11244
d6cffd3e
AS
112452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11246
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11248 function returns with a NULL context exit with zero.
11249
b3563932
TMQMF
112502012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11251
11252 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11253
b288a93d
L
112542012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11255
11256 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11257 (run_program_cmd): This.
11258 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11259 (tst_langinfo): New variable. Use it.
11260
a2421a68
SAS
112612012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11262
11263 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11264 floating point opcodes.
11265
6f796e1b
TS
112662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11267
7402596b
TS
11268 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11269 variable.
11270
d0d4f868
TS
11271 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11272
6f796e1b
TS
11273 * sysdeps/mach/hurd/powerpc: Remove directory.
11274 * sysdeps/mach/powerpc: Likewise.
11275
4da224a2
AS
112762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11277
11278 * scripts/check-local-headers.sh: Ignore c++ headers.
11279
341dd673
TS
112802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11281
11282 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11283 __libc_cleanup_region_start argument.
11284
473611b2
JM
112852012-11-01 Joseph Myers <joseph@codesourcery.com>
11286
11287 [BZ #14784]
11288 [BZ #14785]
11289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11290 x * y using scaling, not as x * y + z.
11291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11292 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11293 * math/libm-test.inc (fma_test): Add more tests.
11294 (fma_test_towardzero): Likewise.
11295 (fma_test_downward): Likewise.
11296 (fma_test_upward): Likewise.
11297
4078da3d
TS
112982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11299
11300 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11301
903252aa
JM
113022012-10-31 Joseph Myers <joseph@codesourcery.com>
11303
11304 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11305 New variable.
11306
cbc818d0
TS
113072012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11308
11309 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11310
5a03cb1e
AS
113112012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11312
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11314 Fix sort order.
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11316 Likewise.
11317
90aff2ff
TMQMF
113182012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11319
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11321 Fix the order of the list for glibc 2.17.
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11323 Likewise.
11324
1818fcb7
AS
113252012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11326
11327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11328
ef82f4da
JM
113292012-10-31 Joseph Myers <joseph@codesourcery.com>
11330
16a0e2ec
JM
11331 [BZ #14610]
11332 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11333 for low part of x being zero before using __atanl (y).
11334 * math/libm-test.inc (atan2_test): Add another test.
11335
0eb69512
JM
11336 * manual/install.texi (Configuring and compiling): Document
11337 general use of test-wrapper and test-wrapper-env.
11338 * INSTALL: Regenerated.
11339
ef82f4da
JM
11340 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11341 (__fma): Do not extract and scale down low bits on after-rounding
11342 systems when result rounded to normal precision would have normal
11343 exponent.
11344 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11345 (__fmal): Do not extract and scale down low bits on after-rounding
11346 systems when result rounded to normal precision would have normal
11347 exponent.
11348 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11349 (__fmal): Do not extract and scale down low bits on after-rounding
11350 systems when result rounded to normal precision would have normal
11351 exponent.
11352 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11353 macro.
11354 (fma_test): Add more tests.
11355 (fma_test_towardzero): Likewise.
11356 (fma_test_downward): Likewise.
11357 (fma_test_upward): Likewise.
11358
954ef0d9
L
113592012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11360
11361 * sysdeps/i386/tininess.h: Renamed to ...
11362 * sysdeps/x86/tininess.h: This.
11363 * sysdeps/x86_64/tininess.h: Removed.
11364
df61ffb2
JM
113652012-10-30 Joseph Myers <joseph@codesourcery.com>
11366
11367 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11368 input. Use $(build-program-cmd).
11369 ($(objpfx)tst-array1-static.out): Likewise.
11370 ($(objpfx)tst-array2.out): Likewise.
11371 ($(objpfx)tst-array3.out): Likewise.
11372 ($(objpfx)tst-array4.out): Likewise.
11373 ($(objpfx)tst-array5.out): Likewise.
11374 ($(objpfx)tst-array5-static.out): Likewise.
11375
01767843
CM
113762012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11377
47cc1490
CM
11378 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11379 if defined.
11380
01767843
CM
11381 * nss/nsswitch.h (nss_interface_function): Provide new
11382 macro for use with NSS functions.
11383 * grp/initgroups.c: Use new macro.
11384 * nss/getXXbyYY.c: Likewise.
11385 * nss/getXXbyYY_r.c: Likewise.
11386 * nss/getXXent.c: Likewise.
11387 * nss/getXXent_r.c: Likewise.
11388 * sysdeps/posix/getaddrinfo.c: Likewise.
11389
8321aa97
AJ
113902012-10-30 Andreas Jaeger <aj@suse.de>
11391
11392 * po/ru.po: Update Russion translation from translation project.
11393
2a27fd6d
JM
113942012-10-30 Joseph Myers <joseph@codesourcery.com>
11395
8627a232
JM
11396 [BZ #14152]
11397 [BZ #14783]
11398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11399 result and shift together with sticky bit instead of replicating
11400 round-to-nearest rounding.
11401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11403 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11404 missing underflow exceptions.
11405 (fma_test_towardzero): Add more tests.
11406 (fma_test_downward): Likewise.
11407 (fma_test_upward): Likewise.
11408
2a27fd6d
JM
11409 [BZ #14047]
11410 * sysdeps/generic/tininess.h: New file.
11411 * sysdeps/i386/tininess.h: Likewise.
11412 * sysdeps/sh/tininess.h: Likewise.
11413 * sysdeps/x86_64/tininess.h: Likewise.
11414 * stdlib/tst-strtod-underflow.c: Likewise.
11415 * stdlib/tst-tininess.c: Likewise.
11416 * stdlib/strtod_l.c: Include <tininess.h>.
11417 (round_and_return): Do not set errno for exact underflow cases.
11418 Force an underflow exception when setting errno for underflow.
11419 Determine underflow based on rounding to normal precision if
11420 TININESS_AFTER_ROUNDING.
11421 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11422 ERANGE for exact underflow cases.
11423 * stdlib/Makefile (tests): Add tst-tininess and
11424 tst-strtod-underflow.
11425 ($(objpfx)tst-tininess): Use $(link-libm).
11426 ($(objpfx)tst-strtod-underflow): Likewise.
11427
e7170363
AJ
114282012-10-30 Andreas Jaeger <aj@suse.de>
11429
e5088dc6
AJ
11430 [BZ#14767]
11431 * elf/Makefile (tests): Remove conditional for have-initfini-array
11432 since this is now always required and the variable does not exist
11433 anymore.
11434 (tests-static): Likewise.
11435 (modules-names): Likewise.
11436
e7170363 11437 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11438
11439 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11440 merged with constructor/destructor.
11441 (init_array): Likewise.
11442 * elf/tst-array2dep.c (fini_array): Likewise.
11443 (init_array): Likewise.
11444
60457d8a
MF
114452012-10-29 Mike Frysinger <vapier@gentoo.org>
11446
11447 * manual/message.texi: Delete @cartouche tags.
11448
8bece752
PT
114492012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11450
94ce799f
PT
11451 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11452 EOPNOTSUPP.
11453 * sysdeps/mach/hurd/fsync.c: Likewise.
11454
8bece752
PT
11455 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11456 [_POSIX_REALTIME_SIGNALS]: Change condition to
11457 [_POSIX_REALTIME_SIGNALS > 0].
11458
86ebe6b1
AJ
114592012-10-27 Andreas Jaeger <aj@suse.de>
11460
11461 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11462 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11464 [__WORDSIZE != 64]: Likewise.
11465
54399c08
L
114662012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11467
11468 * iconvdata/tst-table.sh: Remove ${SHELL}.
11469 * iconvdata/tst-tables.sh: Likewise.
11470
e2211bed
DM
114712012-10-25 David S. Miller <davem@davemloft.net>
11472
11473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11474 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11475 of strtoull.
11476
f303f97c
DM
11477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11478 ifunc-impl-list.c
11479 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11480 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11481 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11482 file.
11483
1e9d84cd
RM
114842012-10-25 Roland McGrath <roland@hack.frob.com>
11485
11486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11487 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11488 __getdirentries.
11489
df381762
JM
114902012-10-25 Joseph Myers <joseph@codesourcery.com>
11491 Jim Blandy <jimb@codesourcery.com>
11492
11493 * scripts/cross-test-ssh.sh: New file.
11494 * manual/install.texi (Configuring and compiling): Document use of
11495 cross-test-ssh.sh.
11496 * INSTALL: Regenerated.
11497
bff64913
PT
114982012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11499
11500 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11501 EOPNOTSUPP.
11502
25fe8932
JM
115032012-10-25 Joseph Myers <joseph@codesourcery.com>
11504
11505 * Makeconfig (run-program-prefix): Fix comment.
11506
cc1290d0
JM
115072012-10-24 Joseph Myers <joseph@codesourcery.com>
11508 Jim Blandy <jimb@codesourcery.com>
11509
11510 * Makeconfig (test-wrapper): New variable,
11511 (test-wrapper-env): Likewise.
11512 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11513 (run-built-tests): Define to yes.
11514 (run-program-prefix): Use $(test-wrapper).
11515 (built-program-cmd): Likewise.
11516 * Rules (make-test-out): Use $(test-wrapper-env) and
11517 $(host-built-program-cmd).
11518 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11519 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11520 tst-pathopt.sh.
11521 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11522 $(test-wrapper-env) to tst-rtld-load-self.sh.
11523 ($(objpfx)order2.out): Use $(test-wrapper).
11524 ($(objpfx)tst-initorder.out): Likewise.
11525 ($(objpfx)tst-initorder2.out): Likewise.
11526 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11527 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11528 (test_wrapper_env): New variable. Use it to run ld.so.
11529 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11530 Use it to run ld.so.
11531 (test_wrapper_env): Likewise.
11532 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11533 $(test-wrapper) to run-iconv-test.sh.
11534 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11535 (ICONV): Use $test_wrapper.
11536 * posix/Makefile ($(objpfx)globtest.out): Pass
11537 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11538 globtest.sh, not $(run-program-prefix).
11539 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11540 (test_wrapper): Likewise.
11541 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11542 set together with run_via_rtld_prefix.
11543 (run_program_prefix): Define in terms of test_wrapper and
11544 run_via_rtld_prefix.
11545
6e6249d0
RM
115462012-10-24 Roland McGrath <roland@hack.frob.com>
11547
11548 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11549 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11550 Targets removed.
11551
11552 [BZ #14743]
11553 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11554 Declare __clock_getres, __clock_gettime, __clock_settime,
11555 __clock_nanosleep, and __clock_getcpuclockid.
11556 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11557 Remove librt_hidden_def (clock_gettime).
11558 * sysdeps/unix/clock_gettime.c: Likewise.
11559 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11561 * rt/clock_getres.c: Define __clock_getres as an alias.
11562 * sysdeps/posix/clock_getres.c: Likewise.
11563 * rt/clock_settime.c: Define __clock_settime as an alias.
11564 * sysdeps/unix/clock_settime.c: Likewise.
11565 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11566 * sysdeps/unix/clock_nanosleep.c: Likewise.
11567 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11568 * rt/clock-compat.c: New file.
11569 * rt/Makefile (librt-routines): Add clock-compat and move
11570 $(clock-routines) to ...
11571 (routines): ... here, new variable.
11572 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11573 Don't add get_clockfreq here.
11574 * rt/Versions (libc: GLIBC_2.17): New version set.
11575 Add clock_* symbols here.
11576 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11577 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11578 (GLIBC_2.17): Add clock_* symbols.
11579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11581 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11583 Likewise.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11585 Likewise.
11586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11590 * NEWS: Mention the move.
11591
11592 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11593 Use __open, __read, __close rather than their public counterparts.
11594 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11595 (__get_clockfreq_via_cpuinfo): Likewise.
11596 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11597 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11598
11599 * config.h.in (HAVE_IFUNC): New #undef.
11600 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11601 was successful.
11602 * configure: Regenerated.
11603
0cae3f4b
MF
116042012-10-24 Mike Frysinger <vapier@gentoo.org>
11605
11606 * configure.in: Move READELF check to start of file.
11607 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11608 libc_cv_asm_gnu_indirect_function in the process.
11609 * configure: Regenerated.
11610
8175a253
MF
116112012-10-24 Mike Frysinger <vapier@gentoo.org>
11612
11613 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11614 send the output to /dev/null.
11615 (libc_cv_cc_with_libunwind): Likewise.
11616 (libc_cv_as_noexecstack): Likewise.
11617 * configure: Regenerate.
11618
0708a7d1
JM
116192012-10-24 Joseph Myers <joseph@codesourcery.com>
11620
10b40d85
JM
11621 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11622
0708a7d1
JM
11623 * posix/globtest.sh (TMPDIR): Do not set.
11624 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11625 (testout): Likewise.
11626
9fddec1a
AJ
116272012-10-24 Andreas Jaeger <aj@suse.de>
11628
3a8db22f
AJ
11629 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11630 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11631 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11632 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11633 posix_fadvise64, posix_fallocate64.
11634
9fddec1a
AJ
11635 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11636 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11637 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11638 Likewise.
11639 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11640 Likewise.
11641 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11642
11643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11644 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11645 <bits/fcntl-linux.h>.
11646 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11647
11648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11649 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11650 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11651 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11652 [__WORDSIZE != 64]: Likewise.
11653
ebfd1bbd
JM
116542012-10-23 Joseph Myers <joseph@codesourcery.com>
11655
03ac099f
JM
11656 * Makeconfig (run-built-tests): New variable.
11657 * Rules [$(cross-compiling) = yes]: Change condition to
11658 [$(run-built-tests) = no].
11659 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11660 to [$(run-built-tests) = yes].
11661 * elf/Makefile [$(cross-compiling) = no]: Likewise
11662 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11663 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11664 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11665 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11666 * io/Makefile [$(cross-compiling) = no]: Likewise.
11667 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11668 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11669 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11670 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11671 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11672 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11673 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11674 * string/Makefile [$(cross-compiling) = no]: Likewise.
11675
ebfd1bbd
JM
11676 * posix/Makefile ($(objpfx)globtest.out): Pass
11677 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11678 $(rtld-installed-name).
11679 * posix/globtest.sh (elf_objpfx): Remove variable.
11680 (rtld_installed_name): Likewise.
11681 (library_path): Likewise.
11682 (run_program_prefix): New variable. Use for running globtest
11683 binary.
11684
166bca24
JB
116852012-10-23 Jim Blandy <jimb@codesourcery.com>
11686 Joseph Myers <joseph@codesourcery.com>
11687
11688 * Makeconfig (host-built-program-cmd): New variable.
11689 * elf/Makefile (tst-stackguard1-ARGS): Use
11690 $(host-built-program-cmd).
11691 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11692 (tst-spawn-ARGS): Likewise.
11693 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11694
88866099
JM
116952012-10-23 Joseph Myers <joseph@codesourcery.com>
11696 Jim Blandy <jimb@codesourcery.com>
11697
11698 * Makeconfig (run-via-rtld-prefix): New variable.
11699 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11700 (built-program-cmd): Likewise.
11701
b4b4c296
AJ
117022012-10-22 Andreas Jaeger <aj@suse.de>
11703
11704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11705 __O_RSYNC if it exists, otherwise to O_SYNC.
11706
6fb54a22
JB
117072012-10-22 Jim Blandy <jimb@codesourcery.com>
11708 Joseph Myers <joseph@codesourcery.com>
11709
11710 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11711 /dev/null.
11712 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11713 from /dev/null
11714 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11715 /dev/null.
11716
481b90b9
AJ
117172012-10-22 Andreas Jaeger <aj@suse.de>
11718
2a0e2669
AJ
11719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11720 Define always.
11721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11722
76e38f9a
AJ
11723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11724 bits/fcntl-linux.h.
11725
7cd37b43
AJ
11726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11727 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11728
481b90b9
AJ
11729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11730 to __O_LARGEFILE.
11731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11732 to __O_LARGEFILE.
11733
aba75984
JB
117342012-10-21 Jim Blandy <jimb@codesourcery.com>
11735 Joseph Myers <joseph@codesourcery.com>
11736
11737 * config.make.in (NM): New variable.
11738
88d4247f
AJ
117392012-10-21 Andreas Jaeger <aj@suse.de>
11740
11741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11742 definitions and declarations that are provided by
11743 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11744
f2eed205
L
117452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11746
11747 [BZ #14683]
11748 * elf/Makefile (tests-static): Add tst-leaks1-static.
11749 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11750 ($(objpfx)tst-leaks1-static): New rule.
11751 ($(objpfx)tst-leaks1-static-mem): Likewise.
11752 (tst-leaks1-static-ENV): New macro.
11753 * elf/dl-open.c (dl_open_worker): Check the main application
11754 only if SHARED is defined.
11755 * elf/tst-leaks1-static.c: New file.
11756
335e6931
AJ
117572012-10-20 Andreas Jaeger <aj@suse.de>
11758
11759 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11760 generic values for Linux.
11761 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11762 and declarations that are provided by <bits/fcntl-linux.h> and
11763 include <bits/fcntl-linux.h>.
11764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11766
ac5c94d3
RM
117672012-10-20 Roland McGrath <roland@hack.frob.com>
11768
11769 * io/fcntl.h: Move include of <bits/types.h> to the top and
11770 include it unconditionally.
11771
de54b33a
L
117722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11773
228cfb01
L
11774 * wcsmbs/Makefile (tests-ifunc): New variable.
11775 (tests): Add $(tests-ifunc).
11776 * wcsmbs/test-wcschr-ifunc.c: New file.
11777 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11778 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11779 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11780 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11781 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11782
69f07e5f
L
11783 * string/Makefile (tests-ifunc): New variable.
11784 (tests): Add $(tests-ifunc).
11785 * string/test-memccpy.c (TEST_NAME): New macro.
11786 * string/test-memchr.c (TEST_NAME): Likewise.
11787 * string/test-memcmp.c (TEST_NAME): Likewise.
11788 * string/test-memcpy.c (TEST_NAME): Likewise.
11789 * string/test-memmem.c (TEST_NAME): Likewise.
11790 * string/test-memmove.c (TEST_NAME): Likewise.
11791 * string/test-memset.c (TEST_NAME): Likewise.
11792 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11793 * string/test-stpcpy.c (TEST_NAME): Likewise.
11794 * string/test-stpncpy.c (TEST_NAME): Likewise.
11795 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11796 * string/test-strcasestr.c (TEST_NAME): Likewise.
11797 * string/test-strcat.c (TEST_NAME): Likewise.
11798 * string/test-strchr.c (TEST_NAME): Likewise.
11799 * string/test-strcmp.c(TEST_NAME): Likewise.
11800 * string/test-strcpy.c (TEST_NAME): Likewise.
11801 * string/test-strcspn.c (TEST_NAME): Likewise.
11802 * string/test-strlen.c (TEST_NAME): Likewise.
11803 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11804 * string/test-strncmp.c (TEST_NAME): Likewise.
11805 * string/test-strncpy.c (TEST_NAME): Likewise.
11806 * string/test-strnlen.c (TEST_NAME): Likewise.
11807 * string/test-strpbrk.c (TEST_NAME): Likewise.
11808 * string/test-strrchr.c (TEST_NAME): Likewise.
11809 * string/test-strspn.c (TEST_NAME): Likewise.
11810 * string/test-strstr.c (TEST_NAME): Likewise.
11811 * string/test-bcopy-ifunc.c: New file.
11812 * string/test-bzero-ifunc.c: Likewise.
11813 * string/test-memccpy-ifunc.c: Likewise.
11814 * string/test-memchr-ifunc.c: Likewise.
11815 * string/test-memcmp-ifunc.c: Likewise.
11816 * string/test-memcpy-ifunc.c: Likewise.
11817 * string/test-memmem-ifunc.c: Likewise.
11818 * string/test-memmove-ifunc.c: Likewise.
11819 * string/test-mempcpy-ifunc.c: Likewise.
11820 * string/test-memset-ifunc.c: Likewise.
11821 * string/test-rawmemchr-ifunc.c: Likewise.
11822 * string/test-stpcpy-ifunc.c: Likewise.
11823 * string/test-stpncpy-ifunc.c: Likewise.
11824 * string/test-strcasecmp-ifunc.c: Likewise.
11825 * string/test-strcasestr-ifunc.c: Likewise.
11826 * string/test-strcat-ifunc.c: Likewise.
11827 * string/test-strchr-ifunc.c: Likewise.
11828 * string/test-strchrnul-ifunc.c: Likewise.
11829 * string/test-strcmp-ifunc.c: Likewise.
11830 * string/test-strcpy-ifunc.c: Likewise.
11831 * string/test-strcspn-ifunc.c: Likewise.
11832 * string/test-strlen-ifunc.c: Likewise.
11833 * string/test-strncasecmp-ifunc.c: Likewise.
11834 * string/test-strncat-ifunc.c: Likewise.
11835 * string/test-strncmp-ifunc.c: Likewise.
11836 * string/test-strncpy-ifunc.c: Likewise.
11837 * string/test-strnlen-ifunc.c: Likewise.
11838 * string/test-strpbrk-ifunc.c: Likewise.
11839 * string/test-strrchr-ifunc.c: Likewise.
11840 * string/test-strspn-ifunc.c: Likewise.
11841 * string/test-strstr-ifunc.c: Likewise.
11842
de54b33a
L
11843 * debug/Makefile (tests-ifunc): New variable.
11844 (tests): Add $(tests-ifunc).
11845 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11846 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11847 * debug/test-stpcpy_chk-ifunc.c: New file.
11848 * debug/test-strcpy_chk-ifunc.c: Likewise.
11849
88481c16
SP
118502012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11851
11852 [BZ #13601]
11853 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11854 header is not read in.
11855
135948bd
JM
118562012-10-19 Joseph Myers <joseph@codesourcery.com>
11857
89f1c388
JM
11858 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11859 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11860 directly. Pass built executable to script as
11861 $(built-program-cmd).
11862 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11863 $testprogram without using LD_LIBRARY_PATH and $ldso.
11864
e40a0d21
JM
11865 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11866 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11867 $(rtld-installed-name).
11868 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11869 (rtld_installed_name): Likewise.
11870 (library_path): Likewise.
11871 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11872 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11873 $(run-program-prefix) to tst-tables.sh.
11874 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11875 it to run tst-table-from and tst-table-to.
11876 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11877 Pass it to tst-table.sh.
11878 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11879 $(run-program-prefix) to tst-gettext.sh.
11880 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11881 tst-translit.sh.
11882 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11883 tst-gettext2.sh.
11884 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11885 to run tst-gettext.
11886 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11887 to run tst-gettext2.
11888 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11889 to run tst-translit.
11890 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11891 $(run-program-prefix) to tst-mtrace.sh.
11892 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11893 to run tst-mtrace.
11894 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11895 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11896 $(rtld-installed-name).
11897 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11898 (rtld_installed_name): Likewise.
11899 (run_program_prefix): New variable. Use it to run wordexp-test.
11900
728e272a
JM
11901 * Makeconfig (ARCH): Remove all definitions.
11902 (machine): Likewise.
11903 [ARCH]: Remove conditional code.
11904 [!objdir]: Give error.
11905 [!objdir] (objpfx): Remove.
11906 [!objdir] (common-objpfx): Likewise.
11907 [!objdir] (common-objdir): Likewise.
11908 * configure.in (config_makefile): Remove. Hardcode Makefile in
11909 AC_CONFIG_FILES call.
11910 * configure: Regenerated.
11911
d528cdcf
JM
11912 [BZ #13888]
11913 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11914 or TMPDIR.
11915 (testout): Likewise.
11916
135948bd
JM
11917 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11918 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11919 $(rtld-installed-name).
11920 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11921 (rtld_installed_name): Likwise.
11922 (runit): Remove function.
11923 (run_getconf): New variable, Use it for running getconf binary.
11924
38c78296
L
119252012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11926
11927 [BZ #14716]
11928 * string/test-memmem.c (check_result): New function.
11929 (do_one_test): Use it.
11930 (check1): New function.
11931 (test_main): Use it.
11932
d077f65f
MT
119332012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11934
11935 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11936
ced52c71
JM
119372012-10-18 Joseph Myers <joseph@codesourcery.com>
11938
11939 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11940 (_G_LSEEK64): Likewise.
11941 (_G_MMAP64): Likewise.
11942 (_G_FSTAT64): Likewise.
11943 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11944 (_G_LSEEK64): Likewise.
11945 (_G_MMAP64): Likewise.
11946 (_G_FSTAT64): Likewise.
11947 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11948 unconditional. Call __mmap64 directly.
11949 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11950 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11951 __lseek64 directly.
11952 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11953 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11954 __mmap64 directly.
11955 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11956 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11957 __lseek64 directly.
11958 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11959 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11960 __lseek64 directly.
11961 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11962 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11963 __lseek64 directly.
11964 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11965 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11966 __fxstat64 directly.
11967 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11968 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11969 unconditional.
11970 (freopen64) [!_G_OPEN64]: Remove conditional code.
11971 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11972 unconditional.
11973 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11974 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11975 unconditional.
11976 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11977 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11978 unconditional.
11979 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11980 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11981 unconditional.
11982 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11983 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11984 unconditional.
11985 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11986 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11987 unconditional.
11988 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11989 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11990 unconditional.
11991 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11992
b741de23
SP
119932012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11994
11995 [BZ #12140]
11996 * manual/memory.texi (Malloc Tunable Parameters): Add note
11997 about free list pointers overwriting some perturb bytes.
11998 Wording suggested by Roland McGrath.
11999
f9b9d9c9
JM
120002012-10-17 Joseph Myers <joseph@codesourcery.com>
12001
12002 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12003 (lgamma_test): Likewise.
12004 (tgamma_test): Likewise.
12005
172a631a
FW
120062012-10-16 Florian Weimer <fweimer@redhat.com>
12007
12008 [BZ #14700]
12009 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12010 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12011
e9f37252
MK
120122012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12013
12014 * NEWS: Mention BZ #14716.
12015 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12016 when removing AVAILABLE1_USES_J macro.
12017
d394eb74
L
120182012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12019
12020 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12021 (__bswap_64): __uint64_t for unsigned 64-bit int.
12022
ca38dc17
AS
120232012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12024
12025 * include/string.h (memmem): Declare libc hidden alias.
12026 * string/memmem.c (memmem): Define libc hidden alias.
12027 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12028 __read, __close instead of open, read, close.
12029
9a387d1f
L
120302012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12031
ac49ecaf
L
12032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12033 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12034 global and hidden.
12035 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12036 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12037 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12038 Likewise.
12039 (__rawmemchr_sse2): Likewise.
12040 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12041 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12042 (__strchr_sse2): Likewise.
12043 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12044 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12045 (__strcasecmp_sse2): Likewise.
12046 (__strncasecmp_sse2): Likewise.
12047 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12048 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12049 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12050 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12051 (__strrchr_sse2): Likewise.
12052 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12053 ifunc-impl-list.c.
12054 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12055 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12056 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12057 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12058 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12059 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12060 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12061 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12062 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12063 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12064 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12065 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12066 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12067 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12068 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12069 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12070 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12071 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12072 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12073 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12074 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12075 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12076 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12077 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12078 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12079 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12080 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12081 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12082 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12083 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12084
b090e8ea
L
12085 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12086 global and hidden.
12087 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12088 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12089 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12090 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12091 Likewise.
12092 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12093 Likewise.
12094 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12095 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12096 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12097 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12098 ifunc-impl-list.c.
12099 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12100 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12101 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12102 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12103 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12104 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12105 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12106 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12107 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12108 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12109 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12110 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12111 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12112 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12113 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12114 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12115 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12116 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12117 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12118 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12119 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12120 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12121 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12122 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12123 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12124 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12125 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12126 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12127 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12128 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12129 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12130 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12131 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12132 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12133 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12134 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12135 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12136 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12137 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12138 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12139 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12140
11dd4af6
L
12141 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12142 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12143 * include/ifunc-impl-list.h: New file.
12144 * misc/ifunc-impl-list.c: Likewise.
12145 * misc/Makefile (routines): Add ifunc-impl-list.
12146 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12147 * string/test-string.h: Include <ifunc-impl-list.h>.
12148 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12149 impl_array): New variables.
12150 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12151 are defined.
12152 (test_init): Call __libc_ifunc_impl_list to initialize
12153 func_list if TEST_IFUNC and TEST_NAME are defined.
12154
9a387d1f
L
12155 * string/Makefile (strop-tests): Add bcopy and bzero.
12156 * string/test-bcopy.c: New file.
12157 * string/test-bzero.c: Likewise.
12158 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12159 defined.
12160 * string/test-memset.c: Support bzero test if TEST_BZERO is
12161 defined.
12162 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12163 __libc_memmove.
12164 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12165 __libc_memset.
12166 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12167 of memset.
12168
472371b9
JM
121692012-10-10 Joseph Myers <joseph@codesourcery.com>
12170
1e4a9536
JM
12171 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12172 * configure: Regenerated.
12173
d173d12e
JM
12174 * Makeconfig (+link-static-before-libc): Don't include
12175 $(link-static-libc).
12176
472371b9
JM
12177 * libio/libio.h (_IO_pos_t): Remove.
12178
89a3ad0b
AO
121792012-10-10 Alexandre Oliva <aoliva@redhat.com>
12180
12181 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12182 McGrath.
12183
e7451425
AO
121842012-10-10 Alexandre Oliva <aoliva@redhat.com>
12185
12186 * crypt/crypt-entry.c: Include fips-private.h.
12187 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12188 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12189 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12190 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12191
4ba74a35
AO
121922012-10-10 Alexandre Oliva <aoliva@redhat.com>
12193
12194 * crypt/crypt-private.h: Include stdbool.h.
12195 (_ufc_setup_salt_r): Return bool.
12196 * crypt/crypt-entry.c: Include errno.h.
12197 (__crypt_r): Return NULL with EINVAL for bad salt.
12198 * crypt/crypt_util.c (bad_for_salt): New.
12199 (_ufc_setup_salt_r): Check that salt is long enough and within
12200 the specified alphabet.
12201 * crypt/badsalttest.c: New file.
12202 * crypt/Makefile (tests): Add it.
12203 ($(objpfx)badsalttest): New.
12204
f96f1242
MK
122052012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12206
12207 * NEWS: Add entry for BZ #14602.
12208
0e8e0c1c
JM
122092012-10-09 Joseph Myers <joseph@codesourcery.com>
12210
12211 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12212 type-generic.
12213 * math/libm-test.inc: Update comment listing what functions and
12214 macros are tested.
12215 (isgreater_test): New function.
12216 (isgreaterequal_test): Likewise.
12217 (isless_test): Likewise.
12218 (islessequal_test): Likewise.
12219 (islessgreater_test): Likewise.
12220 (isunordered_test): Likewise.
12221 (main): Call the new functions.
12222
273edc5e
RM
122232012-10-09 Roland McGrath <roland@hack.frob.com>
12224
b8493de0
RM
12225 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12226 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12227 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12228 * sysdeps/i386/configure: Regenerated.
12229 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12230 * sysdeps/mach/configure: Regenerated.
12231 * sysdeps/mach/hurd/configure: Regenerated.
12232 * sysdeps/powerpc/configure: Regenerated.
12233 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12234 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12235 * sysdeps/s390/s390-32/configure: Regenerated.
12236 * sysdeps/s390/s390-64/configure: Regenerated.
12237 * sysdeps/sh/configure: Regenerated.
12238 * sysdeps/sparc/configure: Regenerated.
12239 * sysdeps/unix/sysv/linux/configure: Regenerated.
12240 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12241 * sysdeps/x86_64/configure: Regenerated.
12242
273edc5e
RM
12243 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12244 defined. Don't check if MAP is NULL.
12245
c8450f70
JM
122462012-10-09 Joseph Myers <joseph@codesourcery.com>
12247
12248 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12249 (_G_stat64): Likewise.
12250 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12251 (_G_stat64): Likewise.
12252 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12253 instead of struct _G_stat64.
12254 * libio/fileops.c (mmap_remap_check): Likewise.
12255 (decide_maybe_mmap): Likewise.
12256 (_IO_new_file_seekoff): Likewise.
12257 (_IO_file_stat): Likewise.
12258 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12259 _G_off64_t.
12260 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12261 instead of struct _G_stat64.
12262 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12263
57e605ba
MK
122642012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12265
12266 [BZ #14602]
12267 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12268 Replace with ...
12269 (CHECK_EOL): New macro.
12270 (two_way_short_needle): Check beginning of haystack for EOL. Use
12271 CHECK_EOL.
12272 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12273 Replace with CHECK_EOL.
12274 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12275 Replace with CHECK_EOL.
12276
ef1bb361
JM
122772012-10-08 Joseph Myers <joseph@codesourcery.com>
12278
12279 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12280 type-generic.
12281 * math/libm-test.inc: Update comment listing what functions and
12282 macros are tested.
12283 (finite_test): New function.
12284 (isinf_test): Likewise.
12285 (isnan_test): Likewise.
12286 (fpclassify_test): Test subnormal input.
12287 (isfinite_test): Likewise.
12288 (isnormal_test): Likewise.
12289 (main): Call the new functions.
12290
55f11534
JN
122912012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12292
12293 [BZ #14660]
12294 * Makerules (%.dynsym): Force C locale when running
12295 $(OBJDUMP) --dynamic-syms.
12296
1ab29350
AS
122972012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12298
12299 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12300 <stdint.h>.
12301
f1ecb7ef
DM
123022012-10-06 David S. Miller <davem@davemloft.net>
12303
12304 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12305 upper 32-bits of the length value in %o2 since we use branch-on-register
12306 tests which consider the entire 64-bit register.
12307
5d41d91a
L
123082012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12309
12310 * string/test-strstr.c (check2): Add a test for page boundary.
12311
3baddb72
DM
123122012-10-05 David S. Miller <davem@davemloft.net>
12313
12314 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12315 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12316 file.
12317 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12318 sysdep_routines.
12319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12320 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12321 and bzero when HWCAP_SPARC_CRYPTO is present.
12322
9cee5585
L
123232012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12324
d7e0dab9
L
12325 [BZ #14602]
12326 * string/test-strstr.c (check2): New function.
12327 (test_main): Call check2.
12328
03759f47
L
12329 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12330 and bug-strchr1.
12331 * string/bug-strcasestr1.c (do_test): Moved to ...
12332 * string/test-strcasestr.c (check1): Here. New function.
12333 (do_one_test): Break out result checking code into ...
12334 (check_result): This. New function.
12335 (do_one_test): Call check_result.
12336 (test_main): Call check1.
12337 * string/bug-strchr1.c (do_test): Moved to ...
12338 * string/test-strchr.c (check1): Here. New function.
12339 (do_one_test): Break out result checking code into ...
12340 (check_result): This. New function.
12341 (do_one_test): Call check_result.
12342 (test_main): Call check1.
12343 * string/bug-strstr1.c (main): Moved to ...
046f153e 12344 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12345 (do_one_test): Break out result checking code into ...
12346 (check_result): This. New function.
12347 (do_one_test): Call check_result.
12348 (test_main): Call check1.
12349 * string/bug-strcasestr1.c: Removed.
12350 * string/bug-strchr1.c: Likewise.
12351 * string/bug-strstr1.c: Likewise.
12352
53cea63e
L
12353 * elf/Makefile (dl-routines): Add hwcaps.
12354 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12355 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12356 (_dl_important_hwcaps): Moved to ...
12357 * elf/dl-hwcaps.c: Here. New file.
12358 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12359
9cee5585 12360 [BZ #14557]
bb859b06
L
12361 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12362 if IS_IN_rtld isn't defined.
12363
9cee5585
L
12364 * elf/dl-support.c (_dl_sysinfo_map): New.
12365 Include "get-dynamic-info.h" and "setup-vdso.h".
12366 (_dl_non_dynamic_init): Call setup_vdso.
12367 * elf/dynamic-link.h: Don't include <assert.h>.
12368 (elf_get_dynamic_info): Moved to ...
12369 * elf/get-dynamic-info.h: Here. New file.
12370 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12371 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12372 * elf/setup-vdso.h: Here. New file.
12373 * elf/rtld.c: Include "setup-vdso.h".
12374 (dl_main): Call setup_vdso.
12375
23c31b76
JM
123762012-10-05 Joseph Myers <joseph@codesourcery.com>
12377
28234b07
JM
12378 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12379 creal in comment listing functions tested. List finite, isinf,
12380 isnan, isless, islessequal, isgreater, isgreaterequal,
12381 islessgreater, isunordered, lgamma_r and pow10 as functions and
12382 macros not tested. Mention which functions not tested are aliases
12383 for other functions. Fix typo. Note that signs of NaNs are not
12384 tested.
12385
23c31b76
JM
12386 * scripts/config.guess: Update from config.git.
12387 * scripts/config.sub: Likewise.
12388
9043e228
RM
123892012-10-04 Roland McGrath <roland@hack.frob.com>
12390
12391 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12392 * misc/madvise.c (madvise): Renamed to __madvise.
12393 Make madvise a weak alias.
12394 * include/sys/mman.h: Declare __madvise.
12395 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12396 * sysdeps/unix/syscalls.list
12397 (madvise): Make __madvise the strong name, and madvise a weak alias.
12398 * sysdeps/unix/sysv/linux/syscalls.list
12399 (madvise, mmap): Remove redundant entries.
12400 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12401 * malloc/malloc.c (mtrim): Likewise.
12402 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12403
f57f8055
RM
124042012-10-03 Roland McGrath <roland@hack.frob.com>
12405
12406 * sysdeps/mach/hurd/dl-cache.c: File removed.
12407 * config.h.in (USE_LDCONFIG): New #undef.
12408 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12409 * configure: Regenerated.
12410 * elf/Makefile (dl-routines): Add dl-cache only under
12411 [$(use-ldconfig) = yes].
12412 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12413 cache on [USE_LDCONFIG].
12414 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12415 [USE_LDCONFIG].
12416 * elf/rtld.c (dl_main): Likewise.
12417
5bb0c10a
PT
124182012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12419
12420 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12421 _SC_LEVEL4_CACHE_LINESIZE.
12422
010188c6
RM
124232012-10-03 Roland McGrath <roland@hack.frob.com>
12424
12425 * sysdeps/unix/bsd/confstr.h: File removed.
12426
b6c5ec07
AO
124272012-10-02 Alexandre Oliva <aoliva@redhat.com>
12428
12429 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12430 sys/sdt-config.h.
12431
408223d4
RM
124322012-10-02 Roland McGrath <roland@hack.frob.com>
12433
12434 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12435 Make 'mapoff' field ElfW(Off) rather than off_t.
12436
bb9510dc
DL
124372012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12438
fc997c6e
DL
12439 * nscd/Makefile: Remove nscd-cflags and all its users.
12440 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12441 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12442
bb9510dc
DL
12443 [BZ #10631]
12444 * malloc.c (malloc_printerr): Clarify error message.
12445
05699367
L
124462012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12447
12448 [BZ #14648]
12449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12450 Set bit_FMA_Usable if FMA is supported.
12451 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12452 macro.
12453 (bit_FMA4_Usable): Updated.
12454 (index_FMA_Usable): New macro.
12455 (CPUID_FMA): Likewise
12456 (HAS_FMA): Defined with bit_FMA_Usable.
12457
51367701
RM
124582012-10-01 Roland McGrath <roland@hack.frob.com>
12459
12460 * bits/types.h (__swblk_t): Type removed.
12461 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12462 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12464 (__SWBLK_T_TYPE): Likewise.
12465 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12466 (__SWBLK_T_TYPE): Likewise.
12467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12468 (__SWBLK_T_TYPE): Likewise.
12469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12470 (__SWBLK_T_TYPE): Likewise.
12471
4d57bf63 124722012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12473 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12474
12475 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12476 (xdr_mapname): Use YPMAXMAP as maxsize.
12477 (xdr_peername): Use YPMAXPEER as maxsize.
12478 (xdr_keydat): Use YPAXRECORD as maxsize.
12479 (xdr_valdat): Use YPMAXRECORD as maxsize.
12480
93c65d43
RM
124812012-10-01 Roland McGrath <roland@hack.frob.com>
12482
497a03d6
RM
12483 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12484
93c65d43
RM
12485 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12486 * csu/init-first.c: ... here.
12487 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12488 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12489 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12490 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12491 * sysdeps/i386/init-first.c: File removed.
12492 * sysdeps/sh/init-first.c: File removed.
12493
bec749fd
JM
124942012-10-01 Joseph Myers <joseph@codesourcery.com>
12495
12496 [BZ #14645]
12497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12498 if x * y might underflow to zero and z is zero.
12499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12501 * math/libm-test.inc (min_subnorm_value): New variable.
12502 (fma_test): Add more tests.
12503 (fma_test_towardzero): Likewise.
12504 (fma_test_downward): Likewise
12505 (fma_test_upward): Likewise.
12506 (initialize): Set min_subnorm_value.
12507
8ec5b013
JM
125082012-09-29 Joseph Myers <joseph@codesourcery.com>
12509
12510 [BZ #14638]
12511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12512 0 + 0.
12513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12514 mode for addition resulting in exact zero.
12515 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12517 exact 0 + 0.
12518 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12520 * math/libm-test.inc (fma_test): Add more tests.
12521 (fma_test_towardzero): New function.
12522 (fma_test_downward): Likewise.
12523 (fma_test_upward): Likewise.
12524 (main): Call the new functions.
12525
b1fa802e
DM
125262012-09-28 David S. Miller <davem@davemloft.net>
12527
12528 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12529
d3b9fd9e
RM
125302012-09-28 Roland McGrath <roland@hack.frob.com>
12531
ea4d37b3
RM
12532 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12533 instead of SIGALRM.
12534
ac51c949
RM
12535 * sysdeps/gnu/_G_config.h: Moved to ...
12536 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12537 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12538 * sysdeps/generic/_G_config.h: ... here.
12539
28c195f7
RM
12540 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12541
848917f9
RM
12542 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12543
6bacf05b
RM
12544 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12545 Conditionalize target on [libnss_test1.so-version].
12546
91363dbb
RM
12547 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12548
cc87f7d8
RM
12549 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12550 (elfobjdir): Move out of conditionals.
12551
b1c608fe
RM
12552 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12553 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12554 (__nss_lookup_function): Conditionalize label remove_from_tree on
12555 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12556
1d9a6d96
DM
125572012-09-28 David S. Miller <davem@davemloft.net>
12558
12559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12560 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12561 file.
12562 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12563 sysdep_routines.
12564 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12566 when HWCAP_SPARC_CRYPTO is present.
12567
72581615
PT
125682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12569
12570 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12571
715a900c
JL
125722012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12573
12574 [BZ #6530]
12575 * stdio-common/vfprintf.c (process_string_arg): Revert
12576 2000-07-22 change.
12577
125782011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12579
12580 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12581 for testcase.
12582 * stdio-common/tst-sprintf.c: Include <locale.h>
12583 (main): Test sprintf's handling of incomplete multibyte
12584 characters.
12585
9bac1d86
L
125862012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12587
12588 * elf/dl-runtime.c (VERSYMIDX): Removed.
12589 * elf/dl-version.c (VERSYMIDX): Likewise.
12590 * elf/do-rel.h (VERSYMIDX): Likewise.
12591 (VALIDX): Likewise.
12592 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12593 * elf/rtld.c (VALIDX): Likewise.
12594 (ADDRIDX): Likewise.
9bac1d86
L
12595 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12596 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12597 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12598 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12599 (VALIDX): Likewise.
12600 (ADDRIDX): Likewise.
9bac1d86 12601
b31606c0
PT
126022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12603
12604 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12605
11541177
JL
126062012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12607
12608 [BZ #11438]
12609 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12610 to global scope.
12611 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12612 addresses are in the same scope as 192.0.2/24.
12613 * posix/gai.conf: Document new scope table defaults.
12614
adb26fae
SP
126152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12616
12617 [BZ #5298]
12618 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12619 for ftell. Compute offsets from write pointers instead.
12620 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12621
4573c6b0
SP
126222012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12623
12624 [BZ #14543]
12625 * libio/Makefile (tests): New test case tst-fseek.
12626 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12627 combination works in wide mode.
12628 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12629 state when the external buffer state changes.
12630
aa9bbfe6
DM
126312012-09-27 David S. Miller <davem@davemloft.net>
12632
12633 [BZ #14376]
12634 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12635 pass reloc->r_addend in as the 'high' argument to
12636 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12637
784421e7
DM
12638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12639
c39bc8b8
PT
126402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12641
12642 * rt/tst-aio2.c: Include <pthread.h>.
12643 * rt/tst-aio3.c: Likewise.
12644
1ccc2399
SE
126452012-09-27 Steve Ellcey <sellcey@mips.com>
12646
12647 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12648
31ed4153
L
126492012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12650
25f5f885
L
12651 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12652 contents on [SHARED].
31ed4153 12653
b7bfe116
MP
126542012-09-26 Marek Polacek <polacek@redhat.com>
12655
12656 [BZ #14530]
12657 [BZ #13741]
12658 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12659 for C++ and GCC <4.3 as well as for non GCC compilers.
12660
43c4edba
MT
126612012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12662
12663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12664
6a1bf82f
RM
126652012-09-25 Roland McGrath <roland@hack.frob.com>
12666
12667 * Makefile.in (all, install): Declare with .PHONY.
12668 Reported by Michael Hope <michael.hope@linaro.org>.
12669
8ad11b9a
TMQMF
126702012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12671
12672 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12673 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12674 system header.
12675 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12676 Likewise.
12677 (sydep_routines): Add the new and the internal functions.
12678 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12679 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12681 (GLIBC_2.17): Add the new function.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12683 (GLIBC_2.17): Likewise.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12685 (GLIBC_2.17): Likewise.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12687 (GLIBC_2.17): Likewise.
12688 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12689
7e2fca8d
AM
126902012-09-25 Alan Modra <amodra@gmail.com>
12691
12692 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12693 Add release barrier before setting once_control to say
12694 initialisation is done. Add hints on lwarx. Use macro in
12695 place of isync.
12696 (clear_once_control): Add release barrier.
12697
b87c4b24
JM
126982012-09-25 Joseph Myers <joseph@codesourcery.com>
12699
d032e0d2
JM
12700 [BZ #13629]
12701 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12702 specially.
12703 * math/s_clog10.c (__clog10): Likewise.
12704 * math/s_clog10f.c (__clog10f): Likewise.
12705 * math/s_clog10l.c (__clog10l): Likewise.
12706 * math/s_clogf.c (__clogf): Likewise.
12707 * math/s_clogl.c (__clogl): Likewise.
12708 * math/Makefile (libm-calls): Add x2y2m1.
12709 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12710 (__x2y2m1): Likewise.
12711 (__x2y2m1l): Likewise.
12712 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12713 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12714 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12716 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12717 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12718 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12719 * sysdeps/i386/fpu/libm-test-ulps: Update.
12720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12721
b87c4b24
JM
12722 [BZ #14621]
12723 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12724 int as type of variable DEPTH.
12725 (glob): Use size_t instead of int as type of variables NEWCOUNT
12726 and OLD_PATHC.
12727
6d3bf199
LD
127282012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12729
22bf5c17
LD
12730 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12731 Add s_sincosf-sse2.
12732 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12733 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12734 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12735 macros for using routine as __sincosf_ia32.
12736 Use macro for function declaration and weak_alias.
12737 * sysdeps/i386/fpu/libm-test-ulps: Update.
12738
12739 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12741
12742 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12743 subnormal argument.
12744 * math/s_cexpf.c (__cexpf): Likewise.
12745 * math/s_csinf.c (__csinf): Likewise.
12746 * math/s_csinhf.c (__csinhf): Likewise.
12747 * math/s_ctanf.c (__ctanf): Likewise.
12748 * math/s_ctanhf.c (__ctanhf): Likewise.
12749 * math/s_ccosh.c (__ccoshf): Likewise.
12750 * math/s_cexp.c (__cexpl): Likewise.
12751 * math/s_csin.c (__csin): Likewise.
12752 * math/s_csinh.c (__csinh): Likewise.
12753 * math/s_ctan.c (__ctan): Likewise.
12754 * math/s_ctanh.c (ctanh): Likewise.
12755 * math/s_ccoshl.c (__ccoshl): Likewise.
12756 * math/s_cexpl.c (__cexpl): Likewise.
12757 * math/s_csinl.c (__csinl): Likewise.
12758 * math/s_csinhl.c (__csinhl): Likewise.
12759 * math/s_ctanl.c (__ctanl): Likewise.
12760 * math/s_ctanhl.c (__ctanhl): Likewise.
12761
203e5603
JM
127622012-09-25 Joseph Myers <joseph@codesourcery.com>
12763
12764 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12765 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12766 (_IO_off_t): Define to __off_t, not _G_off_t.
12767 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12768 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12769 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12770 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12771 type of __dummy and __dummy2 fields.
12772 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12773 (_G_ssize_t): Likewise.
12774 (_G_off_t): Likewise.
12775 (_G_pid_t): Likewise.
12776 (_G_uid_t): Likewise.
12777 (_G_wchar_t): Likewise.
12778 (_G_wint_t): Likewise.
12779 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12780 (_G_ssize_t): Likewise.
12781 (_G_off_t): Likewise.
12782 (_G_pid_t): Likewise.
12783 (_G_uid_t): Likewise.
12784 (_G_wchar_t): Likewise.
12785 (_G_wint_t): Likewise.
12786 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12787 (_G_ssize_t): Likewise.
12788 (_G_off_t): Likewise.
12789 (_G_pid_t): Likewise.
12790 (_G_uid_t): Likewise.
12791 (_G_wchar_t): Likewise.
12792 (_G_wint_t): Likewise.
12793
9fab36eb
SP
127942012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12795
12796 * malloc/arena.c: Include malloc-sysdep.h.
12797 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12798 is sufficient to shrink the heap or an unmap is needed.
12799 * sysdeps/generic/malloc-sysdep.h: New file. Define
12800 new function check_may_shrink_heap.
12801 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12802 new function check_may_shrink_heap.
12803
2b4f00d1
SP
128042012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12805
12806 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12807 comments.
12808
9a9028b1
DL
128092012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12810
57c69bef
DL
12811 * catgets/test-gencat.sh: Add "set -e".
12812 * elf/tst-pathopt.sh: Likewise.
12813 * grp/tst_fgetgrent.sh: Likewise.
12814 * iconvdata/run-iconv-test.sh: Likewise.
12815 * intl/tst-gettext.sh: Likewise.
12816 * intl/tst-gettext2.sh: Likewise.
12817 * intl/tst-gettext4.sh: Likewise.
12818 * intl/tst-gettext6.sh: Likewise.
12819 * intl/tst-translit.sh: Likewise.
12820 * io/ftwtest-sh: Likewise.
12821 * libio/test-freopen.sh: Likewise.
12822 * malloc/tst-mtrace.sh: Likewise.
12823 * posix/globtest.sh: Likewise.
12824 * posix/tst-getconf.sh: Likewise.
12825 * posix/wordexp-tst.sh: Likewise.
12826 * stdio-common/tst-printf.sh: Likewise.
12827 * stdio-common/tst-unbputc.sh: Likewise.
12828 * stdlib/tst-fmtmsg.sh: Likewise.
12829 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12830 * catgets/Makefile: Do not specify -e option when running
12831 testsuite shell scripts.
12832 * elf/Makefile: Likewise.
12833 * grp/Makefile: Likewise.
12834 * iconvdata/Makefile: Likewise.
12835 * intl/Makefile: Likewise.
12836 * io/Makefile: Likewise.
12837 * libio/Makefile: Likewise.
12838 * malloc/Makefile: Likewise.
12839 * posix/Makefile: Likewise.
12840 * stdio-common/Makefile: Likewise.
12841 * stdlib/Makefile: Likewise.
12842 * sysdeps/x86_64/Makefile: Likewise.
12843
9a9028b1
DL
12844 * io/ftwtest-sh: Add copyright header.
12845 * posix/globtest.sh: Likewise.
12846 * posix/tst-getconf.sh: Likewise.
12847 * posix/wordexp-tst.sh: Likewise.
12848 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12849
ced6f16e
L
128502012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12851
94b32c39
L
12852 [BZ #13679]
12853 * Makeconfig (+link): Defined as $(+link-static) if
12854 $(build-shared) isn't yes.
12855 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12856 isn't yes.
12857 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12858
189e935b
L
12859 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12860
ced6f16e
L
12861 [BZ #14562]
12862 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12863 new chunk size with MALLOC_ALIGN_MASK.
12864
a9f8e53a
JM
128652012-09-24 Joseph Myers <joseph@codesourcery.com>
12866
12867 [BZ #5044]
12868 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12869 <rounding-mode.h>.
12870 (__printf_fphex): Determine rounding using get_rounding_mode and
12871 round_away.
12872 * stdio-common/tst-printf-round.c (struct hex_test): New
12873 structure.
12874 (hex_tests): New variable.
12875 (test_hex_in_one_mode): New function.
12876 (do_test): Also run tests for hex float output.
12877
43153109
JM
128782012-09-21 Joseph Myers <joseph@codesourcery.com>
12879
12880 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12881 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12882 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12883 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12884 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12885 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12886 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12887 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12888
8a26625d
JM
128892012-09-20 Joseph Myers <joseph@codesourcery.com>
12890
12891 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12892 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12893 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12894 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12895
f3fd569c
DL
128962012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12897
12898 [BZ #14579]
12899 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12900 mode only.
12901 * elf/tst-rtld-load-self.sh: New test.
12902 * elf/Makefile: Run it.
12903
63bbedd4
JM
129042012-09-18 Joseph Myers <joseph@codesourcery.com>
12905
12906 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12907 (tst-writev-ENV): Remove.
12908 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12909
626f8b6a
CM
129102012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12911
12912 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12913
b7aaa4d6
JM
129142012-09-17 Joseph Myers <joseph@codesourcery.com>
12915
12916 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12917 unconditional.
12918 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12919 Likewise.
12920 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12921 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12922 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12923 Likewise.
12924
65513990
L
129252012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 [BZ #14587]
12928 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12929 * config.make.in (have-cpp-asm-debuginfo): Removed.
12930 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12931 * configure: Regenerated.
12932
784761be
JM
129332012-09-14 Joseph Myers <joseph@codesourcery.com>
12934
12935 [BZ #5044]
12936 * stdio-common/printf_fp.c: Include <stdbool.h> and
12937 <rounding-mode.h>.
12938 (___printf_fp): Determine rounding using get_rounding_mode and
12939 round_away.
12940 * stdio-common/tst-printf-round.c: New file.
12941 * stdio-common/Makefile (tests): Add tst-printf-round.
12942 (link-libm): New variable.
12943 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12944
9503345f
L
129452012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12946
12947 [BZ #14576]
12948 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12949 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12950 Likewise.
12951 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12952 Likewise.
12953
ad35fc00
JM
129542012-09-13 Joseph Myers <joseph@codesourcery.com>
12955
12956 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12957 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12958 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12959 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12960
6c9b0f68
JM
129612012-09-12 Joseph Myers <joseph@codesourcery.com>
12962
12963 [BZ #14518]
12964 * include/rounding-mode.h: New file.
12965 * sysdeps/generic/get-rounding-mode.h: Likewise.
12966 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12967 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12968 (MAX_VALUE): New macro.
12969 (MIN_VALUE): Likewise.
12970 (overflow_value): New function.
12971 (underflow_value): Likewise.
12972 (round_and_return): Use overflow_value and underflow_value to
12973 determine return values in overflow and underflow cases. Use
12974 round_away to determine rounding depending on rounding mode.
12975 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12976 determine return values in overflow and underflow cases.
12977 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12978 (struct test_results): New structure.
12979 (struct test): Use struct test_results to store expected results
12980 for all rounding modes.
12981 (TEST): Include expected results for all rounding modes.
12982 (test_in_one_mode): New function.
12983 (do_test): Use test_in_one_mode to compute and check results.
12984 Check results for all rounding modes.
12985 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12986 $(link-libm).
12987
19fcedd5
AM
129882012-12-09 Allan McRae <allan@archlinux.org>
12989
1e9d84cd 12990 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12991
8bbfd2f1
JM
129922012-09-11 Joseph Myers <joseph@codesourcery.com>
12993
12994 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12995 (_G_int32_t): Likewise.
12996 (_G_uint16_t): Likewise.
12997 (_G_uint32_t): Likewise.
12998 (_G_HAVE_BOOL): Likewise.
12999 (_G_HAVE_ATEXIT): Likewise.
13000 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13001 (_G_HAVE_IO_FILE_OPEN): Likewise.
13002 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13003 (_G_int32_t): Likewise.
13004 (_G_uint16_t): Likewise.
13005 (_G_uint32_t): Likewise.
13006 (_G_HAVE_BOOL): Likewise.
13007 (_G_HAVE_ATEXIT): Likewise.
13008 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13009 (_G_HAVE_IO_FILE_OPEN): Likewise.
13010 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13011 (_G_int32_t): Likewise.
13012 (_G_uint16_t): Likewise.
13013 (_G_uint32_t): Likewise.
13014 (_G_HAVE_BOOL): Likewise.
13015 (_G_HAVE_ATEXIT): Likewise.
13016 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13017 (_G_HAVE_IO_FILE_OPEN): Likewise.
13018
b1dc5912
L
130192012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13020
13021 * csu/libc-tls.c: Update copyright years.
13022
0e886ef9
JM
130232012-09-10 Joseph Myers <joseph@codesourcery.com>
13024
28361c5e
JM
13025 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13026 [!_G_USING_THUNKS]: Remove conditional code.
13027 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13028 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13029
0e886ef9
JM
13030 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13031 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13032 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13033 (_G_VTABLE_LABEL_PREFIX): Likewise.
13034 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13035 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13036 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13037 (_G_VTABLE_LABEL_PREFIX): Likewise.
13038 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13039 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13040 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13041 (_G_VTABLE_LABEL_PREFIX): Likewise.
13042 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13043
bcba7aa2
L
130442012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13045
13046 * libio/Makefile: Include ../Makeconfig before tests.
13047 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13048 only if $(build-shared) is yes.
13049
06585ee8
L
13050 * iconv/gconv_db.c: Update copyright years.
13051
80ccd52c
LD
130522012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13053
13054 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13055 unwind info if defined PIC. Fix special cases description.
13056 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13057
13058 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13059 DP_HI_MASK entry.
13060 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13061
691bc9c1
L
130622012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13063
3d9b46b3
L
13064 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13065
de2139a9
L
13066 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13067 is NULL.
13068
5ca78dd0
L
13069 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13070 (LDLIBS-tst-chk4): This.
13071 (LDFLAGS-tst-chk5): Renamed to ...
13072 (LDLIBS-tst-chk5): This.
13073 (LDFLAGS-tst-chk6): Renamed to ...
13074 (LDLIBS-tst-chk6): This.
13075 (LDFLAGS-tst-lfschk4): Renamed to ...
13076 (LDLIBS-tst-lfschk4): This.
13077 (LDFLAGS-tst-lfschk5): Renamed to ...
13078 (LDLIBS-tst-lfschk5): This.
13079 (LDFLAGS-tst-lfschk6): Renamed to ...
13080 (LDLIBS-tst-lfschk6): This.
13081
691bc9c1
L
13082 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13083 on $(common-objpfx)soversions.mk.
13084
65cafb1c
JM
130852012-09-07 Joseph Myers <joseph@codesourcery.com>
13086
13087 [BZ #10014]
13088 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13089 example host name.
13090
c78ab094
SP
130912012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13092
13093 * malloc/arena.c (arena_get_retry): New function that gets
13094 another arena for the caller to try its request on.
13095 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13096 current arena cannot fulfill the request.
13097 (__libc_memalign): Likewise.
13098 (__libc_memalign): Likewise.
13099 (__libc_pvalloc): Likewise.
13100 (__libc_calloc): Likewise.
13101
01f49f59
JT
131022012-09-05 John Tobey <john.tobey@gmail.com>
13103
13104 [BZ #13542]
13105 * manual/arith.texi (Operations on Complex): Fix description
13106 of carg branch cut.
13107
4c23fed5
JM
131082012-09-06 Joseph Myers <joseph@codesourcery.com>
13109
1d3c8572
JM
13110 [BZ #10014]
13111 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13112 host name.
13113
4c23fed5
JM
13114 [BZ #10038]
13115 * manual/memory.texi (Memory): Make order of menu items match
13116 order of sections.
13117
04570aaa
L
131182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13119
13120 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13121 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13122 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13123
b80af2f4
L
131242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13125
13126 * csu/libc-tls.c (static_dtv): Renamed to ...
13127 (_dl_static_dtv): This. Make it global.
13128 (_dl_initial_dtv): Removed.
13129 (__libc_setup_tls): Updated.
13130 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13131 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13132 DL_INITIAL_DTV.
13133
2abe9f15
PM
131342012-09-06 Petr Machata <pmachata@redhat.com>
13135
13136 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13137 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13138 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13139 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13140
0948c3af
L
131412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13142
13143 [BZ #14545]
13144 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13145 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13146 freeing dtv[-1].
13147
a5055ad1
L
131482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13149
13150 [BZ #14544]
13151 * Makeconfig (link-static-before-libc): Replace $(+prector)
13152 with $(+prectorT).
13153 (link-static-after-libc): Replace $(+postctor) with
13154 $(+postctorT).
13155 (link-bounded): Replace $(+prector)/$(+postctor) with
13156 $(+prectorT)/$(+postctorT).
13157 (+prectorT): New macro.
13158 (+postctorT): Likewise.
13159
ed8c2ecd
JM
131602012-09-06 Joseph Myers <joseph@codesourcery.com>
13161
13162 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13163 (round_str): Handle values above the maximum for IBM long double
13164 as inexact.
13165 * stdlib/tst-strtod-round.c (tests): Regenerated.
13166
14c996c8
AK
131672012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13168
13169 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13170 assembler flag.
13171 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13172 zarch_nohighgprs around the zarch optimized routines.
13173 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13174 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13175 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13176 for zarch.
13177
430d6ce6
DM
131782012-09-05 David S. Miller <davem@davemloft.net>
13179
13180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13181
ff04dda4
DM
13182 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13183 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13184 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13185 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13186 entries.
13187
24d4e01b
AO
131882012-09-05 Alexandre Oliva <aoliva@redhat.com>
13189
13190 * malloc/arena.c: Fold copyright years.
13191 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13192
61d58174
AO
131932012-09-05 Alexandre Oliva <aoliva@redhat.com>
13194
13195 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13196
20196a5e
AO
131972012-09-05 Alexandre Oliva <aoliva@redhat.com>
13198
13199 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13200
5c447383
AO
132012012-09-05 Alexandre Oliva <aoliva@redhat.com>
13202
13203 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13204 change internal state upon failure.
13205
fad64255
AO
132062012-09-05 Alexandre Oliva <aoliva@redhat.com>
13207
13208 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13209 * malloc/memusage.c (mmap): Likewise.
13210 (mmap64, mremap): Likewise. Adjust name in comment.
13211
1ffb8c90
SP
132122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13213
13214 * libio/fileops.c: Fix typos in comments.
13215 * libio/oldfileops.c: Likewise.
13216 * libio/wfileops.c: Likewise.
13217
6ef9cc37
SP
132182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13219
13220 [BZ #1349]
13221 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13222 (tst-malloc-usable-ENV): Set environment for test case.
13223 * malloc/hooks.c (malloc_check_get_size): New function to get
13224 requested size.
13225 * malloc/malloc.c (musable): Use malloc_check_get_size.
13226 * malloc/tst-malloc-usable.c: New test case.
13227
4d038ae3
AS
132282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13229
13230 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13231
c4e85184
AM
132322012-09-05 Allan McRae <allan@archlinux.org>
13233
b9dafc56 13234 [BZ #13966]
c4e85184
AM
13235 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13236 determine header location.
13237 * configure: Regenerated.
13238
e1343020
AS
132392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13240
13241 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13242 float format.
13243 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13244 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13245 format.
e1343020
AS
13246 (test): Regenerate.
13247
0a9f1987
DM
132482012-09-04 David S. Miller <davem@davemloft.net>
13249
13250 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13251 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13252 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13253
29237804
FW
132542012-09-04 Florian Weimer <fweimer@redhat.com>
13255
13256 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13257 failures.
13258
edb3cb88
FW
13259 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13260
60160d83
JM
132612012-09-04 Joseph Myers <joseph@codesourcery.com>
13262
13263 [BZ #9914]
13264 * libio/iogetdelim.c: Include <limits.h>.
13265 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13266 + len + 1 would overflow.
13267
bcd6c8dc
AJ
132682012-09-03 Andreas Jaeger <aj@suse.de>
13269
13270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13271 * sysdeps/i386/fpu/libm-test-ulps: Update.
13272
4ffffbd2
LD
132732012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13274
13275 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13276 Add s_sinf-sse2, s_conf-sse2.
13277
13278 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13279 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13280 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13281 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13282
13283 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13284 for using routine as __sinf_ia32.
13285 Use macro for function declaration and weak_alias.
13286 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13287 for using routine as __cosf_ia32.
13288 Use macro for function declaration and weak_alias.
13289
13290 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13291 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13292
13293 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13294 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13296
13297 * math/libm-test.inc (cos_test): Add more test cases.
13298 (sin_test): Likewise.
13299 (sincos_test): Likewise.
13300
511fa286
AK
133012012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13302
13303 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13304 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13305 hidden.
13306 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13307
5f30cfec
L
133082012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13309
13310 [BZ #14538]
13311 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13312 first element of the GOT.
13313 (elf_machine_load_address): Return the difference between
13314 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13315
0786794f
AM
133162012-09-01 Allan McRae <allan@archlinux.org>
13317
5f30cfec
L
13318 [BZ #13412]
13319 * configure.in (AWK): Require gawk version 3.0 or later.
13320 * configure: Regenerated.
0786794f 13321
26889eac
JM
133222012-09-01 Joseph Myers <joseph@codesourcery.com>
13323
13324 * sysdeps/unix/sysv/linux/kernel-features.h
13325 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13326 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13327 [__NR_clock_getres]: Make code unconditional.
13328 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13329 (clock_getcpuclockid): Remove code left unreachable by removal of
13330 conditionals.
13331 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13332 code unconditional.
13333 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13334 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13335 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13336 Make code unconditional.
13337 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13338 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13339 * sysdeps/unix/sysv/linux/clock_settime.c
13340 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13341 conditional code.
13342 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13343 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13344
d22e28b0
L
133452012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13346
13347 [BZ #14476]
13348 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13349 scripts/test-installation.pl.
13350
13351 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13352 and $ld_so_version if it is set.
13353
050af9c4
SP
133542012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13355
13356 [BZ #14516]
13357 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13358 failure if reading from procfs failed.
13359 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13360
ad845c0b
JM
133612012-08-27 Joseph Myers <joseph@codesourcery.com>
13362
13363 * sysdeps/unix/sysv/linux/kernel-features.h
13364 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13365 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13366 Remove conditional code.
13367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13368 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13369 Remove conditional code.
13370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13371 * sysdeps/unix/sysv/linux/i386/fxstat.c
13372 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13374 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13375 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13377 * sysdeps/unix/sysv/linux/i386/lxstat.c
13378 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13380 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13381 Remove conditional code.
13382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13383 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13384 Remove conditional code.
13385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13386 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13387 <kernel-features.h>.
13388 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13389 Remove.
13390 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13391 Remove conditional code.
13392 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13393 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13394 Remove conditional.
13395
5dbf56af
MF
133962012-08-27 Mike Frysinger <vapier@gentoo.org>
13397
13398 [BZ #5400]
13399 * NEWS: Add fixed bug number.
13400
d6e70f43
JM
134012012-08-27 Joseph Myers <joseph@codesourcery.com>
13402
7efb4737
JM
13403 [BZ #14519]
13404 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13405 underflowing exponent in case of negative sign.
13406 * stdlib/tst-strtod-round-data: Add more tests.
13407 * stdlib/tst-strtod-round.c (tests): Regenerated.
13408
af92131a
JM
13409 [BZ #3479]
13410 * stdlib/strtod_l.c (NDIG): Remove.
13411 (HEXNDIG): Likewise.
13412 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13413 smallest representable value.
13414 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13415 lie within an exact representation of 1/2 ulp of the result.
13416 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13417 unconditionally.
13418 (TENS_P9_IDX): Define unconditionally.
13419 (TENS_P9_SIZE): Likewise.
13420 (TENS_P10_IDX): Likewise.
13421 (TENS_P10_SIZE): Likewise.
13422 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13423 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13424 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13425 entries for 10^2^13 and 10^2^14.
13426 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13427 (TENS_P13_IDX): Define.
13428 (TENS_P13_SIZE): Likewise.
13429 (TENS_P14_IDX): Likewise.
13430 (TENS_P14_SIZE): Likewise.
13431 (_fpioconst_pow10): Change array size to
13432 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13433 unconditional.
13434 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13435 1024]: Add entries for 10^2^13 and 10^2^14.
13436 [LAST_POW10 > _LAST_POW10]: Remove #error.
13437 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13438 (_fpioconst_pow10): Change array size to
13439 FPIOCONST_POW10_ARRAY_SIZE.
13440 * stdlib/gen-fpioconst.c: New file.
13441 * stdlib/gen-tst-strtod-round.c: Likewise.
13442 * stdlib/tst-strtod-round-data: Likewise.
13443 * stdlib/tst-strtod-round.c: Likewise.
13444 * stdlib/Makefile (tests): Add tst-strtod-round.
13445
d6e70f43
JM
13446 [BZ #14459]
13447 * stdlib/strtod_l.c: Include <stdint.h>.
13448 (NDEBUG): Do not define.
13449 (round_and_return): Change EXPONENT parameter to type intmax_t.
13450 Rearrange calculations to avoid internal overflow possibilities.
13451 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13452 Rearrange calculations to avoid internal overflow possibilities.
13453 Assert that number fits inside MPNSIZE limbs.
13454 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13455 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13456 calculations and add assertions to avoid internal overflow
13457 possibilities. Add casts to avoid signed/unsigned operations.
13458 * stdlib/tst-strtod-overflow.c: New file.
13459 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13460
1f529f7d
MP
134612012-08-25 Marek Polacek <polacek@redhat.com>
13462
13463 * time/time.h: Fix some typos in comments.
13464
59a629f1
RM
134652012-08-23 Roland McGrath <roland@hack.frob.com>
13466
13467 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13468 * posix/tst-rfc3484-2.c: Likewise.
13469 * posix/tst-rfc3484-3.c: Likewise.
13470
d3bafbc9
SM
134712012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13472
13473 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13474 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13475
4efcc022
JM
134762012-08-23 Joseph Myers <joseph@codesourcery.com>
13477
13478 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13479 #include of fxstatat64.c.
13480
3cc3ef96
RM
134812012-08-22 Roland McGrath <roland@hack.frob.com>
13482
f04e2132
RM
13483 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13484 * shadow/getspent_r.c: Likewise.
13485 * shadow/getspnam.c: Likewise.
13486 * shadow/getspnam_r.c: Likewise.
13487 * gshadow/getsgent.c: Likewise.
13488 * gshadow/getsgent_r.c: Likewise.
13489 * gshadow/getsgnam.c: Likewise.
13490 * gshadow/getsgnam_r.c: Likewise.
13491 * inet/getnetbyad.c: Likewise.
13492 * inet/getnetbyad_r.c: Likewise.
13493 * inet/getnetbynm.c: Likewise.
13494 * inet/getnetbynm_r.c: Likewise.
13495 * inet/getnetent.c: Likewise.
13496 * inet/getnetent_r.c: Likewise.
13497 * inet/getproto.c: Likewise.
13498 * inet/getproto_r.c: Likewise.
13499 * inet/getprtent.c: Likewise.
13500 * inet/getprtent_r.c: Likewise.
13501 * inet/getprtname.c: Likewise.
13502 * inet/getprtname_r.c: Likewise.
13503 * inet/getrpcbyname.c: Likewise.
13504 * inet/getrpcbyname_r.c: Likewise.
13505 * inet/getrpcbynumber.c: Likewise.
13506 * inet/getrpcbynumber_r.c: Likewise.
13507 * inet/getrpcent.c: Likewise.
13508 * inet/getrpcent_r.c: Likewise.
13509 * inet/getaliasent.c: Likewise.
13510 * inet/getaliasent_r.c: Likewise.
13511 * inet/getaliasname.c: Likewise.
13512 * inet/getaliasname_r.c: Likewise.
13513 * nscd/getgrgid_r.c: Likewise.
13514 * nscd/getgrnam_r.c: Likewise.
13515 * nscd/gethstbyad_r.c: Likewise.
13516 * nscd/gethstbynm3_r.c: Likewise.
13517 * nscd/getpwnam_r.c: Likewise.
13518 * nscd/getpwuid_r.c: Likewise.
13519 * nscd/getsrvbynm_r.c: Likewise.
13520 * nscd/getsrvbypt_r.c: Likewise.
13521 * nscd/gai.c: Likewise.
13522
c53d909c
RM
13523 * configure.in (build_nscd): New substituted variable, set
13524 by --disable-build-nscd and defaults to $use_nscd.
13525 * configure: Regenerated.
13526 * config.make.in (build-nscd): New substituted variable.
13527 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13528 Change conditional to require [$(build-nscd) = yes] as well.
13529 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13530
3cc3ef96
RM
13531 [BZ# 13696]
13532 * configure.in (use_nscd): New substituted variable, set by
13533 --disable-nscd. If enabled, define USE_NSCD.
13534 * configure: Regenerated.
13535 * config.h.in: Add USE_NSCD.
13536 * config.make.in (use-nscd): New substituted variable.
13537 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13538 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13539 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13540 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13541 (CFLAGS-getgrnam_r.c): Likewise.
13542 (CFLAGS-initgroups.c): Likewise.
13543 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13544 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13545 Variables removed.
13546 * inet/getnetgrent_r.c
13547 (nscd_setnetgrent): New function, broken out of ...
13548 (setnetgrent): ... here. Call it.
13549 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13550 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13551 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13552 * nscd/Makefile (routines, aux): Move definitions after include of
13553 Makeconfig. Conditionalize on [$(use-nscd) != no].
13554 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13555 Conditionalize on [USE_NSCD].
13556 (is_nscd, nscd_init_cb): Likewise.
13557 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13558 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13559 * nss/nss_db/db-init.c: Likewise.
13560 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13561 [USE_NSCD].
13562 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13563 (make_request): Use it.
13564 (cache_valid_p): New function.
13565 (__check_pf): Use it.
13566 * NEWS: Add item for --disable-nscd.
13567
07e51550
DL
135682012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13569
13570 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13571 to support sed >= 4.2.1-20-ga9bf076.
13572 * configure: Regenerated.
13573
35a5b08b
RM
135742012-08-22 Roland McGrath <roland@hack.frob.com>
13575
13576 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13577 Conditionalize whole body on [IREL].
13578
8479f23a
JL
135792012-08-22 Jeff Law <law@redhat.com>
13580
13581 [BZ #14505]
13582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13583 if the family is PF_UNSPEC.
13584
48da0b21
MF
135852012-08-22 Mike Frysinger <vapier@gentoo.org>
13586
13587 * Makerules (lib-version): Rename from V.
13588 (install-lib-nosubdir): Change V to lib-version.
13589
15d0da8c
WS
135902012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13591
13592 [BZ #14252]
13593 * powerpc32/power6/wcschr.c: New file.
13594 * powerpc32/power6/wcscpy.c: New file.
13595 * powerpc32/power6/wcsrchr.c: New file.
13596 * powerpc64/power6/wcschr.c: New file.
13597 * powerpc64/power6/wcscpy.c: New file.
13598 * powerpc64/power6/wcsrchr.c: New file.
13599
bcca0895
MK
136002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13601
13602 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13603 (two_way_short_needle): Use it.
5a4aaa33
RM
13604 * string/strstr.c (AVAILABLE1_USES_J): Define.
13605 * string/strcasestr.c: Likewise.
99677e57
MK
13606
13607 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13608 array references.
13609 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13610
400726de
MK
13611 [BZ #11607]
13612 * NEWS: Add an entry.
13613 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13614 define their defaults.
13615 (two_way_short_needle): Detect end-of-string on-the-fly.
13616 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13617 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13618 * string/bug-strcasestr1.c: New test.
13619 * string/Makefile: Run it.
13620
20a71f2c
MK
136212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13622
13623 [BZ #11607]
13624 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13625 the first character.
13626
21ad0558
RM
136272012-08-21 Roland McGrath <roland@hack.frob.com>
13628
13629 * csu/elf-init.c (__libc_csu_irel): Function removed.
13630 * csu/libc-start.c (apply_irel): New function.
13631 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13632
0e1d9911
JM
136332012-08-21 Joseph Myers <joseph@codesourcery.com>
13634
13635 * sysdeps/unix/sysv/linux/kernel-features.h
13636 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13637 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13638 <kernel-features.h>.
13639 [__NR_fadvise64_64]: Make code unconditional.
13640 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13641 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13642 !__NR_fadvise64_64)]: Likewise.
13643 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13644 !__NR_fadvise64_64))]: Likewise.
13645 [__NR_fadvise64]: Make code unconditional.
13646 [!__NR_fadvise64]: Remove conditional code.
13647 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13648 <kernel-features.h>.
13649 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13650 unconditional.
13651 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13652 conditional code.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13654 not include <kernel-features.h>.
13655 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13656 unconditional.
13657 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13658 conditional code.
13659 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13660 include <kernel-features.h>.
13661 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13662 unconditional.
13663 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13664 conditional code.
13665
14a50c9d
WS
136662012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13667
13668 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13669 slight instruction rearrangements per scrollpipe analysis.
13670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13671
c0f4faf0
RM
136722012-08-20 Roland McGrath <roland@hack.frob.com>
13673
696da859
RM
13674 * manual/syslog.texi (syslog; vsyslog, closelog):
13675 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13676 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13677
c0f4faf0
RM
13678 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13679 DSOCAPS to match condition on defining it.
13680
348363b2
JM
136812012-08-20 Joseph Myers <joseph@codesourcery.com>
13682
a35cbf28
JM
13683 * sysdeps/unix/sysv/linux/kernel-features.h
13684 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13686 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13687 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13689 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13690 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13692 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13693 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13694
445f7ecd
JM
13695 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13696 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13697
348363b2
JM
13698 * sysdeps/unix/sysv/linux/kernel-features.h
13699 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13700 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13701 unconditional.
13702 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13703 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13704 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13705 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13706 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13707 Make code unconditional.
13708 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13709 (__mmap64) [!__NR_mmap2]: Likewise.
13710 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13711 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13712 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13713 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13714 [__NR_mmap2]: Make code unconditional.
13715 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13716 (__mmap64) [!__NR_mmap2]: Likewise.
13717
bc5bc0e5
AK
137182012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13719
13720 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13721
88d506de
AJ
137222012-08-18 Andreas Jaeger <aj@suse.de>
13723
13724 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13725
493387d2
MF
137262012-08-18 Mike Frysinger <vapier@gentoo.org>
13727
13728 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13729 * include/unistd.h (__have_sock_cloexec): Likewise.
13730 (__have_pipe2): Likewise.
13731 (__have_dup3): Likewise.
13732
a277af22
MF
137332012-08-18 Mike Frysinger <vapier@gentoo.org>
13734
13735 [BZ #9685]
13736 * include/unistd.h (__have_pipe2): Change define into an extern int.
13737 (__have_dup3): Likewise.
13738 * socket/have_sock_cloexec.c: Include fcntl.h.
13739 (__have_pipe2): New variable.
13740 (__have_dup3): Likewise.
13741
fdab8fd3
MF
137422012-08-17 Mike Frysinger <vapier@gentoo.org>
13743
13744 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13745
31035e80
MP
137462012-08-17 Marek Polacek <polacek@redhat.com>
13747
13748 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13749 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13750
3bd9e993
RM
137512012-08-17 Roland McGrath <roland@hack.frob.com>
13752
c91c505f
RM
13753 * configure.in: Add AC_SUBST for sysheaders.
13754 * configure: Regenerated.
13755 * config.make.in (sysheaders): New substituted variable.
13756
7c6f9d53
RM
13757 * sysdeps/unix/mkfifo.c: Moved ...
13758 * sysdeps/posix/mkfifo.c: ... here.
13759 * sysdeps/unix/mkfifoat.c: Moved ...
13760 * sysdeps/posix/mkfifoat.c: ... here.
13761
13762 * sysdeps/unix/utime.c: Moved ...
13763 * sysdeps/posix/utime.c: ... here.
13764
13765 * sysdeps/unix/time.c: Moved ...
13766 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13767 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13768 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13769
13770 * sysdeps/unix/nice.c: Moved ...
13771 * sysdeps/posix/nice.c: ... here.
13772
13773 * sysdeps/unix/alarm.c: Moved ...
13774 * sysdeps/posix/alarm.c: ... here.
13775
3bd9e993
RM
13776 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13777
d1f09384
JL
137782012-08-17 Jeff Law <law@redhat.com>
13779
13780 * intl/Makefile (codeset_mo): New variable.
13781 ($(codeset_mo)): New target.
13782 (tst-codeset.out): Depend on that. Remove explicit rule.
13783 (tst-gettext3.out, tst-gettext5.out): Likewise.
13784 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13785 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13786 * intl/tst-codeset.sh: Remove.
13787 * intl/tst-gettext3.sh: Likewise.
13788 * intl/tst-gettext5.sh: Likewise.
13789
2ae1ae5c
RM
137902012-08-17 Roland McGrath <roland@hack.frob.com>
13791
c31fdb83
RM
13792 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13793 * sysdeps/unix/syscalls.list: ... here.
13794
a0844057
RM
13795 * sysdeps/posix/getaddrinfo.c
13796 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13797 (gaiconf_init, gaiconf_reload): Use them.
13798 [!_STATBUF_ST_NSEC]
13799 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13800 Define using time_t rather than struct timespec.
13801
750c1f2a
RM
13802 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13803 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13804 Macros removed.
13805 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13806 [!NO_THREADS].
13807 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13808 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13809 Likewise.
13810
2ae1ae5c
RM
13811 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13812 __libc_cleanup_push argument.
13813
e66a42f5
RM
13814 * bits/param.h: New file.
13815 * misc/sys/param.h: New file.
13816 * include/sys/param.h: New file.
13817 * misc/Makefile (headers): Add bits/param.h.
13818 * sysdeps/generic/sys/param.h: File removed.
13819 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13820 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13821 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13822 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13823
b7c08a66
RM
13824 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13825 last change.
13826
b2e1c562
RM
13827 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13828 [_IO_MTSAFE_IO].
13829 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13830 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13831 New macros.
13832
c75ccd4c
RM
13833 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13834 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13835 rather than -D_IO_MTSAFE_IO conditionally.
13836 * stdio-common/Makefile (CPPFLAGS): Likewise.
13837 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13838 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13839 Use $(libio-mtsafe).
13840 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13841 of -D_IO_MTSAFE_IO.
13842 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13843 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13844 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13845 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13846 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13847 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13848 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13849 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13850 (CFLAGS-fread_u_chk.c): Likewise.
13851 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13852 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13853 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13854 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13855 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13856 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13857 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13858 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13859 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13860
13861 * libio/Makefile: Test [$(libc-reentrant) = yes]
13862 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13863
13864 * Makeconfig
13865 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13866 * sysdeps/pthread/configure: File removed.
13867 * sysdeps/pthread/Makeconfig: New file.
13868 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13869 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13870
d9195db8
GB
138712012-08-16 Gary Benson <gbenson@redhat.com>
13872
13873 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13874 unmapping the first object in a namespace.
13875
86466cd9
RM
138762012-08-16 Roland McGrath <roland@hack.frob.com>
13877
13878 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13879 (__internal_setnetgrent): ... this. Add internal_function to
13880 definition. Add libc_hidden_def.
13881 (setnetgrent): Update caller.
13882 (internal_endnetgrent): Renamed to ...
13883 (__internal_endnetgrent): ... this. Add internal_function to
13884 definition. Add libc_hidden_def.
13885 (endnetgrent): Update caller.
13886 (internal_getnetgrent_r): Renamed to ...
13887 (__internal_getnetgrent_r): ... this. Add internal_function to
13888 definition. Add libc_hidden_def.
13889 (__getnetgrent_r): Update caller.
13890 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13891
c3c8283c
JM
138922012-08-16 Joseph Myers <joseph@codesourcery.com>
13893
13894 * stdlib/longlong.h: Update from GCC.
13895
db1ee0a8
RM
138962012-08-16 Roland McGrath <roland@hack.frob.com>
13897
13898 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13899 on _QL, which is set by umul_ppmm but never used.
13900 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13901 variables, which are set by GMP macros but never used.
13902 * stdio-common/_itowa.c (_itowa): Likewise.
13903 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13904 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13905
30f69637
CD
139062012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13907
13908 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13909 struct La_sh_regs is not constant.
13910 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13911 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13912 and struct La_sparc64_regs are not constant.
13913
93a78ac4
JM
139142012-08-16 Joseph Myers <joseph@codesourcery.com>
13915
13916 * sysdeps/unix/sysv/linux/kernel-features.h
13917 (__ASSUME_POSIX_TIMERS): Remove.
13918 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13920 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13921 Make code unconditional.
13922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13923 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13924 Make code unconditional.
13925 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13926 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13927 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13929 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13930 Make code unconditional.
13931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13932 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13933 (__libc_missing_posix_timers): Remove.
13934
dd924cd7
RM
139352012-08-15 Roland McGrath <roland@hack.frob.com>
13936
4b4f2771
RM
13937 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13938 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13939
601c888b
RM
13940 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13941
176790a7
RM
13942 * elf/dl-sym.c: Include <stdlib.h>.
13943
329bc018
RM
13944 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13945 constants, which avoids warnings in 32-bit builds.
13946
e04e272d
RM
13947 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13948 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13949
952bf94a
RM
13950 * misc/lseek.c: File moved to ...
13951 * io/lseek.c: ... here.
13952
7c99b50a
RM
13953 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13954
dd924cd7
RM
13955 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13956 shifting LEN more than 31 bits at once.
13957
b3f479a8
LD
139582012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13959
13960 [BZ #14195]
8c4ae0d4
RM
13961 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13962 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13963 * string/test-strncasecmp.c (check1): Renamed to...
13964 (bz12205): ...this.
13965 (bz14195): Add new testcase for two empty input strings and N > 0.
13966 (test_main): Call new testcase, adapt for renamed function.
13967
9c55864e
AJ
139682012-08-15 Andreas Jaeger <aj@suse.de>
13969
13970 [BZ #14090]
13971 * crypt/md5test2.c: New test, based on test supplied by Serge
13972 Belyshev <belyshev@depni.sinp.msu.ru>.
13973 * crypt/Makefile (xtests): Add md5test-giant..
13974 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13975
02dcb6c5
PE
139762012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13977
13978 [BZ #14090]
13979 * crypt/md5.c (md5_process_block): Don't assume the buffer
13980 length is less than 2**32.
13981 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13982 length is less than 2**64.
13983
a3f95dcc
RM
139842012-08-15 Roland McGrath <roland@hack.frob.com>
13985
be75d758
RM
13986 * string/str-two-way.h: Include <sys/param.h>.
13987 (MAX): Macro removed.
13988
7312ca90
RM
13989 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13990 Move #define and #undef of memmove to just before and after
13991 including <string.h>.
13992
9a0a5486
RM
13993 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13994 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13995 and after including <string.h>. Move declarations of
13996 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13997 to before #include "string/memmove.c".
13998
67cc348d
RM
13999 * include/dirent.h: Declare __getdirentries.
14000
a3f95dcc
RM
14001 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14002 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14003
ca98e171
MF
140042012-08-14 Mike Frysinger <vapier@gentoo.org>
14005
14006 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14007 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14008 * sysdeps/i386/configure: Regenerated.
14009 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14010 STABS_CURRENT_FILE, and STABS_FUN.
14011 (END): Remove call to STABS_FUN_END.
14012 (STABS_CURRENT_FILE1): Delete.
14013 (STABS_CURRENT_FILE): Likewise.
14014 (STABS_FUN): Likewise.
14015 (STABS_FUN_END): Likewise.
14016 (STABS_FUN2): Likewise.
14017 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14018 * sysdeps/x86_64/configure: Regenerated.
14019
5908bf46
RM
140202012-08-14 Roland McGrath <roland@hack.frob.com>
14021
14022 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14023 * elf/dl-lookup.c: Likewise.
5908bf46 14024
f2c05b9e
JM
140252012-08-14 Joseph Myers <joseph@codesourcery.com>
14026
14027 * sysdeps/unix/sysv/linux/kernel-features.h
14028 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14029 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14030 unconditionally.
14031 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14032 unconditionally.
14033 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14034 condition on __ASSUME_CLONE_THREAD_FLAGS.
14035
e11f5155
AJ
140362012-08-14 Andreas Jaeger <aj@suse.de>
14037
14038 * sysdeps/i386/fpu/libm-test-ulps: Update.
14039
51a9ba86
MK
140402012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14041
2fdd4f78
AJ
14042 * include/atomic.h (atomic_exchange_and_add): Split into ...
14043 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14044 New atomic macros.
51a9ba86 14045
ba6cba9e
MT
140462012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14047
14048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14049
42443a47
JL
140502012-08-13 Jeff Law <law@redhat.com>
14051
14052 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14053 null byte in the output string.
14054
121dce05
JM
140552012-08-10 Joseph Myers <joseph@codesourcery.com>
14056
14057 * sysdeps/unix/sysv/linux/kernel-features.h
14058 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14059 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14060 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14061 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14062 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14063 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14064 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14065
bf51f568
JL
140662012-08-09 Jeff Law <law@redhat.com>
14067
14068 [BZ #13939]
14069 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14070 When avoid_arena is set, don't retry in the that arena. Pick the
14071 next one, whatever it might be.
14072 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14073 (arena_lock): Pass in new parameter to arena_get2.
14074 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14075 arena_get2.
14076 (__libc_malloc): Unify retrying after main arena failure with
14077 __libc_memalign version.
14078 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14079
f85fa270
L
140802012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14081
14082 [BZ #14166]
14083 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14084 to __redirect_strstr.
14085 (__strstr_sse42): Use typeof __redirect_strstr.
14086 (__strstr_ia32): Likewise.
14087 (__libc_strstr): New prototype.
14088 (strstr): Renamed to ...
14089 (__libc_strstr): This.
14090 (strstr): New strong alias of __libc_strstr.
14091 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14092 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14093 __redirect_time.
14094 Include <time.h>.
14095 (__libc_time): New prototype.
14096 (time_ifunc): Replace time with __libc_time.
14097 (time): New strong alias and hidden definition of __libc_time.
14098 (__GI_time): Remove strong alias.
14099 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14100 Include <stddef.h>.
14101 (memmove): Redefined to __redirect_memmove.
14102 (__memmove_sse2): Use typeof __redirect_memmove.
14103 (__memmove_ssse3): Likewise.
14104 (__memmove_ssse3_back): Likewise.
14105 (__libc_memmove): New prototype.
14106 (memmove): Renamed to ...
14107 (__libc_memmove): This.
14108 (memmove): New strong alias of __libc_memmove.
14109
33b4a91e
MS
141102012-08-08 Mark Salter <msalter@redhat.com>
14111
14112 * elf/elf.h
14113 (R_MN10300_TLS_GD): Define.
14114 (R_MN10300_TLS_LD): Likewise.
14115 (R_MN10300_TLS_LDO): Likewise.
14116 (R_MN10300_TLS_GOTIE): Likewise.
14117 (R_MN10300_TLS_IE): Likewise.
14118 (R_MN10300_TLS_LE): Likewise.
14119 (R_MN10300_TLS_DTPMOD): Likewise.
14120 (R_MN10300_TLS_DTPOFF): Likewise.
14121 (R_MN10300_TLS_TPOFF): Likewise.
14122 (R_MN10300_SYM_DIFF): Likewise.
14123 (R_MN10300_ALIGN): Likewise.
14124 (R_MN10300_NUM): Update.
14125
b36137f1
JM
141262012-08-08 Joseph Myers <joseph@codesourcery.com>
14127
14128 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14129 Remove.
14130
cdd915fd
RM
141312012-08-08 Roland McGrath <roland@hack.frob.com>
14132
a2433aac
RM
14133 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14134
cdd915fd
RM
14135 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14136 sysdeps/unix -> sysdeps/posix move.
14137 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14138
bf9b740a
AM
141392012-08-07 Allan McRae <allan@archlinux.org>
14140
14141 [BZ #14303]
14142 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14143 (SUNOS_CPP): Likewise.
14144 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14145 not found.
14146 (open_input): Call CPP using execvp.
14147
93df14ee
JM
141482012-08-07 Joseph Myers <joseph@codesourcery.com>
14149
14150 * sysdeps/unix/sysv/linux/kernel-features.h
14151 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14152 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14153 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14154 (__ASSUME_WAITID_SYSCALL): Likewise.
14155 * sysdeps/unix/sysv/linux/dl-execstack.c
14156 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14157 code unconditional.
14158 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14159 conditional code.
14160 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14161 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14162 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14163 code.
14164 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14165 unconditional.
14166 [__ASSUME_WAITID_SYSCALL]: Likewise.
14167 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14168
d34689de
RM
141692012-08-07 Roland McGrath <roland@hack.frob.com>
14170
a281decc
RM
14171 * sysdeps/unix/closedir.c: Renamed to ...
14172 * sysdeps/posix/closedir.c: ... here.
14173 * sysdeps/unix/dirfd.c: Renamed to ...
14174 * sysdeps/posix/dirfd.c: ... here.
14175 * sysdeps/unix/dirstream.h: Renamed to ...
14176 * sysdeps/posix/dirstream.h: ... here.
14177 * sysdeps/unix/fdopendir.c: Renamed to ...
14178 * sysdeps/posix/fdopendir.c: ... here.
14179 * sysdeps/unix/opendir.c: Renamed to ...
14180 * sysdeps/posix/opendir.c: ... here.
14181 * sysdeps/unix/readdir.c: Renamed to ...
14182 * sysdeps/posix/readdir.c: ... here.
14183 * sysdeps/unix/readdir_r.c: Renamed to ...
14184 * sysdeps/posix/readdir_r.c: ... here.
14185 * sysdeps/unix/rewinddir.c: Renamed to ...
14186 * sysdeps/posix/rewinddir.c: ... here.
14187 * sysdeps/unix/seekdir.c: Renamed to ...
14188 * sysdeps/posix/seekdir.c: ... here.
14189 * sysdeps/unix/telldir.c: Renamed to ...
14190 * sysdeps/posix/telldir.c: ... here.
14191 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14192 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14193 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14194 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14195
22895b47
RM
14196 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14197 * bits/fcntl.h: ... here.
14198
707a53b6
RM
14199 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14200 not 0.
14201 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14202 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14203 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14204 (struct flock): Move l_start, l_len to the beginning.
14205 Use __pid_t for l_pid.
14206 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14207 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14208 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14209 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14210 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14211 [__USE_LARGEFILE64] (struct flock64): New type.
14212 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14213
f0bd3e25
RM
14214 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14215 * bits/dirent.h: ... here.
14216
d34689de
RM
14217 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14218 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14219
6dad2c06
JM
142202012-08-07 Joseph Myers <joseph@codesourcery.com>
14221
14222 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14223 Change from 2.6.0 to 2.6.16.
14224 * sysdeps/unix/sysv/linux/configure: Regenerated.
14225 * sysdeps/unix/sysv/linux/kernel-features.h
14226 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14227 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14228 version.
14229 (__ASSUME_UTIMES): Likewise.
14230 (__ASSUME_CLONE_STOPPED): Remove.
14231 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14232 architectures, not kernel version.
14233 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14234 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14235 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14236 (__ASSUME_WAITID_SYSCALL): Likewise.
14237 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14238 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14239 * README: State 2.6.16 as minimum Linux kernel version. Do not
14240 refer to older versions.
14241
03af9520
RM
142422012-08-06 Roland McGrath <roland@hack.frob.com>
14243
8e49df1d
RM
14244 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14245 Define alphasort64 as an alias.
14246 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14247 Define versionsort64 as an alias.
14248 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14249 Define scandir64 as an alias.
14250 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14251 Define scandirat64 as an alias.
14252 * dirent/alphasort64.c (alphasort64):
14253 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14254 * dirent/versionsort64.c: Likewise.
14255 * dirent/scandir64.c: Likewise.
14256 * dirent/scandirat64.c: Likewise.
14257 * sysdeps/wordsize-64/alphasort.c: File removed.
14258 * sysdeps/wordsize-64/alphasort64.c: File removed.
14259 * sysdeps/wordsize-64/scandir.c: File removed.
14260 * sysdeps/wordsize-64/scandir64.c: File removed.
14261 * sysdeps/wordsize-64/scandirat.c: File removed.
14262 * sysdeps/wordsize-64/scandirat64.c: File removed.
14263 * sysdeps/wordsize-64/versionsort.c: File removed.
14264 * sysdeps/wordsize-64/versionsort64.c: File removed.
14265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14267 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14268 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14269 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14270 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14271 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14272 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14273
14274 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14276 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14277 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14278 [defined __arch64__ || defined __sparcv9]
14279 (__INO_T_MATCHES_INO64_T): New macro.
14280 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14281 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14282 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14283 * sysdeps/unix/sysv/linux/bits/dirent.h
14284 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14285 (_DIRENT_MATCHES_DIRENT64): New macro.
14286
03af9520
RM
14287 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14288 Define lockf64 as an alias.
14289 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14290 Define fseeko64 as an alias.
14291 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14292 Define ftello64 as an alias.
14293 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14294 Define _IO_fgetpos64 and fgetpos64 as aliases.
14295 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14296 Define _IO_fsetpos64 and fsetpos64 as aliases.
14297 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14298 Conditionalize body on this.
14299 * libio/fseeko64.c: Likewise.
14300 * libio/ftello64.c: Likewise.
14301 * libio/iofgetpos64.c: Likewise.
14302 * libio/iofsetpos64.c: Likewise.
14303 * sysdeps/wordsize-64/lockf.c: File removed.
14304 * sysdeps/wordsize-64/lockf64.c: File removed.
14305 * sysdeps/wordsize-64/fseeko.c: File removed.
14306 * sysdeps/wordsize-64/fseeko64.c: File removed.
14307 * sysdeps/wordsize-64/ftello.c: File removed.
14308 * sysdeps/wordsize-64/ftello64.c: File removed.
14309 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14310 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14311 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14312 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14313 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14314 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14315 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14316 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14317 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14318 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14319 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14320 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14322 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14323
14324 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14326 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14328 [defined __arch64__ || defined __sparcv9]
14329 (__OFF_T_MATCHES_OFF64_T): New macro.
14330 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14331 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14333 (__OFF_T_MATCHES_OFF64_T): New macro.
14334
c5757acd
L
143352012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14336
14337 * stdlib/secure-getenv.c (__secure_getenv): Replace
14338 GLIBC_2_16 with GLIBC_2_17.
14339
3a31811e
L
143402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14343 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14344
faa2bccb
DM
143452012-08-03 David S. Miller <davem@davemloft.net>
14346
14347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14348
85fe1997
JM
143492012-08-03 Joseph Myers <joseph@codesourcery.com>
14350
14351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14352 Remove.
14353 (__ASSUME_CORRECT_SI_PID): Likewise.
14354 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14355 (__ASSUME_TMPFS_NAME): Likewise.
14356 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14357 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14358 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14359 (HAVE_AUX_SECURE): Make definition unconditional.
14360 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14361 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14362
4f75b7a0
RM
143632012-08-03 Roland McGrath <roland@hack.frob.com>
14364
14365 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14366 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14367 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14368 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14369 __eloop_threshold instead of SYMLOOP_MAX.
14370
14371 * sysdeps/generic/eloop-threshold.h: New file.
14372 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14373 of MAXSYMLINKS.
14374 * elf/chroot_canon.c (chroot_canon): Likewise.
14375
7aab07e4
JM
143762012-08-03 Joseph Myers <joseph@codesourcery.com>
14377
14378 [BZ #13717]
14379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14380 Change to 2.6.0 everywhere.
14381 * sysdeps/unix/sysv/linux/configure: Regenerated.
14382 * sysdeps/unix/sysv/linux/kernel-features.h
14383 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14384 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14385 kernel versions.
14386 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14387 (__ASSUME_FUTEX_REQUEUE): Remove.
14388 (__ASSUME_STATFS64): Define unconditionally.
14389 (__ASSUME_AT_SECURE): Likewise.
14390 (__ASSUME_CORRECT_SI_PID): Likewise.
14391 (__ASSUME_TGKILL): Define without depending on kernel version for
14392 i386.
14393 (__ASSUME_UTIMES): Likewise.
14394 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14395 kernel version.
14396 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14397 (__ASSUME_TMPFS_NAME): Likewise.
14398 * README: Update reference to Linux kernel versions.
14399
b67e9372
MP
144002012-08-02 Marek Polacek <polacek@redhat.com>
14401
1f529f7d 14402 [BZ# 14150]
b67e9372
MP
14403 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14404 libc_cv_asm_type_prefix with %.
14405 * configure: Regenerated.
d2441631
RM
14406 * include/libc-symbols.h: Remove comment about
14407 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14408 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14409 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14410 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14411 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14412 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14413 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14414 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14415 * elf/tst-unique2mod1.c: Likewise.
14416 * elf/tst-unique1mod2.c: Likewise.
14417 * elf/tst-unique1mod1.c: Likewise.
14418 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14419 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14420 Replace ASM_TYPE_DIRECTIVE with .type.
14421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14422 * sysdeps/i386/sysdep.h: Likewise.
14423 * sysdeps/x86_64/sysdep.h: Likewise.
14424 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14426 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14427 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14428 * sysdeps/powerpc/powerpc32/sysdep.h:
14429 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14430 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14431 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14432 * sysdeps/i386/fpu/e_powf.S: Likewise.
14433 * sysdeps/i386/fpu/e_expl.S: Likewise.
14434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14435 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14436 * sysdeps/i386/fpu/e_pow.S: Likewise.
14437 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14438 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14439 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14440 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14441 * sysdeps/i386/fpu/e_log2.S: Likewise.
14442 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14443 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14444 * sysdeps/i386/fpu/e_powl.S: Likewise.
14445 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14446 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14447 * sysdeps/i386/fpu/e_logl.S: Likewise.
14448 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14449 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14450 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14451 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14452 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14453 * sysdeps/i386/fpu/e_log.S: Likewise.
14454 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14455 * sysdeps/i386/fpu/e_logf.S: Likewise.
14456 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14457 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14458 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14459 * sysdeps/i386/fpu/e_log10.S: Likewise.
14460 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14461 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14462 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14463 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14464 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14465 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14466 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14467 * sysdeps/i386/i686/strtok.S: Likewise.
14468 * sysdeps/i386/i386-mcount.S: Likewise.
14469 * sysdeps/i386/strtok.S: Likewise.
14470 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14471 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14472 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14473 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14474 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14475 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14476 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14477 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14479 * sysdeps/x86_64/_mcount.S: Likewise.
14480 * sysdeps/x86_64/strtok.S: Likewise.
14481 * sysdeps/sh/_mcount.S: Likewise.
14482
2747bf9a
RM
144832012-08-01 Roland McGrath <roland@hack.frob.com>
14484
14485 * libio/iofopen.c: Include <fcntl.h>.
14486 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14487 (_IO_fopen64, fopen64): Define as aliases.
14488 * libio/iofopen64.c: Include <fcntl.h>.
14489 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14490 Conditionalize body on this.
14491 * sysdeps/wordsize-64/iofopen.c: File removed.
14492 * sysdeps/wordsize-64/iofopen64.c: File removed.
14493
3fb791b8
MP
144942012-08-01 Marek Polacek <polacek@redhat.com>
14495
14496 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14497 Use dlfcn directly instead of a variable.
14498 (binfmt-subdir): Do not define.
14499 (dlfcn): Likewise.
14500
a9f1039f
JM
145012012-08-01 Joseph Myers <joseph@codesourcery.com>
14502
23bddc06
JM
14503 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14504 Remove all definitions.
14505 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14506 <kernel-features.h>.
14507 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14508 (miss_F_GETOWN_EX): Remove all definitions.
14509 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14510 macro definition.
14511 [!__ASSUME_FCNTL64]: Remove conditional code.
14512 [__ASSUME_FCNTL64]: Make code unconditional.
14513 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14514 <kernel-features.h>.
14515 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14516 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14517 (lockf64) [__NR_fcntl64]: Make code unconditional.
14518 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14519
a9f1039f
JM
14520 * sysdeps/unix/sysv/linux/kernel-features.h
14521 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14522 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14523 Make code unconditional.
14524 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14525 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14527 [__NR_vfork]: Make code unconditional.
14528 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14529 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14531 [__NR_vfork]: Make code unconditional.
14532 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14533 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14534
09c0ee5f
RM
145352012-08-01 Roland McGrath <roland@hack.frob.com>
14536
48aec5b9
RM
14537 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14538 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14539
cd97c966
RM
14540 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14541 Define mkstemp64 as an alias.
3f55550c
RM
14542 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14543 Define mkstemps64 as an alias.
cd97c966
RM
14544 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14545 Define mkostemp64 as an alias.
b8625cfc
RM
14546 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14547 Define mkostemps64 as an alias.
cd97c966
RM
14548 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14549 Conditionalize body on this.
14550 * misc/mkostemp64.c: Likewise.
b8625cfc 14551 * misc/mkostemps64.c: Likewise.
3f55550c 14552 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14553 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14554 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14555 * sysdeps/wordsize-64/mkostemp.c: File removed.
14556 * sysdeps/wordsize-64/mkstemp.c: File removed.
14557 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14558 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14559 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14560 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14561
09c0ee5f
RM
14562 [BZ #14138]
14563 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14564 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14565 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14566 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14567
14568 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14569 compat_symbol macros from <shlib-compat.h> rather than the underlying
14570 default_symbol_version and symbol_version macros, so that DEFAULT
14571 lines in shlib-versions are respected.
14572 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14573
7e66ee51
FW
145742012-08-01 Florian Weimer <fweimer@redhat.com>
14575
14576 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14577 Declare with warn_unused_result.
14578 (setgid, setregid, setegid, setresgid): Likewise.
14579 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14580 Likewise.
14581 * WUR-REPORT: Remove set*id functions.
14582
d2a54255
PT
145832012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14584
14585 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14586
7ecdb005
RM
145872012-07-31 Roland McGrath <roland@hack.frob.com>
14588
b4180a5e 14589 [BZ #10191]
789bd351
RM
14590 * include/sys/socket.h (__libc_accept, __libc_accept4):
14591 Add attribute_hidden.
14592 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14593
40ce302d
RM
14594 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14595 use of PTR_MANGLE.
14596 * inet/getnetgrent_r.c (setup): Likewise.
14597
7ecdb005
RM
14598 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14599
e2eabb2c
DM
146002012-07-31 David S. Miller <davem@davemloft.net>
14601
14602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14603
d0419dbf
JM
146042012-07-31 Joseph Myers <joseph@codesourcery.com>
14605
14606 [BZ #13629]
14607 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14608 value between 1.0 and 2.0 and smaller part has absolute value less
14609 than 1.0.
14610 * math/s_clog10.c (__clog10): Likewise.
14611 * math/s_clog10f.c (__clog10f): Likewise.
14612 * math/s_clog10l.c (__clog10l): Likewise.
14613 * math/s_clogf.c (__clogf): Likewise.
14614 * math/s_clogl.c (__clogl): Likewise.
14615 * math/libm-test.inc (clog_test): Add more tests.
14616 (clog10_test): Likewise.
14617 * sysdeps/i386/fpu/libm-test-ulps: Update.
14618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14619
2bc13872
FW
146202012-07-31 Florian Weimer <fweimer@redhat.com>
14621
14622 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14623 Exit with zero in case no suitable GID is found, and write a
14624 message to standard error.
14625
bea9b193
RM
146262012-07-30 Roland McGrath <roland@hack.frob.com>
14627
14628 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14629 rather than to 1.
14630 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14631 (MAXPATHLEN): Removed.
14632 (NOGROUP, NODEV): New macros.
14633 (setbit, clrbit, isset, isclr): New macros.
14634 (howmany, roundup, powerof2): New macros.
14635 (DEV_BSIZE): New macro.
14636
14637 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14638 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14639
14640 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14641 definition on [!__NO_LONG_DOUBLE_MATH].
14642
14643 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14644 PTR_MANGLE and PTR_DEMANGLE.
14645
14646 * socket/accept4.c (accept4): Rename to __libc_accept4.
14647 Define accept4 as a weak alias.
14648
14649 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14650 on [_DIRENT_HAVE_D_TYPE].
14651 * io/ftw.c (ftw_dir): Likewise.
14652
14653 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14654
14655 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14656
14657 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14658 Use the BSD numbers rather than the arbitrary ones we had.
14659 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14660 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14661 (SIGXCPU, SIGXFSZ): New macros.
14662 (_NSIG): Now 32.
14663
14664 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14665 initializer on [_LIBC_REENTRANT].
14666
14667 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14668 definitions inside [_POSIX_MAPPED_FILES].
14669
14670 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14671
14672 * dirent/opendir.c: Include <fcntl.h>.
14673
14674 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14675 (__libc_getspecific): Likewise.
14676 (__libc_key_create): Likewise.
14677
14678 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14679 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14680 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14681 (tmpfile64): Define as alias.
14682 * sysdeps/wordsize-64/tmpfile.c: File removed.
14683 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14684 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14685 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14686
14687 * stdio-common/vfscanf.c: Include <stdbool.h>.
14688 * nss/makedb.c: Likewise.
14689 * stdio-common/_i18n_number.h: Likewise.
14690 * argp/argp-help.c: Likewise.
14691 * posix/wordexp.c: Likewise.
14692 * sysdeps/posix/spawni.c: Likewise.
14693 * nss/nss_files/files-initgroups.c: Likewise.
14694 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14695 * nss/nss_files/files-initgroups.c: Likewise.
14696 * nss/nss_db/db-netgrp.c: Likewise.
14697 * nss/nss_db/db-initgroups.c: Likewise.
14698 * io/fchmodat.c: Include <sys/stat.h>.
14699
14700 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14701 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14702
14703 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14704 [HAVE_MMAP].
14705
14706 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14707 Add multiple inclusion protection.
14708
e5abc686
DM
147092012-07-27 David S. Miller <davem@davemloft.net>
14710
14711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14712
815e6fa3
GB
147132012-07-27 Gary Benson <gbenson@redhat.com>
14714
14715 [BZ #14298]
14716 * elf/rtld.c: Include <stap-probe.h>.
14717 (dl_main): Added static probes "init_start" and "init_complete".
14718 * elf/dl-load.c: Include <stap-probe.h>.
14719 (lose): Take new parameter "nsid".
14720 Added static probe "map_failed".
14721 (_dl_map_object_from_fd): Pass namespace id to lose.
14722 Added static probe "map_start".
14723 (open_verify): Pass namespace id to lose.
14724 * elf/dl-open.c: Include <stap-probe.h>.
14725 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14726 and "reloc_complete".
14727 * elf/dl-close.c: Include <stap-probe.h>.
14728 (_dl_close_worker): Added static probes "unmap_start" and
14729 "unmap_complete".
14730 * elf/rtld-debugger-interface.txt: New file documenting the above.
14731
9f98c16c
RM
147322012-07-26 Roland McGrath <roland@hack.frob.com>
14733
14734 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14735 rather than a string variable.
14736 * sunrpc/rpc_main.c (h_output): Likewise.
14737 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14738
f3c22df3
PT
147392012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14740
14741 * inet/check_native.c: New file.
14742
3129cfc6
JM
147432012-07-26 Joseph Myers <joseph@codesourcery.com>
14744
da865e95
JM
14745 [BZ #13629]
14746 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14747 if larger part has absolute value 1.0.
14748 * math/s_clog10.c (__clog10): Likewise.
14749 * math/s_clog10f.c (__clog10f): Likewise.
14750 * math/s_clog10l.c (__clog10l): Likewise.
14751 * math/s_clogf.c (__clogf): Likewise.
14752 * math/s_clogl.c (__clogl): Likewise.
14753 * math/libm-test.inc (clog_test): Add more tests.
14754 (clog10_test): Likewise.
14755 * sysdeps/i386/fpu/libm-test-ulps: Update.
14756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14757
3129cfc6
JM
14758 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14759 (pltexit): Likewise.
14760 (La_regs): Likewise.
14761 (La_retval): Likewise.
14762 (int_retval): Likewise.
14763 Update #error for removed macros to refer only to definitions in
14764 tst-audit.h.
14765 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14766 macro.
14767 (pltexit): Likewise.
14768 (La_regs): Likewise.
14769 (La_retval): Likewise.
14770 (int_retval): Likewise.
14771 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14772 macro.
14773 (pltexit): Likewise.
14774 (La_regs): Likewise.
14775 (La_retval): Likewise.
14776 (int_retval): Likewise.
14777 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14778 macro.
14779 (pltexit): Likewise.
14780 (La_regs): Likewise.
14781 (La_retval): Likewise.
14782 (int_retval): Likewise.
14783 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14784 macro.
14785 (pltexit): Likewise.
14786 (La_regs): Likewise.
14787 (La_retval): Likewise.
14788 (int_retval): Likewise.
14789 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14790 macro.
14791 (pltexit): Likewise.
14792 (La_regs): Likewise.
14793 (La_retval): Likewise.
14794 (int_retval): Likewise.
14795 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14796 macro.
14797 (pltexit): Likewise.
14798 (La_regs): Likewise.
14799 (La_retval): Likewise.
14800 (int_retval): Likewise.
14801 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14802 macro definitions in tst-audit.h.
14803 * sysdeps/i386/tst-audit.h: New file.
14804 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14805 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14806 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14807 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14808 * sysdeps/sh/tst-audit.h: Likewise.
14809 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14810 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14811 * sysdeps/x86_64/tst-audit.h: Likewise.
14812
bfc07087
AJ
148132012-07-26 Andreas Jaeger <aj@suse.de>
14814
b1b2aaf8
AJ
14815 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14816 ptrace.
14817
14818 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14819 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14820 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14821 PTRACE_O_MASK.
14822 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14823 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14824 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14825
bfc07087
AJ
14826 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14827 value.
14828
14829 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14830 _sigsys.
14831 (si_call_addr, si_syscall, si_arch): Define new macro.
14832 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14833 _sigsys.
14834 (si_call_addr, si_syscall, si_arch): Define new marcro.
14835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14836 _sigsys.
14837 (si_call_addr, si_syscall, si_arch): Define new macro.
14838 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14839 _sigsys.
14840 (si_call_addr, si_syscall, si_arch): Define new macro.
14841
89b4b02f
JM
148422012-07-25 Joseph Myers <joseph@codesourcery.com>
14843
14844 [BZ #13717]
14845 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14846 Change to 2.4.21 where previously 2.4.1.
14847 * sysdeps/unix/sysv/linux/configure: Regenerated.
14848 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14849 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14850 Linux kernel version.
14851 (__ASSUME_STD_AUXV): Remove.
14852 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14853 kernel version.
14854 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14855 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14856 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14857 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14858 (__ASSUME_NETLINK_SUPPORT): Likewise.
14859 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14860 (__no_netlink_support): Remove conditional definition.
14861 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14862 Remove.
14863 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14864 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14865 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14866 (if_nameindex_ioctl): Remove.
14867 (if_nameindex_netlink): Do not handle __no_netlink_support.
14868 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14869 code.
14870 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14871 Remove conditional code.
14872 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14873 code.
14874 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14875 unconditional.
14876 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14877 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14878 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14879 Remove.
14880 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14881 [!__ASSUME_STD_AUXV]: Remove conditional code.
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14883 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14884 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14886 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14887 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14888 code.
14889 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14891 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14892 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14893 conditional code.
14894 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14896 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14897 code.
14898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14899 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14900 conditional code.
14901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14902 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14903 code unconditional.
14904 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14905 conditional code.
14906 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14907 unconditional.
14908 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14909 conditional code.
14910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14911 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14912 unconditional.
14913 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14914 conditional code.
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14916 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14917 code unconditional.
14918 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14919 conditional code.
14920 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14921 unconditional.
14922 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14923 conditional code.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14925 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14926 code unconditional.
14927 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14928 conditional code.
14929 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14930 unconditional.
14931 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14932 conditional code.
14933
842a39cd
AS
149342012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14935
14936 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14937 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14938 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14939 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14940 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14941 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14942 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14943 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14944 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14945 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14946 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14947 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14948 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14949 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14950 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14951 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14952 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14953 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14954 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14956 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14957 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14958 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14959
84b3fd84
FW
149602012-07-25 Florian Weimer <fweimer@redhat.com>
14961
14962 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14963 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14964 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14965 Introduce __libc_secure_getenv.
0c7936d5
FW
14966 * stdlib/Versions (2.17): Add secure_getenv
14967 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14968 * stdlib/secure-getenv.c: Rename __secure_getenv to
14969 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14970 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14971 * stdlib/tst-secure-getenv.c: New.
14972 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14973 * manual/startup.texi (Environment Access): Document
14974 secure_getenv.
84b3fd84
FW
14975 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14976 __libc_secure_getenv.
14977 * inet/ruserpass.c (ruserpass): Likewise.
14978 * malloc/mtrace.c (mtrace): Likewise.
14979 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14980 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14981 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14982 * sysdeps/posix/tempname.c: Likewise. Evaluate
14983 HAVE_SECURE_GETENV.
14984 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14985 __secure_getenv to __libc_secure_getenv.
84b3fd84 14986 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14988 Likewise.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14990 Likewise.
14991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14998
56e49b71
JM
149992012-07-25 Joseph Myers <joseph@codesourcery.com>
15000
15001 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15002 (struct La_i86_retval): Likewise.
15003 (struct La_x86_64_regs): Likewise.
15004 (struct La_x86_64_retval): Likewise.
15005 (struct La_x32_regs): Likewise.
15006 (struct La_x32_retval): Likewise.
15007 (struct La_ppc32_regs): Likewise.
15008 (struct La_ppc32_retval): Likewise.
15009 (struct La_ppc64_regs): Likewise.
15010 (struct La_ppc64_retval): Likewise.
15011 (struct La_sh_regs): Likewise.
15012 (struct La_sh_retval): Likewise.
15013 (struct La_s390_32_regs): Likewise.
15014 (struct La_s390_32_retval): Likewise.
15015 (struct La_s390_64_regs): Likewise.
15016 (struct La_s390_64_retval): Likewise.
15017 (struct La_sparc32_regs): Likewise.
15018 (struct La_sparc32_retval): Likewise.
15019 (struct La_sparc64_regs): Likewise.
15020 (struct La_sparc64_retval): Likewise.
15021 (struct audit_ifaces): Remove architecture-specific pltenter and
15022 pltexit members.
15023 * sysdeps/i386/ldsodefs.h: New file.
15024 * sysdeps/powerpc/ldsodefs.h: Likewise.
15025 * sysdeps/s390/ldsodefs.h: Likewise.
15026 * sysdeps/sh/ldsodefs.h: Likewise.
15027 * sysdeps/sparc/ldsodefs.h: Likewise.
15028 * sysdeps/x86_64/ldsodefs.h: Likewise.
15029
354691b7
MP
150302012-07-25 Marek Polacek <polacek@redhat.com>
15031
15032 [BZ #6808]
15033 * math/libm-test.inc (yn_test): Add another test.
15034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15035 to ERANGE when the result is +-Inf.
15036 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15037 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15038 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15039 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15040
bf9e2071
JM
150412012-07-24 Joseph Myers <joseph@codesourcery.com>
15042
15043 * conform/data/time.h-data (NULL): Use macro-constant. Require
15044 equal to 0.
15045 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15046 clock_t.
15047 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15048
57633811
TS
150492012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15050
15051 * configure.in <sysdeps resolving>: Correct printing
15052 Implies_before.
15053 * configure: Regenerate.
15054
c23c33b0
TS
150552012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15056
15057 * math/w_ilogb.c: Include <limits.h>.
15058 * math/w_ilogbl.c: Likewise.
15059
b5982523
JM
150602012-07-20 Joseph Myers <joseph@codesourcery.com>
15061
15062 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15063 va_copy. Document allowing for unavailable va_copy only as
15064 pre-C99 compatibility.
15065 * manual/string.texi (Copying and Concatenation): Use va_copy
15066 instead of __va_copy in concat example.
15067
ac4ea442
PT
150682012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15069
15070 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15071 (__sendto): Use create_address_port. Initialize APORT and deallocate
15072 it if not null.
15073
f98eafbd
PT
15074 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15075 with O_NOLINK passed to __file_name_lookup.
15076
898c7aab
PT
15077 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15078 with O_NOLINK passed to __file_name_lookup.
15079
0ced335a
PT
15080 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15081 negative N or less than NGIDS.
15082
b3404dbd
PT
15083 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15084 type to string_t. Set ERANGE as errno and return it if NAME is not big
15085 enough. Use memcpy instead of strncpy.
15086
0f48659e
JM
150872012-07-20 Joseph Myers <joseph@codesourcery.com>
15088
15089 * elf/Makefile (check-data): Remove.
15090 (localplt.data): New vpath directive.
15091 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15092 instead of $(check-data).
15093 * scripts/data/localplt-generic.data: Move to ...
15094 * sysdeps/generic/localplt.data: ... here.
15095 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15096 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15097 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15099 ... here.
15100 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15102 ... here.
15103 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15105 ... here.
15106 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15108 ... here.
15109 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15111 ... here.
15112 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15114 ... here.
15115
d37cbdaa
AZ
151162012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15117
15118 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15119 PPC32 and PPC64 files.
15120 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15121 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15122
46f85fc2
AK
151232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15124
15125 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15126 __makecontext_ret to ...
15127 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15128 ... here and call exit if uc_link is NULL. New file.
15129 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15130 __makecontext_ret.S.
15131 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15132 __makecontext_ret to ...
15133 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15134 ... here and call exit if uc_link is NULL. New file.
15135 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15136 __makecontext_ret.S.
15137
08f43f9b
AK
151382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15139
15140 * elf/elf.h (R_390_IRELATIVE): New definition.
15141 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15142 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15143 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15144 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15145 (elf_machine_lazy_rel): Likewise.
15146 * sysdeps/s390/dl-irel.h: New file.
15147 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15148 * sysdeps/s390/s390-64/memset.S: New asm code.
15149 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15150 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15151 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15152 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15153 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15154 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15155 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15156 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15157 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15158 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15159 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15160 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15161 * sysdeps/s390/s390-32/memset.S: New asm code.
15162 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15163
3b05db33
MP
151642012-07-17 Marek Polacek <polacek@redhat.com>
15165
15166 [BZ #14349]
15167 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15168 * sysdeps/s390/s390-64/configure.in: Likewise.
15169 * sysdeps/sparc/configure.in: Likewise.
15170 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15171 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15172 * sysdeps/i386/configure.in: Likewise.
15173 * sysdeps/x86_64/configure.in: Likewise.
15174 * sysdeps/sh/configure.in: Likewise.
15175 * sysdeps/s390/s390-32/configure: Regenerated.
15176 * sysdeps/s390/s390-64/configure: Likewise.
15177 * sysdeps/x86_64/configure: Likewise.
15178 * sysdeps/sh/configure: Likewise.
15179 * sysdeps/powerpc/powerpc64/configure: Likewise.
15180 * sysdeps/powerpc/powerpc32/configure: Likewise.
15181 * sysdeps/sparc/configure: Likwise.
15182 * sysdeps/i386/configure: Likewise.
15183
a66877c6
MP
15184 * elf/dl-open.c: Comment fixes.
15185
cfc82fd8
JM
151862012-07-17 Joseph Myers <joseph@codesourcery.com>
15187
bd29910a
JM
15188 * Makefile [CXX] (check-data): Remove.
15189 [CXX] (c++-types.data): New vpath directive.
15190 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15191 vpath. Do not allow for C++ type data being missing.
15192 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15193 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15194 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15195 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15196 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15197 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15198 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15200 ... here.
15201 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15203 ... here.
15204 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15206 ... here.
15207 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15209 ... here.
15210 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15212 ... here.
15213 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15215 ... here.
15216 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15218 ... here.
15219 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15221
cfc82fd8
JM
15222 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15223 definitions to architecture-specific files.
15224 (TLS_IE): Likewise.
15225 (TLS_LD): Likewise.
15226 (TLS_GD): Likewise.
15227 * sysdeps/i386/tls-macros.h: New file.
15228 * sysdeps/powerpc/tls-macros.h: Likewise.
15229 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15230 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15231 * sysdeps/sh/tls-macros.h: Likewise.
15232 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15233 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15234 * sysdeps/x86_64/tls-macros.h: Likewise.
15235
f7db3170
TS
152362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15237
07cbfc23
TS
15238 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15239 zero value for regular exit case.
15240
f7db3170
TS
15241 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15242 (__start_context): Preserve zero value for regular exit case.
15243
dc97c227
TS
152442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15245 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15246
15247 * manual/setjmp.texi (setcontext): Clarify normal process
15248 termination when uc_link is the null pointer.
15249 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15250 exit call.
15251
d0cd7d02
AS
152522012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15253
15254 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15255 preprocessor. Test for each exception mask separately.
15256
dd318934
AJ
152572012-07-16 Andreas Jaeger <aj@suse.de>
15258
15259 * po/ru.po: Update from translation team.
15260
8048311a
JM
152612012-07-15 Joseph Myers <joseph@codesourcery.com>
15262
15263 * conform/data/string.h-data (NULL): Use macro-constant. Require
15264 equal to 0.
15265 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15266 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15267 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15268 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15269 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15270
b637d46e
AJ
152712012-07-13 Andreas Jaeger <aj@suse.de>
15272
15273 * po/fr.po: Update from translation team.
15274
541428fe
MP
152752012-07-12 Marek Polacek <polacek@redhat.com>
15276
15277 [BZ #14173]
15278 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15279 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15280 loop condition.
15281
ec332e94
JM
152822012-07-12 Joseph Myers <joseph@codesourcery.com>
15283
15284 [BZ #13717]
15285 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15286 Change to 2.4.1 where previously 2.4.0.
15287 * sysdeps/unix/sysv/linux/configure: Regenerated.
15288 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15289 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15290 version.
15291 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15292 (__ASSUME_AT_CLKTCK): Remove.
15293 (__ASSUME_AT_PAGESIZE): Likewise.
15294 (__ASSUME_AT_XID): Likewise.
15295 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15296 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15297 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15298 unconditionally.
15299 (HAVE_AUX_PAGESIZE): Likewise.
15300 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15301 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15302 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15303
7b6e99be
JB
153042012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15305
15306 [BZ #14307]
15307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15308 the temporary buffer used to invoke __gethostbyname2_r,
15309 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15310 host_data / struct gaih_addrtuple.
15311 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15312 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15313 header file nss/nsswitch.h.
15314 * nss/nsswitch.h (global scope): Add definition of implementation
15315 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15316 resolv/nss_dns/dns-host.c).
15317
608404eb
AJ
153182012-07-11 Andreas Jaeger <aj@suse.de>
15319
15320 * po/fr.po: Update from translation team.
15321
71220aca
AJ
15322 * po/sv.po: Update from translation team
15323 * po/fr.po: Another update from translation team.
15324
28cfe843
AZ
153252012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15326
15327 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15328 for subnormals or multiply small sinh result by itself.
15329 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15331
6b90f981
DM
153322012-07-11 David S. Miller <davem@davemloft.net>
15333
15334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15335
c6825772
AS
153362012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15337
15338 [BZ #14347]
15339 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15340 (INTERNAL_MARK): Shift it here.
15341
7b8e0d49
MP
153422012-07-10 Marek Polacek <polacek@redhat.com>
15343
15344 [BZ #14151]
15345 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15346 libc_cv_asm_global_directive with .globl.
15347 * configure: Regenerated.
15348 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15349 with .globl.
15350 * sysdeps/i386/configure: Regenerated.
15351 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15352 with .globl.
15353 * sysdeps/x86_64/configure: Regenerated.
15354 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15355 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15356 * elf/tst-unique2mod2.c: Likewise.
15357 * elf/tst-unique2mod1.c: Likewise.
15358 * elf/tst-unique1mod2.c: Likewise.
15359 * elf/tst-unique1mod1.c: Likewise.
15360 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15361 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15362 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15363 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15364 * sysdeps/mach/sysdep.h: Likewise.
15365 * sysdeps/i386/sysdep.h: Likewise.
15366 * sysdeps/i386/i386-mcount.S: Likewise.
15367 * sysdeps/x86_64/_mcount.S: Likewise.
15368 * sysdeps/x86_64/sysdep.h: Likewise.
15369 * sysdeps/sh/_mcount.S: Likewise.
15370 * sysdeps/sh/sysdep.h: Likewise.
15371 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15372 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15373 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15374 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15375 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15376 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15377 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15378 * locale/localeinfo.h: Likewise.
15379 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15380 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15381
6c55cda3
RM
153822012-07-09 Roland McGrath <roland@hack.frob.com>
15383
15384 [BZ #14336]
15385 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15386 system".
15387 * manual/message.texi (The Uniforum approach): Likewise.
15388 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15389 (glibc iconv Implementation): Likewise.
15390
638a572e
JM
153912012-07-09 Joseph Myers <joseph@codesourcery.com>
15392
15393 [BZ #14337]
15394 * math/s_clog.c (__clog): Avoid scaling a value down where that
15395 could result in underflow.
15396 * math/s_clog10.c (__clog10): Likewise.
15397 * math/s_clog10f.c (__clog10f): Likewise.
15398 * math/s_clog10l.c (__clog10l): Likewise.
15399 * math/s_clogf.c (__clogf): Likewise.
15400 * math/s_clogl.c (__clogl): Likewise.
15401 * math/libm-test.inc (clog_test): Add more tests.
15402 (clog10_test): Likewise.
15403 * sysdeps/i386/fpu/libm-test-ulps: Update.
15404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15405
261f4859
AS
154062012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15407
0abaf3e4
AS
15408 [BZ #14283]
15409 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15410 by 7 not 8 to examine high bit of fractional part.
15411
261f4859
AS
15412 [BZ #14042]
15413 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15414 for call to __mcount_internal.
15415 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15416 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15417 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15418
f17ac40d
JM
154192012-07-06 Joseph Myers <joseph@codesourcery.com>
15420
9ad63c23
JM
15421 [BZ #14154]
15422 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15423 approximation for values within 0x1p-13f of an odd multiple of
15424 pi/4.
15425 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15426 exception. Add more tests.
15427 * sysdeps/i386/fpu/libm-test-ulps: Update.
15428
f17ac40d
JM
15429 [BZ #6778]
15430 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15431 inputs and return -1 for them. Do not check for +Inf in case not
15432 reachable for +Inf.
15433 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15434 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15435 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15436 and return -1 for them. Do not check for +Inf in case not
15437 reachable for +Inf.
15438 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15439 define.
15440 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15441 and return -1 for them. Do not check for +Inf in case not
15442 reachable for +Inf.
15443 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15444 spurious underflow.
15445 * sysdeps/i386/fpu/libm-test-ulps: Update.
15446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15447
fb21f89b
MF
154482012-07-06 Mike Frysinger <vapier@gentoo.org>
15449
15450 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15451
cdfe2c5e
JM
154522012-07-05 Joseph Myers <joseph@codesourcery.com>
15453
15454 [BZ #14157]
15455 [BZ #14331]
15456 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15457 could result in spurious underflow. Scale down values above
15458 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15459 * math/s_csqrtf.c (__csqrtf): Likewise.
15460 * math/s_csqrtl.c (__csqrtl): Likewise.
15461 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15462 spurious underflow.
15463 * sysdeps/i386/fpu/libm-test-ulps: Update.
15464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15465
70d35b67
AS
154662012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15467
704bc459
AS
15468 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15469 xopen-msg.sed.
15470 * catgets/xopen-msg.awk: New file.
15471 * catgets/xopen-msg.sed: Removed.
15472
70d35b67
AS
15473 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15474 po2text.sed.
15475 * intl/po2test.awk: New file.
15476 * intl/po2test.sed: Removed.
15477
ca61cf32
JM
154782012-07-04 Joseph Myers <joseph@codesourcery.com>
15479
15480 [BZ #14328]
15481 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15482 or multiply small sinh result by itself.
15483 * math/s_ctanf.c (__ctanf): Likewise.
15484 * math/s_ctanh.c (__ctanh): Likewise.
15485 * math/s_ctanhf.c (__ctanhf): Likewise.
15486 * math/s_ctanhl.c (__ctanhl): Likewise.
15487 * math/s_ctanl.c (__ctanl): Likewise.
15488 * math/libm-test.inc (ctan_test_tonearest): New function.
15489 (ctan_test_towardzero): Likewise.
15490 (ctan_test_downward): Likewise.
15491 (ctan_test_upward): Likewise.
15492 (ctanh_test_tonearest): Likewise.
15493 (ctanh_test_towardzero): Likewise.
15494 (ctanh_test_downward): Likewise.
15495 (ctanh_test_upward): Likewise.
15496 (main): Call these new functions.
15497 * sysdeps/i386/fpu/libm-test-ulps: Update.
15498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15499
ca48a46a
MF
155002012-07-03 Mike Frysinger <vapier@gentoo.org>
15501
15502 * .gitignore: Delete /ports entry.
15503
9d63d37d
AJ
155042012-07-03 Andreas Jaeger <aj@suse.de>
15505
15506 * po/bg.po: Update from translation team.
15507 * po/cs.po: Likewise.
15508 * po/de.po: Likewise.
15509 * po/hr.po: Likewise.
15510 * po/nl.pl: Likewise.
15511 * po/pl.po: Likewise.
15512 * po/vi.po: Likewise.
15513
370ca3d2
JM
155142012-07-03 Joseph Myers <joseph@codesourcery.com>
15515
95f5a9a8
JM
15516 * Makeconfig [!+link] (+link-before-libc): New variable.
15517 [!+link] (+link-after-libc): Likewise.
15518 [!+link] (+link-tests): Likewise.
15519 [!+link] (+link): Define in terms of $(+link-before-libc) and
15520 $(+link-after-libc).
15521 [!+link-static] (+link-static-before-libc): New variable.
15522 [!+link-static] (+link-static-after-libc): Likewise.
15523 [!+link-static] (+link-static-tests): Likewise.
15524 [!+link-static] (+link-static): Define in terms of
15525 $(+link-static-before-libc) and $(+link-static-after-libc).
15526 [build-shared] (link-libc-before-gnulib): New variable.
15527 [build-shared] (link-libc-tests): Likewise.
15528 [build-shared] (link-libc): Define in terms of
15529 $(link-libc-before-gnulib).
15530 [!build-shared] (link-libc-tests): New variable.
15531 (link-libc-static-tests): New variable.
15532 [!gnulib] (gnulib-arch): New variable.
15533 [!gnulib] (gnulib-tests): Likewise.
15534 [!gnulib] (static-gnulib-arch): Likewise.
15535 [!gnulib] (static-gnulib-tests): Likewise.
15536 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15537 Define with "=" instead of ":=".
15538 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15539 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15540 * Rules (binaries-all-notests): New variable.
15541 (binaries-all-tests): Likewise.
15542 (binaries-static-notests): Likewise.
15543 (binaries-static-tests): Likewise.
15544 (binaries-all): Define using $(binaries-all-notests) and
15545 $(binaries-all-tests).
15546 (binaries-static): Define using $(binaries-static-notests) and
15547 $(binaries-static-tests).
15548 (binaries-shared-tests): New variable.
15549 (binaries-shared-notests): Likewise.
15550 (binaries-shared): Remove variable.
15551 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15552 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15553 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15554 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15555 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15556 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15557 * elf/Makefile (sln-modules): New variable.
15558 (extra-objs): Add $(sln-modules:=.o).
15559 (ldconfig-modules): Add static-stubs.
15560 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15561 * elf/static-stubs.c: New file.
15562
7a845b2c
JM
15563 [BZ #14283]
15564 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15565 by 7 not 8 to examine high bit of fractional part. Use volatile
15566 variables when splitting into final array of floats if
15567 __FLT_EVAL_METHOD__ != 0.
15568 * math/libm-test.inc (cos_test): Add another test.
15569 (sin_test): Likewise.
15570 * sysdeps/i386/fpu/libm-test-ulps: Update.
15571
e2283f38
JM
15572 [BZ #14273]
15573 * math/libm-test.inc (cosh_test): Add more tests.
15574
370ca3d2
JM
15575 * version.h (RELEASE): Set to "development".
15576 (VERSION): Set to "2.16.90".
15577
ee9247c3
CD
155782012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15579
15580 * NEWS: Update copyright. Remove last-updated date.
15581 Mention math library bug fixes and timezone data changes.
15582 * README: Mention GNU/Hurd, x32, and HPPA support status.
15583
4648c381
TS
155842012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15585
15586 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15587
aac78a43
AJ
155882012-06-27 Andreas Jaeger <aj@suse.de>
15589
15590 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15591
ed3dbfad
AJ
155922012-06-25 Andreas Jaeger <aj@suse.de>
15593
15594 * sysdeps/s390/fpu/libm-test-ulps: Update.
15595
4d0ee855
AS
155962012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15597 Thomas Schwinge <thomas@codesourcery.com>
15598
15599 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15600 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15602 fanotify_mark.
15603
af1bce34
TS
156042012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15605
a9fa33ba
TS
15606 * sysdeps/mach/start.c: Remove file.
15607 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15608 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15609 * sysdeps/sh/init-first.c: Likewise.
15610
58f902b8
TS
15611 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15612 registers for frame unwinding purposes, add CFI directives.
15613 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15614 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15615 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15616 Likewise.
15617
1518f58b
TS
15618 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15619 __fortify_fail returning.
15620 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15621
db9b5059
TS
15622 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15623 sysdeps/sh/____longjmp_chk.S.
15624 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15625 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15626 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15627 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15628
967705fe
TS
15629 * sysdeps/sh/abort-instr.h: New file.
15630 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15631 process in case exit returns.
15632
a9def8c4
TS
15633 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15634 initialize the GOT register before use.
15635
2a649725
TS
15636 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15637 calculation of ARGC > 4.
15638
af1bce34
TS
15639 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15640 meaningful names to some local labels.
15641
d230f50a
KK
156422012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15643 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15644
15645 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15646 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15647 (__arch_compare_and_exchange_val_16_acq): Likewise.
15648 (__arch_compare_and_exchange_val_32_acq): Likewise.
15649 (atomic_exchange_and_add): Fix gUSA sequence.
15650 (atomic_add): Likewise.
15651 (atomic_add_negative): Likewise.
15652 (atomic_add_zero): Likewise.
15653 (atomic_bit_test_set): Likewise.
15654
0479b305
AS
156552012-06-22 Andreas Schwab <schwab@redhat.com>
15656
15657 [BZ #13579]
15658 * include/link.h (struct link_map): Add l_free_initfini.
15659 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15660 l_initfini.
15661 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15662 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15663 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15664 set.
15665
0e3933b9
CD
156662012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15667
15668 * configure.in: Use AC_LANG_SOURCE.
15669 * configure: Regenerate.
15670
4248b1b1
RM
156712012-06-22 Roland McGrath <roland@hack.frob.com>
15672
15673 * configure.in (libc_cv_localstatedir): New substituted variable.
15674 * configure: Regenerated.
15675 * config.make.in (localstatedir): New variable, substituted from
15676 libc_cv_localstatedir.
15677 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15678 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15679 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15680 * sysdeps/gnu/configure: Regenerated.
15681
006dd861
JL
156822012-06-21 Jeff Law <law@redhat.com>
15683
15684 [BZ #14277]
15685 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15686 free. Simplify list management for _LIBC case.
15687
79662d42
JM
156882012-06-21 Joseph Myers <joseph@codesourcery.com>
15689
b7abb4bf
JM
15690 [BZ #14273]
15691 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15692 Clear sign bit of 64-bit integer value before comparing against
15693 overflow value.
15694
79662d42
JM
15695 * sysdeps/mach/configure: Regenerated.
15696
1f150908
L
156972012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15698
15699 [BZ #14278]
15700 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15701
28363bbf
JL
157022012-06-21 Jeff Law <law@redhat.com>
15703
15704 [BZ #13882]
15705 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15706 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15707 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15708 * elf/dl-open.c (dl_open_worker): Likewise.
15709
09615db4
CD
157102012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15711
15712 * scripts/list-sources.sh: Scan PORTS for translations.
15713 * po/libc.pot: Regenerated.
15714
2174c6dd
AJ
157152012-06-21 Andreas Jaeger <aj@suse.de>
15716
15717 [BZ #12194]
15718 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15719 warning.
15720 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15721 * bits/byteswap-16.h (__bswap_16): Likewise.
15722 * bits/byteswap.h (__bswap_constant_16): Likewise.
15723
3ee947b1
L
157242012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15725
15726 [BZ #14117]
a2f34833
L
15727 * sysdeps/i386/fpu_control.h: Removed.
15728 * sysdeps/x86_64/fpu_control.h: Moved to ...
15729 * sysdeps/x86/fpu_control.h: Here.
15730
3ee947b1
L
15731 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15732 (_FPU_SETCW): Likewise.
15733
ed1825f8
L
157342012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15735
25f1282a
L
15736 [BZ #14117]
15737 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15738 * sysdeps/x86/fpu/bits/mathinline.h: This.
15739 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15740
ed1825f8
L
15741 [BZ #14050]
15742 [BZ #14117]
15743 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15744 functions if __x86_64__ is defined.
15745
36d54b74
CLT
157462012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15747
15748 * string/endian.h: Add !__ASSEMBLER__ condition for including
15749 conversion interfaces.
15750
10285c21
JM
157512012-06-15 Joseph Myers <joseph@codesourcery.com>
15752
15753 [BZ #14241]
15754 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15755 of ABS(x) in calculating zero to negative powers other than odd
15756 integers.
15757 * math/libm-test.inc (pow_test): Add more tests.
15758
06c5abbd
AJ
157592012-06-15 Andreas Jaeger <aj@suse.de>
15760
15761 * manual/contrib.texi (Contributors): Update entry of Liubov
15762 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15763 Machado Filho.
15764
a3aeac40
CH
157652012-06-15 Cyril Hrubis <metan@ucw.cz>
15766
15767 * string/string.h: Add __wur to GNU version of strerror_r.
15768
49bdf4c1
L
157692012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15770
15771 [BZ #14229]
15772 * string/Makefile (tests): Add tst-strtok_r.
15773 * string/tst-strtok_r.c: New file.
15774 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15775 RAX_LP/RDX_LP on SAVE_PTR.
15776
834f9b8d
RM
157772012-06-14 Roland McGrath <roland@hack.frob.com>
15778
15779 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15780
75fa1921
JM
157812012-06-14 Joseph Myers <joseph@codesourcery.com>
15782
15783 * libm_test.inc (csqrt_test): Allow more spurious underflow
15784 exceptions.
15785 (j0_test): Likewise.
15786 (j1_test): Likewise.
15787 (y0_test): Likewise.
15788 (y1_test): Likewise.
15789
771766df
CD
157902012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15791
15792 * po/Makefile (libc.pot): Use UTF-8 charset.
15793
ceb9e56b
PP
157942012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15795
15796 [BZ #14210]
15797 Suppress sign-conversion warning from FD_SET.
15798 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15799 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15800 not unsigned long int.
15801 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15802
ddb28975
L
158032012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15804
15805 [BZ #14050]
15806 [BZ #14117]
15807 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15808 __extern_always_inline instead of __extern_inline.
15809 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15810 (__signbit): Likewise.
15811 (__signbitl): Support C++ namespace.
15812 (lrintf): New inline function.
15813 (lrint): Likewise.
15814 (llrintf): Likewise.
15815 (llrint): Likewise.
15816 (fmaxf): Likewise.
15817 (fmax): Likewise.
15818 (fminf): Likewise.
15819 (fmin): Likewise.
15820 (rint): Likewise.
15821 (rintf): Likewise.
15822 (ceil): Likewise.
15823 (ceilf): Likewise.
15824 (floor): Likewise.
15825 (floorf): Likewise.
15826 (nearbyint): Likewise.
15827 (nearbyintf): Likewise.
15828
d7b4fb26
TS
158292012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15830
15831 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15832 non-default versions.
15833
eb55f5c2
RM
158342012-06-11 Roland McGrath <roland@hack.frob.com>
15835
15836 [BZ #14218]
15837 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15838
366af02c
TS
158392012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15840
99ff6e5c
TS
15841 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15842 (FE_UPWARD, FE_DOWNWARD): Don't define.
15843 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15844 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15845
366af02c
TS
15846 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15847 reading it.
15848 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15849 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15850
793ea851
KK
158512012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15852
15853 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15855 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15856 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15857
a728a38f
L
158582012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15859
15860 [BZ #14117]
c08010c7
L
15861 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15862 * sysdeps/i386/fpu/Implies: New file.
15863 * sysdeps/x86_64/fpu/Implies: Likewise.
15864 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15865 * sysdeps/x86/fpu/bits/fenv.h: This.
15866
a728a38f
L
15867 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15868 __SSE_MATH__.
15869
6e230d11
SP
158702012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15871
15872 [BZ #14134]
15873 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15874 character 0xffff that matches the last element of the
15875 conversion table.
15876
1b671feb
AZ
158772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15878
15879 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15880 fmodl commit.
15881
6043738b
AZ
158822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15883
15884 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15885 values higher than 25.6283.
15886
34ae0b32
AZ
158872012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15888
15889 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15890 subnormal exponent extraction and add some __builtin_expect.
15891 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15892 Fix for subnormal mantissa calculation.
15893
1214ec8f
MF
158942012-06-04 Mike Frysinger <vapier@gentoo.org>
15895
15896 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15897 cpu2 is -1 and errno is not ENOSYS.
15898
f3d1f93c
L
158992012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15900
15901 [BZ #14117]
0e4a3cd7
L
15902 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15903 * sysdeps/x86/bits/string.h: This.
15904 * sysdeps/x86_64/bits/string.h: Removed.
15905
6704c645
L
15906 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15907 if not compiling for x86-64, but compiling for >= i486.
15908
48495318
L
15909 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15910 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15911
14adcbfc
L
15912 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15913 New macro from Linux kernel 3.4.0.
15914 (FP_XSTATE_MAGIC2): Likewise.
15915 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15916 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15917 (struct _fpx_sw_bytes): New struct.
15918 (struct _xsave_hdr): Likewise.
15919 (struct _ymmh_state): Likewise.
15920 (struct _xstate): Likewise.
15921
68e408ab
L
15922 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15923 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15924 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15925 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15926 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15927 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15928
f3d1f93c
L
15929 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15930 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15931 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15932 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15933 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15934 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15935
d9dc34cd
TMQMF
159362012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15937
15938 [BZ #13743]
15939 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15940 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15941 (sysdep_headers): Include sys/platform/ppc.h.
15942 * sysdeps/powerpc/test-gettimebase.c: Test for
15943 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15944 * manual/Makefile (appendices): Include platform.texi.
15945 * manual/contrib.texi (Contributors): Update @node pointers.
15946 * manual/maint.texi (Maintenance): Likewise.
15947 (Platform): New node.
15948 * manual/platform.texi: New file. Document the new features.
15949
4af3879c
SP
159502012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15951 Jakub Jelinek <jakub@redhat.com>
15952
15953 [BZ #14188]
15954 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15955 where __builtin_expect is unavailable.
15956
2fd6ff13
DM
159572012-06-03 David S. Miller <davem@davemloft.net>
15958
15959 * stdlib/longlong.h: Updated from GCC.
15960
173f7220
AS
159612012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15962
15963 [BZ #14042]
15964 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15965 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15966 __mcount_internal.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15968 (GLIBC_2.16): Likewise.
15969
f34a1c6f
L
159702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15971
15972 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15973
88a4576f
JM
159742012-06-01 Joseph Myers <joseph@codesourcery.com>
15975
ea32bcdd
JM
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15977 (default-abi): New variable.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15979 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15980 variable.
15981 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15982 Likewise.
15983 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15984 Likewise.
15985 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15986 Likewise.
15987
88a4576f
JM
15988 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15989 definition. Document in comment.
15990
402fe938
DM
159912012-06-01 David S. Miller <davem@davemloft.net>
15992
15993 * stdlib/longlong.h: Updated from GCC.
15994
3553723f
L
159952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15996
15997 [BZ #14117]
3bd872c4
L
15998 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15999 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16000 sys/debugreg.h sys/io.h here.
16001 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16002 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16003 sys/io.h.
16004 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16005 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16006 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16007 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16008 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16009 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16010
3553723f
L
16011 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16012 Define only if __x86_64__ is defined.
16013
4842e4fe
JM
160142012-06-01 Joseph Myers <joseph@codesourcery.com>
16015
c5bfe3d5
JM
16016 [BZ #14048]
16017 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16018 Use int64_t for variable i.
16019 * math/libm-test.inc (fmod_test): Add more tests.
16020
4842e4fe
JM
16021 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16022 z computation is not scheduled after fetestexcept.
16023 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16024 Use math_force_eval instead of asm to ensure calculation scheduled
16025 before exception test.
16026 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16027 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16028
efb73488
AJ
160292012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16030
16031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16032 computation is not scheduled after fetestexcept.
16033
29bcce7c
L
160342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16035
16036 [BZ #14117]
16037 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16038 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16039
73a68f94
AZ
160402012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16041
16042 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16043 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16044
67b6df78
L
160452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16046
edf2933a 16047 [BZ #14117]
ebc64a18
L
16048 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16049 <bits/wordsize.h>.
16050 (__WCHAR_MIN): Support __WORDSIZE == 64.
16051 (__WCHAR_MAX): Likewise.
16052
edf2933a
L
16053 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16054 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16055
57c6cf40
L
16056 [BZ #14183]
16057 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16058 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16059
67b6df78 16060 [BZ #14117]
8eb6281e
L
16061 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16062 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16063
aac639f4
L
16064 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16065 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16066
67b6df78
L
16067 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16068 Defined to 1 if __x86_64__ isn't defined.
16069 (_STAT_VER_LINUX_OLD): New.
16070 (st_atime): Remove duplicate.
16071 (st_mtime): Likewise.
16072 (st_ctime): Likewise.
16073
1c2cfe81
DM
160742012-05-31 David S. Miller <davem@davemloft.net>
16075
16076 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16077 entries.
16078
5be8418c
AS
160792012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16080
e7725326
AS
16081 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16082 gen-libm-test.pl.
16083
5be8418c
AS
16084 [BZ #14132]
16085 * elf/dl-reloc.c: Include <_itoa.h>.
16086 (_dl_reloc_bad_type): Remove use of INTUSE.
16087 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16088 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16089 * stdio-common/psiginfo.c (psiginfo): Likewise.
16090 * stdio-common/psignal.c (psignal): Likewise.
16091 * string/strsignal.c (strsignal): Likewise.
16092 * include/signal.h (_sys_siglist): Declare hidden proto.
16093 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16094 INTVARDEF with libc_hidden_data_def.
16095 * stdio-common/itoa-udigits.c: Likewise.
16096 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16097 (_itoa_lower_digits_internal): Remove declaration.
16098 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16099 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16100 (_sys_sigabbrev_internal): Remove aliases.
16101 (_sys_siglist): Define hidden alias.
16102
507352f1
MT
161032012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16104
16105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16106 bits/sysctl.h.
16107
42bbb1c3
L
161082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16109
16110 [BZ #14117]
6bd784b6
L
16111 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16112 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16113
8bca20f0
L
16114 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16115 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16116 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16117 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16119 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16120
f9e890a9
L
16121 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16122 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16123 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16124
471101a1
L
16125 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16126 with __addr.
16127 (insw): Likewise.
16128 (insl): Likewise.
16129 (outsb): Likewise.
16130 (outsw): Likewise.
16131 (outsl): Likewise.
16132
6451c862
L
16133 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16134 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16135 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16136
a254b8c9
L
16137 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16138 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16139 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16140 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16141 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16142 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16143
b8dfdd92
L
16144 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16145 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16146
578cd270
L
16147 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16148 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16149
de662f5f
L
16150 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16151 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16152 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16153
25653439
L
16154 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16155 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16156 to ...
16157 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16158
6bad24a0
L
16159 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16160 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16161 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16162
42bbb1c3
L
16163 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16164 for x86-64.
16165 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16166
2d10d547
JM
161672012-05-31 Joseph Myers <joseph@codesourcery.com>
16168
16169 * math/math.h (M_El): Use two more decimal places.
16170 (M_LOG2El): Likewise.
16171 (M_LOG10El): Likewise.
16172 (M_LN2l): Likewise.
16173 (M_LN10l): Likewise.
16174 (M_PIl): Likewise.
16175 (M_PI_2l): Likewise.
16176 (M_PI_4l): Likewise.
16177 (M_1_PIl): Likewise.
16178 (M_2_PIl): Likewise.
16179 (M_2_SQRTPIl): Likewise.
16180 (M_SQRT2l): Likewise.
16181 (M_SQRT1_2l): Likewise.
16182
f230c29b
DM
161832012-05-31 David S. Miller <davem@davemloft.net>
16184
16185 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16186 values between float registers.
16187 * sysdeps/sparc/sparc64/memset.S: Likewise.
16188 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16189
fed806c3
MF
161902012-05-31 Mike Frysinger <vapier@gentoo.org>
16191
16192 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16193 -D_FORTIFY_SOURCE=1.
16194 (CPPFLAGS-tst-longjmp_chk.c): Define.
16195 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16196 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16197 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16198 CFLAGS-tst-wchar-h.c.
16199
30917259
MP
162002012-05-31 Marek Polacek <polacek@redhat.com>
16201
16202 [BZ #14132]
16203 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16204 __endmntent_internal): Remove declaration.
16205 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16206 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16207 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16208
1c58d5dc
DM
162092012-05-30 David S. Miller <davem@davemloft.net>
16210
16211 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16212 (___Q_simulate_exceptions): Use real FP ops rather than writing
16213 into the %fsr.
16214 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16215 Likewise.
16216
7dc00e0d
L
162172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16218
16219 [BZ #14117]
0bd53985
L
16220 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16221 * sysdeps/x86/bits/xtitypes.h: This.
16222
3a257e66
L
16223 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16224 * sysdeps/x86/bits/wordsize.h: This.
16225
62f62904
L
16226 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16227 * sysdeps/x86/bits/huge_vall.h: This.
16228
404fe9d9
L
16229 * sysdeps/i386/bits/select.h: Removed.
16230 * sysdeps/x86_64/bits/select.h: Renamed to ...
16231 * sysdeps/x86/bits/select.h: This.
16232
d48d0446
L
16233 * sysdeps/i386/bits/setjmp.h: Removed.
16234 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16235 * sysdeps/x86/bits/setjmp.h: This.
16236
7dc00e0d
L
16237 * sysdeps/i386/bits/mathdef.h: Removed.
16238 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16239 * sysdeps/x86/bits/mathdef.h: This.
16240
03277f8f
AS
162412012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16242
16243 [BZ #14132]
16244 * include/sys/socket.h (__connect_internal)
16245 (__libc_sa_len_internal): Remove declaration.
16246 (__connect, __libc_sa_len): Declare hidden_proto.
16247 (SA_LEN): Remove use of INTUSE.
16248 * socket/connect.c: Add libc_hidden_def.
16249 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16250 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16251 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16252 alias.
16253 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16254 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16255 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16256 of adding _internal alias.
16257
13764867
L
162582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16259
16260 [BZ #14117]
6bd97696
L
16261 * sysdeps/i386/bits/link.h: Removed.
16262 * sysdeps/i386/bits/linkmap.h: Likewise.
16263 * sysdeps/x86_64/bits/link.h: Renamed to ...
16264 * sysdeps/x86/bits/link.h: This.
16265 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16266 * sysdeps/x86/bits/linkmap.h: This.
16267
f726f0bb
L
16268 * sysdeps/i386/bits/endian.h: Removed.
16269 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16270 * sysdeps/x86/bits/endian.h: This.
16271
13764867
L
16272 * sysdeps/i386/bits/byteswap.h: Removed.
16273 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16274 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16275 * sysdeps/x86/bits/byteswap.h: This.
16276 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16277 * sysdeps/x86/bits/byteswap-16.h: This.
16278 * sysdeps/i386/Implies: Add x86.
16279 * sysdeps/x86_64/Implies: Likewise.
16280
ae251b0b
DM
162812012-05-30 David S. Miller <davem@davemloft.net>
16282
16283 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16284 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16285 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16286 (FP_TRAPPING_EXCEPTIONS): Define.
16287 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16288 (FP_TRAPPING_EXCEPTIONS): Define.
16289 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16290 subnormals only when inexact has been signalled or underflow
16291 exceptions are enabled.
16292 (_FP_PACK_CANONICAL): Likewise.
16293
d5c90867
L
162942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16295
16296 [BZ #14183]
16297 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16298 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16299
63f1549e
RH
163002012-05-30 Richard Henderson <rth@twiddle.net>
16301
8d8f2279
RH
16302 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16303 with #ifndef NOT_IN_libc.
16304
63f1549e
RH
16305 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16306 marked to avoid plt entry.
16307
0ab0291b
L
163082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16309
16310 [BZ #14112]
16311 * Makeconfig (default-abi): New macro.
16312 (abi-includes): Likewise.
16313 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16314 $(abi-$(default-abi)-lib-soname) for soname if defined.
16315 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16316 abi-variants.
16317 * Makefile (installed-stubs): Likewise.
16318 * include/stubs-biarch.h: Removed.
16319 * scripts/lib-names.awk: Only handle one library at a time.
16320 * scripts/soversions.awk: Remove WORDSIZE support.
16321 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16322 entries.
16323 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16324 Removed.
16325 (syscall-list-default-condition): Likewise.
16326 (syscall-list-default-condition): Likewise.
16327 (syscall-list-includes): Likewise.
16328 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16329 syscall-list-* with abi-*. Handle undefined abi-variants.
16330 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16331 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16332 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16333 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16334 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16335 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16336 Removed.
16337 (syscall-list-32-options): Likewise.
16338 (syscall-list-32-condition): Likewise.
16339 (syscall-list-64-options): Likewise.
16340 (syscall-list-64-condition): Likewise.
16341 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16342 macro.
16343 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16344 Renamed to ...
16345 (abi-*): This.
16346 (abi-64-ld-soname): New macro.
16347 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16348 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16349 Renamed to ...
16350 (abi-*): This.
16351 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16352 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16353
4da0431d
JM
163542012-05-30 Joseph Myers <joseph@codesourcery.com>
16355
3a85279c
JM
16356 * sysdeps/unix/sysv/linux/kernel-features.h
16357 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16358 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16359 include <kernel-features.h>.
16360 [!__NR_ftruncate64]: Remove conditional code.
16361 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16362 [__NR_ftruncate64]: Make code unconditional.
16363 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16364 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16365 include <kernel-features.h>.
16366 [!__NR_ftruncate64]: Remove conditional code.
16367 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16368 [__NR_ftruncate64]: Make code unconditional.
16369 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16371 include <kernel-features.h>.
16372 [!__NR_ftruncate64]: Remove conditional code.
16373 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16374 [__NR_ftruncate64]: Make code unconditional.
16375 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16377 include <kernel-features.h>.
16378 [!__NR_ftruncate64]: Remove conditional code.
16379 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16380 [__NR_ftruncate64]: Make code unconditional.
16381 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16382
4da0431d
JM
16383 * configure.in (libc_cv_fpie): Weaken to a compile test using
16384 LIBC_TRY_CC_OPTION.
16385 * configure: Regenerated.
16386
11ef492c
AK
163872012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16388
16389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16393 Refreshed.
16394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16400 Refreshed.
16401
d66ef399
DM
164022012-05-27 David S. Miller <davem@davemloft.net>
16403
16404 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16405 (___Q_zero): New.
16406 (__Q_simulate_exceptions): Return void. Change to simulate
16407 exceptions by writing into the %fsr.
16408 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16409 (__Qp_handle_exceptions): Likewise.
16410 (numbers): Delete.
16411 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16412 __Qp_handle_exceptions.
16413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16414 __Qp_handle_exceptions.
16415 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16416 as unused and give dummy FP_RND_NEAREST initializer.
16417 (FP_INHIBIT_RESULTS): Define.
16418 (___Q_simulate_exceptions): Update declaration.
16419 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16420 formatting.
16421 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16422 as unused and give dummy FP_RND_NEAREST initializer.
16423 (__Qp_handle_exceptions): Update declaration.
16424 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16425 formatting.
16426
04fb54b5
TS
164272012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16428
16429 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16430 the temporary FPU control word.
16431 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16432 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16433 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16434 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16435 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16436 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16437 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16438 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16439 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16440 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16441 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16442
3f99608f
KK
164432012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16444
16445 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16446 fields.
16447
65a4de4e
CLT
164482012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16449
16450 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16451 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16452 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16453 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16454 Likewise.
16455 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16456 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16457 Likewise.
16458
15749d40
UD
164592012-05-27 Ulrich Drepper <drepper@gmail.com>
16460
16461 * po/h.po: Update from translation team.
16462
25dbcb27
AS
164632012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16464
3d3f8e55
AS
16465 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16466
25dbcb27
AS
16467 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16468 handling of denormals.
16469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16470 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16471 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16472 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16476 Likewise.
16477
7ad47a80 164782012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16479
16480 [BZ #14152]
16481 * math/libm-test.inc (fma_test): Don't always expect underflow
16482 exception.
16483
9c6ea9fa
SP
164842012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16485
16486 [BZ #12416]
16487 * elf/tst-execstack.c: Include stackinfo.h.
16488 (do_test): Adjust test case to ensure that pthread_getattr_np
16489 behaviour remains the same after marking stack executable.
16490
a8239222
JM
164912012-05-25 Joseph Myers <joseph@codesourcery.com>
16492
16493 * sysdeps/unix/sysv/linux/kernel-features.h
16494 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16495 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16496 kernel-features.h.
16497 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16498 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16499 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16500 kernel-features.h.
16501 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16502 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16503
918b5606
L
165042012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16505
16506 * configure.in: Define the default includes to being none.
16507 * configure: Regenerated.
16508
3a097cc7
RM
165092012-05-25 Roland McGrath <roland@hack.frob.com>
16510
8422c9a5
RM
16511 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16512 * sysdeps/x86_64/setjmp.S: Likewise.
16513 * sysdeps/i386/bsd-setjmp.S: Likewise.
16514 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16515 * sysdeps/i386/setjmp.S: Likewise.
16516 * sysdeps/i386/__longjmp.S: Likewise.
16517 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16518 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16519
3a097cc7
RM
16520 * include/stap-probe.h: New file.
16521 * configure.in: Handle --enable-systemtap.
16522 * configure: Regenerated.
16523 * config.h.in (USE_STAP_PROBE): New #undef.
16524 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16525 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16526 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16527
21708942
JM
165282012-05-25 Joseph Myers <joseph@codesourcery.com>
16529
16530 [BZ #13717]
16531 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16532 to 2.4.0 where earlier.
16533 * sysdeps/unix/sysv/linux/configure: Regenerated.
16534 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16535 <kernel-features.h>.
16536 [__ASSUME_32BITUIDS]: Make code unconditional.
16537 [!__ASSUME_32BITUIDS]: Remove conditional code.
16538 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16539 <kernel-features.h>.
16540 [__ASSUME_32BITUIDS]: Make code unconditional.
16541 [!__ASSUME_32BITUIDS]: Remove conditional code.
16542 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16543 [__ASSUME_32BITUIDS]: Make code unconditional.
16544 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16545 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16546 <kernel-features.h>.
16547 [__ASSUME_32BITUIDS]: Make code unconditional.
16548 [!__ASSUME_32BITUIDS]: Remove conditional code.
16549 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16550 <kernel-features.h>.
16551 [__ASSUME_32BITUIDS]: Make code unconditional.
16552 [!__ASSUME_32BITUIDS]: Remove conditional code.
16553 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16554 <kernel-features.h>.
16555 [__ASSUME_32BITUIDS]: Make code unconditional.
16556 [!__ASSUME_32BITUIDS]: Remove conditional code.
16557 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16558 <kernel-features.h>.
16559 [__ASSUME_32BITUIDS]: Make code unconditional.
16560 [!__ASSUME_32BITUIDS]: Remove conditional code.
16561 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16562 <kernel-features.h>.
16563 [__ASSUME_32BITUIDS]: Make code unconditional.
16564 [!__ASSUME_32BITUIDS]: Remove conditional code.
16565 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16566 <kernel-features.h>.
16567 [__ASSUME_32BITUIDS]: Make code unconditional.
16568 [!__ASSUME_32BITUIDS]: Remove conditional code.
16569 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16570 <kernel-features.h>.
16571 [__ASSUME_32BITUIDS]: Make code unconditional.
16572 [!__ASSUME_32BITUIDS]: Remove conditional code.
16573 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16574 <kernel-features.h>.
16575 [__ASSUME_32BITUIDS]: Make code unconditional.
16576 [!__ASSUME_32BITUIDS]: Remove conditional code.
16577 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16578 <kernel-features.h>.
16579 [__ASSUME_32BITUIDS]: Make code unconditional.
16580 [!__ASSUME_32BITUIDS]: Remove conditional code.
16581 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16582 <kernel-features.h>.
16583 [__ASSUME_32BITUIDS]: Make code unconditional.
16584 [!__ASSUME_32BITUIDS]: Remove conditional code.
16585 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16586 <kernel-features.h>.
16587 [__NR_setresgid] (__setresgid): Do not declare.
16588 [__ASSUME_32BITUIDS]: Make code unconditional.
16589 [!__ASSUME_32BITUIDS]: Remove conditional code.
16590 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16591 <kernel-features.h>.
16592 [__NR_setresuid] (__setresuid): Do not declare.
16593 [__ASSUME_32BITUIDS]: Make code unconditional.
16594 [!__ASSUME_32BITUIDS]: Remove conditional code.
16595 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16596 <kernel-features.h>.
16597 [__ASSUME_32BITUIDS]: Make code unconditional.
16598 [!__ASSUME_32BITUIDS]: Remove conditional code.
16599 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16600 <kernel-features.h>.
16601 [__ASSUME_32BITUIDS]: Make code unconditional.
16602 [!__ASSUME_32BITUIDS]: Remove conditional code.
16603 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16604 <kernel-features.h>.
16605 [__ASSUME_32BITUIDS]: Make code unconditional.
16606 [!__ASSUME_32BITUIDS]: Remove conditional code.
16607 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16608 <kernel-features.h>.
16609 [__ASSUME_32BITUIDS]: Make code unconditional.
16610 [!__ASSUME_32BITUIDS]: Remove conditional code.
16611 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16612 <kernel-features.h>.
16613 [__ASSUME_32BITUIDS]: Make code unconditional.
16614 [!__ASSUME_32BITUIDS]: Remove conditional code.
16615 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16616 <kernel-features.h>.
16617 [__ASSUME_32BITUIDS]: Make code unconditional.
16618 [!__ASSUME_32BITUIDS]: Remove conditional code.
16619 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16620 <kernel-features.h>.
16621 [__ASSUME_32BITUIDS]: Make code unconditional.
16622 [!__ASSUME_32BITUIDS]: Remove conditional code.
16623 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16624 <kernel-features.h>.
16625 [__ASSUME_32BITUIDS]: Make code unconditional.
16626 [!__ASSUME_32BITUIDS]: Remove conditional code.
16627 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16628 <kernel-features.h>.
16629 [__ASSUME_32BITUIDS]: Make code unconditional.
16630 [!__ASSUME_32BITUIDS]: Remove conditional code.
16631 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16632 <kernel-features.h>.
16633 [__ASSUME_32BITUIDS]: Make code unconditional.
16634 [!__ASSUME_32BITUIDS]: Remove conditional code.
16635 * sysdeps/unix/sysv/linux/kernel-features.h
16636 (__ASSUME_SETRESUID_SYSCALL): Remove.
16637 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16638 (__ASSUME_32BITUIDS): Likewise.
16639 (__ASSUME_LDT_WORKS): Likewise.
16640 (__ASSUME_O_DIRECTORY): Likewise.
16641 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16642 architecture but not kernel version.
16643 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16644 (__ASSUME_MMAP2_SYSCALL): Likewise.
16645 (__ASSUME_STAT64_SYSCALL): Likewise.
16646 (__ASSUME_IPC64): Likewise.
16647 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16648 <kernel-features.h>.
16649 [__ASSUME_32BITUIDS]: Make code unconditional.
16650 [!__ASSUME_32BITUIDS]: Remove conditional code.
16651 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16652 <kernel-features.h>.
16653 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16654 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16655 132096]: Remove conditional code.
16656 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16657 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16658 <kernel-features.h>.
16659 [__ASSUME_32BITUIDS]: Make code unconditional.
16660 [!__ASSUME_32BITUIDS]: Remove conditional code.
16661 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16662 <kernel-features.h>.
16663 [__ASSUME_32BITUIDS]: Make code unconditional.
16664 [!__ASSUME_32BITUIDS]: Remove conditional code.
16665 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16666 <kernel-features.h>.
16667 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16668 unconditional.
16669 (__setresgid): Do not declare.
16670 [__ASSUME_32BITUIDS]: Make code unconditional.
16671 [!__ASSUME_32BITUIDS]: Remove conditional code.
16672 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16673 <kernel-features.h>.
16674 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16675 unconditional.
16676 (__setresuid): Do not declare.
16677 [__ASSUME_32BITUIDS]: Make code unconditional.
16678 [!__ASSUME_32BITUIDS]: Remove conditional code.
16679 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16680 <kernel-features.h>.
16681 [__ASSUME_32BITUIDS]: Make code unconditional.
16682 [!__ASSUME_32BITUIDS]: Remove conditional code.
16683 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16684 <kernel-features.h>.
16685 [__ASSUME_32BITUIDS]: Make code unconditional.
16686 [!__ASSUME_32BITUIDS]: Remove conditional code.
16687
a386f1cc
RH
166882012-05-25 Richard Henderson <rth@twiddle.net>
16689
16690 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16691 dl_hwcap to ifunc resolver.
16692 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16693 elf_ifunc_invoke.
16694 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16695 dl_hwcap to ifunc resolver.
16696 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16697
b6550497
JM
166982012-05-24 Joseph Myers <joseph@codesourcery.com>
16699
16700 [BZ #14153]
16701 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16702 for |x| <= 2**-26, not 2**-57.
16703 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16704 exception.
16705
b0bc23a1
JL
167062012-05-24 Jeff Law <law@redhat.com>
16707
16708 * stdio-common/Makefile (tests): Add bug25.
16709 * stdio-common/bug25.c: New test.
16710
347c92e9
L
167112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16712
16713 [BZ #13576]
16714 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16715 multiple of MALLOC_ALIGNMENT in size.
16716 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16717
6bcc8b3f
JM
167182012-05-24 Joseph Myers <joseph@codesourcery.com>
16719
16720 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16721 Require >= 256.
16722 (FILENAME_MAX): Use macro-int-constant.
16723 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16724 (_IOFBF): Use macro-int-constant.
16725 (_IOLBF): Likewise.
16726 (_IONBF): Likewise.
16727 (SEEK_CUR): Likewise.
16728 (SEEK_END): Likewise.
16729 (SEEK_SET): Likewise.
16730 (TMP_MAX): Likewise.
16731 (EOF): Use macro-int-constant. Require < 0.
16732 (NULL): Use macro-constant. Require == 0.
16733 (stdin): Require type to be FILE *.
16734 (stdout): Likewise.
16735 (stderr): Likewise.
16736 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16737 macro-int-constant.
16738 (EXIT_SUCCESS): Likewise.
16739 (NULL): Use macro-constant. Require == 0.
16740 (RAND_MAX): Use macro-int-constant.
16741 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16742 [C99-based standards] (strtof): Require function.
16743 [C99-based standards] (strtold): Likewise.
16744 [C99-based standards] (strtoll): Likewise.
16745 [C99-based standards] (strtoull): Likewise.
16746 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16747 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16748 [ISO || ISO99 || ISO11] (math.h): Likewise.
16749 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16750 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16751 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16752
d18ea0c5
AS
167532012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16754
16755 [BZ #14132]
56d25bb8
AS
16756 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16757 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16758 * intl/dgettext.c (DCGETTEXT): Likewise.
16759 * intl/gettext.c (DCGETTEXT): Likewise.
16760 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16761 * posix/regex_internal.h (gettext): Likewise.
16762 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16763 Remove declaration.
16764 * include/argz.h (__argz_count_internal)
16765 (__argz_stringify_internal): Remove declaration.
16766 (__argz_count, __argz_stringify): Declare hidden proto.
16767 * intl/dcgettext.c: Remove use of INTDEF.
16768 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16769 * string/argz-stringify.c: Likewise.
16770 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16771 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16772 Declare hidden proto.
d18ea0c5
AS
16773 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16774 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16775 Declare hidden proto.
16776 * include/stdio.h (__asprintf_internal): Don't declare.
16777 (__asprintf): Don't define as macro. Declare hidden proto.
16778 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16779 (__fsetlocking): Declare hidden proto.
16780 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16781 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16782 hidden proto.
16783 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16784 (_IO_setlinebuf): Remove use of INTUSE.
16785 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16786 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16787 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16788 Remove declaration.
16789 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16790 (_IO_do_flush): Remove use of INTUSE.
16791 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16792 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16793 (_IO_adjust_column, _IO_least_wmarker)
16794 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16795 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16796 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16797 (_IO_default_doallocate, _IO_wdefault_doallocate)
16798 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16799 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16800 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16801 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16802 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16803 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16804 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16805 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16806 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16807 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16808 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16809 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16810 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16811 proto.
16812 (_IO_flush_all_internal, _IO_adjust_column_internal)
16813 (_IO_default_uflow_internal, _IO_default_finish_internal)
16814 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16815 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16816 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16817 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16818 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16819 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16820 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16821 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16822 (_IO_file_close_internal, _IO_file_close_it_internal)
16823 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16824 (_IO_file_init_internal, _IO_file_attach_internal)
16825 (_IO_file_fopen_internal, _IO_file_read_internal)
16826 (_IO_file_sync_internal, _IO_file_seek_internal)
16827 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16828 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16829 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16830 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16831 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16832 (_IO_list_all_internal, _IO_link_in_internal)
16833 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16834 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16835 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16836 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16837 (_IO_do_write_internal, _IO_padn_internal)
16838 (_IO_getline_info_internal, _IO_getline_internal)
16839 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16840 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16841 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16842 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16843 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16844 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16845 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16846 with libc_hidden_ver, remove use of INTUSE.
16847 * libio/genops.c: Likewise.
16848 * libio/freopen.c: Likewise.
16849 * libio/freopen64.c: Likewise.
16850 * libio/iofclose.c: Likewise.
16851 * libio/iofdopen.c: Likewise.
16852 * libio/iofflush.c: Likewise.
16853 * libio/iofflush_u.c: Likewise.
16854 * libio/iofgets.c: Likewise.
16855 * libio/iofgets_u.c: Likewise.
16856 * libio/iofopen.c: Likewise.
16857 * libio/iofopncook.c: Likewise.
16858 * libio/iofread.c: Likewise.
16859 * libio/iofread_u.c: Likewise.
16860 * libio/ioftell.c: Likewise.
16861 * libio/iofwrite.c: Likewise.
16862 * libio/iogetline.c: Likewise.
16863 * libio/iogets.c: Likewise.
16864 * libio/iogetwline.c: Likewise.
16865 * libio/iopadn.c: Likewise.
16866 * libio/iopopen.c: Likewise.
16867 * libio/ioseekoff.c: Likewise.
16868 * libio/ioseekpos.c: Likewise.
16869 * libio/iosetbuffer.c: Likewise.
16870 * libio/iosetvbuf.c: Likewise.
16871 * libio/ioungetc.c: Likewise.
16872 * libio/ioungetwc.c: Likewise.
16873 * libio/iovdprintf.c: Likewise.
16874 * libio/iovsprintf.c: Likewise.
16875 * libio/iovsscanf.c: Likewise.
16876 * libio/memstream.c: Likewise.
16877 * libio/obprintf.c: Likewise.
16878 * libio/oldfileops.c: Likewise.
16879 * libio/oldiofclose.c: Likewise.
16880 * libio/oldiofdopen.c: Likewise.
16881 * libio/oldiofopen.c: Likewise.
16882 * libio/oldiopopen.c: Likewise.
16883 * libio/oldstdfiles.c: Likewise.
16884 * libio/putc.c: Likewise.
16885 * libio/setbuf.c: Likewise.
16886 * libio/setlinebuf.c: Likewise.
16887 * libio/stdfiles.c: Likewise.
16888 * libio/strops.c: Likewise.
16889 * libio/vasprintf.c: Likewise.
16890 * libio/vscanf.c: Likewise.
16891 * libio/vsnprintf.c: Likewise.
16892 * libio/vswprintf.c: Likewise.
16893 * libio/wfiledoalloc.c: Likewise.
16894 * libio/wfileops.c: Likewise.
16895 * libio/wgenops.c: Likewise.
16896 * libio/wmemstream.c: Likewise.
16897 * libio/wstrops.c: Likewise.
16898 * libio/__fpurge.c: Likewise.
16899 * libio/__fsetlocking.c: Likewise.
16900 * assert/assert.c: Likewise.
16901 * debug/fgets_chk.c: Likewise.
16902 * debug/fgets_u_chk.c: Likewise.
16903 * debug/fread_chk.c: Likewise.
16904 * debug/fread_u_chk.c: Likewise.
16905 * debug/gets_chk.c: Likewise.
16906 * debug/obprintf_chk.c: Likewise.
16907 * debug/vasprintf_chk.c: Likewise.
16908 * debug/vdprintf_chk.c: Likewise.
16909 * debug/vsnprintf_chk.c: Likewise.
16910 * debug/vsprintf_chk.c: Likewise.
16911 * malloc/mtrace.c: Likewise.
16912 * misc/error.c: Likewise.
16913 * misc/syslog.c: Likewise.
16914 * stdio-common/asprintf.c: Likewise.
16915 * stdio-common/fxprintf.c: Likewise.
16916 * stdio-common/getw.c: Likewise.
16917 * stdio-common/isoc99_fscanf.c: Likewise.
16918 * stdio-common/isoc99_scanf.c: Likewise.
16919 * stdio-common/isoc99_vfscanf.c: Likewise.
16920 * stdio-common/isoc99_vscanf.c: Likewise.
16921 * stdio-common/isoc99_vsscanf.c: Likewise.
16922 * stdio-common/printf-prs.c: Likewise.
16923 * stdio-common/printf_fp.c: Likewise.
16924 * stdio-common/printf_fphex.c: Likewise.
16925 * stdio-common/printf_size.c: Likewise.
16926 * stdio-common/putw.c: Likewise.
16927 * stdio-common/scanf.c: Likewise.
16928 * stdio-common/sprintf.c: Likewise.
16929 * stdio-common/tmpfile.c: Likewise.
16930 * stdio-common/vfprintf.c: Likewise.
16931 * stdio-common/vfscanf.c: Likewise.
16932 * stdlib/strfmon_l.c: Likewise.
16933 * sunrpc/openchild.c: Likewise.
16934 * sunrpc/xdr_stdio.c: Likewise.
16935 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16936 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16937
d6c33fda
RM
169382012-05-24 Roland McGrath <roland@hack.frob.com>
16939
c1487492
RM
16940 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16941
16942 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16943 in the third column, to generate for the shared library an IFUNC
16944 that uses _dl_vdso_vsym.
16945 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16946 * Makeconfig (object-suffixes-noshared): New variable.
16947
16948 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16949 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16950 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16951 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16952
d6c33fda
RM
16953 [BZ #14132]
16954 * include/sys/time.h (__gettimeofday): Remove macro.
16955 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16956 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16957 Remove INTDEF.
16958 (__gettimeofday): Add libc_hidden_def.
16959 (gettimeofday): Add libc_hidden_weak.
16960 * sysdeps/mach/gettimeofday.c: Likewise.
16961 * sysdeps/posix/gettimeofday.c: Likewise.
16962 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16963 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16964 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16965 (__gettimeofday_internal): Remove strong_alias.
16966 (__gettimeofday): Add libc_hidden_def.
16967 (gettimeofday): Add libc_hidden_weak.
16968 * sysdeps/unix/syscalls.list (gettimeofday):
16969 Remove __gettimeofday_internal alias.
16970
b5a2bbe6
L
169712012-05-24 Daniel Jacobowitz <drow@false.org>
16972 H.J. Lu <hongjiu.lu@intel.com>
16973
16974 [BZ #12495]
16975 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16976 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16977 (largebin_index_32_big): New.
16978 (largebin_index): Use it for 16-byte alignment.
16979 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16980 correction with front_misalign.
16981
cfba4fda
L
169822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16983
7f907421
L
16984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16986 Likewise.
16987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16988 Likewise.
16989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16990 Likewise.
16991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16992 Likewise.
16993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16994 Likewise.
16995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16996 Likewise.
16997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16998 Likewise.
16999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17000 Likewise.
17001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17002 Likewise.
17003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17004 Likewise.
17005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17006 Likewise.
17007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17008 Likewise.
17009
cfba4fda
L
17010 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17011 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17012
80bad0cc
JM
170132012-05-24 Joseph Myers <joseph@codesourcery.com>
17014
7a25eb06
JM
17015 [BZ #10846]
17016 [BZ #14036]
17017 * math/libm-test.inc (exp_test): Add test from bug 14036.
17018 (pow_test): Add test from bug 10846.
17019
795405f9
JM
17020 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17021 and other flags.
17022 (special_function): Do not include flags in test name.
17023 (parse_args): Likewise.
17024 * sysdeps/i386/fpu/libm-test-ulps: Update.
17025 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17026 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17027 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17029
80bad0cc
JM
17030 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17031 exceptions.
17032 * math/libm-test.inc ("Philosophy"): Update comment about
17033 exception testing.
17034 (UNDERFLOW_EXCEPTION): New macro.
17035 (UNDERFLOW_EXCEPTION_OK): Likewise.
17036 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17037 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17038 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17039 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17040 (INVALID_EXCEPTION_OK): Update value.
17041 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17042 (OVERFLOW_EXCEPTION_OK): Likewise.
17043 (IGNORE_ZERO_INF_SIGN): Likewise.
17044 (test_exceptions): Handle underflow exceptions.
17045 (acos_test): Update for underflow exception expectations.
17046 (cexp_test): Likewise.
17047 (clog_test): Likewise.
17048 (clog10_test): Likewise.
17049 (csqrt_test): Likewise.
17050 (ctan_test): Likewise.
17051 (ctanh_test): Likewise.
17052 (exp_test): Likewise.
17053 (exp10_test): Likewise.
17054 (exp2_test): Likewise.
17055 (expm1_test): Likewise.
17056 (fma_test): Likewise.
17057 (j0_test): Likewise.
17058 (jn_test): Likewise.
17059 (nexttoward_test): Likewise.
17060 (pow_test): Likewise.
17061 (scalbn_test): Likewise.
17062 (scalbln_test): Likewise.
17063 (tan_test): Likewise.
17064 (y1_test): Likewise.
17065 * sysdeps/i386/fpu/libm-test-ulps: Update.
17066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17067
9e0e3d0b
DM
170682012-05-23 David S. Miller <davem@davemloft.net>
17069
17070 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17071 (__libc_sigaction): Remove unused local variables.
17072
ccd0a08f
L
170732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17074
17075 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17076
62bdf9a6
PE
170772012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17078
f8591f80
PE
17079 mktime: avoid signed integer overflow
17080 * time/mktime.c (__mktime_internal): Do not mishandle the case
17081 where diff == INT_MIN.
17082
94c7d826
PE
17083 mktime: simplify computation of average
17084 * time/mktime.c (ranged_convert): Use new time_t_avg function
17085 instead of rolling our own (probably-slower) code.
17086
ce73d683
PE
17087 mktime: do not assume signed right shift propagates sign bit
17088 * time/mktime.c (isdst_differ): New static function.
17089 (__mktime_internal): No need to normalize tm_isdst now.
17090 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17091 tm_isdst values.
17092
72a22e59
PE
17093 mktime: merge another wrapv change from gnulib
17094 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17095 from some compilers.
17096
68605433
PE
17097 mktime: remove incorrect attempt at unusual arithmetics
17098 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17099 The code didn't really work on such machines anyway.
17100 (TYPE_MINIMUM): Assume two's complement.
17101 (twos_complement_arithmetic): Verify that long_int and time_t
17102 are two's complement (or unsigned, in the latter case).
17103
03cf7fe3
PE
17104 mktime: check signed shifts on long_int and time_t, too
17105 * time/mktime.c (SHR): Check that shifts work as desired
17106 on the types long_int and time_t too, as SHR is used on
17107 such types.
17108
f04dfbc2
PE
17109 mktime: do not assume 'long' is wide enough
17110 * time/mktime.c (verify): Move decl up.
17111 (long_int): New type.
17112 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17113 to remove assumption in the code that 'long' is wide enough to
17114 store year values. This assumption is not true on x32 and on
17115 some non-glibc platforms.
17116
62bdf9a6
PE
17117 mktime: merge wrapv change from gnulib
17118 * time/mktime.c (WRAPV): New macro.
17119 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17120 (guess_time_tm, __mktime_internal): Do not assume that signed
17121 integer overflow wraps around; modern compilers generate code
17122 where this assumption is no longer valid.
17123
5e292e4f
L
171242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17125
17126 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17127 Replace "jmp L(pseudo_end)" with "ret".
17128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17129 Likewise.
17130
8caf8c87
AJ
171312012-05-23 Andreas Jaeger <aj@suse.de>
17132
17133 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17134 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17135
1a09dc56
AJ
171362012-05-23 Andreas Jaeger <aj@suse.de>
17137 Maximilian Attems <max@stro.at>
17138
17139 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17140 New macros.
17141
1c87aba0
L
171422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17143
17144 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17145 code so that pseudo_end is just ret and the stack pointer is
17146 correct also for static library in error case.
17147
40e45bd5
JM
171482012-05-23 Joseph Myers <joseph@codesourcery.com>
17149
c2670533
JM
17150 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17151 move to syscalls.list.
17152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17156
40e45bd5
JM
17157 * manual/install.texi (Running make install): Do not mention Linux
17158 kernel version for which pt_chown is not needed.
17159 (Linux): Do not mention problems with nscd with 2.0 kernels.
17160 * INSTALL: Regenerated.
17161
be08eda5
AJ
171622012-05-23 Andreas Jaeger <aj@suse.de>
17163
17164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17165 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17166 macro.
17167 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17168 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17169 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17170 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17171 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17172 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17173 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17174 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17175 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17176 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17177 * sysdeps/unix/sysv/linux/bits/in.h
17178 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17179
a6a056bb
RM
171802012-05-22 Roland McGrath <roland@hack.frob.com>
17181
17182 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17183 (PREPARE_VERSION): Just use assert instead, it will be elided
17184 under [NDEBUG] anyway.
17185
c9009328
L
171862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17187
17188 * sysdeps/unix/sysv/linux/Makefile: Include
17189 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17190 (sysdep_routines): Remove sysctl.
c9009328
L
17191 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17192 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17193 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17194 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17195 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17196
73338355
AJ
171972012-05-22 Andreas Jaeger <aj@suse.de>
17198
17199 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17200 that pseudo_end is just ret and the stack pointer is correct also
17201 for static library in error case.
17202
d44638b0
PP
172032012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17204
17205 [BZ #14122]
17206 * nss/nsswitch.c (defconfig_entries): New variable.
17207 (__nss_database_lookup): Don't leak defconfig entries.
17208 (nss_parse_service_list): Don't leak on error paths.
17209 (free_database_entries): New function.
17210 (free_defconfig): New function.
17211 (free_mem): Move common code to free_database_entries.
17212
31a39bd8
L
172132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17214
da0331a8
L
17215 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17216 Add arch_prctl.
17217 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17218
31a39bd8
L
17219 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17220 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17222 New macro.
17223 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17224 (INTERNAL_SYSCALL_TYPES): Likewise.
17225 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17226 (LOAD_REGS_TYPES_[1-6]): Likewise.
17227 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17228 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17229
45470df3
AZ
172302012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17231
17232 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17233 copysignl for GLIBC_2_0.
17234 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17235 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17237 logbl for GLIBC_2_0.
17238 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17239 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17240
98a61bcb
L
172412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17242
a4f6e481
L
17243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17244 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17245
f63d5db6
L
17246 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17247 Use "neg %eax".
17248
98a61bcb
L
17249 * time/mktime.c: Update copyright years.
17250
95770f14
PE
172512012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17252
6226efbd
PE
17253 mktime: merge comment-quoting-style change from gnulib
17254 * time/mktime.c: Quote 'like this' in comments.
17255 The GNU coding standards suggest that we no longer quote `like this',
17256 as "`" and "'" are typically rendered asymmetrically nowadays.
17257 The typical gnulib style is to quote 'like this' when quoting
17258 code, and "like this" when quoting English.
17259
b99e4f78
PE
17260 * time/mktime.c (compile-command): Add "-I.".
17261
643e01e6
PE
17262 mktime: merge mktime-internal.h change from gnulib
17263 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17264
2554247d
PE
17265 mktime: merge time_r change from gnulib
17266 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17267
826dd0ab
PE
17268 mktime: merge DEBUG change from gnulib
17269 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17270 case system <time.h> has a #define.
17271
bd83aabe
PE
17272 mktime: merge <sys/types.h> change from gnulib
17273 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17274 since <time.t> is now guaranteed to define time_t.
17275
95770f14
PE
17276 mktime: merge HAVE_CONFIG_H change from gnulib
17277 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17278
5e1a27a9
L
172792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17280
0e44a77e
L
17281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17282 Use "neg %eax".
17283
5e1a27a9
L
17284 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17285 __rlim_t cast.
17286 (struct rusage): Use anonymous union to pad each field to
17287 __syscall_slong_t.
17288
46259bec
DM
172892012-05-21 David S. Miller <davem@davemloft.net>
17290
17291 * Makefules (o-iterator): Remove .s cases.
17292 (compile-command.s): Delete.
17293 (COMPILE.s): Delete.
17294 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17295
59f0c22e
JM
172962012-05-21 Joseph Myers <joseph@codesourcery.com>
17297
17298 * configure.in (libc_cv_predef_stack_protector): Only consider
17299 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17300 * configure: Regenerated.
17301
20c07380
L
173022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17303
bbb3154b
L
17304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17305 New macro. Use R*LP on int and pointer.
17306 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17307 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17308 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17309 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17310
20c07380
L
17311 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17312 [__WORDSIZE_TIME64_COMPAT32] instead of
17313 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17314 (struct utmp): Likewise.
17315 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17316 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17317 Renamed to ...
17318 (__WORDSIZE_TIME64_COMPAT32): This.
17319 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17320 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17321 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17322 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17323 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17324 (__WORDSIZE_TIME64_COMPAT32): New macro.
17325
d8d1017e
AJ
173262012-05-21 Andreas Jaeger <aj@suse.de>
17327
17328 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17329 only if [SHARED]. Add prototype for __wcschr_ia32.
17330
6c7fb145
RM
173312012-05-21 Roland McGrath <roland@hack.frob.com>
17332
17333 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17334 of %rbp unmolested in the jmp_buf while mangling the low bits.
17335 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17336 unmolested high bits of %rbp while demangling the low bits.
17337 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17338
66274218
AJ
173392012-05-21 Andreas Jaeger <aj@suse.de>
17340
07c58f8f
AJ
17341 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17342 * sunrpc/svc_simple.c: Use it for registerrpc.
17343 * sunrpc/xcrypt.c: Use it for passwd2des.
17344
66274218
AJ
17345 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17346
61f65140
L
173472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17348
17349 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17350 Don't define if [__SYSCALL_WORDSIZE != 32].
17351 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17352 New macro.
17353
5fefb436
AJ
173542012-05-21 Bruno Haible <bruno@clisp.org>
17355 Andreas Jaeger <aj@suse.de>
17356
17357 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17358 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17359 inptr and inend for must_buffer_ch.
17360 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17361 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17362 * stdio-common/Makefile (tests): Remove bug15.
17363 (bug15-ENV): Remove macro.
17364 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17365 anymore.
17366
d8e272ab
AJ
173672012-05-19 Andreas Jaeger <aj@suse.de>
17368 Roland McGrath <roland@hack.frob.com>
17369
17370 * manual/contrib.texi: Completely rewritten. It contains now an
17371 alphabetical list of contributors and their contributions.
17372
4a56a162
RH
173732012-05-21 Richard Henderson <rth@twiddle.net>
17374
17375 * misc/getauxval.c (__getauxval): Use unsigned long int.
17376 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17377 (getauxval): Use unsigned long int.
17378
d024d23c
L
173792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17380
17381 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17382
cbc00a03
RM
173832012-05-21 Roland McGrath <roland@hack.frob.com>
17384
17385 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17386 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17387 __alignof__ (long double).
17388
478143fa
AZ
173892012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17390
17391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17392
c7683a6d
RH
173932012-05-20 Richard Henderson <rth@twiddle.net>
17394
17395 * misc/getauxval.c: New file.
17396 * misc/sys/auxv.h: New file.
17397 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17398 (routines): Add getauxval.
17399 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17400 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17401 * elf/dl-sysdep.c (_dl_auxv): Remove.
17402 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17403 * elf/dl-support.c (_dl_auxv): New variable.
17404 (_dl_aux_init): Initialize it.
17405 * manual/startup.texi (Auxiliary Vector): New node.
17406 * sysdeps/generic/bits/hwcap.h: New file.
17407 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17408 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17409 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17410 * sysdeps/sparc/sysdep.h: ... here. Include it.
17411 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17412 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17414 Update.
c7683a6d
RH
17415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17423
a6f1845d
AZ
174242012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17425
17426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17427
cbcbe830
DM
174282012-05-19 David S. Miller <davem@davemloft.net>
17429
17430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17431
e0b16cc2
JM
174322012-05-19 Joseph Myers <joseph@codesourcery.com>
17433
17434 [BZ #14123]
17435 * math/s_ccosh.c: Include <float.h>
17436 (__ccosh): Avoid internal overflow calculating sinh and cosh
17437 values before multiplying by sin and cos values.
17438 * math/s_ccoshf.c: Likewise.
17439 * math/s_ccoshl.c: Likewise.
17440 * math/s_csin.c: Likewise.
17441 * math/s_csinf.c: Likewise.
17442 * math/s_csinl.c: Likewise.
17443 * math/s_csinh.c: Likewise.
17444 * math/s_csinhf.c: Likewise.
17445 * math/s_csinhl.c: Likewise.
17446 * math/libm-test.inc (ccos_test): Add more tests.
17447 (ccosh_test): Likewise.
17448 (csin_test): Likewise.
17449 (csinh_test): Likewise.
17450 * sysdeps/i386/fpu/libm-test-ulps: Update.
17451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17452
6ad13e08
L
174532012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17454
f66f0ce8
L
17455 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17456 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17457
6ad13e08
L
17458 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17459
b1d072a7
JM
174602012-05-19 Joseph Myers <joseph@codesourcery.com>
17461
17462 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17463 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17464 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17465 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17466 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17467 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17468 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17469 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17470 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17471 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17472 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17473 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17474 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17475 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17476 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17477 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17478 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17479 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17480 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17481 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17482 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17483 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17484 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17485 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17486 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17487 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17488 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17489 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17490 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17491 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17492 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17493
9eae47cb
AJ
174942012-05-18 Andreas Jaeger <aj@suse.de>
17495
17496 * csu/.gitignore: Delete.
17497
bb07f69f
L
174982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17499
17500 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17501 (timex): Use __syscall_slong_t.
17502
e6bdb741
AJ
175032012-05-18 Andreas Jaeger <aj@suse.de>
17504 Carlos O'Donell <carlos_odonell@mentor.com>
17505
17506 * manual/install.texi (Configuring and compiling): Update
17507 description about files modified in the source directory.
d6c33fda 17508 * INSTALL: Regenerated.
e6bdb741 17509
1b74487e
L
175102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17511
17512 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17513 value. Use "or" to set return value to -1.
17514 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17515 negate return value.
17516
a88b64b9
TMQMF
175172012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17518
17519 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17520 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17521 failure if the compiler has Graphite support disabled.
17522 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17523 Likewise.
17524 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17525 CFLAGS-memmove.c): Likewise.
17526 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17527 Likewise.
17528
3707636e
L
175292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17530
610b8622
L
17531 * sysdeps/x86_64/x32/_itoa.h: New file.
17532
7cd195df
L
17533 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17534 getdents system call only if kernel and user dirents have the
17535 same d_ino and d_off.
17536
94b07d20
L
17537 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17538 LLONG_MAX != LONG_MAX.
17539 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17540 (_fitoa_word): Likewise.
17541
18298070
L
17542 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17543 years.
17544 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17545 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17546 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17547
553c7ea4
L
17548 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17549 include <bits/wordsize.h>. Check __x86_64__ instead of
17550 __WORDSIZE.
17551 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17552 if __x86_64__ is defined. Use anonymous union on fpstate.
17553
3707636e
L
17554 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17555 anonymous union.
17556
b53ef01a
AS
175572012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17558
37fb1dc0
AS
17559 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17560 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17561 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17562 Refer to _rtld_local_ro instead of _rtld_global_ro.
17563 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17564 Likewise.
17565 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17566 Likewise.
17567 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17568 Likewise.
17569 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17570 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17571 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17572
b53ef01a
AS
17573 * sysdeps/powerpc/powerpc32/dl-machine.c
17574 (__elf_machine_runtime_setup) [PROF]: Don't reference
17575 _dl_prof_resolve.
17576
7a185db2
AJ
175772012-05-18 Andreas Jaeger <aj@suse.de>
17578
17579 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17580 function only available for GCCs before 3.4 since GCC 3.4
17581 introduced a builtin.
17582 (lrint): Likewise.
17583 (llrintf): Likewise.
17584 (llrint): Likewise.
17585 (fmaxf): Likewise.
17586 (fmax): Likewise.
17587 (fminf): Likewise.
17588 (fmin): Likewise.
17589 (rint): Likewise.
17590 (rintf): Likewise.
17591 (nearbyint): Likewise.
17592 (nearbyintf): Likewise.
17593 (ceil): Likewise.
17594 (ceilf): Likewise.
17595 (floor): Likewise.
17596 (floorf): Likewise.
17597
3e5aef87
L
175982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17599
428bd707
L
17600 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17601 on both fields and cast pointer to __syscall_ulong_t.
17602
3e5aef87
L
17603 * bits/types.h (__fsword_t): New type.
17604 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17605 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17606 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17607 (__FSWORD_T_TYPE): Likewise.
17608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17609 (__FSWORD_T_TYPE): Likewise.
17610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17611 (__FSWORD_T_TYPE): Likewise.
17612 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17613 (__FSWORD_T_TYPE): Likewise.
17614 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17615 __SWORD_TYPE with __fsword_t.
17616 (statfs64): Likewise.
17617
1ba7c3dc
DM
176182012-05-17 David S. Miller <davem@davemloft.net>
17619
17620 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17621
59910343
AJ
176222012-05-17 Andreas Jaeger <aj@suse.de>
17623
17624 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17625 warning.
17626
2e4c1e9e
L
176272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17628
17629 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17630
de7f5ce7
AJ
176312012-05-17 Andreas Jaeger <aj@suse.de>
17632
17633 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17634 when it is used.
17635
286abc3d
CM
176362012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17637
17638 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17639
477cc68e
L
176402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17641
17642 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17643 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17644
1a0994f5
CD
176452012-05-17 Andreas Jaeger <aj@suse.de>
17646 Carlos O'Donell <carlos_odonell@mentor.com>
17647
17648 [BZ #14059]
17649 * sysdeps/x86_64/multiarch/init-arch.h
17650 (bit_YMM_Usable): Rename to...
17651 (bit_AVX_Usable): ... this.
17652 (bit_FMA4_Usable): New macro.
17653 (bit_XMM_state): New macro.
17654 (bit_YMM_state): New macro.
17655 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17656 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17657 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17658 (CPUID_OSXSAVE): New macro.
17659 (CPUID_AVX): New macro.
17660 (CPUID_FMA4): New macro.
17661 (index_YMM_Usable): Rename to...
17662 (index_AVX_Usable): ... this.
17663 (HAS_AVX): Use HAS_ARCH_FEATURE.
17664 (HAS_FMA4): Likewise.
17665 (HAS_YMM_USABLE): Remove.
17666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17667 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17668 are present.
17669 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17670 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17671 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17672 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17673 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17674
0af797de
CM
176752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17676
17677 * math/libm-test.c: Support platforms without multiple rounding modes.
17678 * math/bug-nextafter.c: Support platforms without FP exceptions.
17679 * math/bug-nexttoward.c: Likewise.
17680 * math/test-fenv.c: Likewise.
17681 * math/test-misc.c: Likewise.
17682 * stdlib/bug-getcontext.c: Likewise.
17683
e39745ff
AJ
176842012-05-17 Andreas Jaeger <aj@suse.de>
17685
17686 * manual/examples/search.c (critter_cmp): Change signature to
17687 avoid warnings.
17688 * manual/string.texi (Collation Functions): Likewise.
17689
48970aba
L
176902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17691
17692 * bits/types.h: Fold copyright years.
17693 * bits/typesizes.h: Likewise.
17694 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17695 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17698 * time/time.h: Likewise.
17699
bedee953
PP
177002012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17701
17702 [BZ #208]
17703 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17704 in instead of returning them. Return void.
17705 (__libc_mallinfo): Accumulate over all arenas.
17706 (__malloc_stats): Adjust for change in int_mallinfo interface.
17707
61653dfb
RM
177082012-05-16 Roland McGrath <roland@hack.frob.com>
17709
30b99d79
RM
17710 [BZ #10375]
17711 * configure.in (NM): Add AC_CHECK_TOOL for it.
17712 (libc_extra_cflags): New substituted variable.
17713 Check for -fstack-protector being used implicitly.
17714 * configure: Regenerated.
17715 * config.make.in (config-extra-cflags): New variable,
17716 gets @libc_extra_cflags@.
17717 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17718
61653dfb
RM
17719 [BZ #10375]
17720 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17721 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17722 * configure: Regenerated.
17723 * config.make.in (CPPUNDEFS): New substituted variable.
17724 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17725 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17726 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17727
661768bb
L
177282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17729
17730 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17731 (mq_attr): Use __syscall_slong_t.
17732
d4261567
L
177332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17734
17735 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17736 Check __x86_64__ instead of __WORDSIZE.
17737 (_STAT_VER_LINUX): Likewise.
17738 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17739 __syscall_ulong_t and __syscall_slong_t.
17740 (stat64): Likewise.
17741
cf3ff365
L
177422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17743
17744 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17745
76cf3e4d
L
177462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17747
17748 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17749
a637753a
L
177502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17751
17752 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17753 __syscall_ulong_t.
17754
d5e05119
L
17755 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17756 include <bits/wordsize.h>. Check __x86_64__ instead of
17757 __WORDSIZE.
17758 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17759 defined.
17760 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17761
f62ee380
L
17762 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17763 include <bits/wordsize.h>. Check __x86_64__ instead of
17764 __WORDSIZE.
17765 (user_regs_struct): Use "__extension__ unsigned long long"
17766 instead of "unsigned long" if __x86_64__ is defined.
17767 (user): Likewise. Pad after pointer field if __ILP32__ is
17768 defined.
17769
4e124ced
JM
177702012-05-16 Joseph Myers <joseph@codesourcery.com>
17771
6a3951a0
JM
17772 * configure.in (makeinfo): Require version 4.5 or later. Allow
17773 versions 5 to 9.
17774 * configure: Regenerated.
17775 * manual/install.texi (texinfo): Increase version requirement to
17776 4.5 or later.
17777 * INSTALL: Regenerated.
17778
4e124ced
JM
17779 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17780
953ca31a
L
177812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17782
17783 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17784
617aca05
L
17785 * sysdeps/x86_64/x32/ffs.c: New file.
17786
5762f7ae
L
17787 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17788 __syscall_ulong_t.
17789 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17790 defined. Use __syscall_ulong_t.
17791 (shminfo): Use __syscall_ulong_t.
17792 (shm_info): Likewise.
17793
a26b6856
L
17794 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17795 __syscall_ulong_t.
17796
cb2b9ef7
L
17797 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17798 <bits/wordsize.h>.
17799 (msgqnum_t): Use __syscall_ulong_t.
17800 (msglen_t): Likewise.
17801 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17802 __syscall_ulong_t.
17803
34683bb0
L
17804 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17805 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17806
84a68786
L
17807 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17808
48baa5f1
L
17809 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17810 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17811
180be88b
L
17812 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17813 __syscall_slong_t.
17814
5e90c8ad
L
17815 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17816 include <bits/wordsize.h>. Check __x86_64__ instead of
17817 __WORDSIZE.
17818
23dfb58b
L
17819 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17820 "unsigned long long int" if __x86_64__ is defined.
17821 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17822
ce5d54b0
L
17823 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17824 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17825 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17826
13dc9eac
L
17827 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17828 <stdint.h>.
17829 (GET_PC): Cast to uintptr_t first.
17830 (GET_FRAME): Likewise.
17831 (GET_STACK): Likewise.
17832
a7895d15
L
17833 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17834 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17835 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17836 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17837 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17838 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17839 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17840 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17841 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17842 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17843 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17844 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17845 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17846 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17847 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17848 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17849 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17850 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17851 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17852 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17853 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17854 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17855 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17856 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17857 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17858 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17859 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17861 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17862
656416c9
AS
178632012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17864
5bd66283
AS
17865 * Makerules (+depfiles): Also collect depfiles from .oS in
17866 $(extra-objs).
17867 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17868 .oS, $(libnldbl-routines)).
17869
656416c9
AS
17870 * Makerules (native-compile-mkdep-flags): Define.
17871 * sunrpc/Makefile (extra-objs): Add $(addprefix
17872 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17873 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17874 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17875 calling $(make-target-directory).
17876
a46f2169
L
178772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17878
17879 * bits/types.h (__snseconds_t): Removed.
17880 * time/time.h (struct timespec): Replace __snseconds_t with
17881 __syscall_slong_t.
17882 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17883 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17884 Likewise.
17885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17886 (__SNSECONDS_T_TYPE): Likewise.
17887 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17888 (__SNSECONDS_T_TYPE): Likewise.
17889 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17890 (__SNSECONDS_T_TYPE): Likewise.
17891
6af6528b
L
178922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17893
17894 * sysdeps/mach/hurd/bits/typesizes.h
17895 (__SYSCALL_SLONG_TYPE): New macro.
17896 (__SYSCALL_ULONG_TYPE): Likewise.
17897
de986b56
L
178982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17899
17900 * bits/types.h (__syscall_slong_t): New type.
17901 (__syscall_ulong_t): Likewise.
17902
17903 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17904 (__SYSCALL_ULONG_TYPE): Likewise.
17905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17906 (__SYSCALL_SLONG_TYPE): Likewise.
17907 (__SYSCALL_ULONG_TYPE): Likewise.
17908 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17909 (__SYSCALL_SLONG_TYPE): Likewise.
17910 (__SYSCALL_ULONG_TYPE): Likewise.
17911 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17912 (__SYSCALL_SLONG_TYPE): Likewise.
17913 (__SYSCALL_ULONG_TYPE): Likewise.
17914
85736dc7
L
179152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17916
17917 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17918 Add sigaltstack-offsets.sym.
17919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17920 <sigaltstack-offsets.h>.
17921 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17922 longjmp_msg pointer.
17923 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17924 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17925 signal stack.
17926 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17927
cc03b296
JM
179282012-05-15 Joseph Myers <joseph@codesourcery.com>
17929
a9538892
JM
17930 * elf/stackguard-macros.h: Remove file.
17931 * sysdeps/generic/stackguard-macros.h: New file.
17932 * sysdeps/i386/stackguard-macros.h: Likewise.
17933 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17934 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17935 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17936 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17937 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17938 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17939 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17940 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17941 <elf/stackguard-macros.h>.
17942
cc03b296
JM
17943 [BZ #14109]
17944 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17945 __aligned__ in attribute.
17946 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17947 (gregset_t): Likewise.
17948
93171016
L
179492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17950
17951 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17952 * sysdeps/x86_64/64/Implies-after: Here. New file.
17953 * sysdeps/x86_64/x32/Implies-after: New file.
17954
d86813a0
L
179552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17956
17957 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17958 and access return value for _dl_profile_fixup. Use R10_LP to
17959 load frame size.
17960
2953ec75
L
179612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17962
17963 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17964
3b550e9e
L
179652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17966
17967 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17968 * sysdeps/x86_64/x32/sysdep.h: New file.
17969
eda41706
L
179702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17971
17972 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17973 * sysdeps/x86_64/setjmp.S: Likewise.
17974
9ea01d93
AZ
179752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17976
17977 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17978 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17979 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17980 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17981 remove unused global constant.
17982
02a91938
CM
179832012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17984
17985 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17986 include of <not-cancel.h>.
17987
6540185f
RM
179882012-05-15 Roland McGrath <roland@hack.frob.com>
17989
17990 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17991
509072a0
AJ
179922012-05-15 Jeff Law <law@redhat.com>
17993 Andreas Jaeger <aj@suse.de>
17994
17995 [BZ #13594]
17996 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17997 out from...
17998 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17999 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18000 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18001 code changing __hst_map_handle.map.
18002
ba75122d
RM
180032012-05-15 Roland McGrath <roland@hack.frob.com>
18004
18005 * configure.in (sysnames): Look for Implies-before and Implies-after
18006 files.
18007 * configure: Regenerated.
18008
890d8bd8
L
180092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18010
18011 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18012 8-byte data alignment with LP_SIZE alignment.
18013
f6ee6623
L
180142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18015
18016 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18017 into R10_LP.
18018
ea2626f6
L
180192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18020
18021 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18022
085f715e
L
180232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18024
18025 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18026 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18027 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18028 Likewise.
18029 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18030
be8498fc
L
180312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18032
18033 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18034 (stackinfo_sub_sp): Likewise.
18035
70bc83b9
L
180362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18037
18038 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18039 RAX_LP.
18040
9bc0b730
L
180412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18042
18043 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18044 into R*_LP.
18045
6d2850e7
L
180462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18047
18048 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18049 sizes into R*_LP.
18050
3cb84561
L
180512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18052
18053 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18054
54e2ed81
L
180552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18056
18057 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18058 into R11_LP and load __x86_64_shared_cache_size_half into
18059 R8_LP.
18060
8a17f349
L
180612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18062
18063 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18064 R8_LP.
18065
777b1eea
AZ
180662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18067
18068 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18069 logb for POWER7.
18070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18071 logbf for POWER7.
18072 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18073 logbl for POWER7.
18074 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18075 powerpc32/power7/fpu/s_logb.c via #include.
18076 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18077 powerpc32/power7/fpu/s_logbf.c via #include.
18078 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18079 powerpc32/power7/fpu/s_logbl.c via #include.
18080
d20d4ac2
JM
180812012-05-15 Joseph Myers <joseph@codesourcery.com>
18082
18083 * README.libm: Remove file.
18084
6cdef1ab
L
180852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18086
18087 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18088 count for x32. Use R*_LP and omit operand-size suffix.
18089
0b254d8f
L
180902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18091
18092 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18093 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18094 * sysdeps/x86_64/x32/shlib-versions: New file.
18095
ceb809dc
RM
180962012-05-14 Roland McGrath <roland@hack.frob.com>
18097
18098 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18099 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18100 Use _dl_fatal_printf instead.
18101
37f1abd4
JM
181022012-05-14 Joseph Myers <joseph@codesourcery.com>
18103
18104 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18105 set if not set by the user. Do not allow for being unset.
18106 * sysdeps/unix/sysv/linux/configure: Regenerated.
18107
11de3a33
L
181082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18109
18110 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18111 the `q' suffix from lea and replace .quad with ASM_ADDR.
18112
e02f153a
L
181132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18114
18115 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18116 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18117 instead of $17.
18118 (PTR_DEMANGLE): Likewise.
18119
520ae0fd
L
181202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18121
18122 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18123 (LP_OP): Likewise.
18124 (ASM_ADDR): Likewise.
18125 (RAX_LP): Likewise.
18126 (RBP_LP): Likewise.
18127 (RBX_LP): Likewise.
18128 (RCX_LP): Likewise.
18129 (RDI_LP): Likewise.
18130 (RSI_LP): Likewise.
18131 (RSP_LP): Likewise.
18132 (R8_LP): Likewise.
18133 (R9_LP): Likewise.
18134 (R10_LP): Likewise.
18135 (R10_LP): Likewise.
18136 (R11_LP): Likewise.
18137 (R12_LP): Likewise.
18138 (R13_LP): Likewise.
18139 (R14_LP): Likewise.
18140 (R15_LP): Likewise.
18141
b985be81
L
181422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18143
18144 * sysdeps/x86_64/x32/dl-machine.h: New file.
18145
6a4888ff
AJ
181462012-05-14 Andreas Jaeger <aj@suse.de>
18147
18148 * manual/Makefile (subdir): Remove export of subdir.
18149 (all): Remove target.
18150 (.PHONY): Remove all from list.
18151 (mkinstalldirs): Remove.
18152 (.PHONY): Remove installdirs from list.
18153 ($(inst_infodir)/libc.info): Use make-target-directory.
18154 (installdirs): Remove.
18155 (subdir_%): Remove.
18156 (glibc-targets): Remove.
18157 (lib): Remove.
18158 (stubs): Remove.
18159 ($(objpfx)stubs ../po/manual.pot): Remove.
18160 ($(objpfx)stamp%): Remove.
18161 (make-target-directory): Remove.
18162 (subdir_install): Remove.
18163 (routines): Remove.
18164 (aux): Remove.
18165 (sources): Remove.
18166 (objects): Remove.
18167 (headers): Remove.
18168
18169 [BZ #13750]
18170 * manual/.gitignore: Remove, it's not needed anymore.
18171 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18172 all files in it.
18173 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18174 directory.
18175 (texis): Renamed to $(objpfx)texis.
18176 (texis-path): New, contains path to generated files.
18177 (chapters.%): Use texis-path for complete path, add extra argument
18178 libc-texinfo.sh.
18179 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18180 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18181 (summary,texi, stamp-summary): Use complete path of
18182 files. Generate files in build dir.
18183 (dir-add.texi): Build in build dir.
18184 (libm-err.texi,stamp-libm-err): Likewise.
18185 (version.texi, stamp-version): Likewise.
18186 (.%c.texi): Likewise.
18187 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18188 (mostlyclean): Remove target.
18189 (realclean): Remove target.
18190 (generated): Add new variable with contents from mostlyclean and
18191 realclean, remove entries duplicated in common-mostlyclean, add
18192 stamp-libm-err and stamp-version.
18193 (generated-dirs): Add libc directory.
18194 ($(inst_infodir)/libc.info): Install files from build dir.
18195
18196 * manual/install.texi (Configuring and compiling): Adjust since
18197 the info files are not part of the tar ball anymore.
18198
7ac77294
AJ
181992012-05-14 Andreas Jaeger <aj@suse.de>
18200
18201 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18202 variable.
18203
ffb7875d
JM
182042012-05-14 Joseph Myers <joseph@codesourcery.com>
18205
18206 [BZ #13717]
18207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18208 to 2.2.0 where earlier.
18209 * sysdeps/unix/sysv/linux/configure: Regenerated.
18210 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18211 Remove conditional code.
18212 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18213 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18214 Remove conditional code.
18215 [!__NR_lchown]: Likewise.
18216 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18217 [__NR_lchown]: Likewise.
18218 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18219 comment referencing __ASSUME_LCHOWN_SYSCALL.
18220 * sysdeps/unix/sysv/linux/i386/sigaction.c
18221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18223 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18224 Remove conditional code.
18225 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18226 (__protocol_available): Remove #if 0 code.
18227 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18228 conditional code.
18229 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18230 * sysdeps/unix/sysv/linux/kernel-features.h
18231 (__ASSUME_GETCWD_SYSCALL): Don't define.
18232 (__ASSUME_REALTIME_SIGNALS): Likewise.
18233 (__ASSUME_PREAD_SYSCALL): Likewise.
18234 (__ASSUME_PWRITE_SYSCALL): Likewise.
18235 (__ASSUME_POLL_SYSCALL): Likewise.
18236 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18237 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18238 non-SPARC.
18239 (__ASSUME_SIOCGIFNAME): Don't define.
18240 (__ASSUME_MSG_NOSIGNAL): Likewise.
18241 (__ASSUME_SENDFILE): Define unconditionally.
18242 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18243 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18244 conditional code.
18245 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18246 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18247 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18248 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18249 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18250 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18251 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18253 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18256 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18262 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18265 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18268 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18271 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18274 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18276 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18277 Remove conditional code.
18278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18279 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18280 Remove conditional code.
18281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18282 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18283 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18284 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18285 Remove conditional code.
18286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18287 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18288 Remove conditional code.
18289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18290 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18291 Remove conditional code.
18292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18293 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18294 Remove conditional code.
18295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18296 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18297 Remove conditional code.
18298 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18299 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18300 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18302 * sysdeps/unix/sysv/linux/sigaction.c
18303 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18304 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18305 * sysdeps/unix/sysv/linux/sigpending.c
18306 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18307 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18308 * sysdeps/unix/sysv/linux/sigprocmask.c
18309 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18310 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18311 * sysdeps/unix/sysv/linux/sigsuspend.c
18312 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18313 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18314 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18315 (__libc_missing_rt_sigs): Remove.
18316 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18317 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18318 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18319 Remove conditional code.
18320 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18321 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18322 return 1.
18323 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18324 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18325 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18326 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18327
1bfb7291
AJ
183282012-05-14 Andreas Jaeger <aj@suse.de>
18329
caae5a81
AJ
18330 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18331 it's not used in glibc.
18332 (__coshm1): Likewise.
18333 (__acosh1p): Likewise.
18334 (__sgn): Likewise.
18335
1bfb7291
AJ
18336 * manual/string.texi (Copying and Concatenation): Add missing
18337 variable in concat example.
18338 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18339
c044d724
L
183402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18341
144c5467 18342 [BZ #14103]
c044d724
L
18343 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18344 __builtin_clzl with __builtin_clzll.
18345
2523c62b
L
183462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18347
18348 [BZ #14104]
18349 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18350 libc_freeres_ptr.
18351
d7bb4c42
LD
183522012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18353
18354 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18355 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18356 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18357 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18358
9dc4e1fb
MF
183592012-05-14 Mike Frysinger <vapier@gentoo.org>
18360
18361 * NEWS: Update ia64 info.
18362
c7df0112
AS
183632012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18364
18365 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18366 used as bcopy.
18367
dc70356c
TS
183682012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18369
18370 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18371 * sysdeps/unix/syscalls.list (dup3): Likewise.
18372 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18373 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18374
9fb1a21f
L
183752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18376
18377 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18378 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18379
4822a2a5
L
183802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18381
18382 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18383 thread pointer.
18384 (TLS_IE): Use mov/add instead of movq/addq to load thread
18385 pointer.
18386 (TLS_GD_PREFIX): New.
18387 (TLS_GD): Use it.
18388
842b81d6
DM
183892012-05-11 David S. Miller <davem@davemloft.net>
18390
18391 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18392 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18393 (_FPU_SETCW): Likewise.
18394
1cf463cd
L
183952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18396
18397 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18398 is 32-byte aligned.
18399
60cc4a18
AS
184002012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18401
18402 [BZ #11837]
18403 * iconvdata/gb18030.c: Update tables.
18404 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18405 characters specially.
18406 (BODY for TO_LOOP): Add encoding of missing ranges.
18407
febb44a4
TS
184082012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18409
18410 [BZ #13673]
18411 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18412 * sysdeps/mach/hurd/dup3.c: Likewise.
18413 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18414 * sysdeps/powerpc/memmove.c:: Likewise.
18415
0a10fb9e
L
184162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18417
18418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18419 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18420
df8a552f
L
184212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18422
18423 * elf/elf.h (R_X86_64_RELATIVE64): New.
18424 (R_X86_64_NUM): Updated.
18425 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18426 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18427 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18428 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18429 tst-quad1pie tst-quad2pie
18430 (modules-names): Add tst-quadmod1 tst-quadmod2.
18431 ($(objpfx)tst-quad1): New dependency.
18432 ($(objpfx)tst-quad2): Likewise.
18433 ($(objpfx)tst-quad1pie): Likewise.
18434 ($(objpfx)tst-quad2pie): Likewise.
18435 * sysdeps/x86_64/tst-quad1.c: New file.
18436 * sysdeps/x86_64/tst-quad1pie.c: New file.
18437 * sysdeps/x86_64/tst-quad2.c: Likewise.
18438 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18439 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18440 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18441 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18442 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18443
f34d6f84
ST
184442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18445
f42d41d1
ST
18446 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18447 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18448 * streams/stropts.h (t_scalar_t): Define type.
18449
3c3571fc
ST
18450 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18451 (_PATH_PRESERVE): Set to "/var/lib".
18452 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18453
61f06bd3
ST
18454 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18455 instead of int.
18456
918d4d71
ST
18457 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18458 if __dir_mkfile succeeded.
18459
f34d6f84
ST
18460 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18461 checking for _hurd_dtablesize. Unlock it right after having
18462 finished _hurd_dtable allocation.
18463
10589b4a
TS
184642012-05-10 Thomas Schwinge <thomas@schwinge.name>
18465
674cdbc7
TS
18466 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18467 * sysdeps/mach/hurd/configure: Regenerated.
18468 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18469 special-casing to...
18470 * sysdeps/gnu/configure.in: ... this new file.
18471 * sysdeps/unix/sysv/linux/configure: Regenerated.
18472 * sysdeps/gnu/configure: New generated file.
18473
8e41b99f
TS
18474 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18475 for Linux: use nsec instead of usec, as well as:
18476 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18477 members of type struct timespec.
18478 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18479 New macros.
18480 (struct stat64): Likewise.
18481 (_STATBUF_ST_NSEC): New macro.
18482 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18483
10589b4a
TS
18484 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18485 __strtoul_internal rather than strtoul.
18486
63643c85
PT
184872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18488
18489 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18490 and reject them.
18491
3faebe6a
ST
184922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18493
18494 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18495 which preserves existing values.
18496 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18497
c6474b07
PT
184982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18499
18500 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18501 TIMEOUT values. Return EINVAL for NFDS values either negative or
18502 greater than FD_SETSIZE.
18503
1043890b
ST
185042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18505
18506 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18507 allocated, call __vm_protect to finish enabling the existing space, and
18508 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18509 allocate the remainder.
18510
37ed8b9b
PT
185112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18512
18513 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18514 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18515
db653660
ST
185162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18517
37ed8b9b
PT
18518 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18519 sysdeps/mach/hurd/readlink.c.
b29d4053 18520
db653660
ST
18521 * posix/tst-sysconf.c (posix_options): Only use
18522 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18523 _POSIX_SYNCHRONIZED_IO when they are defined
18524 * sysdeps/mach/hurd/bits/posix_opt.h:
18525 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18526 (_XOPEN_REALTIME): Undefine macro.
18527 (_XOPEN_REALTIME_THREADS): Undefine macro.
18528 (_XOPEN_SHM): Undefine macro.
18529 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18530 macro to -1.
18531 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18532 macro to -1.
18533 (_POSIX_ASYNC_IO): Undefine macro.
18534 (_POSIX_PRIORITIZED_IO): Undefine macro.
18535 (_POSIX_SPIN_LOCKS): Define macro to -1.
18536
ee16e894
ST
18537 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18538 SA_NODEFER, SA_RESETHAND.
18539 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18540 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18541 F_DUPFD_CLOEXEC.
18542
6103ae3b
TS
185432012-05-10 Thomas Schwinge <thomas@schwinge.name>
18544
18545 * elf/Makefile (pldd-modules): Define unconditionally.
18546
80b4e5f3
TS
185472012-05-10 Thomas Schwinge <thomas@schwinge.name>
18548
18549 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18550
edadcbd6
ST
185512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18552
18553 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18554 Return ENOENT when name is empty.
18555 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18556
80694780
TS
185572012-05-10 Thomas Schwinge <thomas@schwinge.name>
18558
1792c087
TS
18559 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18560
80694780
TS
18561 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18562
6b645f0d
ST
185632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18564
80694780
TS
18565 Fix mlock in all cases except non-readable pages.
18566 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18567 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18568
6b645f0d
ST
18569 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18570 (__mkdir): When path is `/', just fail with EEXIST.
18571 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18572
e468f8a3
TS
185732012-05-10 Thomas Schwinge <thomas@schwinge.name>
18574
18575 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18576 <sys/uio.h> (for writev).
18577 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18578 and <sys/param.h> (for MIN).
18579
a4186cff
PT
185802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18581
18582 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18583 REQUESTED_TIME. Properly set the remaining time and return EINTR
18584 if interrupted.
18585
510bbf14
TS
185862012-05-10 Thomas Schwinge <thomas@schwinge.name>
18587
18588 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18589 Depend on against $(link-rpcuserlibs).
18590
5d5722e8
ST
185912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18592
a4186cff
PT
18593 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18594 (__libc_stack_end): Do not use attribute_relro.
18595 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18596 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18597 to libthread-provided value.
a4186cff
PT
18598 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18599 attribute_relro.
5d5722e8 18600
37233df9
TS
186012012-05-10 Thomas Schwinge <thomas@schwinge.name>
18602
be971a2b
TS
18603 [BZ #3748]
18604 * bits/libc-lock.h (__libc_once_get): New macro.
18605 * sysdeps/mach/bits/libc-lock.h: Likewise.
18606 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18607 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18608 instead of using implementation details.
18609
37233df9
TS
18610 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18611 * libio/freopen.c: Likewise.
18612 * libio/freopen64.c: Likewise.
18613 * misc/syslog.c: Likewise.
18614 * nscd/connections.c: Likewise.
18615 * nscd/netgroupcache.c: Likewise.
18616 * sysdeps/posix/getcwd.c: Likewise.
18617
38de94a5
RM
186182012-05-10 Roland McGrath <roland@hack.frob.com>
18619
18620 * math/w_ilogbf.c: Add #include <limits.h>.
18621
67530489
ST
186222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18623
a4186cff 18624 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18625 path instead of returning without unlocking.
18626
67530489
ST
18627 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18628 immediate-write ioctls.
18629 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18630
5aa3a74a
TS
186312012-05-10 Thomas Schwinge <thomas@schwinge.name>
18632
18bad2ae
TS
18633 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18634 __builtin_frame_address instead of making assumptions about the
18635 location of the return address relative to DATA. Force early load of
18636 the return address.
18637 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18638 __builtin_frame_address.
18639
5aa3a74a
TS
18640 dup3 for GNU Hurd.
18641 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18642 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18643 implement dup3 and do some further code clean-ups.
18644 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18645 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18646
ecd0de9a
ST
186472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18648
cd9fa985
ST
18649 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18650
a4186cff
PT
18651 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18652 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18653 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18654 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18655 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18656 d->port.lock.
802ca5a5 18657
a4186cff
PT
18658 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18659 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18660 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18661
bcf55240
TS
186622012-05-10 Thomas Schwinge <thomas@schwinge.name>
18663
6960eb42
TS
18664 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18665 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18666 definitions.
18667
eb43375f
TS
18668 accept4 for GNU Hurd.
18669 * include/sys/socket.h (__libc_accept4): New prototype.
18670 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18671 to implement __libc_accept4.
18672 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18673 __libc_accept4.
18674 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18675
bcf55240
TS
18676 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18677 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18678 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18679 signal-defines.sym.
18680
6178c55b
ST
186812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18682
a4186cff 18683 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18684
6f080c2f
TS
186852012-05-10 Thomas Schwinge <thomas@schwinge.name>
18686
18687 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18688 assertion on O_CLOEXEC flag.
18689 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18690 * hurd/intern-fd.c: Likewise.
18691 * hurd/port2fd.c: Likewise.
18692
bcfe3a54
ST
186932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18694
18695 [BZ #3906]
18696 * bits/in.h (IPV6_PKTINFO): Define new macro.
18697 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18698
89c9aa49
AZ
186992012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18700
18701 [BZ #13954]
18702 [BZ #13955]
18703 [BZ #13956]
18704 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18705 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18706 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18707 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18709 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18710 * math/libm-test.inc (logb_test) : Additional logb tests.
18711
021db4be
AJ
187122012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18713 Andreas Jaeger <aj@suse.de>
18714
18715 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18716 * configure: Regenerated.
18717 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18718 * config.make.in (link-obsolete-rpc): New substituted variable.
18719 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18720 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18721 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18722 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18723 so that libc.a contains the symbols.
18724 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18725 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18726 * sunrpc/auth_none.c: Likewise.
18727 * sunrpc/auth_unix.c: Likewise.
18728 * sunrpc/authdes_prot.c: Likewise.
18729 * sunrpc/authuxprot.c: Likewise.
18730 * sunrpc/clnt_gen.c: Likewise.
18731 * sunrpc/clnt_perr.c: Likewise.
18732 * sunrpc/clnt_raw.c: Likewise.
18733 * sunrpc/clnt_simp.c: Likewise.
18734 * sunrpc/clnt_tcp.c: Likewise.
18735 * sunrpc/clnt_udp.c: Likewise.
18736 * sunrpc/clnt_unix.c: Likewise.
18737 * sunrpc/des_crypt.c: Likewise.
18738 * sunrpc/des_soft.c: Likewise.
18739 * sunrpc/get_myaddr.c: Likewise.
18740 * sunrpc/key_call.c: Likewise.
18741 * sunrpc/key_prot.c: Likewise.
18742 * sunrpc/netname.c: Likewise.
18743 * sunrpc/pm_getmaps.c: Likewise.
18744 * sunrpc/pm_getport.c: Likewise.
18745 * sunrpc/pmap_clnt.c: Likewise.
18746 * sunrpc/pmap_prot.c: Likewise.
18747 * sunrpc/pmap_prot2.c: Likewise.
18748 * sunrpc/pmap_rmt.c: Likewise.
18749 * sunrpc/publickey.c: Likewise.
18750 * sunrpc/rpc_cmsg.c: Likewise.
18751 * sunrpc/rpc_common.c: Likewise.
18752 * sunrpc/rpc_dtable.c: Likewise.
18753 * sunrpc/rpc_prot.c: Likewise.
18754 * sunrpc/rpc_thread.c: Likewise.
18755 * sunrpc/rtime.c: Likewise.
18756 * sunrpc/svc.c: Likewise.
18757 * sunrpc/svc_auth.c: Likewise.
18758 * sunrpc/svc_raw.c: Likewise.
18759 * sunrpc/svc_run.c: Likewise.
18760 * sunrpc/svc_tcp.c: Likewise.
18761 * sunrpc/svc_udp.c: Likewise.
18762 * sunrpc/svc_unix.c: Likewise.
18763 * sunrpc/svcauth_des.c: Likewise.
18764 * sunrpc/xcrypt.c: Likewise.
18765 * sunrpc/xdr.c: Likewise.
18766 * sunrpc/xdr_array.c: Likewise.
18767 * sunrpc/xdr_float.c: Likewise.
18768 * sunrpc/xdr_intXX_t.c: Likewise.
18769 * sunrpc/xdr_mem.c: Likewise.
18770 * sunrpc/xdr_rec.c: Likewise.
18771 * sunrpc/xdr_ref.c: Likewise.
18772 * sunrpc/xdr_sizeof.c: Likewise.
18773 * sunrpc/xdr_stdio.c: Likewise.
18774
b5c086a2
RM
187752012-05-10 Roland McGrath <roland@hack.frob.com>
18776
18777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18778 change. Update copyright years.
18779
6d74dd09
JM
187802012-05-10 Joseph Myers <joseph@codesourcery.com>
18781
18782 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18783
28e72501
MK
187842012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18785 Joseph Myers <joseph@codesourcery.com>
18786 Paul Pluzhnikov <ppluzhnikov@google.com>
18787
18788 [BZ #14012]
18789 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18790 requiring rpcgen.
18791 [cross-compiling] (extra-libs): Likewise.
18792 [cross-compiling] (extra-libs-others): Likewise.
18793 [cross-compiling] (librpcsvc-routines): Likewise.
18794 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18795 [cross-compiling] (omit-deps): Likewise.
18796 (sunrpc-CPPFLAGS): New variable.
18797 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18798 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18799 (cross-rpcgen-objs): New variable.
18800 (extra-objs): Append $(cross-rpcgen-objs).
18801 ($(cross-rpcgen-objs)): New rule.
18802 ($(objpfx)cross-rpcgen): Likewise.
18803 (rpcgen-cmd): Define to use $(built-program-file). Expand
18804 comment.
18805 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18806 ($(objpfx)x%.stmp): Likewise.
18807 * sunrpc/proto.h [IS_IN_build] (_): Define.
18808 [IS_IN_build] (_libc_intl_domainname): Likewise.
18809
c8c59454
L
188102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18811
18812 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18813 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18814 and R_X86_64_TPOFF64.
18815
6f27cd16
JM
188162012-05-10 Joseph Myers <joseph@codesourcery.com>
18817
18818 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18819 sysdeps/unix/sysv/syscalls.list.
18820 (stime): Likewise.
18821 (utime): Likewise.
18822 * sysdeps/unix/sysv/syscalls.list: Remove file.
18823
02467e1c
PE
188242012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18825
18826 [BZ #3440]
18827 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18828 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18829 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18830 (__LC_IDENTIFICATION): Make these macros useful in #if
18831 expressions, as required by C99.
18832
da392631
AS
188332012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18834
18835 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18836 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18837 after this.
18838
8115f29b
L
188392012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18840
18841 * stdlib/longlong.h: Updated from GCC.
18842
bdd74070
AJ
188432012-05-09 Andreas Jaeger <aj@suse.de>
18844
edfe0dbe
AJ
18845 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18846 default is first entry.
18847 (run_mode): Set type.
18848 (main): Remove informal message about syslog.
18849 (options): Fix typo.
18850
bcfe3a54
ST
18851 [BZ #14053]
18852 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18853 to asm.
bcfe3a54
ST
18854 (lrint): Likewise.
18855 (llrintf): Likewise.
18856 (llrint): Likewise.
18857 (rint): Likewise.
18858 (rintf): Likewise.
18859 (nearbyint): Likewise.
18860 (nearbyintf): Likewise.
bdd74070 18861
91d8d69e
AJ
188622012-05-09 Andreas Jaeger <aj@suse.de>
18863 Pedro Alves <palves@redhat.com>
18864
18865 * nscd/nscd.c (run_mode): Use enum.
18866 (main): Cleanup coding style issue.
18867
bb90b80b
AJ
188682012-05-09 Alexandre Oliva <aoliva@redhat.com>
18869 Andreas Jaeger <aj@suse.de>
18870
bcfe3a54
ST
18871 * nscd/nscd.c (go_background): Replaced with...
18872 (run_mode): ... this.
bb90b80b 18873 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18874 (options): Add -F --foreground.
18875 (main): Implement it.
18876 (parse_opt): Parse it.
bb90b80b 18877
1a4b75a1
AJ
188782012-05-09 Andreas Jaeger <aj@suse.de>
18879
18880 [BZ #14083]
18881 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18882 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18883 -Wconversion warning.
18884 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18885 Likewise.
18886
b1cc2472
JM
188872012-05-09 Joseph Myers <joseph@codesourcery.com>
18888
18889 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18890 == 0.
18891 (LC_ALL): Use macro-int-constant.
18892 (LC_COLLATE): Likewise.
18893 (LC_CTYPE): Likewise.
18894 (LC_MESSAGES): Likewise.
18895 (LC_MONETARY): Likewise.
18896 (LC_NUMERIC): Likewise.
18897 (LC_TIME): Likewise.
18898 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18899 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18901 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18902 Specify type.
18903 [C99-based standards] (float_t): Expect type.
18904 [C99-based standards] (double_t): Expect type.
18905 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18906 type.
18907 [C99-based standards] (HUGE_VALL): Likewise.
18908 [C99-based standards] (INFINITY): Likewise.
18909 [C99-based standards] (NAN): Likewise.
18910 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18911 [C99-based standards] (FP_NAN): Likewise.
18912 [C99-based standards] (FP_NORMAL): Likewise.
18913 [C99-based standards] (FP_SUBNORMAL): Likewise.
18914 [C99-based standards] (FP_ZERO): Likewise.
18915 [C99-based standards] (FP_FAST_FMA): Use
18916 optional-macro-int-constant. Specify type. Require == 1.
18917 [C99-based standards] (FP_FAST_FMAF): Likewise.
18918 [C99-based standards] (FP_FAST_FMAL): Likewise.
18919 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18920 [C99-based standards] (FP_ILOGBNAN): Likewise.
18921 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18922 Specify type.
18923 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18924 [C99-based standards] (math_errhandling): Specify type.
18925 [ISO99 || ISO11] (signgam): Do not allow.
18926 [non-C99-based standards] (copysignf): Do not allow.
18927 [non-C99-based standards] (exp2f): Likewise.
18928 [non-C99-based standards] (log2f): Likewise.
18929 [non-C99-based standards] (modff): Allow.
18930 [non-C99-based standards] (erff): Do not allow.
18931 [non-C99-based standards] (erfcf): Likewise.
18932 [non-C99-based standards] (gammaf): Likewise.
18933 [non-C99-based standards] (hypotf): Likewise.
18934 [non-C99-based standards] (j0f): Likewise.
18935 [non-C99-based standards] (j1f): Likewise.
18936 [non-C99-based standards] (jnf): Likewise.
18937 [non-C99-based standards] (lgammaf): Likewise.
18938 [non-C99-based standards] (tgammaf): Likewise.
18939 [non-C99-based standards] (y0f): Likewise.
18940 [non-C99-based standards] (y1f): Likewise.
18941 [non-C99-based standards] (ynf): Likewise.
18942 [non-C99-based standards] (isnanf): Likewise.
18943 [non-C99-based standards] (acoshf): Likewise.
18944 [non-C99-based standards] (asinhf): Likewise.
18945 [non-C99-based standards] (atanhf): Likewise.
18946 [non-C99-based standards] (cbrtf): Likewise.
18947 [non-C99-based standards] (expm1f): Likewise.
18948 [non-C99-based standards] (ilogbf): Likewise.
18949 [non-C99-based standards] (log1pf): Likewise.
18950 [non-C99-based standards] (logbf): Likewise.
18951 [non-C99-based standards] (nextafterf): Likewise.
18952 [non-C99-based standards] (remainderf): Likewise.
18953 [non-C99-based standards] (rintf): Likewise.
18954 [non-C99-based standards] (scalbf): Likewise.
18955 [non-C99-based standards] (copysignl): Likewise.
18956 [non-C99-based standards] (exp2l): Likewise.
18957 [non-C99-based standards] (log2l): Likewise.
18958 [non-C99-based standards] (modfl): Allow.
18959 [non-C99-based standards] (erfl): Do not allow.
18960 [non-C99-based standards] (erfcl): Likewise.
18961 [non-C99-based standards] (gammal): Likewise.
18962 [non-C99-based standards] (hypotl): Likewise.
18963 [non-C99-based standards] (j0l): Likewise.
18964 [non-C99-based standards] (j1l): Likewise.
18965 [non-C99-based standards] (jnl): Likewise.
18966 [non-C99-based standards] (lgammal): Likewise.
18967 [non-C99-based standards] (tgammal): Likewise.
18968 [non-C99-based standards] (y0l): Likewise.
18969 [non-C99-based standards] (y1l): Likewise.
18970 [non-C99-based standards] (ynl): Likewise.
18971 [non-C99-based standards] (isnanl): Likewise.
18972 [non-C99-based standards] (acoshl): Likewise.
18973 [non-C99-based standards] (asinhl): Likewise.
18974 [non-C99-based standards] (atanhl): Likewise.
18975 [non-C99-based standards] (cbrtl): Likewise.
18976 [non-C99-based standards] (expm1l): Likewise.
18977 [non-C99-based standards] (ilogbl): Likewise.
18978 [non-C99-based standards] (log1pl): Likewise.
18979 [non-C99-based standards] (logbl): Likewise.
18980 [non-C99-based standards] (nextafterl): Likewise.
18981 [non-C99-based standards] (remainderl): Likewise.
18982 [non-C99-based standards] (rintl): Likewise.
18983 [non-C99-based standards] (scalbl): Likewise.
18984 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18985 [non-C99-based standards] (FP_*): Do not allow.
18986 [C99-based standards] (FP_*): Change to
18987 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18988 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18989 allow.
18990 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18991 (SIG_ERR): Likewise.
18992 [X/Open-based standards] (SIG_HOLD): Likewise.
18993 (SIG_IGN): Likewise.
18994 (SIGABRT): Use macro-int-constant. Specify type. Require
18995 positive value.
18996 (SIGFPE): Likewise.
18997 (SIGILL): Likewise.
18998 (SIGINT): Likewise.
18999 (SIGSEGV): Likewise.
19000 (SIGTER): Likewise.
19001 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19002 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19003 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19004 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19005 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19006 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19007 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19008 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19009 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19010 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19011 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19012 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19013 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19014 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19015 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19016 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19017 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19018 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19019 [X/Open-based standards] (SIGTRAP): Likewise.
19020 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19021 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19022 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19023 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19024 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19025 allow.
19026
b9f1922d
IW
190272012-05-08 Ian Wienand <ianw@vmware.com>
19028
19029 [BZ #14080]
19030 * time/tzset.c (__tzset_parse_tz): Update default rules for
19031 daylight time changes in the Energy Policy Act of 2005.
19032
1db86e88
AJ
190332012-05-09 Andreas Jaeger <aj@suse.de>
19034
19035 [BZ #13983]
19036 * elf/ldconfig.c (parse_conf): Change string to make clear that
19037 ldconfig only issued a warning if ld.so.conf does not exist.
19038
dee4a4e3
DM
190392012-05-08 David S. Miller <davem@davemloft.net>
19040
ee0db190
DM
19041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19042 movxtod instead of popping the value on the stack.
19043
dee4a4e3
DM
19044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19045
6a43ec98
CD
190462012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19047
19048 * config.h.in: Add HAVE_ARM_PCS_VFP.
19049
05c2c961
RMG
190502012-05-08 Roland Mc Grath <roland@hack.frob.com>
19051
bcfe3a54
ST
19052 [BZ #13979]
19053 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19054 checking but the checks are disabled for any reason.
05c2c961 19055
4b30f61a
L
190562012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19057
19058 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19059 and ELF64_R_TYPE with ELFW(R_TYPE).
19060
eee2bc67
JM
190612012-05-08 Joseph Myers <joseph@codesourcery.com>
19062
7ea5391a
JM
19063 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19064 (ulimit): Likewise.
19065
eee2bc67
JM
19066 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19067 (settimeofday): Likewise.
19068
abb66a67
MF
190692012-05-08 Mike Frysinger <vapier@gentoo.org>
19070
19071 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19072 a struct th_u2 inside the union, and move tu_block/tu_code into
19073 a new th_u3 union of tu_block/tu_code inside of that. Move
19074 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19075 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19076 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19077 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19078 (th_stuff): Change to th_u1.tu_stuff.
19079 (th_data): Define.
19080 (th_msg): Change to th_u1.th_u2.tu_data.
19081
7f18b530
DM
190822012-05-07 David S. Miller <davem@davemloft.net>
19083
05760585
DM
19084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19085
7f18b530
DM
19086 [BZ #14074]
19087 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19088 (SETUP_PIC_REG): Use it.
19089 (SETUP_PIC_REG_LEAF): Use it.
19090
495fd99f
JM
190912012-05-07 Joseph Myers <joseph@codesourcery.com>
19092
19093 [BZ #13885]
19094 [BZ #13923]
19095 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19096 USE_AS_EXPM1L.
19097 (EXPL_FINITE): Likewise.
19098 (FLDLOG): Likewise.
19099 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19100 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19101 e_expl.S.
19102 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19103 USE_AS_EXPM1L.
19104 (EXPL_FINITE): Likewise.
19105 (FLDLOG): Likewise.
19106 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19107 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19108 e_expl.S.
19109 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19110 test of -max_value argument for long double.
19111 * sysdeps/i386/fpu/libm-test-ulps: Update.
19112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19113
6693d694
DM
191142012-05-06 David S. Miller <davem@davemloft.net>
19115
19116 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19117 quad soft-float symbols whose references which are compiler
19118 generated.
19119 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19120
6c23e11c
JM
191212012-05-06 Joseph Myers <joseph@codesourcery.com>
19122
d8b82cad
JM
19123 [BZ #13884]
19124 [BZ #13914]
19125 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19126 USE_AS_EXP10L.
19127 (EXPL_FINITE): Likewise.
19128 (FLDLOG): Likewise.
19129 (c0): Likewise.
19130 (c1): Likewise.
19131 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19132 Adjust comments for base varying.
19133 (__expl_finite): Change alias to EXPL_FINITE.
19134 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19135 e_expl.S.
19136 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19137 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19139 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19140 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19141 USE_AS_EXP10L.
19142 (EXPL_FINITE): Likewise.
19143 (FLDLOG): Likewise.
19144 (c0): Likewise.
19145 (c1): Likewise.
19146 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19147 Adjust comments for base varying.
19148 (__expl_finite): Change alias to EXPL_FINITE.
19149 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19150 tests for bugs.
19151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19152
6c23e11c
JM
19153 [BZ #14064]
19154 * math/libm-test.inc (check_float_internal): Correct ulp
19155 calculation for subnormal expected results.
19156
29ba805c
AJ
191572012-05-06 Andreas Jaeger <aj@suse.de>
19158
19159 * Makeconfig (+math-flags): New, set to -frounding-math.
19160 (+cflags): Add +math-flags so that all of glibc gets compiled with
19161 it.
19162
19163 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19164
7b17aeda
JM
191652012-05-05 Joseph Myers <joseph@codesourcery.com>
19166
5779f134
JM
19167 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19168 Disable one test.
19169
41498f4d
JM
19170 [BZ #13787]
19171 [BZ #13922]
19172 [BZ #14036]
19173 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19174 (__ieee754_expl): Allow for and saturate large arguments.
19175 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19176 (u_threshold): Likewise.
19177 (__exp): Call __ieee754_exp before checking for overflow and
19178 underflow.
19179 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19180 (u_threshold): Likewise.
19181 (__expf): Call __ieee754_expf before checking for overflow and
19182 underflow.
19183 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19184 (u_threshold): Likewise.
19185 (__expl): Call __ieee754_expl before checking for overflow and
19186 underflow.
19187 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19188 (__ieee754_expl): Allow for and saturate large arguments.
19189 * math/libm-test.inc (exp_test): Add another test. Do not allow
19190 missing overflow exception on overflow.
19191 (expm1_test): Do not allow missing overflow exception on overflow.
19192
6698b8bf
JM
19193 * sysdeps/i386/fpu/e_expl.c: Move to ...
19194 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19195 rather than using inline asm.
19196 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19197 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19198 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19199
7b17aeda
JM
19200 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19201 (nice): Likewise.
19202 (poll): Likewise.
19203 (signal): Likewise.
19204 (time): Likewise.
19205 (times): Likewise.
19206
f7c85819
JM
192072012-05-04 Joseph Myers <joseph@codesourcery.com>
19208
19209 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19210 sysdeps/unix/common/syscalls.list.
19211 (fchmod): Likewise.
19212 (fchown): Likewise.
19213 (ftruncate): Likewise.
19214 (getrusage): Likewise.
19215 (gettimeofday): Likewise.
19216 (setpgid): Likewise.
19217 (setregid): Likewise.
19218 (setreuid): Likewise.
19219 (sigaction): Likewise.
19220 (truncate): Likewise.
19221 (vhangup): Likewise.
19222 * sysdeps/unix/common/syscalls.list: Remove file.
19223 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19224 * sysdeps/unix/sysv/linux/Implies: Likewise.
19225
336270d0
L
192262012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19227
19228 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19230 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19231 Moved to ...
19232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19233 Here.
19234 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19235 to ...
19236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19237 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19238 to ...
19239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19240 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19241 to ...
19242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19243 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19244 to ...
19245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19246 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19247 to ...
19248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19249 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19250 to ...
19251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19252 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19253 to ...
19254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19255 Here.
19256 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19257 to ...
19258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19259 Here.
19260 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19261 to ...
19262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19263 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19264 Moved to ...
19265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19266 Here.
19267 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19268 to ...
19269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19270
d128e450
JM
192712012-05-04 Joseph Myers <joseph@codesourcery.com>
19272
fa8ee516
JM
19273 * sysdeps/unix/common/bits/dirent.h: Remove file.
19274 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19275
d128e450
JM
19276 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19277 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19278 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19279 * sysdeps/unix/bsd/isatty.c: Likewise.
19280 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19281 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19282 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19283
ff8faaf0 192842012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19285
62881be4 19286 [BZ #13563]
31dc8730
AZ
19287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19288 long double comparison inaccuracies.
19289 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19291
6fef930c
AS
192922012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19293
19294 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19295 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19296
8f203e6c
JM
192972012-05-04 Joseph Myers <joseph@codesourcery.com>
19298
19299 [BZ #14049]
19300 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19301 nonzero digits before rounding a hex value.
19302 * stdlib/tst-strtod.c (tests): Add another test.
19303
5197d9c2
AK
193042012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19305
19306 * sysdeps/s390/fpu/libm-test-ulps: Update.
19307
f0c1dedf
AJ
193082012-05-03 Andreas Jaeger <aj@suse.de>
19309
19310 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19311 does not get optimized out.
19312 (malloc_opt_barrier): New.
19313
a65ef2ae 193142012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19315 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19316
2b942cb7 19317 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19318 intermediate file deletion.
2b942cb7 19319 (generated): Add .symlist files.
a65ef2ae 19320
54b71e02
JM
193212012-05-03 Joseph Myers <joseph@codesourcery.com>
19322
19323 [BZ #13775]
19324 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19325 Redirect under this condition.
19326 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19327 [__USE_GNU] (__dprintf_chk): Not under this condition.
19328 [__USE_GNU] (__vdprintf_chk): Likewise.
19329 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19330 under this condition.
19331 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19332 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19333 [__USE_XOPEN2K8] (vdprintf): Likewise.
19334 [__USE_GNU] (__dprintf_chk): Not under this condition.
19335 [__USE_GNU] (__vdprintf_chk): Likewise.
19336 [__USE_GNU] (dprintf): Likewise.
19337 [__USE_GNU] (vdprintf): Likewise.
19338
d3dfcc41
RM
193392012-05-03 Roland McGrath <roland@hack.frob.com>
19340
19341 * elf/Makefile (common-generated): Set this instead of generated for
19342 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19343 $(all-built-dso)-derived lists.
19344
7ac30cc5
AJ
193452012-05-03 Andreas Jaeger <aj@suse.de>
19346
0c51e550
AJ
19347 * sysdeps/i386/fpu/libm-test-ulps: Update.
19348
7ac30cc5
AJ
19349 * FAQ: Removed.
19350 * FAQ.in: Likewise.
19351 * scripts/gen-FAQ.pl: Likewise.
19352 * manual/install.texi (Installation): Point to online location of
19353 FAQ.
19354 * Makefile (files-for-dist): Remove FAQ.
19355 (FAQ): Remove.
19356
d4c2917f
AM
193572012-05-02 Allan McRae <allan@archlinux.org>
19358
19359 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19360 (LDFLAGS-reldepmod5.so): Likewise.
19361 (LDFLAGS-reldep6mod1.so): Likewise.
19362 (LDFLAGS-reldep6mod4.so): Likewise.
19363 (LDFLAGS-reldep8mod3.so): Likewise.
19364 (LDFLAGS-unload4mod1.so): Likewise.
19365 (LDFLAGS-unload4mod2.so): Likewise.
19366 (LDFLAGS-tst-initorder): Likewise.
19367 (LDFLAGS-tst-initordera2.so): Likewise.
19368 (LDFLAGS-tst-initordera3.so): Likewise.
19369 (LDFLAGS-tst-initordera4.so): Likewise.
19370 (LDFLAGS-tst-initorderb2.so): Likewise.
19371 (LDFLAGS-noload): Likewise.
19372 (LDFLAGS-next): Likewise.
19373 (LDFLAGS-order2mod1.so): Likewise.
19374 (LDFLAGS-order2mod2.so): Likewise.
19375 (LDFLAGS-tst-initorder2): Likewise.
19376 (LDFLAGS-tst-initorder2a.so): Likewise.
19377 (LDFLAGS-tst-initorder2b.so): Likewise.
19378 (LDFLAGS-tst-initorder2c.so): Likewise.
19379 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19380
d77f993f
DM
193812012-05-02 David S. Miller <davem@davemloft.net>
19382
19383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19384
171a70b4
PP
193852012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19386
19387 [BZ #14055]
19388 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19389
0be196ad
AJ
193902012-05-02 Andreas Jaeger <aj@suse.de>
19391
19392 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19393 since we manipulate rounding mode.
19394 (CPPFLAGS-test-idouble.c): Likewise.
19395 (CPPFLAGS-test-ifloat.c): Likewise.
19396 (CFLAGS-test-ldouble.c): Likewise.
19397 (CFLAGS-test-double.c): Likewise.
19398 (CFLAGS-test-float.c): Likewise.
19399 (CFLAGS-test-misc.c): Likewise.
19400 (CFLAGS-test-test-fenv.c): Likewise.
19401
4f9d04aa
AZ
194022012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19403
2b942cb7
RM
19404 [BZ #2550]
19405 [BZ #2570]
19406 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19407 comparisons to determine direction to adjust input.
4f9d04aa 19408
82a79e7d
RM
194092012-05-01 Roland McGrath <roland@hack.frob.com>
19410
f5a01ca9
RM
19411 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19412 output to the target.
19413
90fe4186
RM
19414 * scripts/localplt.awk: New file.
19415 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19416 (check-localplt-CFLAGS): Variable removed.
19417 ($(all-built-dso:=.jmprel)): New static pattern rule.
19418 (generated): Add those targets.
19419 (localplt-built-dso): New variable.
19420 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19421
19422 * elf/check-localplt.c: File removed.
19423
82397ed6
RM
19424 * scripts/check-execstack.awk: New file.
19425 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19426 (check-execstack-CFLAGS): Variable removed.
19427 ($(objpfx)check-execstack.h): Target removed.
19428 ($(objpfx)execstack-default): New target.
19429 (generated): Add that instead of check-execstack.h.
19430 ($(all-built-dso:=.phdr)): New static pattern rule.
19431 (generated): Add those targets.
19432 * elf/check-execstack.c: File removed.
19433
82a79e7d
RM
19434 * scripts/check-textrel.awk: New file.
19435 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19436 (check-textrel-CFLAGS): Variable removed.
19437 (all-built-dso): Use := to define.o
19438 ($(all-built-dso:=.dyn)): New static pattern rule.
19439 (generated): Add those targets.
19440 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19441 * config.make.in (READELF): New substituted variable.
19442 * elf/check-textrel.c: File removed.
19443
62fde54f 194442012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19445
615605c9
JM
19446 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19447 allow.
19448 * conform/data/ctype.h-data [C99-based standards] (isblank):
19449 Expect function.
19450 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19451 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19453 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19454 Specify type. Require positive value.
19455 (EILSEQ): Likewise.
19456 (ERANGE): Likewise.
19457 [ISO || POSIX] (EILSEQ): Do not expect.
19458 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19459 Specify type. Require positive value.
19460 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19461 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19462 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19463 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19464 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19465 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19466 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19467 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19468 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19469 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19470 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19471 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19472 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19473 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19474 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19475 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19476 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19477 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19478 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19479 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19480 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19481 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19482 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19483 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19484 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19485 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19486 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19487 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19488 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19489 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19490 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19491 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19492 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19493 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19494 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19495 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19496 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19497 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19498 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19499 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19500 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19501 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19502 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19503 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19504 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19505 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19506 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19507 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19508 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19509 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19510 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19511 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19512 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19513 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19514 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19515 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19516 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19517 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19518 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19519 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19520 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19521 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19522 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19534 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19535 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19536 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19537 Require >= 2.
19538 (FLT_ROUNDS): Expect as macro, not constant.
19539 (FLT_MANT_DIG): Use macro-int-constant.
19540 (DBL_MANT_DIG): Likewise.
19541 (LDBL_MANT_DIG): Likewise.
19542 (FLT_DIG): Likewise.
19543 (DBL_DIG): Likewise.
19544 (LDBL_DIG): Likewise.
19545 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19546 (DBL_MIN_EXP): Likewise.
19547 (LDBL_MIN_EXP): Likewise.
19548 (FLT_MAX_EXP): Use macro-int-constant.
19549 (DBL_MAX_EXP): Likewise.
19550 (LDBL_MAX_EXP): Likewise.
19551 (FLT_MAX_10_EXP): Likewise.
19552 (DBL_MAX_10_EXP): Likewise.
19553 (LDBL_MAX_10_EXP): Likewise.
19554 (FLT_MAX): Use macro-constant.
19555 (DBL_MAX): Likewise.
19556 (LDBL_MAX): Likewise.
19557 (FLT_EPSILON): Use macro-constant. Give upper bound.
19558 (DBL_EPSILON): Likewise.
19559 (LDBL_EPSILON): Likewise.
19560 (FLT_MIN): Likewise.
19561 (DBL_MIN): Likewise.
19562 (LDBL_MIN): Likewise.
19563 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19564 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19565 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19566 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19567 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19568 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19569 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19570 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19571 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19572 [ISO11] (FLT_TRUE_MIN): Likewise.
19573 [ISO11] (LDBL_TRUE_MIN): Likewise.
19574 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19575 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19576 (SCHAR_MIN): Use macro-int-constant. Specify type.
19577 (SCHAR_MAX): Likewise.
19578 (UCHAR_MAX): Likewise.
19579 (CHAR_MIN): Likewise.
19580 (CHAR_MAX): Likewise.
19581 (MB_LEN_MAX): Use macro-int-constant.
19582 (SHRT_MIN): Use macro-int-constant. Specify type.
19583 (SHRT_MAX): Likewise.
19584 (USHRT_MAX): Likewise.
19585 (INT_MAX): Likewise.
19586 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19587 bound negative.
19588 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19589 bound with "U".
19590 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19591 bound with "L".
19592 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19593 bound negative. Suffix upper bound with "L".
19594 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19595 bound with "UL".
19596 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19597 Specify type.
19598 [C99-based standards] (LLONG_MAX): Likewise.
19599 [C99-based standards] (ULLONG_MAX): Likewise.
19600 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19601 == 0.
19602 [ISO11] (max_align_t): Require type.
19603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19604
c9140a62
JM
19605 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19606 from $CFLAGS, without defining away __attribute__ calls.
19607 (checknamespace): Use $CFLAGS_namespace.
19608
9af0bf29
JM
19609 * conform/conformtest.pl (@keywords): Only include C99 keywords
19610 for standards based on C99 or C11.
19611
343222a2
JM
19612 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19613 Disable tests.
19614 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19615 UNIX98]: Likewise.
19616
661f8cf0
JM
19617 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19618 usability of symbols in #if.
19619
ee74b9cb
JM
19620 * conform/conformtest.pl: If macro or constant types start
19621 "promoted:", expect the symbol to be of the following type
19622 promoted by the integer promotions.
62fde54f 19623
aafc49b3
JM
19624 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19625 in one place. Also handle "macro-constant".
19626
fefdf574
JM
19627 * conform/conformtest.pl: Only accept expected macro values with
19628 "==". Parse all "macro" lines in one place.
19629 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19630
f2d922fe
JM
19631 * conform/conformtest.pl: Handle braced types on "constant" lines
19632 instead of handling "typed-constant".
19633 * conform/data/signal.h-data: Use "constant" instead of
19634 "typed-constant".
19635
d22956c9
JM
19636 * conform/conformtest.pl: Handle "optional-" at start of lines in
19637 one place rather than duplicating several cases. Handle each
19638 format of "macro" line with initial "optional-".
19639
028e2e38
JM
19640 * conform/conformtest.pl: Only accept expected constant or
19641 optional-constant values with "==". Parse all "constant" lines in
19642 one place. Parse all "optional-constant" lines in one place.
19643 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19644 * conform/data/fmtmsg.h-data: Likewise.
19645 * conform/data/netinet/in.h-data: Likewise.
19646 * conform/data/tar.h-data: Likewise.
19647 * conform/data/limits.h-data: Use "==" form on "constant" and
19648 "optional-constant" lines.
19649
1b8f2850
JM
19650 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19651 Use -std=c99 for XOPEN2K.
19652 (@knownproblems): Remove.
19653 (newtoken): Don't check %isknown.
19654
a05a144b
JM
19655 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19656 Do not expect macro.
19657 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19659 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19660 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19661 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19662 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19665 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19666 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19669 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19670 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19674 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19675 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19676 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19680 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19681 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19687 [XPG3] (acosh): Likewise.
19688 [XPG3] (asinh): Likewise.
19689 [XPG3] (atanh): Likewise.
19690 [XPG3] (cbrt): Likewise.
19691 [XPG3] (expm1): Likewise.
19692 [XPG3] (ilogb): Likewise.
19693 [XPG3] (log1p): Likewise.
19694 [XPG3] (logb): Likewise.
19695 [XPG3] (nextafter): Likewise.
19696 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19697 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19698 [XPG3] (remainder): Likewise.
19699 [XPG3] (rint): Likewise.
19700 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19703 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19704 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19705 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19706 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19707 [UNIX98 || XOPEN2K] (scalb): Expect.
19708 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19709 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19710 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19711 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19712 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19714 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19718 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19719 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19749 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19750 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19751 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19752 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19755 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19756 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19770 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19771 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19845
73c5ebe3
JM
19846 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19847 _XOPEN_SOURCE_EXTENDED for XPG4.
19848
39c33b6c
JM
19849 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19850
62fde54f
JM
19851 * Makeconfig (localtime): Remove variable.
19852 (inst_localtime-file): Likewise.
19853
0741d64c
AS
198542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19855
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19857 Update.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19859 Update.
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19861 Update.
19862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19863 Update.
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19865 Update.
19866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19867 Update.
19868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19869 Update.
19870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19871 Update.
19872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19873 Update.
19874
7cb029ee
JM
198752012-05-01 Joseph Myers <joseph@codesourcery.com>
19876
19877 [BZ #2550]
19878 [BZ #2570]
19879 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19880 comparisons to determine direction to adjust input.
19881 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19882 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19883 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19884 Likewise.
19885 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19886 Likewise.
19887 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19888 Likewise.
19889 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19890 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19891 Likewise.
19892 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19893 Likewise.
19894 * math/libm-test.inc (nexttoward_test): Add more tests.
19895
412bd966
AS
198962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19897
19898 [BZ #14040]
19899 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19900 in version GLIBC_2.1, not GLIBC_2.0.
19901 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19902 Likewise.
19903
9568c0c2
JM
199042012-04-30 Joseph Myers <joseph@codesourcery.com>
19905
adfbc8ac
JM
19906 [BZ #13942]
19907 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19908 (1 - x) * (1 + x).
19909 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19910 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19911 * math/libm-test.inc (acos_test): Add more tests.
19912 (asin_test): Likewise.
19913 * sysdeps/i386/fpu/libm-test-ulps: Update.
19914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19915
5ba3cc69
JM
19916 [BZ #14034]
19917 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19918 of square root.
19919 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19920 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19921 * math/libm-test.inc (acos_test_tonearest): New function.
19922 (acos_test_towardzero): Likewise.
19923 (acos_test_downward): Likewise.
19924 (acos_test_upward): Likewise.
19925 (asin_test_tonearest): Likewise.
19926 (asin_test_towardzero): Likewise.
19927 (asin_test_downward): Likewise.
19928 (asin_test_upward): Likewise.
19929 (main): Call the new functions.
19930 * sysdeps/i386/fpu/libm-test-ulps: Update.
19931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19932
9568c0c2
JM
19933 [BZ #13884]
19934 [BZ #13924]
19935 * math/e_exp10.c: Include <float.h>.
19936 (__ieee754_exp10): Handle underflow here rather than multiplying
19937 large negative argument by M_LN10.
19938 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19939 of __ieee754_expf.
19940 * math/e_exp10l.c: Include <float.h>.
19941 (__ieee754_exp10l): Handle underflow here rather than multiplying
19942 large negative argument by M_LN10l.
19943 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19944 spurious overflow exception on underflow.
19945
5ac3ea17
MP
199462012-04-29 Marek Polacek <polacek@redhat.com>
19947
19948 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19949 (__fortify_function): New macro.
19950 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19951 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19952 __extern_always_inline.
19953 * libio/bits/stdio2.h: Likewise.
19954 * libio/bits/stdio.h: Likewise.
19955 * string/string.h: Likewise.
19956 * string/bits/string3.h: Likewise.
19957 * include/stdio.h: Likewise.
19958 * stdlib/bits/stdlib.h: Likewise.
19959 * stdlib/stdlib.h: Likewise.
19960 * rt/bits/mqueue2.h: Likewise.
19961 * rt/mqueue.h: Likewise.
19962 * posix/bits/unistd.h: Likewise.
19963 * posix/unistd.h: Likewise.
19964 * io/bits/poll2.h: Likewise.
19965 * io/bits/fcntl2.h: Likewise.
19966 * io/fcntl.h: Likewise.
19967 * io/sys/poll.h: Likewise.
19968 * misc/bits/syslog.h: Likewise.
19969 * misc/bits/syslog-ldbl.h: Likewise.
19970 * misc/sys/syslog.h: Likewise.
19971 * socket/bits/socket2.h: Likewise.
19972 * socket/sys/socket.h: Likewise.
19973 * debug/tst-chk1.c: Likewise.
19974 * wcsmbs/bits/wchar2.h: Likewise.
19975 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19976 * wcsmbs/wchar.h: Likewise.
19977
ecf0ebfb
AJ
199782012-04-29 Andreas Jaeger <aj@suse.de>
19979
19980 * Makerules (tests): Remove enable-check-abi protection.
19981 (check-abi-warn): Remove.
19982 (check-abi-%): Remove check-abi-warn usage.
19983
19984 * configure.in: Remove check-abi configure option.
19985 * configure: Regenerated.
19986 * config.make.in (enable-check-abi): Remove.
19987
6d5c57fa
AS
199882012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19989
24c5d07e 19990 [BZ #14033]
ded5180a
AS
19991 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19992 double functions to double *_finite functions.
19993
7e0d315d
AS
19994 [BZ #13941]
19995 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19996 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19997 LDBL_MIN_EXP.
19998 * stdio-common/Makefile (tests): Add tst-sprintf3.
19999 * stdio-common/tst-sprintf3.c: New file.
20000
6d5c57fa
AS
20001 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20002 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20003
0749ff8b
JM
200042012-04-28 Joseph Myers <joseph@codesourcery.com>
20005
20006 * conform/conformtest.pl: Remove duplicate typed-constant
20007 handling.
20008
8dbd5d7b
DM
200092012-04-28 David S. Miller <davem@davemloft.net>
20010
20011 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20012 (check-abi-%): Remove AWK script prerequisite and explicit
20013 abilist directory.
20014 (check-abi): Rewrite to just diff the symlist with the abilist.
20015 (config-tls, config-abi-config): Delete, no longer used.
20016 (update-abi-%): Remove AWK script and explicit abilist directory.
20017 (update-abi): Rewrite to simply compare and conditionally copy the
20018 symlist and the sysdep abilist file. Remove update-abi-config
20019 checks.
20020 * abilist/ld.abilist: Remove.
20021 * abilist/libBrokenLocale.abilist: Remove.
20022 * abilist/libanl.abilist: Remove.
20023 * abilist/libcrypt.abilist: Remove.
20024 * abilist/libdl.abilist: Remove.
20025 * abilist/librt.abilist: Remove.
20026 * abilist/libthread_db.abilist: Remove.
20027 * abilist/libutil.abilist: Remove.
20028 * scripts/extract-abilist.awk: Remove.
20029 * scripts/merge-abilist.awk: Remove.
20030 * sysdeps/generic/libcidn.abilist: New file.
20031 * sysdeps/generic/libnss_compat.abilist: New file.
20032 * sysdeps/generic/libnss_db.abilist: New file.
20033 * sysdeps/generic/libnss_dns.abilist: New file.
20034 * sysdeps/generic/libnss_files.abilist: New file.
20035 * sysdeps/generic/libnss_hesiod.abilist: New file.
20036 * sysdeps/generic/libnss_nis.abilist: New file.
20037 * sysdeps/generic/libnss_nisplus.abilist: New file.
20038 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20039 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20040 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20041 file.
20042 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20043 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20044 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20045 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20046 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20047 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20048 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20049 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20050 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20051 file.
20052 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20053 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20054 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20055 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20056 file.
20057 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20058 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20059 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20060 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20061 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20062 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20063 file.
20064 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20065 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20066 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20067 file.
20068 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20070 New file.
20071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20072 New file.
20073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20074 New file.
20075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20076 New file.
20077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20078 New file.
20079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20080 New file.
20081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20082 New file.
20083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20084 New file.
20085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20086 New file.
20087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20088 New file.
20089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20090 New file.
20091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20092 New file.
20093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20094 New file.
20095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20096 file.
20097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20098 New file.
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20100 New file.
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20102 file.
20103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20104 New file.
20105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20106 New file.
20107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20108 file.
20109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20110 New file.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20112 New file.
20113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20114 New file.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20116 New file.
20117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20118 New file.
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20120 New file.
20121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20123 file.
20124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20125 New file.
20126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20127 file.
20128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20129 file.
20130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20131 file.
20132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20133 file.
20134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20135 file.
20136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20137 New file.
20138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20139 file.
20140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20141 file.
20142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20143 New file.
20144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20145 file.
20146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20148 file.
20149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20150 New file.
20151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20152 file.
20153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20154 file.
20155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20156 file.
20157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20158 file.
20159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20160 file.
20161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20162 New file.
20163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20164 file.
20165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20166 file.
20167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20168 New file.
20169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20170 file.
20171 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20172 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20173 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20174 file.
20175 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20176 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20177 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20178 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20179 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20180 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20181 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20182 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20183 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20184 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20187 file.
20188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20189 New file.
20190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20191 file.
20192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20193 file.
20194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20195 file.
20196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20197 file.
20198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20199 file.
20200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20201 New file.
20202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20203 New file.
20204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20205 file.
20206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20207 New file.
20208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20209 file.
20210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20212 file.
20213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20214 New file.
20215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20216 file.
20217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20218 file.
20219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20220 file.
20221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20222 file.
20223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20224 file.
20225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20226 New file.
20227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20228 New file.
20229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20230 file.
20231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20232 New file.
20233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20234 file.
20235
41d73a1b
JM
202362012-04-28 Joseph Myers <joseph@codesourcery.com>
20237
20238 * conform/conformtest.pl: Fix typo in handling typed-constant from
20239 allow-header.
20240
28aeeda4
JM
202412012-04-27 Joseph Myers <joseph@codesourcery.com>
20242
adae8f5e
JM
20243 * README: Cut down references to pre-2.6 Linux kernels and
20244 Linuxthreads. Update lists of configurations in libc and ports
20245 and sort alphabetically. Say "or newer" with Linux kernel version
20246 requirements.
20247
28aeeda4
JM
20248 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20249
a462cb63
RA
202502012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20251
20252 [BZ #887]
20253 * math/libm-test.inc (logb_test_downward): New test to expose
20254 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20255 rounding mode.
20256
6ad3493e
JM
202572012-04-27 Joseph Myers <joseph@codesourcery.com>
20258
20259 [BZ #14027]
20260 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20261 to be done.
20262 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20263 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20264
2ce4f015
JM
202652012-04-26 Joseph Myers <joseph@codesourcery.com>
20266
5aeb141a
JM
20267 * sysdeps/unix/i386/brk.S: Remove file.
20268 * sysdeps/unix/i386/dl-brk.S: Likewise.
20269 * sysdeps/unix/i386/pipe.S: Likewise.
20270 * sysdeps/unix/i386/sigreturn.S: Likewise.
20271 * sysdeps/unix/i386/syscall.S: Likewise.
20272 * sysdeps/unix/i386/vfork.S: Likewise.
20273 * sysdeps/unix/i386/wait.S: Likewise.
20274
7143acae
JM
20275 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20276 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20277
2ce4f015
JM
20278 * configure.in (arm*-none*): Do not allow without
20279 --enable-hacker-mode.
20280 (netbsd*): Remove case setting base_os.
20281 (386bsd*): Likewise.
20282 (freebsd*): Likewise.
20283 (bsdi*): Likewise.
20284 (osf*): Likewise.
20285 (sunos*): Likewise.
20286 (ultrix*): Likewise.
20287 (newsos*): Likewise.
20288 (dynix*): Likewise.
20289 (*bsd*): Likewise.
20290 (sysv*): Likewise.
20291 (isc*): Likewise.
20292 (esix*): Likewise.
20293 (sco*): Likewise.
20294 (minix*): Likewise.
20295 (irix4*): Likewise.
20296 (irix6*): Likewise.
20297 (solaris[2-9]*): Likewise.
20298 (none): Likewise.
20299 * configure: Regenerated.
20300
0ac229c8
AZ
203012012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20302
20303 [BZ #11521]
20304 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20305 overflow or cancellation in calculating denominator.
20306 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20307 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20308 down expression to avoid unexpected rounding in newer GCCs.
20309 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20310
33f244f4
DM
203112012-04-26 David S. Miller <davem@davemloft.net>
20312
20313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20314 long-double compat symbols.
20315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20328
cfa1f3e8
DM
203292012-04-25 David S. Miller <davem@davemloft.net>
20330
20331 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20332 HWCAP_* values only after the memory barriers have been defined.
20333 (atomic_full_barrier): Define.
20334 (atomic_read_barrier): Define.
20335 (atomic_write_barrier): Define.
20336
6e236b92
SP
203372012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20338
20339 * shlib-versions: Add libgcc_s version information.
20340 * sysdeps/generic/libgcc_s.h: Remove.
20341 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20342 libgcc_s.h.
20343 * sysdeps/gnu/unwind-resume.c: Likewise.
20344 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20345
aab39a09
DM
203462012-04-25 David S. Miller <davem@davemloft.net>
20347
20348 * sysdeps/unix/sparc/brk.S: Delete.
20349 * sysdeps/unix/sparc/dl-brk.S: Delete.
20350 * sysdeps/unix/sparc/pipe.S: Delete.
20351 * sysdeps/unix/sparc/sysdep.S: Delete.
20352 * sysdeps/unix/sparc/sysdep.h: Delete.
20353 * sysdeps/unix/sparc/vfork.S: Delete.
20354 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20355 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20356 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20357 ret_ERRVAL, r0, r1, MOVE): Define.
20358 (JUMPTARGET): Remove.
20359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20360 sysdeps/unix/sparc/sysdep.h
20361 (ENTRY, END): Remove.
20362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20363
a3cc4f48
JM
203642012-04-25 Joseph Myers <joseph@codesourcery.com>
20365
2ed8cda2
JM
20366 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20367 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20368 -DIS_IN_build.
20369
35d76d59
JM
20370 * timezone/README: Update upstream location and email address for
20371 tzcode and tzdata.
20372 * timezone/zdump.c: Update from tzcode 2012b.
20373 * timezone/zic.c: Likewise.
20374
a3cc4f48
JM
20375 * configure.in (libc_cv_as_needed): Remove test.
20376 * configure: Regenerated.
20377 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20378 conditional definition.
20379 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20380 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20381 * config.make.in (have-as-needed): Remove variable.
20382
ceab42c3
SP
203832012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20384 Paul Pluzhnikov <ppluzhnikov@google.com>
20385
20386 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20387 strings correctly.
20388
3ce2865f
CLT
203892012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20390
20391 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20392 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20393 * sysdeps/sh/strlen.S: Likewise.
20394
f37e0d68
JM
203952012-04-24 Joseph Myers <joseph@codesourcery.com>
20396
ae186e9a
JM
20397 * sysdeps/unix/fork.S: Remove file.
20398 * sysdeps/unix/i386/fork.S: Likewise.
20399 * sysdeps/unix/sparc/fork.S: Likewise.
20400
b96914af
JM
20401 * sysdeps/unix/system.c: Remove file.
20402 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20403
f37e0d68
JM
20404 * sysdeps/unix/getegid.S: Remove file.
20405 * sysdeps/unix/geteuid.S: Likewise.
20406
87ef29ca
RM
204072012-04-24 Roland McGrath <roland@hack.frob.com>
20408
83bcd236
RM
20409 * scripts/check-localplt.awk: New file.
20410 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20411 of diff.
20412 * scripts/data/localplt-generic.data: Add a comment.
20413
87ef29ca
RM
20414 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20415 NODE when __dir_mkfile failed.
20416 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20417 Reported by Ludovic Courtès <ludo@gnu.org>.
20418
e5a6e567
AJ
204192012-04-24 Andreas Jaeger <aj@suse.de>
20420
20421 * Makerules (common-clean): Also remove gen-as-const-headers
20422 files.
20423
c1820385
JM
204242012-04-24 Joseph Myers <joseph@codesourcery.com>
20425
20426 * Makerules (native-compile): Do not change working directory for
20427 build. Use $(OUTPUT_OPTION) in command.
20428 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20429
94e02fc4
AZ
204302012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20431
20432 [BZ #13886]
20433 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20434 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20435 * math/libm-test.inc (floor_test): Add more tests.
20436 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20437
3a533ca3
JM
204382012-04-24 Joseph Myers <joseph@codesourcery.com>
20439
940ab4b3
JM
20440 * sysdeps/unix/getdents.c: Remove file.
20441 * sysdeps/unix/sysv/getdents.c: Likewise.
20442 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20443
90e037bd
JM
20444 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20445 sysdeps/unix/mman/syscalls.list.
20446 (mmap): Likewise.
20447 (mprotect): Likewise.
20448 (msync): Likewise.
20449 (munmap): Likewise.
20450 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20451 * sysdeps/unix/mman/syscalls.list: Remove.
20452 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20453
3a533ca3
JM
20454 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20455 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20456 * configure: Regenerated.
20457 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20458 $(libgcc_s_suffix).
20459 * config.make.in (libgcc_s_suffix): Remove variable.
20460
1ad743de
JM
204612012-04-23 Joseph Myers <joseph@codesourcery.com>
20462
4ad451e2
JM
20463 * sysdeps/unix/sysv/gethostname.c: Move to ...
20464 * sysdeps/posix/gethostname.c: ... here.
20465
5e37ce39
JM
20466 * sysdeps/unix/execve.S: Remove file.
20467
1ad743de
JM
20468 * sysdeps/unix/_exit.S: Remove file.
20469
4e681b5b
AJ
204702012-04-23 Andreas Jaeger <aj@suse.de>
20471
20472 [BZ #13739]
20473 * manual/Makefile: Remove make dist support, there's no
20474 need for a stand-alone documentation tar ball.
20475 (TEXI2DVI): Define always, it's not in Makeconfig.
20476 (dist): Removed.
20477 (tar-it): Removed.
20478 (edition): Removed.
20479 (glibc-doc-$(edition).tar): Removed
20480 (%.Z): Removed.
20481 (%.gz): Removed.
20482 (%.uu): Removed.
20483 (ETAGS): Remove, it's in Makeconfig.
20484 (move-if-change): Remove, it's in Makeconfig.
20485
38686a03 204862012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20487
20488 [BZ #13970]
20489 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20490 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20491 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20492 (strtod_l, strtof_l, strtold_l): Remove __wur.
20493 It is not necessarily an error to ignore strtol's return value.
20494 One can reliably look at the stored endptr to decide whether
20495 the number had valid syntax.
20496
7c0616fa
AJ
204972012-04-21 Andreas Jaeger <aj@suse.de>
20498
803cb6b7 20499 [BZ #13739]
7c0616fa
AJ
20500 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20501
b0fe253f
JM
205022012-04-21 Joseph Myers <joseph@codesourcery.com>
20503
20504 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20505 * sysdeps/unix/sysv/Versions: Remove file.
20506
8280f22d
MT
205072012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20508
20509 [BZ #13927]
20510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20511
75ce411f 205122012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20513
20514 [BZ #7064]
20515 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20516 version from __vm86.
20517
097d59fa
JM
205182012-04-20 Joseph Myers <joseph@codesourcery.com>
20519
a90f3bcb
JM
20520 * sysdeps/unix/common/lxstat.c: Remove file.
20521 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20522
edc7ea78
JM
20523 * sysdeps/unix/sysv/Makefile: Remove file.
20524
cb78c221
JM
20525 * sysdeps/unix/sysv/direct.h: Remove file.
20526
efa6a45f
JM
20527 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20528 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20529 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20530 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20531 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20532 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20533 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20534
9c9f2d0c
JM
20535 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20536
4541c83b
JM
20537 * sysdeps/unix/xmknod.c: Remove file.
20538 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20539
f5d153a0
JM
20540 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20541
aa746595
JM
20542 * sysdeps/unix/sysv/i386/time.S: Remove file.
20543
cce5905e
JM
20544 * sysdeps/unix/fxstat.c: Remove file.
20545 * sysdeps/unix/xstat.c: Likewise.
20546 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20547
37fa3841
JM
20548 * sysdeps/unix/sysv/sigaction.c: Remove file.
20549
ff1962a3
JM
20550 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20551 (sysdep_headers): Remove variable.
20552 [termio.h not in sysdep_headers] (generated): Likewise.
20553 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20554 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20555 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20556 * sysdeps/unix/sysv/tcflow.c: Likewise.
20557 * sysdeps/unix/sysv/tcflush.c: Likewise.
20558 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20559 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20560 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20561 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20562 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20563
e7740d31
JM
20564 * sysdeps/unix/siglist.c: Remove file.
20565
ee06f18b
JM
20566 * sysdeps/unix/getppid.S: Remove file.
20567
097d59fa
JM
20568 * sysdeps/unix/mkdir.c: Remove file.
20569 * sysdeps/unix/rmdir.c: Likewise.
20570
ff3d51ec
AS
205712012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20572
20573 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20574 ERR_MAX value.
20575 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20576 errlist-compat value.
20577
50f81fd7
DM
205782012-04-18 David S. Miller <davem@davemloft.net>
20579
20580 * sysdeps/generic/memcopy.h (reg_char): Delete.
20581 * debug/strcat_chk.c: Use char, not reg_char.
20582 * debug/strcpy_chk.c: Likewise.
20583 * debug/strncat_chk.c: Likewise.
20584 * debug/strncpy_chk.c: Likewise.
20585 * string/memchr.c: Likewise.
20586 * string/memrchr.c: Likewise.
20587 * string/rawmemchr.c: Likewise.
20588 * string/strcat.c: Likewise.
20589 * string/strchr.c: Likewise.
20590 * string/strchrnul.c: Likewise.
20591 * string/strcmp.c: Likewise.
20592 * string/strcpy.c: Likewise.
20593 * string/strncat.c: Likewise.
20594 * string/strncmp.c: Likewise.
20595 * string/strncpy.c: Likewise.
20596
8ff41c46
WS
205972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20598
20599 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20600 __builtin_memcopy is called when src and dest ranges are known to not
20601 overlap.
20602
6b652f46
WS
206032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20604
20605 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20606 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20607 fwd_align_merge macro call.
20608 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20609 bwd_align_merge macro call.
20610 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20611
b282631e
WS
206122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20613
20614 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20615 bwd_align_merge macros.
20616 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20617 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20618 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20619
95aa737c
DM
206202012-04-18 David S. Miller <davem@davemloft.net>
20621
20622 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20623
7a99a614
AJ
206242012-04-18 Andreas Jaeger <aj@suse.de>
20625
20626 [BZ# 6794]
20627 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20628 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20629 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20630
20631 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20632 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20633 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20634
20635 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20636 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20637 Adjust for changed ldbl-128 files.
20638
20639 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20640 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20641 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20642
e5270c23
DM
206432012-04-17 David S. Miller <davem@davemloft.net>
20644
20645 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20646
fb5e92c9
AS
206472012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20648
20649 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20650 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20651 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20652 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20653 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20654 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20655
76da7265
AZ
206562012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20657
20658 [BZ #6794]
20659 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20660 * math/libm-test.inc: Add ilogb errno and exception tests.
20661 * math/w_ilogb.c: New file: ilogb wrapper.
20662 * math/w_ilogbf.c: New file: ilogbf wrapper.
20663 * math/w_ilogbl.c: New file: ilogbl wrapper.
20664 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20665 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20666 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20667 exception being thrown with 0.0 as argument.
20668 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20669 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20670 exception being thrown with 0.0 as argument.
20671 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20672 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20673 exception being thrown with 0.0 as argument.
20674 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20675 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20676 exception being thrown with 0.0 as argument.
20677 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20678 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20679 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20680 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20681 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20682 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20683 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20684 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20685 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20686
0396e69d
PB
206872012-04-17 Petr Baudis <pasky@ucw.cz>
20688
20689 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20690 with altivec.
20691
750b5926
MP
206922012-04-16 Marek Polacek <polacek@redhat.com>
20693
20694 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20695
751728a1
MP
206962012-04-16 Marek Polacek <polacek@redhat.com>
20697
20698 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20699 operands of fdivp instruction.
20700
34a27407
L
207012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20702
20703 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20704 * elf/tst-auditmod3b.c: Likewise.
20705 * elf/tst-auditmod4b.c: Likewise.
20706 * elf/tst-auditmod5b.c: Likewise.
20707 * elf/tst-auditmod6b.c: Likewise.
20708 * elf/tst-auditmod6c.c: Likewise.
20709 * elf/tst-auditmod7b.c: Likewise.
20710 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20711 * sysdeps/x86_64/preconfigure.in: Likewise.
20712 * sysdeps/x86_64/preconfigure: Regenerated.
20713
7e73e17d
L
207142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20715
20716 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20717 __ILP32__.
20718
c7a6ab72
AB
207192012-04-13 Antoine Balestrat <merkil33@gmail.com>
20720
20721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20722 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20723
a9e8e0e0
CL
207242012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20725
20726 [BZ #13973]
20727 * locale/iso-639.def: Fix gl language name. Spotted by
20728 Yaron Shahrabani.
20729
ec98af7d
RM
207302012-04-12 Roland McGrath <roland@hack.frob.com>
20731
20732 [BZ #2074]
20733 * libio/libio.h (__io_write_fn): Update comment.
20734
247c3ede
PB
207352012-04-12 Petr Baudis <pasky@ucw.cz>
20736
20737 [BZ #2074]
20738 * stdio.texi (Hook Functions): The user provided writer function
20739 is not allowed to return -1.
20740
55939d6d
DM
207412012-04-11 David S. Miller <davem@davemloft.net>
20742
20743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20744
90020f5a
MF
207452012-04-11 Mike Frysinger <vapier@gentoo.org>
20746
20747 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20748 Add a leading slash to rtkaio.
20749
288f9098
JM
207502012-04-11 Jim Meyering <meyering@redhat.com>
20751
90020f5a
MF
20752 [BZ #11959]
20753 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20754 It is not necessarily an error to ignore fwrite's return
20755 value. One can reliably use ferror to test for errors after
20756 the fact.
288f9098 20757
4be2b570
L
207582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20759
20760 * bits/types.h (__snseconds_t): New type.
20761 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20762
20763 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20765 (__SNSECONDS_T_TYPE): Likewise.
20766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20767 (__SNSECONDS_T_TYPE): Likewise.
20768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20769 (__SNSECONDS_T_TYPE): Likewise.
20770
288f9098 207712012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20772
20773 [BZ #2636]
20774 * manual/time.texi (Processor Time): Return type of times is
20775 elapsed real time since an arbitrary point in the past.
20776 (CPU Time): Move CLK_TCK from here...
20777 (Processor Time): ...to here. Correct description.
20778 * manual/conf.texi (Constants for Sysconf): Correct description of
20779 _SC_CLK_TCK.
20780
d7dd4413
DM
207812012-04-10 David S. Miller <davem@davemloft.net>
20782
20783 [BZ #13967]
20784 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20785 where the is a gap between DT_REL(A) and DT_JMPREL.
20786
b46068fc
L
207872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20788
20789 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20790 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20791 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20792
73d65cc3
SP
207932012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20794
20795 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20796 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20797 (dl_main): Handle --inhibit-cache.
20798 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20799 _dl_inhibit_cache.
20800 * elf/dl-load.c (_dl_map_object): Use it.
20801 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20802
bcc8d661
JM
208032012-04-09 Joseph Myers <joseph@codesourcery.com>
20804
8f9a2fae
JM
20805 [BZ #13872]
20806 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20807 (__ieee754_powl): Saturate large exponents rather than testing for
20808 overflow of y*log2(x).
20809 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20810 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20811 exceptions.
20812
bcc8d661
JM
20813 [BZ #11521]
20814 * math/s_ctan.c: Include <float.h>.
20815 (__ctan): Avoid internal overflow or cancellation in calculating
20816 denominator.
20817 * math/s_ctanf.c: Likewise.
20818 * math/s_ctanl.c: Likewise.
20819 * math/s_ctanh.c: Likewise.
20820 * math/s_ctanhf.c: Likewise.
20821 * math/s_ctanhl.c: Likewise.
20822 * math/libm-test.inc (ctan_test): Add more tests.
20823 (ctanh_test): Likewise.
20824 * sysdeps/i386/fpu/libm-test-ulps: Update.
20825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20826
823fbbb4
AJ
208272012-04-09 Andreas Jaeger <aj@suse.de>
20828
03879793
AJ
20829 [BZ #6894]
20830 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20831 is an optional BSD extension.
20832
823fbbb4
AJ
20833 [BZ #10254]
20834 * manual/stdio.texi (Opening Streams): Document additional fopen
20835 parameters.
20836
8de131cb
RM
208372012-04-09 Roland McGrath <roland@hack.frob.com>
20838
20839 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20840 %eax without telling the compiler.
20841
c0ed9d7d
CD
208422012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20843
20844 [BZ # 13963]
20845 * manual/install.texi: Use sourceware.org.
20846
c483f6b4
JM
208472012-04-09 Joseph Myers <joseph@codesourcery.com>
20848
d7dd9453
JM
20849 [BZ #13873]
20850 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20851 (__ieee754_pow): Generate overflow and underflow using huge*huge
20852 and tiny*tiny rather than just returning constant infinity or zero
20853 for large exponents.
20854 * math/libm-test.inc (pow_test): Require overflow exceptions for
20855 applicable cases of large exponents.
20856
c483f6b4
JM
20857 [BZ #706]
20858 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20859 (__ieee754_pow): Use iterative multiplication algorithm only for
20860 integer exponents with absolute value below 1024. Check for odd
20861 integer exponents when using algorithm for real exponents.
20862 * math/libm-test.inc (pow_test): Add more tests.
20863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20864
d2de7579
JM
208652012-04-08 Joseph Myers <joseph@codesourcery.com>
20866
20867 [BZ #13705]
20868 * math/libm-test.inc (exp_test): Do not allow overflow exception
20869 on underflow test.
20870
f77f1232
AJ
208712012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20872
20873 [BZ #13705]
20874 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20875 instead of __kernel_standard_f.
20876
3884932b
MF
208772012-04-08 Mike Frysinger <vapier@gentoo.org>
20878
20879 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20880 * sysdeps/x86_64/memset_chk.S: Likewise.
20881
54472e9c
AJ
208822012-04-08 Andreas Jaeger <aj@suse.de>
20883
6ab0fbfc
AJ
20884 [BZ #10153]
20885 * manual/startup.texi (Environment Access): Describe return value
20886 for putenv and setenv.
20887
61efba8c
AJ
20888 [BZ #6895]
20889 * manual/filesys.texi (Directory Entries): Add description for
20890 DT_LNK.
20891
95c3f29a
AJ
20892 [BZ #6890]
20893 * manual/filesys.texi (Directory Entries): Clarify that it's file
20894 system not operating system in the description of DT_UNKNOWN.
20895
54472e9c
AJ
20896 [BZ #6578]
20897 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20898
624254b1
SC
208992012-04-08 Stephen Compall <s11@member.fsf.org>
20900
20901 [BZ #6649]
20902 * manual/llio.texi (Opening and Closing Files): Add cross
20903 reference to explain mode argument.
20904
1e4920e0
MF
209052012-04-07 Mike Frysinger <vapier@gentoo.org>
20906
20907 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20908 * sysdeps/x86_64/memset_chk.S: Likewise.
20909
5ed848f3
DM
209102012-04-07 David S. Miller <davem@davemloft.net>
20911
20912 * elf/elf.h (R_SPARC_WDISP10): Define.
20913 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20914 R_SPARC_SIZE32.
20915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20916 R_SPARC_SIZE64 and R_SPARC_H34.
20917
96154cd8
CD
209182012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20919
20920 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20921 conditions and remove no longer applicable assertion.
20922
9904dc47
L
209232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20924
20925 * bits/byteswap.h: Include <features.h>.
20926 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20927 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20928
f8887d0a
L
209292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20930
20931 * bits/byteswap.h (__bswap_16): Removed.
20932 Include <bits/byteswap-16.h> to get __bswap_16.
20933 * sysdeps/i386/bits/byteswap.h: Likewise.
20934 * sysdeps/s390/bits/byteswap.h: Likewise.
20935 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20936 * bits/byteswap-16.h: New file.
20937 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20938 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20939 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20940 * string/Makefile (headers): Add bits/byteswap-16.h.
20941
62470f60
PP
209422012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20943
20944 [BZ #13895]
20945 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20946 extra indirection.
20947 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20948 * nss/tst-nss-static.c: New.
20949
4dad7bab
RM
209502012-04-06 Robert Millan <rmh@gnu.org>
20951
20952 [BZ #6486]
20953 * manual/llio.texi (File Position Primitive): lseek
20954 refers to WHENCE when it really means OFFSET.
20955
e9142a17
AJ
209562012-04-06 Andreas Jaeger <aj@suse.de>
20957
2c040eff
AJ
20958 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20959 strncmp declarations.
20960
e9142a17
AJ
20961 * abilist/libc.abilist: Add __poll and __ppoll.
20962
ff9f1c5f
DM
209632012-04-05 David S. Miller <davem@davemloft.net>
20964
dcd2ae90
DM
20965 * scripts/check-local-headers.sh: Accept a host triplet in the
20966 path matched by the exclude regexp.
20967
993eb054
DM
20968 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20969 definition.
20970 * sysdeps/powerpc/powerpc32/dl-machine.h
20971 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20972 * sysdeps/s390/s390-32/dl-machine.h
20973 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20974 * sysdeps/sparc/sparc32/dl-machine.h
20975 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20976 * sysdeps/sparc/sparc64/dl-machine.h
20977 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20978
ff9f1c5f
DM
20979 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20980 lazy binding.
48e2e132 20981 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20982 undefined symbol errors.
20983
48e2e132 20984 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20985 DT_NEEDED entries.
20986
e80d6f94
MM
209872012-04-05 Michael Matz <matz@suse.de>
20988
20989 [BZ #13592]
20990 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20991
349fa79f
AJ
209922012-04-05 Andreas Jaeger <aj@suse.de>
20993
20994 [BZ #13908]
20995 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20996 comment.
20997
f402708f
KK
209982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20999
21000 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21001 which ROUND is no valid rounding mode.
21002
2ecccfc9
KK
210032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21004
21005 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21006 read again.
21007 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21008
8a53f50f
KK
210092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21010
21011 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21012 an exception using FPU order intentionally.
21013
210142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21015
21016 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21017 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21018 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21019 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21020
d653abb7
SJ
210212012-04-05 Simon Josefsson <simon@josefsson.org>
21022
21023 [BZ #12340]
21024 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21025 EINVAL when BUFLEN is too smal.
21026
c3b1bf7d
TS
210272012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21028
21029 [BZ #13553]
21030 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21031 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21032
b1aa60f3
AJ
210332012-04-03 Andreas Jaeger <aj@suse.de>
21034
c3b1bf7d 21035 [BZ #13938]
67f60a26
AJ
21036 * manual/setjmp.texi (System V contexts): Fix sentence.
21037
b1aa60f3
AJ
21038 [BZ #13926]
21039 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21040 New macro for this case.
21041 [!__GNUC__] (__bswap_64): New inline function for this case.
21042 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21043 * bits/byteswap.h: Likewise.
21044 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21045 ull, guard with __GLIBC_HAVE_LONG_LONG.
21046
21047 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21048 __GLIBC_HAVE_LONG_LONG.
21049
21050 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21051 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21052
39c59c35
TMQMF
210532012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21054
21055 [BZ #13691]
21056 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21057 inptr and inend, rather than using last_ch.
21058
135ffda8
DM
210592012-04-02 David S. Miller <davem@davemloft.net>
21060
21061 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21062 * stdio-common/printf-parse.h (read_int): Change return type to
21063 'int', return -1 on INT_MAX overflow.
21064 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21065 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21066 overflows INT_MAX. Check for overflow of in-format-string precision
21067 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21068 SIZE_MAX not INT_MAX for integer overflow test.
21069 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21070 skip the construct in the format string but do not record anything.
21071 * stdio-common/bug22.c: Adjust to test both width/prevision
21072 INT_MAX overflow as well as total length INT_MAX overflow. Check
21073 explicitly for proper errno values.
21074
228c019e
TS
210752012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21076
302cadd3
TS
21077 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21078 CHAR_MAX.
21079 * string/test-strcmp.c [! WIDE]: Likewise.
21080 * time/tst-mktime2.c: Likewise for INT_MAX.
21081 * string/test-string.h: #include <sys/param.h> for MIN.
21082
228c019e
TS
21083 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21084 * sysdeps/i386/init-first.c (init): Likewise.
21085 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21086 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21087 * sysdeps/sh/init-first.c (init): Likewise.
21088
cfa633f5
UD
210892012-04-01 Ulrich Drepper <drepper@gmail.com>
21090
21091 * po/ru.po: Update from translation team.
d1635ef8 21092 * po/vi.po: Likewise.
cfa633f5 21093
6cd0a5ea
SP
210942012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21095
21096 * resolv/nss_dns/dns-host.c: Merge copyright years.
21097
4b43400f
LD
210982012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21099
21100 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21101 Optimize memcpy with prefetch if
21102 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21103 src, dst pointers have unequal 16 byte alignments.
21104
48c41d04
SP
211052012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21106
21107 [BZ #13928]
21108 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21109 from a CNAME entry and return the minimum ttl for the query.
21110 (gaih_getanswer_slice): Likewise.
21111
b8dc394d
JL
211122012-03-30 Jeff Law <law@redhat.com>
21113
21114 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21115 due to long keys.
21116 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21117 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21118
2f5a5ed0
JL
21119 * resolv/nss_dns/dns-host.c: Update copyright year.
21120
1d39e359
UD
211212012-03-30 Ulrich Drepper <drepper@gmail.com>
21122
c030f70c 21123 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21124 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21125
1d39e359
UD
21126 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21127 comments for sendmmsg.
21128
211292012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21130
21131 [BZ #13691]
21132 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21133 with only 1 character between 0x0041 and 0x01b0.
21134 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21135 * wcsmbs/tst-mbsnrtowcs.c: New file.
21136
20fde227
DM
211372012-03-29 David S. Miller <davem@davemloft.net>
21138
21139 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21140 small copies by hand.
21141
984a4237
JL
211422012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21143
21144 [BZ #13761]
21145 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21146 _nss_compat_initgroups_dyn): Fall back to malloc/free
21147 for large group memberships.
21148
18c9d62b
DM
211492012-03-28 David S. Miller <davem@davemloft.net>
21150
88d85d4f
DM
21151 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21152 that branches into memcpy.
21153 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21155 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21156 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21158 bits.
21159 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21160 implementation too.
21161 * sysdeps/sparc/mempcpy.S: New file.
21162
e5aa83e1
DM
21163 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21164 the IFUNC routine in the libc case.
21165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21166
88570753
DM
21167 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21168 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21169 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21170 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21171 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21172 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21173 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21174 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21175
249d7567
DM
21176 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21177 loop to 256 bytes instead of 64 bytes and fix test signedness.
21178
18c9d62b
DM
21179 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21180 * sysdeps/sparc/sparc32/Makefile: rather than here...
21181 * sysdeps/sparc/sparc64/Makefile: and here.
21182
05f3d1f6
UD
211832012-03-28 Ulrich Drepper <drepper@gmail.com>
21184
21185 * malloc/mallocbug.c: Avoid warnings about unused variables.
21186
86ae07a8
JL
211872012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21188
21189 [BZ #13760]
21190 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21191 in the right place. Discard and retry query if response is
21192 larger than input buffer size.
21193
41bf21a1
JM
211942012-03-28 Joseph Myers <joseph@codesourcery.com>
21195
d6270972
JM
21196 [BZ #369]
21197 [BZ #2678]
21198 [BZ #3866]
21199 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21200 x for large integer exponent.
21201 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21202 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21203 sign of result as needed afterwards.
21204 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21205 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21206 result for underflowing pow the same as for overflow.
21207 (__kernel_standard_l): Handle powl overflow and underflow here
21208 rather than calling __kernel_standard.
21209 * math/libm-test.inc (pow_test): Add more tests.
21210
414fca03 21211 [BZ #3868]
41bf21a1
JM
21212 [BZ #13879]
21213 [BZ #13910]
21214 [BZ #13911]
21215 [BZ #13912]
21216 [BZ #13913]
21217 [BZ #13915]
21218 [BZ #13916]
21219 [BZ #13917]
21220 [BZ #13918]
21221 [BZ #13919]
21222 [BZ #13920]
21223 [BZ #13921]
21224 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21225 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21226 (__kernel_standard_l): New function.
21227 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21228 __kernel_standard.
21229 * math/w_acosl.c (__acosl): Likewise.
21230 * math/w_asinl.c (__asinl): Likewise.
21231 * math/w_atan2l.c (__atan2l): Likewise.
21232 * math/w_atanhl.c (__atanhl): Likewise.
21233 * math/w_coshl.c (__coshl): Likewise.
21234 * math/w_exp10l.c (__exp10l): Likewise.
21235 * math/w_exp2l.c (__exp2l): Likewise.
21236 * math/w_fmodl.c (__fmodl): Likewise.
21237 * math/w_hypotl.c (__hypotl): Likewise.
21238 * math/w_j0l.c (__j0l, __y0l): Likewise.
21239 * math/w_j1l.c (__j1l, __y1l): Likewise.
21240 * math/w_jnl.c (__jnl, __ynl): Likewise.
21241 * math/w_lgammal.c (__lgammal): Likewise.
21242 * math/w_log10l.c (__log10l): Likewise.
21243 * math/w_log2l.c (__log2l): Likewise.
21244 * math/w_logl.c (__logl): Likewise.
21245 * math/w_powl.c (__powl): Likewise.
21246 * math/w_remainderl.c (__remainderl): Likewise.
21247 * math/w_scalbl.c (sysv_scalbl): Likewise.
21248 * math/w_sinhl.c (__sinhl): Likewise.
21249 * math/w_sqrtl.c (__sqrtl): Likewise.
21250 * math/w_tgammal.c (__tgammal): Likewise.
21251 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21252 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21253 * math/libm-test.inc (acos_test): Add more tests.
21254 (acosh_test): Likewise.
21255 (asin_test): Likewise.
21256 (atanh_test): Likewise.
21257 (exp_test): Likewise.
21258 (exp10_test): Likewise.
21259 (exp2_test): Likewise.
21260 (expm1_test): Likewise.
21261 (lgamma_test): Likewise.
21262 (log_test): Likewise.
21263 (log10_test): Likewise.
21264 (log1p_test): Likewise.
21265 (log2_test): Likewise.
21266 (pow_test): Do not allow some spurious overflow exceptions.
21267 (sqrt_test): Add more tests.
21268 (tgamma_test): Likewise.
21269 (y0_test): Likewise.
21270 (y1_test): Likewise.
21271 (yn_test): Likewise.
21272
dd62fda6
AB
212732012-03-27 Anton Blanchard <anton@samba.org>
21274
21275 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21276 MAP_HUGETLB.
21277 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21278 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21279 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21280
1e3cdfda
AJ
212812012-03-27 David S. Miller <davem@davemloft.net>
21282
b855ab85
DM
21283 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21284
1e3cdfda
AJ
21285 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21286 have-as-vis3 check.
21287
212882012-03-27 Andreas Jaeger <aj@suse.de>
21289
21290 * sysdeps/x86_64/elf/configure.in: Moved to ...
21291 * sysdeps/x86_64/configure.in: ... here.
21292 * sysdeps/x86_64/elf/start.S: Moved to ...
21293 * sysdeps/x86_64/start.S: ... here.
21294 * sysdeps/x86_64/elf/configure: Delete.
21295
21296 * sysdeps/x86_64/configure.in: Merge contents from
21297 sysdeps/i386/configure.in (without i686 check).
21298
21299 * sysdeps/i386/elf/Versions: Merge into ...
21300 * sysdeps/i386/Versions: ... this.
21301 * sysdeps/i386/elf/Versions: Delete file.
21302 * sysdeps/i386/elf/start.S: Moved to ...
21303 * sysdeps/i386/start.S: ...here.
21304 * sysdeps/i386/elf/configure.in: Merge into...
21305 * sysdeps/i386/configure.in: ...here.
21306 * sysdeps/i386/elf/configure.in: Delete file.
21307 * sysdeps/i386/elf/configure: Delete file.
21308
21309 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21310 * debug/backtracesyms.c: ... here.
21311 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21312 * debug/backtracesymsfd.c: ... here.
21313 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21314 * sysdeps/generic/ifunc-sel.h: ... here.
21315
21316 * sysdeps/unix/i386/start.c: Delete file.
21317 * sysdeps/unix/sparc/start.c: Delete file.
21318 * sysdeps/unix/start.c: Delete file.
21319
21320 * sysdeps/sh/elf/configure.in: Moved to ...
21321 * sysdeps/sh/configure.in: ... here.
21322 * sysdeps/sh/elf/start.S: Moved to ...
21323 * sysdeps/sh/start.S: ... here.
21324 * sysdeps/sh/elf/configure: Delete file.
21325
21326 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21327 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21328 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21329 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21330 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21331 * sysdeps/powerpc/powerpc64/start.S: here.
21332 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21333 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21334 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21335 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21336 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21337
21338 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21339 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21340 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21341 * sysdeps/powerpc/powerpc32/start.S: ... here.
21342 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21343 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21344 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21345
21346 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21347 * sysdeps/powerpc/ifunc-sel.h: ... here.
21348 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21349 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21350
21351 * sysdeps/sparc/elf/configure.in: Moved to ...
21352 * sysdeps/sparc/configure.in: ... here.
21353 * sysdeps/sparc/elf/configure: Delete file.
21354 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21355 * sysdeps/sparc/sparc32/start.S: ... here.
21356 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21357 * sysdeps/sparc/sparc64/start.S: ... here.
21358 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21359 * sysdeps/sparc/sparc32/Makefile: ... this.
21360 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21361 * sysdeps/sparc/sparc64/Makefile: ... this.
21362
21363 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21364 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21365 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21366 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21367 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21368 * sysdeps/s390/s390-32/setjmp.S: ... here.
21369 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21370 * sysdeps/s390/s390-32/configure.in: ... here.
21371 * sysdeps/s390/s390-32/elf/configure: Delete file.
21372 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21373 * sysdeps/s390/s390-32/start.S: ... here.
21374
21375 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21376 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21377 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21378 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21379 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21380 * sysdeps/s390/s390-64/setjmp.S: ... here.
21381 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21382 * sysdeps/s390/s390-64/configure.in: ... here
21383 * sysdeps/s390/s390-64/elf/configure: Delete file.
21384 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21385 * sysdeps/s390/s390-64/start.S: ... here.
21386 * sysdeps/s390/s390-64/elf/configure: Delete.
21387
21388 * configure.in: Remove support for elf directories in sysdeps.
21389
21390 * configure: Regenerated.
21391 * sysdeps/i386/configure: Regenerated.
21392 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21393 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21394 * sysdeps/s390/s390-32/configure: Regenerated.
21395 * sysdeps/s390/s390-64/configure: Regenerated.
21396 * sysdeps/sh/configure: Regenerated.
21397 * sysdeps/sparc/configure: Regenerated.
21398 * sysdeps/x86_64/configure: Regenerated.
21399
a3f61311
AS
214002012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21401
c876e002
AS
21402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21403
a3f61311
AS
21404 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21405 denormal result into account.
21406
ac4c54f0
RM
214072012-03-25 Roland McGrath <roland@hack.frob.com>
21408
21409 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21410 Reported by Allan McRae <allan@archlinux.org>.
21411
6a9b9c02
JL
214122012-03-23 Jeff Law <law@redhat.com>
21413
21414 * nss/getnssent.c (__nss_getent): Fix typo.
21415
4c42a0c1
DM
214162012-03-23 David S. Miller <davem@davemloft.net>
21417
21418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21419
1532c7ac
L
214202012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21421
21422 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21423 to pad to uint64_t for each field.
21424 (dl_tls_index): Replace unsigned long with uint64_t.
21425
3ff42526
PP
214262012-03-23 Daniel Jacobowitz <dmj@google.com>
21427 Paul Pluzhnikov <ppluzhnikov@google.com>
21428
21429 [BZ #6528]
21430 * grp/Makefile (otherlibs): Don't set it.
21431 * inet/Makefile (otherlibs): Likewise.
21432 * login/Makefile (otherlibs): Likewise.
21433 * nscd/Makefile (otherlibs): Likewise.
21434 * posix/Makefile (otherlibs): Likewise.
21435 * pwd/Makefile (otherlibs): Likewise.
21436 * rt/Makefile (otherlibs): Likewise.
21437 * sunrpc/Makefile (otherlibs): Likewise.
21438 * nss/Makefile (otherlibs): Likewise.
21439 Add libnss_files to routines and static-only-routines.
21440 ($(objpfx)getent): Remove rule.
21441 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21442 static-only-routines.
21443
7c69cd14
JM
214442012-03-22 Joseph Myers <joseph@codesourcery.com>
21445
21446 [BZ #13892]
21447 * math/s_cexp.c: Include <float.h>.
21448 (__cexp): Handle exp result overflowing not necessarily
21449 overflowing both real and imaginary parts of result.
21450 * math/s_cexpf.c: Likewise.
21451 * math/s_cexpl.c: Likewise.
21452 * math/libm-test.inc (cexp_test): Add more tests.
21453 * sysdeps/i386/fpu/libm-test-ulps: Update.
21454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21455
81b035fe
L
214562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21457
21458 * include/link.h (ELFW): New macro.
21459 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21460 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21461
1da7940c
L
214622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21463
21464 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21465 with uint64_t.
21466
b749dbb9
L
214672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21468
21469 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21470 declaration.
21471 (struct La_x32_retval): Likewise.
21472
2ff87f3f
L
214732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21474
21475 * sysdeps/x86_64/preconfigure.in: New file.
21476 * sysdeps/x86_64/preconfigure: New generated file.
21477
c0df8e69
JM
214782012-03-22 Joseph Myers <joseph@codesourcery.com>
21479
48e44791
JM
21480 [BZ #13824]
21481 * math/e_exp2l.c: Include <float.h>.
21482 (__ieee754_exp2l): Handle overflow and underflow cases
21483 separately. Only pass fractional part of argument to
21484 __ieee754_expl.
21485 * math/libm-test.inc (exp2_test): Add more tests.
21486
c0df8e69
JM
21487 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21488 negating x to take absolute value.
21489 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21490 Likewise.
21491 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21492 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21493 Likewise.
21494 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21495 computing low part if x was negated.
21496 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21497
c8e43ba7
L
214982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21499
21500 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21501 la_x32_gnu_pltexit.
21502 (pltexit): Cast int_retval to ptrdiff_t.
21503 * elf/tst-auditmod3b.c: Likewise.
21504 * elf/tst-auditmod4b.c: Likewise.
21505 * elf/tst-auditmod5b.c: Likewise.
21506 * elf/tst-auditmod6b.c: Likewise.
21507 * elf/tst-auditmod6c.c: Likewise.
21508 * elf/tst-auditmod7b.c: Likewise.
21509
21510 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21511 and x32_gnu_pltexit.
21512
21513 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21514 __ELF_NATIVE_CLASS.
21515 (La_x32_regs): New macro.
21516 (La_x32_retval): Likewise.
21517 (la_x32_gnu_pltenter): New function prototype.
21518 (la_x32_gnu_pltexit): Likewise.
21519
7998fa78
AS
215202012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21521
dcb33988
AS
21522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21523 exponent.
21524
233fc563
AS
21525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21526
7998fa78
AS
21527 * configure.in (libc_cv_cc_nofma): Check for option to disable
21528 generation of FMA instructions.
21529 * configure: Regenerate.
21530 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21531 * sysdeps/ieee754/dbl-64/Makefile: New file.
21532 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21533 Remove brandred-fma4.
21534 (CFLAGS-brandred-fma4.c): Remove.
21535 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21536 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21537 define.
21538 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21539 define.
21540
8e95c99a
L
215412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21542
21543 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21544 LLONG_MAX != LONG_MAX.
21545 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21546 (_fitoa_word): Likewise.
21547 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21548 LLONG_MAX != LONG_MAX.
21549 * stdio-common/_itowa.h: Include <_itoa.h>.
21550 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21551 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21552 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21553 only if not defined.
21554 (_ITOA_WORD_TYPE): Likewise.
21555 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21556 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21557
6f4db457
DM
215582012-03-21 David S. Miller <davem@davemloft.net>
21559
21560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21561
7785fe5a
L
215622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21563
21564 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21565 of x86_64 when setting libc_cv_slibdir, libdir and
21566 libc_cv_localedir.
21567 * sysdeps/unix/sysv/linux/configure: Regenerated.
21568
4535cd55
JM
215692012-03-21 Joseph Myers <joseph@codesourcery.com>
21570
21571 * manual/lang.texi (Old Varargs): Remove section.
21572 (How Variadic): Update menu.
21573 (va_start): Do not mention varargs.h.
21574
17228132
TS
215752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21576 Joseph Myers <joseph@codesourcery.com>
21577
21578 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21579 link test.
21580 * configure: Regenerated.
21581
8149f976
TS
215822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21583
05f3d1f6
UD
21584 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21585 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21586 conformtest.pl
8149f976 21587
1a4ac776
JM
215882012-03-21 Joseph Myers <joseph@codesourcery.com>
21589
be22ce65
JM
21590 * NOTES: Remove.
21591 * Makefile (files-for-dist): Remove NOTES.
21592 (NOTES): Remove rule.
21593 * README: Don't refer to NOTES.
21594 * manual/creature.texi: Don't include macros.texi.
21595 * manual/intro.texi (creature.texi): Remove comment referring to
21596 NOTES.
21597
40b601fb
JM
21598 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21599 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21600 * configure: Regenerated.
21601 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21602 LIBC_TRY_CC_OPTION.
21603 (libc_cv_as_i686): Likewise.
21604 (libc_cv_cc_avx): Likewise.
21605 (libc_cv_cc_sse2avx): Likewise.
21606 (libc_cv_cc_fma4): Likewise.
21607 (libc_cv_cc_novzeroupper): Likewise.
21608 * sysdeps/i386/configure: Regenerated.
21609
1a4ac776
JM
21610 [BZ #13883]
21611 * sysdeps/i386/fpu/s_cexp.S: Remove.
21612 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21613 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21614 * math/libm-test.inc (cexp_test): Add more tests.
21615 * sysdeps/i386/fpu/libm-test-ulps: Update.
21616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21617
a458e7fe
AM
216182012-03-21 Allan McRae <allan@archlinux.org>
21619
21620 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21621
0cb7efc5
JM
216222012-03-21 Joseph Myers <joseph@codesourcery.com>
21623
21624 [BZ #13871]
21625 * math/w_exp2.c: Do not include <float.h>.
21626 (o_threshold, u_threshold): Remove.
21627 (__exp2): Calculate result before checking finiteness and calling
21628 __kernel_standard.
21629 * math/w_exp2f.c: Likewise.
21630 * math/w_exp2l.c: Likewise.
21631 * math/libm-test.inc (exp2_test): Require overflow exception for
21632 1e6 input.
2460d3aa
JM
21633
21634 [BZ #3866]
21635 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21636 range of signed 64-bit integers before using fistpll. Remove
21637 checks for whether integers fit in mantissa bits.
21638 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21639 the range of signed 32-bit integers before using fistpl. Remove
21640 checks for whether integers fit in mantissa bits.
21641 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21642 (__ieee754_powl): Test for y outside the range of signed 64-bit
21643 integers before using fistpll. Reduce 64-bit values to 63-bit
21644 ones as needed.
21645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21646 divide-by-zero is raised for zero to large negative powers.
21647 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21648 (__ieee754_powl): Test for y outside the range of signed 64-bit
21649 integers before using fistpll. Reduce 64-bit values to 63-bit
21650 ones as needed.
21651 * math/libm-test.inc (pow_test): Add more tests.
21652
eb96ffb0
L
216532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21654
21655 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21656 <stdio-common/_itoa.h>.
21657 * debug/segfault.c: Likewise.
21658 * elf/dl-cache.c: Likewise.
21659 * elf/dl-minimal.c: Likewise.
21660 * elf/dl-misc.c: Likewise.
21661 * elf/dl-sysdep.c: Likewise.
21662 * elf/dl-version.c: Likewise.
21663 * elf/rtld.c: Likewise.
21664 * hurd/hurdsock.c: Likewise.
21665 * hurd/lookup-retry.c: Likewise.
21666 * malloc/malloc.c: Likewise.
21667 * malloc/mtrace.c: Likewise.
21668 * nscd/nscd_getgr_r.c: Likewise.
21669 * nscd/nscd_getpw_r.c: Likewise.
21670 * nscd/nscd_getserv_r.c: Likewise.
21671 * posix/getopt_init.c: Likewise.
21672 * posix/wordexp.c: Likewise.
21673 * stdio-common/_itoa.c: Likewise.
21674 * stdio-common/printf_fphex.c: Likewise.
21675 * stdio-common/vfprintf.c: Likewise.
21676 * string/_strerror.c: Likewise.
21677 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21678 * sysdeps/i386/i686/hp-timing.h: Likewise.
21679 * sysdeps/mach/_strerror.c: Likewise.
21680 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21681 * sysdeps/mach/hurd/sethostid.c: Likewise.
21682 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21683 * sysdeps/mach/xpg-strerror.c: Likewise.
21684 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21685 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21686 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21687 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21688 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21689 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21690 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21691 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21692 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21693 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21694 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21695 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21696 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21697 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21698 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21699 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21700 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21701 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21702 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21703 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21704 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21705
21706 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21707
21708 * stdio-common/_itoa.h: Moved to ...
21709 * sysdeps/generic/_itoa.h: Here.
21710
21711 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21712
21713 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21714 instead of "_itoa.h" and "_itowa.h".
21715 * stdio-common/vfprintf.: Likewise.
21716
d1af992d
L
217172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21718
21719 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21720 <bits/wordsize.h>.
21721 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21722 (__signbit): Likwise.
21723 (llrintf): Likwise.
21724 (llrint): Likwise.
21725
114883e0
L
217262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21729 __WORDSIZE != 64.
21730
c135cc1b
JM
217312012-03-20 Joseph Myers <joseph@codesourcery.com>
21732
21733 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21734 OVERFLOW_EXCEPTION_OK.
21735 * math/libm-test.inc ("Philosophy"): Update comment about
21736 exception testing.
21737 (OVERFLOW_EXCEPTION): Define.
21738 (OVERFLOW_EXCEPTION_OK): Likewise.
21739 (INVALID_EXCEPTION_OK): Renumber.
21740 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21741 (IGNORE_ZERO_INF_SIGN): Likewise.
21742 (test_exceptions): Handle FE_OVERFLOW.
21743 (exp10_test): Expect overflow exceptions.
21744 (exp2_test): Likewise.
21745 (expm1_test): Likewise.
21746 (nextafter_test): Likewise.
21747 (pow_test): Likewise.
21748 (scalbn_test): Likewise.
21749 (scalbln_test): Likewise.
21750
95443d88
L
217512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21752
21753 * sysdeps/x86_64/bits/atomic.h
21754 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21755 64bit integer.
21756 (atomic_exchange_acq): Likewise.
21757 (__arch_exchange_and_add_body): Likewise.
21758 (__arch_add_body): Likewise.
21759 (atomic_add_negative): Likewise.
21760 (atomic_add_zero): Likewise.
21761
490df6c4
L
217622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21763
c2722551 21764 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21765 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21766
5e52b189
L
217672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21768
21769 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21770 Check __x86_64__ instead of __WORDSIZE.
21771
a9879d4c
L
217722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21773
21774 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21775
5df98260
DM
217762012-03-19 David S. Miller <davem@davemloft.net>
21777
e1497744
DM
21778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21779
5df98260
DM
21780 * sysdeps/sparc/fpu/fenv_private.h: New file.
21781 * sysdeps/sparc/fpu/math_private.h: Use it.
21782 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21783 Remove.
21784 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21785 (libc_feholdexcept_setroundl): Remove.
21786 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21787 Remove.
21788 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21789 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21790
b4c35121
L
217912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21792
21793 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21794 int64_t instead of long int.
21795 (INSERT_WORDS64): Likwise.
21796
56965fd7
L
217972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21798
21799 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21800 _Unwind_GetCFA return to _Unwind_Ptr first.
21801
83d1aec8
JM
218022012-03-19 Joseph Myers <joseph@codesourcery.com>
21803
1897ad44
JM
21804 [BZ #13629]
21805 * math/s_clog.c: Include <float.h>.
21806 (__clog): Scale large or subnormal inputs.
21807 * math/s_clogf.c: Likewise.
21808 * math/s_clogl.c: Likewise.
21809 * math/s_clog10.c: Include <float.h>.
21810 (M_LOG10_2): Define.
21811 (__clog10): Scale large or subnormal inputs.
21812 * math/s_clog10f.c: Likewise.
21813 * math/s_clog10l.c: Likewise.
21814 * math/libm-test.inc (clog_test): Add more tests.
21815 (clog10_test): Likewise.
21816 * sysdeps/i386/fpu/libm-test-ulps: Update.
21817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21818
7726d6a9
JM
21819 [BZ #11451]
21820 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21821 x and y.
21822 * math/libm-test.inc (atan2_test): Add another test.
21823
83d1aec8
JM
21824 * Makerules (common-objdir-compile): Remove.
21825 * sysdeps/unix/Makefile (config-generated): Do not add
21826 $(unix-generated) to variable.
21827 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21828 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21829 Remove rule.
21830 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21831 Likewise.
21832 [generic bits/local_lim.h] (before-compile): Do not append to
21833 variable.
21834 [generic bits/local_lim.h] (common-generated): Likewise.
21835 [generic sys/param.h] (before-compile): Do not append to variable.
21836 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21837 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21838 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21839 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21840 include.
21841 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21842 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21843 [generic sys/param.h] ($(addprefix
21844 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21845 [generic sys/param.h] (common-generated): Do not append to
21846 variable.
21847 [generic sys/param.h] (sysdep_headers): Likewise.
21848 [generic bits/errno.h] (before-compile): Do not append to
21849 variable.
21850 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21851 rule.
21852 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21853 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21854 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21855 [generic bits/errno.h] (common-generated): Do not append to
21856 variable.
21857 [generic bits/ioctls.h] (before-compile): Do not append to
21858 variable.
21859 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21860 rule.
21861 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21862 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21863 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21864 rule.
21865 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21866 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21867 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21868 [generic bits/ioctls.h] (common-generated): Do not append to
21869 variable.
21870 [generic sys/syscall.h] (syscall.h): Remove variable.
21871 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21872 rule.
21873 [generic sys/syscall.h] (before-compile): Do not append to
21874 variable.
21875 [generic sys/syscall.h] (common-generated): Likewise.
21876 * sysdeps/unix/errnos-tmpl.c: Remove file.
21877 * sysdeps/unix/errnos.awk: Likewise.
21878 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21879 * sysdeps/unix/ioctls.awk: Likewise.
21880 * sysdeps/unix/mk-local_lim.c: Likewise.
21881 * sysdeps/unix/snarf-ioctls: Likewise.
21882
4851a949
RH
218832012-03-19 Richard Henderson <rth@twiddle.net>
21884
bd37f2ee
RH
21885 * sysdeps/i386/fpu/fenv_private.h: New file.
21886 * sysdeps/i386/fpu/math_private.h: Use it.
21887 (math_opt_barrier, math_force_eval): Remove.
21888 (libc_feholdexcept_setround_53bit): Remove.
21889 (libc_feupdateenv_53bit): Remove.
21890 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21891 (math_opt_barrier, math_force_eval): Remove.
21892 (libc_feholdexcept): Remove.
21893 (libc_feholdexcept_setround): Remove.
21894 (libc_fetestexcept, libc_fesetenv): Remove.
21895 (libc_feupdateenv_test): Remove.
21896 (libc_feupdateenv, libc_feholdsetround): Remove.
21897 (libc_feresetround): Remove.
21898
d0adc922
RH
21899 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21900 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21901
0fe0f1f8
RH
21902 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21903 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21904 (libc_feupdateenv_testl): New.
21905 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21906 (libc_feupdateenv_testf): New.
21907 (libc_feupdateenv): Use libc_feupdateenv_test.
21908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21910
eb92c487
RH
21911 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21912 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21913 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21914 (libc_feresetround_noex): New.
21915 (libc_feresetround_noexf): New.
21916 (libc_feresetround_noexl): New.
21917 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21918 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21919 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21920 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21921 SET_RESTORE_ROUND.
21922 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21923 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21924 (__cos): Likewise.
21925 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21926 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21927 SET_RESTORE_ROUND_NOEX.
21928 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21929 SET_RESTORE_ROUND_NOEXF.
21930 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21931 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21932 (libc_feholdsetroundf): New.
21933 (libc_feresetround, libc_feresetroundf): New.
21934
7d2e8012
RH
21935 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21936 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21937 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21938
b4dabbb4
RH
21939 * sysdeps/generic/math_private.h: Include <fenv.h>.
21940 (default_libc_feholdexcept): New.
21941 (default_libc_feholdexcept_setround): New.
21942 (default_libc_fesetenv, default_libc_feupdateenv): New.
21943 (libc_feholdexcept): Only define if undefined.
21944 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21945 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21946 (libc_feholdexcept_setroundl): Likewise.
21947 (libc_feholdexcept_setround_53bit): Likewise.
21948 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21949 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21950 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21951 (libc_feupdateenv_53bit): Likewise.
21952 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21953 (libc_feholdexcept): Convert from macro to inline function.
21954 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21955 (libc_fesetenv, libc_feupdateenv): Likewise.
21956
4851a949
RH
21957 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21958 not previously defined.
21959 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21960 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21961 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21962 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21963 * sysdeps/ieee754/flt-32/math_private.h: New file.
21964 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21965 math_private.h below SET_FLOAT_WORD.
21966 (__isnan, __isinf_ns, __finite): Remove.
21967 (__isnanf, __isinf_nsf, __finitef): Remove.
21968
e79d442e
AS
219692012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21970
21971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21972
90b80344
DM
219732012-03-17 David S. Miller <davem@davemloft.net>
21974
21975 [BZ #6471]
21976 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21977 for 2.16.
21978
edc21804
DM
219792012-03-16 David S. Miller <davem@davemloft.net>
21980
77e927af
DM
21981 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21982 warnings.
21983
374976dd
DM
21984 [BZ #6471]
21985 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21986 properly.
21987 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21988 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21989 sysdep_routines when subdir is sysvipc.
21990 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21991 __getshmlba helper.
21992
edc21804
DM
21993 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21994
473c3ef3
L
219952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21996
21997 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21998 [__LP64__].
21999
eb0f39b6
L
220002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22001
22002 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22003 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22004 (__lround): Renamed to ...
22005 (__llround): This. Replace long int with long long int.
22006 Define lround functions as aliases of llround functions.
22007 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22008
6b6cd74b
L
220092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22010
22011 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22012 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22013 adresses to uintptr_t. Replace "long int" and "unsigned long
22014 int" with "greg_t" on va_arg.
22015
f1a77b01
L
220162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22017
22018 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22019 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22020
22021 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22022 Move e_machine check before EI_CLASS check. Handle x32
22023 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22024 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22025 SKIP_EM_IA_64 and include
22026 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22027
22028 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22029 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22030 (add_system_dir): New macro.
22031
22032 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22033 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22034
11b90b9f
JM
220352012-03-16 Joseph Myers <joseph@codesourcery.com>
22036
c36e1d23
JM
22037 [BZ #2551]
22038 [BZ #2552]
22039 [BZ #2553]
22040 [BZ #2554]
22041 [BZ #2562]
22042 [BZ #2563]
22043 [BZ #2565]
22044 [BZ #2566]
22045 [BZ #2576]
22046 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22047 (y0): Likewise.
22048 * math/w_j0f.c (j0f): Likewise.
22049 (y0f): Likewise.
22050 * math/w_j0l.c (__j0l): Likewise.
22051 (__y0l): Likewise.
22052 * math/w_j1.c (j1): Likewise.
22053 (y1): Likewise.
22054 * math/w_j1f.c (j1f): Likewise.
22055 (y1f): Likewise.
22056 * math/w_j1l.c (__j1l): Likewise.
22057 (__y1l): Likewise.
22058 * math/w_jn.c (jn): Likewise.
22059 (yn): Likewise.
22060 * math/w_jnf.c (jnf): Likewise.
22061 (ynf): Likewise.
22062 * math/w_jnl.c (__jnl): Likewise.
22063 (__ynl): Likewise.
22064 * math/libm-test.inc (j0_test): Add more tests.
22065 (j1_test): Likewise.
22066 (jn_test): Likewise. Add trailing semicolon to existing test.
22067 (y0_test): Likewise.
22068 (y1_test): Likewise.
22069 * sysdeps/i386/fpu/libm-test-ulps: Update.
22070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22071
11b90b9f
JM
22072 [BZ #13851]
22073 [BZ #13854]
22074 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22075 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22076 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22077 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22078 (__tanl): Set errno for infinite argument.
22079 * sysdeps/i386/fpu/mptan.c: Remove.
22080 * sysdeps/i386/fpu/s_tan.S: Likewise.
22081 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22082 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22083 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22084 * math/libm-test.inc (tan_test): Add more tests and enable more
22085 tests for double and long double.
22086 * sysdeps/i386/fpu/libm-test-ulps: Update.
22087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22088
6a1bd2a1
JK
220892012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22090
22091 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22092 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22093
10a803e0
RM
220942012-03-16 Roland McGrath <roland@hack.frob.com>
22095
22096 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22097 * configure.in: Use it for both main tree and add-ons.
22098 * configure: Regenerated.
22099
f196c7f7
L
221002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22101
22102 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22103
8848d99d
JM
221042012-03-16 Joseph Myers <joseph@codesourcery.com>
22105
96cbe7f4
JM
22106 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22107 in comment.
22108
8848d99d
JM
22109 [BZ #13851]
22110 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22111 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22112 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22113 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22114 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22115 infinite argument.
22116 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22117 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22118 != 0 for prec == 2.
22119 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22120 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22121 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22122 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22123 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22124 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22125 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22126 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22127 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22128 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22129 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22130 * math/libm-test.inc (cos_test): Add more tests and enable more
22131 tests for long double.
22132 (sin_test): Likewise.
22133 (sincos_test): Likewise.
22134 * sysdeps/i386/fpu/libm-test-ulps: Update.
22135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22136
dd7f4703
DM
221372012-03-16 David S. Miller <davem@davemloft.net>
22138
22139 * sysdeps/sparc/fpu/math_private.h: New file.
22140
006f1daa
DM
221412012-03-15 David S. Miller <davem@davemloft.net>
22142
c0c83bc8
DM
22143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22144 file.
e6a62e18 22145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22147 file.
e6a62e18
DM
22148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22154 sysdep routines.
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22156
88cb87d9
DM
22157 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22158 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22159
006f1daa 22160 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22162 sparc-ifunc.h
006f1daa 22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22165 Likewise.
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22167 Likewise.
006f1daa
DM
22168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22172 Likewise.
006f1daa
DM
22173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22178 Likewise.
22179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22180 Likewise.
006f1daa
DM
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22187 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22188 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22199 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22205
11e0098e
AS
222062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22207
22208 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22209 scaling.
22210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22211
e85b09d0
AJ
222122012-03-15 Andreas Jaeger <aj@suse.de>
22213
22214 [BZ #13852]
22215 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22216 ieee754/flt-32 implementation for sin, cos and sincos.
22217 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22218 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22219 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22220 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22221 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22222 ieee754/flt-32 implementation for tan.
22223
22224 * math/libm-test.inc (cos_test): Enable some large input tests for
22225 float as well
22226 (sin_test): Likewise.
22227 (sincos_test): Likewise.
22228 (tan_test): Add tests for large input.
22229
22230 * sysdeps/i386/fpu/libm-test-ulps: Update.
22231
81c64153
AJ
222322012-03-15 Andreas Jaeger <aj@suse.de>
22233
22234 [BZ #13658]
22235 * math/libm-test.inc (cos_test): Add more test cases.
22236 (sin_test): Likewise.
22237 (sincos_test): Likewise.
22238
7bbfa5c6
AJ
222392012-03-15 Andreas Jaeger <aj@suse.de>
22240
22241 [BZ #13837]
22242 * math/libm-test.inc (cos_test): Add a test case for large input
22243 value.
22244 (sin_test): Likewise.
22245 (sincos_test): Likewise.
22246
222472012-03-15 Andreas Jaeger <aj@suse.de>,
22248 Joseph Myers <joseph@codesourcery.com>
22249
22250 [BZ #13658]
0671f479 22251 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22252 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22253 * sysdeps/i386/fpu/branred.c: Likewise.
22254 * sysdeps/i386/fpu/dosincos.c: Likewise.
22255 * sysdeps/i386/fpu/mpa.c: Likewise.
22256 * sysdeps/i386/fpu/s_cos.S: Likewise.
22257 * sysdeps/i386/fpu/s_sin.S: Likewise.
22258 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22259 * sysdeps/i386/fpu/sincos32.c: Likewise.
22260
22261 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22262 Define.
22263 (libc_feupdateenv_53bit): Define.
22264 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22265 Define.
22266 (libc_feupdateenv_53bit): Define.
22267
22268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22269 53 bit (without extend i386 double precision).
22270
22271 * math/libm-test.inc (sincos_test): Add tests for large input.
22272 (sin): Likewise.
22273 (cos): Likewise.
22274
22275 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22276
9cad04ea
AS
222772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22278
22279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22280
f7062b9a
DM
222812012-03-15 David S. Miller <davem@davemloft.net>
22282
22283 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22284 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22285 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22286 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22299 file.
f7062b9a 22300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22302 file.
f7062b9a 22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22305 file.
f7062b9a 22306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22308 file.
f7062b9a
DM
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22311 fmin/fmax sysdep routines.
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22313
7bd951ff
DM
223142012-03-14 David S. Miller <davem@davemloft.net>
22315
559398ab
DM
22316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22344 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22345 routines.
22346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22347 file.
559398ab 22348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22350 file.
559398ab 22351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22353 file.
559398ab 22354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22356 file.
559398ab 22357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22359 file.
559398ab 22360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22362 file.
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22364 file.
22365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22366 file.
22367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22368 file.
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22370 New file.
22371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22372 file.
22373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22374 file.
559398ab 22375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22377 file.
559398ab 22378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22380 file.
559398ab 22381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22383 file.
559398ab 22384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22386 VIS3 routines.
559398ab
DM
22387
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22389 New file.
22390
5a1c1e32
DM
22391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22392
eae47a36
DM
22393 * sysdeps/sparc/configure.in: New file.
22394 * sysdeps/sparc/configure: Generate.
22395 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22396 * configure: Regenerate.
22397 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22398 * config.make.in (have-as-vis3): New.
22399 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22400 available use -Av9d instead of -Av9a.
22401 * sysdeps/sparc/sparc64/Makefile: Likewise.
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22404 New file.
22405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22406 file.
22407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22408 New file.
22409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22410 file.
eae47a36
DM
22411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22416
c0c83bc8
DM
22417 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22418 fzeros/fnegs to load 0x80000000 into a float register instead of
22419 using the stack.
7bd951ff
DM
22420 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22421
bd951ccb
JM
224222012-03-14 Joseph Myers <joseph@codesourcery.com>
22423
22424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22425 bits/syscall.h.
22426 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22427 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22428 ($(inst_includedir)/bits/syscall.h): Remove rule.
22429 ($(objpfx)bits/syscall.d): Include instead of
22430 $(objpfx)syscall-list.d.
22431 (generated): Change syscall-list.h and syscall-list.d to
22432 bits/syscall.h and bits/syscall.d.
22433
bb4e6db2
RM
224342012-03-14 Roland McGrath <roland@hack.frob.com>
22435
22436 [BZ #13846]
22437 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22438
aa4a2ae1
JM
224392012-03-14 Joseph Myers <joseph@codesourcery.com>
22440
e456826d
JM
22441 [BZ #13841]
22442 * math/s_csqrt.c: Include <float.h>.
22443 (__csqrt): Scale large or subnormal inputs.
22444 * math/s_csqrtf.c: Likewise.
22445 * math/s_csqrtl.c: Likewise.
22446 * math/libm-test.inc (csqrt_test): Add more tests.
22447 * sysdeps/i386/fpu/libm-test-ulps: Update.
22448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22449
aa4a2ae1
JM
22450 [BZ #13840]
22451 * math/libm-test.inc (hypot_test): Add more tests.
22452
7c10fd35
DM
224532012-03-13 David S. Miller <davem@davemloft.net>
22454
22455 [BZ #13840]
22456 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22457 double-precision for the calculation instead of scaling.
22458
f453b98b
JM
224592012-03-13 Joseph Myers <joseph@codesourcery.com>
22460
22461 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22462 manipulate bits before adding and subtracting TWO52[sx].
22463 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22464 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22465 Likewise.
22466 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22467
09a3453f
DM
224682012-03-13 David S. Miller <davem@davemloft.net>
22469
8e59da90
DM
22470 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22471 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22473 rtld-global-offsets.h
22474 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22475
2a8ab7f2
DM
22476 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22477 large parameters.
22478
10f62770
DM
22479 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22480
5f0bdb18
DM
22481 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22482 'err' in the ifdef scope in which it is actually used.
22483
09a3453f
DM
22484 * nss/nss_db/db-init.c: Include string.h
22485
b4b2eb5e
DM
224862012-03-12 David S. Miller <davem@davemloft.net>
22487
98bb2f1c
DM
22488 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22489 masking out of the most significant byte of random value used.
22490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22491 Fix coding style in previous change.
22492
b4b2eb5e
DM
22493 * sysdeps/unix/sysv/linux/kernel-features.h
22494 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22495 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22496 expression.
22497 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22498 later.
22499
6e226b09
DM
225002012-03-11 David S. Miller <davem@davemloft.net>
22501
a1bcbd40
DM
22502 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22503 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22504 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22505 for 'resultvar' otherwise things get truncated on 64-bit.
22506
cb9d6174
DM
22507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22508 Fix masking out of the most significant byte of random value used.
22509
6e226b09
DM
22510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22511
058c132d
AS
225122012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22513
22514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22515
2d2cd515
DM
225162012-03-09 David S. Miller <davem@davemloft.net>
22517
22518 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22519 variables with appropriate CPP guards.
22520 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22521 frame pointer, not the stack pointer. Correct layout comments. Fix test
22522 on resulting framesize and the management of the outregs buffer for pltexit.
22523 Preserve floating point return values across _dl_call_pltexit call.
22524 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22525 framesize and the management of the outregs buffer for pltexit.
22526 Preserve floating point return values across _dl_call_pltexit
22527 call.
22528 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22529 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22530 (print_exit): Fix format string for return register value.
22531
9a07f9d0
JM
225322012-03-10 Joseph Myers <joseph@codesourcery.com>
22533
22534 * sunrpc/Makefile (others): Add rpcgen.
22535 ($(objpfx)rpcgen): Remove special build rule and dependency on
22536 libc.
22537 * sunrpc/rpcgen.c: New file.
22538
547b5e30
PE
225392012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22540
c524201a
PE
22541 [BZ #13673]
22542 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22543 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22544 * sysdeps/i386/crti.S: Likewise.
22545 * sysdeps/i386/crtn.S: Likewise.
22546 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22547 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22548 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22549 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22550 * sysdeps/sh/crti.S: Likewise.
22551 * sysdeps/sh/crtn.S: Likewise.
22552 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22553
7b6235f2
PE
22554 [BZ #13673]
22555 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22556 with URL.
22557 * locale/programs/locfile-kw.gperf: Likewise.
22558 * locale/programs/charmap-kw.h: Regenerated.
22559 * locale/programs/locfile-kw.h: Likewise.
22560
547b5e30
PE
22561 [BZ #13673]
22562 * intl/plural.y: Replace FSF snail mail address with URL.
22563 * intl/plural.c: Regenerated.
22564
5f0a5dae
RH
225652012-03-09 Richard Henderson <rth@twiddle.net>
22566
22567 * include/math_private.h: Remove file.
22568 * math/math_private.h: Move file ...
22569 * sysdeps/generic/math_private.h: ... here.
22570
b8c03620
RH
22571 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22572 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22573 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22574
4e234f5d 22575 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22576 and <math_private.h>.
22577 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22578 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22579 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22580 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22581 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22614 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22665 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22666 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22667 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22668 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22669 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22670 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22671 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22672 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22673 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22674 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22675 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22676 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22677 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22678 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22679 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22680 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22681 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22682 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22683 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22684 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22685 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22687 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22688 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22689 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22690 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22691 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22692 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22693 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22694 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22695 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22696 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22697 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22698 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22699 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22700 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22701 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22702 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22703 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22704 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22705 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22706 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22707 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22708 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22709 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22710 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22711 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22712 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22713 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22715 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22716 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22717 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22718 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22719 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22720 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22721 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22722 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22723 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22724 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22725 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22726 * sysdeps/ieee754/k_standard.c: Likewise.
22727 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22728 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22729 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22730 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22731 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22732 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22737 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22766 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22768 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22771 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22831 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22841 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22842 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22846 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22847 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22849 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22854 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22858 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22859 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22861 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22863 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22864 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22875 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22876 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22877 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22887 * sysdeps/ieee754/s_lib_version.c: Likewise.
22888 * sysdeps/ieee754/s_matherr.c: Likewise.
22889 * sysdeps/ieee754/s_signgam.c: Likewise.
22890 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22891 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22892 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22893 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22894 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22895 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22896 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22897 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22898 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22899 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22900 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22901 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22902 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22903 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22904 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22905 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22906 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22907 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22908 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22911
1991fa03
JM
229122012-03-09 Joseph Myers <joseph@codesourcery.com>
22913
22914 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22915 * sunrpc/rpc_main.c: Likewise.
22916 * sunrpc/rpc_svcout.c: Likewise.
22917
60d6f5a6
DM
229182012-03-09 David S. Miller <davem@davemloft.net>
22919
22920 * include/math_private.h: New file.
22921
4962050e
JM
229222012-03-09 Joseph Myers <joseph@codesourcery.com>
22923
02a6f887
JM
22924 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22925 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22926 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22927 from <bits/socket_type.h>.
22928 (enum __socket_type): Don't define here.
22929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22931 bits/socket_type.h.
22932
c6e013c1
JM
22933 [BZ #13566]
22934 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22935 checking __USE_GNU.
22936
4962050e
JM
22937 * Makerules ($(inst_includedir)/%.h): New rule.
22938 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22939 (install-others): Remove variable setting.
22940 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22941
38842f45
RH
229422012-03-08 Richard Henderson <rth@twiddle.net>
22943
67bb6da6
RH
22944 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22945 from macro to inline function; merge with the
22946 !__LIBC_INTERNAL_MATH_INLINES version.
22947 (__ieee754_sqrtf): Likewise.
22948
15194b4b
RH
22949 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22950 to inline function.
22951 (__rintf, __floor, __floorf): Likewise.
22952
64e21ede
RH
22953 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22954 macro to inline function.
22955 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22956
38842f45
RH
22957 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22958 not <math/math_private.h>.
22959
c64bf5fe
DM
229602012-03-08 David S. Miller <davem@davemloft.net>
22961
22962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22963 copyright year.
22964 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22965
82d86f28
TS
229662012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22967
22968 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22969 normalization.
22970 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22971 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22972
aea5d727
UD
229732012-03-08 Ulrich Drepper <drepper@gmail.com>
22974
22975 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22976 be defined individually, they must be defined as a block. Define
22977 S for printing a string instead of hidint the different by using a
22978 macro for adding the 'l'.
22979 * stdio-common/tst-fphex-wide.c: Adjust.
22980
70bca0a3
MP
229812012-03-07 Marek Polacek <polacek@redhat.com>
22982
22983 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22984
65b81130
MP
229852012-03-08 Marek Polacek <polacek@redhat.com>
22986
22987 [BZ #13806]
22988 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22989 * stdio-common/tst-fphex.c: Define a few macros to make the
22990 test reusable. Use them.
22991 * stdio-common/tst-fphex-wide.c: New file.
22992
07037eeb
JM
229932012-03-08 Joseph Myers <joseph@codesourcery.com>
22994
a7a93d50
JM
22995 [BZ #6911]
22996 * manual/macros.texi (gnusystems): New macro.
22997 (nongnusystems): Likewise.
22998 (gnulinuxhurdsystems): Likewise.
22999 (gnuhurdsystems): Likewise..
23000 (gnulinuxsystems): Likewise.
23001 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23002 variants of the GNU system, not "GNU system".
23003 * manual/conf.texi: Likewise.
23004 * manual/errno.texi: Likewise. Update example of errno macro
23005 expansion.
23006 * manual/filesys.texi: Likewise.
23007 (getumask): Document as specific to GNU/Hurd.
23008 * manual/install.texi: Likewise. Reword some references to
23009 GNU/Linux.
23010 * manual/intro.texi: Likewise.
23011 * manual/io.texi: Likewise.
23012 (File Name Portability): Detail which constraints are inapplicable
23013 to all GNU systems and which are only inapplicable to GNU/Hurd.
23014 * manual/job.texi: Likewise.
23015 * manual/llio.texi: Likewise.
23016 (O_NOCTTY): Document as present on GNU/Linux.
23017 * manual/maint.texi: Likewise.
23018 * manual/memory.texi: Likewise.
23019 * manual/pattern.texi: Likewise.
23020 * manual/pipe.texi: Likewise.
23021 * manual/process.texi: Likewise.
23022 * manual/resource.texi: Likewise.
23023 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23024 child on GNU/Hurd.
23025 * manual/setjmp.texi: Likewise.
23026 * manual/signal.texi: Likewise.
23027 * manual/startup.texi: Likewise.
23028 * manual/stdio.texi: Likewise.
23029 * manual/terminal.texi: Likewise.
23030 (ONLCR): Document as POSIX.
23031 (OXTABS): Document availability on GNU/Linux as XTABS.
23032 (ONOEOT): Document availability separately from other bits.
23033 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23034 * manual/time.texi: Likewise.
23035 * manual/users.texi: Likewise.
23036 * INSTALL: Regenerated.
23037 * sysdeps/gnu/errlist.c: Regenerated.
23038
07037eeb
JM
23039 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23040 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23041 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23042 puts.
23043 * configure: Regenerated.
23044
d1d3431a
JM
230452012-03-07 Joseph Myers <joseph@codesourcery.com>
23046
af6a1e37
JM
23047 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23048 default includes instead of AC_HEADER_CHECK.
23049 * sysdeps/i386/configure: Regenerated.
23050
d1d3431a
JM
23051 [BZ #10716]
23052 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23053 * math/s_cacoshf.c (__cacoshf): Likewise.
23054 * math/s_cacoshl.c (__cacoshl): Likewise.
23055 * math/s_casinh.c (__casinh): Set signs of result from argument.
23056 * math/s_casinhf.c (__casinhf): Likewise.
23057 * math/s_casinhl.c (__casinhl): Likewise.
23058 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23059 (casinh_test): Add more tests.
23060 * sysdeps/i386/fpu/libm-test-ulps: Update.
23061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23062
482ff4da
UD
230632012-03-07 Ulrich Drepper <drepper@gmail.com>
23064
872fda05
UD
23065 * po/zh_TW.po: Update from translation team.
23066
a4300c7a
UD
23067 * login/Makefile (distribute): Remove variable.
23068 * catgets/Makefile: Likewise.
23069 * mach/Makefile: Likewise.
23070 * malloc/Makefile: Likewise.
23071 * misc/Makefile: Likewise.
23072 * iconv/Makefile: Likewise.
23073 * nscd/Makefile: Likewise.
23074 * hurd/Makefile: Likewise.
23075 * manual/Makefile: Likewise.
23076 * locale/Makefile: Likewise.
23077 * intl/Makefile: Likewise.
23078 * conform/Makefile: Likewise.
23079 * nss/Makefile: Likewise.
23080 * time/Makefile: Likewise.
23081 * soft-fp/Makefile: Likewise.
23082 * dirent/Makefile: Likewise.
23083 * gmon/Makefile: Likewise.
23084 * po/Makefile: Likewise.
23085 * rt/Makefile: Likewise.
23086 * socket/Makefile: Likewise.
23087 * math/Makefile: Likewise.
23088 * signal/Makefile: Likewise.
23089 * debug/Makefile: Likewise.
23090 * elf/Makefile: Likewise.
23091 * timezone/Makefile: Likewise.
23092 * stdlib/Makefile: Likewise.
23093 * iconvdata/Makefile: Likewise.
23094 * sunrpc/Makefile: Likewise.
23095 * io/Makefile: Likewise.
23096 * argp/Makefile: Likewise.
23097 * inet/Makefile: Likewise.
23098 * hesiod/Makefile: Likewise.
23099 * grp/Makefile: Likewise.
23100 * csu/Makefile: Likewise.
23101 * wctype/Makefile: Likewise.
23102 * crypt/Makefile: Likewise.
23103 * libio/Makefile: Likewise.
23104 * string/Makefile: Likewise.
23105 * nis/Makefile: Likewise.
23106 * resolv/Makefile: Likewise.
23107 * stdio-common/Makefile: Likewise.
23108 * wcsmbs/Makefile: Likewise.
23109 * dlfcn/Makefile: Likewise.
23110 * posix/Makefile: Likewise.
23111
3b7c4e74 23112 [BZ #6959]
482ff4da
UD
23113 * timezone/Makefile: Don't install timezone files, just the programs
23114 and scripts.
23115
f72ed77d
UD
231162012-03-06 Ulrich Drepper <drepper@gmail.com>
23117
a000466f
UD
23118 * nss/databases.def: Add missing gshadow entry.
23119
f72ed77d
UD
23120 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23121
a53b7a4e
MP
231222012-03-06 Marek Polacek <polacek@redhat.com>
23123
23124 [BZ #13726]
23125 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23126 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23127 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23128 * stdio-common/tst-long-dbl-fphex.c: New file.
23129
e9258400
DM
231302012-03-06 David S. Miller <davem@davemloft.net>
23131
23132 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23133 (set_obp_int): New function.
23134 (get_obp_int): New function.
23135 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23136 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23137 Avoid unused variable warnings on 'val' and use builtin_expect.
23138 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23139 __builtin_expect.
e9258400
DM
23140 (INLINE_CLONE_SYSCALL): Likewise.
23141
3bd2c723
DM
231422012-03-05 David S. Miller <davem@davemloft.net>
23143
23144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23145
bbb78d03
AS
231462012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23147
884c5db4
AS
23148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23149
bbb78d03
AS
23150 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23151 only for |x| >= 40.
23152 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23153
1c9f702a 231542012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23155
23156 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23157 Replace gettimeofday with __vdso_gettimeofday.
23158
7be16f82
RM
23159 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23160 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23161 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23162
23163 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23164 time with __vdso_time.
23165
ed58a00f
JM
231662012-03-05 Joseph Myers <joseph@codesourcery.com>
23167
23168 * manual/lang.texi (size_t): Note types to which size_t may be
23169 equivalent with the GNU C Library, but do not describe when
23170 differences between them are significant.
23171
30ee4ced
AJ
231722012-03-05 Andreas Jaeger <aj@suse.de>
23173
23174 * sysdeps/i386/fpu/libm-test-ulps: Update.
23175
b7cd39e8
JM
231762012-03-05 Joseph Myers <joseph@codesourcery.com>
23177
23178 [BZ #3976]
23179 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23180 (__ieee754_pow): Save and restore rounding mode and use
23181 round-to-nearest for main computations.
23182 * math/libm-test.inc (pow_test_tonearest): New function.
23183 (pow_test_towardzero): Likewise.
23184 (pow_test_downward): Likewise.
23185 (pow_test_upward): Likewise.
23186 (main): Call the new functions.
23187 * sysdeps/i386/fpu/libm-test-ulps: Update.
23188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23189
23190 [BZ #3976]
23191 * math/libm-test.inc (cosh_test_tonearest): New function.
23192 (cosh_test_towardzero): Likewise.
23193 (cosh_test_downward): Likewise.
23194 (cosh_test_upward): Likewise.
23195 (sinh_test_tonearest): Likewise.
23196 (sinh_test_towardzero): Likewise.
23197 (sinh_test_downward): Likewise.
23198 (sinh_test_upward): Likewise.
23199 (main): Call the new functions.
23200 * sysdeps/i386/fpu/libm-test-ulps: Update.
23201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23202
6c6a98c9
TV
232032012-03-05 Tom de Vries <tom@codesourcery.com>
23204
23205 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23206 default stack guard is set in last bytes.
23207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23208
21bb2d2e 232092012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23210
21bb2d2e 23211 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23212
21bb2d2e
AJ
23213 [BZ #13656]
23214 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23215 possibly allocate from heap instead of stack.
23216 * stdio-common/bug-vfprintf-nargs.c: New file.
23217 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23218
c6922934
AS
232192012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23220
23221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23222
bc957d53
MP
232232012-03-03 Marek Polacek <polacek@redhat.com>
23224
23225 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23226 * math/math_private.h: Likewise.
23227 * stdlib/tst-strtod.c: Likewise.
23228 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23229 * sysdeps/x86_64/bits/atomic.h: Likewise.
23230
6358490d
DM
232312012-03-02 David S. Miller <davem@davemloft.net>
23232
23233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23237 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23238 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23239 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23240 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23241
01ae168d
RM
232422012-03-02 Roland McGrath <roland@hack.frob.com>
23243
d9a17c07
RM
23244 [BZ #13792]
23245 * manual/examples/README: New file, says the example source files
23246 can be used under GPL>=2.
23247 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23248 line containing just "*/".
23249 * manual/examples/add.c: Add copyright header (GPL>=2).
23250 * manual/examples/argp-ex1.c: Likewise.
23251 * manual/examples/argp-ex2.c: Likewise.
23252 * manual/examples/argp-ex3.c: Likewise.
23253 * manual/examples/argp-ex4.c: Likewise.
23254 * manual/examples/atexit.c: Likewise.
23255 * manual/examples/db.c: Likewise.
23256 * manual/examples/dir.c: Likewise.
23257 * manual/examples/dir2.c: Likewise.
23258 * manual/examples/execinfo.c: Likewise.
23259 * manual/examples/filecli.c: Likewise.
23260 * manual/examples/filesrv.c: Likewise.
23261 * manual/examples/fmtmsgexpl.c: Likewise.
23262 * manual/examples/genpass.c: Likewise.
23263 * manual/examples/inetcli.c: Likewise.
23264 * manual/examples/inetsrv.c: Likewise.
23265 * manual/examples/isockad.c: Likewise.
23266 * manual/examples/longopt.c: Likewise.
23267 * manual/examples/memopen.c: Likewise.
23268 * manual/examples/memstrm.c: Likewise.
23269 * manual/examples/mkfsock.c: Likewise.
23270 * manual/examples/mkisock.c: Likewise.
23271 * manual/examples/mygetpass.c: Likewise.
23272 * manual/examples/pipe.c: Likewise.
23273 * manual/examples/popen.c: Likewise.
23274 * manual/examples/rprintf.c: Likewise.
23275 * manual/examples/search.c: Likewise.
23276 * manual/examples/select.c: Likewise.
23277 * manual/examples/setjmp.c: Likewise.
23278 * manual/examples/sigh1.c: Likewise.
23279 * manual/examples/sigusr.c: Likewise.
23280 * manual/examples/stpcpy.c: Likewise.
23281 * manual/examples/strdupa.c: Likewise.
23282 * manual/examples/strftim.c: Likewise.
23283 * manual/examples/strncat.c: Likewise.
23284 * manual/examples/subopt.c: Likewise.
23285 * manual/examples/swapcontext.c: Likewise.
23286 * manual/examples/termios.c: Likewise.
23287 * manual/examples/testopt.c: Likewise.
23288 * manual/examples/testpass.c: Likewise.
23289 * manual/examples/timeval_subtract.c: Likewise.
23290
01ae168d
RM
23291 [BZ #13792]
23292 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23293 function to ...
23294 * manual/timeval_subtract.c.texi: ... here, new file.
23295
49efa33d
DM
232962012-03-02 David S. Miller <davem@davemloft.net>
23297
23298 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23299
28afd92d
JM
233002012-03-02 Joseph Myers <joseph@codesourcery.com>
23301
804360ed
JM
23302 [BZ #3976]
23303 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23304 (__sin): Save and restore rounding mode and use round-to-nearest
23305 for all computations.
23306 (__cos): Save and restore rounding mode and use round-to-nearest
23307 for all computations.
23308 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23309 <fenv.h>.
23310 (tan): Save and restore rounding mode and use round-to-nearest for
23311 all computations.
23312 * math/libm-test.inc (cos_test_tonearest): New function.
23313 (cos_test_towardzero): Likewise.
23314 (cos_test_downward): Likewise.
23315 (cos_test_upward): Likewise.
23316 (sin_test_tonearest): Likewise.
23317 (sin_test_towardzero): Likewise.
23318 (sin_test_downward): Likewise.
23319 (sin_test_upward): Likewise.
23320 (tan_test_tonearest): Likewise.
23321 (tan_test_towardzero): Likewise.
23322 (tan_test_downward): Likewise.
23323 (tan_test_upward): Likewise.
23324 (main): Call the new functions.
23325 * sysdeps/i386/fpu/libm-test-ulps: Update.
23326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23327
a6d06d7b
JM
23328 [BZ #10135]
23329 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23330 small n, then large n, before computing and testing k+n.
23331 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23333 Likewise.
23334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23335 Likewise.
23336 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23337 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23339 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23340 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23341 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23342 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23343 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23344 * math/libm-test.inc (scalbn_test): Add more tests.
23345 (scalbln_test): Likewise.
23346
07e12bb3
JM
23347 * manual/filesys.texi (mode_t): Describe constraints on size and
23348 signedness, not exact equivalence to a particular type.
23349 (ino_t): Likewise.
23350 (ino64_t): Likewise.
23351 (dev_t): Likewise.
23352 (nlink_t): Likewise.
23353 (blkcnt_t): Likewise.
23354 (blkcnt64_t): Likewise.
23355 * manual/llio.texi (off_t): Likewise.
23356
28afd92d
JM
23357 [BZ #3976]
23358 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23359 (__ieee754_exp): Save and restore rounding mode and use
23360 round-to-nearest for all computations.
23361 * math/libm-test.inc (exp_test_tonearest): New function.
23362 (exp_test_towardzero): Likewise.
23363 (exp_test_downward): Likewise.
23364 (exp_test_upward): Likewise.
23365 (main): Call the new functions.
23366 * sysdeps/i386/fpu/libm-test-ulps: Update.
23367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23368
b1eeb65d
CD
233692012-03-01 Chris Demetriou <cgd@google.com>
23370
23371 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23372 have predictable order.
23373
53362a4b
DM
233742012-03-01 David S. Miller <davem@davemloft.net>
23375
3c969083
DM
23376 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23377
759707de
DM
23378 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23379 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23380 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23381 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23382
dfdb8ff2
DM
23383 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23384 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23385 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23387 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23388 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23389 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23390 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23391 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23392
ead89f96
DM
23393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23394
7f66bd07
DM
23395 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23396 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23397 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23398
53362a4b
DM
23399 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23400 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23401 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23402 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23403 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23406 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23407 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23408 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23409 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23412 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23413 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23415 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23416 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23417 * sysdeps/sparc/elf/configure: Regenerated.
23418
7b1902cb
JM
234192012-03-01 Joseph Myers <joseph@codesourcery.com>
23420
bec039bc
JM
23421 * configure.in (AS, LD): Require binutils 2.20 or later.
23422 * configure: Regenerated.
23423 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23424 as required minimum version.
23425 * INSTALL: Regenerated.
23426
7b1902cb
JM
23427 [BZ #2541]
23428 [BZ #4108]
23429 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23430 before squaring exponent.
23431 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23432 bottom long double and 27 bits of top long double before squaring
23433 exponent.
23434 * math/libm-test.inc (erfc_test): Add more tests.
23435 * sysdeps/i386/fpu/libm-test-ulps: Update.
23436 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23438
f775c276
KT
234392012-03-01 Kai Tietz <ktietz@redhat.com>
23440
23441 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23442 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23443 containing bit-fields.
23444 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23445 * soft-fp/single.h (_FP_UNION_S): Likewise.
23446 * soft-fp/double.h (_FP_UNION_D): Likewise.
23447
5b8a4d4a
JM
234482012-02-29 Joseph Myers <joseph@codesourcery.com>
23449
0bab47b6
JM
23450 [BZ #13786]
23451 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23452 not include ../strcmp.S.
23453 [USE_AS_STRNCASECMP_L]: Likewise.
23454 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23455 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23456 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23457 (__strncasecmp_l_ia32): Define as alias to
23458 __strncasecmp_l_nonascii.
23459
0fcad3e2
JM
23460 [BZ #5794]
23461 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23462 * sysdeps/i386/fpu/libm-test-ulps: Update.
23463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23464
5b8a4d4a
JM
23465 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23467
8fdceb2e
JL
234682012-02-29 Jeff Law <law@redhat.com>
23469
23470 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23471 out of bounds read.
23472
1f393a11
MP
234732012-02-29 Marek Polacek <polacek@redhat.com>
23474
23475 [BZ #13706]
23476 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23477 * elf/Makefile: Add rules to run tst-unused-dep.out.
23478
8847f037
DM
234792012-02-28 David S. Miller <davem@davemloft.net>
23480
23481 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23482 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23484 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23485 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23486 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23487
169d7f11
JM
234882012-02-29 Joseph Myers <joseph@codesourcery.com>
23489
23490 * math/libm-test.inc (llround_test): Move one test from
23491 lround_test. Use TEST_f_L in moved test.
23492 (lround_test): Move misplaced test to llround_test. Add testcase
23493 from bug 2561.
23494
39adf059
UD
234952012-02-28 Ulrich Drepper <drepper@gmail.com>
23496
23497 * sysdeps/x86_64/fpu/e_expf.S: New file.
23498 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23499
71b5d1c5
SB
235002012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23501
23502 [BZ #13637]
23503 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23504 of remain_len that may cause incomplete multi-byte character and
23505 false match.
23506 * posix/bug-regex33.c: New file.
23507 * posix/Makefile (tests): Add bug-regex33.
23508
1f77f049
JM
235092012-02-28 Joseph Myers <joseph@codesourcery.com>
23510
23511 * manual/macros.texi: New file.
23512 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23513 * manual/libc.texinfo: Include macros.texi.
23514 * manual/creatute.texi: Likewise.
23515 * manual/install.texi: Likewise.
23516 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23517 @glibcadj{} in references to the GNU C Library.
23518 * manual/charset.texi: Likewise.
23519 * manual/conf.texi: Likewise.
23520 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23521 when not using those macros.
23522 * manual/creature.texi: Likewise.
23523 * manual/crypt.texi: Likewise.
23524 * manual/errno.texi: Likewise.
23525 * manual/filesys.texi: Likewise.
23526 * manual/header.texi: Likewise.
23527 * manual/install.texi: Likewise.
23528 * manual/intro.texi: Likewise.
23529 * manual/io.texi: Likewise.
23530 * manual/job.texi: Likewise.
23531 * manual/lang.texi: Likewise.
23532 * manual/libc.texiinfo: Likewise.
23533 * manual/llio.texi: Likewise.
23534 * manual/locale.texi: Likewise.
23535 * manual/maint.texi: Likewise.
23536 * manual/math.texi: Likewise.
23537 * manual/memory.texi: Likewise.
23538 * manual/message.texi: Likewise.
23539 * manual/nss.texi: Likewise.
23540 * manual/pattern.texi: Likewise.
23541 * manual/process.texi: Likewise.
23542 * manual/resource.texi: Likewise.
23543 * manual/search.texi: Likewise.
23544 * manual/setjmp.texi: Likewise.
23545 * manual/signal.texi: Likewise.
23546 * manual/socket.texi: Likewise.
23547 * manual/startup.texi: Likewise.
23548 * manual/stdio.texi: Likewise.
23549 * manual/string.texi: Likewise.
23550 * manual/sysinfo.texi: Likewise.
23551 * manual/syslog.texi: Likewise.
23552 * manual/terminal.texi: Likewise.
23553 * manual/time.texi: Likewise.
23554 * manual/users.texi: Likewise.
23555 * INSTALL: Regenerated.
23556 * NOTES: Regenerated.
d40c5d54 23557 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23558
450bf206
AS
235592012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23560
23561 * include/dirent.h: Include <dirstream.h> before
23562 <dirent/dirent.h>.
23563
741a235b
DM
235642012-02-28 David S. Miller <davem@davemloft.net>
23565
23566 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23567 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23568 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23569 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23570
d6b5aa58
DM
235712012-02-27 David S. Miller <davem@davemloft.net>
23572
1aff59a3
DM
23573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23575 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23576 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23577
d6b5aa58
DM
23578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23579 frame pointer instead of stack pointer relative arg slot.
23580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23581 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23582 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23583
433f48bf
CD
235842012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23585
23586 [BZ #3992]
23587 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23588
d674b76d
DM
235892012-02-27 David S. Miller <davem@davemloft.net>
23590
23591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23595 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23596 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23597 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23598 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23599
0e7727f7
JM
236002012-02-27 Joseph Myers <joseph@codesourcery.com>
23601
23602 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23603 later. Allow versions 5-9.
43be4ca2 23604 * configure: Regenerated.
0e7727f7
JM
23605 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23606 required minimum version and 4.6 as recommended version. Do not
23607 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23608 * INSTALL: Regenerated.
0e7727f7 23609
a78bc654
DM
236102012-02-27 David S. Miller <davem@davemloft.net>
23611
428d5830
DM
23612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23616 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23617 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23618 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23619 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23620
a78bc654
DM
23621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23622 manipulate bits before adding and subtracting TWO112[sx].
23623 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23624
4579f81c
RM
236252012-02-27 Roland McGrath <roland@hack.frob.com>
23626
36c8acb4
RM
23627 [BZ #13775]
23628 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23629 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23630 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23631 being in POSIX, because they are in 1003.1-2008.
23632
84ad622b
RM
23633 * rt/tst-aio.c: Include <fcntl.h>.
23634 * rt/tst-aio7.c: Likewise.
23635 * rt/tst-aio64.c: Likewise.
23636
4579f81c
RM
23637 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23638
abd923db
JM
236392012-02-27 Joseph Myers <joseph@codesourcery.com>
23640
23641 * manual/install.texi (--with-headers): Describe headers as
23642 interface headers, not private headers.
23643 (Specific advice for GNU/Linux systems): Describe use of headers
23644 from "make headers_install", not private headers from older
23645 kernels.
43be4ca2 23646 * INSTALL: Regenerated.
abd923db
JM
23647 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23648 Change to 2.6.19.
23649 * sysdeps/unix/sysv/linux/configure: Regenerated.
23650
6664049b
JM
23651 * manual/llio.texi (fclean): Remove documentation.
23652
bb8b6697
JM
23653 * manual/Makefile (libc-texi-generated): New variable. Include
23654 version.texi.
23655 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23656 $(libc-texi-generated), not duplicated list of files.
23657 (version.texi, stamp-version): New rules.
23658 (realclean): Remove $(libc-texi-generated), not individual files
23659 from that list. Do not remove dir-add.texinfo.
23660 * manual/libc.texinfo: Comment out uses of edition numbers and
23661 references to printed manual. Remove last-updated dates.
23662 (EDITION): Comment out.
23663 (ISBN): Likewise.
23664 (VERSION, UPDATED): Remove.
23665 (version.texi): Include.
23666
12e5c3b9
AS
236672012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23668
23669 * sysdeps/posix/spawni.c: Include <signal.h>.
23670 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23671 * sysdeps/pthread/aio_fsync.c: Likewise.
23672
4efeffc1 236732012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23674
ba63ba08
UD
23675 * conform/Makefile (tests): Run only when not cross-compiling and
23676 when fast-check is not defined.
23677
d94a4670
UD
23678 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23679 * conform/data/limits.h-data: Fixes for POSIX2008.
23680 * conform/run-conformtest.sh: Run all tests.
23681 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23682 headers.
23683 * include/bits/dlfcn.h: Likewise.
23684 * include/langinfo.h: Likewise.
23685 * include/monetary.h: Likewise.
23686 * include/sys/poll.h: Likewise.
23687
23688 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23689 for __USE_GNU.
23690 * posix/spawn.h: Define __need_sigset_t.
23691 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23692 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23693 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23694 to get sigevent_t only.
23695 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23696 only for __USE_GNU.
23697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23698 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23699 process_vm_writev only for __USE_GNU.
23700 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23701
23702 * conform/Makefile: For now ignore errors from run-conformtest.
23703 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23704 POSIX to avoid namespace pollution. Don't prepend headers.
23705 * conform/data/aio.h-data: Fixes for POSIX testing.
23706 * conform/data/fcntl.h-data: Likewise.
23707 * conform/data/glob.h-data: Likewise.
23708 * conform/data/grp.h-data: Likewise.
23709 * conform/data/pthread.h-data: Likewise.
23710 * conform/data/pwd.h-data: Likewise.
23711 * conform/data/signal.h-data: Likewise.
23712 * conform/data/spawn.h-data: Likewise.
23713 * conform/data/stdio.h-data: Likewise.
23714 * conform/data/stdlib.h-data: Likewise.
23715 * conform/data/stropts.h-data: Likewise.
23716 * conform/data/sys/mman.h-data: Likewise.
23717 * conform/data/sys/stat.h-data: Likewise.
23718 * conform/data/sys/types.h-data: Likewise.
23719 * conform/data/sys/wait.h-data: Likewise.
23720 * conform/data/time.h-data: Likewise.
23721 * conform/data/unistd.h-data: Likewise.
23722 * conform/data/utime.h-data: Likewise.
23723
23724 * io/sys/stat.h: fchmod was always in POSIX.
23725 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23726 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23727 * rt/aio.h: Define __need_timespec before including <time.h>.
23728 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23729 struct. Add forward declaration of pthread_attr_t and use it in
23730 sigevent.
23731 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23732 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23733 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23734 always remove CLK_TCK definition.
23735
c20105c3
AS
237362012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23737
23738 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23739
7a270350
UD
237402012-02-25 Ulrich Drepper <drepper@gmail.com>
23741
31341567
UD
23742 * conform/run-conformtest.sh: New file.
23743 * conform/Makefile: Run run-conformtest for tests.
23744 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23745 support.
23746
23747 * conform/data/uchar.h-data: New file.
23748 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23749 * conform/data/arpa/inet.h-data: Likewise.
23750 * conform/data/assert.h-data: Likewise.
23751 * conform/data/complex.h-data: Likewise.
23752 * conform/data/cpio.h-data: Likewise.
23753 * conform/data/ctype.h-data: Likewise.
23754 * conform/data/dirent.h-data: Likewise.
23755 * conform/data/dlfcn.h-data: Likewise.
23756 * conform/data/errno.h-data: Likewise.
23757 * conform/data/fcntl.h-data: Likewise.
23758 * conform/data/float.h-data: Likewise.
23759 * conform/data/fmtmsg.h-data: Likewise.
23760 * conform/data/fnmatch.h-data: Likewise.
23761 * conform/data/ftw.h-data: Likewise.
23762 * conform/data/glob.h-data: Likewise.
23763 * conform/data/grp.h-data: Likewise.
23764 * conform/data/iconv.h-data: Likewise.
23765 * conform/data/inttypes.h-data: Likewise.
23766 * conform/data/langinfo.h-data: Likewise.
23767 * conform/data/libgen.h-data: Likewise.
23768 * conform/data/limits.h-data: Likewise.
23769 * conform/data/locale.h-data: Likewise.
23770 * conform/data/math.h-data: Likewise.
23771 * conform/data/monetary.h-data: Likewise.
23772 * conform/data/mqueue.h-data: Likewise.
23773 * conform/data/ndbm.h-data: Likewise.
23774 * conform/data/net/if.h-data: Likewise.
23775 * conform/data/netdb.h-data: Likewise.
23776 * conform/data/netinet/in.h-data: Likewise.
23777 * conform/data/nl_types.h-data: Likewise.
23778 * conform/data/poll.h-data: Likewise.
23779 * conform/data/pthread.h-data: Likewise.
23780 * conform/data/pwd.h-data: Likewise.
23781 * conform/data/regex.h-data: Likewise.
23782 * conform/data/sched.h-data: Likewise.
23783 * conform/data/search.h-data: Likewise.
23784 * conform/data/semaphore.h-data: Likewise.
23785 * conform/data/setjmp.h-data: Likewise.
23786 * conform/data/signal.h-data: Likewise.
23787 * conform/data/spawn.h-data: Likewise.
23788 * conform/data/stdarg.h-data: Likewise.
23789 * conform/data/stdio.h-data: Likewise.
23790 * conform/data/stdlib.h-data: Likewise.
23791 * conform/data/string.h-data: Likewise.
23792 * conform/data/strings.h-data: Likewise.
23793 * conform/data/stropts.h-data: Likewise.
23794 * conform/data/sys/ipc.h-data: Likewise.
23795 * conform/data/sys/mman.h-data: Likewise.
23796 * conform/data/sys/msg.h-data: Likewise.
23797 * conform/data/sys/resource.h-data: Likewise.
23798 * conform/data/sys/select.h-data: Likewise.
23799 * conform/data/sys/sem.h-data: Likewise.
23800 * conform/data/sys/shm.h-data: Likewise.
23801 * conform/data/sys/socket.h-data: Likewise.
23802 * conform/data/sys/stat.h-data: Likewise.
23803 * conform/data/sys/statvfs.h-data: Likewise.
23804 * conform/data/sys/time.h-data: Likewise.
23805 * conform/data/sys/timeb.h-data: Likewise.
23806 * conform/data/sys/times.h-data: Likewise.
23807 * conform/data/sys/types.h-data: Likewise.
23808 * conform/data/sys/uio.h-data: Likewise.
23809 * conform/data/sys/un.h-data: Likewise.
23810 * conform/data/sys/utsname.h-data: Likewise.
23811 * conform/data/sys/wait.h-data: Likewise.
23812 * conform/data/syslog.h-data: Likewise.
23813 * conform/data/tar.h-data: Likewise.
23814 * conform/data/termios.h-data: Likewise.
23815 * conform/data/utime.h-data: Likewise.
23816 * conform/data/utmpx.h-data: Likewise.
23817 * conform/data/varargs.h-data: Likewise.
23818 * conform/data/wchar.h-data: Likewise.
23819 * conform/data/wctype.h-data: Likewise.
23820 * conform/data/wordexp.h-data: Likewise.
23821
23822 * include/stropts.h: New file.
23823 * include/uchar.h: New file.
23824 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23825 * include/assert.h: Likewise.
23826 * include/ctype.h: Likewise.
23827 * include/dirent.h: Likewise.
23828 * include/dlfcn.h: Likewise.
23829 * include/fcntl.h: Likewise.
23830 * include/fnmatch.h: Likewise.
23831 * include/glob.h: Likewise.
23832 * include/grp.h: Likewise.
23833 * include/libio.h: Likewise.
23834 * include/locale.h: Likewise.
23835 * include/math.h: Likewise.
23836 * include/net/if.h: Likewise.
23837 * include/netdb.h: Likewise.
23838 * include/netinet/in.h: Likewise.
23839 * include/pthread.h: Likewise.
23840 * include/pwd.h: Likewise.
23841 * include/regex.h: Likewise.
23842 * include/sched.h: Likewise.
23843 * include/search.h: Likewise.
23844 * include/setjmp.h: Likewise.
23845 * include/signal.h: Likewise.
23846 * include/stdio.h: Likewise.
23847 * include/stdlib.h: Likewise.
23848 * include/string.h: Likewise.
23849 * include/sys/cdefs.h: Likewise.
23850 * include/sys/mman.h: Likewise.
23851 * include/sys/msg.h: Likewise.
23852 * include/sys/resource.h: Likewise.
23853 * include/sys/select.h: Likewise.
23854 * include/sys/socket.h: Likewise.
23855 * include/sys/stat.h: Likewise.
23856 * include/sys/statvfs.h: Likewise.
23857 * include/sys/time.h: Likewise.
23858 * include/sys/times.h: Likewise.
23859 * include/sys/uio.h: Likewise.
23860 * include/sys/utsname.h: Likewise.
23861 * include/sys/wait.h: Likewise.
23862 * include/termios.h: Likewise.
23863 * include/time.h: Likewise.
23864 * include/ulimit.h: Likewise.
23865 * include/unistd.h: Likewise.
23866 * include/utime.h: Likewise.
23867 * include/wchar.h: Likewise.
23868 * include/wctype.h: Likewise.
23869 * include/wordexp.h: Likewise.
23870
23871 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23872
7a270350
UD
23873 * time/time.h: TIME_UTC must be a macro.
23874 Make timespec_get available for ISO C11 only as well.
23875
7724defc
UD
238762012-02-24 Ulrich Drepper <drepper@gmail.com>
23877
23878 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23879 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23880
6b1d1d46
JM
238812012-02-24 Joseph Myers <joseph@codesourcery.com>
23882
23883 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23884
0f8bbd69
JM
238852012-02-24 Joseph Myers <joseph@codesourcery.com>
23886
23887 * manual/texinfo.tex: Update to version 2012-01-19.16.
23888
66ab80bc
JM
238892012-02-24 Joseph Myers <joseph@codesourcery.com>
23890
23891 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23892
74981cc5
RM
238932012-02-24 Roland McGrath <roland@hack.frob.com>
23894
ee968201
RM
23895 [BZ #13738]
23896 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23897 * manual/fdl-1.3.texi: New file.
23898 * manual/fdl-1.1.texi: File removed.
23899
74981cc5
RM
23900 [BZ #13738]
23901 * manual/libc.texinfo (FDL_VERSION): New @set.
23902 Use it for mention of FDL in cover text.
23903 (Documentation License): Use it in @include file name.
23904
7bb764bc
JM
239052012-02-22 Joseph Myers <joseph@codesourcery.com>
23906 Roland McGrath <roland@hack.frob.com>
23907
23908 [BZ #5461]
23909 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23910 not LONG_LONG_MAX and LONG_LONG_MIN.
23911 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23912 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23913 name.
23914 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23915
6cbeae47
JM
239162012-02-22 Joseph Myers <joseph@codesourcery.com>
23917
23918 [BZ #2547]
23919 [BZ #11365]
23920 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23921 manipulate bits before adding and subtracting TWO23[sx].
23922 * math/libm-test.inc (nearbyint_test): Add more tests.
23923
fe45ce09
JM
239242012-02-22 Joseph Myers <joseph@codesourcery.com>
23925
23926 [BZ #2548]
23927 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23928 bits before adding and subtracting TWO23[sx].
23929 * math/libm-test.inc (rint_test): Add more tests.
23930 (rint_test_tonearest): Likewise.
23931 (rint_test_towardzero): Likewise.
23932 (rint_test_downward): Likewise.
23933 (rint_test_upward: Likewise.
23934
ff3b3d82
JM
239352012-02-22 Joseph Myers <joseph@codesourcery.com>
23936
23937 [BZ #10110]
23938 * include/stdc-predef.h: New file. Extracted from features.h.
23939 * include/features.h: Include stdc-predef.h.
23940 * Makefile (headers): Add stdc-predef.h.
23941 * CONFORMANCE (Compiler limitations): Update.
23942
ef0aab35
JM
239432012-02-22 Joseph Myers <joseph@codesourcery.com>
23944
23945 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23946
58639409
DM
239472012-02-21 David S. Miller <davem@davemloft.net>
23948
23949 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23950 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23951
c0e70b25
DM
239522012-02-20 David S. Miller <davem@davemloft.net>
23953
23954 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23955 using a normal save/restore sequence, rather than allocating a
23956 dummy stack frame just to store a frame pointer and restore.
23957 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23958
fb06851d
JM
239592012-02-21 Joseph Myers <joseph@codesourcery.com>
23960
23961 * manual/install.texi: Fix stray word in line-wrapped comment.
23962
7a8b71c3
DM
239632012-02-20 David S. Miller <davem@davemloft.net>
23964
d510c123
DM
23965 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23966 both binutils and gcc support GOTDATA.
23967
0722d7c2
DM
23968 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23969 "rd %pc" in the PIC register setup sequences.
23970
3d2b3019
DM
23971 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23972 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23973 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23974 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23975 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23976 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23977 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23978 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23979 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23980 (SYSCALL_ERROR_HANDLER): Likewise.
23981 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23982 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23984 (SYSCALL_ERROR_HANDLER): Likewise.
23985
c80098a9
DM
23986 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23987 (HAVE_GCC_GOTDATA): New.
23988 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23989 relocation support in both binutils and gcc.
23990 * sysdeps/sparc/elf/configure: Regenerate.
23991
3a2545a0
DM
23992 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23993 * sysdeps/sparc/sparc32/elf/configure: Delete.
23994 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23995 * sysdeps/sparc/sparc64/elf/configure: Delete.
23996 * sysdeps/sparc/elf/configure.in: New file.
23997 * sysdeps/sparc/elf/configure: Generate.
23998
7a8b71c3
DM
23999 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24000 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24001 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24002 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24003 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24004
f1e86fca
JM
240052012-02-21 Joseph Myers <joseph@codesourcery.com>
24006
24007 * manual/install.texi: Do not mention specific glibc version
24008 numbers.
24009 * manual/libc.texinfo (VERSION, UPDATED): Update.
24010 (@copying): Use @copyright{} and range of years.
24011
0e7dfaef
JM
240122012-02-21 Joseph Myers <joseph@codesourcery.com>
24013
24014 [BZ #13695]
24015 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24016 [crti.S not in sysdirs] (generated): Do not append.
24017 [crti.S not in sysdirs] (omit-deps): Likewise.
24018 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24019 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24020 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24021 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24022 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24023 Likewise.
24024 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24025 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24026 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24027 * csu/defs.awk: Remove file.
24028 * sysdeps/generic/initfini.c: Likewise.
24029 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24030 variable.
24031 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24032 Likewise.
24033
599af3ca
JM
240342012-02-20 Joseph Myers <joseph@codesourcery.com>
24035
24036 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24037 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24038 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24039 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24040 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24041 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24042 <bits/epoll.h>.
24043 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24044 (__EPOLL_PACKED): Define to empty if not defined by
24045 <bits/epoll.h>.
24046 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24047 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24048 bits/epoll.h.
24049
0e499750
JM
240502012-02-20 Joseph Myers <joseph@codesourcery.com>
24051
24052 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24053 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24054 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24055 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24056 <bits/timerfd.h>.
24057 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24059 bits/timerfd.h.
24060
5ad91f6e
JM
240612012-02-20 Joseph Myers <joseph@codesourcery.com>
24062
24063 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24064 in C locale.
24065 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24066 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24067 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24069
06b99b02
AJ
240702012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24071
24072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24073 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24074
7638c0fd
AS
240752012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24076
24077 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24078 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24079 defined.
24080 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24081 Likewise.
24082 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24083 entry for 2.16.
24084
92221550
AJ
240852012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24086
24087 * math/w_acos.c: Use non-signaling floating-point comparisons.
24088 * math/w_acosf.c: Likewise.
24089 * math/w_acosh.c: Likewise.
24090 * math/w_acoshf.c: Likewise.
24091 * math/w_acoshl.c: Likewise.
24092 * math/w_acosl.c: Likewise.
24093 * math/w_asin.c: Likewise.
24094 * math/w_asinf.c: Likewise.
24095 * math/w_asinl.c: Likewise.
24096 * math/w_atanh.c: Likewise.
24097 * math/w_atanhf.c: Likewise.
24098 * math/w_atanhl.c: Likewise.
24099 * math/w_exp2.c: Likewise.
24100 * math/w_exp2f.c: Likewise.
24101 * math/w_exp2l.c: Likewise.
24102 * math/w_j0.c: Likewise.
24103 * math/w_j0f.c: Likewise.
24104 * math/w_j0l.c: Likewise.
24105 * math/w_j1.c: Likewise.
24106 * math/w_j1f.c: Likewise.
24107 * math/w_j1l.c: Likewise.
24108 * math/w_jn.c: Likewise.
24109 * math/w_jnf.c: Likewise.
24110 * math/w_log.c: Likewise.
24111 * math/w_log10.c: Likewise.
24112 * math/w_log10f.c: Likewise.
24113 * math/w_log10l.c: Likewise.
24114 * math/w_log2.c: Likewise.
24115 * math/w_log2f.c: Likewise.
24116 * math/w_log2l.c: Likewise.
24117 * math/w_logf.c: Likewise.
24118 * math/w_logl.c: Likewise.
24119 * math/w_sqrt.c: Likewise.
24120 * math/w_sqrtf.c: Likewise.
24121 * math/w_sqrtl.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24124 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24125 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24126 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24127
ebaf36eb
JM
241282012-02-19 Joseph Myers <joseph@codesourcery.com>
24129
24130 [BZ #9739]
24131 * manual/string.texi (strnlen): Use correct parameter name in
24132 equivalent expression.
24133
71c254a6
JM
241342012-02-19 Joseph Myers <joseph@codesourcery.com>
24135
24136 [BZ #11174]
24137 * manual/users.texi (seteuid): Consistently use neweuid for
24138 argument name.
24139
16d2c631
JM
241402012-02-19 Joseph Myers <joseph@codesourcery.com>
24141
24142 [BZ #13704]
24143 * manual/nss.texi (Services in the NSS configuration): Correct
24144 list of services in example configuration file.
24145
cd837b09
NB
241462012-02-19 Nick Bowler <nbowler@draconx.ca>
24147
24148 [BZ #11322]
24149 * manual/arith.texi: Remove statements about negative zero
24150 behaving identically to zero.
24151
02c4bbad
JM
241522012-02-18 Joseph Myers <joseph@codesourcery.com>
24153
24154 [BZ #5993]
24155 * manual/install.texi: Do not document upgrading from libc5.
24156
366842e7
JM
241572012-02-18 Joseph Myers <joseph@codesourcery.com>
24158
24159 [BZ #4596]
24160 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24161
dd54084d
DM
241622012-02-18 David S. Miller <davem@davemloft.net>
24163
24164 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24165 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24166 %o7 across the call.
24167 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24168 instead.
24169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24170 SETUP_PIC_REG_LEAF.
24171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24172 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24173 * sysdeps/sparc/crtn.S: Likewise.
24174
2bcc53a3
UD
241752012-02-17 Ulrich Drepper <drepper@gmail.com>
24176
24177 * aout/Makefile: Remove.
24178
09c093b5
RK
241792012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24180
24181 [BZ #13058]
24182 * manual/examples/argp-ex1.c (main): Format definition in GNU
24183 style.
24184 * manual/examples/argp-ex2.c (main): Likewise.
24185 * manual/examples/argp-ex3.c (main): Likewise.
24186 * manual/examples/argp-ex4.c (main): Likewise.
24187 * manual/examples/longopt.c (main): Use new-style prototype
24188 definition.
24189 * manual/examples/strncat.c (main): Specify return type and use
24190 (void) for arguments.
24191 * manual/examples/subopt.c (main): Use char **argv argument.
24192
2ee633a2
JM
241932012-02-17 Joseph Myers <joseph@codesourcery.com>
24194
24195 [BZ #5077]
24196 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24197 rounding modes.
24198
0520adde
FB
241992012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24200
24201 [BZ #6907]
24202 * manual/string.texi (strchr): Change when strchrnul is
24203 recommended.
24204
3f4081cd
DGM
242052012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24206
24207 [BZ #174]
24208 * manual/locale.texi (setlocale): Document LOCPATH.
24209
d1b10e78
JM
242102012-02-17 Joseph Myers <joseph@codesourcery.com>
24211
24212 [BZ #10210]
24213 * manual/process.texi (execle): Move @dots{} before last argument.
24214
79c6869c
PB
242152012-02-17 Paul Bolle <pebolle@tiscali.nl>
24216
24217 [BZ #12047]
24218 * manual/charset.texi (Generic Charset Conversion): Fix typo
24219 (LC_TYPE -> LC_CTYPE).
24220
cc6e48bc
NB
242212012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24222
24223 [BZ #5805]
24224 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24225 (scalbnf): Likewise.
24226 (scalbnl): Likewise.
24227 (scalbln): Likewise.
24228 (scalblnf): Likewise.
24229 (scalblnl): Likewise.
24230 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24231 (vwarnx): Likewise.
24232 (verr): Likewise.
24233 (verrx): Likewise.
24234 * manual/filesys.texi (telldir): Use braces around return type.
24235 * manual/llio.texi (mmap): Add space after comma.
24236 (mmap64): Likewise.
24237 * manual/math.texi (jn): Use @var{} on parameter names.
24238 (jnf): Likewise.
24239 (jnl): Likewise.
24240 (yn): Likewise.
24241 (ynf): Likewise.
24242 (ynl): Likewise.
24243 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24244 line.
24245 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24246 "...".
24247 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24248 (sched_get_priority_max): Likewise.
24249 * manual/signal.texi (sigvec): Add space after comma.
24250 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24251 names.
24252 (if_indextoname): Likewise.
24253 (if_freenameindex): Likewise.
24254 (sendto): Use ',' instead of '.' in prototype.
24255 * manual/startup.texi (syscall): Use @dots{} instead of literal
24256 "...".
24257 * manual/stdio.texi (__fpending): Separate initial words of
24258 paragraph from @deftypefun line.
24259 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24260 "...".
24261 (vsyslog): Use @var{} on parameter names.
24262 * manual/terminal.texi (stty): Use @var{} on parameter names.
24263 * manual/users.texi (getutmp): Use @var{} on parameter names.
24264 (getutmpx): Likewise.
24265
5b23062f
JM
242662012-02-17 Joseph Myers <joseph@codesourcery.com>
24267
24268 [BZ #6884]
24269 * manual/stdio.texi (fopen): Fix typos in description of
24270 ",ccs=STRING".
24271
8dee4833
AJ
242722012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24273
24274 [BZ #4026]
24275 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24276 get clock_id definition.
24277
9078ce93
TS
242782012-02-17 Thomas Schwinge <thomas@schwinge.name>
24279
24280 [BZ #4822]
24281 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24282 (madvise): Cast every argument to void on its own.
24283
3835c55f
JM
242842012-02-17 Joseph Myers <joseph@codesourcery.com>
24285
24286 [BZ #9902]
24287 * manual/startup.texi (Exit Status): Fix typo.
24288
35c47e37
JM
242892012-02-17 Joseph Myers <joseph@codesourcery.com>
24290
24291 [BZ #10140]
24292 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24293 * manual/examples/argp-ex2.c: Likewise.
24294 * manual/examples/argp-ex3.c: Likewise.
24295
e3b69ca7
RH
242962012-02-16 Richard Henderson <rth@redhat.com>
24297
24298 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24299 * sysdeps/s390/s390-32/initfini.c: Remove.
24300 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24301 * sysdeps/s390/s390-64/initfini.c: Remove.
24302
df83af67
KK
243032012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24304
24305 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24306 compiler output for sysdeps/generic/initfini.c.
24307 * sysdeps/sh/elf/initfini.c: Remove file.
24308
f63f3380
DM
243092012-02-16 David S. Miller <davem@davemloft.net>
24310
fb59b3a4
DM
24311 [BZ #11494]
24312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24313
f63f3380
DM
24314 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24315 * sysdeps/sparc/crti.S: New file.
24316 * sysdeps/sparc/crtn.S: New file.
24317 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24318 * sysdeps/sparc/sparc64/Makefile: Likewise.
24319
df6a4a4a
MF
243202012-02-15 Mike Frysinger <vapier@gentoo.org>
24321
6dd8f3dc 24322 [BZ #3335]
df6a4a4a
MF
24323 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24324
1cac7236
RM
243252012-02-15 Roland McGrath <roland@hack.frob.com>
24326
d2c736f8
RM
24327 [BZ #4822]
24328 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24329
1cac7236
RM
24330 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24331 (write, read, close): Likewise.
24332 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24333
8e475601
JM
243342012-02-15 Joseph Myers <joseph@codesourcery.com>
24335
24336 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24337 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24338 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24339 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24340 <bits/signalfd.h>.
24341 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24343 bits/signalfd.h.
24344
ed656b40
MP
243452012-02-14 Marek Polacek <polacek@redhat.com>
24346
24347 * sysdeps/x86_64/crti.S: New file.
24348 * sysdeps/x86_64/crtn.S: New file.
24349 * sysdeps/x86_64/elf/initfini.c: Remove file.
24350
2a979d3a
JM
243512012-02-13 Joseph Myers <joseph@codesourcery.com>
24352
24353 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24354 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24355 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24356 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24357 <bits/inotify.h>.
24358 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24360 bits/inotify.h.
24361
2a418ac3
JM
243622012-02-13 Joseph Myers <joseph@codesourcery.com>
24363
24364 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24365 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24366 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24367 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24368 <bits/eventfd.h>.
24369 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24371 bits/eventfd.h.
24372
fb779be7
TS
243732012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24374
e19e83c5
RM
24375 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24376 __feraiseexcept instead of feraiseexcept.
7c35ffed 24377
fb779be7
TS
24378 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24379 nanosleep invocations.
24380 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24381 strings, and add error checking for a nanosleep invocations.
24382
59ba27a6
PE
243832012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24384
24385 Replace FSF snail mail address with URLs, as per GNU coding standards.
24386 Most of the snail mail addresses were wrong anyway, and omitting
24387 them makes the source code easier to maintain. Almost all of the
24388 changes are to license notices and to locale LC_IDENTIFICATION
24389 addresses, except for this one:
24390 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24391 not its snail mail address.
24392
57b957eb
RH
243932012-02-09 Richard Henderson <rth@twiddle.net>
24394
af850b1c
RH
24395 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24396 of kernel-features.h.
24397
57b957eb
RH
24398 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24399
6b73181a
MP
244002012-02-08 Marek Polacek <polacek@redhat.com>
24401
24402 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24403 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24404 * sysdeps/gnu/_G_config.h: Likewise.
24405 * sysdeps/generic/_G_config.h: Likewise.
24406
26ecc33a
AS
244072012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24408
6c6dbc63
AS
24409 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24410 tests.
24411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24412
e216c012
AS
24413 * sysdeps/powerpc/powerpc32/crti.S: New file.
24414 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24415 * sysdeps/powerpc/powerpc64/crti.S: New file.
24416 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24417
26ecc33a
AS
24418 * Makeconfig (have-initfini): Don't set.
24419 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24420 * configure.in (nopic_initfini): Don't substitute.
24421 * config.h.in (HAVE_INITFINI): Don't #undef.
24422 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24423 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24424
3add8e13
JM
244252012-02-08 Joseph Myers <joseph@codesourcery.com>
24426
24427 Support crti.S and crtn.S provided directly by architectures.
24428 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24429 [crti.S in sysdirs] (omit-deps): Likewise.
24430 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24431 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24432 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24433 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24434 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24435 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24436 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24437 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24438 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24439 compiler output for sysdeps/generic/initfini.c.
24440 * sysdeps/i386/elf/Makefile: Remove file.
24441 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24442
a22f12b4
MP
244432012-02-07 Marek Polacek <polacek@redhat.com>
24444
24445 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24446 * sysdeps/gnu/_G_config.h: Likewise.
24447 * sysdeps/mach/hurd/_G_config.h: Likewise.
24448
148cf100
MP
244492012-02-07 Marek Polacek <polacek@redhat.com>
24450
24451 * math/Makefile (tests): Add tst-CMPLX2.
24452 * math/tst-CMPLX2.c: New file.
24453
cfdc0dd7
AS
244542012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24455
84ba42c4
AS
24456 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24457
cfdc0dd7
AS
24458 * math/libm-test.inc (jn_test): Add missing L suffix.
24459
622c86f4
MP
244602012-02-06 Marek Polacek <polacek@redhat.com>
24461
24462 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24463 * sysdeps/i386/fpu/e_powf.S: Likewise.
24464 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24465 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24466 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24467 * sysdeps/i386/fpu/e_pow.S: Likewise.
24468 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24469 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24470 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24471 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24472 * sysdeps/i386/fpu/e_log2.S: Likewise.
24473 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24474 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24475 * sysdeps/i386/fpu/e_powl.S: Likewise.
24476 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24477 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24478 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24479 * sysdeps/i386/fpu/e_logl.S: Likewise.
24480 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24481 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24482 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24483 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24484 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24485 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24486 * sysdeps/i386/fpu/e_log.S: Likewise.
24487 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24488 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24489 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24490 * sysdeps/i386/fpu/e_logf.S: Likewise.
24491 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24492 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24493 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24494 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24495 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24496 * sysdeps/i386/fpu/e_log10.S: Likewise.
24497 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24498 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24499 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24500 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24501 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24502 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24503 * sysdeps/i386/asm-syntax.h: Likewise.
24504 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24505 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24506 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24507 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24508 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24509 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24510 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24511 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24512 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24513 * sysdeps/powerpc/sysdep.h: Likewise.
24514 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24515 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24516
d4a54ac6
JM
245172012-02-06 Joseph Myers <joseph@codesourcery.com>
24518
24519 [BZ #411]
24520 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24521
314054ea
JM
245222012-02-06 Joseph Myers <joseph@codesourcery.com>
24523
24524 * sysdeps/i386/sysdep.h: Include <features.h>.
24525 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24526 version.
24527
d8e0ca50
JM
245282012-02-05 Joseph Myers <joseph@codesourcery.com>
24529
24530 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24531 Define.
24532 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24533 LOAD_PIC_REG_STR.
24534
b1da7dd9
JM
245352012-02-03 Joseph Myers <joseph@codesourcery.com>
24536
24537 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24538 (SETUP_PIC_REG): Use GET_PC_THUNK.
24539 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24540 macro.
24541
9a1d9254
JM
245422012-02-03 Joseph Myers <joseph@codesourcery.com>
24543
24544 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24545 for non-PIC compilation.
24546 (SETUP_PIC_REG): Add .p2align directive.
24547 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24548 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24549 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24550 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24551 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24552 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24553 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24555 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24556 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24557 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24558 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24559 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24560 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24561 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24562 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24563 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24564 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24565 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24566 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24567 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24568 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24569 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24570 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24571 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24573 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24574 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24575 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24576 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24577 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24578 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24579 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24580 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24581 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24582 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24583 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24584 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24585 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24586 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24587 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24588
65dc3b75
JM
245892012-02-03 Joseph Myers <joseph@codesourcery.com>
24590
24591 * math/tst-CMPLX.c: Include <stdio.h>.
24592
d55bf177
JM
245932012-01-31 Joseph Myers <joseph@codesourcery.com>
24594
24595 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24596 float.
24597 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24598 * sysdeps/sparc/bits/mathdef.h: Likewise.
24599
69db4f8f
MP
246002012-01-31 Marek Polacek <polacek@redhat.com>
24601
24602 * libio/libio.h: Don't define _PARAMS.
24603 * locale/programs/config.h: Don't define PARAMS.
24604 * stdlib/strtol_l.c: Likewise.
24605 (__strtol_l): Remove PARAMS from the prototype.
24606
41b81892
UD
246072012-01-31 Ulrich Drepper <drepper@gmail.com>
24608
3b49edc0
UD
24609 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24610 names. Just use the correct names. Remove unnecessary wrapper
24611 functions.
24612 * malloc/arena.c: Likewise.
24613 * malloc/hooks.c: Likewise.
24614
41b81892
UD
24615 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24616 ARENA_TEST says not to. Simplify test for creation of a new arena.
24617 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24618
27a25b6e
UD
246192012-01-30 Ulrich Drepper <drepper@gmail.com>
24620
24621 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24622 into tail calls.
24623 (update_get_addr): New function.
24624 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24625 GET_ADDR_MODULE parameter.
24626
c8a89e7d
JM
246272012-01-30 Joseph Myers <joseph@codesourcery.com>
24628
24629 * crypt/cert.c: Remove __STDC__ conditionals.
24630 * crypt/crypt-entry.c: Likewise.
24631 * crypt/crypt_util.c: Likewise.
24632 * libio/filedoalloc.c: Likewise.
24633 * libio/fileops.c: Likewise.
24634 * libio/genops.c: Likewise.
24635 * libio/iofclose.c: Likewise.
24636 * libio/iofdopen.c: Likewise.
24637 * libio/iofopen.c: Likewise.
24638 * libio/iofopen64.c: Likewise.
24639 * libio/iogetdelim.c: Likewise.
24640 * libio/iopopen.c: Likewise.
24641 * libio/obprintf.c: Likewise.
24642 * libio/oldfileops.c: Likewise.
24643 * libio/oldiofclose.c: Likewise.
24644 * libio/oldiofdopen.c: Likewise.
24645 * libio/oldiofopen.c: Likewise.
24646 * libio/oldiopopen.c: Likewise.
24647 * libio/wfiledoalloc.c: Likewise.
24648 * libio/wgenops.c: Likewise.
24649 * locale/programs/xmalloc.c: Likewise.
24650 * misc/syslog.c: Likewise.
24651 * stdio-common/xbug.c: Likewise.
24652 * string/memchr.c: Likewise.
24653 * string/memcmp.c: Likewise.
24654 * string/memrchr.c: Likewise.
24655 * string/rawmemchr.c: Likewise.
24656 * sysdeps/posix/getcwd.c: Likewise.
24657 * time/strftime_l.c: Likewise.
24658
3b100462
JM
246592012-01-30 Joseph Myers <joseph@codesourcery.com>
24660
24661 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24662 * config.make.in (config-cflags-sse2avx): Define.
24663 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24664 Fix typo.
24665
607998af
CM
246662012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24667
24668 * scripts/config.guess: Update from upstream config git repository.
24669 * scripts/config.sub: Likewise.
24670
3601428f
CM
246712012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24672
3ac8b282
CM
24673 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24674 (EM_NUM): Update.
24675 (R_TILEPRO_*, R_TILEGX_*): New macros.
24676
e034841e
CM
24677 * scripts/firstversions.awk: Fix bug in version range handling.
24678
540d7568
CM
24679 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24680
3601428f
CM
24681 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24682
463de862
CM
24683 * include/sys/epoll.h: New file.
24684 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24685 libc_hidden_def.
24686
73139a76
UD
246872012-01-28 Ulrich Drepper <drepper@gmail.com>
24688
96bc5b45
UD
24689 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24690 Avoid unnecessary __WORDSIZE == 64 test.
24691 (fmaxf): Use VEX format if possible.
24692 (fmax): Likewise.
24693 (fminf): Likewise.
24694 (fmin): Likewise.
24695
56f6f6a2
UD
24696 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24697 * math/math_private.h: Remove libc_fegetround* and
24698 libc_fesetround*.
24699 * sysdeps/i386/configure.in: Check for -msse2avx.
24700 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24701 also if SSE2AVX is defined.
24702 Remove libc_fegetround* and libc_fesetround*.
24703 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24704 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24705 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24706 of HAS_YMM_USABLE.
24707 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24708 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24709 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24710 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24711 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24712
73139a76
UD
24713 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24714
d73f93a4
AZ
247152012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24716
24717 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24718 size is not set.
24719 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24720
6ee65ed6
UD
247212012-01-27 Ulrich Drepper <drepper@gmail.com>
24722
24723 [BZ #13618]
24724 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24725 relocation.
24726 * Makeconfig (libm): Define.
24727 * elf/Makefile: Add rules to build and run tst-relsort1.
24728 * elf/tst-relsort1.c: New file.
24729 * elf/tst-relsort1mod1.c: New file.
24730 * elf/tst-relsort1mod2.c: New file.
24731
8db21882
JM
247322012-01-27 Joseph Myers <joseph@codesourcery.com>
24733
24734 * math/s_ldexp.c: Remove __STDC__ conditionals.
24735 * math/s_ldexpf.c: Likewise.
24736 * math/s_ldexpl.c: Likewise.
24737 * math/s_nextafter.c: Likewise.
24738 * math/s_nexttowardf.c: Likewise.
24739 * math/s_significand.c: Likewise.
24740 * math/s_significandf.c: Likewise.
24741 * math/s_significandl.c: Likewise.
24742 * math/w_jnl.c: Likewise.
24743 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24744 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24745 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24746 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24747 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24748 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24749 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24750 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24751 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24752 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24753 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24754 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24755 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24756 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24757 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24758 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24759 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24760 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24762 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24763 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24764 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24765 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24767 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24768 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24769 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24770 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24771 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24772 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24773 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24774 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24775 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24776 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24777 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24778 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24779 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24780 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24781 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24782 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24783 * sysdeps/ieee754/k_standard.c: Likewise.
24784 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24785 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24786 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24787 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24788 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24789 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24790 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24791 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24792 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24793 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24794 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24795 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24798 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24817 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24845 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24850 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24858 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24859 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24863 * sysdeps/ieee754/s_matherr.c: Likewise.
24864 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24865 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24866 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24867 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24868
965a54a4
JM
248692012-01-26 Joseph Myers <joseph@codesourcery.com>
24870
24871 * crypt/md5.h: Remove __STDC__ conditionals.
24872 * libio/libioP.h: Likewise.
24873 * locale/programs/config.h: Likewise.
24874 * sysdeps/generic/sysdep.h: Likewise.
24875 * sysdeps/i386/asm-syntax.h: Likewise.
24876 * sysdeps/s390/asm-syntax.h: Likewise.
24877 * sysdeps/unix/sysdep.h: Likewise.
24878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24880
7071ad79
JM
248812012-01-26 Joseph Myers <joseph@codesourcery.com>
24882
24883 * libio/libio.h: Remove __STDC__ conditionals.
24884 * malloc/obstack.h: Likewise.
24885 * math/complex.h: Likewise.
24886 * math/math.h: Likewise.
24887 * sysdeps/generic/_G_config.h: Likewise.
24888 * sysdeps/gnu/_G_config.h: Likewise.
24889 * sysdeps/mach/hurd/_G_config.h: Likewise.
24890 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24891 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24892 * sysdeps/sparc/bits/mathdef.h: Likewise.
24893
afc5ed09
UD
248942012-01-26 Ulrich Drepper <drepper@gmail.com>
24895
24896 [BZ #13583]
24897 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24898 Clean up HAS_* macros.
afc5ed09 24899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24900 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24901 possible.
24902 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24903 HAS_AVX.
24904 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24905 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24906 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24907 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24908 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24909
bdb6de1d
JM
249102012-01-25 Joseph Myers <joseph@codesourcery.com>
24911
24912 * elf/tst-unique3.cc (gets): Remove declaration.
24913 * elf/tst-unique3lib.cc (gets): Likewise.
24914 * elf/tst-unique3lib2.cc (gets): Likewise.
24915 * elf/tst-unique4.cc (gets): Likewise.
24916
b15549e6
UD
249172012-01-24 Ulrich Drepper <drepper@gmail.com>
24918
24919 * include/stdio.h: Add C++ protection. Add gets declarations and
24920 definitions.
24921 * debug/tst-chk1.c: Don't declare gets here.
24922 * stdio-common/tst-gets.c: Likewise.
24923
a037381f
JM
249242012-01-24 Joseph Myers <joseph@codesourcery.com>
24925
24926 * posix/glob: Remove directory.
24927
f1d4aa75
JM
249282012-01-24 Joseph Myers <joseph@codesourcery.com>
24929
24930 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24931
81c0c964
PT
249322012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24933
24934 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24935 of the non-standard EPFNOSUPPORT.
24936
0ea698ae
ST
249372011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24938
24939 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24940 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24941 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24942
d220b117
UD
249432012-01-21 Ulrich Drepper <drepper@gmail.com>
24944
24945 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24946
3e1aa84e
UD
249472012-01-20 Ulrich Drepper <drepper@gmail.com>
24948
24949 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24950 transient errors.
24951 * nscd/grpcache.c (cache_addgr): Likewise.
24952 * nscd/hstcache.c (cache_addhst): Likewise.
24953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24954 * nscd/pwdcache.c (cache_addpw): Likewise.
24955 * nscd/servicescache.c (cache_addserv): Likewise.
24956
400aa020
UD
249572012-01-16 Ulrich Drepper <drepper@gmail.com>
24958
d77e7869
UD
24959 * malloc/malloc.c: Various cleanups.
24960 * malloc/hooks.c: Likewise.
24961
400aa020
UD
24962 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24963 * stdlib/bug-fmtmsg1.c: New file.
24964
24965 * stdlib/fmtmsg.c (init): Add missing unlock.
24966 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24967
e0a309cf
MP
249682012-01-12 Marek Polacek <polacek@redhat.com>
24969
24970 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24971 and _GNU_SOURCE.
24972
929d11c7
WS
249732012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24974
24975 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24976 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24977 macro to ensure uniqueness of label name.
24978 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24979 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24980
41d0e869
UD
249812012-01-11 Ulrich Drepper <drepper@gmail.com>
24982
0cc5ed3b
UD
24983 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24984
41d0e869
UD
24985 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24986 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24987 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24989
a47a831a
UD
249902012-01-10 Ulrich Drepper <drepper@gmail.com>
24991
daa891c0
UD
24992 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24993
24994 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24995 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24996 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24997
e58ef0f2
UD
24998 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24999
a47a831a 25000 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25001 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25002 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25003 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25004
25005 * math/bits/math-finite.h: Add ldexp support.
25006
a0bfc9c7
MP
250072012-01-10 Marek Polacek <polacek@redhat.com>
25008
25009 * locale/programs/localedef.h (show_archive_content): Add noreturn
25010 attribute.
25011
d6e97a1d
UD
250122012-01-09 Ulrich Drepper <drepper@gmail.com>
25013
25014 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25015
d5835c26
UD
250162012-01-08 Ulrich Drepper <drepper@gmail.com>
25017
e5f484c6
UD
25018 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25019
d5835c26
UD
25020 * io/Makefile (headers): Add bits/poll2.h.
25021
d1f741e9
WS
250222011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25023
25024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25025 typo #include statement.
25026
ec09c1c4
UD
250272012-01-08 Ulrich Drepper <drepper@gmail.com>
25028
25029 * include/sys/cdefs.h: Define __attribute_alloc_size.
25030 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25031 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25032 * elf/pldd.c: Likewise.
25033 * iconv/iconv_charmap.c: Likewise.
25034 * iconv/iconvconfig.c: Likewise.
25035 * iconv/strtab.c: Likewise.
25036 * locale/programs/locale.c: Likewise.
25037 * locale/programs/localedef.h: Likewise.
25038 * locale/programs/simple-hash.c: Likewise.
25039 * nscd/nscd.h: Likewise.
25040 * nss/makedb.c: Likewise.
25041 * sysdeps/generic/ldconfig.h: Likewise.
25042 * locale/programs/localedef.c: Remove xmalloc prototype.
25043 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25044
20b38e03
PP
250452012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25046
25047 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25048 appropriate.
25049
a0da5fe1
UD
250502012-01-08 Ulrich Drepper <drepper@gmail.com>
25051
1d5a644a 25052 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25053 * math/tst-CMPLX.c: New file.
1d5a644a 25054
8784a6db
UD
25055 * math/complex.h (CMPLXL): Fix typo.
25056
d9a216c0
UD
25057 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25058 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25059 GLIBC_2.16.
25060 * debug/tst-chk1.c: Add poll and ppoll tests.
25061 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25062 * include/sys/poll.h: Add hidden proto for ppoll.
25063 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25064 * sysdeps/mach/hurd/ppoll.c: Likewise.
25065 * io/ppoll.c: Likewise.
25066 * debug/poll_chk.c: New file.
25067 * debug/ppoll_chk.c: New file.
25068 * include/bits/poll2.h: New file.
25069 * io/bits/poll2.h: New file.
25070
ac097f5c
UD
25071 [BZ #1350]
25072 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25073
2119dcfa
UD
25074 * configure.in: static is always set to yes. Remove.
25075 * config.make.in: Don't set build-static.
25076 * Makeconfig: Remove use of build-static.
25077 * dlfcn/Makefile: Likewise.
25078 * elf/Makefile: Likewise.
25079 * math/Makefile: Likewise.
25080 * misc/Makefile: Likewise.
25081 * nptl/Makefile: Likewise.
25082 * sysdeps/mach/hurd/Makefile: Likewise.
25083
121766a9
UD
25084 * configure.in: PWD_P is not used anymore.
25085 * config.make.in: Remove PWD_P entry.
25086
51a1d39c 25087 * configure.in: Remove last remnants of RANLIB.
8720d066 25088 No need to check for signed size_t anymore.
215f4bdc
UD
25089 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25090 and IA-64.
3857022a 25091 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25092 * aclocal.m4: Likewise.
25093
d3ed7225
UD
25094 * wcsmbs/mbrtoc16.c: Implement using towc function.
25095 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25096 * wcsmbs/wcsmbsload.c: Likewise.
25097 * iconv/gconv_simple.c: Likewise.
25098 * iconv/gconv_int.h: Likewise.
25099 * iconv/gconv_builtin.h: Likewise.
25100 * iconv/iconv_prog.c: Remove CHAR16 handling.
25101
25102 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25103
25104 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25105
a0da5fe1
UD
25106 * configure.in: Remove --with-elf and --enable-bounded options.
25107 Dont set base_machine for ia64. More non-ELF conditions removed.
25108 Remove testing and setting of leading underscore information.
25109 * config.make.in (build-bounded): Set to no.
25110 * config.h.in: Remove NO_UNDERSCORES entry.
25111 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25112 them.
25113 * csu/start.c: Remove !NO_UNDERSCORE code.
25114 * locale/localeinfo.h: Likewise.
25115 * sysdeps/generic/machine-gmon.h: Likewise.
25116 * sysdeps/generic/sysdep.h: Likewise.
25117 * sysdeps/i386/sysdep.h: Likewise.
25118 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25119 * sysdeps/mach/sysdep.h: Likewise.
25120 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25121 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25122 * sysdeps/sh/sysdep.h: Likewise.
25123 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25124 * sysdeps/unix/i386/sysdep.S: Likewise.
25125 * sysdeps/unix/sparc/start.c: Likewise.
25126 * sysdeps/unix/sparc/sysdep.S: Likewise.
25127 * sysdeps/unix/sparc/sysdep.h: Likewise.
25128 * sysdeps/unix/start.c: Likewise.
25129 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25130 * sysdeps/x86_64/sysdep.h: Likewise.
25131
df78418a
UD
251322012-01-07 Ulrich Drepper <drepper@gmail.com>
25133
a784e502
UD
25134 [BZ #13553]
25135 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25136 for non-gcc.
25137 * argp/argp-fmtstream.h: Use const instead __const.
25138 * argp/argp.h: Likewise.
25139 * assert/assert.h: Likewise.
25140 * bits/fenv.h: Likewise.
25141 * bits/sched.h: Likewise.
25142 * bits/sigset.h: Likewise.
25143 * bits/sigthread.h: Likewise.
25144 * catgets/nl_types.h: Likewise.
25145 * conform/data/pthread.h-data: Likewise.
25146 * crypt/crypt-private.h: Likewise.
25147 * crypt/crypt.h: Likewise.
25148 * crypt/crypt_util.c: Likewise.
25149 * ctype/ctype.h: Likewise.
25150 * debug/execinfo.h: Likewise.
25151 * debug/mbsnrtowcs_chk.c: Likewise.
25152 * debug/mbsrtowcs_chk.c: Likewise.
25153 * debug/wcsnrtombs_chk.c: Likewise.
25154 * debug/wcsrtombs_chk.c: Likewise.
25155 * debug/wcstombs_chk.c: Likewise.
25156 * dirent/dirent.h: Likewise.
25157 * dlfcn/dlfcn.h: Likewise.
25158 * elf/neededtest4.c: Likewise.
25159 * grp/grp.h: Likewise.
25160 * gshadow/gshadow.h: Likewise.
25161 * iconv/gconv.h: Likewise.
25162 * iconv/gconv_int.h: Likewise.
25163 * iconv/gconv_simple.c: Likewise.
25164 * iconv/iconv.h: Likewise.
25165 * iconv/loop.c: Likewise.
25166 * iconv/skeleton.c: Likewise.
25167 * include/aio.h: Likewise.
25168 * include/aliases.h: Likewise.
25169 * include/argz.h: Likewise.
25170 * include/arpa/inet.h: Likewise.
25171 * include/assert.h: Likewise.
25172 * include/dirent.h: Likewise.
25173 * include/dlfcn.h: Likewise.
25174 * include/execinfo.h: Likewise.
25175 * include/fcntl.h: Likewise.
25176 * include/fenv.h: Likewise.
25177 * include/glob.h: Likewise.
25178 * include/grp.h: Likewise.
25179 * include/libintl.h: Likewise.
25180 * include/mntent.h: Likewise.
25181 * include/netdb.h: Likewise.
25182 * include/pwd.h: Likewise.
25183 * include/rpc/netdb.h: Likewise.
25184 * include/sched.h: Likewise.
25185 * include/search.h: Likewise.
25186 * include/shadow.h: Likewise.
25187 * include/signal.h: Likewise.
25188 * include/stdio.h: Likewise.
25189 * include/stdlib.h: Likewise.
25190 * include/string.h: Likewise.
25191 * include/sys/socket.h: Likewise.
25192 * include/sys/stat.h: Likewise.
25193 * include/sys/statfs.h: Likewise.
25194 * include/sys/statvfs.h: Likewise.
25195 * include/sys/syslog.h: Likewise.
25196 * include/sys/time.h: Likewise.
25197 * include/sys/uio.h: Likewise.
25198 * include/time.h: Likewise.
25199 * include/unistd.h: Likewise.
25200 * include/utmp.h: Likewise.
25201 * include/wchar.h: Likewise.
25202 * include/wctype.h: Likewise.
25203 * inet/aliases.h: Likewise.
25204 * inet/arpa/inet.h: Likewise.
25205 * inet/netinet/ether.h: Likewise.
25206 * inet/netinet/in.h: Likewise.
25207 * intl/libintl.h: Likewise.
25208 * io/bits/fcntl2.h: Likewise.
25209 * io/fcntl.h: Likewise.
25210 * io/ftw.h: Likewise.
25211 * io/sys/poll.h: Likewise.
25212 * io/sys/stat.h: Likewise.
25213 * io/sys/statfs.h: Likewise.
25214 * io/sys/statvfs.h: Likewise.
25215 * io/utime.h: Likewise.
25216 * libio/bits/stdio.h: Likewise.
25217 * libio/bits/stdio2.h: Likewise.
25218 * libio/libio.h: Likewise.
25219 * libio/libioP.h: Likewise.
25220 * libio/stdio.h: Likewise.
25221 * locale/lc-ctype.c: Likewise.
25222 * locale/locale.h: Likewise.
25223 * login/utmp.h: Likewise.
25224 * malloc/arena.c: Likewise.
25225 * malloc/malloc.c: Likewise.
25226 * malloc/malloc.h: Likewise.
25227 * malloc/mcheck.c: Likewise.
25228 * malloc/mtrace.c: Likewise.
25229 * math/bits/mathcalls.h: Likewise.
25230 * math/fenv.h: Likewise.
25231 * math/math_private.h: Likewise.
25232 * misc/bits/error.h: Likewise.
25233 * misc/bits/syslog.h: Likewise.
25234 * misc/err.h: Likewise.
25235 * misc/error.h: Likewise.
25236 * misc/fstab.h: Likewise.
25237 * misc/mntent.h: Likewise.
25238 * misc/regexp.h: Likewise.
25239 * misc/search.h: Likewise.
25240 * misc/sgtty.h: Likewise.
25241 * misc/sys/mman.h: Likewise.
25242 * misc/sys/syslog.h: Likewise.
25243 * misc/sys/uio.h: Likewise.
25244 * misc/sys/xattr.h: Likewise.
25245 * misc/ttyent.h: Likewise.
25246 * nis/rpcsvc/ypclnt.h: Likewise.
25247 * nss/nss.h: Likewise.
25248 * posix/bits/unistd.h: Likewise.
25249 * posix/fnmatch.h: Likewise.
25250 * posix/glob.h: Likewise.
25251 * posix/sched.h: Likewise.
25252 * posix/spawn.h: Likewise.
25253 * posix/sys/wait.h: Likewise.
25254 * posix/unistd.h: Likewise.
25255 * posix/wordexp.h: Likewise.
25256 * pwd/pwd.h: Likewise.
25257 * resolv/netdb.h: Likewise.
25258 * resource/sys/resource.h: Likewise.
25259 * rt/aio.h: Likewise.
25260 * rt/bits/mqueue2.h: Likewise.
25261 * rt/mqueue.h: Likewise.
25262 * shadow/shadow.h: Likewise.
25263 * signal/signal.h: Likewise.
25264 * socket/send.c: Likewise.
25265 * socket/sendto.c: Likewise.
25266 * socket/sys/socket.h: Likewise.
25267 * stdio-common/printf.h: Likewise.
25268 * stdlib/bits/stdlib.h: Likewise.
25269 * stdlib/fmtmsg.h: Likewise.
25270 * stdlib/monetary.h: Likewise.
25271 * stdlib/stdlib.h: Likewise.
25272 * stdlib/ucontext.h: Likewise.
25273 * streams/stropts.h: Likewise.
25274 * string/argz.h: Likewise.
25275 * string/bits/string2.h: Likewise.
25276 * string/string.h: Likewise.
25277 * string/strings.h: Likewise.
25278 * sunrpc/rpc/auth.h: Likewise.
25279 * sunrpc/rpc/auth_des.h: Likewise.
25280 * sunrpc/rpc/clnt.h: Likewise.
25281 * sunrpc/rpc/netdb.h: Likewise.
25282 * sunrpc/rpc/pmap_clnt.h: Likewise.
25283 * sunrpc/rpc/xdr.h: Likewise.
25284 * sysdeps/generic/inttypes.h: Likewise.
25285 * sysdeps/generic/net/if.h: Likewise.
25286 * sysdeps/generic/sys/swap.h: Likewise.
25287 * sysdeps/gnu/net/if.h: Likewise.
25288 * sysdeps/gnu/utmpx.h: Likewise.
25289 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25290 * sysdeps/i386/i486/bits/string.h: Likewise.
25291 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25292 * sysdeps/s390/bits/string.h: Likewise.
25293 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25294 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25295 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25296 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25297 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25298 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25299 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25300 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25301 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25302 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25303 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25304 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25305 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25306 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25307 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25308 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25309 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25311 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25312 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25313 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25314 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25315 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25316 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25317 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25318 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25319 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25320 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25321 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25322 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25323 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25324 * sysvipc/sys/ipc.h: Likewise.
25325 * sysvipc/sys/msg.h: Likewise.
25326 * sysvipc/sys/sem.h: Likewise.
25327 * sysvipc/sys/shm.h: Likewise.
25328 * termios/termios.h: Likewise.
25329 * time/sys/time.h: Likewise.
25330 * time/time.h: Likewise.
25331 * wcsmbs/bits/wchar2.h: Likewise.
25332 * wcsmbs/uchar.h: Likewise.
25333 * wcsmbs/wchar.h: Likewise.
25334 * wctype/wctype.h: Likewise.
25335
0269750c
UD
25336 [BZ #13551]
25337 * Makeconfig: Remove all but ELF support including AIX support.
25338 * Makerules: Likewise.
25339 * config.h.in: Likewise.
25340 * config.make.in: Likewise.
25341 * configure: Likewise.
25342 * configure.in: Likewise.
25343 * csu/Makefile: Likewise.
25344 * csu/version.c: Likewise.
25345 * debug/Makefile: Likewise.
25346 * dlfcn/Makefile: Likewise.
25347 * elf/Makefile: Likewise.
25348 * extra-lib.mk: Likewise.
25349 * iconv/Makefile: Likewise.
25350 * include/libc-symbols.h: Likewise.
25351 * include/shlib-compat.h: Likewise.
25352 * resolv/Makefile: Likewise.
25353 * resolv/res_libc.c: Likewise.
25354 * rt/Makefile: Likewise.
25355 * sysdeps/i386/asm-syntax.h: Likewise.
25356 * sysdeps/i386/sysdep.h: Likewise.
25357 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25358 * sysdeps/mach/sysdep.h: Likewise.
25359 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25360 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25361 * sysdeps/s390/asm-syntax.h: Likewise.
25362 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25363 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25364 * sysdeps/sh/sysdep.h: Likewise.
25365 * sysdeps/unix/sparc/sysdep.h: Likewise.
25366 * sysdeps/wordsize-32/divdi3.c: Likewise.
25367 * sysdeps/x86_64/sysdep.h: Likewise.
25368
00bbd29b
UD
25369 * argp/Versions: Remove _argp_unlock_xxx.
25370
25371 [BZ #13559]
25372 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25373 * abilist/libBrokenLocale.abilist: Likewise.
25374 * abilist/libanl.abilist: Likewise.
25375 * abilist/libc.abilist: Likewise.
25376 * abilist/libcrypt.abilist: Likewise.
25377 * abilist/libdl.abilist: Likewise.
25378 * abilist/libm.abilist: Likewise.
25379 * abilist/libnsl.abilist: Likewise.
25380 * abilist/libpthread.abilist: Likewise.
25381 * abilist/libresolv.abilist: Likewise.
25382 * abilist/librt.abilist: Likewise.
25383 * abilist/libthread_db.abilist: Likewise.
25384 * abilist/libutil.abilist: Likewise.
25385 * abilist/libnss_db.abilist: New file.
25386
25387 * scripts/abilist.awk: Add support for indirect functions.
25388
a2693a0e
UD
25389 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25390
3f05895f
UD
25391 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25392
ecb6fb48
UD
25393 * shlib-versions: Remove entries for ports architectures.
25394
664f8cb9
UD
25395 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25396 files in ports.
25397 * elf/stackguard-macros.h: Remove support for IA-64.
25398 * elf/tst-auditmod1.c: Likewise.
25399 * sysdeps/generic/ldsodefs.h: Likewise.
25400
7ae81d88
UD
25401 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25402 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25403 configure files.
25404
bdeba135
UD
25405 [BZ #13552]
25406 * configure.in: Remove --enable-omitfp support.
25407 * FAQ.in: Adjust.
25408 * config.make.in: Likewise.
25409 * Makeconfig: Likewise.
25410 * manual/install.texi: Likewise.
25411
d75a0a62
UD
25412 In case anyone cares, the IA-64 architecture could move to ports.
25413 * sysdeps/ia64/*: Removed.
25414 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25415 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25416
dcc9756b
UD
25417 [BZ #13555]
25418 * configure.in: Remove entries for unsupported architectures.
25419
d3761ebc 25420 [BZ #13533]
9954432e
UD
25421 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25422 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25423 routines.
25424 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25425 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25426 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25427 fall back to using wcrtomb.
25428 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25429 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25430 renaming.
25431 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25432 * wcsmbs/tst-c16c32-1.c: New file.
25433
25434 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25435 local variable.
25436
c3a87236
UD
25437 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25438
28926a1b
UD
25439 * elf/tst-unique3.cc: Add explicit declaration of gets.
25440 * elf/tst-unique3lib.cc: Likewise.
25441 * elf/tst-unique3lib2.cc: Likewise.
25442 * elf/tst-unique4.cc: Likewise.
25443
df78418a
UD
25444 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25445
8ecd6b2a
JM
254462012-01-06 Joseph Myers <joseph@codesourcery.com>
25447
25448 [BZ #13566]
25449 * assert/assert.h (static_assert): Don't define for C++.
25450 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25451 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25452
9f115170
UD
254532012-01-03 Ulrich Drepper <drepper@gmail.com>
25454
5e0d0300
UD
25455 * iconv/loop.c (single loop): Fix assertion in storing of
25456 remaining bytes.
25457
9f115170
UD
25458 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25459
81fb02b0
UD
254602012-01-01 Ulrich Drepper <drepper@gmail.com>
25461
25462 * posix/getconf.c: Update copyright year.
25463 * nss/getent.c: Likewise.
a316c1f6 25464 * nss/makedb.c: Likewise.
81fb02b0
UD
25465 * iconv/iconvconfig.c: Likewise.
25466 * iconv/iconv_prog.c: Likewise.
25467 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25468 * elf/pldd.c: Likewise.
25469 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25470 * catgets/gencat.c: Likewise.
25471 * csu/version.c: Likewise.
25472 * elf/ldd.bash.in: Likewise.
25473 * elf/sprof.c (print_version): Likewise.
25474 * locale/programs/locale.c: Likewise.
25475 * locale/programs/localedef.c: Likewise.
a316c1f6 25476 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25477 * nscd/nscd.c (print_version): Likewise.
25478 * debug/xtrace.sh: Likewise.
25479 * malloc/memusage.sh: Likewise.
25480 * malloc/mtrace.pl: Likewise.
25481 * debug/catchsegv.sh: Likewise.
25482
2ba92745
JJ
254832011-12-30 Jakub Jelinek <jakub@redhat.com>
25484
25485 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25486 pure attribute.
25487
dadebdae
UD
254882011-12-24 Ulrich Drepper <drepper@gmail.com>
25489
d3761ebc 25490 [BZ #13533]
db6af3eb
UD
25491 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25492 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25493 transformations.
25494 * iconv/gconv_int.h: Likewise.
25495 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25496 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25497 from libc for GLIBC_2.16.
25498 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25499 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25500 * wcsmbs/uchar.h: Really define mbstate_t.
25501 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25502 * wcsmbs/c16rtomb.c: New file.
25503 * wcsmbs/mbrtoc16.c: New file.
25504 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25505 for C/POSIX locale.
25506 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25507 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25508
dadebdae
UD
25509 * wcsmbs/wchar.h: Add missing __restrict.
25510
67371b56
UD
255112011-12-23 Ulrich Drepper <drepper@gmail.com>
25512
74033a25
UD
25513 [BZ #13532]
25514 * time/Makefile (routines): Add timespec_get.
25515 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25516 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25517 timespec for ISO C11.
25518 * time/timespec_get.c: New file.
25519 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25520 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25521
380d7e87
UD
25522 [BZ #13531]
25523 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25524 * stdlib/stdlib.h: Declare aligned_alloc.
25525 * Versions.def: Add GLIBC_2.16 for libc.
25526 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25527
4e9e7a35
UD
25528 [BZ 13527]
25529 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25530 ISO C11.
25531
380d7e87 25532 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25533 code.
25534
03a71829
UD
25535 [BZ #13528]
25536 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25537
839e283e
UD
25538 [BZ #13529]
25539 * assert/assert.h (static_assert): Define.
25540
ce5294e2 25541 * version.h: Update for 2.16 development version.
90fa7312 25542
8d44e150 25543 [BZ #13526]
d7809905
UD
25544 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25545 _ISOC11_SOURCE.
25546
c0da14cd
UD
25547 * version.h (RELEASE): Bump for 2.15 release.
25548 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25549
530a3249
MP
25550 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25551 Patch by Marek Polacek <mpolacek@redhat.com>.
25552
67371b56
UD
25553 * bits/byteswap.h: Protect long long constants with __extension__.
25554 * sysdeps/i386/bits/byteswap.h: Likewise.
25555 * sysdeps/ia64/bits/byteswap.h: Likewise.
25556 * sysdeps/s390/bits/byteswap.h: Likewise.
25557 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25558
15db4de1
LD
255592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25560
25561 [BZ #13540]
bbe315ea
LD
25562 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25563 destination buffer.
15db4de1
LD
25564 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25565
2b2596b1
MP
255662011-12-23 Marek Polacek <polacek@redhat.com>
25567
25568 * elf/dl-addr.c (determine_info): Add inline keyword.
25569 * elf/tst-auditmod4b.c (check_avx): Likewise.
25570 * elf/tst-auditmod6b.c (check_avx): Likewise.
25571 * elf/tst-auditmod6c.c (check_avx): Likewise.
25572 * elf/tst-auditmod7b.c (check_avx): Likewise.
25573
70c6c246
UD
255742011-12-23 Ulrich Drepper <drepper@gmail.com>
25575
25576 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25577 !__SSE_MATH__.
25578
c044cf14
LD
255792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25580
15db4de1 25581 [BZ #13540]
c044cf14
LD
25582 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25583 processing for last bytes.
25584
6b13d9d9
BH
255852011-08-06 Bruno Haible <bruno@clisp.org>
25586
d455f537
BH
25587 [BZ #13061]
25588 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25589 U+0385, not to U+1FEE.
25590
6b13d9d9
BH
25591 [BZ #13062]
25592 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25593 entry for U+00A5 U+0301.
25594
db910efd
UD
255952011-12-22 Ulrich Drepper <drepper@gmail.com>
25596
27deeafc
UD
25597 [BZ #13166]
25598 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25599 buffer for the output is too small.
25600
aed9d171
UD
25601 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25602 optimization.
25603
db910efd
UD
25604 [BZ #13185]
25605 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25606 SSE flags if possible.
25607
2bd779ae
LD
256082011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25609
e7f9dac3 25610 [BZ #13540]
2bd779ae
LD
25611 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25612 processing for last bytes.
25613
154bfc16
JM
256142011-12-22 Joseph Myers <joseph@codesourcery.com>
25615
25616 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25617 (syscall-list-default-options, syscall-list-default-condition)
25618 (syscall-list-includes): Define.
25619 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25620 list of ABIs and options and #if conditions for each ABI. Do not
25621 handle common syscalls between ABIs specially.
25622 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25623 Remove.
25624 (syscall-list-variants, syscall-list-32bit-options)
25625 (syscall-list-32bit-condition, syscall-list-64bit-options)
25626 (syscall-list-64bit-condition): Define.
25627 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25628 (syscall-list-variants, syscall-list-32bit-options)
25629 (syscall-list-32bit-condition, syscall-list-64bit-options)
25630 (syscall-list-64bit-condition): Define.
25631 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25632 Remove.
25633 (syscall-list-variants, syscall-list-32bit-options)
25634 (syscall-list-32bit-condition, syscall-list-64bit-options)
25635 (syscall-list-64bit-condition): Define.
25636 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25637 Remove.
25638 (syscall-list-variants, syscall-list-32bit-options)
25639 (syscall-list-32bit-condition, syscall-list-64bit-options)
25640 (syscall-list-64bit-condition): Define.
25641
21eaf3a5
UD
256422011-12-22 Ulrich Drepper <drepper@gmail.com>
25643
16c6f992
UD
25644 * locale/iso-639.def: Add brx entry.
25645
41043168
UD
25646 [BZ #13328]
25647 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25648 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25649
21eaf3a5
UD
25650 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25651 __feraiseexcept_renamed.
25652
e3a851a2
UD
256532011-12-21 Ulrich Drepper <drepper@gmail.com>
25654
4920765e
UD
25655 [BZ #13538]
25656 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25657 EPOLLET with unsigned values.
25658 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25659 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25660
e3a851a2
UD
25661 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25662 to large cancellation.
25663 * math/s_cacoshf.c: Likewise.
25664 * math/s_cacoshl.c: Likewise.
25665
b27e24b8
RK
256662011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25667
25668 [BZ #13305]
aebefeee 25669 [BZ #12786]
b27e24b8
RK
25670 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25671 * math/s_cacoshf.c: Likewise.
25672 * math/s_cacoshl.c: Likewise.
25673
ee190f67
UD
256742011-12-21 Ulrich Drepper <drepper@gmail.com>
25675
25676 [BZ #13439]
25677 * iconv/gconv.h: Define __GCONV_SWAP.
25678 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25679 * iconvdata/utf-16.c: Likewise.
25680 * iconvdata/utf-32.c: Likewise.
25681
707f25df
AS
256822011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25683
25684 [BZ #13524]
25685 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25686 numerator after shifting it by one limb.
25687
d2daaa1e
RÁE
256882011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25689
25690 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25691 under [__USE_EXTERN_INLINES].
25692
a4647e72
UD
256932011-12-17 Ulrich Drepper <drepper@gmail.com>
25694
25695 [BZ #13446]
25696 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25697
f0b264f1
AZ
256982011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25699
25700 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25701 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25702 optimized code.
25703 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25704 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25705 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25706 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25707 for strncasecmp/strncasecmp_l compilation.
25708 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25709 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25710
8ef4f244
MP
257112011-12-08 Marek Polacek <mpolacek@redhat.com>
25712
25713 [BZ #13484]
25714 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25715 of __asm__.
25716
97ac2654
UD
257172011-12-17 Ulrich Drepper <drepper@gmail.com>
25718
25719 [BZ #13506]
25720 * time/tzfile.c (__tzfile_read): Check values from file header.
25721
91d2a845
WS
257222011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25723
25724 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25725 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25726 * powerpc/powerpc32/dl-start.S: Likewise.
25727 * powerpc/powerpc32/elf/start.S: Likewise.
25728 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25729 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25730 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25731 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25732 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25733 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25734 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25735 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25736 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25737 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25738 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25739 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25740 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25741 * powerpc/powerpc32/memset.S: Likewise.
25742 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25743 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25744 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25745 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25746 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25747 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25748 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25749 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25750 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25751 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25752 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25753 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25754 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25755
a1267ba1
AZ
257562011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25757
25758 * math/libm-test.inc: Added more nearbyint tests.
25759 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25760 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25762 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25763
ad8ac1bd
RL
257642011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25765
25766 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25767 FD_CLOEXEC.
25768
1d3e4b61
UD
257692011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25770
25771 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25772 Add wcscpy-ssse3 wcscpy-c.
25773 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25774 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25775 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25776 * sysdeps/x86_64/wcschr.S: New file.
25777 * sysdeps/x86_64/wcsrchr.S: New file.
25778 * string/test-strcmp.c: Remove checking of wcscmp function for
25779 wrong alignments.
25780 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25781 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25782 wcsrchr-sse2 wcsrchr-c.
25783 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25784 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25785 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25786 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25787 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25788 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25789 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25790 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25791 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25792 * wcsmbc/wcschr.c (WCSCHR): New macro.
25793
5b330a2d
UD
257942011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25795
25796 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25797 * wcsmbs/test-wcsrchr.c: New file.
25798 * string/test-strrchr.c: Add wcsrchr support.
25799 (WIDE): New macro.
25800 * wcsmbs/test-wcscpy.c: New file.
25801 * string/test-strcpy.c: Add wcscpy support.
25802 (WIDE): New macro.
26428b7c 25803
f039c043
UD
258042011-12-10 Ulrich Drepper <drepper@gmail.com>
25805
25806 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25807 the inner loop.
25808
850fb039
AS
258092011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25810
25811 [BZ #13472]
25812 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25813
4efbd5cb
UD
258142011-12-04 Ulrich Drepper <drepper@gmail.com>
25815
52ff5dd0 25816 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25817 Minor optimizations.
52ff5dd0 25818
4efbd5cb
UD
25819 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25820 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25821 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25822
8a426e12
UD
258232011-12-03 Ulrich Drepper <drepper@gmail.com>
25824
aff2453d
UD
25825 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25826 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25827 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25828 for gcc to avoid warnings.
25829 * inet/Makefile (tests): Add tst-checks.
25830 * inet/tst-checks.c: New file.
25831
25832 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25833 warning.
25834
25835 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25836 __wmemcmp_sse2.
25837
25838 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25839 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25840
8a426e12
UD
25841 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25842
9bea3473
UD
258432011-12-02 Ulrich Drepper <drepper@gmail.com>
25844
3a965496
UD
25845 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25846 problem.
25847
9bea3473
UD
25848 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25849
f101631b
UD
258502011-11-29 Joseph Myers <joseph@codesourcery.com>
25851
25852 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25853 conditional on GCC version.
25854 (__arch_compare_and_exchange_val_8_acq)
25855 (__arch_compare_and_exchange_val_16_acq)
25856 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25857 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25858 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25859
a98275aa
UD
258602011-12-02 Joseph Myers <joseph@codesourcery.com>
25861
25862 * sysdeps/sh/backtrace.c: New file.
25863
d4cc29a2
AS
258642011-12-02 Andreas Schwab <schwab@redhat.com>
25865
25866 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25867 parenthesis.
25868
6257af2d
AS
258692011-12-01 Andreas Schwab <schwab@redhat.com>
25870
25871 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25872 falling back to utime.
25873
b5f44c1a
AS
258742011-11-30 Andreas Schwab <schwab@redhat.com>
25875
25876 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25877 expectations for float.
25878
f3a6cc0a
AS
258792011-11-29 Andreas Schwab <schwab@redhat.com>
25880
25881 * locale/weight.h (findidx): Add parameter len.
25882 * locale/weightwc.h (findidx): Likewise.
25883 * posix/fnmatch_loop.c (FCT): Adjust caller.
25884 * posix/regcomp.c (build_equiv_class): Likewise.
25885 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25886 * posix/regexec.c (check_node_accept_bytes): Likewise.
25887 * string/strcoll_l.c (STRCOLL): Likewise.
25888 * string/strxfrm_l.c (STRXFRM): Likewise.
25889
9d65ea3a
UD
258902011-11-17 Ulrich Drepper <drepper@gmail.com>
25891
25892 * Makefile.in: Remove CVSOPT handling.
25893 * configure.in: Remove use of AC_REVISION.
25894 * iconvdata/Makefile (distribute): No need to filter out CVS.
25895 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25896 handling.
25897
5583a086
AS
258982011-11-16 Andreas Schwab <schwab@redhat.com>
25899
25900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25901 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25902 [USE_AS_STRNCASECMP_L]: Likewise.
25903 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25904 NO_TLS_DIRECT_SEG_REFS.
25905 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25906 Fix argument offsets for non-PIC.
25907 [USE_AS_STRNCASECMP_L]: Likewise.
25908 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25909 NO_TLS_DIRECT_SEG_REFS.
25910
d62a8200
UD
259112011-11-15 Ulrich Drepper <drepper@gmail.com>
25912
9d65ea3a 25913 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25914 O_CLOEXEC.
25915 * locale/loadlocale.c (_nl_load_locale): Likewise.
25916
09f93bd3
AS
259172011-11-15 Andreas Schwab <schwab@redhat.com>
25918
446514f9
AS
25919 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25920 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25921 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25922 (SYSCALL_GETTIME): Set errno on error.
25923
09f93bd3
AS
25924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25925 count references to noai6ai_cached.
25926
312be3f9
UD
259272011-11-15 Ulrich Drepper <drepper@gmail.com>
25928
25929 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25930
25931 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25932 FD_CLOEXEC for /proc/self/maps.
25933
25934 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25935 FD_CLOEXEC for /proc/meminfo.
25936
25937 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25938 gai.conf.
25939
25940 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25941 FD_CLOEXEC for given file.
25942
25943 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25944
25945 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25946 FD_CLOEXEC for /etc/hosts.
25947 (_gethtent): Likewise.
25948
25949 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25950
25951 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25952 cancellation and set FD_CLOEXEC for /etc/netgroup.
25953
25954 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25955 reading /etc/publickey.
25956
25957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25958 allow cancellation when reading /etc/group.
25959
25960 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25961 cancellation.
25962 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25963
25964 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25965 when using data file.
25966
25967 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25968
25969 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25970 (write_nis_obj): Use "c" and "e" in fopen.
25971
25972 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25973
25974 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25975
25976 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25977
25978 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25979
25980 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25981 locale.alias.
25982
25983 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25984
25985 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25986
25987 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25988
25989 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25990 file parsing and set FD_CLOEXEC.
25991
82af0fa8
UD
259922011-11-14 Ulrich Drepper <drepper@gmail.com>
25993
25994 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25995
a5fb313c
AS
259962011-11-14 Andreas Schwab <schwab@redhat.com>
25997
25998 * malloc/arena.c (arena_get2): Don't call reused_arena when
25999 _int_new_arena failed.
26000
6abf3465
UD
260012011-11-14 Ulrich Drepper <drepper@gmail.com>
26002
26003 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26004 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26006 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26007 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26008 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26009 to compile strcasecmp and strncasecmp.
26010 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26011 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26012
26013 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26014
76e3966e
UD
260152011-11-13 Ulrich Drepper <drepper@gmail.com>
26016
26017 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26018 locale-defines.sym to gen-as-const-headers.
26019 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26020 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26022 to compile strcasecmp and strncasecmp.
26023 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26024 strcasecmp_l and strncasecmp_l.
26025 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26026 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26027 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26028 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26029 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26030 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26031 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26032 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26033 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26034 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26035 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26036
ab26144e
UD
260372011-11-12 Ulrich Drepper <drepper@gmail.com>
26038
7edb22ef
UD
26039 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26040 result of SYSDEP_GETTIME_CPU to retval.
26041 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26042 parameter list to macro. Remove trailing semicolon. Adjust users.
26043
9694fc44
UD
26044 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26045 variable.
26046
8ad89ef8
UD
26047 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26048 mantissa words.
26049 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26050
0c822ef9
UD
26051 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26052 from unused variable.
26053
874e0564
UD
26054 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26055 DWARF definitions.
26056 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26057 for assembling.
26058
3a2edc79
UD
26059 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26060 over namespaces.
26061
f3c2577f
UD
26062 * sunrpc/rpc_prot.c (rejected): Fix case value.
26063
294ce126
UD
26064 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26065 unsigned long long int to avoid warnings in shift.
26066
5e2b63c6
UD
26067 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26068 of use of trans.
26069 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26070 variable tmp.
26071
e7f4b08e
UD
26072 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26073 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26074 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26075
ab26144e
UD
26076 * nis/nis_table.c (nis_list): Use variable of correct type for
26077 result of __follow_path call.
26078
8a6d5255
AZ
260792011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26080
26081 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26082 of math functions ceil, trunc, floor, round, and sqrt, when
26083 avaliable on the platform.
26084 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26085 name clash.
26086 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26087 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26088 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26089
aaddc98c
MP
260902011-10-30 Marek Polacek <mpolacek@redhat.com>
26091
26092 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26093 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26094
95b7042b
RM
260952011-11-11 Roland McGrath <roland@hack.frob.com>
26096
26097 * include/unistd.h: Fix __readlink return type.
26098 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26099
57769839
UD
261002011-11-11 Ulrich Drepper <drepper@gmail.com>
26101
26102 * stdlib/ucontext.h: Undo last change for makecontext.
26103
edc5984d
AS
261042011-11-11 Andreas Schwab <schwab@redhat.com>
26105
98591e58
AS
26106 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26107
edc5984d
AS
26108 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26109 * setjmp/setjmp.h: Mark functions as non-leaf.
26110 * setjmp/bits/setjmp2.h: Likewise.
26111 * stdlib/ucontext.h: Likewise.
26112
77cdc054
AS
261132011-11-10 Andreas Schwab <schwab@redhat.com>
26114
26115 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26116 (reused_arena): Don't check arena limit.
26117 (arena_get2): Atomically check arena limit.
26118
fe72eebd
UD
261192011-11-08 Ulrich Drepper <drepper@gmail.com>
26120
5f078c32
UD
26121 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26122 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26123
fe72eebd
UD
26124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26125 instructions.
26126
ae1bc2fa
AS
261272011-11-07 Andreas Schwab <schwab@redhat.com>
26128
7583a88d
AS
26129 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26130 handler when locking.
26131
ae1bc2fa
AS
26132 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26133 Fix size of allocated buffer.
26134
10fb0bfa
AS
261352011-11-04 Andreas Schwab <schwab@redhat.com>
26136
998832a4
AS
26137 [BZ #10103]
26138 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26139 declarations for long double functions.
26140 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26141
10fb0bfa
AS
26142 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26143
3d7ba52b
AS
261442011-11-03 Andreas Schwab <schwab@redhat.com>
26145
a9ae54a1
AS
26146 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26147 installed.
26148
3d7ba52b
AS
26149 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26150 is disabled.
26151
bc8db248
ST
261522011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26153
26154 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26155
45b96dd6
AS
261562011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26157
647776f6
AS
26158 * include/alloca.h (stackinfo_alloca_round): Define.
26159 (extend_alloca): Use it.
26160 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26161 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26162 here.
26163
d91a8b93
AS
26164 * scripts/check-local-headers.sh: Ignore libaudit.h.
26165
45b96dd6
AS
26166 * nscd/Makefile (extra-objs): Make recursively expanded.
26167
432d41ce
UD
261682011-11-01 Ulrich Drepper <drepper@gmail.com>
26169
34372fc6
UD
26170 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26172
fadb59f8
UD
26173 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26174 * posix/tst-rfc3484-2.c: Likewise.
26175 * posix/tst-rfc3484-3.c: Likewise.
26176
78239589
UD
26177 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26178 process_vm_writev.
26179 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26180 process_vm_writev.
26181 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26182 process_vm_writev from libc using GLIBC_2.15 version.
26183
432d41ce
UD
26184 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26185
02f9c6cf
PP
261862011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26187
26188 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26189 stack usage.
26190
3a2c0242
UD
261912011-10-31 Ulrich Drepper <drepper@gmail.com>
26192
f4ec4833
UD
26193 [BZ #13367]
26194 * nss/getent.c (initgroups_keys): Show error message in case no group
26195 names are given.
26196
3a2c0242
UD
26197 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26198 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26199 __bump_nl_timestamp.
26200 * nscd/connections (nscd_init): When host database is served open
26201 netlink socket and request notification about configuration changes.
26202 (main_loop_poll): Track netlink file descriptor and bump timestamp
26203 in case data becomes available.
26204 (main_loop_epoll): Likewise.
26205 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26206 (database_pers_head): Add extra_data fileds.
26207 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26208 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26209 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26210 Adjust caller.
26211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26212 in6ai data, call __free_in6ai.
26213 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26214 Add -DHAVE_NETLINK.
26215 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26216 interface information. Reuse previous data if netlink timestamp
26217 is not changed.
26218 (__bump_nl_timestamp): New function.
26219 (__free_in6ai): New function.
26220
636064eb
UD
262212011-10-30 Ulrich Drepper <drepper@gmail.com>
26222
26223 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26224 close_not_cancel_no_status here.
26225 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26226
9beb2334
UD
262272011-10-29 Ulrich Drepper <drepper@gmail.com>
26228
6ef76f3b
UD
26229 [BZ #13276]
26230 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26231 return value.
26232
0ffc4f3e 26233 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26234 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26235 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26236
cb95113e
UD
262372011-07-03 Andreas Jaeger <aj@suse.de>
26238
26239 [BZ #10709]
26240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26241 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26242 * math/libm-test.inc (sin_test): Add test case.
26243
a1b560ff
UD
262442011-10-29 Ulrich Drepper <drepper@gmail.com>
26245
c9aaface
UD
26246 [BZ #13337]
26247 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26248 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26249
d272e7f1
UD
26250 * elf/chroot_canon.c (chroot_canon): Cleanups.
26251
1bc33071
UD
26252 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26253
1760874d
TJ
26254 [BZ #13335]
26255 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26256 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26257
51d91b18
UD
26258 * string/test-strchr.c: Make usable for strchrnul testing.
26259 * string/test-strchrnul.c: New file.
26260 * string/Makefile (strop-tests): Add strchrnul.
26261
a1b560ff 26262 * po/it.po: Update from translation team.
b611fb81 26263 * po/es.po: Likewise.
a1b560ff 26264
a5b81e1f
UD
262652011-10-28 Ulrich Drepper <drepper@gmail.com>
26266
fd52bc6d
UD
26267 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26268 the three constants needed as parameters. Drop the others.
26269 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26270 __m128i_strloadu_tolower.
52e4b9eb
UD
26271 Create and initialize variable zero and use it in all the places
26272 where _mm_setzero_si128 was used.
fd52bc6d 26273
a5b81e1f
UD
26274 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26275 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26276 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26277 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26278 anymore.
26279 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26280 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26281 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26282 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26283 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26284 __mpranred, __mptan.
26285 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26286 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26287 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26288 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26289 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26290 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26291 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26292 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26293 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26294
b4343346
AS
262952011-10-28 Andreas Schwab <schwab@redhat.com>
26296
0c92d8a8
AS
26297 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26298 redefine if SHARED.
26299 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26300
b4343346
AS
26301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26302 wide char related routines to wcsmbs subdir.
26303
3871f58f
AS
263042011-10-27 Andreas Schwab <schwab@redhat.com>
26305
26306 [BZ #13344]
26307 * misc/sys/cdefs.h (__THROWNL): Define.
26308 * posix/unistd.h: Use __THREADNL instead of __THREAD
26309 for memory synchronization functions.
26310
94d44d9f
RM
263112011-10-26 Roland McGrath <roland@hack.frob.com>
26312
21b64b15 26313 [BZ #13349]
94d44d9f
RM
26314 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26315 doesn't exist.
26316 * manual/stdio.texi (Obstack Streams): Node removed.
26317
f6ce9294
AS
263182011-10-26 Andreas Schwab <schwab@redhat.com>
26319
80479147
AS
26320 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26321 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26322 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26323
f6ce9294
AS
26324 * math/math_private.h (math_force_eval): Allow non-addressable
26325 arguments.
26326 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26327
618280a1
UD
263282011-10-25 Ulrich Drepper <drepper@gmail.com>
26329
e0016b11
UD
26330 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26331 file is not needed.
26332
26333 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26334 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26335 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26336 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26337 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26338 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26339 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26340 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26341 Add AVX variants.
26342 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26343 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26344 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26345 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26346 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26347 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26348 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26349 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26350 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26351 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26352 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26353 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26354 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26355 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26356 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26357 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26358 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26359 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26360 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26361
26362 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26363 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26364
618280a1
UD
26365 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26366 place. Use VEX encoding when compiling for AVX.
26367
37822576
AS
263682011-10-25 Andreas Schwab <schwab@redhat.com>
26369
1f1e1947
AS
26370 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26371 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26372
37822576
AS
26373 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26374
31ea014d
UD
263752011-10-25 Ulrich Drepper <drepper@gmail.com>
26376
d7826aa1 26377 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26378 useless if() expression.
d7826aa1
UD
26379 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26380 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26381 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26382 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26383 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26384 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26385 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26387 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26388 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26389 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26390 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26391 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26392 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26393 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26394 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26395 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26397 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26398
31ea014d
UD
26399 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26400
16437fec
AS
264012011-10-25 Andreas Schwab <schwab@redhat.com>
26402
26403 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26404 condition.
26405 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26406
31d3cc00
UD
264072011-10-25 Ulrich Drepper <drepper@gmail.com>
26408
26409 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26410 .text section. Avoid duplicate constants.
26411 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26413 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26415 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26416 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26419 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26420 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26421 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26422 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26423 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26424 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26425 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26426 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26427 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26428 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26434 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26435 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26436 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26437 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26438 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26439 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26440 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26441 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26442 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26443 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26444 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26445 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26446 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26447 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26449 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26450 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26451 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26452 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26453 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26454 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26455 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26456
58985aa9
UD
264572011-10-24 Ulrich Drepper <drepper@gmail.com>
26458
202c9deb
UD
26459 * sysdeps/x86_64/dla.h: Move to ...
26460 * sysdeps/x86_64/fpu/dla.h: ...here.
26461 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26462 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26463
af968f62
UD
26464 * config.make.in: Add have-mfma4 entry.
26465 * configure.in: Substitute libc_cv_cc_fma4.
26466 * math/Makefile (dbl-only-routines): Add sincostab.
26467 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26468 Use __sincostab not sincos.
26469 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26470 name is a macro.
26471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26475 using __copysign.
26476 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26477 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26478 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26479 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26480 and __inv.
26481 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26482 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26483 __copysign.
26484 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26485 define aliases when function name is a macro.
26486 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26487 sysdeps/ieee754/dbl-64/sincos.tbl.
26488 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26489 fma4-enabled routines.
26490 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26491 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26492 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26493 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26494 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26495 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26496 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26497 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26498 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26499 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26500 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26501 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26502 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26503 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26504 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26505 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26506 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26507 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26508 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26509 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26510 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26511 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26512 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26513 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26514 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26515 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26516 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26517 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26518 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26519 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26520
58985aa9
UD
26521 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26522 rename.
26523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26528 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26531
a201fbcf
AS
265322011-10-24 Andreas Schwab <schwab@redhat.com>
26533
26534 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26535
fc2ee42a
LD
265362011-10-23 Ulrich Drepper <drepper@gmail.com>
26537
bb3129bd
UD
26538 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26539
0275fff8
UD
26540 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26541 prediction.
26542 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26543
2fa2ae85
UD
26544 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26545 Remove unused variable magic_bits.
26546 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26547
fc2ee42a
LD
26548 * string/strnlen.c: Define and use STRNLEN macro.
26549 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26550 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26552 * wcsmbs/wcslen.c: Define and use WCSLEN.
26553 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26554 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26555 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26556 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26557 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26558 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26559 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26560
ce7dd29f
LD
265612011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26562
26563 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26564 strnlen-sse2-no-bsf.
26565 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26566 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26567 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26568 Add strnlen support.
26569 (USE_AS_STRNLEN): New macro.
26570 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26571 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26572 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26573 * sysdeps/x86_64/wcslen.S: New file.
26574
979c70a3
MZ
265752011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26576
26577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26578 XMM-moves are used for copying on small sizes.
26579
2d09f82f
LD
265802011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26581
26582 * wcsmbs/Makefile (strop-tests): Add wcschr.
26583 * wcsmbs/test-wcschr.c: New file.
26584 * string/test-strchr.c: Update.
26585 Add wcschr support.
26586 (WIDE): New macro.
26587
619fccca
LD
265882011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26589
2d09f82f 26590 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26591 * wcsmbs/test-wcslen.c: New file.
26592 * string/test-strlen.c: Update.
26593 Add wcslen support.
26594 (WIDE): New macro.
26595
09f699ea
UD
265962011-10-23 Ulrich Drepper <drepper@gmail.com>
26597
26598 * po/it.po: Update from translation team.
26599
95584d3b
LD
266002011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26601
26602 * sysdeps/x86_64/wcscmp.S: Update.
26603 Fix wrong comparison semantics.
26604 wcscmp shall use signed comparison not unsigned.
26605 Don't use substraction to avoid overflow bug.
26606 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26607 * wcsmbc/wcscmp.c: Likewise.
26608 * string/test-strcmp.c: Likewise.
26609 Add new tests to check cases with negative values.
26610
c8b3296b
UD
266112011-10-23 Ulrich Drepper <drepper@gmail.com>
26612
26613 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26614 * sysdeps/x86_64/dla.h: ...here. New file.
26615 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26618 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26624
246ad57a
AS
266252011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26626
26627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26628 __ynl_finite aliases.
26629
a1a87169
UD
266302011-10-22 Ulrich Drepper <drepper@gmail.com>
26631
0d355eb7
UD
26632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26633
a1a87169
UD
26634 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26635 define DLA_FMA.
26636 [DLA_FMA] (EMULV): Use DLA_FMA.
26637 [DLA_FMA] (MUL12): Use EMULV.
26638 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26639 that are not needed.
26640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26644 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26645 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26646 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26647
ee2aafe0
AS
266482011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26649
26650 * math/s_nan.c: Undef __nan.
26651 * math/s_nanf.c: Undef __nanf.
26652 * math/s_nanl.c: Undef __nanl.
26653 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26654 "math_private.h".
26655
bc62c2fb
UD
266562011-10-22 Ulrich Drepper <drepper@gmail.com>
26657
77425c63
UD
26658 * math/s_catan.c: Add branch predictions.
26659 * math/s_catanf.c: Likewise.
26660 * math/s_catanh.c: Likewise.
26661 * math/s_catanhf.c: Likewise.
26662 * math/s_catanhl.c: Likewise.
26663 * math/s_catanl.c: Likewise.
26664 * math/s_cexp.c: Likewise.
26665 * math/s_cexpf.c: Likewise.
26666 * math/s_cexpl.c: Likewise.
26667 * math/s_clog.c: Likewise.
26668 * math/s_clog10.c: Likewise.
26669 * math/s_clog10f.c: Likewise.
26670 * math/s_clog10l.c: Likewise.
26671 * math/s_clogf.c: Likewise.
26672 * math/s_clogl.c: Likewise.
26673 * math/s_csqrt.c: Likewise.
26674 * math/s_csqrtf.c: Likewise.
26675 * math/s_csqrtl.c: Likewise.
26676 * math/s_ctanf.c: Likewise.
26677 * math/s_ctanh.c: Likewise.
26678 * math/s_ctanhf.c: Likewise.
26679 * math/s_ctanhl.c: Likewise.
26680 * math/s_ctanl.c: Likewise.
26681
bc62c2fb
UD
26682 * math/math_private.h: Define __nan, __nanf, __nanl.
26683 * math/s_cacosh.c: Include <math_private.h>.
26684 * math/s_cacoshl.c: Likewise.
26685 * math/s_casinh.c: Likewise.
26686 * math/s_casinhf.c: Likewise.
26687 * math/s_casinhl.c: Likewise.
26688 * math/s_ccos.c: Rely entire on ccosh.
26689 * math/s_ccosf.c: Rely entire on ccoshf.
26690 * math/s_ccosl.c: Rely entirely on ccoshl.
26691 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26692 Remove tests for FE_INVALID.
26693 * math/s_ccoshf.c: Likewise.
26694 * math/s_ccoshl.c: Likewise.
26695 * math/s_csin.c: Likewise.
26696 * math/s_csinf.c: Likewise.
26697 * math/s_csinh.c Likewise.
26698 * math/s_csinhf.c: Likewise.
26699 * math/s_csinhl.c: Likewise.
26700 * math/s_csinl.c: Likewise.
26701 * math/s_ctan.c: Likewise.
26702 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26703 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26704 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26705
8ec250a4
UD
267062011-10-21 Ulrich Drepper <drepper@gmail.com>
26707
c196fed8
UD
26708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26709 compilation problems.
26710
8ec250a4
UD
26711 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26712 __builtin_expect.
26713
8d4f46c6
UD
267142011-10-20 Ulrich Drepper <drepper@gmail.com>
26715
ed72b654
UD
26716 * sysdeps/i386/configure.in: Test for -mfma4 option.
26717 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26718 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26719 COMMON_CPUID_INDEX_80000001.
26720 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26721 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26722 use it if FMA3 is not supported.
26723 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26724
8d4f46c6
UD
26725 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26726 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26727
d45c60c2
AS
267282011-10-20 Andreas Schwab <schwab@redhat.com>
26729
26730 [BZ #12892]
26731 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26732 it would create a cycle with a link time dependency.
26733
d9a4d2ab
UD
267342011-10-19 Ulrich Drepper <drepper@gmail.com>
26735
855d1560
UD
26736 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26737 instruction.
26738 * string/Makefile (strop-tests): Add rawmemchr.
26739 * string/test-rawmemchr.c: New file.
26740
d9a4d2ab
UD
26741 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26742 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26743 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26744 when compiling str{,n}casecmp and when AVX is available. Hook up
26745 new optimized code in initializers.
26746
8f3b1ffe
AS
267472011-10-19 Andreas Schwab <schwab@redhat.com>
26748
26749 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26750 __feraiseexcept instead of feraiseexcept.
26751
d38f1dba
UD
267522011-10-18 Ulrich Drepper <drepper@gmail.com>
26753
d9a8d0ab
UD
26754 * math/math_private.h: Define defaults for libc_fetestexcept and
26755 libc_feupdateenv.
26756 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26757 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26758 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26759 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26760 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26761 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26762 libc_fetestexcept and libc_feupdateenv.
26763
4855e3dd
UD
26764 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26765 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26766 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26767 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26768 libc_feholdexcept_setround.
26769
581d30e3
UD
26770 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26771 Add s_nearbyint-c and s_nearbyintf-c.
26772 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26773 nearbyintf inlines.
26774 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26775 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26776 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26777 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26778
d38f1dba
UD
26779 * math/math_private.h: Define defaults for libc_fegetround,
26780 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26781 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26782 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26783 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26784 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26785 standard functions.
26786 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26787 Remove comments and hacks for old compiler versions.
26788 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26789 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26790 libc_feholdexceptl.
26791
caa6c9d8
AS
267922011-10-18 Andreas Schwab <schwab@redhat.com>
26793
26794 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26795 (__feraiseexcept_renamed): Add __NTH.
26796 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26797 namespace violations.
26798
97c066e6
UD
267992011-10-17 Ulrich Drepper <drepper@gmail.com>
26800
99ce7b04
UD
26801 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26802
1004d182
UD
26803 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26804
228a984d
UD
26805 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26806 recently added interfaces.
26807 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26808
c8553a6a
UD
26809 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26810 about macro parameter expansion.
26811
ed22dcf6
UD
26812 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26813 __NO_MATH_INLINES is defined. Cleanups.
26814
26815 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26816 and __floorf is target has SSE4.1.
26817 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26818 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26819 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26820 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26821
b171c137
UD
26822 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26823 name.
26824 (floorf): Likewise.
26825
97c066e6
UD
26826 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26827
629f62ef
AS
268282011-10-17 Andreas Schwab <schwab@redhat.com>
26829
49a43d80
AS
26830 * misc/sys/cdefs.h: Fix last change.
26831
629f62ef
AS
26832 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26833 database lookup.
26834
e453f6cd
UD
268352011-10-16 Ulrich Drepper <drepper@gmail.com>
26836
aa78043a
UD
26837 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26838
ad0f5cad
UD
26839 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26841 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26842 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26843 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26844 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26845 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26846 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26847 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26848 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26849 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26850 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26851 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26852 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26853 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26854 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26855 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26856 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26857 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26858 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26859 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26860 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26861
26862 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26863 ceil, ceilf, floor, floorf.
26864
26865 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26866 Perform IRELATIVE relocations last.
26867
e453f6cd
UD
26868 * elf/do-rel.h: Add another parameter nrelative, replacing the
26869 local variable with the same name. Change name of the function
26870 to end in Rel or Rela (uppercase).
26871 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26872 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26873 elf_dynamic_do_##reloc function.
26874
fd5bdc09
UD
268752011-10-15 Ulrich Drepper <drepper@gmail.com>
26876
79b195b5
UD
26877 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26878 is sufficient, at least on modern CPUs.
26879
d4a28569
UD
26880 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26881
b61099b5
UD
26882 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26883 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26884
bcf01e6d
UD
26885 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26886 __expl_finite.
26887 * math/bits/math-finite.h: Add entries for exp.
26888 * math/e_expl.c: Add __*_finite alias.
26889 * sysdeps/i386/fpu/e_exp.S: Likewise.
26890 * sysdeps/i386/fpu/e_expf.S: Likewise.
26891 * sysdeps/i386/fpu/e_expl.c: Likewise.
26892 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26893 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26894 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26896 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26897 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26898 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26899
ba1a0d59
UD
26900 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26901 is sufficient, at least on modern CPUs.
26902
fd5bdc09
UD
26903 * ctype/ctype-info.c (__ctype_init): Define.
26904 * include/ctype.h (__ctype_init): Declare.
26905 (__ctype_b_loc): The variable is always initialized.
26906 (__ctype_toupper_loc): Likewise.
26907 (__ctype_tolower_loc): Likewise.
26908 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26909 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26910
7872cfb0
AS
269112011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26912
b468825a
AS
26913 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26914
7872cfb0
AS
26915 * configure.in: Also look in $cxxmachine/include for C++ system
26916 headers.
26917
be13f7bf
LD
269182011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26919
26920 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26921 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26922 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26923 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26924 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26925 (USE_AS_WMEMCMP): New macro.
26926 Fixing indents.
26927 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26928 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26929 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26930 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26932 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26933 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26934 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26935 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26936 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26937 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26938 (USE_AS_WMEMCMP): New macro.
26939 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26940 * sysdeps/string/test-memcmp.c: Update.
26941 Fix simple_wmemcmp.
26942 Add new tests.
26943 * wcsmbs/wmemcmp.c: Update.
26944 (WMEMCMP): New macro.
26945 Fix overflow bug.
26946
556a2007
AJ
269472011-10-12 Andreas Jaeger <aj@suse.de>
26948
26949 [BZ #13268]
26950 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26951
538faaa7
UD
269522011-10-15 Ulrich Drepper <drepper@gmail.com>
26953
ab6737ff
UD
26954 * libio/iofwide.c (do_length): Avoid warning.
26955
538faaa7
UD
26956 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26957
396a21b1
UD
269582011-10-14 Ulrich Drepper <drepper@gmail.com>
26959
cdf2901f
UD
26960 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26961
38ad40ce
UD
26962 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26963 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26964 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26965 * sysdeps/i386/i686/fpu/e_log.S: New file.
26966 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26967 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26968
396a21b1
UD
26969 * ctype/ctype.h: Add support for inlined isXXX functions when
26970 compiling C++ code.
26971
6b1f68c9
AS
269722011-10-14 Andreas Schwab <schwab@redhat.com>
26973
349290c0
AS
26974 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26975
6b1f68c9
AS
26976 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26977
f2282d42
RM
269782011-10-13 Roland McGrath <roland@hack.frob.com>
26979
26980 [BZ #13291]
26981 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26982
5298ffa8
AS
269832011-10-13 Andreas Schwab <schwab@redhat.com>
26984
714fad23
AS
26985 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26986 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26987 feraiseexcept.
26988
81dcc7fb
AS
26989 * sysdeps/x86_64/memrchr.S: Check for zero size.
26990
5298ffa8
AS
26991 * string/stratcliff.c: Add memrchr tests.
26992
951fbcec
LD
269932011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26994
26995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26996 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26997 rawmemchr-sse2 rawmemchr-sse2-bsf.
26998 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26999 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27000 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27001 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27002 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27003 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27004 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27005 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27006 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27007 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27008 * string/memrchr.c (MEMRCHR): New macro.
27009
0ac5ae23
UD
270102011-10-12 Ulrich Drepper <drepper@gmail.com>
27011
27012 Add integration with gcc's -ffinite-math-only and optimize wrapper
27013 functions in libm.
27014 * Versions.def: Define GLIBC_2.15 version for libm.
27015 * math/Makefile (headers): Add bits/math-finite.h.
27016 * math/bits/math-finite.h: New file.
27017 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27018 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27019 * math/e_acoshl.c: Add __*_finite alias.
27020 * math/e_acosl.c: Likewise.
27021 * math/e_asinl.c: Likewise.
27022 * math/e_atan2l.c: Likewise.
27023 * math/e_atanhl.c: Likewise.
27024 * math/e_coshl.c: Likewise.
27025 * math/e_exp10.c: Likewise.
27026 * math/e_exp10f.c: Likewise.
27027 * math/e_exp10l.c: Likewise.
27028 * math/e_exp2l.c: Likewise.
27029 * math/e_fmodl.c: Likewise.
27030 * math/e_gammal_r.c: Likewise.
27031 * math/e_hypotl.c: Likewise.
27032 * math/e_j0l.c: Likewise.
27033 * math/e_j1l.c: Likewise.
27034 * math/e_jnl.c: Likewise.
27035 * math/e_lgammal_r.c: Likewise.
27036 * math/e_log10l.c: Likewise.
27037 * math/e_log2l.c: Likewise.
27038 * math/e_logl.c: Likewise.
27039 * math/e_powl.c: Likewise.
27040 * math/e_sinhl.c: Likewise.
27041 * math/e_sqrtl.c: Likewise.
27042 * math/e_scalb.c: Completely rewritten and optimized.
27043 * math/e_scalbf.c: Likewise.
27044 * math/e_scalbl.c: Likewise.
27045 * math/w_acos.c: Likewise.
27046 * math/w_acosf.c: Likewise.
27047 * math/w_acosl.c: Likewise.
27048 * math/w_acosh.c: Likewise.
27049 * math/w_acoshf.c: Likewise.
27050 * math/w_acoshl.c: Likewise.
27051 * math/w_asin.c: Likewise.
27052 * math/w_asinf.c: Likewise.
27053 * math/w_asinl.c: Likewise.
27054 * math/w_atan2.c: Likewise.
27055 * math/w_atan2f.c: Likewise.
27056 * math/w_atan2l.c: Likewise.
27057 * math/w_atanh.c: Likewise.
27058 * math/w_atanhf.c: Likewise.
27059 * math/w_atanhl.c: Likewise.
27060 * math/w_exp10.c: Likewise.
27061 * math/w_exp10f.c: Likewise.
27062 * math/w_exp10l.c: Likewise.
27063 * math/w_fmod.c: Likewise.
27064 * math/w_fmodf.c: Likewise.
27065 * math/w_fmodl.c: Likewise.
27066 * math/w_j0.c: Likewise.
27067 * math/w_j0f.c: Likewise.
27068 * math/w_j0l.c: Likewise.
27069 * math/w_j1.c: Likewise.
27070 * math/w_j1f.c: Likewise.
27071 * math/w_j1l.c: Likewise.
27072 * math/w_jn.c: Likewise.
27073 * math/w_jnf.c: Likewise.
27074 * math/w_log.c: Likewise.
27075 * math/w_logf.c: Likewise.
27076 * math/w_logl.c: Likewise.
27077 * math/w_log10.c: Likewise.
27078 * math/w_log10f.c: Likewise.
27079 * math/w_log10l.c: Likewise.
27080 * math/w_log2.c: Likewise.
27081 * math/w_log2f.c: Likewise.
27082 * math/w_log2l.c: Likewise.
27083 * math/w_pow.c: Likewise.
27084 * math/w_powf.c: Likewise.
27085 * math/w_powl.c: Likewise.
27086 * math/w_remainder.c: Likewise.
27087 * math/w_remainderf.c: Likewise.
27088 * math/w_remainderl.c: Likewise.
27089 * math/w_scalb.c: Likewise.
27090 * math/w_scalbf.c: Likewise.
27091 * math/w_scalbl.c: Likewise.
27092 * math/w_sqrt.c: Likewise.
27093 * math/w_sqrtf.c: Likewise.
27094 * math/w_sqrtl.c: Likewise.
27095 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27096 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27097 used.
27098 * math/math_private.h: Declare __kernel_standard_f.
27099 * math/w_cosh.c: Remove cruft and optimize a bit.
27100 * math/w_coshf.c: Likewise.
27101 * math/w_coshl.c: Likewise.
27102 * math/w_exp2.c: Likewise.
27103 * math/w_exp2f.c: Likewise.
27104 * math/w_exp2l.c: Likewise.
27105 * math/w_hypot.c: Likewise.
27106 * math/w_hypotf.c: Likewise.
27107 * math/w_hypotl.c: Likewise.
27108 * math/w_lgamma.c: Likewise.
27109 * math/w_lgamma_r.c: Likewise.
27110 * math/w_lgammaf.c: Likewise.
27111 * math/w_lgammaf_r.c: Likewise.
27112 * math/w_lgammal.c: Likewise.
27113 * math/w_lgammal_r.c: Likewise.
27114 * math/w_sinh.c: Likewise.
27115 * math/w_sinhf.c: Likewise.
27116 * math/w_sinhl.c: Likewise.
27117 * math/w_tgamma.c: Likewise.
27118 * math/w_tgammaf.c: Likewise.
27119 * math/w_tgammal.c: Likewise.
27120 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27121 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27122 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27123 Minor optimizations. Pretty printing. Remove cruft.
27124 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27125 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27126 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27127 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27128 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27129 * sysdeps/i386/fpu/e_asin.S: Likewise.
27130 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27131 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27132 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27133 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27134 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27135 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27136 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27137 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27138 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27139 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27140 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27141 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27142 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27143 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27144 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27145 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27146 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27147 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27148 * sysdeps/i386/fpu/e_log.S: Likewise.
27149 * sysdeps/i386/fpu/e_log10.S: Likewise.
27150 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27151 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27152 * sysdeps/i386/fpu/e_log2.S: Likewise.
27153 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27154 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27155 * sysdeps/i386/fpu/e_logf.S: Likewise.
27156 * sysdeps/i386/fpu/e_logl.S: Likewise.
27157 * sysdeps/i386/fpu/e_pow.S: Likewise.
27158 * sysdeps/i386/fpu/e_powf.S: Likewise.
27159 * sysdeps/i386/fpu/e_powl.S: Likewise.
27160 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27161 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27162 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27163 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27164 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27165 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27166 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27167 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27168 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27172 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27173 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27174 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27176 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27178 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27179 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27185 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27189 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27190 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27191 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27192 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27193 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27194 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27195 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27196 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27197 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27198 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27199 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27200 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27202 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27203 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27204 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27205 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27206 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27207 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27208 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27209 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27210 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27249 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27252 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27254 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27255 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27257 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27260 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27261 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27262 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27263 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27264 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27265 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27266 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27267 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27268 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27269 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27270 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27271 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27272 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27273 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27274 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27275 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27276 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27277 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27278 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27279 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27280 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27281 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27282 (__isnanf): Likewise.
27283 (__isinf_ns): Likewise.
27284 (__isinf_nsf): Likewise.
27285 (__finite): Likewise.
27286 (__finitef): Likewise.
27287 (__ieee754_sqrt): Define as macro.
27288 (__ieee754_sqrtf): Define as macro.
27289 (__ieee754_sqrtl): Define as macro.
27290 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27291 inlined copy.
27292 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27293 __FINITE_MATH_ONLY__ consistent.
27294 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27295
12cc2fcd
AS
272962011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27297
a843a204
AS
27298 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27299 of rawmemchr.
27300
12cc2fcd
AS
27301 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27302
c853acd5
UD
273032011-10-09 Ulrich Drepper <drepper@gmail.com>
27304
27305 * po/ja.po: Update from translation team.
27306
c658d255
RM
273072011-10-08 Roland McGrath <roland@hack.frob.com>
27308
110946e4
RM
27309 * locale/programs/locarchive.c (prepare_address_space): New function.
27310 (create_archive, enlarge_archive, open_archive): Use it.
27311
50604220
RM
27312 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27313 inside [SHARED], where it is used.
27314
c658d255
RM
27315 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27316
27317 * nss/getent.c (netgroup_keys): Remove unused variable.
27318 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27319
6a621eb7
UD
273202011-10-08 Ulrich Drepper <drepper@gmail.com>
27321
7edb55ce
UD
27322 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27323 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27325 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27326 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27327 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27328 * math/Makefile (libm-calls): Add s_isinf_ns.
27329 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27330 * math/multc3.c: Likewise.
27331 * math/s_casin.c: Likewise.
27332 * math/s_casinf.c: Likewise.
27333 * math/s_casinl.c: Likewise.
27334 * math/s_ccos.c: Likewise.
27335 * math/s_ccosf.c: Likewise.
27336 * math/s_ccosl.c: Likewise.
27337 * math/s_ctan.c: Likewise.
27338 * math/s_ctanf.c: Likewise.
27339 * math/s_ctanh.c: Likewise.
27340 * math/s_ctanhf.c: Likewise.
27341 * math/s_ctanhl.c: Likewise.
27342 * math/s_ctanl.c: Likewise.
27343 * math/w_fmod.c: Likewise.
27344 * math/w_fmodf.c: Likewise.
27345 * math/w_fmodl.c: Likewise.
27346 * math/w_remainder.c: Likewise.
27347 * math/w_remainderf.c: Likewise.
27348 * math/w_remainderl.c: Likewise.
27349 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27350 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27351 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27353 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27354 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27355 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27356 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27357
187da0ae
UD
27358 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27359 of the number.
27360 * stdio-common/printf_fphex.c: Likewise.
27361 * stdio-common/printf_size.c: Likewise.
27362
9277c064
UD
27363 * math/e_exp10.c: Include math_private.h using <...> not "...".
27364 * math/e_exp10f.c: Likewise.
27365 * math/e_exp10l.c: Likewise.
27366 * math/e_exp2l.c: Likewise.
27367 * math/e_j0l.c: Likewise.
27368 * math/e_j1l.c: Likewise.
27369 * math/e_jnl.c: Likewise.
27370 * math/e_lgammal_r.c: Likewise.
27371 * math/e_rem_pio2l.c: Likewise.
27372 * math/e_scalb.c: Likewise.
27373 * math/e_scalbf.c: Likewise.
27374 * math/e_scalbl.c: Likewise.
27375 * math/k_cosl.c: Likewise.
27376 * math/k_sinl.c: Likewise.
27377 * math/k_tanl.c: Likewise.
27378 * math/s_cacoshf.c: Likewise.
27379 * math/s_catan.c: Likewise.
27380 * math/s_catanf.c: Likewise.
27381 * math/s_catanh.c: Likewise.
27382 * math/s_catanhf.c: Likewise.
27383 * math/s_catanhl.c: Likewise.
27384 * math/s_catanl.c: Likewise.
27385 * math/s_ccosh.c: Likewise.
27386 * math/s_ccoshf.c: Likewise.
27387 * math/s_ccoshl.c: Likewise.
27388 * math/s_cexp.c: Likewise.
27389 * math/s_cexpf.c: Likewise.
27390 * math/s_cexpl.c: Likewise.
27391 * math/s_clog.c: Likewise.
27392 * math/s_clog10.c: Likewise.
27393 * math/s_clog10f.c: Likewise.
27394 * math/s_clog10l.c: Likewise.
27395 * math/s_clogf.c: Likewise.
27396 * math/s_clogl.c: Likewise.
27397 * math/s_csin.c: Likewise.
27398 * math/s_csinf.c: Likewise.
27399 * math/s_csinh.c: Likewise.
27400 * math/s_csinhf.c: Likewise.
27401 * math/s_csinhl.c: Likewise.
27402 * math/s_csinl.c: Likewise.
27403 * math/s_csqrt.c: Likewise.
27404 * math/s_csqrtf.c: Likewise.
27405 * math/s_csqrtl.c: Likewise.
27406 * math/s_ctan.c: Likewise.
27407 * math/s_ctanf.c: Likewise.
27408 * math/s_ctanh.c: Likewise.
27409 * math/s_ctanhf.c: Likewise.
27410 * math/s_ctanhl.c: Likewise.
27411 * math/s_ctanl.c: Likewise.
27412 * math/s_ldexp.c: Likewise.
27413 * math/s_ldexpf.c: Likewise.
27414 * math/s_ldexpl.c: Likewise.
27415 * math/s_significand.c: Likewise.
27416 * math/s_significandf.c: Likewise.
27417 * math/s_significandl.c: Likewise.
27418 * math/w_acos.c: Likewise.
27419 * math/w_acosf.c: Likewise.
27420 * math/w_acosh.c: Likewise.
27421 * math/w_acoshf.c: Likewise.
27422 * math/w_acoshl.c: Likewise.
27423 * math/w_acosl.c: Likewise.
27424 * math/w_asin.c: Likewise.
27425 * math/w_asinf.c: Likewise.
27426 * math/w_asinl.c: Likewise.
27427 * math/w_atan2.c: Likewise.
27428 * math/w_atan2f.c: Likewise.
27429 * math/w_atan2l.c: Likewise.
27430 * math/w_atanh.c: Likewise.
27431 * math/w_atanhf.c: Likewise.
27432 * math/w_atanhl.c: Likewise.
27433 * math/w_cosh.c: Likewise.
27434 * math/w_coshf.c: Likewise.
27435 * math/w_coshl.c: Likewise.
27436 * math/w_dremf.c: Likewise.
27437 * math/w_exp10.c: Likewise.
27438 * math/w_exp10f.c: Likewise.
27439 * math/w_exp10l.c: Likewise.
27440 * math/w_exp2.c: Likewise.
27441 * math/w_exp2f.c: Likewise.
27442 * math/w_fmod.c: Likewise.
27443 * math/w_fmodf.c: Likewise.
27444 * math/w_fmodl.c: Likewise.
27445 * math/w_hypot.c: Likewise.
27446 * math/w_hypotf.c: Likewise.
27447 * math/w_hypotl.c: Likewise.
27448 * math/w_j0.c: Likewise.
27449 * math/w_j0f.c: Likewise.
27450 * math/w_j0l.c: Likewise.
27451 * math/w_j1.c: Likewise.
27452 * math/w_j1f.c: Likewise.
27453 * math/w_j1l.c: Likewise.
27454 * math/w_jn.c: Likewise.
27455 * math/w_jnf.c: Likewise.
27456 * math/w_jnl.c: Likewise.
27457 * math/w_lgamma.c: Likewise.
27458 * math/w_lgamma_r.c: Likewise.
27459 * math/w_lgammaf.c: Likewise.
27460 * math/w_lgammaf_r.c: Likewise.
27461 * math/w_lgammal.c: Likewise.
27462 * math/w_lgammal_r.c: Likewise.
27463 * math/w_log.c: Likewise.
27464 * math/w_log10.c: Likewise.
27465 * math/w_log10f.c: Likewise.
27466 * math/w_log10l.c: Likewise.
27467 * math/w_log2.c: Likewise.
27468 * math/w_log2f.c: Likewise.
27469 * math/w_log2l.c: Likewise.
27470 * math/w_logf.c: Likewise.
27471 * math/w_logl.c: Likewise.
27472 * math/w_pow.c: Likewise.
27473 * math/w_powf.c: Likewise.
27474 * math/w_powl.c: Likewise.
27475 * math/w_remainder.c: Likewise.
27476 * math/w_remainderf.c: Likewise.
27477 * math/w_remainderl.c: Likewise.
27478 * math/w_scalb.c: Likewise.
27479 * math/w_scalbf.c: Likewise.
27480 * math/w_scalbl.c: Likewise.
27481 * math/w_sinh.c: Likewise.
27482 * math/w_sinhf.c: Likewise.
27483 * math/w_sinhl.c: Likewise.
27484 * math/w_sqrt.c: Likewise.
27485 * math/w_sqrtf.c: Likewise.
27486 * math/w_sqrtl.c: Likewise.
27487 * math/w_tgamma.c: Likewise.
27488 * math/w_tgammaf.c: Likewise.
27489 * math/w_tgammal.c: Likewise.
27490
6a621eb7
UD
27491 * po/ja.po: Update from translation team.
27492
bf582445
AJ
274932011-09-29 Andreas Jaeger <aj@suse.de>
27494
f9efbf3a
AJ
27495 [BZ #13179]
27496 * sunrpc/netname.c (netname2host): Fix logic.
27497
bf582445
AJ
27498 [BZ #6779]
27499 [BZ #6783]
27500 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27501 correctly.
27502 * math/w_remainder.c (__remainder): Likewise.
27503 * math/w_remainderf.c (__remainderf): Likewise.
27504 * math/libm-test.inc (remainder_test): Add test cases.
27505
48693bea
AK
275062011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27507
27508 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27509 sdiv_qrnnd.
27510
42622229
LD
275112011-10-07 Ulrich Drepper <drepper@gmail.com>
27512
27513 * string/test-memcmp.c: Avoid unncessary #defines.
27514 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27515
093ecf92
LD
275162011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27517
27518 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27519 Use new sse2 version for core i3 - i7 as it's faster
27520 than sse42 version.
27521 (bit_Prefer_PMINUB_for_stringop): New.
27522 * sysdeps/x86_64/rawmemchr.S: Update.
27523 Replace with faster SSE2 version.
27524 * sysdeps/x86_64/memrchr.S: New file.
27525 * sysdeps/x86_64/memchr.S: Update.
27526 Replace with faster SSE2 version.
27527
fde56e5c
MP
275282011-09-12 Marek Polacek <mpolacek@redhat.com>
27529
27530 * elf/dl-load.c (lose): Add cast to avoid warning.
27531
21fd49a9
UD
275322011-10-07 Ulrich Drepper <drepper@gmail.com>
27533
5a06e643
UD
27534 * po/ca.po: Update from translation team.
27535
684ae515
UD
27536 * inet/getnetgrent_r.c: Hook up nscd.
27537 * nscd/Makefile (routines): Add nscd_netgroup.
27538 (nscd-modules): Add netgroupcache.
27539 (CFLAGS-netgroupcache.c): Define.
27540 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27541 (cache_search): Add const to second parameter.
27542 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27543 INNETGR.
27544 (dbs): Add netgrdb entry.
27545 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27546 (verify_persistent_db): Handle netgrdb.
27547 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27548 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27549 GETFDNETGR.
27550 (netgroup_response_header): Define.
27551 (innetgroup_response_header): Define.
27552 (datahead): Add netgroup_response_header and innetgroup_response_header
27553 elements.
27554 * nscd/nscd.conf: Add entries for netgroup cache.
27555 * nscd/nscd.h (dbtype): Add netgrdb.
27556 (_PATH_NSCD_NETGROUP_DB): Define.
27557 (netgroup_iov_disabled): Declare.
27558 (xmalloc, xcalloc, xrealloc): Move declarations here.
27559 (cache_search): Adjust prototype.
27560 Add netgroup-related prototypes.
27561 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27562 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27563 (__nscd_innetgr): Declare.
27564 * nscd/selinux.c (perms): Use access_vector_t as element type and
27565 add netgroup-related initializers.
27566 * nscd/netgroupcache.c: New file.
27567 * nscd/nscd_netgroup.c: New file.
27568 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27569 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27570 For four parameters use innetgr.
27571 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27572 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27573 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27574 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27575
21fd49a9
UD
27576 * nscd/connections.c (register_traced_file): Don't register file
27577 for disabled databases.
27578
054c0457
UD
275792011-10-06 Ulrich Drepper <drepper@gmail.com>
27580
32b63198
UD
27581 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27582
054c0457
UD
27583 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27584 from tree and freeing node.
27585
64031225
JO
275862011-09-25 Jiri Olsa <jolsa@redhat.com>
27587
27588 * nss/nsswitch.c (__nss_database_lookup): Handle
27589 nss_parse_service_list out of memory case.
27590
0490345c
JO
275912011-09-15 Jiri Olsa <jolsa@redhat.com>
27592
27593 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27594 out of memory case.
27595
3a62d00d
AS
275962011-10-04 Andreas Schwab <schwab@redhat.com>
27597
27598 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27599 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27600 pass it down.
27601 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27602 elf_machine_rela, elf_machine_lazy_rel.
27603 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27604 (ELF_DYNAMIC_DO_REL): Likewise.
27605 (ELF_DYNAMIC_DO_RELA): Likewise.
27606 (ELF_DYNAMIC_RELOCATE): Likewise.
27607 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27608 to ELF_DYNAMIC_DO_REL.
27609 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27610 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27611 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27612 elf_machine_rela.
27613 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27614 skip_ifunc, don't call ifunc function if non-zero.
27615 (elf_machine_rela): Likewise.
27616 (elf_machine_lazy_rel): Likewise.
27617 (elf_machine_lazy_rela): Likewise.
27618 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27619 (elf_machine_lazy_rel): Likewise.
27620 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27621 Likewise.
27622 (elf_machine_lazy_rel): Likewise.
27623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27624 Likewise.
27625 (elf_machine_lazy_rel): Likewise.
27626 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27627 (elf_machine_lazy_rel): Likewise.
27628 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27629 (elf_machine_lazy_rel): Likewise.
27630 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27631 (elf_machine_lazy_rel): Likewise.
27632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27633 (elf_machine_lazy_rel): Likewise.
27634 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27635 (elf_machine_lazy_rel): Likewise.
27636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27637 (elf_machine_lazy_rel): Likewise.
27638
68577918
UD
276392011-09-28 Ulrich Drepper <drepper@gmail.com>
27640
27641 * nss/nss_files/files-init.c (_nss_files_init): Use static
27642 initialization for all the *_traced_file variables.
27643
68822d74
AS
276442011-09-28 Andreas Schwab <schwab@redhat.com>
27645
27646 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27647
2056100b
RM
276482011-09-27 Roland McGrath <roland@hack.frob.com>
27649
27650 [BZ #13226]
27651 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27652
32c76b63
AS
276532011-09-27 Andreas Schwab <schwab@redhat.com>
27654
27655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27656 Reread the line before reparsing it.
27657
bf972c9d
AS
276582011-09-26 Andreas Schwab <schwab@redhat.com>
27659
27660 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27661
e057a1b5
JM
276622011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27663 Maxim Kuvyrkov <maxim@codesourcery.com>
27664 Joseph Myers <joseph@codesourcery.com>
27665
27666 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27667 if needed for __stack_chk_guard.
27668
bc7e1c36
RM
276692011-09-19 Roland McGrath <roland@hack.frob.com>
27670
ecb1482f
RM
27671 * sysdeps/posix/spawni.c (script_execute): Always define it.
27672 It will be optimized away if unused.
27673 (maybe_script_execute): New function.
27674 (__spawni): Call it.
27675
bc7e1c36
RM
27676 * Makerules: Don't include tls.make.
27677 (config-tls): Always set to thread.
27678 * tls.make.c: File removed.
27679
1c3b002b
MF
276802011-09-19 Mike Frysinger <vapier@gentoo.org>
27681
27682 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27683 * config.make.in (CPPFLAGS-config): New substituted variable.
27684
2840865d
UD
276852011-09-15 Ulrich Drepper <drepper@gmail.com>
27686
88738eb6
UD
27687 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27688
cbf645a6 27689 [BZ #13192]
2840865d
UD
27690 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27691 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27692
b402e91a
RM
276932011-09-15 Roland McGrath <roland@hack.frob.com>
27694
27695 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27696 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27697 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27698 (CALL_FAIL): Likewise.
27699 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27700 (CALL_FAIL): Macro removed.
27701 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27702
4c1a1f71
UD
277032011-09-15 Ulrich Drepper <drepper@gmail.com>
27704
27705 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27706 for __FINITE_MATH_ONLY__ == 1.
27707
edc121be
AS
277082011-09-15 Andreas Schwab <schwab@redhat.com>
27709
27710 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27711 __ieee754_sqrt instead of sqrt.
27712 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27713 __ieee754_sqrtf instead of sqrtf.
27714 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27715 __floorf instead of floorf.
27716 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27717 __floorf, __truncf instead of floorf, truncf.
27718
cd205654
UD
277192011-09-14 Ulrich Drepper <drepper@gmail.com>
27720
ee4d0315
UD
27721 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27722
cd205654
UD
27723 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27724 __extern_always_inline.
27725 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27726 32-bit.
27727
48b67d71
AS
277282011-09-14 Andreas Schwab <schwab@redhat.com>
27729
27730 * elf/rtld.c (dl_main): Also relocate in dependency order when
27731 doing symbol dependency testing.
27732
1ae12c75
AS
277332011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27734
27735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27736 Always define `refsym'.
27737
995a80df
AS
277382011-09-13 Andreas Schwab <schwab@redhat.com>
27739
e529793b
AS
27740 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27741 (__FD_ELT): Renamed from __FDELT.
27742 * misc/bits/select2.h (__FD_ELT): Likewise.
27743 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27744 __FD_MASK instead of __FDELT, __FDMASK.
27745 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27746 Likewise.
27747 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27748 Likewise.
27749
52d4fef8
AS
27750 * elf/Makefile (gen-ldd): Fix pattern.
27751
995a80df
AS
27752 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27753 (init_tls): Likewise.
27754
8682f8b0
UD
277552011-09-12 Ulrich Drepper <drepper@gmail.com>
27756
27757 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27758
de82006d
AS
277592011-09-12 Andreas Schwab <schwab@redhat.com>
27760
a7c8e6a1
AS
27761 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27762 `struct cmsghdr *' instead of `void *'.
27763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27764 Likewise.
27765
0f31fe77
AS
277662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27767
27768 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27769 if non-absolute.
27770 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27771 ldd_rewrite_script.
0f31fe77 27772
32b4c839
UD
277732011-09-11 Ulrich Drepper <drepper@gmail.com>
27774
83cd1420
UD
27775 * configure.in: Remove --with-tls option.
27776 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27777 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27778 out in case it is missing.
27779 * sysdeps/ia64/elf/configure.in: Likewise.
27780 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27781 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27782 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27783 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27784 * sysdeps/sh/elf/configure.in: Likewise.
27785 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27786 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27787 * sysdeps/x86_64/elf/configure.in: Likewise.
27788 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27789 * sysdeps/mach/hurd/tls.h: Likewise.
27790
633f745d
UD
27791 [BZ #13067]
27792 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27793
f318beb8
UD
27794 [BZ #13090]
27795 * configure.in: Fix use of AC_INIT.
27796
32b4c839
UD
27797 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27798
3ce1f295
UD
277992011-09-10 Ulrich Drepper <drepper@gmail.com>
27800
bb016596
UD
27801 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27802 __set_errno.
8e58439c
UD
27803 * malloc/hooks.c: Likewise.
27804
aebae053 27805 [BZ #11929]
02d46fc4
UD
27806 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27807 variables statically.
27808 (narenas): Initialize.
27809 (list_lock): Initialize.
bb016596
UD
27810 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27811 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27812 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27813 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27814 Add initializers to main_arena and mp_.
27815 (malloc_state): Remove pagesize member. Change all users to use
27816 GLRO(dl_pagesize).
27817
27818 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27819 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27820 is always initialized.
27821
22a89187
UD
27822 * malloc/malloc.c: Removed unused configurations and dead code.
27823 * malloc/arena.c: Likewise.
27824 * malloc/hooks.c: Likewise.
02d46fc4 27825 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27826
d063d164
UD
27827 * include/tls.h: Removed. USE___THREAD must always be defined.
27828 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27829 * elf/dl-libc.c: Likewise.
27830 * elf/dl-tsd.c: Likewise.
27831 * include/errno.h: Likewise.
27832 * include/netdb.h: Likewise.
27833 * include/resolv.h: Likewise.
27834 * inet/herrno-loc.c: Likewise.
27835 * inet/herrno.c: Likewise.
27836 * malloc/arena.c: Likewise.
27837 * malloc/hooks.c: Likewise.
27838 * malloc/malloc.c: Likewise.
27839 * resolv/res-state.c: Likewise.
27840 * resolv/res_libc.c: Likewise.
27841 * sysdeps/i386/dl-machine.h: Likewise.
27842 * sysdeps/ia64/dl-machine.h: Likewise.
27843 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27844 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27845 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27846 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27847 * sysdeps/sh/dl-machine.h: Likewise.
27848 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27849 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27850 * sysdeps/unix/i386/sysdep.S: Likewise.
27851 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27852 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27854 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27857 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27859 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27861 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27862 * sysdeps/x86_64/dl-machine.h: Likewise.
27863 * tls.make.c: Likewise.
27864
3ce1f295
UD
27865 * configure.in: Remove --with-__thread option. Make tests for
27866 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27867 tls_model attribute fail if no support is available. Remove
27868 USE_IN_LIBIO.
27869 * Makeconfig: Adjust for dropped configure option. All features are
27870 now mandatory.
27871 * Makerules: Likewise.
27872 * Versions.def: Likewise.
27873 * argp/argp-fmtstream.c: Likewise.
27874 * argp/argp-fmtstream.h: Likewise.
27875 * argp/argp-help.c: Likewise.
27876 * assert/assert.c: Likewise.
27877 * config.h.in: Likewise.
27878 * config.make.in: Likewise.
27879 * configure: Likewise.
27880 * configure.in: Likewise.
27881 * csu/Versions: Likewise.
27882 * csu/init.c: Likewise.
27883 * elf/tst-audit2.c: Likewise.
27884 * elf/tst-tls10.c: Likewise.
27885 * elf/tst-tls10.h: Likewise.
27886 * elf/tst-tls11.c: Likewise.
27887 * elf/tst-tls12.c: Likewise.
27888 * elf/tst-tls14.c: Likewise.
27889 * elf/tst-tlsmod11.c: Likewise.
27890 * elf/tst-tlsmod12.c: Likewise.
27891 * elf/tst-tlsmod13.c: Likewise.
27892 * elf/tst-tlsmod13a.c: Likewise.
27893 * elf/tst-tlsmod14a.c: Likewise.
27894 * elf/tst-tlsmod15b.c: Likewise.
27895 * elf/tst-tlsmod16a.c: Likewise.
27896 * elf/tst-tlsmod16b.c: Likewise.
27897 * elf/tst-tlsmod7.c: Likewise.
27898 * elf/tst-tlsmod8.c: Likewise.
27899 * elf/tst-tlsmod9.c: Likewise.
27900 * gmon/gmon.c: Likewise.
27901 * grp/fgetgrent_r.c: Likewise.
27902 * grp/putgrent.c: Likewise.
27903 * hurd/fopenport.c: Likewise.
27904 * include/libc-symbols.h: Likewise.
27905 * include/tls.h: Likewise.
27906 * intl/gettextP.h: Likewise.
27907 * intl/loadinfo.h: Likewise.
27908 * locale/global-locale.c: Likewise.
27909 * locale/localeinfo.h: Likewise.
27910 * mach/devstream.c: Likewise.
27911 * malloc/arena.c: Likewise.
27912 * malloc/set-freeres.c: Likewise.
27913 * misc/err.c: Likewise.
27914 * misc/getttyent.c: Likewise.
27915 * misc/mntent_r.c: Likewise.
27916 * posix/getopt.c: Likewise.
27917 * posix/wordexp.c: Likewise.
27918 * pwd/fgetpwent_r.c: Likewise.
27919 * resolv/Versions: Likewise.
27920 * resolv/res_hconf.c: Likewise.
27921 * shadow/fgetspent_r.c: Likewise.
27922 * shadow/putspent.c: Likewise.
27923 * stdio-common/printf_fphex.c: Likewise.
27924 * stdio-common/tmpfile.c: Likewise.
27925 * stdlib/abort.c: Likewise.
27926 * stdlib/fmtmsg.c: Likewise.
27927 * sunrpc/auth_unix.c: Likewise.
27928 * sunrpc/clnt_perr.c: Likewise.
27929 * sunrpc/clnt_tcp.c: Likewise.
27930 * sunrpc/clnt_udp.c: Likewise.
27931 * sunrpc/clnt_unix.c: Likewise.
27932 * sunrpc/openchild.c: Likewise.
27933 * sunrpc/svc_simple.c: Likewise.
27934 * sunrpc/svc_tcp.c: Likewise.
27935 * sunrpc/svc_udp.c: Likewise.
27936 * sunrpc/svc_unix.c: Likewise.
27937 * sunrpc/xdr.c: Likewise.
27938 * sunrpc/xdr_array.c: Likewise.
27939 * sunrpc/xdr_rec.c: Likewise.
27940 * sunrpc/xdr_ref.c: Likewise.
27941 * sunrpc/xdr_stdio.c: Likewise.
27942
1248c1c4
PB
279432011-09-09 Ulrich Drepper <drepper@gmail.com>
27944
27945 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27946
279472011-07-03 Andreas Jaeger <aj@suse.de>
27948
27949 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27950 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27951 regenerate with gen-libm-tests.pl.
27952
279532010-05-12 Petr Baudis <pasky@suse.cz>
27954
27955 [BZ #11589]
27956 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27957 around j0() zero points by switching to j1().
27958 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27962
f22e1074
UD
279632011-09-09 Ulrich Drepper <drepper@gmail.com>
27964
f19009c1
UD
27965 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27966 instead of 0.
27967 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27968 instead of 0.
f19009c1
UD
27969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27970 Patch in part by Pavel Roskin <proski@gnu.org>.
27971
3f8cc204
UD
27972 [BZ #13138]
27973 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27974 realloc.
27975 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27976 Free memory block if necessary.
27977
f22e1074
UD
27978 [BZ #12847]
27979 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27980 be NULL. Don't lock in this case.
27981
0a2349f9
RM
279822011-09-09 Roland McGrath <roland@hack.frob.com>
27983
27984 * elf/elf.h (ELFOSABI_GNU): New macro.
27985 (ELFOSABI_LINUX): Define to that.
27986
f3cdd467
DZ
279872011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27988
27989 * string/strncat.c (strncat): Undef the symbol in case it has been
27990 defined in bits/string.h.
27991
74718d13
UD
279922011-09-09 Ulrich Drepper <drepper@gmail.com>
27993
633e9e0f
UD
27994 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27995
0a2349f9 27996 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27997 link map.
27998
f9924780
AJ
279992011-08-17 Andreas Jaeger <aj@suse.de>
28000
28001 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28002
7f5517aa
PP
280032011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28004 Ian Lance Taylor <iant@google.com>
28005
28006 * math/libm-test.inc (lround_test): New testcase.
28007 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28008
762011fe
UD
280092011-09-08 Ulrich Drepper <drepper@gmail.com>
28010
92963737
UD
28011 * Makefile: Remove support for automatic cvs check-ins.
28012 * Makerules: Likewise.
28013 * config.make.in: Likewise.
28014 * configure.in: Likewise.
28015 * intl/Makefile: Likewise.
28016 * locale/Makefile: Likewise.
28017 * po/Makefile: Likewise.
28018 * posix/Makefile: Likewise.
28019 * sysdeps/gnu/Makefile: Likewise.
28020 * sysdeps/mach/hurd/Makefile: Likewise.
28021 * sysdeps/sparc/sparc32/Makefile: Likewise.
28022
b0727fd8
JS
28023 [BZ #13118]
28024 * posix/Makefile (bug-regex32-ENV): Define.
28025 Patch by John Stanley <jpsinthemix@verizon.net>.
28026
a0f33f99
UD
28027 * misc/Makefile (headers): Add bits/select2.h.
28028 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28029 * misc/bits/select2.h: New file.
28030 * include/bits/select2.h: New file.
28031 * debug/Makefile (routines): Add fdelt_chk.
28032 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28033 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28034 FD_ISSET.
28035 * debug/fdelt_chk.c: New file.
28036
762011fe
UD
28037 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28038 * wcsmbs/test-wmemcmp.c: Likewise.
28039 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28040 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28041
280422011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28043
28044 * string/Makefile (strop-tests): Add memcmp.
28045 * string/test-wmemcmp.c: New file.
28046 * string/test-memcmp.c: Add wmemcmp support.
28047
7f513ec8
RM
280482011-09-08 Roland McGrath <roland@hack.frob.com>
28049
0442afb4
RM
28050 [BZ #13153]
28051 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28052 2011-07-19 change.
28053
7f513ec8
RM
28054 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28055 garbage value in a __mach_port_mod_refs call in the cases of the
28056 task-self and thread-self ports.
28057
a12b2239
ST
280582011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28059
28060 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28061
610f9ab4
AS
280622011-09-08 Andreas Schwab <schwab@redhat.com>
28063
7f513ec8 28064 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28065
48882a1a
LD
280662011-09-07 Ulrich Drepper <drepper@gmail.com>
28067
b49865be
UD
28068 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28069
fdc86bc9
UD
28070 * elf/dl-libc.c (dlerror_run): Pass back error code from
28071 dl_catch_error.
28072
c966526a
UD
28073 [BZ #13123]
28074 * elf/dl-load.c (lose): Free l_origin if it is valid.
28075
48882a1a
LD
28076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28077 names.
28078 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28079 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28080 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28081 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28082 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28083 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28084
77a2a8b4
AZ
280852011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28086
28087 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28088 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28089 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28090 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28091 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28092 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28093 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28094 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28095 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28096 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28097
24f579d8
AM
280982011-08-15 Alan Modra <amodra@gmail.com>
28099
28100 [BZ #13092]
28101 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28102 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28103 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28104 ppc_mcount to static-only-routines.
28105 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28106 __mcount_internal.
28107 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28108 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28109
3d4837df
UD
281102011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28111
28112 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28113 for finite and infinity parameters.
28114
22700377
WS
281152011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28116
28117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28118 and add nop instructions for throughput optimization.
28119 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28120
5025581e
WS
281212011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28122
28123 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28124 aligned copy for power7 with vector-scalar instructions.
28125 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28126
08a300c9
L
281272011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28128
28129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28130 AVX check.
28131
59178ef9
AS
281322011-09-07 Andreas Schwab <schwab@redhat.com>
28133
28134 [BZ #13144]
28135 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28136 last change.
28137
e38ba7ab
UD
281382011-09-07 Ulrich Drepper <drepper@gmail.com>
28139
28140 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28141 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28142 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28143 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28144 clock_gettime.
28145
d53a73ac
UD
281462011-09-06 Ulrich Drepper <drepper@gmail.com>
28147
fc8bffcc
UD
28148 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28149 Forgot to demangle the pointer.
28150
ceaa0c5d
UD
28151 * sysdeps/i386/sysdep.h: Define atom_text_section.
28152 * sysdeps/x86_64/sysdep.h: Likewise.
28153 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28154 section with atom_text_section.
28155 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28157 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28159 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28160
a77d3c17
UD
28161 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28162 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28163 already be defined. Change to take two parameters and don't assign
28164 result to variable. Adjust all users.
28165 Define INTERNAL_GETTIME if not already defined.
28166 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28167 call.
28168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28169 HAVE_CLOCK_GETTIME_VSYSCALL.
28170 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28171
d53a73ac
UD
28172 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28173 gettimeofday vsyscall, just use time.
28174
a8f84144
AS
281752011-09-06 Andreas Schwab <schwab@redhat.com>
28176
28177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28178 <errno.h>.
28179
ef606249
UD
281802011-09-06 Ulrich Drepper <drepper@gmail.com>
28181
28182 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28183 syscall on x86-64.
28184 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28185 syscall.
28186 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28187 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28188 syscall if possible.
28189
6585cb60
UD
281902011-09-05 Ulrich Drepper <drepper@gmail.com>
28191
28192 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28193 e_ident. Don't pass to find_mapsXX.
28194 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28195
a5f524e4
LD
281962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28197
28198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28199 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28200 * sysdeps/x86_64/multiarch/strchr.S: Update.
28201 Check bit_slow_BSF bit.
28202 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28203 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28204 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28205
554881ef
UD
282062011-09-05 Ulrich Drepper <drepper@gmail.com>
28207
d96de963
UD
28208 [BZ #13134]
28209 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28210 before glibc 2.15.
28211 (tryshell): Define.
28212 (__spawni): Change last parameter to be flag. Test
28213 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28214 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28215 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28216 * posix/spawni.c: Likewise.
28217 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28218 * posix/spawnp.c: Likewise. Change normal version to use
28219 SPAWN_XFLAGS_USE_PATH.
28220 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28221 SPAWN_XFLAGS_TRY_SHELL.
28222
d48e5868
UD
28223 [BZ #13150]
28224 * posix/glob.h: Remove gcc 1.x support.
28225
554881ef
UD
28226 [BZ #13068]
28227 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28228
693fb948
LD
282292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28230
28231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28232 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28233 strrchr-sse2-bsf
28234 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28235 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28236 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28237 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28238 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28239 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28240
1b48c537
UD
282412011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28242
49d42c37
UD
28243 * sysdeps/x86_64/wcscmp.S: New file.
28244
1b48c537
UD
28245 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28246 wcscmp-c wcscmp-sse2
28247 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28248 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28249 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28250 * wcsmbs/wcscmp.c: Allow renaming.
28251
15c95c5d
DM
282522011-09-05 David S. Miller <davem@davemloft.net>
28253
28254 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28255 stack slot, rather than the struct return pointer slot.
28256 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28257 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28259 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28260
2f0ad8f3
UD
282612011-09-05 Ulrich Drepper <drepper@gmail.com>
28262
d88ae418
UD
28263 * po/ja.po: Update from translation team.
28264
2f0ad8f3
UD
28265 [BZ #13144]
28266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28267 kernel in 64-bit binaries.
28268
5f4318d1
DM
282692011-09-01 David S. Miller <davem@davemloft.net>
28270
28271 * elf/elf.h (HWCAP_SPARC_*): Move to..
28272 * sysdeps/sparc/sysdep.h: this new file and add new values.
28273 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28274 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28275 _DL_HWCAP_COUNT to 24.
28276 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28277 entries.
28278 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28279 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28280 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28282 instead of magic constants.
28283 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28284
3ba57516
DM
282852011-08-31 David S. Miller <davem@davemloft.net>
28286
28287 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28289 Reimplement to do errno handling inline.
28290 (SYSCALL_ERROR_HANDLER): New macro.
28291 (__SYSCALL_STRING): Do not do errno handling in asm.
28292 (__CLONE_SYSCALL_STRING): Delete.
28293 (__INTERNAL_SYSCALL_STRING): Delete.
28294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28295 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28296 (PSEUDO): Reimplement to do errno handling inline.
28297 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28298 (SYSCALL_ERROR_HANDLER): New macro.
28299 (__SYSCALL_STRING): Do not do errno handling in asm.
28300 (__CLONE_SYSCALL_STRING): Delete.
28301 (__INTERNAL_SYSCALL_STRING): Delete.
28302 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28303 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28304 i386.
28305 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28306 (inline_syscall*): Add 'err' argument.
28307 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28308 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28309 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28310 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28311
28312 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28313 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28314
2bc17433
AS
283152011-08-30 Andreas Schwab <schwab@redhat.com>
28316
28317 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28318
fbeb5f4d
JO
283192011-08-29 Jiri Olsa <jolsa@redhat.com>
28320
28321 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28322 directive.
28323
ad69cc26
DM
283242011-08-24 David S. Miller <davem@davemloft.net>
28325
28326 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28327
39dd69df
AS
283282011-08-24 Andreas Schwab <schwab@redhat.com>
28329
28330 * elf/Makefile: Add rules to build and run unload8 test.
28331 * elf/unload8.c: New file.
28332 * elf/unload8mod1.c: New file.
28333 * elf/unload8mod1x.c: New file.
28334 * elf/unload8mod2.c: New file.
28335 * elf/unload8mod3.c: New file.
28336
28337 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28338 it wasn't used.
28339
2c0b250a
DM
283402011-08-23 David S. Miller <davem@davemloft.net>
28341
28342 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28343 subtract stack bias.
28344 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28345 %sp not %fp in calculations.
28346 (_JMPBUF_UNWINDS_ADJ): Likewise.
28347
22044b48
DM
28348 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28349 (aio_suspend): Call it to force an exception region around the
28350 AIO_MISC_WAIT() invocation.
28351
2cae4995
AS
283522011-08-23 Andreas Schwab <schwab@redhat.com>
28353
28354 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28355 backslash.
28356
873a772e
AJ
283572011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28358
28359 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28360 protection macro.
28361 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28362 and <dl-machine.h>.
28363 (Elf64_FuncDesc): Remove.
28364
25ad0df1
DM
283652011-08-22 David S. Miller <davem@davemloft.net>
28366
28367 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28368 sigaltstack check, add missing cfi directives.
28369 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28370 missing cfi directives, and sigaltstack handling.
28371
e888bcbe
AS
283722011-08-16 Andreas Schwab <schwab@redhat.com>
28373
28374 [BZ #11724]
28375 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28376 object is seen twice.
28377 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28378
28379 * elf/Makefile (distribute): Add tst-initorder2.c.
28380 (tests): Add tst-initorder2.
28381 (modules-names): Add tst-initorder2a tst-initorder2b
28382 tst-initorder2c tst-initorder2d. Add rules to build them.
28383 ($(objpfx)tst-initorder2.out): New rule.
28384 * elf/tst-initorder2.c: New file.
28385 * elf/tst-initorder2.exp: New file.
28386
87162f46
AS
283872011-08-22 Andreas Schwab <schwab@redhat.com>
28388
70538b7f
AS
28389 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28390
f55ffe58
AS
28391 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28392 dependencies back to end of function.
28393
87162f46
AS
28394 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28395 $(elfobjdir)/ld.so.
28396
91b392a4
UD
283972011-08-21 Ulrich Drepper <drepper@gmail.com>
28398
28399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28400 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28402 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28403 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28404 of __vdso_gettimeofday.
28405 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28406 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28407 attribute_hidden.
28408 (_libc_vdso_platform_setup): Remove initialization of
28409 __vdso_gettimeofday and __vdso_time.
28410
5c43483f
UD
284112011-08-20 Ulrich Drepper <drepper@gmail.com>
28412
775a77e7
UD
28413 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28414 and fgetc_unlocked.
28415 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28416 getc_unlocked.
89f447ed 28417
49c74ba9
UD
28418 * elf/dl-open.c (add_to_global): Report additions to the global scope
28419 for LD_DEBUG=scopes.
28420 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28421 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28422
5c43483f
UD
28423 [BZ #13114]
28424 * stdio-common/Makefile (tests): Add bug24.
28425 * stdio-common/bug24.c: New file.
28426
a101b025
AJ
284272011-08-19 Andreas Jaeger <aj@suse.de>
28428
28429 [BZ #13114]
28430 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28431 non-existant file when using close-on-exec mode.
28432
c88f1766
UD
284332011-08-20 Ulrich Drepper <drepper@gmail.com>
28434
0276a718
UD
28435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28436 the very first instruction.
28437
c88f1766
UD
28438 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28439 the CFI state in the end.
28440 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28441 inclusion of dl-trampoline.h.
28442 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28443
51ccffa0
AS
284442011-08-19 Andreas Schwab <schwab@redhat.com>
28445
94d7165f
AS
28446 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28447 expectations for long double.
28448
51ccffa0
AS
28449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28450 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28451
fd708658 284522011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28453
28454 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28455 artificual limit depends upon the system page size.
28456
44f0a71e
UD
284572011-08-17 Ulrich Drepper <drepper@gmail.com>
28458
28459 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28460 * resolv/Makefile: Define CFLAGS-libresolv.
28461
8de79a24
AS
284622011-08-17 Andreas Schwab <schwab@redhat.com>
28463
28464 * nss/makedb.c (compute_tables): Make variables used in nested
28465 function static.
28466
27724598
UD
284672011-08-17 Ulrich Drepper <drepper@gmail.com>
28468
c5305d88
UD
28469 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28470 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28471 if buffer was too small.
28472
27724598
UD
28473 * elf/pldd.c (main): Attach to all threads in the process.
28474 Rewrite /proc handling to use *at functions.
28475
076fe015
UD
284762011-08-16 Ulrich Drepper <drepper@gmail.com>
28477
174baab3
UD
28478 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28479 specifies first scope to show.
28480 (dl_open_worker): Update callers. Move printing scope of new
28481 object to before the relocation.
44f0a71e 28482 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28483 * sysdeps/generic/ldsodefs.h: Update declaration.
28484
076fe015
UD
28485 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28486 string for the scope number.
28487
a60df2c3
UD
284882011-08-14 Ulrich Drepper <drepper@gmail.com>
28489
28490 * nscd/servicescache.c (cache_addserv): Make sure written is always
28491 initialized.
28492
5e4287d1
RM
284932011-08-14 Roland McGrath <roland@hack.frob.com>
28494
85ae0589
RM
28495 * sysdeps/i386/i486/bits/atomic.h
28496 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28497 statement expression, so as to suppress "set but not used" warning.
28498 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28499
69f63097
RM
28500 * string/strncat.c (STRNCAT): Use prototype definition.
28501
675456ef
RM
28502 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28503 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28504 -Iprograms here.
28505 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28506 (localedef-modules): Add localedef.
28507 (locale-modules): Add locale.
28508
5e4287d1
RM
28509 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28510 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28511 to avoid a warning.
28512
9c96ff23
DM
285132011-08-14 David S. Miller <davem@davemloft.net>
28514
28515 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28516 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28517
f9ddf089
UD
285182011-08-13 Ulrich Drepper <drepper@gmail.com>
28519
44f0a71e 28520 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28521 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28522 * elf/rtld.c (dl_main): Set l_name of vDSO.
28523 Call _dl_show_scope when DL_DEBUG_SCOPES.
28524 (process_dl_debug): Recognize scopes flag and also set it for all.
28525 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28526 Declare _dl_show_scope.
28527
1dc27704
UD
28528 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28529 (do_dlopen): Pass caller_dlopen to dl_open.
28530 (__libc_dlopen_mode): Initialize caller_dlopen.
28531
f9ddf089
UD
28532 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28533 of libc. Make tolower call locale-independent. Optimize a bit by
28534 using isdigit instead of isalnum.
28535 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28536
9ac533d3
UD
285372011-08-12 Ulrich Drepper <drepper@gmail.com>
28538
28539 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28540 was a dependency or dynamically loaded.
28541
89edf2e9
UD
285422011-08-11 Ulrich Drepper <drepper@gmail.com>
28543
8e999d29
UD
28544 * intl/l10nflist.c: Allow architecture-specific pop function.
28545 * sysdeps/x86_64/l10nflist.c: New file.
28546
89edf2e9
UD
28547 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28548 classification.
28549
14d96785
AS
285502011-08-10 Andreas Schwab <schwab@redhat.com>
28551
28552 * include/dirent.h: Add libc_hidden_proto for scandirat and
28553 scandirat64. Don't declare __scandirat64.
28554 * dirent/scandirat.c: Add libc_hidden_def.
28555 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28556 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28557
6761ac04
DM
285582011-08-10 David S. Miller <davem@davemloft.net>
28559
28560 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28561 enum.
28562 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28564 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28565
c55fbd1e
UD
285662011-08-09 Ulrich Drepper <drepper@gmail.com>
28567
28568 * Versions.def [libc]: Add GLIBC_2.15.
28569 * dirent/Makefile (routines): Add scandirat and scandirat64.
28570 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28571 GLIBC_2.15.
28572 * dirent/dirent.h: Declare scandirat and scandirat64.
28573 * dirent/scandirat.c: New file.
28574 * dirent/scandirat64.c: New file.
28575 * sysdeps/wordsize-64/scandirat.c: New file.
28576 * sysdeps/wordsize-64/scandirat64.c: New file.
28577 * dirent/opendir.c: Define opendirat.
28578 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28579 using scandirat.
28580 * dirent/scandir64.c: Adjust for scandir.c change.
28581 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28582 __scandirat64, and __scandir_cancel_handler.
28583 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28584 additional parameter and use openat instead of open (outside of ld.so).
28585 Add new __opendir as wrapper around __opendirat.
28586 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28587 here without requiring old scandirat implementation.
28588
879165f2
UD
285892011-08-08 Ulrich Drepper <drepper@gmail.com>
28590
28591 * dirent/scandir.c (cancel_handler): Renamed to
28592 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28593 defined. Adjust users.
28594 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28595 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28596
cb7e923b
UD
285972011-08-04 Ulrich Drepper <drepper@gmail.com>
28598
16292edd
UD
28599 * string/test-string.h (IMPL): Use __STRING to expand name and then
28600 stringify it.
28601
cb7e923b
UD
28602 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28603 of cleanups.
28604
cff82933
LD
286052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28606
28607 * string/Makefile: Update.
28608 (strop-tests): Append strncat.
28609 * string/test-wcscmp.c: New file.
28610 New comprehensive test for wcscmp.
28611 * string/test-strcmp.c: Update.
28612 (WIDE): New define.
28613
9be9bfcc
AS
286142011-07-22 Andreas Schwab <schwab@redhat.com>
28615
28616 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28617 line.
28618
2e96f1c7
AS
286192011-07-26 Andreas Schwab <schwab@redhat.com>
28620
28621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28622 encoding to ACE if AI_IDN.
28623
85188888
JJ
286242011-08-01 Jakub Jelinek <jakub@redhat.com>
28625
28626 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28627 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28628
5fa16e9b
LD
286292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28630
28631 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28632 Fix overflow bug in strncat.
28633 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28634
28635 * string/test-strncat.c: Update.
28636 Add new tests for checking overflow bugs.
28637
286382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28639
28640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28641 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28642 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28643 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28644 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28645 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28646 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28647 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28648 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28649
28650 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28651 (USE_AS_STRCAT): Define.
28652 Add strcat and strncat support.
28653 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28654
8c1a459f
AS
286552011-07-25 Andreas Schwab <schwab@redhat.com>
28656
28657 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28658 __n bigger than INT_MAX+1.
28659 (__strncmp_g): Likewise.
28660
bba33c28
UD
286612011-07-23 Ulrich Drepper <drepper@gmail.com>
28662
798be72d
UD
28663 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28664 * libio/stido.h: Likewise.
28665
8accd4dc
UD
28666 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28667 (AF_NFC): Define.
28668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28669 (AF_NFC): Define.
28670
cbff0d96
UD
28671 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28673 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28674 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28676
9191c04a
UD
28677 [BZ #13021]
28678 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28679 installed.
28680
bba33c28
UD
28681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28682 typo.
28683 (_dl_x86_64_save_sse): Likewise.
28684
90f139dd
UD
286852011-07-22 Ulrich Drepper <drepper@gmail.com>
28686
1aae088a
UD
28687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28688 OSXSAVE.
28689 (_dl_x86_64_save_sse): Likewise.
28690
8e2045f5
UD
28691 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28692
90f139dd
UD
28693 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28694
1d002f25
AS
286952011-07-21 Andreas Schwab <schwab@redhat.com>
28696
28697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28698 change.
28699 (_dl_x86_64_save_sse): Use correct AVX check.
28700
21137f89
UD
287012011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28702
28703 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28704 bug in strncpy/strncat.
28705 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28706
a65c0b7a
UD
287072011-07-21 Ulrich Drepper <drepper@gmail.com>
28708
28709 * string/tester.c (test_strcat): Add tests for different alignments
28710 of source and destination.
28711 (test_strncat): Likewise.
28712
6986b98a
UD
287132011-07-20 Ulrich Drepper <drepper@gmail.com>
28714
90bb2039
UD
28715 [BZ #12852]
28716 * posix/glob.c (glob): Check passed in values before using them in
28717 expressions to avoid some overflows.
28718 (glob_in_dir): Likewise.
28719
5644ef54
UD
28720 [BZ #13007]
28721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28722 check for AVX enablement so that we don't crash with old kernels and
28723 new hardware.
28724 * elf/tst-audit4.c: Add same checks here.
28725 * elf/tst-audit6.c: Likewise.
28726
28727 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28728
bfc9dc9b
AS
287292011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28730
28731 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28732
702e64bb
UD
287332011-07-20 Ulrich Drepper <drepper@gmail.com>
28734
28735 * po/cs.po: Update from translation team.
28736 * po/bg.po: Likewise.
28737
295e904f
MP
287382011-07-12 Marek Polacek <mpolacek@redhat.com>
28739
28740 * misc/sys/cdefs.h: Add support for const attribute.
28741 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28742 to gnu_dev_{major,minor,makedev} functions.
28743
3ff94596
MP
287442011-07-20 Marek Polacek <mpolacek@redhat.com>
28745
28746 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28747
28b59fca
AS
287482011-07-20 Andreas Schwab <schwab@redhat.com>
28749
28750 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28751 strlen results.
28752
19df733e
AK
287532011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28754
28755 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28756 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28757 register in order to avoid conflicts with the soft frame pointer
28758 being held in r11 when necessary.
28759 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28760 (INTERNAL_VSYSCALL_NCS): Likewise.
28761
c8835729
MP
287622011-07-14 Marek Polacek <mpolacek@redhat.com>
28763
28764 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28765 * elf/dl-fini.c (_dl_fini): Adjust caller.
28766 * elf/dl-close.c (_dl_close_worker): Likewise.
28767 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28768
b902330c
MP
287692011-07-15 Marek Polacek <mpolacek@redhat.com>
28770
8991e135
MP
28771 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28772 "aux_cache->nlibs < 0".
28773
b902330c
MP
28774 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28775 in the reload-count case.
28776
99710781
LD
287772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28778
28779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28780 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28781 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28782 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28783 * sysdeps/x86_64/multiarch/strcat.S: New file.
28784 * sysdeps/x86_64/multiarch/strncat.S: New file.
28785 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28786 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28787 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28788 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28789 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28790 (USE_AS_STRCAT): Define.
28791 Add strcat and strncat support.
28792 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28793 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28794 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28795 * string/strncat.c: Update.
28796 (USE_AS_STRNCAT): Define.
28797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28798 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28799 and i7.
28800 * sysdeps/x86_64/multiarch/init-arch.h
28801 (bit_Prefer_PMINUB_for_stringop): New.
28802 (index_Prefer_PMINUB_for_stringop): Likewise.
28803 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28804 bit_Prefer_PMINUB_for_stringop.
28805
7dc6bd90
UD
288062011-07-19 Ulrich Drepper <drepper@gmail.com>
28807
28808 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28809 buffer64.
28810 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28811 of casting of buffer.
28812 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28813 buffer32 and buffer64.
28814 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28815 writes instead of casting of buffer.
28816 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28817 buffer32.
28818 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28819 casting of buffer.
28820
e0e72284
AS
288212011-07-19 Andreas Schwab <schwab@redhat.com>
28822
28823 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28824
feb1eb0b
UD
288252011-07-19 Ulrich Drepper <drepper@gmail.com>
28826
28827 * nscd/nscd.c (termination_handler): Don't do anything for a database
28828 if it has not yet been initialized.
28829
298711ff
UD
288302011-07-18 Ulrich Drepper <drepper@gmail.com>
28831
28832 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28833
288342011-07-15 Marek Polacek <mpolacek@redhat.com>
28835
28836 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28837
f9d68389
UD
288382011-07-18 Ulrich Drepper <drepper@gmail.com>
28839
28840 * po/nl.po: Update from translation team.
28841 * po/sv.po: Likewise.
28842
db290cf5
RM
288432011-07-16 Roland McGrath <roland@hack.frob.com>
28844
28845 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28846 now disallowed by GCC.
5c550700 28847
fd5e21c7
RM
28848 * configure.in (use-default-link): Default to yes if a test -shared
28849 link meets our qualifications.
28850 * configure: Regenerated.
28851
5c550700
RM
28852 * config.make.in (output-format): New variable.
28853 * configure.in: Check for ld --print-output-format support.
28854 * configure: Regenerated.
28855 * Makerules ($(common-objpfx)format.lds)
28856 [$(output-format) != unknown]: Just use $(output-format),
28857 instead of the linker-script munging.
28858
9fa2c032
RM
288592011-07-14 Roland McGrath <roland@hack.frob.com>
28860
a6928d51
RM
28861 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28862 of $(common-objpfx)shlib.lds.
28863 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28864
661607b3
RM
28865 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28866 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28867
9fa2c032
RM
28868 * configure.in (-z relro check): Adjust test code to add a large
28869 writable data section after it.
28870 * configure: Regenerated.
28871
defe9061
RM
288722011-07-11 Roland McGrath <roland@hack.frob.com>
28873
28874 * configure.in (-z relro check): Fix test code to make the variable
28875 truly const.
28876 * configure: Regenerated.
28877
319b9ad4
UD
288782011-07-11 Ulrich Drepper <drepper@gmail.com>
28879
28880 * nscd/nscd.h (struct traced_file): Define.
28881 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28882 elements. Add traced_files.
28883 (inotify_fd): Declare.
28884 (register_traced_file): Declare.
28885 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28886 (inotify_fd): Export.
28887 (resolv_conf_descr): Remove.
28888 (nscd_init): Move inotify descriptor creation to main.
28889 Don't register files for notification here.
28890 (register_traced_file): New function.
28891 (invalidate_cache): Don't use reset_res to determine whether to call
28892 res_init, go through the list of registered files.
28893 (main_loop_poll): The inotify descriptors are now stored in the
28894 structures for the traced files.
28895 (main_loop_epoll): Likewise
28896 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28897 to __nss_disable_nscd.
28898 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28899 for a database anymore. Check the records for all the registered
28900 files instead.
28901 * nss/Makefile (libnss_files-routines): Add files-init.
28902 (libnss_db-routines): Add db-init.
28903 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28904 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28905 * nss/nss_db/db-init.c: New file.
28906 * nss/nss_files/files-init.c: New file.
28907 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28908 __nss_lookup_function.
28909 (__nss_lookup_function): Call nss_load_library.
28910 (nss_load_all_libraries): New function.
28911 (__nss_disable_nscd): Take parameter with callback function for files
28912 to register. Set is_nscd. Load all the DSOs for the NSS modules
28913 used for the cached services.
28914 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28915 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28916 options for features to all the files in nscd.
28917
28918 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28919
23bee3e8
RM
289202011-07-10 Roland McGrath <roland@hack.frob.com>
28921
28922 * csu/elf-init.c (__libc_csu_init): Comment typo.
28923
46a5b7f0
UD
289242011-07-09 Ulrich Drepper <drepper@gmail.com>
28925
28926 * po/pl.po: Update from translation team.
28927 * po/ja.po: Likewise.
28928 * po/ru.po: Likewise.
28929 * po/ko.po: Likewise.
28930 * po/fr.po: Likewise.
28931
d30cf5bb
RM
289322011-07-09 Roland McGrath <roland@hack.frob.com>
28933
113ddea4
RM
28934 * configure.in (.ctors/.dtors header and trailer check):
28935 Use an empirical test on a built program.
28936 * configure: Regenerated.
28937
574920b4
RM
28938 * configure.in (-z relro check): Use an empirical test on a built DSO.
28939 Detect, but do not require, on ia64.
28940 * configure: Regenerated.
28941
d30cf5bb
RM
28942 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28943 Update tests that use readelf to use $READELF instead.
28944 * configure: Regenerated.
28945
8538fdb3
UD
289462011-07-08 Ulrich Drepper <drepper@gmail.com>
28947
28948 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28949 if the result is not used.
28950
04d08991
AJ
289512011-07-05 Andreas Jaeger <aj@suse.de>
28952
28953 [BZ#9696]
28954 * stdlib/tst-strtod.c: Add testcase.
28955
de283087
AD
289562011-07-07 Ulrich Drepper <drepper@gmail.com>
28957
4e5f31c8 28958 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28959 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28960 The latter has a higher limit. Take additional parameter to pass to
28961 the new function.
28962 (__pathconf): Pass file to __statfs_link_max.
28963 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28964 __statfs_link_max.
28965 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28966 __statfs_link_max.
28967
de283087
AD
28968 [BZ #12868]
28969 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28970 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28971 Handle Lustre.
28972 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28973 (__statfs_filesize_max): Likewise.
28974 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28975
c75fa153
AJ
289762011-07-05 Andreas Jaeger <aj@suse.de>
28977
28978 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28979
1a544854
UD
289802011-07-06 Marek Polacek <mpolacek@redhat.com>
28981
28982 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28983 `status' variable.
28984 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28985 Likewise.
28986
6f0eec67
UD
289872011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28988
28989 * Makefile (strop-tests): Add strncat.
28990 * string/test-strncat.c: New file.
28991
aae30307
UD
289922011-06-30 Marek Polacek <mpolacek@redhat.com>
28993
28994 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28995
c0cfb5eb
UD
289962011-06-21 Andreas Jaeger <aj@suse.de>
28997
28998 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28999 Copy rule from iconvdata/Makefile.
29000
01636b21
UD
290012011-07-06 Ulrich Drepper <drepper@gmail.com>
29002
29003 [BZ #12922]
29004 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29005 but no long options are defined, just return 'W'.
29006
9895c8bc
UD
290072011-06-22 Marek Polacek <mpolacek@redhat.com>
29008
29009 [BZ #9696]
29010 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29011
5d4cf042
UD
290122011-07-06 Ulrich Drepper <drepper@gmail.com>
29013
29014 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29015 netgroups to read.
960e5535 29016 (innetgr): Likewise.
5d4cf042 29017
751eb97e
RM
290182011-07-05 Roland McGrath <roland@hack.frob.com>
29019
29020 * config.make.in (install_root): Default to $(DESTDIR).
29021
f15f1e45
UD
290222011-07-05 Ulrich Drepper <drepper@gmail.com>
29023
29024 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29025
4e34ac6a
RM
290262011-07-02 Roland McGrath <roland@hack.frob.com>
29027
5e9b6af4
RM
29028 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29029
84f9ea0f
RM
29030 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29031 containing directory rather than embedding absolute directory names.
29032
ea5ee9f7
RM
29033 * scripts/check-local-headers.sh: Rewritten using awk.
29034 Match by word, not by line. Print error messages for matches.
29035 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29036
1b74661a
RM
29037 * Makerules [shlib-lds-flags empty]:
29038 ($(common-objpfx)libc_pic.opts): New target.
29039 ($(common-objpfx)libc_pic.os.clean): New target.
29040 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29041
29042 * config.make.in (OBJCOPY): New variable.
29043 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29044 * configure: Regenerated.
29045
f781ef40
RM
29046 * config.make.in (use-default-link): New variable.
29047 * configure.in (use_default_link): Grok --with-default-link to set it.
29048 * configure: Regenerated.
29049 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29050 (shlib-lds, shlib-lds-flags): Define to empty.
29051
2d4fa81e
RM
29052 * Makerules (shlib-lds): New variable.
29053 (shlib-lds-flags): New variable.
29054 (build-shlib, build-moduile, build-module-asneeded): Use it.
29055 ($(common-objpfx)libc.so): Use $(shlib-lds).
29056 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29057 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29058
31fffa6b
RM
29059 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29060 DT_FLAGS/DT_FLAGS_1 with zero flags.
29061
4e34ac6a
RM
29062 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29063 linker script munging.
29064
fcfc776b
UD
290652011-07-02 Ulrich Drepper <drepper@gmail.com>
29066
29067 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29068 as 128-bit value.
29069 * crypt/sha512.c (sha512_process_block): Perform total addition using
29070 128-bit if possible.
29071 (__sha512_finish_ctx): Likewise.
29072 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29073 as 64-bit value.
29074 * crypt/sha256.c (SWAP64): Define.
29075 (sha256_process_block): Perform total addition using 64-bit if
29076 possible.
29077 (__sha256_finish_ctx): Likewise.
29078
99231d9a
UD
290792011-07-01 Ulrich Drepper <drepper@gmail.com>
29080
29081 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29082 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29083 * nscd/hstcache.c (cache_addhst): Likewise.
29084 * nscd/grpcache.c (cache_addgr): Likewise.
29085 * nscd/aicache.c (addhstaiX): Likewise
29086 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29087
445b4a53
TK
290882011-07-01 Thorsten Kukuk <kukuk@suse.de>
29089
29090 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29091 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29092 * nscd/hstcache.c (cache_addhst): Likewise.
29093 * nscd/grpcache.c (cache_addgr): Likewise.
29094 * nscd/aicache.c (addhstaiX): Likewise
29095
6d4d8e8e
AS
290962011-07-01 Andreas Schwab <schwab@redhat.com>
29097
29098 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29099 domain only when needed.
29100
89f654c5
AS
291012011-06-30 Andreas Schwab <schwab@redhat.com>
29102
29103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29104 is always restored.
29105
cf3b23ff
UD
291062011-06-29 Ulrich Drepper <drepper@gmail.com>
29107
29108 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29109 are re-adding the entry.
29110 * nscd/servicescache.c (cache_addserv): Likewise.
29111
751626f9
AJ
291122011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29113
29114 * sysdeps/generic/dl-irel.h: fix protection against multiple
29115 inclusions.
29116 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29117
9113ea1f
UD
291182011-06-28 Ulrich Drepper <drepper@gmail.com>
29119
5c0b8d90
UD
29120 [BZ #12935]
29121 * malloc/memusage.sh: Fix quoting in message.
29122 * debug/xtrace.sh: Likewise.
29123
9113ea1f
UD
29124 * configure.in: Remove support for --experimental-malloc option, make
29125 it the default.
29126 * config.make.in: Likewise.
29127 * malloc/Makefile: Likewise.
29128
a4172181
AS
291292011-06-27 Andreas Schwab <schwab@redhat.com>
29130
29131 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29132 two-byte characters.
29133
78a7eee7
RM
291342011-06-27 Roland McGrath <roland@hack.frob.com>
29135
62bede13
RM
29136 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29137 AC_CACHE_CHECK invocation.
29138 * configure: Regenerated.
29139
78a7eee7
RM
29140 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29141
5ce33a62
UD
291422011-06-27 Ulrich Drepper <drepper@gmail.com>
29143
034807a9
UD
29144 [BZ #12350]
29145 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29146 bit from old_res_options.
29147
4902da17
UD
29148 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29149
5ce33a62
UD
29150 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29151 value type for setfct.
29152
c2344f56
L
291532011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29154
29155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29156 __gettimeofday instead of gettimeofday.
29157
68468076
UD
291582011-06-26 Ulrich Drepper <drepper@gmail.com>
29159
29160 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29161
acb0d739
L
291622011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29163
29164 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29165
29166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29167 info.
29168
8912479f
L
291692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29170
29171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29172 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29173 strcpy-sse2-unaligned strncpy-sse2-unaligned
29174 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29175 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29176 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29177 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29178 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29179 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29180 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29181 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29182 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29183 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29184 (STRCPY): Support SSE2 and SSSE3 versions.
29185
d5495a11
UD
291862011-06-24 Ulrich Drepper <drepper@gmail.com>
29187
29188 [BZ #12874]
29189 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29190 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29191 kernels which artificially limit size of requests.
29192
0b1cbaae
L
291932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29194
29195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29196 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29197 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29198 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29199 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29200 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29201 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29202 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29203 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29204 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29205 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29206 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29207 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29208 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29209 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29211 Enable unaligned load optimization for Intel Core i3, i5 and i7
29212 processors.
29213 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29214 Define.
29215 (index_Fast_Unaligned_Load): Define.
29216 (HAS_FAST_UNALIGNED_LOAD): Define.
29217
07f494a0
MP
292182011-06-23 Marek Polacek <mpolacek@redhat.com>
29219
29220 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29221
fa3fc0fe
UD
292222011-06-22 Ulrich Drepper <drepper@gmail.com>
29223
29224 [BZ #12907]
29225 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29226 until it is clear that the information is realy needed.
29227 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29228
e12df166
AS
292292011-06-22 Andreas Schwab <schwab@redhat.com>
29230
29231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29232
852eb34d
UD
292332011-06-22 Ulrich Drepper <drepper@gmail.com>
29234
84e2a551
UD
29235 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29236 /sys/devices/system/cpu/online if it is usable.
29237
852eb34d
UD
29238 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29239 reading the information from the /proc filesystem to once a second.
29240
6e502e19
UD
292412011-06-21 Andreas Jaeger <aj@suse.de>
29242
29243 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29244 NULL after inclusion of kernel headers.
29245
75d39ff2
UD
292462011-06-21 Ulrich Drepper <drepper@gmail.com>
29247
51f9aa6a
UD
29248 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29249 calls to internal_setent.
29250
c0244a9d
UD
29251 [BZ #12885]
29252 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29253 addresses using gethostbyname4_r ignore IPv4 addresses.
29254
c5e3c2ae
UD
29255 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29256 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29257
75d39ff2
UD
29258 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29259
42675c6f
DM
292602011-06-20 David S. Miller <davem@davemloft.net>
29261
29262 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29263 inclusions.
29264 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29265
29266 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29267 (elf_irel): Use it.
29268 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29269 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29270 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29271 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29272 * sysdeps/x86_64/dl-irel.h: Likewise.
29273
29274 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29275 * elf/dl-sym.c: Likewise.
29276
57912a71
UD
292772011-06-15 Ulrich Drepper <drepper@gmail.com>
29278
29279 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29280 need to dereference resplen2.
29281
ee22793d
AS
292822011-06-14 Andreas Schwab <schwab@redhat.com>
29283
29284 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29285
a9e836b0
UD
292862011-06-15 Ulrich Drepper <drepper@gmail.com>
29287
77fb9117
UD
29288 * Makeconfig: Define vardbdir and inst_vardbdir.
29289 * nss/Makefile: Add rules to install db-Makefile.
29290
40c1b22c
UD
29291 * nss/nss_db/db-XXX.c: Cleanup.
29292
9f2da732
UD
29293 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29294 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29295 GLIBC_PRIVATE.
29296 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29297 * nss/makedb.c: Implement -g option to specify that value strings
29298 are generated and should not be added to table iterated over for
29299 get*ent calls.
29300 * nss/nss_db/db-initgroups.c: New file.
29301
82e9a1f7
UD
29302 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29303 interface.
29304
c41af17e
UD
29305 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29306 (internal_getgrouplist): Adjust to name change.
29307 Update use_initgroups_entry if this is not the first call.
29308 * nss/databases.def: Add initgroups entry.
29309
a9e836b0
UD
29310 * nss/makedb.c (compute_tables): Check result of multiple hash table
29311 sizes to minimize maximum chain length.
29312
2666d441
UD
293132011-06-14 Ulrich Drepper <drepper@gmail.com>
29314
29315 * Versions.def: Add entry for libnss_db.
29316 * shlib-versions: Likewise.
29317 * nss/Makefile: Add rules to build libnss_db.
29318 * nss/Versions: Add libnss_db information. Organize libnss_files
29319 entries better.
29320 * nss/db-Makefile: Add gshadow support. Change rules for the new
29321 makedb progra. Some minor improvements to generate smaller files.
29322 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29323 here from...
29324 * nss/makedb.c: ...here.
29325 Improve database format to be smaller and require less memory at
29326 runtime.
29327 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29328 db anymore.
29329 * nss/nss_db/db-netgrp.c: Likewise.
29330 * nss/nss_db/db-open.c: Likewise.
29331 * nss/nss_files/flies-XXX.x: Adjust comments.
29332 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29333 * nss/nss_files/files-grp.c: Likewise.
29334 * nss/nss_files/files-hosts.c: Likewise.
29335 * nss/nss_files/files-network.c: Likewise.
29336 * nss/nss_files/files-proto.c: Likewise.
29337 * nss/nss_files/files-pwd.c: Likewise.
29338 * nss/nss_files/files-rpc.c: Likewise.
29339 * nss/nss_files/files-service.c: Likewise.
29340 * nss/nss_files/files-sgrp.c: Likewise.
29341 * nss/nss_files/files-spwd.c: Likewise.
29342 * nss/nss_db/db-alias.c: Removed.
29343 * nss/nss_db/dummy-db.h: Removed.
29344
9ee76b5a
UD
293452011-06-02 Ulrich Drepper <drepper@gmail.com>
29346
29347 * nss/makedb.c: Rewritten to not use database library.
29348 * nss/Makefile: Update to build new makedb program.
29349
c71ca1f8
AJ
293502011-06-14 Andreas Jaeger <aj@suse.de>
29351
29352 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29353 memset declaration.
29354
3154bfb8
UD
293552011-06-10 Andreas Schwab <schwab@redhat.com>
29356
29357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29358 tmpbuf.
29359
b350afab
RM
293602011-06-10 Roland McGrath <roland@hack.frob.com>
29361
decd4e50
RM
29362 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29363 * elf/Makefile ($(objpfx)ld.so): Likewise.
29364
5615eaf2
RM
29365 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29366 Don't list ld.so twice in dependencies.
29367
29368 * posix/bug-regex31.c: Include <stdlib.h>.
29369
29370 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29371
29372 * nis/nss_compat/compat-spwd.c
29373 (getspent_next_nss_netgr): Remove unused variable.
29374 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29375
29376 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29377 nonmembers" output to use the right array.
29378
29379 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29380
29381 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29382
29383 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29384 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29385 * catgets/gencat.c (read_input_file): Likewise.
29386 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29387
29388 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29389 variable definition inside #if's controlling its use.
29390
29391 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29392
29393 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29394
29395 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29396
29397 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29398 unreachable code.
29399
29400 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29401
b68e08db
RM
29402 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29403 * configure: Regenerated.
29404
b350afab
RM
29405 * Makerules: Revert last change.
29406 * elf/Makefile: Likewise.
29407
28368601
RM
294082011-06-09 Roland McGrath <roland@hack.frob.com>
29409
29410 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29411 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29412 (reloc-link): Likewise.
29413
11988f8f
UD
294142011-06-09 Ulrich Drepper <drepper@gmail.com>
29415
29416 * elf/Makefile: Add rules to build pldd.
29417 * elf/pldd.c: New file.
29418 * elf/pldd-xx.c: New file.
29419
e80fab37
UD
294202011-06-07 Ulrich Drepper <drepper@gmail.com>
29421
29422 * version.h: Update for 2.15 development version.
29423
9b849836
DM
294242011-06-07 David S. Miller <davem@davemloft.net>
29425
29426 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29427 ifuncs.
29428 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29429 elf_machine_lazy_rel): Likewise.
29430 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29432 elf_machine_lazy_rel): Likewise.
29433 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29434 dl_hwcap via passed in argument.
29435 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29436 Likewise.
29437
5a31b283
AK
294382011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29439
29440 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29441
069e52f8
RM
294422011-06-06 Roland McGrath <roland@hack.frob.com>
29443
29444 [BZ #12849]
29445 * manual/fdl-1.1.texi: New file, verbatim from:
29446 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29447 * manual/lgpl-2.1.texi: New file, verbatim from:
29448 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29449 * manual/Makefile (licenses): New variable, list those new file names.
29450 (texis): Use it.
29451 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29452
29453 * manual/fdl.texi: File removed.
29454 * manual/lesser.texi: File removed.
29455 * manual/libc.texinfo (Copying, Documentation License):
29456 Use new @include file names, put @appendix directive before @include.
29457
f16846a5
JJ
294582011-06-04 Jakub Jelinek <jakub@redhat.com>
29459
29460 [BZ #12841]
29461 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29462 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29463 (mq_open): Add __NTH.
29464
3d29045b
L
294652011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29466
29467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29468 Assume Intel Core i3/i5/i7 processor if AVX is available.
29469
8c297311
UD
294702011-05-31 Ulrich Drepper <drepper@gmail.com>
29471
29472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29473 typo.
29474
c8fc0c91
UD
294752011-05-31 Andreas Schwab <schwab@redhat.com>
29476
29477 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29478 memory. Use alloca_account. Fix memory leak when retrying.
29479
5b27a807
UD
294802011-05-31 Ulrich Drepper <drepper@gmail.com>
29481
356f8bc6
UD
29482 * version.h (RELEASE): Bump for 2.14 release.
29483 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29484
5b27a807
UD
29485 * config.make.in (RANLIB): Remove entry.
29486
01f16ab0
UD
294872011-05-30 Ulrich Drepper <drepper@gmail.com>
29488
41fce8bd
UD
29489 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29490 (libc.pot): Work around missing support for .ksh extension in xgettext.
29491
4769ae77
UD
29492 [BZ #12684]
29493 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29494 if both request failed.
29495 (send_dg): In case of server errors clear resplen or *resplen2.
29496
6b1e7d19
UD
29497 [BZ #12454]
29498 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29499 when there are multiple maps.
29500 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29501 (_dl_fini): Remove test here.
29502
01f16ab0
UD
29503 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29504
b1ebd700
UD
295052011-05-29 Ulrich Drepper <drepper@gmail.com>
29506
7ae22829
UD
29507 [BZ #12350]
29508 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29509 bit from old_res_options.
29510 (gaih_inet): Likewise.
29511
553149f6 29512 [BZ #11099]
18a84741 29513 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29514 as signed.
29515
652ffab1
UD
29516 * resolv/res_init.c (res_setoptions): Make the code more compact.
29517
16985fd0
UD
29518 [BZ #11558]
29519 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29520 set RES_USEVC.
29521
0464f746
UD
29522 [BZ #11634]
29523 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29524
7d17596c
UD
29525 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29526
cf6bbbd7
UD
29527 [BZ #11781]
29528 * malloc/malloc.h: Declare malloc hook variables as volatile.
29529
13f1ab36
UD
29530 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29531 in last patch.
29532
b1ebd700
UD
29533 [BZ #11799]
29534 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29535 raise in the comment.
80e2212d
UD
29536 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29537 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29538 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29539
ce67228d
UD
295402011-05-28 Ulrich Drepper <drepper@gmail.com>
29541
8887a920
UD
29542 [BZ #12811]
29543 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29544 grow the buffers more if it already has to be sufficient.
29545 (build_wcs_upper_buffer): Likewise.
29546 * posix/regexec.c (check_matching): Likewise.
29547 (clean_state_log_if_needed): Likewise.
29548 (extend_buffers): Don't enlarge buffers beyond size of the input
29549 buffer.
29550 Patches mostly by Emil Wojak <emil@wojak.eu>.
29551 * posix/bug-regex32.c: New file.
29552 * posix/Makefile (tests): Add bug-regex32.
29553
4f031072
UD
29554 * locale/findlocale.c (_nl_find_locale): Return right away if
29555 _nl_explode_name failed.
29556 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29557
d0478f0c
UD
29558 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29559
de81b246
UD
29560 * debug/xtrace.sh: Unify messages.
29561 * malloc/memusage.sh: Likewise.
29562
c738465a
UD
29563 [BZ #12813]
29564 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29565 time symbol from vDSO. Substitute with vsyscall if not available.
29566 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29567 __vdso_time.
29568
f1f929d7
UD
29569 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29570 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29571 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29572 Add sendmmsg and internal_sendmmsg.
29573 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29574 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29575 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29576
ce67228d
UD
29577 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29578 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29579 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29580
e57420c6
UD
295812011-05-27 Ulrich Drepper <drepper@gmail.com>
29582
a8509ca5
UD
29583 [BZ #12813]
29584 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29585 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29586 available.
29587 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29588 __vdso_getcpu.
29589
e57420c6
UD
29590 [BZ #12814]
29591 * iconvdata/Makefile (tests): Add bug-iconv9.
29592 * iconvdata/bug-iconv9.c: New file.
29593
4d07db15
AS
295942011-05-27 Andreas Schwab <schwab@redhat.com>
29595
29596 [BZ #12814]
29597 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29598
ea486f69
JJ
295992011-05-25 Jakub Jelinek <jakub@redhat.com>
29600
29601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29602 (struct user_regs_struct): Change intcs field back to cs.
29603
6f038433
UD
296042011-05-25 Ulrich Drepper <drepper@gmail.com>
29605
29606 * po/ja.po: Update from translation team.
29607
67f86a25
UD
296082011-05-23 Ulrich Drepper <drepper@gmail.com>
29609
29610 [BZ #12795]
29611 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29612 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29613
def7fbd6
AS
296142011-05-20 Andreas Schwab <schwab@redhat.com>
29615
29616 * stdlib/longlong.h: Update from GCC.
29617
f50ef8f1
AS
296182011-05-23 Andreas Schwab <schwab@redhat.com>
29619
29620 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29621 parameter name.
29622 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29623 Add parameter name.
29624 (__sysconf): Pass it down.
29625
de7ce8f1
UD
296262011-05-22 Ulrich Drepper <drepper@gmail.com>
29627
f2962a71
UD
29628 [BZ #12671]
29629 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29630 some situations.
29631 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29632 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29633 add in in __libc_use_alloca calls. Adjust callers.
29634 (glob): Use malloc in some situations.
29635
de7ce8f1
UD
29636 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29637 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29638 pltexit.
29639
aec84f53
UD
296402011-05-21 Ulrich Drepper <drepper@gmail.com>
29641
05bb4a68
UD
29642 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29643 and CLOCK_BOOTTIME_ALARM.
29644
7ea72f99
UD
29645 [BZ #12782]
29646 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29647 is returned.
29648
7e4afad5
UD
29649 * string/_strerror.c (__strerror_r): Print negative errors as signed
29650 numbers.
29651
8e211fec
UD
29652 [BZ #12777]
29653 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29654 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29655 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29656
f7d82dc9
UD
29657 * configure.in: Fix typo in redirection and correct removal of test
29658 files in two cases.
29659
cc9e536d
UD
29660 [BZ #12788]
29661 * locale/setlocale.c (new_composite_name): Fix test to check for
29662 identical name of all categories.
29663
aec84f53
UD
29664 [BZ #12792]
29665 * libio/filedoalloc.c (local_isatty): New function.
29666 (_IO_file_doallocate): Use local_isatty.
29667 * stdio-common/perror.c (perror): In case a new stream is used
29668 forward the stream error.
29669 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29670 error flag.
29671
78e64fdc
RT
296722011-05-20 Ulrich Drepper <drepper@gmail.com>
29673
34a9094f
UD
29674 [BZ #11869]
29675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29676 alloca.
29677 * include/alloca.h (extend_alloca_account): Define.
29678
78e64fdc
RT
29679 [BZ #11857]
29680 * posix/regex.h: Fix comments with documentation of user-accessible
29681 fields after compilation and describe correct free'ing of pattern
29682 after re_compile_pattern.
29683 Patch by Reuben Thomas <rrt@sc3d.org>.
29684
457bddfc
RA
296852011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29686
29687 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29688 and -mno-altivec to prevent the compiler from using Altivec and/or
29689 VSX instructions when the corresponding registers are not available.
29690
a4527b51
AS
296912011-05-19 Andreas Schwab <schwab@redhat.com>
29692
29693 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29694
ed690b2f
UD
296952011-05-19 Ulrich Drepper <drepper@gmail.com>
29696
29697 * libio/freopen.c (freopen): Use __dup2, not dup2.
29698 * libio/freopen64.c (freopen64): Likewise.
29699
8db73634
L
297002011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29701
29702 [BZ #12775]
29703 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29704 * math/Makefile (tests): Add test-powl.
29705 (CFLAGS-test-powl.c): Define.
29706 * math/test-powl.c: New file.
29707
0a197a9d
L
297082011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29709
29710 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29711
ee30c380
UD
297122011-05-17 Ulrich Drepper <drepper@gmail.com>
29713
29714 [BZ #11837]
29715 * iconvdata/gb18030.c: Update to GB18020-2005.
29716
6ce75379
UD
297172011-05-16 Ulrich Drepper <drepper@gmail.com>
29718
a4b89fd8
AR
29719 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29720 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29721 Patch by Aharon Robbins <arnold@skeeve.com>.
29722
ea389b12
UD
29723 [BZ #11892]
29724 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29725 on the stack.
29726
68a3f91f
UD
29727 [BZ #11895]
29728 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29729 through underflows.
29730
15cc7dd1
UD
29731 [BZ #12766]
29732 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29733 point to strings before performing equality test for error_one_per_line
29734 mode.
29735
f3799213
UD
29736 [BZ #11697]
29737 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29738
d79a9c94
UD
29739 [BZ #11820]
29740 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29741 (struct user_fpregs_struct): Avoid __uint*_t types.
29742
56e5eb46
UD
29743 [BZ #6420]
29744 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29745 symbol info. Use it instead of calling _dl_addr locally.
29746 (lock_and_info): New function.
29747 (tr_freehook): Call lock_and_info and pass symbol info as additional
29748 parameter to tr_where.
29749 (tr_mallochook): Likewise.
29750 (tr_reallochook): Likewise.
29751 (tr_memalignhook): Likewise.
29752
6ce75379
UD
29753 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29754 used and couldn't be at all thread-safe.
29755
f8a3b5bf
UD
297562011-05-15 Ulrich Drepper <drepper@gmail.com>
29757
94b7cc37
UD
29758 * libio/freopen.c (freopen): Don't close old file descriptor
29759 before the new one is opened. Instead dup the new file descriptor
29760 to the old one after the new stream is created.
29761 * libio/freopen64.c (freopen64): Likewise.
29762 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29763 * libio/fileops.c (_IO_new_file_close_it): Handle new
29764 _IO_FLAGS2_NOCLOSE flag.
29765 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29766 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29767 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29768 _IO_FLAGS2_NOCLOSE flag.
29769 * include/unistd.h: Add hidden_proto for dup3.
29770 Define __have_dup3.
29771 * io/dup3.c: Define hidden symbol.
29772 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29773
bd25564e
UD
29774 [BZ #7101]
29775 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29776 when an incomplete long option is used.
29777 * posix/tst-getopt_long1.c: New file.
29778 * posix/Makefile (tests): Add tst-getopt_long1.
29779
c84cfef4
UD
29780 [BZ #10138]
29781 * scripts/config.guess: Update from autoconf-2.68.
29782 * scripts/config.sub: Likewise.
29783
3b85df27
UD
29784 [BZ #10157]
29785 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29786 tests into ...
29787 (has_cpuclock): ...this. New function.
29788 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29789 macro here based on has_cpuclock code.
29790
15a856b1
UD
29791 [BZ #10149]
29792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29793 First byte (not low byte) is now always NUL.
29794 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29795
05f399e6
UD
29796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29797 Use non-cancelable interfaces.
29798
10a52685 29799 [BZ #9809]
94ecc67d
UD
29800 * locale/iso-639.def: Add entry for Sorani.
29801
f8a3b5bf
UD
29802 [BZ #11901]
29803 * include/stdlib.h: Move include protection to the right place.
29804 Define abort_msg_s. Declare __abort_msg with it.
29805 * stdlib/abort.c (__abort_msg): Adjust type.
29806 * assert/assert.c (__assert_fail_base): New function. Majority
29807 of code from __assert_fail. Allocate memory for __abort_msg with
29808 mmap.
29809 (__assert_fail): Now call __assert_fail_base.
29810 * assert/assert-perr.c: Remove bulk of implementation. Use
29811 __assert_fail_base.
29812 * include/assert.hL Declare __assert_fail_base.
29813 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29814 mmap.
29815 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29816
1af4e298
UD
298172011-05-14 Ulrich Drepper <drepper@gmail.com>
29818
f8a3b5bf 29819 [BZ #11952]
d26dfc60
MG
29820 [BZ #12453]
29821 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29822 until all modules are registered in the DTV.
29823 * elf/Makefile: Add rules to build and run tst-tls19.
29824 * elf/tst-tls19.c: New file.
29825 * elf/tst-tls19mod1.c: New file.
29826 * elf/tst-tls19mod2.c: New file.
29827 * elf/tst-tls19mod3.c: New file.
29828 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29829
2fc54d6f
UD
29830 [BZ #12083]
29831 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29832 correctly.
29833
98d76b46
UD
29834 [BZ #12601]
29835 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29836 two-byte sequence errors.
29837 * iconvdata/Makefile (tests): Add bug-iconv8.
29838 * iconvdata/bug-iconv8.c: New file.
29839
da3c19ef
UD
29840 [BZ #12626]
29841 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29842 buf2 definition.
29843
ca408c15
UD
29844 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29845
d6f67f7d
UD
29846 [BZ #12432]
29847 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29848 (dummy_getcfa): New function.
29849 (init): Get _Unwind_GetCFA address, use dummy if not found.
29850 (backtrace_helper): In recursion check, also check whether CFA changes.
29851 (__backtrace): Completely initialize arg.
29852
1af4e298 29853 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29854 storing incomplete byte sequence in state object. Avoid testing for
29855 guaranteed too small input if we know there is enough data available.
1af4e298 29856
da62f81b
AS
298572011-05-11 Andreas Schwab <schwab@redhat.com>
29858
29859 * Makeconfig (+link-pie): Indent.
29860 * Rules (binaries-pie): Define if $(have-fpie) and
29861 $(build-shared).
29862 (binaries-shared): Also filter out $(binaries-pie).
29863 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29864 * nscd/Makefile (others-pie): Add nscd.
29865 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29866 ($(objpfx)nscd): Remove command override.
29867 * login/Makefile (others-pie): Add pt_chown.
29868 ($(objpfx)pt_chown): Remove command override.
29869 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29870 remove command overrides.
29871
fcabc0f8
UD
298722011-05-13 Ulrich Drepper <drepper@gmail.com>
29873
20030ae6
UD
29874 * libio/tst_putwc.c: Fix error messages.
29875
fcabc0f8
UD
29876 [BZ #12724]
29877 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29878 currently writing and seek to current position when not.
29879 * libio/Makefile (tests): Add bug-fclose1.
29880 * libio/bug-fclose1.c: New file.
29881
320a5dc0
PB
298822011-05-12 Ulrich Drepper <drepper@gmail.com>
29883
29884 [BZ #12511]
29885 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29886 don't set DF_1_NODELETE here.
29887 (do_lookup_x): When entering new entry test for copy relocation
29888 and if necessary set DF_1_NODELETE flag.
29889 * elf/tst-unique4.cc: New file.
29890 * elf/tst-unique4.h: New file.
29891 * elf/tst-unique4lib.cc: New file.
29892 * elf/Makefile: Add rules to build and run tst-unique4.
29893 Patch by Piotr Bury <pbury@goahead.com>.
29894
22836f52
UD
298952011-05-11 Ulrich Drepper <drepper@gmail.com>
29896
f574184a
UD
29897 [BZ #12052]
29898 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29899
e1fb097f
UD
29900 [BZ #12625]
29901 * misc/mntent_r.c (addmntent): Flush the stream after the output
29902
22836f52
UD
29903 [BZ #12393]
29904 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29905 (is_trusted_path_normalize): Skip initial colon. Append slash
29906 to empty buffer. Duplicate is_trusted_path code but allow
29907 constructed patch to be prefix.
29908 (is_dst): Allow $ORIGIN followed by /.
29909 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29910 Correct testing of result of is_trusted_path_normalize
29911 (decompose_rpath): Fix warning.
29912
7b3b0b2a
UD
299132011-05-10 Ulrich Drepper <drepper@gmail.com>
29914
29915 [BZ #11257]
29916 * grp/initgroups.c (internal_getgrouplist): When we found the service
29917 list through the initgroups entry in nsswitch.conf do not always
29918 continue on a successful lookup. Don't always use the
eac80ce2 29919 __nss_group_database value if it is set.
7b3b0b2a
UD
29920 * nss/nsswitch.conf (initgroups): Change action for successful db
29921 lookup to continue for compatibility.
29922
2a81eaa5
UD
299232011-05-09 Ulrich Drepper <drepper@gmail.com>
29924
be97a69e
UD
29925 [BZ #11532]
29926 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29927 and CP774 modules.
29928 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29929 and CP774 modules.
29930 * iconvdata/tst-tables.sh: Likewise.
29931 * iconvdata/cp770.c: New file.
29932 * iconvdata/cp771.c: New file.
29933 * iconvdata/cp772.c: New file.
29934 * iconvdata/cp773.c: New file.
29935 * iconvdata/cp774.c: New file.
29936 * iconvdata/testdata/CP770: New file.
29937 * iconvdata/testdata/CP770..UTF8: New file.
29938 * iconvdata/testdata/CP771: New file.
29939 * iconvdata/testdata/CP771..UTF8: New file.
29940 * iconvdata/testdata/CP772: New file.
29941 * iconvdata/testdata/CP772..UTF8: New file.
29942 * iconvdata/testdata/CP773: New file.
29943 * iconvdata/testdata/CP773..UTF8: New file.
29944 * iconvdata/testdata/CP774: New file.
29945 * iconvdata/testdata/CP774..UTF8: New file.
29946
29947 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29948 END CHARMAP line.
29949 * iconvdata/gen-8bit-gap.sh: Likewise.
29950 * iconvdata/gen-8bit.sh: Likewise.
29951
c1e9e399
UD
29952 * locale/iso-639.def: Add ary entry.
29953
24c55fb3 29954 [BZ #11258]
96b4b1b0
UD
29955 * locale/C-translit.h.in: Add U20A1 transliteration.
29956
bdc2f971
KB
29957 [BZ #12178]
29958 * locale/iso-639.def: Add wae entry.
29959 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29960
2952b117
UD
29961 [BZ #12545]
29962 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29963 for n.
29964
2a81eaa5
UD
29965 [BZ #12711]
29966 * locale/C-translit.h.in: Add entry for U20B9.
29967 Patch by pravin.d.s@gmail.com.
29968
28377d1b
UD
299692011-05-08 Ulrich Drepper <drepper@gmail.com>
29970
7fb90fb8
UD
29971 [BZ #12713]
29972 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29973 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29974 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29975 in rtld. Use *stat64.
7fb90fb8 29976 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29977 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29978 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29979 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29980 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29981 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29982 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29983 __fstatat64 macros.
7fb90fb8
UD
29984 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29985 * dirent/rewinddir.c: Add libc_hidden_def.
29986 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29987 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29988
28377d1b
UD
29989 * include/dirent.h (__alloc_dir): Add flags parameter.
29990 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29991 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29992 __alloc_dir.
29993 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29994 from fdopendir if O_CLOEXEC is already set.
29995
66bdbaa4
AM
299962011-03-15 Alan Modra <amodra@gmail.com>
29997
29998 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29999 l_tls_firstbyte_offset non-zero. Save padding offset in
30000 l_tls_firstbyte_offset for later use.
30001 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30002 freeing static tls block.
30003
95721191
JN
300042011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30005
30006 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30007 where #ifdef was intended. The intent is to prevent ARG_MAX from
30008 being defined by the kernel headers.
30009
f87dfb1f
UD
300102011-05-07 Ulrich Drepper <drepper@gmail.com>
30011
30012 [BZ #12734]
30013 * resolv/resolv.h: Define RES_NOTLDQUERY.
30014 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30015 no-tld-query and set RES_NOTLDQUERY.
30016 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30017 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30018 modern BIND to search name as TLD unless forbidden.
30019
47c3cd7a
UD
300202011-05-07 Petr Baudis <pasky@suse.cz>
30021 Ulrich Drepper <drepper@gmail.com>
30022
30023 [BZ #12393]
30024 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30025 (is_trusted_path): ...to here.
c1e9ea35 30026 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30027 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30028 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30029
8a35c912
PP
300302011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30031
30032 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30033 __BEGIN/__END_DECLS.
30034
acd41f47
UD
300352011-05-06 Ulrich Drepper <drepper@gmail.com>
30036
30037 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30038 NSS_STATUS_NOTFOUND if no record was found.
30039
597df647
AS
300402011-05-05 Andreas Schwab <schwab@redhat.com>
30041
30042 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30043 (headers-not-in-tirpc): Remove rpc/netdb.h
30044 * resolv/netdb.h: Revert last change.
30045
b9af1301
PP
300462011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30047
30048 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30049 circular dependency between libgcc.a and libc.a.
30050
4e34d5f5
AS
300512011-05-05 Andreas Schwab <schwab@redhat.com>
30052
30053 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30054 * nis/Makefile: Don't install rpcsvc/*.
30055 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30056 instead of <rpc/types.h>.
30057 (MAXHOSTNAMELEN): Define.
30058
00ee369c
AS
300592011-05-03 Andreas Schwab <schwab@redhat.com>
30060
30061 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30062
0b592a30
MB
300632011-04-28 Maciej Babinski <mbabinski@google.com>
30064
30065 [BZ #12714]
30066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30067 gethostbyname4_r when IPv6 results are possible.
30068
6e04cbbe
UD
300692011-05-02 Ulrich Drepper <drepper@gmail.com>
30070
30071 [BZ #12723]
30072 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30073 _PC_PIPE_BUF handling.
30074
e4ecafe0
BH
300752011-04-30 Bruno Haible <bruno@clisp.org>
30076
30077 [BZ #12717]
30078 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30079 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30080 to 'int'.
30081 * inet/getnameinfo.c (getnameinfo): Likewise.
30082
125ee683
UD
300832011-04-29 Ulrich Drepper <drepper@gmail.com>
30084
30085 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30086 to groups setting in database lookup.
30087 * nss/nsswitch.conf: Add initgroups entry.
30088
b722481a
EB
300892011-04-22 Ulrich Drepper <drepper@gmail.com>
30090
30091 [BZ #12685]
30092 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30093 mode string.
30094 Patch by Eric Blake <eblake@redhat.com>.
30095
4df46dbd
L
300962011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30097
30098 * sunrpc/Makefile (need-export-routines): Add svc_run.
30099 (routines): Remove svc_run.
30100 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30101 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30102 * sunrpc/svc_run.c (svc_run): Likewise.
30103 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30104
e84142d2
UD
301052011-04-21 Ulrich Drepper <drepper@gmail.com>
30106
30107 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30108 problem in reallocation in last patch.
30109
877175d8
UD
301102011-04-20 Ulrich Drepper <drepper@gmail.com>
30111
30112 * sunrpc/Makefile: Move inclusion of Rules.
30113
ab8eed78
UD
301142011-04-19 Ulrich Drepper <drepper@gmail.com>
30115
30116 * nss/nss_files/files-initgroups.c: New file.
30117 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30118 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30119 _nss_files_initgroups_dyn.
30120
e3d8f584
RS
301212011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30122
30123 * elf/elf.h (R_ARM_IRELATIVE): Define.
30124
af190f45
UD
301252011-04-19 Ulrich Drepper <drepper@gmail.com>
30126
30127 * po/ru.po: Update from translation team.
30128
53cf59ef
UD
301292011-04-17 Ulrich Drepper <drepper@gmail.com>
30130
30131 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30132 dependencies.
30133
4c559bcd
MF
301342011-02-06 Mike Frysinger <vapier@gentoo.org>
30135
30136 [BZ #12653]
30137 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30138 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30139 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30140 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30142
4420675c
AS
301432011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30144
30145 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30146 differing bytes.
30147 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30148 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30149 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30150
75ea32ab
UD
301512011-04-17 Ulrich Drepper <drepper@gmail.com>
30152
30153 [BZ #12420]
30154 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30155 storing it.
30156 * stdlib/bug-getcontext.c: New file.
30157 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30158
27390476
AK
301592011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30160
30161 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30162 instructions into .machine "z9-109".
30163 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30164 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30165
10442705
AK
301662011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30167
30168 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30169 between environment variables and auxiliary vector.
30170
7b57bfe5
UD
301712011-04-16 Ulrich Drepper <drepper@gmail.com>
30172
30173 * Makefile: Add rules to build linkobj/libc.so.
30174 * include/libc-symbols.h: Define libc_hidden_nolink.
30175 * include/rpc/auth.h: Mark functions which are to be hidden.
30176 * include/rpc/auth_des.h: Likewise.
30177 * include/rpc/auth_unix.h: Likewise.
30178 * include/rpc/clnt.h: Likewise.
30179 * include/rpc/des_crypt.h: Likewise.
30180 * include/rpc/key_prot.h: Likewise.
30181 * include/rpc/pmap_clnt.h: Likewise.
30182 * include/rpc/pmap_prot.h: Likewise.
30183 * include/rpc/pmap_rmt.h: Likewise.
30184 * include/rpc/rpc_msg.h: Likewise.
30185 * include/rpc/svc.h: Likewise.
30186 * include/rpc/svc_auth.h: Likewise.
30187 * include/rpc/xdr.h: Likewise.
30188 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30189 * nss/Makefile: Likewise.
30190 * sunrpc/Makefile: Don't install headers. Build library with normal
30191 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30192 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30193 for the compat linking library. Remove use of INTDEF/INTUSE.
30194 * sunrpc/auth_none.c: Likewise.
30195 * sunrpc/auth_unix.c: Likewise.
30196 * sunrpc/authdes_prot.c: Likewise.
30197 * sunrpc/authuxprot.c: Likewise.
30198 * sunrpc/clnt_gen.c: Likewise.
30199 * sunrpc/clnt_perr.c: Likewise.
30200 * sunrpc/clnt_raw.c: Likewise.
30201 * sunrpc/clnt_simp.c: Likewise.
30202 * sunrpc/clnt_tcp.c: Likewise.
30203 * sunrpc/clnt_udp.c: Likewise.
30204 * sunrpc/clnt_unix.c: Likewise.
30205 * sunrpc/des_crypt.c: Likewise.
30206 * sunrpc/des_soft.c: Likewise.
30207 * sunrpc/get_myaddr.c: Likewise.
30208 * sunrpc/key_call.c: Likewise.
30209 * sunrpc/key_prot.c: Likewise.
30210 * sunrpc/netname.c: Likewise.
30211 * sunrpc/pm_getmaps.c: Likewise.
30212 * sunrpc/pm_getport.c: Likewise.
30213 * sunrpc/pmap_clnt.c: Likewise.
30214 * sunrpc/pmap_prot.c: Likewise.
30215 * sunrpc/pmap_prot2.c: Likewise.
30216 * sunrpc/pmap_rmt.c: Likewise.
30217 * sunrpc/publickey.c: Likewise.
30218 * sunrpc/rpc_cmsg.c: Likewise.
30219 * sunrpc/rpc_common.c: Likewise.
30220 * sunrpc/rpc_dtable.c: Likewise.
30221 * sunrpc/rpc_prot.c: Likewise.
30222 * sunrpc/rpc_thread.c: Likewise.
30223 * sunrpc/rtime.c: Likewise.
30224 * sunrpc/svc.c: Likewise.
30225 * sunrpc/svc_auth.c: Likewise.
30226 * sunrpc/svc_authux.c: Likewise.
30227 * sunrpc/svc_raw.c: Likewise.
30228 * sunrpc/svc_run.c: Likewise.
30229 * sunrpc/svc_simple.c: Likewise.
30230 * sunrpc/svc_tcp.c: Likewise.
30231 * sunrpc/svc_udp.c: Likewise.
30232 * sunrpc/svc_unix.c: Likewise.
30233 * sunrpc/svcauth_des.c: Likewise.
30234 * sunrpc/xcrypt.c: Likewise.
30235 * sunrpc/xdr.c: Likewise.
30236 * sunrpc/xdr_array.c: Likewise.
30237 * sunrpc/xdr_float.c: Likewise.
30238 * sunrpc/xdr_intXX_t.c: Likewise.
30239 * sunrpc/xdr_mem.c: Likewise.
30240 * sunrpc/xdr_rec.c: Likewise.
30241 * sunrpc/xdr_ref.c: Likewise.
30242 * sunrpc/xdr_sizeof.c: Likewise.
30243 * sunrpc/xdr_stdio.c: Likewise.
30244
e6c61494
UD
302452011-04-10 Ulrich Drepper <drepper@gmail.com>
30246
30247 [BZ #12650]
30248 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30249 * sysdeps/ia64/dl-tls.h: Likewise.
30250 * sysdeps/powerpc/dl-tls.h: Likewise.
30251 * sysdeps/s390/dl-tls.h: Likewise.
30252 * sysdeps/sh/dl-tls.h: Likewise.
30253 * sysdeps/sparc/dl-tls.h: Likewise.
30254 * sysdeps/x86_64/dl-tls.h: Likewise.
30255 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30256
34fe483e
AS
302572011-03-14 Andreas Schwab <schwab@redhat.com>
30258
30259 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30260 rpath element also skip the following colon.
30261 (expand_dynamic_string_token): Add is_path parameter and pass
30262 down to DL_DST_REQUIRED and _dl_dst_substitute.
30263 (decompose_rpath): Call expand_dynamic_string_token with
30264 non-zero is_path. Ignore empty rpaths.
30265 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30266 with zero is_path.
30267
f12a32e6
AS
302682011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30269
30270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30271 Make cancelable.
30272
38a7d692
UD
302732011-04-09 Ulrich Drepper <drepper@gmail.com>
30274
30275 [BZ #12655]
30276 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30277 Patch by Filipe David Manana <fdmanana@apache.org>.
30278
e451d22b
AS
302792011-04-07 Andreas Schwab <schwab@redhat.com>
30280
30281 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30282 Maintain aligned stack.
30283 (CHECK_RSP): Remove unused macro.
30284
dedc7c7b
UD
302852011-04-03 Ulrich Drepper <drepper@gmail.com>
30286
30287 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30288 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30289
94521213
UD
302902011-04-02 Ulrich Drepper <drepper@gmail.com>
30291
30292 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30293
8cb700c0 30294 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30295
0354e355
L
302962011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30297
30298 [BZ #12518]
30299 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30300 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30301 * sysdeps/x86_64/memmove.c: New file.
30302 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30303 (memcpy): Renamed to ...
30304 (__new_memcpy): This.
30305 (memcpy): Provide GLIBC_2_14 memcpy.
30306 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30307 (memcpy): Provide GLIBC_2_2_5 memcpy.
30308
8593482f
UD
303092011-04-01 Ulrich Drepper <drepper@gmail.com>
30310
30311 [BZ #12631]
30312 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30313
81a5726b
AS
303142011-03-30 Andreas Schwab <schwab@redhat.com>
30315
30316 * misc/syncfs.c: New file.
30317 * misc/Makefile (routines): Add syncfs.
30318 * posix/unistd.h: Declare syncfs.
30319 * sysdeps/unix/syscalls.list: Add syncfs.
30320
00e5419f
AS
303212011-04-01 Andreas Schwab <schwab@redhat.com>
30322
30323 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30324 open_by_handle_at.
30325 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30326 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30327 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30328 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30330 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30332
748876bf
UD
303332011-04-01 Ulrich Drepper <drepper@gmail.com>
30334
658e451d
UD
30335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30336 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30337 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30339 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30342
748876bf
UD
30343 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30344 sync_file_range.c with -fexceptions.
30345 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30346 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30347 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30348 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30349 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30350 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30352 sync_file_range as cancellation point
30353 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30354 now a wrapper around __call_sync_file_range with cancellation handling.
30355 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30356 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30357 function name to __call_sync_file_range.
30358 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30359 Add call_sync_file_range.
748876bf 30360
6e63d5e1
AS
303612011-04-01 Andreas Schwab <schwab@redhat.com>
30362
30363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30364 bits/timex.h.
6e63d5e1 30365
46998f74
UD
303662011-04-01 Ulrich Drepper <drepper@gmail.com>
30367
4c1423ed
UD
30368 * iconv/iconv.h: Fix typo in comment.
30369 * io/fcntl.h: Likewise.
30370 * libio/stdio.h: Likewise.
30371 * posix/spawn.h: Likewise.
30372 * posix/unistd.h: Likewise.
30373 * stdlib/stdlib.h: Likewise.
30374 * time/time.h: Likewise.
30375 * wcsmbs/wchar.h: Likewise.
30376
158648c0
UD
30377 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30378 open_by_handle): Add.
30379 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30380 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30381 Augment a few comments.
30382 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30384 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30386 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30387 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30388 open_by_handle.
30389
46998f74
UD
30390 * io/fcntl.h (AT_EMPTY_PATH): Define.
30391
83fe108b
UD
303922011-03-30 Ulrich Drepper <drepper@gmail.com>
30393
30394 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30395 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30396 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30397 to...
30398 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30399 * Versions.def: Add GLIBC_2.14.
30400 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30401 Export.
83fe108b 30402
bb242059
UD
304032011-03-22 Ulrich Drepper <drepper@gmail.com>
30404
30405 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30406 round counter.
30407 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30408
c97a1282
L
304092011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30410
30411 [BZ #12597]
30412 * string/test-strncmp.c (do_page_test): New function.
30413 (check2): Likewise.
30414 (test_main): Call check2.
30415 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30416
2a115601
UD
304172011-03-20 Ulrich Drepper <drepper@gmail.com>
30418
30419 [BZ #12587]
30420 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30421 Handle cache information in CPU leaf 4.
30422 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30423
8126d904
UD
304242011-03-18 Ulrich Drepper <drepper@gmail.com>
30425
042c49c6 30426 [BZ #12583]
8126d904
UD
30427 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30428 character representation.
30429 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30430
ccfe366e
RA
304312011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30432
30433 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30434 END(__isnan) to END(__isnanf) to match function entry point/label
30435 EALIGN(__isnanf,...).
30436
c6e13027
JJ
304372011-03-10 Jakub Jelinek <jakub@redhat.com>
30438
30439 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30440
33f85a3f
UD
304412011-03-10 Ulrich Drepper <drepper@gmail.com>
30442
028478fa
UD
30443 [BZ #12510]
30444 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30445 copy from the symbol referenced in the relocation to initialize the
30446 used variable.
30447 Patch by Piotr Bury <pbury@goahead.com>.
30448 * elf/Makefile: Add rules to build and tst-unique3.
30449 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30450 * elf/tst-unique3.cc: New file.
30451 * elf/tst-unique3.h: New file.
30452 * elf/tst-unique3lib.cc: New file.
30453 * elf/tst-unique3lib2.cc: New file.
30454
33f85a3f
UD
30455 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30456
03592fc7
MF
304572011-03-10 Mike Frysinger <vapier@gentoo.org>
30458
30459 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30460 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30461 to _start.
03592fc7 30462
6a5ee102
UD
304632011-03-06 Ulrich Drepper <drepper@gmail.com>
30464
30465 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30466 to-be-loaded object along a path to loader is ld.so.
30467
7e4ba49c
HJ
304682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30469 Ulrich Drepper <drepper@gmail.com>
30470
30471 * sysdeps/x86_64/memset.S: After aligning destination, code
30472 branches to different locations depending on the value of
30473 misalignment, when multiarch is enabled. Fix this.
30474
304752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30476
30477 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30478 Set _x86_64_preferred_memory_instruction for AMD processsors.
30479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30480 Set bit_Prefer_SSE_for_memop for AMD processors.
30481
13a804de
UD
304822011-03-04 Ulrich Drepper <drepper@gmail.com>
30483
30484 * libio/fmemopen.c (fmemopen): Optimize a bit.
30485
9d25c392
AS
304862011-03-03 Andreas Schwab <schwab@redhat.com>
30487
30488 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30489
a5543c6a
RM
304902011-03-03 Roland McGrath <roland@redhat.com>
30491
30492 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30493
012d35f7
DM
304942011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30495
7e4ba49c 30496 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30497 __bzero_ultra1 instead of __memset_ultra1.
30498
4bff6e01
AS
304992011-02-23 Andreas Schwab <schwab@redhat.com>
30500 Ulrich Drepper <drepper@gmail.com>
30501
30502 [BZ #12509]
30503 * include/link.h (struct link_map): Add l_orig_initfini.
30504 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30505 returning unsuccessfully.
30506 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30507 close of a file loaded at startup, restore the original l_initfini
30508 list.
30509 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30510 list, store the pointer.
30511 * elf/Makefile ($(objpfx)noload-mem): New rule.
30512 (noload-ENV): Define.
30513 (tests): Add $(objpfx)noload-mem.
30514 * elf/noload.c: Include <memcheck.h>.
30515 (main): Call mtrace. Close all opened handles.
30516
f2092faf
AS
305172011-02-17 Andreas Schwab <schwab@redhat.com>
30518
30519 [BZ #12454]
30520 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30521 dependencies are missing.
30522
6c8a2e88
ST
305232011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30524
f2092faf 30525 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30526 Hurd needs munmap.
30527 * sysdeps/mach/hurd/ifreq.h: New file.
30528
84a42118
PB
305292011-01-27 Petr Baudis <pasky@suse.cz>
30530 Ulrich Drepper <drepper@gmail.com>
30531
071f805e 30532 [BZ 12445]#
84a42118
PB
30533 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30534 to extend_alloca().
30535 * stdio-common/bug23.c: New file.
30536 * stdio-common/Makefile (tests): Add bug23.
30537
e23fe25b
AS
305382010-09-28 Andreas Schwab <schwab@redhat.com>
30539 Ulrich Drepper <drepper@gmail.com>
30540
30541 [BZ #12489]
30542 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30543 before performing relro protection. At old place add assertion
30544 to make sure nothing changed.
30545
d3f02e10
NS
305462011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30547 Glauber de Oliveira Costa <glommer@gmail.com>
30548
30549 * elf/elf.h: Add new ARM TLS relocs.
30550
d55fd7a5
RA
305512011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30552
30553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30554 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30555 cast from r3.
30556 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30557 'tests' variable.
30558 * sysdeps/wordsize-64/tst-writev.c: New file.
30559
2206397e
RA
305602011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30561
30562 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30563 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30564 insns in _dl_start to prevent a TOC reference before relocs are
30565 resolved.
30566
e9433893
UD
305672011-02-15 Ulrich Drepper <drepper@gmail.com>
30568
30569 [BZ #12469]
30570 * Makeconfig: Remove RANLIB definition.
30571 * Makerules: Don't use RANLIB.
30572 * aclocal.m4: Remove ranlib test.
30573 * configure.in: No need to check for ranlib.
30574 * elf/rtld-Rules: Don't use RANLIB.
30575
f75286c6
ST
305762011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30577
8e31c82d
ST
30578 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30579 protection macro.
30580 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30581 inclusion protection macro.
30582
f75286c6
ST
30583 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30584 SIGRTMIN and SIGRTMAX and print information in that case only when
30585 SIGRTMIN is defined.
30586
c1d0e639
JJ
305872011-02-11 Jakub Jelinek <jakub@redhat.com>
30588
30589 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30590 arginfo fn returning -1.
30591
30592 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30593 and thousands string is zero terminated.
30594
edf9294e
AS
305952011-02-03 Andreas Schwab <schwab@redhat.com>
30596
30597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30598 sysdeps/unix/sysv/linux/bits/socket.h.
30599
2b7e92df
ST
306002011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30601
edf9294e
AS
30602 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30603 (__CPU_COUNT): Remove old macros.
30604 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30605 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30606 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30607 (__sched_cpualloc, __sched_cpufree): Add declarations.
30608
a4c7ea7b
UD
306092011-02-05 Ulrich Drepper <drepper@gmail.com>
30610
30611 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30612 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30613 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30614 (readdhstai): Return value of addhstaiX call.
30615 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30616 (addgrbyX): Return value returned by cache_addgr.
30617 (readdgrbyname): Return value returned by addgrbyX.
30618 (readdgrbygid): Likewise.
30619 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30620 (addpwbyX): Return value returned by cache_addpw.
30621 (readdpwbyname): Return value returned by addhstbyX.
30622 (readdpwbyuid): Likewise.
30623 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30624 (addservbyX): Return value returned by cache_addserv.
30625 (readdservbyname): Return value returned by addservbyX:
30626 (readdservbyport): Likewise.
30627 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30628 (addhstbyX): Return value returned by cache_addhst.
30629 (readdhstbyname): Return value returned by addhstbyX.
30630 (readdhstbyaddr): Likewise.
30631 (readdhstbynamev6): Likewise.
30632 (readdhstbyaddrv6): Likewise.
30633 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30634 (readdinitgroups): Return value returned by addinitgroupsX.
30635 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30636 (prune_cache): Keep track of timeout value of re-added entries.
30637 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30638 * nscd/nscd.h: Adjust prototypes of readd* functions.
30639
a0bf67cc
RM
306402011-02-04 Roland McGrath <roland@redhat.com>
30641
30642 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30643 (nis_stats): Likewise.
30644 * nis/nis_modify.c (nis_modify): Likewise.
30645 * nis/nis_remove.c (nis_remove): Likewise.
30646 * nis/nis_add.c (nis_add): Likewise.
30647
30648 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30649
30650 * posix/fnmatch_loop.c: Add some consts.
30651
30652 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30653
435b95eb
L
306542011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30655
30656 [BZ #12460]
30657 * config.make.in (config-cflags-novzeroupper): Define.
30658 * configure.in: Substitute libc_cv_cc_novzeroupper.
30659 * elf/Makefile (AVX-CFLAGS): Define.
30660 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30661 (CFLAGS-tst-auditmod4a.c): Likewise.
30662 (CFLAGS-tst-auditmod4b.c): Likewise.
30663 (CFLAGS-tst-auditmod6b.c): Likewise.
30664 (CFLAGS-tst-auditmod6c.c): Likewise.
30665 (CFLAGS-tst-auditmod7b.c): Likewise.
30666 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30667
8517b15e
UD
306682011-02-02 Ulrich Drepper <drepper@gmail.com>
30669
30670 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30671 function to the callback.
30672 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30673
10a656fe
AS
306742011-02-02 Andreas Schwab <schwab@redhat.com>
30675
30676 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30677 of errno.
30678
968dad0a
UD
306792011-01-19 Ulrich Drepper <drepper@gmail.com>
30680
9f94d2ea 30681 [BZ #11724]
968dad0a
UD
30682 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30683 of constructors.
30684 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30685 of destructors.
30686 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30687
30688 [BZ #11724]
30689 * elf/Makefile: Add rules to build and run new test.
30690 * elf/tst-initorder.c: New file.
30691 * elf/tst-initorder.exp: New file.
30692 * elf/tst-initordera1.c: New file.
30693 * elf/tst-initordera2.c: New file.
30694 * elf/tst-initordera3.c: New file.
30695 * elf/tst-initordera4.c: New file.
30696 * elf/tst-initorderb1.c: New file.
30697 * elf/tst-initorderb2.c: New file.
30698 * elf/tst-order-a1.c: New file.
30699 * elf/tst-order-a2.c: New file.
30700 * elf/tst-order-a3.c: New file.
30701 * elf/tst-order-a4.c: New file.
30702 * elf/tst-order-b1.c: New file.
30703 * elf/tst-order-b2.c: New file.
30704 * elf/tst-order-main.c: New file.
30705 New test case by George Gensure <werkt0@gmail.com>.
30706
86e92359
UD
307072010-10-01 Andreas Schwab <schwab@redhat.com>
30708
30709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30710 decoding ACE if AI_CANONIDN.
30711
5d5732b0
UD
307122011-01-18 Ulrich Drepper <drepper@gmail.com>
30713
30714 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30715
a77e8cbc
UD
307162011-01-17 Ulrich Drepper <drepper@gmail.com>
30717
6392473f
UD
30718 * version.h (RELEASE): Bump for 2.13 release.
30719 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30720
620a0529
UD
30721 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30722
18ba70a5
UD
30723 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30724 MADV_NOHUGEPAGE.
32465c3e
UD
30725 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30726 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30727 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30728 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30729 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30731
c0dafcf1
UD
30732 * posix/getconf.c: Update copyright year.
30733 * catgets/gencat.c: Likewise.
30734 * csu/version.c: Likewise.
30735 * debug/catchsegv.sh: Likewise.
30736 * debug/xtrace.sh: Likewise.
30737 * elf/ldconfig.c: Likewise.
30738 * elf/ldd.bash.in: Likewise.
30739 * elf/sprof.c (print_version): Likewise.
30740 * iconv/iconv_prog.c: Likewise.
30741 * iconv/iconvconfig.c: Likewise.
30742 * locale/programs/locale.c: Likewise.
30743 * locale/programs/localedef.c: Likewise.
30744 * malloc/memusage.sh: Likewise.
30745 * malloc/mtrace.pl: Likewise.
30746 * nscd/nscd.c (print_version): Likewise.
30747 * nss/getent.c: Likewise.
30748
a77e8cbc
UD
30749 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30750 PF_CAIF, and PF_ALG.
30751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30752
77e8bddf
AS
307532011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30754
1f20b93a
AS
30755 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30756 (modules-names): Use them.
30757 (ifunc-test-modules, ifunc-pie-tests): Define.
30758 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30759 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30760 (test-extras): Likewise.
30761 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30762 $(compile-command.c).
30763 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30764 (all-built-dso): Define.
30765 (check-textrel.out, check-execstack.out): Depend on it.
30766
77e8bddf
AS
30767 * configure.in: Don't override --enable-multi-arch.
30768
bc425b33
UD
307692011-01-15 Ulrich Drepper <drepper@gmail.com>
30770
30771 [BZ #6812]
30772 * nscd/hstcache.c (tryagain): Define.
30773 (cache_addhst): Return tryagain not notfound for temporary errors.
30774 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30775 failed.
30776
794c3ad3
UD
307772011-01-14 Ulrich Drepper <drepper@gmail.com>
30778
70181fdd
UD
30779 [BZ #10563]
30780 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30781 to make the syscall.
30782 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30783
794c3ad3
UD
30784 [BZ #12378]
30785 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30786 and fall back to matching as normal character if the string ends before
30787 the matching ']' is found. This is what POSIX requires.
30788 * posix/testfnm.c: Adjust test result.
30789 * posix/globtest.sh: Adjust test result. Add new test.
30790 * posix/tst-fnmatch.input: Likewise.
30791 * posix/tst-fnmatch2.c: Add new test.
30792
68dc9497
AS
307932010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30794
30795 * elf/Makefile (check-execstack): Revert last change. Depend on
30796 check-execstack.h.
30797 (check-execstack.h): New target.
30798 (generated): Add check-execstack.h.
30799 * elf/check-execstack.c: Include "check-execstack.h".
30800 (main): Revert last change.
30801 (handle_file): Return zero if GNU_STACK is absent and
30802 DEFAULT_STACK_PERMS doesn't include PF_X.
30803
451f001b
UD
308042011-01-13 Ulrich Drepper <drepper@gmail.com>
30805
cfa28e56
UD
30806 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30807 in child fails because the descriptor is already closed.
8cf8ce17
UD
30808 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30809 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30810 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30811
1086d70d
UD
30812 [BZ #12397]
30813 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30814 syscall.
30815
451f001b
UD
30816 [BZ #10484]
30817 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30818 temporary buffer used to handle multi lookups locally.
a85b5cb4 30819 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30820
08769175
UD
308212011-01-12 Ulrich Drepper <drepper@gmail.com>
30822
30823 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30824 loader is ld.so.
30825
5e49c52e
UD
308262011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30827
30828 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30829 alignment for SSE2.
30830
60522a5f
UD
308312011-01-12 Ulrich Drepper <drepper@gmail.com>
30832
30833 [BZ #12394]
30834 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30835 characters. When rounding increased number of integer digits recompute
30836 number of groups.
30837 * stdio-common/tst-grouping.c: New file.
30838 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30839
f257bbd7
UD
308402011-01-09 Ulrich Drepper <drepper@gmail.com>
30841
30842 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30843 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30844
30845 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30846 void.
30847 * bits/select.h: Likewise.
30848
fa9c15cb
UD
308492011-01-08 Ulrich Drepper <drepper@gmail.com>
30850
30851 * po/ja.po: Update from translation team.
30852
16c2895f
DM
308532011-01-04 David S. Miller <davem@sunset.davemloft.net>
30854
30855 [BZ #11155]
30856 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30857 implementation just like for lxstat, fxstatat, et al.
30858
2543fef2
JM
308592010-12-27 Jim Meyering <meyering@redhat.com>
30860
30861 [BZ #12348]
30862 * posix/regexec.c (build_trtable): Return failure indication upon
30863 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30864
98727dbe
UD
308652010-12-25 Ulrich Drepper <drepper@gmail.com>
30866
5bd6dc5c
UD
30867 [BZ #12201]
30868 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30869 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30870 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30871 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30872
97983464
UD
30873 [BZ #12207]
30874 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30875
98727dbe
UD
30876 [BZ #12204]
30877 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30878 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30879
4a531bb0
L
308802010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30881
30882 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30883 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30884 script has SORT_BY_INIT_PRIORITY.
30885 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30886 NO_CTORS_DTORS_SECTIONS is defined.
30887 * elf/soinit.c: Likewise.
30888 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30889 NO_CTORS_DTORS_SECTIONS is defined.
30890 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30891 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30892 * sysdeps/sh/init-first.c: Likewise.
30893 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30894
07eb4b71
UD
308952010-12-24 Ulrich Drepper <drepper@gmail.com>
30896
30897 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30898 always use the slow path.
30899
30950a5f
RA
309002010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30901
30902 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30903 similar rule which adds the sysdep directories to the header search in
30904 order to pick up the correct platform stackinfo.h.
30905 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30906 perform test if it is, otherwise return successfully without testing.
30907 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30908 DEFAULT_STACK_PERMS define in stackinfo.h.
30909 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30910 defined in stackinfo.h.
30911 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30912 DEFAULT_STACK_PERMS defined in stackinfo.h.
30913 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30914 * sysdeps/ia64/stackinfo.h: Likewise.
30915 * sysdeps/s390/stackinfo.h: Likewise.
30916 * sysdeps/sh/stackinfo.h: Likewise.
30917 * sysdeps/sparc/stackinfo.h: Likewise.
30918 * sysdeps/x86_64/stackinfo.h: Likewise.
30919 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30920 PF_X for powerpc64. Retain PF_X for powerpc32.
30921
db753e2c
UD
309222010-12-19 Ulrich Drepper <drepper@gmail.com>
30923
14b697f7
UD
30924 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30925 accurately.
db753e2c
UD
30926 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30927 GETDENTS_64BIT_ALIGNED.
30928
28300719
UD
309292010-12-14 Ulrich Drepper <dreper@gmail.com>
30930
14b697f7 30931 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30932
4f197237
AS
309332010-12-10 Andreas Schwab <schwab@redhat.com>
30934
dbb0472f
AS
30935 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30936 _GNU_SOURCE.
30937
4f197237
AS
30938 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30939 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30940 Remove __restrict.
30941 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30942 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30943
fb88ac72
UD
309442010-12-09 Ulrich Drepper <drepper@gmail.com>
30945
30946 [BZ #11655]
30947 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30948 are initialized.
30949
42acbb92
JJ
309502010-12-09 Jakub Jelinek <jakub@redhat.com>
30951
30952 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30953
c038d98d
UD
309542010-12-03 Ulrich Drepper <drepper@gmail.com>
30955
30956 * po/it.po: Update from translation team.
30957
3a4a2499
L
309582010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30959
30960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30961 unused codes.
30962
1e24cf6e
UD
309632010-11-30 Ulrich Drepper <drepper@gmail.com>
30964
30965 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30966
a7690819
AS
309672010-11-24 Andreas Schwab <schwab@redhat.com>
30968
30969 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30970 specially.
30971 (gaih_getanswer_slice): Likewise.
30972
3bf8d1b1
JJ
309732010-10-20 Jakub Jelinek <jakub@redhat.com>
30974
30975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30976
6db52fbb
PB
309772010-05-31 Petr Baudis <pasky@suse.cz>
30978
30979 [BZ #11149]
30980 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30981 silently even in the chroot mode.
30982
eaca7569
UD
309832010-11-22 Ulrich Drepper <drepper@gmail.com>
30984
30985 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30986 last patch a bit. Pretty printing
30987
3056dcdb
UD
309882010-05-31 Petr Baudis <pasky@suse.cz>
30989
30990 [BZ #10085]
30991 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30992 initialization of skip_initgroups_dyn.
30993
cf7c9078
UD
309942010-11-19 Ulrich Drepper <drepper@gmail.com>
30995
30996 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30997 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30998
a1fb5e3e
UD
309992010-11-16 Ulrich Drepper <drepper@gmail.com>
31000
31001 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31002
3540d66b
AS
310032010-11-11 Andreas Schwab <schwab@redhat.com>
31004
31005 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31006 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31007 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31008 ($(objpfx)tst-fnmatch-mem): New rule.
31009 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31010 * posix/tst-fnmatch.c (main): Call mtrace.
31011
13b69574
L
310122010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31013
31014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31015 Support Intel processor model 6 and model 0x2c.
31016
da93d214
LM
310172010-11-10 Luis Machado <luisgpm@br.ibm.com>
31018
31019 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31020 signed comparison.
31021
8ca52c6e
L
310222010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31023
31024 [BZ #12205]
31025 * string/test-strncasecmp.c (check_result): New function.
31026 (do_one_test): Use it.
31027 (check1): New function.
31028 (test_main): Use it.
31029 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31030 Support strcasecmp and strncasecmp.
31031
69da074d
UD
310322010-11-08 Ulrich Drepper <drepper@gmail.com>
31033
31034 [BZ #12194]
31035 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31036 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31037
ff02d528
L
310382010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31039
31040 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31041 IFUNC support.
31042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31043 memset-x86-64.
31044 * sysdeps/x86_64/multiarch/bzero.S: New file.
31045 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31046 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31047 * sysdeps/x86_64/multiarch/memset.S: New file.
31048 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31050 Set bit_Prefer_SSE_for_memop for Intel processors.
31051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31052 Define.
31053 (index_Prefer_SSE_for_memop): Define.
31054 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31055
344d0b54
LM
310562010-11-04 Luis Machado <luisgpm@br.ibm.com>
31057
31058 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31059 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31060
c0dde15b
UD
310612010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31062
31063 [BZ #12191]
31064 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31065 (__x86_64_raw_data_cache_size_half): Likewise.
31066 (__x86_64_raw_shared_cache_size): Likewise.
31067 (__x86_64_raw_shared_cache_size_half): Likewise.
31068
31069 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31070 (__x86_64_raw_data_cache_size_half): Likewise.
31071 (__x86_64_raw_shared_cache_size): Likewise.
31072 (__x86_64_raw_shared_cache_size_half): Likewise.
31073 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31074 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31075 and __x86_64_raw_shared_cache_size_half. Round
31076 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31077 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31078 to multiple of 256 bytes.
31079
0e516e0e
MS
310802010-11-03 Ulrich Drepper <drepper@gmail.com>
31081
31082 [BZ #12167]
31083 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31084 of inacessible symlinks. Verify result of symlink before returning it.
31085 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31086 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31087
0e012e87
ER
310882010-10-28 Erich Ritz <erichritz@gmail.com>
31089
31090 * math/math.h (isinf): Fix typo in comment.
31091
de0ff7bc
UD
310922010-11-01 Ulrich Drepper <drepper@gmail.com>
31093
31094 * po/da.po: Update from translation team.
31095
fa41c84d
UD
310962010-10-26 Ulrich Drepper <drepper@gmail.com>
31097
31098 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31099 is added to the list.
31100
f0967738
AK
311012010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31102 Ulrich Drepper <drepper@gmail.com>
31103
31104 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31105 the global list here. Move code to...
31106 (_dl_add_to_namespace_list): ...here. New function.
31107 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31108 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31109 * elf/dl-load.c (lose): Don't remove the element from the list.
31110 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31111 (_dl_map_object): Likewise.
31112
311132010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31114
31115 [BZ #12159]
31116 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31117 into all bytes of SSE register.
31118 Patch by Richard Li <richardpku@gmail.com>.
31119
f0967738 311202010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31121
31122 [BZ #12140]
31123 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31124 perturbing.
31125
d0b9e94f
MB
311262010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31127
31128 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31129 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31130 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31131 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31133 submachine.
31134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31135
8e9f92e9
AS
311362010-10-22 Andreas Schwab <schwab@redhat.com>
31137
31138 * include/dlfcn.h (__RTLD_SECURE): Define.
31139 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31140 mode & __RTLD_SECURE instead.
31141 (open_path): Rename preloaded parameter to secure.
31142 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31143 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31144 * elf/dl-deps.c (openaux): Likewise.
31145 * elf/rtld.c (struct map_args): Remove is_preloaded.
31146 (map_doit): Don't use it.
31147 (dl_main): Likewise.
31148 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31149 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31150
bc96fbda
AS
311512010-09-09 Andreas Schwab <schwab@redhat.com>
31152
31153 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31154 (sysd-rules-targets): Remove duplicates.
31155 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31156 rtld-%.$o dependency.
31157
22cd1c9b
AS
311582010-10-18 Andreas Schwab <schwab@redhat.com>
31159
31160 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31161 _dl_map_object do it.
31162
18edac48
UD
311632010-10-19 Ulrich Drepper <drepper@gmail.com>
31164
31165 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31166 fast fma builtins, define the macros in the C99 standard.
31167 (FP_FAST_FMAF): Likewise.
31168 (FP_FAST_FMAL): Likewise.
31169 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31170
31171 * bits/mathdef.h: Update copyright year.
31172 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31173
d2050124
MM
311742010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31175
31176 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31177 builtins, define the macros in the C99 standard.
31178 (FP_FAST_FMAF): Likewise.
31179 (FP_FAST_FMAL): Likewise.
31180 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31181 multiply/add.
31182 (FP_FAST_FMAF): Likewise.
31183
475facd1
JJ
311842010-10-15 Jakub Jelinek <jakub@redhat.com>
31185
31186 [BZ #3268]
31187 * math/libm-test.inc (fma_test): Some new testcases.
31188 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31189 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31190 y and infinite z. Do multiplication by C already in long double.
31191 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31193 y and infinite z. Do bitwise or of inexact bit into u.d.
31194 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31195 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31196 * sysdeps/i386/fpu/s_fma.S: Removed.
31197 * sysdeps/i386/fpu/s_fmal.S: Removed.
31198
7c08a05c
JJ
311992010-10-16 Jakub Jelinek <jakub@redhat.com>
31200
31201 [BZ #3268]
31202 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31203 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31204 computation is not scheduled after fetestexcept. Fix value
31205 of minimum denormal long double.
31206
f3f7372d
JJ
312072010-10-14 Jakub Jelinek <jakub@redhat.com>
31208
31209 [BZ #3268]
31210 * math/libm-test.inc (fma_test): Add some more tests.
31211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31212 correctly.
31213
14d43591
AS
312142010-10-15 Andreas Schwab <schwab@redhat.com>
31215
31216 * scripts/data/localplt-s390-linux-gnu.data: New file.
31217 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31218
5e908464
JJ
312192010-10-13 Jakub Jelinek <jakub@redhat.com>
31220
31221 [BZ #3268]
31222 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31223 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31224 instead of dbl-64.
31225 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31226 inlines.
31227 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31229 if one of x and y is very large and the other is subnormal.
31230 * sysdeps/s390/fpu/s_fmaf.c: New file.
31231 * sysdeps/s390/fpu/s_fma.c: New file.
31232 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31233 * sysdeps/powerpc/fpu/s_fma.S: New file.
31234 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31235 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31236 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31237
312382010-10-12 Jakub Jelinek <jakub@redhat.com>
31239
31240 [BZ #3268]
31241 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31242 fma tests.
31243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31244 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31245 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31246 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31247 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31248 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31249 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31250
b833d51f
UD
312512010-10-12 Ulrich Drepper <drepper@redhat.com>
31252
31253 [BZ #12078]
31254 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31255 * posix/bug-regex31.input: Add test case.
31256
1751705d
UD
312572010-10-11 Ulrich Drepper <drepper@gmail.com>
31258
e9b9cbf5
UD
31259 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31260 * posix/bug-regex31.input: New file.
31261
31262 [BZ #12078]
31263 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31264 (parse_sub_exp): Fix last change, use postorder.
31265
ef06edbe
UD
31266 * posix/bug-regex31.c: New file.
31267 * posix/Makefile: Add rules to build and run bug-regex31.
31268
a129c80d
UD
31269 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31270
31271 [BZ #12078]
31272 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31273
b76b818e
UD
31274 [BZ #12108]
31275 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31276 to have entries in sys_siglist.
31277
1751705d
UD
31278 [BZ #12093]
31279 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31280 be NULL.
31281
9ff8d36f
JJ
312822010-10-07 Jakub Jelinek <jakub@redhat.com>
31283
31284 [BZ #3268]
31285 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31286 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31287 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31288 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31289 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31290 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31291 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31292 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31293 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31294 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31295 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31296 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31297 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31298 * math/ftestexcept.c (fetestexcept): Likewise.
31299 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31300 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31301 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31302 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31303 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31304 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31305 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31306
af325969
UD
313072010-10-11 Ulrich Drepper <drepper@gmail.com>
31308
c579b202 31309 [BZ #12107]
af325969
UD
31310 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31311 newline.
31312
67a67b95
UD
313132010-10-06 Ulrich Drepper <drepper@gmail.com>
31314
31315 * string/bug-strstr1.c: New file.
31316 * string/Makefile: Add rules to build and run bug-strstr1.
31317
5fb308bc
EB
313182010-10-05 Eric Blake <eblake@redhat.com>
31319
31320 [BZ #12092]
31321 * string/str-two-way.h (two_way_long_needle): Always clear memory
31322 when skipping input due to the shift table.
31323
45db99c7
UD
313242010-10-03 Ulrich Drepper <drepper@gmail.com>
31325
3b111893
UD
31326 [BZ #12005]
31327 * malloc/mcheck.c: Handle large requests.
31328
45db99c7
UD
31329 [BZ #12077]
31330 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31331 for strncmp and strncasecmp.
31332 * string/stratcliff.c: Add tests for strcmp and strncmp.
31333 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31334
cf7a1eb8
NI
313352010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31336
31337 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31338 __set_fpscr.
31339
6484ba5e
AJ
313402010-09-30 Andreas Jaeger <aj@suse.de>
31341
31342 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31343 (CGROUP_SUPER_MAGIC): Define.
31344 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31345 Handle btrfs and cgroup file systems.
31346 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31347 Likewise.
31348
91c42559
LM
313492010-09-27 Luis Machado <luisgpm@br.ibm.com>
31350
31351 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31352 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31353
87a97932
AK
313542010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31355
31356 [BZ #12067]
31357 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31358 trying to locate the ELF header.
31359
c21cc9bc
AS
313602010-09-27 Andreas Schwab <schwab@redhat.com>
31361
31362 [BZ #11611]
31363 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31364 Mask out sign-bit copies when constructing f_fsid.
31365
315970f6
PB
313662010-09-24 Petr Baudis <pasky@suse.cz>
31367
31368 * debug/stack_chk_fail_local.c: Add missing licence exception.
31369 * debug/warning-nop.c: Likewise.
31370
1ac7a2c7
JM
313712010-09-15 Joseph Myers <joseph@codesourcery.com>
31372
31373 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31374 implementing getdents64 using getdents syscall, set d_type if
31375 __ASSUME_GETDENTS32_D_TYPE.
31376
56801c50
AS
313772010-09-16 Andreas Schwab <schwab@redhat.com>
31378
31379 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31380 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31381
dda51327
UD
313822010-09-21 Ulrich Drepper <drepper@redhat.com>
31383
31384 [BZ #12037]
31385 * posix/unistd.h: Undo change of feature selection for ftruncate from
31386 2010-01-11.
31387
8ffcee4a
UD
313882010-09-20 Ulrich Drepper <drepper@redhat.com>
31389
a545ecd9 31390 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31391 detection.
31392
e24f0a8b
AS
313932010-09-20 Andreas Schwab <schwab@redhat.com>
31394
31395 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31396 fanotify_mark.
31397 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31398
7291c56f
AS
313992010-09-14 Andreas Schwab <schwab@redhat.com>
31400
31401 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31402 variables after CHECK_SP call.
31403 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31404
bc5fb037
AS
314052010-09-13 Andreas Schwab <schwab@redhat.com>
31406 Ulrich Drepper <drepper@redhat.com>
31407
31408 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31409 re-relocationg ld.so.
31410 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31411 _dl_init_paths call.
31412 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31413 here anymore.
31414
e66e7419
UD
314152010-09-14 Ulrich Drepper <drepper@redhat.com>
31416
31417 * resolv/res_init.c (__res_vinit): Count the default server we added.
31418
c044aa75
CLT
314192010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31420 Ulrich Drepper <drepper@redhat.com>
31421
31422 [BZ #11968]
31423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31424 (____longjmp_chk): Use %ebx for saving value across system call.
31425 Add unwind info.
31426
32cf4069
AS
314272010-09-06 Andreas Schwab <schwab@redhat.com>
31428
31429 * manual/Makefile: Don't mix pattern rules with normal rules.
31430
817328ee
AS
314312010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31432
31433 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31434 operation.
31435 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31436 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31437 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31438 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31440 Likewise.
31441
29fddf61
UD
314422010-09-04 Ulrich Drepper <drepper@redhat.com>
31443
31444 [BZ #11979]
31445 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31446 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31447
0959ffc9
UD
314482010-09-02 Ulrich Drepper <drepper@redhat.com>
31449
31450 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31451 * sysdeps/x86_64/addmul_1.S: Likewise.
31452 * sysdeps/x86_64/lshift.S: Likewise.
31453 * sysdeps/x86_64/mul_1.S: Likewise.
31454 * sysdeps/x86_64/rshift.S: Likewise.
31455 * sysdeps/x86_64/sub_n.S: Likewise.
31456 * sysdeps/x86_64/submul_1.S: Likewise.
31457
ece29840
ST
314582010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31459
0959ffc9
UD
31460 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31461 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31462 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31463 * bits/sched.h [__need_schedparam]
ece29840 31464 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31465 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31466 (__defined_schedparam): Define to 1.
ece29840
ST
31467 (__sched_param): New structure, identical to sched_param.
31468 (__need_schedparam): Undefine.
31469
e53a31fe
MF
314702010-08-31 Mike Frysinger <vapier@gentoo.org>
31471
fdc0c10d
MF
31472 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31473 (epoll_create1): Declare.
31474
e53a31fe
MF
31475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31476
a726d796
AS
314772010-08-31 Andreas Schwab <schwab@redhat.com>
31478
31479 [BZ #7066]
31480 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31481 shifting retval into place.
31482
2f3e3dc7
UD
314832010-09-01 Ulrich Drepper <drepper@redhat.com>
31484
f2933da9
UD
31485 * nis/rpcsvc/nis.h: Update copyright notice.
31486 * nis/rpcsvc/nis.x: Likewise.
31487 * nis/rpcsvc/nis_callback.h: Likewise.
31488 * nis/rpcsvc/nis_callback.x: Likewise.
31489 * nis/rpcsvc/nis_object.x: Likewise.
31490 * nis/rpcsvc/nis_tags.h: Likewise.
31491 * nis/rpcsvc/yp.h: Likewise.
31492 * nis/rpcsvc/yp.x: Likewise.
31493 * nis/rpcsvc/ypupd.h: Likewise.
31494 * nis/yp_xdr.c: Likewise.
31495 * nis/ypupdate_xdr.c: Likewise.
31496
2f3e3dc7
UD
31497 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31498 mainly the body of pmap_getport. Add parameters to specify timeouts.
31499 (pmap_getport): Use __libc_rpc_getport.
31500 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31501 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31502 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31503
f3dcc2f9
AS
315042010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31505
31506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31507 fanotify_mark.
31508
6d34eb5b
RM
315092010-08-27 Roland McGrath <roland@redhat.com>
31510
31511 * sysdeps/i386/i686/multiarch/Makefile
31512 (CFLAGS-varshift.c): New variable.
31513
9ea3de11
UD
315142010-08-27 Ulrich Drepper <drepper@redhat.com>
31515
c96d23fc
UD
31516 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31517 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31518
9ea3de11
UD
31519 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31520
31521 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31522
623aac7f
L
315232010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31524
31525 * sysdeps/x86_64/strlen.S: Unroll the loop.
31526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31527 strlen-sse2 strlen-sse2-bsf.
31528 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31529 __strlen_no_bsf if bit_Slow_BSF is set.
31530 (__strlen_sse42): Removed.
31531 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31532 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31533
8b2b7715
RM
315342010-08-25 Roland McGrath <roland@redhat.com>
31535
31536 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31537 * sysdeps/x86_64/multiarch/varshift.c: New file.
31538 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31539 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31540 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31541 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31542
e73015f2
L
315432010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31544
31545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31546 strlen-sse2 strlen-sse2-bsf.
31547 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31548 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31549 (__strlen_sse2): Removed.
31550 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31553 bit_Slow_BSF for Atom.
31554 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31555 (index_Slow_BSF): Define.
31556 (HAS_SLOW_BSF): Define.
31557
df24a73e
UD
315582010-08-25 Ulrich Drepper <drepper@redhat.com>
31559
31560 [BZ #10851]
31561 * resolv/res_init.c (__res_vinit): When no server address at all
31562 is given default to loopback.
31563
f2ac4868
RM
315642010-08-24 Roland McGrath <roland@redhat.com>
31565
09055553
RM
31566 * configure.in: Remove config-name.h generation.
31567 * configure: Regenerated.
31568 * config-name.in: File removed.
31569 * scripts/config-uname.sh: New file.
31570 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31571 ($(objdir)config-name.h): New target.
31572
f2ac4868
RM
31573 * sunrpc/rpc_parse.h: Avoid nested comment.
31574
73f27d5e
RH
315752010-08-24 Richard Henderson <rth@redhat.com>
31576 Ulrich Drepper <drepper@redhat.com>
31577 H.J. Lu <hongjiu.lu@intel.com>
31578
31579 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31581 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31582 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31583 _mm_alignr_epi8 with _mm_loadu_si128.
31584 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31585 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31586 (__m128i_shift_right): Removed.
31587 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31588 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31589 * sysdeps/x86_64/multiarch/varshift.h: New file.
31590 * sysdeps/x86_64/multiarch/varshift.S: New file.
31591
84b9230c
MF
315922010-08-21 Mike Frysinger <vapier@gentoo.org>
31593
31594 * configure.in: Move assembler checks to before sysdep dir checking.
31595
9bbd0ddc
PB
315962010-08-20 Petr Baudis <pasky@suse.cz>
31597
31598 * LICENSES: Sync the sunrpc license.
31599
9da4bb31
UD
316002010-08-19 Ulrich Drepper <drepper@redhat.com>
31601
a7ab6ec8
UD
31602 * sunrpc/auth_des.c: Update copyright notice once again.
31603 * sunrpc/auth_none.c: Likewise.
31604 * sunrpc/auth_unix.c: Likewise.
31605 * sunrpc/authdes_prot.c: Likewise.
31606 * sunrpc/authuxprot.c: Likewise.
31607 * sunrpc/bindrsvprt.c: Likewise.
31608 * sunrpc/clnt_gen.c: Likewise.
31609 * sunrpc/clnt_perr.c: Likewise.
31610 * sunrpc/clnt_raw.c: Likewise.
31611 * sunrpc/clnt_simp.c: Likewise.
31612 * sunrpc/clnt_tcp.c: Likewise.
31613 * sunrpc/clnt_udp.c: Likewise.
31614 * sunrpc/clnt_unix.c: Likewise.
31615 * sunrpc/des_crypt.c: Likewise.
31616 * sunrpc/des_soft.c: Likewise.
31617 * sunrpc/get_myaddr.c: Likewise.
31618 * sunrpc/getrpcport.c: Likewise.
31619 * sunrpc/key_call.c: Likewise.
31620 * sunrpc/key_prot.c: Likewise.
31621 * sunrpc/openchild.c: Likewise.
31622 * sunrpc/pm_getmaps.c: Likewise.
31623 * sunrpc/pm_getport.c: Likewise.
31624 * sunrpc/pmap_clnt.c: Likewise.
31625 * sunrpc/pmap_prot.c: Likewise.
31626 * sunrpc/pmap_prot2.c: Likewise.
31627 * sunrpc/pmap_rmt.c: Likewise.
31628 * sunrpc/rpc/auth.h: Likewise.
31629 * sunrpc/rpc/auth_unix.h: Likewise.
31630 * sunrpc/rpc/clnt.h: Likewise.
31631 * sunrpc/rpc/des_crypt.h: Likewise.
31632 * sunrpc/rpc/key_prot.h: Likewise.
31633 * sunrpc/rpc/netdb.h: Likewise.
31634 * sunrpc/rpc/pmap_clnt.h: Likewise.
31635 * sunrpc/rpc/pmap_prot.h: Likewise.
31636 * sunrpc/rpc/pmap_rmt.h: Likewise.
31637 * sunrpc/rpc/rpc.h: Likewise.
31638 * sunrpc/rpc/rpc_des.h: Likewise.
31639 * sunrpc/rpc/rpc_msg.h: Likewise.
31640 * sunrpc/rpc/svc.h: Likewise.
31641 * sunrpc/rpc/svc_auth.h: Likewise.
31642 * sunrpc/rpc/types.h: Likewise.
31643 * sunrpc/rpc/xdr.h: Likewise.
31644 * sunrpc/rpc_clntout.c: Likewise.
31645 * sunrpc/rpc_cmsg.c: Likewise.
31646 * sunrpc/rpc_common.c: Likewise.
31647 * sunrpc/rpc_cout.c: Likewise.
31648 * sunrpc/rpc_dtable.c: Likewise.
31649 * sunrpc/rpc_hout.c: Likewise.
31650 * sunrpc/rpc_main.c: Likewise.
31651 * sunrpc/rpc_parse.c: Likewise.
31652 * sunrpc/rpc_parse.h: Likewise.
31653 * sunrpc/rpc_prot.c: Likewise.
31654 * sunrpc/rpc_sample.c: Likewise.
31655 * sunrpc/rpc_scan.c: Likewise.
31656 * sunrpc/rpc_scan.h: Likewise.
31657 * sunrpc/rpc_svcout.c: Likewise.
31658 * sunrpc/rpc_tblout.c: Likewise.
31659 * sunrpc/rpc_util.c: Likewise.
31660 * sunrpc/rpc_util.h: Likewise.
31661 * sunrpc/rpcinfo.c: Likewise.
31662 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31663 * sunrpc/rpcsvc/key_prot.x: Likewise.
31664 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31665 * sunrpc/rpcsvc/mount.x: Likewise.
31666 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31667 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31668 * sunrpc/rpcsvc/rex.x: Likewise.
31669 * sunrpc/rpcsvc/rstat.x: Likewise.
31670 * sunrpc/rpcsvc/rusers.x: Likewise.
31671 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31672 * sunrpc/rpcsvc/spray.x: Likewise.
31673 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31674 * sunrpc/rtime.c: Likewise.
31675 * sunrpc/svc.c: Likewise.
31676 * sunrpc/svc_auth.c: Likewise.
31677 * sunrpc/svc_authux.c: Likewise.
31678 * sunrpc/svc_raw.c: Likewise.
31679 * sunrpc/svc_run.c: Likewise.
31680 * sunrpc/svc_simple.c: Likewise.
31681 * sunrpc/svc_tcp.c: Likewise.
31682 * sunrpc/svc_udp.c: Likewise.
31683 * sunrpc/svc_unix.c: Likewise.
31684 * sunrpc/svcauth_des.c: Likewise.
31685 * sunrpc/xcrypt.c: Likewise.
31686 * sunrpc/xdr.c: Likewise.
31687 * sunrpc/xdr_array.c: Likewise.
31688 * sunrpc/xdr_float.c: Likewise.
31689 * sunrpc/xdr_mem.c: Likewise.
31690 * sunrpc/xdr_rec.c: Likewise.
31691 * sunrpc/xdr_ref.c: Likewise.
31692 * sunrpc/xdr_sizeof.c: Likewise.
31693 * sunrpc/xdr_stdio.c: Likewise.
31694
9da4bb31
UD
31695 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31696 handling.
31697
bdaa77bc
AS
316982010-08-19 Andreas Schwab <schwab@redhat.com>
31699
31700 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31701
fe2f79db
LM
317022010-08-19 Luis Machado <luisgpm@br.ibm.com>
31703
31704 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31705 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31706 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31707 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31708 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31709 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31710 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31711 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31712 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31713 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31714 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31715 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31716 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31717 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31718
b9b42ee0
AB
317192010-07-26 Anton Blanchard <anton@samba.org>
31720
31721 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31722 * malloc/arena.c (heap_trim): Likewise.
31723
1c06ba31
UD
317242010-08-16 Ulrich Drepper <drepper@redhat.com>
31725
31726 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31727 here. Not...
31728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31729 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31730
f8392f40
L
317312010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31732
31733 * sysdeps/i386/elf/Makefile: New file.
31734
3162f12e
AS
317352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31736
31737 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31738 from fanotify_init.
31739 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31741
28c90b2c
UD
317422010-08-15 Ulrich Drepper <drepper@redhat.com>
31743
31744 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31745 of strncasecmp_l.
1feccb6c 31746 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31747
ca6bb004
UD
317482010-08-14 Ulrich Drepper <drepper@redhat.com>
31749
e9f82e0d
UD
31750 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31751 strncase_l-nonascii.
31752 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31753 Add strncase_l-ssse3.
31754 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31755 * sysdeps/x86_64/strcmp.S: Likewise.
31756 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31757 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31758 * sysdeps/x86_64/strncase.S: New file.
31759 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31760 * sysdeps/x86_64/strncase_l.S: New file.
31761 * string/Makefile (strop-tests): Add strncasecmp.
31762 * string/test-strncasecmp.c: New file.
31763
31764 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31765 warning.
31766
ca6bb004
UD
31767 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31768 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31769
052fa7b3
AS
317702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31771
31772 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31773
962dba78
UD
317742010-08-12 Ulrich Drepper <drepper@redhat.com>
31775
31776 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31777 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31778 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31779
bebff237
AM
317802010-05-01 Alan Modra <amodra@gmail.com>
31781
31782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31783 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31784 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31785 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31786 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31787 tidying. Don't tail-call __sigjmp_save for static lib.
31788 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31789 save location.
31790 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31791 (CALL_MCOUNT): Add eh info, and nop after bl.
31792 (TAIL_CALL_SYSCALL_ERROR): New macro.
31793 (PSEUDO_RET): Use it.
31794 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31795 Correct save location of integer regs and cr.
31796 (_dl_profile_resolve): Correct cr save location. Delete nops
31797 after bl when SHARED. Reduce cfi size a little by better
31798 placement of cfi directives.
31799 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31800 make a stack frame. Instead use parm save area as a temp.
31801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31802 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31804 Don't make a stack frame for parent, use parm save area.
31805 Increase child stack frame to 112 bytes. Don't save unused reg,
31806 and adjust reg usage. Set up cfi on error recovery and
31807 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31809 (__makecontext): Add dummy nop after jump to exit.
31810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31811 Use correct parm save area and cr save, reduce stack frame.
31812 Correct cfi for possible PSEUDO_RET frame setup.
31813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31814 Branch to local label emitted by PSEUDO_RET rather than
31815 __syscall_error.
31816
02637374
AS
318172010-08-12 Andreas Schwab <schwab@redhat.com>
31818
31819 [BZ #11904]
31820 * locale/programs/locale.c (print_assignment): New function.
31821 (show_locale_vars): Use it.
31822
c3e2f19b
UD
318232010-08-11 Ulrich Drepper <drepper@redhat.com>
31824
3cdaa6ad
UD
31825 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31826 field.
31827 (struct statfs64): Likewise.
31828 (_STATFS_F_FLAGS): Define.
31829 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31830 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31831 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31832 (ST_VALID): Define locally.
31833 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31834 __statvfs_getflags, use the provided value.
31835 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31836 __ASSUME_STATFS_F_FLAGS.
31837
754f7da3
UD
31838 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31839
10b3bedc
UD
31840 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31841 Add sys/fanotify.h.
31842 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31843 fanotify_mask for GLIBC_2.13.
31844 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31845 fanotify_init and fanotify_mark.
31846 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31847 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31848
c08fb0d7
UD
31849 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31850 Add prlimit.
31851 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31852 prlimit64 for GLIBC_2.13.
31853 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31854 prlimit64.
31855 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31856 syscall.
31857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31858 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31859 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31860 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31862 add prlimit alias.
31863 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31864
15bac72b
UD
31865 [BZ #11903]
31866 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31867 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31868
c3e2f19b
UD
31869 * nss/Makefile: Add rules to build and run tst-nss-test1.
31870 * shlib-versions: Add entry for libnss_test1.
31871 * nss/nss_test1.c: New file.
31872 * nss/tst-nss-test1.c: New file.
31873
31874 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31875 (__nss_configure_lookup): Set appropriate entry in
31876 __nss_configure_lookup to true.
31877 * nss/nsswitch.h: Define enum with indeces of databases in
31878 databases and __nss_database_custom arrays. Declare
31879 __nss_database_custom.
31880 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31881 to avoid using nscd when custom rules are installed.
31882 * nss/getXXbyYY_r.c: Likewise.
31883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31884
31885 * nss/nss_files/files-parse.c: Whitespace fixes.
31886
f15ce4d8
UD
318872010-08-09 Ulrich Drepper <drepper@redhat.com>
31888
31889 [BZ #11883]
31890 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31891 * posix/fnmatch_loop.c: Likewise.
31892
d22e4cc9
AK
318932010-07-17 Andi Kleen <ak@linux.intel.com>
31894
31895 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31896 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31897 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31898 * Versions.def [GLIBC_2.13]: Add.
31899
805bc17d
UD
319002010-08-06 Ulrich Drepper <drepper@redhat.com>
31901
31902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31903 Also fail if tpwd after pwuid call is NULL.
31904
5a42321d
ST
319052010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31906
31907 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31908 when converting to ms.
31909
fd3ebeda
ST
319102010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31911
31912 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31913 EOPNOTSUPP errors with ENOTTY.
31914 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31915 EOPNOTSUPP errors with ENOTTY.
31916
73507d3a
UD
319172010-07-31 Ulrich Drepper <drepper@redhat.com>
31918
31919 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31920 Add strcasecmp_l-ssse3.
31921 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31922 strcasecmp.
31923 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31924 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31925 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31926
fe36dd02
UD
319272010-07-30 Ulrich Drepper <drepper@redhat.com>
31928
66f6765a
UD
31929 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31930
42e08a54
UD
31931 * string/Makefile (strop-tests): Add strcasecmp.
31932 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31933 strcasecmp_l-nonascii.
31934 (gen-as-const-headers): Add locale-defines.sym.
31935 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31936 * sysdeps/x86_64/strcasecmp.S: New file.
31937 * sysdeps/x86_64/strcasecmp_l.S: New file.
31938 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31939 * sysdeps/x86_64/locale-defines.sym: New file.
31940 * string/test-strcasecmp.c: New file.
31941
fe36dd02
UD
31942 * string/test-strcasestr.c: Test both ends of the range of characters.
31943 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31944
48cbc0d6
RM
319452010-07-29 Roland McGrath <roland@redhat.com>
31946
76e6d6bc 31947 [BZ #11856]
48cbc0d6
RM
31948 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31949
880113d9
UD
319502010-07-27 Ulrich Drepper <drepper@redhat.com>
31951
31952 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31953 for ld.so.
31954
deb9cabb
AS
319552010-07-27 Andreas Schwab <schwab@redhat.com>
31956
31957 * manual/memory.texi (Malloc Tunable Parameters): Document
31958 M_PERTURB.
31959
1c7570ff
RM
319602010-07-26 Roland McGrath <roland@redhat.com>
31961
31962 [BZ #11840]
31963 * configure.in (-fgnu89-inline check): Set and substitute
31964 gnu89_inline, not libc_cv_gnu89_inline.
31965 * configure: Regenerated.
31966 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31967
24fb0f88
UD
319682010-07-26 Ulrich Drepper <drepper@redhat.com>
31969
31970 * string/test-strnlen.c: New file.
31971 * string/Makefile (strop-tests): Add strnlen.
31972 * string/tester.c (test_strnlen): Add a few more test cases.
31973 * string/tst-strlen.c: Better error reporting.
31974
31975 * sysdeps/x86_64/strnlen.S: New file.
31976
8e96b93a
UD
319772010-07-24 Ulrich Drepper <drepper@redhat.com>
31978
31979 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31980 lower-latency instructions.
31981
dbc676d4
UD
319822010-07-23 Ulrich Drepper <drepper@redhat.com>
31983
31984 * string/test-strcasestr.c: New file.
31985 * string/test-strstr.c: New file.
31986 * string/Makefile (strop-tests): Add strstr and strcasestr.
31987 * string/str-two-way.h: Don't undefine MAX.
31988 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31989
f6a31e0e
AS
319902010-07-21 Andreas Schwab <schwab@redhat.com>
31991
31992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31993 strcasestr-nonascii.
31994 (CFLAGS-strcasestr-nonascii.c): Define.
31995 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31996 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31997 Remove unused attribute.
31998
5dbc3b6c
RM
319992010-07-20 Roland McGrath <roland@redhat.com>
32000
32001 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32002 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32003 ld.so.cache was broken. With it, there is no way to disable dsocaps
32004 like LD_HWCAP_MASK can disable hwcaps.
32005
23d101d8
EPM
320062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32007
32008 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32009
cc9f2e47
UD
320102010-07-16 Ulrich Drepper <drepper@redhat.com>
32011
32012 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32013 call in strcasestr.
32014 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32015 __strcasestr_sse42_nonascii.
32016 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32017 strcasestr-nonascii.c.
32018 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32019
77c1b069
LM
320202010-06-15 Luis Machado <luisgpm@br.ibm.com>
32021
32022 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32023 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32024 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32025 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32026
440566c3
UD
320272010-07-09 Ulrich Drepper <drepper@redhat.com>
32028
32029 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32030 fcntl.
32031
5be9d05d
AS
320322010-07-06 Andreas Schwab <schwab@redhat.com>
32033
c30b7ee2 32034 [BZ #11577]
5be9d05d
AS
32035 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32036 dl_signal_cerror.
32037
8a492a67
UD
320382010-07-06 Ulrich Drepper <drepper@redhat.com>
32039
32040 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32041 _PC_PIPE_BUF using F_GETPIPE_SZ.
32042
713df3d5
RM
320432010-07-05 Roland McGrath <roland@redhat.com>
32044
32045 * manual/arith.texi (Rounding Functions): Fix rint description
32046 implicit in round description.
32047
702e8f14
UD
320482010-07-02 Ulrich Drepper <drepper@redhat.com>
32049
32050 * elf/Makefile: Fix linking for a few tests to make recent linker
32051 happy.
32052
52ed8be9
AS
320532010-06-30 Andreas Schwab <schwab@redhat.com>
32054
32055 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32056 $(common-objpfx)libc_nonshared.a.
32057
f47c9a11
LM
320582010-06-21 Luis Machado <luisgpm@br.ibm.com>
32059
32060 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32061 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32062 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32063 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32064 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32065 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32066 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32067 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32082 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32083 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32084 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32085 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32086 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32087 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32088 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32089 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32090 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32091 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32092 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32093 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32108
6fb8cbcb
L
321092010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32110
32111 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32112 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32113 * string/memmove.c (memmove): Renamed to ...
32114 (MEMMOVE): ...this. Default to memmove.
32115 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32116 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32117 (END_CHK): Define.
32118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32119 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32120 mempcpy-ssse3-back memmove-ssse3-back.
32121 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32122 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32123 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32124 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32125 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32126 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32127 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32128 * sysdeps/x86_64/multiarch/memmove.c: New file.
32129 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32130 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32131 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32132 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32133 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32134 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32135 Define.
32136 (index_Fast_Copy_Backward): Define.
32137 (HAS_ARCH_FEATURE): Define.
32138 (HAS_FAST_REP_STRING): Define.
32139 (HAS_FAST_COPY_BACKWARD): Define.
32140
4e733bac 321412010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32142
32143 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32144 Restore proper fallback handling.
32145
63c4ed22
UD
321462010-06-19 Ulrich Drepper <drepper@redhat.com>
32147
ac2b484c
UD
32148 [BZ #11701]
32149 * posix/group_member.c (__group_member): Correct checking loop.
32150
63c4ed22
UD
32151 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32152 OOM in getpwuid_r correctly. Return error number when the caller
32153 should return, otherwise -1.
32154 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32155 call returning > 0 value.
32156 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32157
765ade4b
AS
321582010-06-07 Andreas Schwab <schwab@redhat.com>
32159
32160 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32161 libc_nonshared.a from targets in modules-names.
32162
80da2e09
KS
321632010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32164
32165 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32166 requires it.
32167
158db122
LM
321682010-06-10 Luis Machado <luisgpm@br.ibm.com>
32169
32170 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32171 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32172 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32173 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32174
caa78cf8
AS
321752010-06-02 Andreas Schwab <schwab@redhat.com>
32176
32177 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32178
b2ef2c01
UD
321792010-06-14 Ulrich Drepper <drepper@redhat.com>
32180
32181 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32182 and F_GETPIPE_SZ.
32183 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32184 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32187 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32188 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32189
fbd643b6
RM
321902010-06-14 Roland McGrath <roland@redhat.com>
32191
32192 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32193
f32f2869
JJ
321942010-06-07 Jakub Jelinek <jakub@redhat.com>
32195
32196 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32197 __REDIRECT followed by __THROW.
32198 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32199 * posix/getopt.h (getopt): Likewise.
32200
2a50c078
EPM
322012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32202
32203 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32204 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32205 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32206 in AT_FLAGS.
32207 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32208 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32209
eb5ad2eb
LM
322102010-05-28 Luis Machado <luisgpm@br.ibm.com>
32211
32212 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32213
3c88fe1e
L
322142010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32215
32216 [BZ #11640]
32217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32218 Properly check family and model.
32219
d2f73151
TY
322202010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32221
32222 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32223
ebd2e13d
LM
322242010-05-24 Luis Machado <luisgpm@br.ibm.com>
32225
32226 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32227
b32b8b45
UD
322282010-05-21 Ulrich Drepper <drepper@redhat.com>
32229
32230 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32231 symbol reference.
32232
9acbe24d
AS
322332010-05-19 Andreas Schwab <schwab@redhat.com>
32234
32235 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32236 symbol reference.
32237
f0ccf6ea
AS
322382010-05-21 Andreas Schwab <schwab@redhat.com>
32239
3d04ff3a
AS
32240 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32241 and internal_recvmmsg.
32242 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32243 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32244 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32245 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32246
f0ccf6ea
AS
32247 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32248 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32249 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32250
5b08ac57
AS
322512010-05-20 Andreas Schwab <schwab@redhat.com>
32252
32253 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32254
4828935d
LM
322552010-05-17 Luis Machado <luisgpm@br.ibm.com>
32256
32257 POWER7 optimizations.
32258 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32259 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32260
373d545e
UD
322612010-05-19 Ulrich Drepper <drepper@redhat.com>
32262
32263 * version.h: Update for 2.13 development version.
32264
21a2b1ae
AS
322652010-05-12 Andrew Stubbs <ams@codesourcery.com>
32266
32267 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32268 exceptions. Return 0.
32269
3f7dcb2b
RM
322702010-05-07 Roland McGrath <roland@redhat.com>
32271
32272 * elf/ldconfig.c (main): Add a const.
32273
5f24d53a 322742010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32275
a160f8d8
UD
32276 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32277 (args_options): Add no-idn option.
32278 (ahosts_keys_int): Add idn_flags to ai_flags.
32279 (parse_option): Handle 'i' option to clear idn_flags.
32280
5f24d53a
UD
32281 * malloc/malloc.c (_int_free): Possible race in the most recently
32282 added check. Only act on the data if no current modification
32283 happened.
265bb1ce
UD
32284
32285See ChangeLog.17 for earlier changes.
This page took 4.324648 seconds and 5 git commands to generate.