]> sourceware.org Git - glibc.git/blame - ChangeLog
Initialize res_hconf in nscd
[glibc.git] / ChangeLog
CommitLineData
595aba70
SP
12013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #15890]
4 * nscd/aicache.c: Include res_hconf.h.
5 (addhstaiX): Initialize res_hconf.
6
ffabd393
AS
72013-08-26 Andreas Schwab <schwab@suse.de>
8
9 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11
e0a69f5c
SP
122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13
14 * nscd/aicache.c (addhstaiX): Fix indentation.
15
8c12f01d
MF
162013-08-25 Mike Frysinger <vapier@gentoo.org>
17
18 * configure.ac: Quote $build_pt_chown test.
19 * configure: Regenerated.
20
8fe89494
JM
212013-08-23 Joseph Myers <joseph@codesourcery.com>
22
23 [BZ #15532]
24 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25 * math/s_cexpf.c (__cexpf): Likewise.
26 * math/s_cexpl.c (__cexpl): Likewise.
27 * math/libm-test.inc (cexp_test_data): Correct expected return
28 value for NaN + i0. Add another test.
29
75b181d6
DM
302013-08-22 David S. Miller <davem@davemloft.net>
31
32 * po/ca.po: Update Catalan translation from translation project.
936241e4 33 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 34
acd06bb1
JM
352013-08-21 Joseph Myers <joseph@codesourcery.com>
36
37 [BZ #15797]
38 * math/s_fdim.c (__fdim): Check for infinite arguments if result
39 is infinite, not alongside NaN test.
40 * math/s_fdimf.c (__fdimf): Likewise.
41 * math/s_fdiml.c (__fdiml): Likewise.
42 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
43 errno is unchanged.
44
c0c3f78a
OB
452013-08-21 Ondřej Bílka <neleai@seznam.cz>
46
47 * argp/argp-help.c: Fix typos.
48 * crypt/speeds.c: Likewise.
49 * csu/check_fds.c: Likewise.
50 * elf/dl-load.c: Likewise.
51 * elf/dl-open.c: Likewise.
52 * elf/reldep3.c: Likewise.
53 * elf/reldep.c: Likewise.
54 * elf/sprof.c: Likewise.
55 * iconv/iconv_charmap.c: Likewise.
56 * iconv/skeleton.c: Likewise.
57 * iconv/strtab.c: Likewise.
58 * io/lockf64.c: Likewise.
59 * libio/libioP.h: Likewise.
60 * resolv/gai_notify.c: Likewise.
61 * resolv/ns_name.c: Likewise.
62 * resolv/ns_samedomain.c: Likewise.
63 * resolv/res_send.c: Likewise.
64 * stdlib/random.c: Likewise.
65 * sunrpc/rpc/xdr.h: Likewise.
66 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
67 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74 * sysdeps/mach/hurd/check_fds.c: Likewise.
75 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
76 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
77 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
78 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
79 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
80 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
81 * sysdeps/pthread/aio_notify.c: Likewise.
82 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
83 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
84 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
85 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
87
46ed1038
LD
882013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
89
90 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
91 version if bit_Slow_SSE4_2 is set.
92 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
93 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
94
d400dcac
AZ
952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96
97 [BZ #15867]
98 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
99 trampoline stack frame information.
100 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
102 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
103 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
104 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
105 * sysdeps/unix/sysv/linux/powerpc/init-first.c
106 (_libc_vdso_platform_setup): Initialize the signal trampolines.
107 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
108 sa_flags value.
109 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
110 interrupting a syscall and set with option SA_SIGINFO.
111
42c8fdd8
JM
1122013-08-20 Joseph Myers <joseph@codesourcery.com>
113
c980f2f4
JM
114 [BZ #15531]
115 * math/s_cproj.c (__cproj): Only return an infinity if one part of
116 argument is infinite.
117 * math/s_cprojf.c (__cprojf): Likewise.
118 * math/s_cprojl.c (__cprojl): Likewise.
119 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
120 * math/libm-test.inc (cproj_test_data): Add more tests.
121
0716c4fc
JM
122 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
123
42c8fdd8
JM
124 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
125 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
126 size. Use __ffs to determine corresponding shift.
127
b31469d0
JM
1282013-08-20 Joseph Myers <joseph@codesourcery.com>
129 Roland McGrath <roland@hack.frob.com>
130
131 * Makefile (INSTALL): Remove trailing blank lines from output of
132 makeinfo.
133
4e39af6e
AK
1342013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
135
136 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
137 Align 32 bit compat elf_greg to 8 bytes.
138
f315524e
AA
1392013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
140
141 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
142
1326ba1a
SP
1432013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
144
145 * string/strcoll_l.c (coll_seq): New structure.
146 (get_next_seq_cached): New function.
147 (get_next_seq): New function.
148 (do_compare): New function.
149 (STRCOLL): Use GNU style definition. Simplify implementation
150 by using get_next_seq, get_next_seq_cached and do_compare.
151
91ce4085
FW
1522013-08-16 Florian Weimer <fweimer@redhat.com>
153
154 [BZ #14699]
155 CVE-2013-4237
156 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
157 member.
158 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
159 member.
160 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
161 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
162 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
163 conditional.
164 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
165 GETDENTS_64BIT_ALIGNED.
166 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
167 * manual/filesys.texi (Reading/Closing Directory): Document
168 ENAMETOOLONG return value of readdir_r. Recommend readdir more
169 strongly.
170 * manual/conf.texi (Limits for Files): Add portability note to
171 NAME_MAX, PATH_MAX.
172 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
173
ca0a6bc4
AS
1742013-08-13 Andreas Schwab <schwab@suse.de>
175
176 [BZ #15749]
177 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
178 of fabs.
179 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
180 LDBL_MAX_EXP >= 16384]: Add tests for it.
181
6c1fd795
DM
1822013-08-12 David S. Miller <davem@davemloft.net>
183
184 * version.h (RELEASE): Set to "development".
185 (VERSION): Set to "2.18.90".
186 * NEWS: Add 2.19 section.
187
31ad488d
DM
1882013-08-03 David S. Miller <davem@davemloft.net>
189
190 * po/ko.po: Update Korean translation from translation project.
191
db24e684
DM
1922013-08-01 David S. Miller <davem@davemloft.net>
193
194 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
195 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
196 Bilka.
197
f723285b
DM
1982013-07-30 David S. Miller <davem@davemloft.net>
199
200 * po/fr.po: Update French translation from translation project.
201
3cbc52db
DM
2022013-07-28 David S. Miller <davem@davemloft.net>
203
30bbc0cc
DM
204 * po/cs.po: Update Czech translation from translation project.
205
3cbc52db
DM
206 * po/sv.po: Update Swedish translation from translation project.
207
d492e6d0
DM
2082013-07-27 David S. Miller <davem@davemloft.net>
209
f1a7f492
DM
210 * po/eo.po: Update Esperanto translation from translation project.
211
90e62a4a
DM
212 * po/vi.po: Update Vietnamese translation from translation project.
213
d492e6d0
DM
214 * po/de.po: Update German translation from translation project.
215
d4baa62d
DM
2162013-07-26 David S. Miller <davem@davemloft.net>
217
641aa7b4
DM
218 * po/bg.po: Update Bulgarian translation from translation project.
219
d4baa62d
DM
220 * po/nl.po: Update Dutch translation from translation project.
221 * po/pl.po: Update Polish translation from translation project.
222 * po/ru.po: Update Russian translation from translation project.
223
61a9dcb9
DM
2242013-07-24 David S. Miller <davem@davemloft.net>
225
226 * po/libc.pot: Update.
227
7b1f8b58
AZ
2282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
229
230 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
231 variable page size.
232 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
233 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
234 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
235
a8fc7a03
AK
2362013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
237
238 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
239
e4608715
CD
2402013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
241 Andreas Schwab <schwab@suse.de>
242 Roland McGrath <roland@hack.frob.com>
243 Joseph Myers <joseph@codesourcery.com>
244 Carlos O'Donell <carlos@redhat.com>
245
246 [BZ #15755]
247 * config.h.in: Define HAVE_PT_CHOWN.
248 * config.make.in (build-pt-chown): New variable.
249 * configure.in (--enable-pt_chown): New configure option.
250 * configure: Regenerate.
251 * login/Makefile: Include Makeconfig. Build pt_chown only if
252 build-pt-chown is enabled.
253 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
254 pt_chown to fix pty ownership.
255 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
256 CLOSE_ALL_FDS.
257 * manual/install.texi (Configuring and compiling): Mention
258 --enable-pt_chown. Add @findex for grantpt.
259 * INSTALL: Regenerate.
260
da2d62df
DM
2612013-07-20 David S. Miller <davem@davemloft.net>
262
263 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
264 difference between 32-bit and 64-bit.
265
d7e06450
CD
2662013-07-15 Carlos O'Donell <carlos@redhat.com>
267
268 [BZ #15711]
269 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
270 Avoid system header dependency with -ffreestanding.
271 ($(objpfx)bits/syscall%d): Likewise.
272
f959cfd7
DM
2732013-07-13 David S. Miller <davem@davemloft.net>
274
275 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
276 underflows from atanl/atan2l due to bug 15319.
277 (casinh_test_data): Likewise.
278
c61f8513
DM
2792013-07-07 David S. Miller <davem@davemloft.net>
280
281 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
282
72c90ed0
JA
2832013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
284
285 * sysdeps/i386/fpu/libm-test-ulps: Update.
286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
287
52dfbe13
SP
2882013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
289
290 * configure.in (--enable-lock-elision): Fix message text.
291 * INSTALL: Regenerate.
292 * configure: Regenerate.
293
3f169543
AZ
2942013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
295
296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
297
521c6785
AJ
2982013-07-03 Andreas Jaeger <aj@suse.de>
299
300 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
301 define.
302 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
303 (ptrace_peeksiginfo_args): Add.
304 (__ptrace_peeksiginfo_flags): Add.
305 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
306 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
307 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
308
d2cc15cb
AM
3092013-07-03 Allan McRae <allan@archlinux.org>
310
311 * sysdeps/i386/fpu/libm-test-ulps: Update.
312
3aaeeca7
DM
3132013-07-02 David S. Miller <davem@davemloft.net>
314
315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
316
5314ed1a
MT
3172013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
318
319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
320
67338156
JM
3212013-07-02 Joseph Myers <joseph@codesourcery.com>
322
323 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
325
1717da59
AK
3262013-07-02 Andi Kleen <ak@linux.intel.com>
327
328 * config.h.in (ENABLE_LOCK_ELISION): Add.
329 * configure.in (--enable-lock-elision): Add option.
330 * manual/install.texi: Document --enable lock elision.
331 * configure: Regenerate
332 * INSTALL: Regenerate.
333
1c81621c
L
3342013-07-02 H.J. Lu <hongjiu.lu@intel.com>
335
336 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
337 SSE4.2 strcasecmp for libc.a.
338 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
339
77f01ab5
JM
3402013-07-02 Joseph Myers <joseph@codesourcery.com>
341
342 [BZ #13304]
343 * soft-fp/op-common.h (_FP_FMA): New macro.
344 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
345 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
346 (_FP_MUL_MEAT_1_imm): ... here.
347 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
348 (_FP_MUL_MEAT_1_wide): ... here.
349 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
350 (_FP_MUL_MEAT_1_hard): ... here.
351 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
352 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
353 (_FP_MUL_MEAT_2_wide): ... here.
354 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
355 (_FP_MUL_MEAT_2_wide_3mul): ... here.
356 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
357 (_FP_MUL_MEAT_2_gmp): ... here.
358 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
359 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
360 (_FP_MUL_MEAT_4_wide): ... here.
361 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
362 (_FP_MUL_MEAT_4_gmp): ... here.
363 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
364 (_FP_WFRACBITS_DW_S): Likewise.
365 (_FP_WFRACXBITS_DW_S): Likewise.
366 (_FP_HIGHBIT_DW_S): Likewise.
367 (FP_FMA_S): Likewise.
368 (_FP_FRAC_HIGH_DW_S): Likewise.
369 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
370 (_FP_WFRACBITS_DW_D): Likewise.
371 (_FP_WFRACXBITS_DW_D): Likewise.
372 (_FP_HIGHBIT_DW_D): Likewise.
373 (FP_FMA_D): Likewise.
374 (_FP_FRAC_HIGH_DW_D): Likewise.
375 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
376 (_FP_WFRACBITS_DW_E): Likewise.
377 (_FP_WFRACXBITS_DW_E): Likewise.
378 (_FP_HIGHBIT_DW_E): Likewise.
379 (FP_FMA_E): Likewise.
380 (_FP_FRAC_HIGH_DW_E): Likewise.
381 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
382 (_FP_WFRACBITS_DW_Q): Likewise.
383 (_FP_WFRACXBITS_DW_Q): Likewise.
384 (_FP_HIGHBIT_DW_Q): Likewise.
385 (FP_FMA_Q): Likewise.
386 (_FP_FRAC_HIGH_DW_Q): Likewise.
387 * soft-fp/fmasf4.c: New file.
388 * soft-fp/fmadf4.c: Likewise.
389 * soft-fp/fmatf4.c: Likewise.
390
6308fd9a
LD
3912013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
392
393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
394 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
395 Silvermont.
396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
397 macro.
398 (index_Slow_SSE4_2): Likewise.
399 (index_Prefer_PMINUB_for_stringop): Likewise.
400 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
401 bit_Slow_SSE4_2 is set.
402 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
403 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
404
89cd9569
RA
4052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
406
407 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
408 rtld_global._dl_hwcap2.
409 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
410 POWER8.
411 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
412 POWER8 feature descriptions defined in _dl_hwcap2.
413 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
414 string handling for POWER8 feature bits.
415 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
416 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
417 _dl_powerpc_cap_flags.
418 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
419 * sysdeps/powerpc/rtld-global-offsets.sym
420 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
421 _dl_hwcap2 in the rtld_global_ro structure.
422
1ae8bfe0
RA
4232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
424
425 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
426 hardware capabilities in support of AT_HWCAP2.
427 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
428 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
429 GLRO(dl_hwcap2).
430 (_dl_show_auxv): Add support for calling _dl_procinfo to display
431 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
432 explicitly the unknown a_type display mechanism is used.
433 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
434 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
435 struct member.
436 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
437 to macro prototype for AT_HWCAP2 support.
438 * sysdeps/i386/dl-procinfo.h: Likewise.
439 * sysdeps/s390/dl-procinfo.h: Likewise.
440 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
441 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
442 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
443 return -1 for unknown a_type display fallback.
444 * sysdeps/sparc/dl-procinfo.h: Likewise.
445 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
446 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
447
8fbec010
JM
4482013-06-28 Joseph Myers <joseph@codesourcery.com>
449
450 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
451 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
452
0432680e
PY
4532013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
454
455 [BZ #12492]
456 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
457 mprotect making __stack_prot writable.
458
ce61a2ad
NF
4592013-06-28 Nathan Froyd <froydnj@codesourcery.com>
460 Joseph Myers <joseph@codesourcery.com>
461
462 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
463 as being properly aligned.
464
f91f1c0f
MR
4652013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
466
3d0f5d0c
MR
467 * dlfcn/modstatic5.c: New file.
468 * dlfcn/tststatic5.c: New file.
469 * dlfcn/Makefile (tests): Add tststatic5.
470 (tests-static): Likewise.
471 (modules-names): Add modstatic5.
472 (tststatic5-ENV): New variable.
473 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
474
f91f1c0f
MR
475 [BZ #15022]
476 * elf/dl-support.c (_dl_main_map): New variable.
477 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
478 (_dl_nns, _dl_load_adds): Set to 1.
479 (_dl_initial_searchlist): Refer to _dl_main_map.
480 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
481 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
482 call to _dl_get_origin.
483 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
484 around call_map.
485 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
486 * dlfcn/modstatic3.c: New file.
487 * dlfcn/tststatic3.c: New file.
488 * dlfcn/tststatic4.c: New file.
489 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
490 (tests-static): Likewise.
491 (modules-names): Add modstatic3.
492 (tststatic3-ENV, tststatic4-ENV): New variables.
493 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
494 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
495
cbe7d24b
JM
4962013-06-26 Joseph Myers <joseph@codesourcery.com>
497
498 * configure.in (CC): Require GCC version 4.4 or later.
499 * configure: Regenerated.
500 * manual/install.texi (Tools for Compilation): Update GCC version
501 requirement.
502 * INSTALL: Regenerated.
503
11b8a0e1
LD
5042013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
505
506 [BZ #15674]
bb5bb87c
L
507 * string/test-memcmp.c (check2): New.
508 (main): Call check2.
509
11b8a0e1
LD
510 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
511
b0037103
MR
5122013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
513
514 [BZ #15022]
515 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
516 over to...
517 (dl_open_worker) [!SHARED]: ... here.
518
c18c701d
RA
5192013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
520
521 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
522
1d17fa5f
RH
5232013-06-25 Richard Henderson <rth@redhat.com>
524
525 * locale/programs/locarchive.c: Include <libc-internal.h>
526
8fcb833a
JM
5272013-06-25 Joseph Myers <joseph@codesourcery.com>
528
529 * manual/texinfo.tex: Update to version 2013-06-21.17, with
530 trailing whitespace removed.
531
17db6e8d
MF
5322013-06-24 Mike Frysinger <vapier@gentoo.org>
533
534 [BZ #10283]
17db6e8d
MF
535 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
536 * locale/programs/locarchive.c: Include libc-mmap.h.
537 (prepare_address_space): Take two new outputs (the mmap base and len).
538 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
539 values.
540 (create_archive): Declare new mmap base and len values for
541 prepare_address_space, and store the result in ah.
542 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
543 (enlarge_archive): If ah->mmap_base is not NULL, use that and
544 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
545 Declare new mmap base and len values for
546 prepare_address_space, and store the result in new_ah.
547 (open_archive): Declare new mmap base and len values for
548 prepare_address_space, and store the result in ah.
549 (close_archive): If ah->mmap_base is not NULL, use that and
550 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
551 * sysdeps/generic/libc-mmap.h: New file.
552
d605071e
MF
5532013-06-24 Mike Frysinger <vapier@gentoo.org>
554
555 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
556 (ALIGN_UP): Likewise.
557 (PTR_ALIGN_DOWN): Likewise.
558 (PTR_ALIGN_UP): Likewise.
559
2f063a6e
RA
5602013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
561
562 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
563 entry mapped to PPC_PLATFORM_POWER8.
564 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
565 POWER8.
566 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
567 (_dl_string_platform): Add case for exporting platform position for
568 POWER8.
569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
570 search path to sysdeps/powerpc/powerpc32/power8 directory.
571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
572 search path to sysdeps/powerpc/powerpc64/power8 directory.
573 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
574 power7 directories.
575 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
576 power7 directories.
577
a31ee4b3
SP
5782013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
579
a74ca98f
SP
580 * INSTALL: Regenerate.
581
a31ee4b3
SP
582 * nscd/connections.c (nscd_init): Fix comment.
583
695c378f
JM
5842013-06-22 Joseph Myers <joseph@codesourcery.com>
585
d8412221
JM
586 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
587
695c378f
JM
588 [BZ #15667]
589 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
590 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
591
d1d54715
MR
5922013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
593
594 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
595 DL_DST_REQ_STATIC.
596 (DL_DST_REQ_STATIC): Remove macro.
597
8fdda7af
JM
5982013-06-21 Joseph Myers <joseph@codesourcery.com>
599
600 [BZ #7006]
601 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
602 with a shift of 0 bits.
603
f3bc5e5a
MR
6042013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
605
606 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
607 $(tststatic-ENV).
608
be09e8c9
KK
6092013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
610
611 [BZ #15655]
612 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
613
85c2e611
AZ
6142013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
615
616 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
617 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
618 accepts -fno-tree-loop-distribute-patterns.
619 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
620 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
621 recursive call.
622 * string/memset.c (memset): Likewise.
623 * string/test-memmove.c (simple_memmove): Disable loop transformation
624 to library calls.
625 * string/test-memset.c (simple_memset): Likewise.
626 * benchtests/bench-memmove.c (simple_memmove): Likewise.
627 * benchtests/bench-memset.c (simple_memset): Likewise.
628 * configure: Regenerated.
629
c91e0825
JM
6302013-06-20 Joseph Myers <joseph@codesourcery.com>
631
b8c792af
JM
632 * math/test-misc.c (main): Ignore fesetround failure when failures
633 of subsequent rounding tests would be ignored.
634
c91e0825
JM
635 [BZ #15654]
636 * math/fedisblxcpt.c (fedisableexcept): Return 0.
637 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
638 * math/fegetenv.c (__fegetenv): Return 0.
639 * math/fegetexcept.c (fegetexcept): Return 0.
640 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
641 FE_TONEAREST.
642 * math/feholdexcpt.c (feholdexcept): Return 0.
643 * math/fesetenv.c (__fesetenv): Return 0.
644 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
645 argument FE_TONEAREST.
646 * math/feupdateenv.c (__feupdateenv): Return 0.
647 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
648
bfcacbde
RM
6492013-06-18 Roland McGrath <roland@hack.frob.com>
650
651 * elf/rtld-Rules (rtld-compile-command.S): New variable.
652 (rtld-compile-command.s, rtld-compile-command.c): New variables.
653 ($(objpfx)rtld-%.os rules): Use them.
654
e55a9b25
AZ
6552013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
656
657 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
658 fields.
659
346d65b3
RM
6602013-06-17 Roland McGrath <roland@hack.frob.com>
661
12086fb4
RM
662 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
663 length of target pattern, then descending length of dependency pattern.
664 * configure.in (AWK): Require gawk 3.1.2 or newer.
665 * manual/install.texi (Tools for Compilation): Say that we do.
666 * configure: Regenerated.
667
346d65b3
RM
668 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
669 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
670 * scripts/sysd-rules.awk: ... this new script.
671 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
672 than a glob-style pattern.
673
1a846317
JM
6742013-06-17 Joseph Myers <joseph@codesourcery.com>
675
676 * math/test-misc.c (main): Do not treat incorrectly rounded
677 conversions as failure unless ROUNDING_TESTS passes.
678
8fc75e6f
JM
6792013-06-15 Joseph Myers <joseph@codesourcery.com>
680
3711a167
JM
681 [BZ #15631]
682 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
683 restore exception state around main square root computation, then
684 check for inexactness explicitly.
685
8fc75e6f
JM
686 * math/libm-test.inc (fma_test_data): Add another test.
687
61dd6208
SP
6882013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
689
adf23d2c
SP
690 * manual/threads.texi (Non-POSIX Extensions): New document
691 node. Document pthread_getattr_default_np and
692 pthread_setattr_default_np.
693
61dd6208
SP
694 * Versions.def (libpthread): Add GLIBC_2.18.
695 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
697 Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
699 Likewise.
700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
701 Likewise.
702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
703 Likewise.
704 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
705 Likewise.
706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
707 Likewise.
708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
709 Likewise.
710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
711 Likewise.
712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
713 Likewise.
714
d086fc7b
LD
7152013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
716
717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
718 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
719
747ef469
SP
7202013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
721 H.J. Lu <hjl.tools@gmail.com>
722
723 [BZ #15627]
724 * sysdeps/x86_64/rtld-memset.c: Remove file.
725 * sysdeps/x86_64/rtld-memset.S: New file.
726
1b2feed2
JM
7272013-06-14 Joseph Myers <joseph@codesourcery.com>
728
729 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
730 (test_in_one_mode): Take arguments for whether the rounding mode
731 is supported for each floating-point type.
732 (do_test): Pass new arguments to test_in_one_mode using
733 ROUNDING_TESTS.
734
a58ad3f8
RM
7352013-06-13 Roland McGrath <roland@hack.frob.com>
736
737 * posix/tst-waitid.c (do_test): Distinguish different instances of
738 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
739 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
740 before entering the kernel for waitpid.
741
c204ab28
SP
7422013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
743
744 * NEWS: Fix note on clock function precision. Text by Roland
745 McGrath.
746
f4a29fba
RM
7472013-06-13 Roland McGrath <roland@hack.frob.com>
748
749 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
750 it into place only when and if the sanity check passes.
751
1f24b9ad
JM
7522013-06-13 Joseph Myers <joseph@codesourcery.com>
753
754 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
755 output for whether conversion result is exact. Take argument
756 indicating whether type is IBM long double.
757 (round_for_all): Change need_exact field to ibm_ld.
758 * stdlib/tst-strtod-round.c (struct exactness): New type.
759 (struct test): Change bool ld_ok field to struct exactness exact.
760 (TEST): Update all definitions for change to field.
761 (tests): Regenerate array contents.
762 (test_in_one_mode): Take pointer to new field instead of old ld_ok
763 field value. Check for IBM long double here.
764 (do_test): Update calls to test_in_one_mode.
765
58206c68
SP
7662013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
767
768 [BZ #12515]
769 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
770 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
771
2d6f4c5b 7722013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
773
774 [BZ #15605]
775 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
776 generated by the compiler on loop optimizations.
777 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
778 general definitions.
779
94f2c076
JM
7802013-06-12 Joseph Myers <joseph@codesourcery.com>
781
782 * math/bug-nextafter.c: Include <math-tests.h>.
783 (main): Only test for exceptions if EXCEPTION_TESTS is true for
784 the relevant type.
785 * math/bug-nexttoward.c: Include <math-tests.h>.
786 (main): Only test for exceptions if EXCEPTION_TESTS is true for
787 the relevant type.
788 * math/test-misc.c: Include <math-tests.h>.
789 (main): Only test for exceptions if EXCEPTION_TESTS is true for
790 the relevant type.
791
e0e50a0a
AJ
7922013-06-12 Andreas Jaeger <aj@suse.de>
793
794 * po/ia.po: Update Interlingua translation from translation
795 project.
796
25061094
SP
7972013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
798
799 * include/fenv.h: Include stdbool.h.
800 (struct rm_ctx): New structure.
801 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
802 Define macro.
803 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
804 (SET_RESTORE_ROUNDF): Likewise.
805 (SET_RESTORE_ROUNDL): Likewise.
806 (SET_RESTORE_ROUND_NOEX): Likewise.
807 (SET_RESTORE_ROUND_NOEXF): Likewise.
808 (SET_RESTORE_ROUND_NOEXL): Likewise.
809 (SET_RESTORE_ROUND_53BIT): Likewise.
810 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
811 (libc_feresetround_noexf_ctx): Likewise.
812 (libc_feresetround_noexl_ctx): Likewise.
813 (libc_feholdsetround_53bit_ctx): Likewise.
814 (libc_feresetround_53bit_ctx): Likewise.
815 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
816 (libc_feholdexcept_setround_sse_ctx): New function.
817 (libc_fesetenv_sse_ctx): Likewise.
818 (libc_feupdateenv_sse_ctx): Likewise.
819 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
820 (libc_feholdexcept_setround_387_ctx): Likewise.
821 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
822 (libc_feholdsetround_387_prec_ctx): Likewise.
823 (libc_feholdsetround_387_ctx): Likewise.
824 (libc_feholdsetround_387_53bit_ctx): Likewise.
825 (libc_feholdsetround_sse_ctx): Likewise.
826 (libc_feresetround_sse_ctx): Likewise.
827 (libc_feresetround_387_ctx): Likewise.
828 (libc_feupdateenv_387_ctx): Likewise.
829 (libc_feholdexcept_setroundf_ctx): Define macro.
830 (libc_fesetenvf_ctx): Likewise.
831 (libc_feupdateenvf_ctx): Likewise.
832 (libc_feholdsetroundf_ctx): Likewise.
833 (libc_feresetroundf_ctx): Likewise.
834 (libc_feholdexcept_setround_ctx): Likewise.
835 (libc_fesetenv_ctx): Likewise.
836 (libc_feupdateenv_ctx): Likewise.
837 (libc_feholdsetround_ctx): Likewise.
838 (libc_feresetround_ctx): Likewise.
839 (libc_feholdexcept_setroundl_ctx): Likewise.
840 (libc_feupdateenvl_ctx): Likewise.
841 (libc_feholdsetroundl_ctx): Likewise.
842 (libc_feresetroundl_ctx): Likewise.
843 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
844 (libc_feresetround_53bit_ctx): Likewise.
845
59b30555
SP
8462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
847
848 * locale/iso-639.def: Convert to UTF-8.
849
f1d73d30
JM
8502013-06-11 Joseph Myers <joseph@codesourcery.com>
851
852 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
853 (EXCEPTION_TESTS_double): Likewise.
854 (EXCEPTION_TESTS_long_double): Likewise.
855 (EXCEPTION_TESTS): Likewise.
856 * math/libm-test.inc (test_exceptions): Only test exceptions if
857 EXCEPTION_TESTS (FLOAT).
858
94aca5e7
SP
8592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
860
861 * benchtests/Makefile (string-bench): Add strcpy_chk and
862 stpcpy_chk.
863 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
864 * benchtests/bench-stpcpy_chk.c: New file.
865 * benchtests/bench-strcpy_chk-ifunc.c: New file.
866 * benchtests/bench-strcpy_chk.c: New file.
867 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
868 code.
869 (do_test): Likewise.
870
fac0c5f2
RA
8712013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
872
873 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
874 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
875 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
876 with tabs where appropriate.
877 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
878 dl-procinfo.h.
879 [PPC_PLATFORM_PPC440]: Likewise.
880 [PPC_PLATFORM_PPC464]: Likewise.
881 [PPC_PLATFORM_PPC476]: Likewise.
882 (_dl_string_platform): Add support for detecting ppc405, ppc440,
883 ppc464, and ppc476 platform strings merging from ports/
884 dl-procinfo.h.
885
f22bc486
AS
8862013-06-11 Andreas Schwab <schwab@suse.de>
887
888 [BZ #14991]
889 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
890 (from_ucs4_idx): Regenerate.
891 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
892 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
893 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
894 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
895 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
896 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
897 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
898 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
899 from FROM_LOOP and TO_LOOP specific macros.
900 (BODY): Handle combining characters.
901 * iconvdata/BIG5HKSCS.irreversible: Update.
902 * iconvdata/BIG5HKSCS.precomposed: New file.
903 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
904 characters.
905 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
906
c1f75dc3
SP
9072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
908
4eacded2
SP
909 * include/sys/time.h: Fix indentation and add copyright header.
910
fec799f8
SP
911 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
912 (do_test): Likewise.
913 * string/test-memchr.c (do_one_test): Likewise.
914 (do_test): Likewise.
915 * string/test-memcmp.c (do_one_test): Likewise.
916 (do_test): Likewise.
917 * string/test-memcpy.c (do_one_test): Likewise.
918 (do_test): Likewise.
919 * string/test-memmem.c (do_one_test): Likewise.
920 (do_test): Likewise.
921 (do_random_tests): Likewise.
922 * string/test-memmove.c (do_one_test): Likewise.
923 (do_test): Likewise.
924 * string/test-memset.c (do_one_test): Likewise.
925 (do_test): Likewise.
926 * string/test-rawmemchr.c (do_one_test): Likewise.
927 (do_test): Likewise.
928 * string/test-strcasecmp.c (do_one_test): Likewise.
929 (do_test): Likewise.
930 * string/test-strcasestr.c (do_one_test): Likewise.
931 (do_test): Likewise.
932 * string/test-strcat.c (do_one_test): Likewise.
933 (do_test): Likewise.
934 * string/test-strchr.c (do_one_test): Likewise.
935 (do_test): Likewise.
936 * string/test-strcmp.c (do_one_test): Likewise.
937 (do_test): Likewise.
938 * string/test-strcpy.c (do_one_test): Likewise.
939 (do_test): Likewise.
940 * string/test-string.h: Likewise.
941 (test_init): Likewise.
942 * string/test-strlen.c (do_one_test): Likewise.
943 (do_test): Likewise.
944 * string/test-strncasecmp.c (do_one_test): Likewise.
945 (do_test): Likewise.
946 * string/test-strncat.c (do_one_test): Likewise.
947 (do_test): Likewise.
948 * string/test-strncmp.c (do_one_test): Likewise.
949 (do_test_limit): Likewise.
950 (do_test): Likewise.
951 * string/test-strncpy.c (do_one_test): Likewise.
952 (do_test): Likewise.
953 * string/test-strnlen.c (do_one_test): Likewise.
954 (do_test): Likewise.
955 * string/test-strpbrk.c (do_one_test): Likewise.
956 (do_test): Likewise.
957 * string/test-strrchr.c (do_one_test): Likewise.
958 (do_test): Likewise.
959 * string/test-strspn.c (do_one_test): Likewise.
960 (do_test): Likewise.
961 * string/test-strstr.c (do_one_test): Likewise.
962 (do_test): Likewise.
963
97020474
SP
964 * benchtests/Makefile (string-bench): Add string benchmarks.
965 * benchtests/bench-bcopy-ifunc.c: New file.
966 * benchtests/bench-bcopy.c: New file.
967 * benchtests/bench-bzero-ifunc.c: New file.
968 * benchtests/bench-bzero.c: New file.
969 * benchtests/bench-memccpy-ifunc.c: New file.
970 * benchtests/bench-memccpy.c: New file.
971 * benchtests/bench-memchr-ifunc.c: New file.
972 * benchtests/bench-memchr.c: New file.
973 * benchtests/bench-memcmp-ifunc.c: New file.
974 * benchtests/bench-memcmp.c: New file.
975 * benchtests/bench-memmem-ifunc.c: New file.
976 * benchtests/bench-memmem.c: New file.
977 * benchtests/bench-memmove-ifunc.c: New file.
978 * benchtests/bench-memmove.c: New file.
979 * benchtests/bench-mempcpy-ifunc.c: New file.
980 * benchtests/bench-mempcpy.c: New file.
981 * benchtests/bench-memset-ifunc.c: New file.
982 * benchtests/bench-memset.c: New file.
983 * benchtests/bench-rawmemchr-ifunc.c: New file.
984 * benchtests/bench-rawmemchr.c: New file.
985 * benchtests/bench-stpcpy-ifunc.c: New file.
986 * benchtests/bench-stpcpy.c: New file.
987 * benchtests/bench-stpncpy-ifunc.c: New file.
988 * benchtests/bench-stpncpy.c: New file.
989 * benchtests/bench-strcasecmp-ifunc.c: New file.
990 * benchtests/bench-strcasecmp.c: New file.
991 * benchtests/bench-strcasestr-ifunc.c: New file.
992 * benchtests/bench-strcasestr.c: New file.
993 * benchtests/bench-strcat-ifunc.c: New file.
994 * benchtests/bench-strcat.c: New file.
995 * benchtests/bench-strchr-ifunc.c: New file.
996 * benchtests/bench-strchr.c: New file.
997 * benchtests/bench-strchrnul-ifunc.c: New file.
998 * benchtests/bench-strchrnul.c: New file.
999 * benchtests/bench-strcmp-ifunc.c: New file.
1000 * benchtests/bench-strcmp.c: New file.
1001 * benchtests/bench-strcpy-ifunc.c: New file.
1002 * benchtests/bench-strcpy.c: New file.
1003 * benchtests/bench-strcspn-ifunc.c: New file.
1004 * benchtests/bench-strcspn.c: New file.
1005 * benchtests/bench-strlen-ifunc.c: New file.
1006 * benchtests/bench-strlen.c: New file.
1007 * benchtests/bench-strncasecmp-ifunc.c: New file.
1008 * benchtests/bench-strncasecmp.c: New file.
1009 * benchtests/bench-strncat-ifunc.c: New file.
1010 * benchtests/bench-strncat.c: New file.
1011 * benchtests/bench-strncmp-ifunc.c: New file.
1012 * benchtests/bench-strncmp.c: New file.
1013 * benchtests/bench-strncpy-ifunc.c: New file.
1014 * benchtests/bench-strncpy.c: New file.
1015 * benchtests/bench-strnlen-ifunc.c: New file.
1016 * benchtests/bench-strnlen.c: New file.
1017 * benchtests/bench-strpbrk-ifunc.c: New file.
1018 * benchtests/bench-strpbrk.c: New file.
1019 * benchtests/bench-strrchr-ifunc.c: New file.
1020 * benchtests/bench-strrchr.c: New file.
1021 * benchtests/bench-strspn-ifunc.c: New file.
1022 * benchtests/bench-strspn.c: New file.
1023 * benchtests/bench-strstr-ifunc.c: New file.
1024 * benchtests/bench-strstr.c: New file.
1025
c1f75dc3
SP
1026 * benchtests/Makefile: Disable parallel execution of targets.
1027 (string-bench): Add memcpy.
1028 (benchset): New variable to store a list of benchmark sets.
1029 (bench-func): Renamed from bench.
1030 (bench-set): New target.
1031 (bench): Depend on bench-func and bench-set.
1032 * benchtests/README: Add section on benchmark sets.
1033 * benchtests/bench-memcpy-ifunc.c: New file.
1034 * benchtests/bench-memcpy.c: New file.
1035 * benchtests/bench-string.h: New file.
1036
50fd745b
AS
10372013-06-11 Andreas Schwab <schwab@suse.de>
1038
1039 [BZ #15577]
1040 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1041 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1042 values in the triple.
1043 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1044 terminator in the group key.
1045
3ee7e9fe
AJ
10462013-06-11 Andreas Jaeger <aj@suse.de>
1047
1048 * po/zh_TW.po: Update Chinese (traditional) translation from
1049 translation project.
1050
89fb6835
SP
10512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1052
1053 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1054 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1055 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1056 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1057 (clock_getcpuclockid): Likewise.
1058 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1059 Add weak_alias and libc_hidden_def.
1060 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1061 * rt/clock_gettime.c (clock_gettime): Rename to
1062 __clock_gettime. Add weak_alias and libc_hidden_def.
1063 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1064 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1065 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1066 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1067 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1068 Likewise.
1069 * rt/clock_settime.c (clock_settime): Rename to
1070 __clock_settime. Add weak_alias and libc_hidden_def.
1071 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1072
0efa6f8b
JM
10732013-06-10 Joseph Myers <joseph@codesourcery.com>
1074
b8c61b4b
JM
1075 * mach/err_boot.sub: Remove trailing whitespace.
1076 * mach/err_ipc.sub: Likewise.
1077 * mach/err_mach.sub: Likewise.
1078
0efa6f8b
JM
1079 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1080 (ROUNDING_TESTS_double): Likewise.
1081 (ROUNDING_TESTS_long_double): Likewise.
1082 (ROUNDING_TESTS): Likewise.
1083 * math/libm-test.inc: Include <math-tests.h>.
1084 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1085 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1086 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1087 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1088
50b818bf
SP
10892013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1090
1091 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1092 of assigning.
1093
60d2f8f3
JM
10942013-06-08 Joseph Myers <joseph@codesourcery.com>
1095
4902d2c3
JM
1096 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1097 otherwise empty TRANS lines.
1098 * sysdeps/gnu/errlist.c: Regenerated.
1099
60d2f8f3
JM
1100 * catgets/gencat.c (error_print): Use (void) in function
1101 definition.
1102 * crypt/crypt_util.c (__init_des): Likewise.
1103 * crypt/speeds.c (Stop): Likewise.
1104 (main): Likewise.
1105 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1106 * inet/ruserpass.c (token): Likewise.
1107 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1108 * intl/localealias.c (extend_alias_table): Likewise.
1109 * intl/plural-exp.c (init_germanic_plural): Likewise.
1110 * libio/fcloseall.c (__fcloseall): Likewise.
1111 * libio/genops.c (_IO_flush_all): Likewise.
1112 (_IO_flush_all_linebuffered): Likewise.
1113 (_IO_cleanup): Likewise.
1114 (_IO_iter_begin): Likewise.
1115 (_IO_iter_end): Likewise.
1116 (_IO_list_lock): Likewise.
1117 (_IO_list_unlock): Likewise.
1118 (_IO_list_resetlock): Likewise.
1119 * libio/getchar.c (getchar): Likewise.
1120 * libio/getchar_u.c (getchar_unlocked): Likewise.
1121 * libio/getwchar.c (getwchar): Likewise.
1122 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1123 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1124 * login/getpt.c (__getpt): Likewise.
1125 * login/tst-utmp.c (main): Likewise.
1126 * malloc/hooks.c (__malloc_check_init): Likewise.
1127 * malloc/malloc.c (__malloc_stats): Likewise.
1128 * malloc/mtrace.c (tr_break): Likewise.
1129 (mtrace): Likewise.
1130 (muntrace): Likewise.
1131 * misc/fstab.c (endfsent): Likewise.
1132 * misc/getclktck.c (__getclktck): Likewise.
1133 * misc/getdtsz.c (__getdtablesize): Likewise.
1134 * misc/gethostid.c (gethostid): Likewise.
1135 * misc/getpagesize.c (__getpagesize): Likewise.
1136 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1137 (__get_nprocs): Likewise.
1138 (__get_phys_pages): Likewise.
1139 (__get_avphys_pages): Likewise.
1140 * misc/getttyent.c (getttyent): Likewise.
1141 (setttyent): Likewise.
1142 (endttyent): Likewise.
1143 * misc/getusershell.c (getusershell): Likewise.
1144 (endusershell): Likewise.
1145 (setusershell): Likewise.
1146 (initshells): Likewise.
1147 * misc/hsearch.c (__hdestroy): Likewise.
1148 * misc/sync.c (sync): Likewise.
1149 * misc/syslog.c (closelog_internal): Likewise.
1150 (closelog): Likewise.
1151 * misc/ttyslot.c (ttyslot): Likewise.
1152 * misc/vhangup.c (vhangup): Likewise.
1153 * posix/fork.c (__fork): Likewise.
1154 * posix/getegid.c (__getegid): Likewise.
1155 * posix/geteuid.c (__geteuid): Likewise.
1156 * posix/getgid.c (__getgid): Likewise.
1157 * posix/getpid.c (__getpid): Likewise.
1158 * posix/getppid.c (__getppid): Likewise.
1159 * posix/getuid.c (__getuid): Likewise.
1160 * posix/pause.c (pause): Likewise.
1161 * posix/setpgrp.c (setpgrp): Likewise.
1162 * posix/setsid.c (__setsid): Likewise.
1163 * posix/test-vfork.c (noop): Likewise.
1164 * resolv/gethnamaddr.c (_endhtent): Likewise.
1165 (_gethtent): Likewise.
1166 (ht_endhostent): Likewise.
1167 (gethostent): Likewise.
1168 (dns_service): Likewise.
1169 * stdlib/drand48.c (drand48): Likewise.
1170 * stdlib/lrand48.c (lrand48): Likewise.
1171 * stdlib/mrand48.c (mrand48): Likewise.
1172 * stdlib/rand.c (rand): Likewise.
1173 * stdlib/random.c (__random): Likewise.
1174 * stdlib/setenv.c (clearenv): Likewise.
1175 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1176 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1177 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1178 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1179 (__get_nprocs): Likewise.
1180 (__get_phys_pages): Likewise.
1181 (__get_avphys_pages): Likewise.
1182 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1183 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1184 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1185 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1186 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1187 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1188 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1189 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1190 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1191 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1192 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1193 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1194 * sysdeps/posix/clock.c (clock): Likewise.
1195 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1196 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1197 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1198 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1199 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1201 (__get_nprocs_conf): Likewise.
1202 (__get_phys_pages): Likewise.
1203 (__get_avphys_pages): Likewise.
1204 * time/clock.c (clock): Likewise.
1205 * time/tzset.c (__tzname_max): Likewise.
1206
2e09a79a
JM
12072013-06-07 Joseph Myers <joseph@codesourcery.com>
1208
1209 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1210 (__bswap_32): Do not use "register".
1211 * crypt/crypt.c (_ufc_doit_r): Likewise.
1212 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1213 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1214 * gmon/gmon.c (__monstartup): Likewise.
1215 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1216 * hurd/hurdmalloc.c (more_memory): Likewise.
1217 (malloc): Likewise.
1218 (free): Likewise.
1219 (realloc): Likewise.
1220 (malloc_fork_prepare): Likewise.
1221 (malloc_fork_parent): Likewise.
1222 (malloc_fork_child): Likewise.
1223 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1224 (_svcauth_des): Likewise.
1225 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1226 * inet/inet_net.c (inet_network): Likewise.
1227 * inet/inet_netof.c (inet_netof): Likewise.
1228 * inet/rcmd.c (__validuser2_sa): Likewise.
1229 * io/fts.c (fts_open): Likewise.
1230 (fts_load): Likewise.
1231 (fts_close): Likewise.
1232 (fts_read): Likewise.
1233 (fts_children): Likewise.
1234 (fts_build): Likewise.
1235 (fts_stat): Likewise.
1236 (fts_sort): Likewise.
1237 (fts_alloc): Likewise.
1238 (fts_lfree): Likewise.
1239 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1240 (_IO_file_xsgetn): Likewise.
1241 (_IO_file_xsgetn_mmap): Likewise.
1242 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1243 (_IO_cookie_write): Likewise.
1244 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1245 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1246 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1247 * malloc/obstack.c (_obstack_begin): Likewise.
1248 (_obstack_begin_1): Likewise.
1249 (_obstack_newchunk): Likewise.
1250 (_obstack_allocated_p): Likewise.
1251 (obstack_free): Likewise.
1252 (_obstack_memory_used): Likewise.
1253 * misc/getttyent.c (getttynam): Likewise.
1254 (getttyent): Likewise.
1255 (skip): Likewise.
1256 (value): Likewise.
1257 * misc/getusershell.c (initshells): Likewise.
1258 * misc/syslog.c (__vsyslog_chk): Likewise.
1259 * misc/ttyslot.c (ttyslot): Likewise.
1260 * nis/nis_hash.c (__nis_hash): Likewise.
1261 * posix/fnmatch_loop.c (FCT): Likewise.
1262 * posix/getconf.c (print_all): Likewise.
1263 (main): Likewise.
1264 * posix/getopt.c (exchange): Likewise.
1265 * posix/glob.c (globfree): Likewise.
1266 (prefix_array): Likewise.
1267 (__glob_pattern_type): Likewise.
1268 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1269 (NS_GET32): Likewise.
1270 (NS_PUT16): Likewise.
1271 (NS_PUT32): Likewise.
1272 * resolv/gethnamaddr.c (getanswer): Likewise.
1273 (gethostbyname2): Likewise.
1274 (gethostbyaddr): Likewise.
1275 (_gethtent): Likewise.
1276 (_gethtbyname2): Likewise.
1277 (_gethtbyaddr): Likewise.
1278 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1279 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1280 * resolv/res_init.c (__res_vinit): Likewise.
1281 (net_mask): Likewise.
1282 * resolv/res_mkquery.c (outchar): Likewise.
1283 (PRINT): Likewise.
1284 * stdio-common/printf_fp.c (outchar): Likewise.
1285 (PRINT): Likewise.
1286 * stdio-common/printf_fphex.c (outchar): Likewise.
1287 (PRINT): Likewise.
1288 * stdio-common/printf_size.c (outchar): Likewise.
1289 (PRINT): Likewise.
1290 * stdio-common/test_rdwr.c (main): Likewise.
1291 * stdio-common/tfformat.c (matches): Likewise.
1292 * stdio-common/vfprintf.c (outchar): Likewise.
1293 (printf_unknown): Likewise.
1294 (buffered_vfprintf): Likewise.
1295 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1296 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1297 (ReadFile): Likewise.
1298 * stdlib/qsort.c (SWAP): Likewise.
1299 (_quicksort): Likewise.
1300 * stdlib/setenv.c (__add_to_environ): Likewise.
1301 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1302 * stdlib/strtol_l.c (__strtol_l): Likewise.
1303 * stdlib/tst-strtod.c (main): Likewise.
1304 * stdlib/tst-strtol.c (main): Likewise.
1305 * stdlib/tst-strtoll.c (main): Likewise.
1306 * string/bits/string2.h (__strcmp_cc): Likewise.
1307 (__strcmp_cg): Likewise.
1308 (__strcspn_c1): Likewise.
1309 (__strcspn_c2): Likewise.
1310 (__strcspn_c3): Likewise.
1311 (__strspn_c1): Likewise.
1312 (__strspn_c2): Likewise.
1313 (__strspn_c3): Likewise.
1314 (__strsep_1c): Likewise.
1315 (__strsep_2c): Likewise.
1316 (__strsep_3c): Likewise.
1317 * string/memccpy.c (__memccpy): Likewise.
1318 * string/stpcpy.c (__stpcpy): Likewise.
1319 * string/strcmp.c (strcmp): Likewise.
1320 * string/strrchr.c (strrchr): Likewise.
1321 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1322 Likewise.
1323 * sysdeps/mach/hurd/getcwd.c
1324 (_hurd_canonicalize_directory_name_internal): Likewise.
1325 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1326 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1327 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1328 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1329 Likewise, in both definitions.
1330 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1331 definitions.
1332 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1333 64] (__bswap_64): Likewise.
1334 * time/test_time.c (main): Likewise.
1335 * time/tzfile.c (__tzfile_read): Likewise.
1336 (__tzfile_compute): Likewise.
1337 * time/tzset.c (__tzset_parse_tz): Likewise.
1338 (tzset_internal): Likewise.
1339 (compute_change): Likewise.
1340 * wcsmbs/wcscat.c (__wcscat): Likewise.
1341 * wcsmbs/wcschr.c (wcschr): Likewise.
1342 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1343 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1344 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1345 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1346 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1347 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1348 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1349 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1350 * wcsmbs/wmemset.c (wmemset): Likewise.
1351
9e54314b
JM
13522013-06-06 Joseph Myers <joseph@codesourcery.com>
1353
1354 * scripts/config.guess: Update to version 2013-05-16.
1355 * scripts/config.sub: Update to version 2013-04-24.
1356 * scripts/install-sh: Update to version 2011-11-20.07.
1357 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1358 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1359
350635a5
OB
13602013-06-06 Ondřej Bílka <neleai@seznam.cz>
1361
1362 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1363 * elf/sln.c: Likewise.
1364 * hurd/hurd/ioctl.h: Likewise.
1365 * hurd/hurdmalloc.c: Likewise.
1366 * hurd/xattr.c: Likewise.
1367 * include/shlib-compat.h: Likewise.
1368 * inet/ruserpass.c: Likewise.
1369 * libio/iofgets_u.c: Likewise.
1370 * libio/iofgetws_u.c: Likewise.
1371 * locale/programs/ld-identification.c: Likewise.
1372 * locale/programs/ld-time.c: Likewise.
1373 * mach/msg-destroy.c: Likewise.
1374 * nss/nss_files/files-netgrp.c: Likewise.
1375 * resolv/res_data.c: Likewise.
1376 * soft-fp/op-1.h: Likewise.
1377 * soft-fp/op-2.h: Likewise.
1378 * soft-fp/op-4.h: Likewise.
1379 * soft-fp/op-common.h: Likewise.
1380 * stdio-common/printf_fphex.c: Likewise.
1381 * stdlib/strtod_l.c: Likewise.
1382 * sunrpc/rpc/clnt.h: Likewise.
1383 * sysdeps/generic/framestate.c: Likewise.
1384 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1385 * sysdeps/i386/bsd-setjmp.S: Likewise.
1386 * sysdeps/i386/__longjmp.S: Likewise.
1387 * sysdeps/i386/setjmp.S: Likewise.
1388 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1389 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1390 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1395 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1404 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1405 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1406 * sysdeps/ieee754/support.c: Likewise.
1407 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1408 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1409 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1410 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1411 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1412 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1413 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1414 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1415 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1416 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1417 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1418 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1419 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1420 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1421 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1422 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1423 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1425
44a988af
OB
14262013-06-05 Ondřej Bílka <neleai@seznam.cz>
1427
25506f09 1428 * posix/transbug.c: Remove executable mode.
44a988af 1429
9c84384c
JM
14302013-06-05 Joseph Myers <joseph@codesourcery.com>
1431
1432 * crypt/speeds.c: Remove trailing whitespace.
1433 * dlfcn/default.c: Likewise.
1434 * elf/ifuncdep2.c: Likewise.
1435 * elf/ifuncmain1.c: Likewise.
1436 * elf/ifuncmain1vis.c: Likewise.
1437 * elf/testobj.h: Likewise.
1438 * elf/tst-stackguard1.c: Likewise.
1439 * gmon/sys/gmon.h: Likewise.
1440 * hurd/hurdmsg.c: Likewise.
1441 * hurd/new-fd.c: Likewise.
1442 * hurd/ports-get.c: Likewise.
1443 * iconvdata/ibm1008_420.c: Likewise.
1444 * inet/tst-getni1.c: Likewise.
1445 * inet/tst-getni2.c: Likewise.
1446 * libio/ioungetc.c: Likewise.
1447 * libio/wfiledoalloc.c: Likewise.
1448 * manual/libm-err-tab.pl: Likewise.
1449 * math/w_dremf.c: Likewise.
1450 * misc/ftruncate.c: Likewise.
1451 * posix/bug-glob2.c: Likewise.
1452 * posix/tst-pcre.c: Likewise.
1453 * posix/wait4.c: Likewise.
1454 * resolv/README: Likewise.
1455 * resolv/res_debug.h: Likewise.
1456 * resolv/tst-inet_ntop.c: Likewise.
1457 * setjmp/bug269-setjmp.c: Likewise.
1458 * soft-fp/extended.h: Likewise.
1459 * soft-fp/op-1.h: Likewise.
1460 * soft-fp/op-2.h: Likewise.
1461 * soft-fp/op-4.h: Likewise.
1462 * soft-fp/op-8.h: Likewise.
1463 * soft-fp/testit.c: Likewise.
1464 * stdio-common/bug16.c: Likewise.
1465 * stdlib/random.c: Likewise.
1466 * sunrpc/rpcsvc/rquota.x: Likewise.
1467 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1468 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1469 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1470 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1471 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1472 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1473 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1474 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1475 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1477 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1478 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1479 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1480 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1482 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1483 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1484 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1485 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1486 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1487 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1488 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1490 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1491 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1492 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1494 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1496 * sysdeps/ieee754/s_lib_version.c: Likewise.
1497 * sysdeps/mach/hurd/check_fds.c: Likewise.
1498 * sysdeps/mach/hurd/getsockname.c: Likewise.
1499 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1500 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1501 * sysdeps/powerpc/bits/link.h: Likewise.
1502 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1503 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1504 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1505 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1506 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1507 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1508 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1509 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1510 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1511 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1513 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1514 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1515 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1516 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1517 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1518 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1519 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1521 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1522 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1523 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1525 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1526 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1527 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1528 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1529 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1530 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1531 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1532 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1533 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1534 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1535 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1536 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1537 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1538 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1539 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1540 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1541 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1543 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1544 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1548 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1549 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1550 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1551 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1552 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1554 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1555 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1556 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1560 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1561 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1562 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1563 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1564 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1565 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1566 * sysdeps/powerpc/sysdep.h: Likewise.
1567 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1568 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1569 * sysdeps/sh/dl-trampoline.S: Likewise.
1570 * sysdeps/sh/memset.S: Likewise.
1571 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1572 * sysdeps/sh/strlen.S: Likewise.
1573 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1574 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1575 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1576 * sysdeps/sparc/sparc32/rem.S: Likewise.
1577 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1578 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1579 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1580 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1581 * sysdeps/sparc/sparc32/urem.S: Likewise.
1582 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1583 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1584 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1585 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1586 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1587 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1588 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1589 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1590 * sysdeps/unix/bsd/times.c: Likewise.
1591 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1592 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1596 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1597 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1598 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1599 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1600 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1601 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1602 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1603 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1604 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1605 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1606 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1607 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1608 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1609 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1610 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1611 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1612 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1613 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1614 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1615 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1616 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1617 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1618 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1619 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1620 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1621 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1622 * sysdeps/x86_64/strcspn.S: Likewise.
1623
869378a5
RA
16242013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1625
1626 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1627 generated file. Regenerate properly from gen-translit.pl.
1628 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1629 locale/C-translit.h.
1630
840e2943
AS
16312013-06-05 Andreas Schwab <schwab@suse.de>
1632
1633 [BZ #15100]
1634 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1635 week as 6 instead of -1.
1636 * time/tst-strptime.c (day_tests): Add test case.
1637
4c60cb0c
SP
16382013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1639
1640 * sysdeps/generic/math_private.h
1641 (libc_feholdexcept_setround_53bit): Replace with
1642 libc_feholdsetround_53bit.
1643 (libc_feupdateenv_53bit): Replace with
1644 libc_feresetround_53bit.
1645 (SET_RESTORE_ROUND_53BIT): Adjust.
1646
d180203e
SP
16472013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1648
96df079a
SP
1649 * string/test-strchrnul.c: Add copyright header.
1650
d180203e
SP
1651 * posix/tst-getaddrinfo4.c: Increase test timeout.
1652
8b0ccb2d
CD
16532013-06-03 Carlos O'Donell <carlos@redhat.com>
1654
1655 [BZ #15536]
1656 * math/libm-test.inc (MAX_EXP): Remove
1657 (MIN_EXP): Define.
1658 (ulp): Use MIN_EXP - MANT_DIG.
1659 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1660
3b3c4d40
CD
16612013-05-31 Carlos O'Donell <carlos@redhat.com>
1662
1663 * po/be.po: Revert last change.
1664 * po/zh_CN.po: Likewise.
1665 * po/header.pot: Likewise.
1666
fab7ce3f
JM
16672013-05-31 Joseph Myers <joseph@codesourcery.com>
1668
1669 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1670 link-libc-deps to empty as target-specific variable.
1671 * Makerules (link-libc-args): New variable.
1672 (libc-for-link): Likewise.
1673 (link-libc-deps): Likewise.
1674 (lib%.so): Depend on $(link-libc-deps). Link with
1675 $(link-libc-args).
1676 (build-module): Link with $(link-libc-args).
1677 (build-module-asneeded): Likewise.
1678 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1679 list of objects.
1680 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1681 target-specific variable.
1682 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1683 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1684 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1685 libc.
1686 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1687 libc and ld.so.
1688 ($(objpfx)libpcprofile.so): Likewise.
1689 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1690 libc_nonshared.a.
1691 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1692 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1693 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1694 $(link-libc-deps).
1695 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1696 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1697 * login/Makefile ($(objpfx)libutil.so): Likewise.
1698 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1699 * math/Makefile ($(objpfx)libm.so): Likewise.
1700 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1701 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1702 variable instead of depending directly on libc.
1703 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1704 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1705 $(link-libc-deps).
1706 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1707 libc.
1708 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1709 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1710 ($(objpfx)libanl.so): Likewise.
1711 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1712 ld.so.
1713 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1714 $(link-libc-deps).
1715 * sysdeps/i386/fpu/Makefile: Remove file.
1716 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1717 ($(objpfx)libm.so): Remove dependency on ld.so.
1718
eca5920c
PF
17192013-05-30 Patsy Franklin <pfrankli@redhat.com>
1720
1721 [BZ # 15553]
1722 * nis/yp_xdr.c (XDRMAXNAME): Define.
1723 (XDRMAXRECORD): Define.
1724 (xdr_domainname): Use XDRMAXNAME.
1725 (xdr_mapname): Likewise.
1726 (xdr_peername): Likewise.
1727 (xdr_keydat): Use XDRMAXRECORD.
1728 (xdr_valdat): Likewise.
1729
17302013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1731
1732 [BZ #14256]
1733 * manual/errno.texi (ESTALE): Update to account for more than
1734 just NFS file systems.
1735 * sysdeps/gnu/errlist.c: Regenerated.
1736
b9375348
SP
17372013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1738
1739 [BZ #15465]
1740 * elf/Makefile (tests): Add tst-null-argv.
1741 (modules-names): Add tst-null-argv-lib.
1742 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1743 (tst-null-argv-ENV): Set environment for tst-null-argv.
1744 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1745 (RTLD_PROGNAME): New macro.
1746 * elf/tst-null-argv.c: New test case.
1747 * elf/tst-null-argv-lib.c: Library for test case.
1748 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1749 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1750 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1751 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1752 * elf/dl-init.c (call_init): Likewise.
1753 (_dl_init): Likewise.
1754 * elf/dl-load.c (print_search_path): Likewise.
1755 (_dl_map_object): Likewise.
1756 * elf/dl-lookup.c (do_lookup_x): Likewise.
1757 (add_dependency): Likewise.
1758 (_dl_lookup_symbol_x): Likewise.
1759 (_dl_debug_bindings): Likewise.
1760 * elf/dl-open.c (_dl_show_scope): Likewise.
1761 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1762 * elf/dl-version.c (match_symbol): Likewise.
1763 (_dl_check_map_versions): Likewise.
1764 * elf/rtld.c (dl_main): Likewise.
1765 (print_unresolved): Use RTLD_PROGNAME.
1766 (print_missing_version): Likewise.
1767 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1768 (elf_machine_rela): Likewise.
1769 * sysdeps/powerpc/powerpc32/dl-machine.c
1770 (__process_machine_rela): Likewise.
1771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1772 Likewise.
1773 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1774 Likewise.
1775 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1776 Likewise.
1777 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1778 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1779 Likewise.
1780 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1781 Likewise.
1782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1783
8a9f20c8
CD
17842013-05-28 Carlos O'Donell <carlos@redhat.com>
1785
1786 * po/be.po: Add descriptive title.
1787 * po/zh_CN.po: Likewise.
1788 * po/header.pot: Likewise.
1789
0e60d68e
MF
17902013-05-28 Mike Frysinger <vapier@gentoo.org>
1791
1792 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1793 error message.
1794 (enlarge_archive): Likewise.
1795
56b672e9
BN
17962013-05-28 Ben North <ben@redfrontdoor.org>
1797
1798 * manual/arith.texi (frexp): It is the magnitude of the return
1799 value which lies in [0.5, 1), not the return value itself.
1800
5e056687
AZ
18012013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1802
1803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1804
2b66ef5d
TS
18052013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1806
528c2405
TS
1807 * stdio-common/bug26.c (main): Correct fscanf template.
1808
07b4c13d
TS
1809 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1810 declare _dl_skip_args.
1811
ec9dd97c
TS
1812 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1813 Don't declare.
1814
2b66ef5d
TS
1815 * manual/platform.texi: Add missing @end deftypefun.
1816
4f8dfe27
JM
18172013-05-24 Joseph Myers <joseph@codesourcery.com>
1818
0323d086
JM
1819 [BZ #15529]
1820 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1821 bit of mantissa of 2^16382.
1822 * math/libm-test.inc (hypot_test_data): Add more tests.
1823
dd4259b9
JM
1824 * math/libm-test.inc: Add drem and pow10 to list of tested
1825 functions.
1826 (pow10_test): New function.
1827 (drem_test): Likewise.
1828 (drem_test_tonearest): Likewise.
1829 (drem_test_towardzero): Likewise.
1830 (drem_test_downward): Likewise.
1831 (drem_test_upward): Likewise.
1832 (main): Call the new functions.
1833
4f8dfe27
JM
1834 * math/libm-test.inc (finite_test_data): Remove.
1835 (finite_test): Run tests from isfinite_test_data.
1836 (gamma_test_data): Remove.
1837 (gamma_test): Run tests from lgamma_test_data.
1838 * sysdeps/i386/fpu/libm-test-ulps: Update.
1839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1840
d116b7c4
AZ
18412013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842
1843 * manual/platform.texi: Add PowerPC PPR function set documentation.
1844 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1845 implementation.
1846
e96e3767
CD
18472013-05-24 Carlos O'Donell <carlos@redhat.com>
1848
1849 * math/libm-test.inc (MAX_EXP): Define.
1850 (ULPDIFF): Define.
1851 (ulp): New function.
1852 (check_float_internal): Use ULPDIFF.
1853 (cpow_test): Disable failing test.
1854 (check_ulp): Test ulp() implemetnation.
1855 (main): Call check_ulp before starting tests.
1856
b679a606
JM
18572013-05-24 Joseph Myers <joseph@codesourcery.com>
1858
e8bdba36
JM
1859 * math/gen-libm-test.pl (generate_testfile): Do not handle
1860 START_DATA and END_DATA.
1861 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1862 END_DATA.
1863 (acos_tonearest_test_data): Likewise.
1864 (acos_towardzero_test_data): Likewise.
1865 (acos_downward_test_data): Likewise.
1866 (acos_upward_test_data): Likewise.
1867 (acosh_test_data): Likewise.
1868 (asin_test_data): Likewise.
1869 (asin_tonearest_test_data): Likewise.
1870 (asin_towardzero_test_data): Likewise.
1871 (asin_downward_test_data): Likewise.
1872 (asin_upward_test_data): Likewise.
1873 (asinh_test_data): Likewise.
1874 (atan_test_data): Likewise.
1875 (atanh_test_data): Likewise.
1876 (atan2_test_data): Likewise.
1877 (cabs_test_data): Likewise.
1878 (cacos_test_data): Likewise.
1879 (cacosh_test_data): Likewise.
1880 (carg_test_data): Likewise.
1881 (casin_test_data): Likewise.
1882 (casinh_test_data): Likewise.
1883 (catan_test_data): Likewise.
1884 (catanh_test_data): Likewise.
1885 (cbrt_test_data): Likewise.
1886 (ccos_test_data): Likewise.
1887 (ccosh_test_data): Likewise.
1888 (ceil_test_data): Likewise.
1889 (cexp_test_data): Likewise.
1890 (cimag_test_data): Likewise.
1891 (clog_test_data): Likewise.
1892 (clog10_test_data): Likewise.
1893 (conj_test_data): Likewise.
1894 (copysign_test_data): Likewise.
1895 (cos_test_data): Likewise.
1896 (cos_tonearest_test_data): Likewise.
1897 (cos_towardzero_test_data): Likewise.
1898 (cos_downward_test_data): Likewise.
1899 (cos_upward_test_data): Likewise.
1900 (cosh_test_data): Likewise.
1901 (cosh_tonearest_test_data): Likewise.
1902 (cosh_towardzero_test_data): Likewise.
1903 (cosh_downward_test_data): Likewise.
1904 (cosh_upward_test_data): Likewise.
1905 (cpow_test_data): Likewise.
1906 (cproj_test_data): Likewise.
1907 (creal_test_data): Likewise.
1908 (csin_test_data): Likewise.
1909 (csinh_test_data): Likewise.
1910 (csqrt_test_data): Likewise.
1911 (ctan_test_data): Likewise.
1912 (ctan_tonearest_test_data): Likewise.
1913 (ctan_towardzero_test_data): Likewise.
1914 (ctan_downward_test_data): Likewise.
1915 (ctan_upward_test_data): Likewise.
1916 (ctanh_test_data): Likewise.
1917 (ctanh_tonearest_test_data): Likewise.
1918 (ctanh_towardzero_test_data): Likewise.
1919 (ctanh_downward_test_data): Likewise.
1920 (ctanh_upward_test_data): Likewise.
1921 (erf_test_data): Likewise.
1922 (erfc_test_data): Likewise.
1923 (exp_test_data): Likewise.
1924 (exp_tonearest_test_data): Likewise.
1925 (exp_towardzero_test_data): Likewise.
1926 (exp_downward_test_data): Likewise.
1927 (exp_upward_test_data): Likewise.
1928 (exp10_test_data): Likewise.
1929 (exp2_test_data): Likewise.
1930 (expm1_test_data): Likewise.
1931 (fabs_test_data): Likewise.
1932 (fdim_test_data): Likewise.
1933 (finite_test_data): Likewise.
1934 (floor_test_data): Likewise.
1935 (fma_test_data): Likewise.
1936 (fma_towardzero_test_data): Likewise.
1937 (fma_downward_test_data): Likewise.
1938 (fma_upward_test_data): Likewise.
1939 (fmax_test_data): Likewise.
1940 (fmin_test_data): Likewise.
1941 (fmod_test_data): Likewise.
1942 (fpclassify_test_data): Likewise.
1943 (frexp_test_data): Likewise.
1944 (gamma_test_data): Likewise.
1945 (hypot_test_data): Likewise.
1946 (ilogb_test_data): Likewise.
1947 (isfinite_test_data): Likewise.
1948 (isgreater_test_data): Likewise.
1949 (isgreaterequal_test_data): Likewise.
1950 (isinf_test_data): Likewise.
1951 (isless_test_data): Likewise.
1952 (islessequal_test_data): Likewise.
1953 (islessgreater_test_data): Likewise.
1954 (isnan_test_data): Likewise.
1955 (isnormal_test_data): Likewise.
1956 (issignaling_test_data): Likewise.
1957 (isunordered_test_data): Likewise.
1958 (j0_test_data): Likewise.
1959 (j1_test_data): Likewise.
1960 (jn_test_data): Likewise.
1961 (ldexp_test_data): Likewise.
1962 (lgamma_test_data): Likewise.
1963 (lrint_test_data): Likewise.
1964 (lrint_tonearest_test_data): Likewise.
1965 (lrint_towardzero_test_data): Likewise.
1966 (lrint_downward_test_data): Likewise.
1967 (lrint_upward_test_data): Likewise.
1968 (llrint_test_data): Likewise.
1969 (llrint_tonearest_test_data): Likewise.
1970 (llrint_towardzero_test_data): Likewise.
1971 (llrint_downward_test_data): Likewise.
1972 (llrint_upward_test_data): Likewise.
1973 (log_test_data): Likewise.
1974 (log10_test_data): Likewise.
1975 (log1p_test_data): Likewise.
1976 (log2_test_data): Likewise.
1977 (logb_test_data): Likewise.
1978 (logb_downward_test_data): Likewise.
1979 (lround_test_data): Likewise.
1980 (llround_test_data): Likewise.
1981 (modf_test_data): Likewise.
1982 (nearbyint_test_data): Likewise.
1983 (nextafter_test_data): Likewise.
1984 (nexttoward_test_data): Likewise.
1985 (pow_test_data): Likewise.
1986 (pow_tonearest_test_data): Likewise.
1987 (pow_towardzero_test_data): Likewise.
1988 (pow_downward_test_data): Likewise.
1989 (pow_upward_test_data): Likewise.
1990 (remainder_test_data): Likewise.
1991 (remainder_tonearest_test_data): Likewise.
1992 (remainder_towardzero_test_data): Likewise.
1993 (remainder_downward_test_data): Likewise.
1994 (remainder_upward_test_data): Likewise.
1995 (remquo_test_data): Likewise.
1996 (rint_test_data): Likewise.
1997 (rint_tonearest_test_data): Likewise.
1998 (rint_towardzero_test_data): Likewise.
1999 (rint_downward_test_data): Likewise.
2000 (rint_upward_test_data): Likewise.
2001 (round_test_data): Likewise.
2002 (scalb_test_data): Likewise.
2003 (scalbn_test_data): Likewise.
2004 (scalbln_test_data): Likewise.
2005 (signbit_test_data): Likewise.
2006 (sin_test_data): Likewise.
2007 (sin_tonearest_test_data): Likewise.
2008 (sin_towardzero_test_data): Likewise.
2009 (sin_downward_test_data): Likewise.
2010 (sin_upward_test_data): Likewise.
2011 (sincos_test_data): Likewise.
2012 (sinh_test_data): Likewise.
2013 (sinh_tonearest_test_data): Likewise.
2014 (sinh_towardzero_test_data): Likewise.
2015 (sinh_downward_test_data): Likewise.
2016 (sinh_upward_test_data): Likewise.
2017 (sqrt_test_data): Likewise.
2018 (tan_test_data): Likewise.
2019 (tan_tonearest_test_data): Likewise.
2020 (tan_towardzero_test_data): Likewise.
2021 (tan_downward_test_data): Likewise.
2022 (tan_upward_test_data): Likewise.
2023 (tanh_test_data): Likewise.
2024 (tgamma_test_data): Likewise.
2025 (trunc_test_data): Likewise.
2026 (y0_test_data): Likewise.
2027 (y1_test_data): Likewise.
2028 (yn_test_data): Likewise.
2029 (significand_test_data): Likewise.
2030
b679a606
JM
2031 * math/gen-libm-test.pl (@functions): Remove variable.
2032 (generate_testfile): Don't handle START and END lines.
2033 * math/libm-test.inc (START): New macro.
2034 (END): Likewise.
2035 (END_COMPLEX): Likewise.
2036 (acos_test): Use END macro without arguments.
2037 (acos_test_tonearest): Likewise.
2038 (acos_test_towardzero): Likewise.
2039 (acos_test_downward): Likewise.
2040 (acos_test_upward): Likewise.
2041 (acosh_test): Likewise.
2042 (asin_test): Likewise.
2043 (asin_test_tonearest): Likewise.
2044 (asin_test_towardzero): Likewise.
2045 (asin_test_downward): Likewise.
2046 (asin_test_upward): Likewise.
2047 (asinh_test): Likewise.
2048 (atan_test): Likewise.
2049 (atanh_test): Likewise.
2050 (atan2_test): Likewise.
2051 (cabs_test): Likewise.
2052 (cacos_test): Use END_COMPLEX macro without arguments.
2053 (cacosh_test): Likewise.
2054 (carg_test): Use END macro without arguments.
2055 (casin_test): Use END_COMPLEX macro without arguments.
2056 (casinh_test): Likewise.
2057 (catan_test): Likewise.
2058 (catanh_test): Likewise.
2059 (cbrt_test): Use END macro without arguments.
2060 (ccos_test): Use END_COMPLEX macro without arguments.
2061 (ccosh_test): Likewise.
2062 (ceil_test): Use END macro without arguments.
2063 (cexp_test): Use END_COMPLEX macro without arguments.
2064 (cimag_test): Use END macro without arguments.
2065 (clog_test): Use END_COMPLEX macro without arguments.
2066 (clog10_test): Likewise.
2067 (conj_test): Likewise.
2068 (copysign_test): Use END macro without arguments.
2069 (cos_test): Likewise.
2070 (cos_test_tonearest): Likewise.
2071 (cos_test_towardzero): Likewise.
2072 (cos_test_downward): Likewise.
2073 (cos_test_upward): Likewise.
2074 (cosh_test): Likewise.
2075 (cosh_test_tonearest): Likewise.
2076 (cosh_test_towardzero): Likewise.
2077 (cosh_test_downward): Likewise.
2078 (cosh_test_upward): Likewise.
2079 (cpow_test): Use END_COMPLEX macro without arguments.
2080 (cproj_test): Likewise.
2081 (creal_test): Use END macro without arguments.
2082 (csin_test): Use END_COMPLEX macro without arguments.
2083 (csinh_test): Likewise.
2084 (csqrt_test): Likewise.
2085 (ctan_test): Likewise.
2086 (ctan_test_tonearest): Likewise.
2087 (ctan_test_towardzero): Likewise.
2088 (ctan_test_downward): Likewise.
2089 (ctan_test_upward): Likewise.
2090 (ctanh_test): Likewise.
2091 (ctanh_test_tonearest): Likewise.
2092 (ctanh_test_towardzero): Likewise.
2093 (ctanh_test_downward): Likewise.
2094 (ctanh_test_upward): Likewise.
2095 (erf_test): Use END macro without arguments.
2096 (erfc_test): Likewise.
2097 (exp_test): Likewise.
2098 (exp_test_tonearest): Likewise.
2099 (exp_test_towardzero): Likewise.
2100 (exp_test_downward): Likewise.
2101 (exp_test_upward): Likewise.
2102 (exp10_test): Likewise.
2103 (exp2_test): Likewise.
2104 (expm1_test): Likewise.
2105 (fabs_test): Likewise.
2106 (fdim_test): Likewise.
2107 (finite_test): Likewise.
2108 (floor_test): Likewise.
2109 (fma_test): Likewise.
2110 (fma_test_towardzero): Likewise.
2111 (fma_test_downward): Likewise.
2112 (fma_test_upward): Likewise.
2113 (fmax_test): Likewise.
2114 (fmin_test): Likewise.
2115 (fmod_test): Likewise.
2116 (fpclassify_test): Likewise.
2117 (frexp_test): Likewise.
2118 (gamma_test): Likewise.
2119 (hypot_test): Likewise.
2120 (ilogb_test): Likewise.
2121 (isfinite_test): Likewise.
2122 (isgreater_test): Likewise.
2123 (isgreaterequal_test): Likewise.
2124 (isinf_test): Likewise.
2125 (isless_test): Likewise.
2126 (islessequal_test): Likewise.
2127 (islessgreater_test): Likewise.
2128 (isnan_test): Likewise.
2129 (isnormal_test): Likewise.
2130 (issignaling_test): Likewise.
2131 (isunordered_test): Likewise.
2132 (j0_test): Likewise.
2133 (j1_test): Likewise.
2134 (jn_test): Likewise.
2135 (ldexp_test): Likewise.
2136 (lgamma_test): Likewise.
2137 (lrint_test): Likewise.
2138 (lrint_test_tonearest): Likewise.
2139 (lrint_test_towardzero): Likewise.
2140 (lrint_test_downward): Likewise.
2141 (lrint_test_upward): Likewise.
2142 (llrint_test): Likewise.
2143 (llrint_test_tonearest): Likewise.
2144 (llrint_test_towardzero): Likewise.
2145 (llrint_test_downward): Likewise.
2146 (llrint_test_upward): Likewise.
2147 (log_test): Likewise.
2148 (log10_test): Likewise.
2149 (log1p_test): Likewise.
2150 (log2_test): Likewise.
2151 (logb_test): Likewise.
2152 (logb_test_downward): Likewise.
2153 (lround_test): Likewise.
2154 (llround_test): Likewise.
2155 (modf_test): Likewise.
2156 (nearbyint_test): Likewise.
2157 (nextafter_test): Likewise.
2158 (nexttoward_test): Likewise.
2159 (pow_test): Likewise.
2160 (pow_test_tonearest): Likewise.
2161 (pow_test_towardzero): Likewise.
2162 (pow_test_downward): Likewise.
2163 (pow_test_upward): Likewise.
2164 (remainder_test): Likewise.
2165 (remainder_test_tonearest): Likewise.
2166 (remainder_test_towardzero): Likewise.
2167 (remainder_test_downward): Likewise.
2168 (remainder_test_upward): Likewise.
2169 (remquo_test): Likewise.
2170 (rint_test): Likewise.
2171 (rint_test_tonearest): Likewise.
2172 (rint_test_towardzero): Likewise.
2173 (rint_test_downward): Likewise.
2174 (rint_test_upward): Likewise.
2175 (round_test): Likewise.
2176 (scalb_test): Likewise.
2177 (scalbn_test): Likewise.
2178 (scalbln_test): Likewise.
2179 (signbit_test): Likewise.
2180 (sin_test): Likewise.
2181 (sin_test_tonearest): Likewise.
2182 (sin_test_towardzero): Likewise.
2183 (sin_test_downward): Likewise.
2184 (sin_test_upward): Likewise.
2185 (sincos_test): Likewise.
2186 (sinh_test): Likewise.
2187 (sinh_test_tonearest): Likewise.
2188 (sinh_test_towardzero): Likewise.
2189 (sinh_test_downward): Likewise.
2190 (sinh_test_upward): Likewise.
2191 (sqrt_test): Likewise.
2192 (tan_test): Likewise.
2193 (tan_test_tonearest): Likewise.
2194 (tan_test_towardzero): Likewise.
2195 (tan_test_downward): Likewise.
2196 (tan_test_upward): Likewise.
2197 (tanh_test): Likewise.
2198 (tgamma_test): Likewise.
2199 (trunc_test): Likewise.
2200 (y0_test): Likewise.
2201 (y1_test): Likewise.
2202 (yn_test): Likewise.
2203 (significand_test): Likewise.
2204
bae143d2
OB
22052013-05-24 Ondřej Bílka <neleai@seznam.cz>
2206
2207 [BZ #15381]
2208 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2209
9323d39b
EM
22102013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2211
d4ea44a0 2212 [BZ #14894]
9323d39b
EM
2213 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2214 __ppc_mdoio and __ppc_mdoom.
2215 * manual/platform.texi: Document new functions __ppc_yield,
2216 __ppc_mdoio and __ppc_mdoom.
2217
13e23af7
CD
22182013-05-22 Carlos O'Donell <carlos@redhat.com>
2219
2220 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2221 (main): Mention "tls" pseudo-hwcap is legacy.
2222 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2223
351fe550
JM
22242013-05-22 Joseph Myers <joseph@codesourcery.com>
2225
2226 * math/gen-libm-test.pl (parse_args): Output only string of
2227 arguments as text for test name, not full call or descriptions of
2228 tests for extra outputs.
2229 (generate_testfile): Do not pass function name to parse_args.
2230 Generate this_func variable from START.
2231 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2232 field to arg_str.
2233 (struct test_ff_f_data): Likewise.
2234 (test_ff_f_data_nexttoward): Likewise.
2235 (struct test_fi_f_data): Likewise.
2236 (struct test_fl_f_data): Likewise.
2237 (struct test_if_f_data): Likewise.
2238 (struct test_fff_f_data): Likewise.
2239 (struct test_c_f_data): Likewise.
2240 (struct test_f_f1_data): Likewise. Remove field extra_name.
2241 (struct test_fF_f1_data): Likewise.
2242 (struct test_ffI_f1_data): Likewise.
2243 (struct test_c_c_data): Rename test_name field to arg_str.
2244 (struct test_cc_c_data): Likewise.
2245 (struct test_f_i_data): Likewise.
2246 (struct test_ff_i_data): Likewise.
2247 (struct test_f_l_data): Likewise.
2248 (struct test_f_L_data): Likewise.
2249 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2250 and extra2_name.
2251 (COMMON_TEST_SETUP): New macro.
2252 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2253 (COMMON_TEST_CLEANUP): Likewise.
2254 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2255 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2256 macros.
2257 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2258 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2259 macros.
2260 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2261 (RUN_TEST_fff_f): Take argument string. Call new setup and
2262 cleanup macros.
2263 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2264 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2265 macros.
2266 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2267 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2268 macros.
2269 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2270 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2271 cleanup macros.
2272 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2273 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2274 cleanup macros.
2275 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2276 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2277 cleanup macros.
2278 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2279 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2280 macros.
2281 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2282 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2283 macros.
2284 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2285 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2286 macros.
2287 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2288 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2289 cleanup macros.
2290 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2291 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2292 cleanup macros.
2293 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2294 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2295 macros.
2296 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2297 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2298 cleanup macros.
2299 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2300 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2301 macros.
2302 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2303 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2304 macros.
2305 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2306 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2307 cleanup macros.
2308 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2309
85118d4d
EBM
23102013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2311
2312 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2313 to _sifields.sigfault.
2314 (si_addr_lsb): Define new macro.
2315 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2316 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2317 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2318
7a44c18f
CD
23192013-05-03 Carlos O'Donell <carlos at redhat.com>
2320
2321 [BZ #15441]
2322 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2323 returns -1.
2324 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2325 null return -1.
2326 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2327 loading the domain.
2328
b50a7181
JM
23292013-05-22 Joseph Myers <joseph@codesourcery.com>
2330
2331 * math/gen-libm-test.pl (parse_args): Do not include expected
2332 result in test name.
2333 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2335 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2336 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2337 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2339
051063c8
SP
23402013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2341
3ce9e010
SP
2342 * benchtests/Makefile: Sort function entries.
2343
051063c8
SP
2344 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2345 tanh, asinh, acosh, atanh.
2346 * benchtests/acos-inputs: New file.
2347 * benchtests/acosh-inputs: New file.
2348 * benchtests/asin-inputs: New file.
2349 * benchtests/asinh-inputs: New file.
2350 * benchtests/atanh-inputs: New file.
2351 * benchtests/cosh-inputs: New file.
2352 * benchtests/log-inputs: New file.
2353 * benchtests/sinh-inputs: New file.
2354 * benchtests/tanh-inputs: New file.
2355
47c22455
DL
23562013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2357
2358 [BZ #15339]
2359 * posix/tst-getaddrinfo4.c: New test.
2360 * posix/Makefile (tests): Add it.
2361
3d04f5db
SP
23622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2363
2364 [BZ #15339]
2365 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2366 when no services were used.
2367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2368 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2369
d5dd6189
AS
23702013-05-21 Andreas Schwab <schwab@suse.de>
2371
2372 [BZ #15014]
2373 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2374 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2375 successful.
2376 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2377 redundant variable declarations and reallocation of buffer when
2378 parsing as IPv6 address. Always set NSS status when called from
2379 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2380 buffer too small. Correct computation of needed size.
2381 * nss/Makefile (tests): Add test-digits-dots.
2382 * nss/test-digits-dots.c: New test.
2383
fef94eab
SP
23842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2385
2386 * benchtests/Makefile: Remove instructions for adding
2387 benchmark tests.
2388 * benchtests/README: New file to explain how to execute and
2389 enhance the benchmark tests.
2390
e39adf43
AS
23912013-05-21 Andreas Schwab <schwab@suse.de>
2392
2393 [BZ #15493]
2394 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2395 * setjmp/tst-sigsetjmp.c: New test.
2396
b2b671b6
OB
23972013-05-20 Ondřej Bílka <neleai@seznam.cz>
2398
2399 * sysdeps/x86_64/memset.S (memset): New implementation.
2400 (__bzero): Likewise.
2401 (__memset_tail): New function.
2402
2d48b41c
OB
24032013-05-20 Ondřej Bílka <neleai@seznam.cz>
2404
2405 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2406 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2407 __memcpy_sse2_unaligned ifunc selection.
2408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2409 Add memcpy-sse2-unaligned.S.
2410 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2411 Add: __memcpy_sse2_unaligned.
2412
f16cc3eb
JM
24132013-05-19 Joseph Myers <joseph@codesourcery.com>
2414
3e694268
JM
2415 [BZ #15490]
2416 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2417 math_force_eval before restoring floating-point envrionment.
2418 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2419 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2420 Likewise.
2421 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2422 <math_private.h>.
2423 (__nearbyintl): Use math_force_eval before restoring
2424 floating-point environment.
2425 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2426
db62a907
JM
2427 * math/gen-libm-test.pl (special_functions): Remove.
2428 (parse_args): Don't handle TEST_extra. Handle functions with no
2429 return value.
2430 * math/libm-test.inc (struct test_sincos_data): Replace with
2431 struct test_fFF_11_data.
2432 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2433 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2434 (sincos_test_data): Change element type to struct
2435 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2436 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2437 RUN_TEST_LOOP_sincos.
2438 * math/README.libm-test: Don't mention special handling of
2439 individual functions.
2440 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2441 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2442 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2443 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2444 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2446
f16cc3eb
JM
2447 * math/gen-libm-test.pl (get_variable): Remove function.
2448 (parse_args): Don't show pointer parameters to call in test
2449 names. Use "extra output N" in test names for extra outputs
2450 rather than naming variables.
2451
3779b5b6
JM
24522013-05-18 Joseph Myers <joseph@codesourcery.com>
2453
2ee094ff
JM
2454 [BZ #15488]
2455 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2456 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2457 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2458 double tests.
2459 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2460 disable.
2461 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2462 check_long_double.
2463
3779b5b6
JM
2464 * math/gen-libm-test.pl (@tests): Remove variable.
2465 ($count): Likewise.
2466 (new_test): Remove function.
2467 (show_exceptions): New function.
2468 (special_functions): Use show_exceptions instead of new_test.
2469 (parse_args): Likewise.
2470 (generate_testfile): Pass only function name in generated call to
2471 print_max_error or print_complex_max_error.
2472 (get_ulps): Do not handle complex tests specially.
2473 (output_test): Rename to ...
2474 (get_all_ulps_for_test): ... this. Return a string rather than
2475 printing to a file. Require ulps to be present.
2476 (output_ulps): Generate arrays rather than #defines.
2477 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2478 (struct ulp_data): New type.
2479 (BUILD_COMPLEX_ULP): Remove macro.
2480 (compare_ulp_data): New function.
2481 (find_ulps): Likewise.
2482 (find_test_ulps): Likewise.
2483 (find_function_ulps): Likewise.
2484 (find_complex_function_ulps): Likewise.
2485 (print_max_error): Determine allowed ulps using
2486 find_function_ulps.
2487 (print_complex_max_error): Determine allowed ulps using
2488 find_complex_function_ulps.
2489 (check_float_internal): Determine max ulps using find_test_ulps.
2490 (check_float): Do not take max_ulp parameter. Update call to
2491 check_float_internal.
2492 (check_complex): Likewise.
2493 (check_int): Do not take max_ulp parameter.
2494 (check_long): Likewise.
2495 (check_bool): Likewise.
2496 (check_longlong): Likewise.
2497 (struct test_f_f_data): Remove max_ulp field.
2498 (struct test_ff_f_data): Likewise.
2499 (struct test_ff_f_data_nexttoward): Likewise.
2500 (struct test_fi_f_data): Likewise.
2501 (struct test_fl_f_data): Likewise.
2502 (struct test_if_f_data): Likewise.
2503 (struct test_fff_f_data): Likewise.
2504 (struct test_c_f_data): Likewise.
2505 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2506 (struct test_fF_f1_data): Likewise.
2507 (struct test_ffI_f1_data): Likewise.
2508 (struct test_c_c_data): Remove max_ulp field.
2509 (struct test_cc_c_data): Likewise.
2510 (struct test_f_i_data): Likewise.
2511 (struct test_ff_i_data): Likewise.
2512 (struct test_f_l_data): Likewise.
2513 (struct test_f_L_data): Likewise.
2514 (struct test_sincos_data): Likewise.
2515 (RUN_TEST_f_f): Do not handle ulps.
2516 (RUN_TEST_LOOP_f_f): Likewise.
2517 (RUN_TEST_2_f): Likewise.
2518 (RUN_TEST_LOOP_2_f): Likewise.
2519 (RUN_TEST_fff_f): Likewise.
2520 (RUN_TEST_LOOP_fff_f): Likewise.
2521 (RUN_TEST_c_f): Likewise.
2522 (RUN_TEST_LOOP_c_f): Likewise.
2523 (RUN_TEST_f_f1): Likewise.
2524 (RUN_TEST_LOOP_f_f1): Likewise.
2525 (RUN_TEST_fF_f1): Likewise.
2526 (RUN_TEST_LOOP_fF_f1): Likewise.
2527 (RUN_TEST_fI_f1): Likewise.
2528 (RUN_TEST_LOOP_fI_f1): Likewise.
2529 (RUN_TEST_ffI_f1): Likewise.
2530 (RUN_TEST_LOOP_ffI_f1): Likewise.
2531 (RUN_TEST_c_c): Likewise.
2532 (RUN_TEST_LOOP_c_c): Likewise.
2533 (RUN_TEST_cc_c): Likewise.
2534 (RUN_TEST_LOOP_cc_c): Likewise.
2535 (RUN_TEST_f_i): Likewise.
2536 (RUN_TEST_LOOP_f_i): Likewise.
2537 (RUN_TEST_f_i_tg): Likewise.
2538 (RUN_TEST_LOOP_f_i_tg): Likewise.
2539 (RUN_TEST_ff_i_tg): Likewise.
2540 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2541 (RUN_TEST_f_b): Likewise.
2542 (RUN_TEST_LOOP_f_b): Likewise.
2543 (RUN_TEST_f_b_tg): Likewise.
2544 (RUN_TEST_LOOP_f_b_tg): Likewise.
2545 (RUN_TEST_f_l): Likewise.
2546 (RUN_TEST_LOOP_f_l): Likewise.
2547 (RUN_TEST_f_L): Likewise.
2548 (RUN_TEST_LOOP_f_L): Likewise.
2549 (RUN_TEST_sincos): Likewise.
2550 (RUN_TEST_LOOP_sincos): Likewise.
2551
8269107f
JM
25522013-05-17 Joseph Myers <joseph@codesourcery.com>
2553
bb38759d
JM
2554 [BZ #15480]
2555 [BZ #15485]
2556 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2557 main case of finite arguments, set rounding mode to FE_TONEAREST
2558 and discard exceptions.
2559 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2560 exceptions.
2561 (remainder_tonearest_test_data): New variable.
2562 (remainder_test_tonearest): New function.
2563 (remainder_towardzero_test_data): New variable.
2564 (remainder_test_towardzero): New function.
2565 (remainder_downward_test_data): New variable.
2566 (remainder_test_downward): New function.
2567 (remainder_upward_test_data): New variable.
2568 (remainder_test_upward): New function.
2569 (main): Call the new test functions.
2570
a00bdcf0
JM
2571 * math/libm-test.inc (struct test_f_f1_data): Remove field
2572 extra_init.
2573 (struct test_fF_f1_data): Likewise.
2574 (struct test_ffI_f1_data): Likewise.
2575 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2576 based on value of EXTRA_EXPECTED.
2577 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2578 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2579 EXTRA_VAR based on value of EXTRA_EXPECTED.
2580 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2581 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2582 EXTRA_VAR based on value of EXTRA_EXPECTED.
2583 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2584 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2585 EXTRA_VAR based on value of EXTRA_EXPECTED.
2586 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2587 * math/gen-libm-test.pl (parse_args): Don't output initializers
2588 for extra output values.
2589
de407f79
JM
2590 * math/libm-test.inc (check_int): Expect result to be exactly
2591 equal to expected value and do not handle ulps.
2592 (check_long): Likewise.
2593 (check_longlong): Likewise.
2594
8269107f
JM
2595 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2596 exceptions.
2597 (cimag_test_data): Likewise.
2598 (conj_test_data): Likewise.
2599 (copysign_test_data): Likewise.
2600 (cproj_test_data): Likewise.
2601 (creal_test_data): Likewise.
2602 (fabs_test_data): Likewise.
2603 (fdim_test_data): Likewise.
2604 (finite_test_data): Likewise.
2605 (floor_test_data): Likewise.
2606 (fmax_test_data): Likewise.
2607 (fmin_test_data): Likewise.
2608 (fmod_test_data): Likewise.
2609 (fpclassify_test_data): Likewise.
2610 (frexp_test_data): Likewise.
2611 (ilogb_test_data): Likewise.
2612 (isfinite_test_data): Likewise.
2613 (isgreater_test_data): Likewise.
2614 (isgreaterequal_test_data): Likewise.
2615 (isinf_test_data): Likewise.
2616 (isless_test_data): Likewise.
2617 (islessequal_test_data): Likewise.
2618 (islessgreater_test_data): Likewise.
2619 (isnan_test_data): Likewise.
2620 (isnormal_test_data): Likewise.
2621 (issignaling_test_data): Likewise.
2622 (isunordered_test_data): Likewise.
2623 (ldexp_test_data): Likewise.
2624 (lrint_test_data): Likewise.
2625 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2626 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2627 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2628 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2629 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2630 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2631 test input.
2632 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2633 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2634 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2635 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2636 that test input.
2637 (lrint_downward_test_data): Test for "inexact" exceptions.
2638 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2639 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2640 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2641 test input.
2642 (lrint_upward_test_data): Test for "inexact" exceptions.
2643 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2644 test input.
2645 (llrint_test_data): Test for "inexact" exceptions.
2646 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2647 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2648 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2649 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2650 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2651 (llrint_downward_test_data): Test for "inexact" exceptions.
2652 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2653 (llrint_upward_test_data): Test for "inexact" exceptions.
2654 (logb_test_data): Likewise.
2655 (logb_downward_test_data): Likewise.
2656 (nextafter_test_data): Likewise.
2657 (nexttoward_test_data): Likewise.
2658 (remainder_test_data): Likewise.
2659 (remquo_test_data): Likewise.
2660 (scalbn_test_data): Likewise.
2661 (scalbln_test_data): Likewise.
2662 (signbit_test_data): Likewise.
2663 (sqrt_test_data): Likewise.
2664 (significand_test_data): Likewise.
2665
48a18de1
SP
26662013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2667
2668 [BZ #15424]
2669 * benchtests/bench-modf.c (struct args): Mark arg0 as
2670 volatile.
2671 * scripts/bench.pl: Mark members of struct args as volatile.
2672
13d3b41a
AZ
26732013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2674
68191c1d 2675 [BZ # 15497]
13d3b41a
AZ
2676 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2677 negative infinity on POWER6 or lower.
2678 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2679
2848b105
MR
26802013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2681
2682 [BZ #15442]
2683 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2684 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2685 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2686 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2687 (_FP_SETQNAN): New macro.
2688 (_FP_SETQNAN_SEMIRAW): Likewise.
2689 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2690 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2691 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2692 (FP_EXTEND): Use _FP_FRAC_SNANP.
2693 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2694 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2695 into account.
2696 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2697 New macro.
2698 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2699 Likewise.
2700
323e5cb7
JM
27012013-05-16 Joseph Myers <joseph@codesourcery.com>
2702
c58b274f
JM
2703 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2704 with DIVIDE_BY_ZERO_EXCEPTION.
2705 (gamma_test_data): Likewise.
2706 (lgamma_test_data): Likewise.
2707 (log_test_data): Likewise.
2708 (log10_test_data): Likewise.
2709 (log2_test_data): Likewise.
2710 (tgamma_test_data): Likewise.
2711
0ab34904
JM
2712 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2713 (acos_test_tonearest): Likewise.
2714 (acos_test_towardzero): Likewise.
2715 (acos_test_downward): Likewise.
2716 (acos_test_upward): Likewise.
2717 (acosh_test): Likewise.
2718 (asin_test): Likewise.
2719 (asin_test_tonearest): Likewise.
2720 (asin_test_towardzero): Likewise.
2721 (asin_test_downward): Likewise.
2722 (asin_test_upward): Likewise.
2723 (asinh_test): Likewise.
2724 (atan_test): Likewise.
2725 (atanh_test): Likewise.
2726 (atan2_test): Likewise.
2727 (cabs_test): Likewise.
2728 (cacos_test): Likewise.
2729 (cacosh_test): Likewise.
2730 (casin_test): Likewise.
2731 (casinh_test): Likewise.
2732 (catan_test): Likewise.
2733 (catanh_test): Likewise.
2734 (cbrt_test): Likewise.
2735 (ccos_test): Likewise.
2736 (ccosh_test): Likewise.
2737 (cexp_test): Likewise.
2738 (clog_test): Likewise.
2739 (clog10_test): Likewise.
2740 (cos_test): Likewise.
2741 (cos_test_tonearest): Likewise.
2742 (cos_test_towardzero): Likewise.
2743 (cos_test_downward): Likewise.
2744 (cos_test_upward): Likewise.
2745 (cosh_test): Likewise.
2746 (cosh_test_tonearest): Likewise.
2747 (cosh_test_towardzero): Likewise.
2748 (cosh_test_downward): Likewise.
2749 (cosh_test_upward): Likewise.
2750 (cpow_test): Likewise.
2751 (csin_test): Likewise.
2752 (csinh_test): Likewise.
2753 (csqrt_test): Likewise.
2754 (ctan_test): Likewise.
2755 (ctan_test_tonearest): Likewise.
2756 (ctan_test_towardzero): Likewise.
2757 (ctan_test_downward): Likewise.
2758 (ctan_test_upward): Likewise.
2759 (ctanh_test): Likewise.
2760 (ctanh_test_tonearest): Likewise.
2761 (ctanh_test_towardzero): Likewise.
2762 (ctanh_test_downward): Likewise.
2763 (ctanh_test_upward): Likewise.
2764 (erf_test): Likewise.
2765 (erfc_test): Likewise.
2766 (exp_test): Likewise.
2767 (exp_test_tonearest): Likewise.
2768 (exp_test_towardzero): Likewise.
2769 (exp_test_downward): Likewise.
2770 (exp_test_upward): Likewise.
2771 (exp10_test): Likewise.
2772 (exp2_test): Likewise.
2773 (expm1_test): Likewise.
2774 (fmod_test): Likewise.
2775 (gamma_test): Likewise.
2776 (hypot_test): Likewise.
2777 (j0_test): Likewise.
2778 (j1_test): Likewise.
2779 (jn_test): Likewise.
2780 (lgamma_test): Likewise.
2781 (log_test): Likewise.
2782 (log10_test): Likewise.
2783 (log1p_test): Likewise.
2784 (log2_test): Likewise.
2785 (logb_test_downward): Likewise.
2786 (pow_test): Likewise.
2787 (pow_test_tonearest): Likewise.
2788 (pow_test_towardzero): Likewise.
2789 (pow_test_downward): Likewise.
2790 (pow_test_upward): Likewise.
2791 (remainder_test): Likewise.
2792 (remquo_test): Likewise.
2793 (sin_test): Likewise.
2794 (sin_test_tonearest): Likewise.
2795 (sin_test_towardzero): Likewise.
2796 (sin_test_downward): Likewise.
2797 (sin_test_upward): Likewise.
2798 (sincos_test): Likewise.
2799 (sinh_test): Likewise.
2800 (sinh_test_tonearest): Likewise.
2801 (sinh_test_towardzero): Likewise.
2802 (sinh_test_downward): Likewise.
2803 (sinh_test_upward): Likewise.
2804 (sqrt_test): Likewise.
2805 (tan_test): Likewise.
2806 (tan_test_tonearest): Likewise.
2807 (tan_test_towardzero): Likewise.
2808 (tan_test_downward): Likewise.
2809 (tan_test_upward): Likewise.
2810 (tanh_test): Likewise.
2811 (tgamma_test): Likewise.
2812 (y0_test): Likewise.
2813 (y1_test): Likewise.
2814 (yn_test): Likewise.
2815
323e5cb7
JM
2816 * math/gen-libm-test.pl (adjust_arg): Remove function.
2817 (special_function): Remove argument $in_func. Only handle
2818 generating output for tables of tests, not inside functions.
2819 (parse_args): Likewise.
2820 (generate_testfile): Remove variable $in_func. Update call to
2821 parse_args.
2822 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2823 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2824 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2825 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2826 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2827 (MAX_VALUE_INIT): Rename macro to max_value.
2828 (MIN_VALUE_INIT): Rename macro to min_value.
2829 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2830 (plus_zero): Remove variable.
2831 (minus_zero): Likewise.
2832 (plus_infty): Likewise.
2833 (minus_infty): Likewise.
2834 (qnan_value): Likewise.
2835 (max_value): Likewise.
2836 (min_value): Likewise.
2837 (min_subnorm_value): Likewise.
2838
e054f494
RA
28392013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2840
2841 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2842 uint64_t or uint32_t usage.
2843 * crypt/sha256-block.c: Likewise.
2844 * crypt/sha256-crypt.c: Likewise.
2845 * crypt/sha256.c: Likewise.
2846 * crypt/sha512-block.c: Likewise.
2847 * crypt/sha512-crypt.c: Likewise.
2848 * crypt/sha512.c: Likewise.
2849 * debug/backtrace-tst.c: Likewise.
2850 * debug/pcprofiledump.c: Likewise.
2851 * elf/cache.c: Likewise.
2852 * elf/dl-cache.c: Likewise.
2853 * elf/dl-misc.c: Likewise.
2854 * elf/dl-profile.c: Likewise.
2855 * elf/dl-support.c: Likewise.
2856 * elf/ldconfig.c: Likewise.
2857 * elf/sprof.c: Likewise.
2858 * iconv/dummy-repertoire.c: Likewise.
2859 * iconv/iconv_charmap.c: Likewise.
2860 * iconv/skeleton.c: Likewise.
2861 * iconvdata/8bit-generic.c: Likewise.
2862 * iconvdata/cp737.h: Likewise.
2863 * iconvdata/cp775.h: Likewise.
2864 * iconvdata/ibm1008.h: Likewise.
2865 * iconvdata/ibm1025.h: Likewise.
2866 * iconvdata/ibm1046.h: Likewise.
2867 * iconvdata/ibm1097.h: Likewise.
2868 * iconvdata/ibm1112.h: Likewise.
2869 * iconvdata/ibm1122.h: Likewise.
2870 * iconvdata/ibm1123.h: Likewise.
2871 * iconvdata/ibm1124.h: Likewise.
2872 * iconvdata/ibm1129.h: Likewise.
2873 * iconvdata/ibm1130.h: Likewise.
2874 * iconvdata/ibm1132.h: Likewise.
2875 * iconvdata/ibm1133.h: Likewise.
2876 * iconvdata/ibm1137.h: Likewise.
2877 * iconvdata/ibm1140.h: Likewise.
2878 * iconvdata/ibm1141.h: Likewise.
2879 * iconvdata/ibm1142.h: Likewise.
2880 * iconvdata/ibm1143.h: Likewise.
2881 * iconvdata/ibm1144.h: Likewise.
2882 * iconvdata/ibm1145.h: Likewise.
2883 * iconvdata/ibm1146.h: Likewise.
2884 * iconvdata/ibm1147.h: Likewise.
2885 * iconvdata/ibm1148.h: Likewise.
2886 * iconvdata/ibm1149.h: Likewise.
2887 * iconvdata/ibm1153.h: Likewise.
2888 * iconvdata/ibm1154.h: Likewise.
2889 * iconvdata/ibm1155.h: Likewise.
2890 * iconvdata/ibm1156.h: Likewise.
2891 * iconvdata/ibm1157.h: Likewise.
2892 * iconvdata/ibm1158.h: Likewise.
2893 * iconvdata/ibm1160.h: Likewise.
2894 * iconvdata/ibm1161.h: Likewise.
2895 * iconvdata/ibm1162.h: Likewise.
2896 * iconvdata/ibm1163.h: Likewise.
2897 * iconvdata/ibm1164.h: Likewise.
2898 * iconvdata/ibm1166.h: Likewise.
2899 * iconvdata/ibm1167.h: Likewise.
2900 * iconvdata/ibm12712.h: Likewise.
2901 * iconvdata/ibm1390.h: Likewise.
2902 * iconvdata/ibm1399.h: Likewise.
2903 * iconvdata/ibm16804.h: Likewise.
2904 * iconvdata/ibm4517.h: Likewise.
2905 * iconvdata/ibm4899.h: Likewise.
2906 * iconvdata/ibm4909.h: Likewise.
2907 * iconvdata/ibm4971.h: Likewise.
2908 * iconvdata/ibm5347.h: Likewise.
2909 * iconvdata/ibm803.h: Likewise.
2910 * iconvdata/ibm856.h: Likewise.
2911 * iconvdata/ibm901.h: Likewise.
2912 * iconvdata/ibm902.h: Likewise.
2913 * iconvdata/ibm9030.h: Likewise.
2914 * iconvdata/ibm9066.h: Likewise.
2915 * iconvdata/ibm921.h: Likewise.
2916 * iconvdata/ibm922.h: Likewise.
2917 * iconvdata/ibm9448.h: Likewise.
2918 * iconvdata/isiri-3342.h: Likewise.
2919 * iconvdata/jis0201.h: Likewise.
2920 * include/link.h: Likewise.
2921 * include/netdb.h: Likewise.
2922 * inet/check_native.c: Likewise.
2923 * inet/check_pf.c: Likewise.
2924 * inet/getipv4sourcefilter.c: Likewise.
2925 * inet/getnameinfo.c: Likewise.
2926 * inet/getsourcefilter.c: Likewise.
2927 * inet/htonl.c: Likewise.
2928 * inet/setipv4sourcefilter.c: Likewise.
2929 * inet/setsourcefilter.c: Likewise.
2930 * inet/test-inet6_opt.c: Likewise.
2931 * inet/tst-network.c: Likewise.
2932 * locale/C-collate.c: Likewise.
2933 * locale/C-ctype.c: Likewise.
2934 * locale/C-time.c: Likewise.
2935 * locale/C-translit.h: Likewise.
2936 * locale/loadarchive.c: Likewise.
2937 * locale/programs/3level.h: Likewise.
2938 * locale/programs/charmap.c: Likewise.
2939 * locale/programs/charmap.h: Likewise.
2940 * locale/programs/ld-address.c: Likewise.
2941 * locale/programs/ld-collate.c: Likewise.
2942 * locale/programs/ld-ctype.c: Likewise.
2943 * locale/programs/ld-identification.c: Likewise.
2944 * locale/programs/ld-measurement.c: Likewise.
2945 * locale/programs/ld-messages.c: Likewise.
2946 * locale/programs/ld-monetary.c: Likewise.
2947 * locale/programs/ld-name.c: Likewise.
2948 * locale/programs/ld-numeric.c: Likewise.
2949 * locale/programs/ld-paper.c: Likewise.
2950 * locale/programs/ld-telephone.c: Likewise.
2951 * locale/programs/ld-time.c: Likewise.
2952 * locale/programs/linereader.c: Likewise.
2953 * locale/programs/locale.c: Likewise.
2954 * locale/programs/locarchive.c: Likewise.
2955 * locale/programs/locfile.h: Likewise.
2956 * locale/programs/repertoire.c: Likewise.
2957 * locale/programs/simple-hash.c: Likewise.
2958 * locale/programs/simple-hash.h: Likewise.
2959 * malloc/memusage.c: Likewise.
2960 * malloc/memusagestat.c: Likewise.
2961 * nis/nis_defaults.c: Likewise.
2962 * nis/nis_hash.c: Likewise.
2963 * nis/nis_print.c: Likewise.
2964 * nis/nis_xdr.c: Likewise.
2965 * nscd/connections.c: Likewise.
2966 * nscd/hstcache.c: Likewise.
2967 * nscd/nscd_gethst_r.c: Likewise.
2968 * nscd/nscd_getserv_r.c: Likewise.
2969 * nscd/nscd_helper.c: Likewise.
2970 * nscd/servicescache.c: Likewise.
2971 * nss/makedb.c: Likewise.
2972 * nss/nss_db/db-XXX.c: Likewise.
2973 * nss/nss_db/db-initgroups.c: Likewise.
2974 * nss/nss_db/db-netgrp.c: Likewise.
2975 * nss/nss_files/files-network.c: Likewise.
2976 * nss/nss_files/files-parse.c: Likewise.
2977 * posix/bug-regex5.c: Likewise.
2978 * posix/fnmatch_loop.c: Likewise.
2979 * posix/regcomp.c: Likewise.
2980 * posix/regexec.c: Likewise.
2981 * posix/tst-rfc3484-2.c: Likewise.
2982 * posix/tst-rfc3484-3.c: Likewise.
2983 * posix/tst-rfc3484.c: Likewise.
2984 * resolv/nss_dns/dns-canon.c: Likewise.
2985 * resolv/nss_dns/dns-network.c: Likewise.
2986 * resolv/res_init.c: Likewise.
2987 * resolv/res_mkquery.c: Likewise.
2988 * resolv/tst-aton.c: Likewise.
2989 * stdlib/cxa_atexit.c: Likewise.
2990 * stdlib/cxa_finalize.c: Likewise.
2991 * stdlib/gen-fpioconst.c: Likewise.
2992 * stdlib/strtol_l.c: Likewise.
2993 * string/tst-endian.c: Likewise.
2994 * sunrpc/auth_des.c: Likewise.
2995 * sunrpc/clnt_udp.c: Likewise.
2996 * sunrpc/rtime.c: Likewise.
2997 * sunrpc/svcauth_des.c: Likewise.
2998 * sunrpc/xdr.c: Likewise.
2999 * sunrpc/xdr_intXX_t.c: Likewise.
3000 * sunrpc/xdr_rec.c: Likewise.
3001 * sysdeps/generic/ldconfig.h: Likewise.
3002 * sysdeps/generic/ldsodefs.h: Likewise.
3003 * sysdeps/generic/memusage.h: Likewise.
3004 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3007 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3013 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3014 * sysdeps/posix/getaddrinfo.c: Likewise.
3015 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3016 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3017 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3018 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3019 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3020 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3021 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3022 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3023 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3024 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3025 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3026 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3027 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3028 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3029 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3030 * sysdeps/x86_64/dl-tls.h: Likewise.
3031 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3032 * time/alt_digit.c: Likewise.
3033 * time/era.c: Likewise.
3034 * wcsmbs/tst-c16c32-1.c: Likewise.
3035
8c75f674
JM
30362013-05-16 Joseph Myers <joseph@codesourcery.com>
3037
3038 * math/libm-test.inc (struct test_sincos_data): New type.
3039 (RUN_TEST_LOOP_sincos): New macro.
3040 (sincos_test_data): New variable.
3041 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3042
e6e49e59
RH
30432013-05-16 Richard Henderson <rth@redhat.com>
3044
3045 * math/atest-exp2.c (LIMB64): New macro.
3046 (CONSTSZ): New macro.
3047 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3048 (hexdig): Move ...
3049 (print_mpn_fp): ... to function scope.
3050 (read_mpn_hex): Remove.
3051 (get_log2): Remove.
3052 (exp2_mpn): Use mp_log2.
3053 (main): Use mp_exp1.
3054
15c7c18d
JM
30552013-05-16 Joseph Myers <joseph@codesourcery.com>
3056
105a07df
JM
3057 * math/libm-test.inc: Remove comment about not testing "inexact"
3058 exceptions.
3059 (INEXACT_EXCEPTION): New macro.
3060 (NO_INEXACT_EXCEPTION): Likewise.
3061 (INVALID_EXCEPTION_OK): Update value.
3062 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3063 (OVERFLOW_EXCEPTION_OK): Likewise.
3064 (UNDERFLOW_EXCEPTION_OK): Likewise.
3065 (IGNORE_ZERO_INF_SIGN): Likewise.
3066 (ERRNO_UNCHANGED): Likewise.
3067 (ERRNO_EDOM): Likewise.
3068 (ERRNO_ERANGE): Likewise.
3069 (test_exceptions): Handle testing "inexact" exceptions.
3070 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3071 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3072 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3073 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3074 INEXACT_EXCEPTION.
3075 (rint_towardzero_test_data): Likewise.
3076 (rint_downward_test_data): Likewise.
3077 (rint_upward_test_data): Likewise.
3078
e9eee333
JM
3079 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3080 with OVERFLOW_EXCEPTION.
3081 (exp10_test_data): Likewise.
3082 (exp2_test_data): Likewise.
3083 (expm1_test_data): Likewise.
3084 (lgamma_test_data): Likewise.
3085 (pow_test_data): Likewise.
3086 (tgamma_test_data): Likewise.
3087 (yn_test_data): Remove duplicate test of overflow.
3088
1c38ff73
JM
3089 * math/libm-test.inc (struct test_cc_c_data): New type.
3090 (RUN_TEST_LOOP_cc_c): New macro.
3091 (cpow_test_data): New variable.
3092 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3093
15c7c18d
JM
3094 * math/libm-test.inc (struct test_f_L_data): New type.
3095 (RUN_TEST_LOOP_f_L): New macro.
3096 (llrint_test_data): New variable.
3097 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3098 (llrint_tonearest_test_data): New variable.
3099 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3100 (llrint_towardzero_test_data): New variable.
3101 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3102 (llrint_downward_test_data): New variable.
3103 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3104 (llrint_upward_test_data): New variable.
3105 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3106 (llround_test_data): New variable.
3107 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3108
f137ff13
PC
31092013-05-13 Peter Collingbourne <pcc@google.com>
3110
3111 * math/atest-exp2.c (get_log2): Remove const attribute.
3112
3608cb24
JM
31132013-05-15 Joseph Myers <joseph@codesourcery.com>
3114
3115 * math/libm-test.inc (struct test_f_l_data): New type.
3116 (RUN_TEST_LOOP_f_l): New macro.
3117 (lrint_test_data): New variable.
3118 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3119 (lrint_tonearest_test_data): New variable.
3120 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3121 (lrint_towardzero_test_data): New variable.
3122 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3123 (lrint_downward_test_data): New variable.
3124 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3125 (lrint_upward_test_data): New variable.
3126 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3127 (lround_test_data): New variable.
3128 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3129
39b1f617
PC
31302013-05-15 Peter Collingbourne <pcc@google.com>
3131
1deff3dc
PC
3132 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3133 (EXTRACT_WORDS64) Use where appropriate.
3134 (INSERT_WORDS64) Likewise.
3135
791f3ba0
PC
3136 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3137 constraints with x constraints.
3138 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3139
39b1f617
PC
3140 * malloc/obstack.c (_obstack_compat): Add initializer.
3141
12fba011
EM
31422013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3143
3144 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3145 si_trapno and add si_addr_lsb to _sifields.sigfault.
3146 (si_trapno): Remove macro.
3147 (si_addr_lsb): Define new macro.
3148 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3149
d369f531
JM
31502013-05-15 Joseph Myers <joseph@codesourcery.com>
3151
b861c6c4
JM
3152 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3153 instead of TEST_f_l.
3154 (llrint_test_tonearest): Likewise.
3155 (llrint_test_towardzero): Likewise.
3156 (llrint_test_downward): Likewise.
3157 (llrint_test_upward): Likewise.
3158 (llround_test): Likewise.
3159
7abeee12
JM
3160 * math/libm-test.inc (struct test_f_i_data): Add comment.
3161 (RUN_TEST_LOOP_f_b): New macro.
3162 (RUN_TEST_LOOP_f_b_tg): Likewise.
3163 (finite_test_data): New variable.
3164 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3165 (isfinite_test_data): New variable.
3166 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3167 (isinf_test_data): New variable.
3168 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3169 (isnan_test_data): New variable.
3170 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3171 (isnormal_test_data): New variable.
3172 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3173 (issignaling_test_data): New variable.
3174 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3175 (signbit_test_data): New variable.
3176 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3177
cbe8c4d3
JM
3178 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3179 with INVALID_EXCEPTION.
3180 (acosh_test_data): Likewise.
3181 (asin_test_data): Likewise.
3182 (atanh_test_data): Likewise.
3183 (fmod_test_data): Likewise.
3184 (log_test_data): Likewise.
3185 (log10_test_data): Likewise.
3186 (log2_test_data): Likewise.
3187 (pow_test_data): Likewise.
3188 (sqrt_test_data): Likewise.
3189 (y0_test_data): Likewise.
3190 (y1_test_data): Likewise.
3191 (yn_test_data): Likewise.
3192
5575c0e5
JM
3193 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3194 function contents.
3195
d369f531
JM
3196 * math/libm-test.inc (struct test_ff_i_data): New type.
3197 (RUN_TEST_LOOP_ff_i_tg): New macro.
3198 (isgreater_test_data): New variable.
3199 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3200 (isgreaterequal_test_data): New variable.
3201 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3202 (isless_test_data): New variable.
3203 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3204 (islessequal_test_data): New variable.
3205 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3206 (islessgreater_test_data): New variable.
3207 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3208 (isunordered_test_data): New variable.
3209 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3210
781fd748
DM
32112013-05-14 David S. Miller <davem@davemloft.net>
3212
3213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3214
87aa21df
JM
32152013-05-14 Joseph Myers <joseph@codesourcery.com>
3216
5e908270
JM
3217 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3218
f71172e5
JM
3219 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3220 extra_test to int.
3221 (struct test_f_i_data): Change type of max_ulp to int.
3222
8cfa635a
JM
3223 * math/libm-test.inc (test_ffI_f1_data): New type.
3224 (RUN_TEST_LOOP_ffI_f1): New macro.
3225 (remquo_test_data): New variable.
3226 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3227
2bcb36b2
JM
3228 * setjmp/tst-setjmp-fp.c: New file.
3229 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3230 (link-libm): New variable.
3231 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3232
acbd839a
JM
3233 * math/libm-test.inc (struct test_f_i_data): New type.
3234 (RUN_TEST_LOOP_f_i): New macro.
3235 (RUN_TEST_LOOP_f_i_tg): Likewise.
3236 (fpclassify_test_data): New variable.
3237 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3238 (ilogb_test_data): New variable.
3239 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3240
e414d745
JM
3241 * math/libm-test.inc (scalbln_test): Correct function name in END
3242 call.
3243
d9c2a0fd
JM
3244 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3245 (RUN_TEST_LOOP_fI_f1): New macro.
3246 (frexp_test_data): New variable.
3247 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3248
9dc9095d
JM
3249 * math/libm-test.inc (struct test_fF_f1_data): New type.
3250 (RUN_TEST_LOOP_fF_f1): New macro.
3251 (modf_test_data): New variable.
3252 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3253
87aa21df
JM
3254 * math/libm-test.inc (struct test_f_f1_data): New type.
3255 (RUN_TEST_LOOP_f_f1): New macro.
3256 (gamma_test_data): New variable.
3257 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3258 (lgamma_test_data): New variable.
3259 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3260
141af660
CD
32612013-05-13 Carlos O'Donell <carlos@redhat.com>
3262
3263 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3264 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3265 (main): Comment "tls" pseudo-hwcap.
3266
6d33265c
JM
32672013-05-13 Joseph Myers <joseph@codesourcery.com>
3268
68fc074c
JM
3269 * math/libm-test.inc (struct test_fl_f_data): New type.
3270 (RUN_TEST_LOOP_fl_f): New variable.
3271 (scalbln_test_data): New variable.
3272 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3273
243216e1
JM
3274 * math/libm-test.inc (struct test_fi_f_data): New type.
3275 (RUN_TEST_LOOP_fi_f): New macro.
3276 (ldexp_test_data): New variable.
3277 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3278 (scalbn_test_data): New variable.
3279 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3280
6a1992e2
JM
3281 * math/libm-test.inc (struct test_c_f_data): New type.
3282 (RUN_TEST_LOOP_c_f): New macro.
3283 (cabs_test_data): New variable.
3284 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3285 (carg_test_data): New variable.
3286 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3287 (cimag_test_data): New variable.
3288 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3289 (creal_test_data): New variable.
3290 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3291
0e400df5
JM
3292 * math/libm-test.inc (struct test_if_f_data): New type.
3293 (RUN_TEST_LOOP_if_f): New macro.
3294 (jn_test_data): New variable.
3295 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3296 (yn_test_data): New variable.
3297 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3298
6d33265c
JM
3299 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3300
f98ece5f
AZ
33012013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3302
3303 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3304 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3305
0f7d347b
SP
33062013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3307
43fe811b
SP
3308 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3309 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3310 (bench-deps): Add bench-timing.h.
3311 * benchtests-bench-skeleton.c: Include bench-timing.h.
3312 (main): Use TIMING_* macros instead of clock_gettime.
3313 * benchtests/bench-timing.h: New file.
3314
0f7d347b
SP
3315 [BZ #14582]
3316 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3317 Renamed from _LIB_VERSION.
3318 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3319
601a3a5f
JM
33202013-05-12 Joseph Myers <joseph@codesourcery.com>
3321
4f184d30
JM
3322 * math/libm-test.inc (struct test_fff_f_data): New type.
3323 (RUN_TEST_LOOP_fff_f): New macro.
3324 (fma_test_data): New variable.
3325 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3326 (fma_towardzero_test_data): New variable.
3327 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3328 (fma_downward_test_data): New variable.
3329 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3330 (fma_upward_test_data): New variable.
3331 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3332
08198877
JM
3333 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3334 (struct test_c_c_data): New type.
3335 (RUN_TEST_LOOP_c_c): New macro.
3336 (cacos_test_data): New variable.
3337 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3338 (cacosh_test_data): New variable.
3339 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3340 (casin_test_data): New variable.
3341 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3342 (casinh_test_data): New variable.
3343 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3344 (catan_test_data): New variable.
3345 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3346 (catanh_test_data): New variable.
3347 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3348 (ccos_test_data): New variable.
3349 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3350 (ccosh_test_data): New variable.
3351 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3352 (cexp_test_data): New variable.
3353 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3354 (clog_test_data): New variable.
3355 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3356 (clog10_test_data): New variable.
3357 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3358 (conj_test_data): New variable.
3359 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3360 (cproj_test_data): New variable.
3361 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3362 (csin_test_data): New variable.
3363 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3364 (csinh_test_data): New variable.
3365 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3366 (csqrt_test_data): New variable.
3367 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3368 (ctan_test_data): New variable.
3369 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3370 (ctan_tonearest_test_data): New variable.
3371 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3372 (ctan_towardzero_test_data): New variable.
3373 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3374 (ctan_downward_test_data): New variable.
3375 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3376 (ctan_upward_test_data): New variable.
3377 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3378 (ctanh_test_data): New variable.
3379 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3380 (ctanh_tonearest_test_data): New variable.
3381 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3382 (ctanh_towardzero_test_data): New variable.
3383 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3384 (ctanh_downward_test_data): New variable.
3385 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3386 (ctanh_upward_test_data): New variable.
3387 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3388 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3389 of BUILD_COMPLEX.
3390
601a3a5f
JM
3391 * math/libm-test.inc (struct test_ff_f_data): New type.
3392 (struct test_ff_f_data_nexttoward): Likewise.
3393 (RUN_TEST_LOOP_2_f): New macro.
3394 (RUN_TEST_LOOP_ff_f): Likewise.
3395 (atan2_test_data): New variable.
3396 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3397 (copysign_test_data): New variable.
3398 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3399 (fdim_test_data): New variable.
3400 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3401 (fmax_test_data): New variable.
3402 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3403 (fmin_test_data): New variable.
3404 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3405 (fmod_test_data): New variable.
3406 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3407 (hypot_test_data): New variable.
3408 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3409 (nextafter_test_data): New variable.
3410 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3411 (nexttoward_test_data): New variable.
3412 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3413 (pow_test_data): New variable.
3414 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3415 (pow_tonearest_test_data): New variable.
3416 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3417 (pow_towardzero_test_data): New variable.
3418 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3419 (pow_downward_test_data): New variable.
3420 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3421 (pow_upward_test_data): New variable.
3422 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3423 (remainder_test_data): New variable.
3424 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3425 (scalb_test_data): New variable.
3426 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3427 * sysdeps/i386/fpu/libm-test-ulps: Update.
3428
74c57478
JM
34292013-05-11 Joseph Myers <joseph@codesourcery.com>
3430
8329e4da
JM
3431 * math/libm-test.inc (fma_test): Use max_value instead of local
3432 variable fltmax.
3433 (nextafter_test): Likewise.
3434
74c57478
JM
3435 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3436 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3437 (acos_downward_test_data): New variable.
3438 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3439 (acos_upward_test_data): New variable.
3440 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3441 (acosh_test_data): New variable.
3442 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3443 (asin_test_data): New variable.
3444 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3445 (asin_tonearest_test_data): New variable.
3446 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3447 (asin_towardzero_test_data): New variable.
3448 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3449 (asin_downward_test_data): New variable.
3450 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3451 (asin_upward_test_data): New variable.
3452 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3453 (asinh_test_data): New variable.
3454 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3455 (atan_test_data): New variable.
3456 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3457 (atanh_test_data): New variable.
3458 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3459 (cbrt_test_data): New variable.
3460 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3461 (ceil_test_data): New variable.
3462 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3463 (cos_test_data): New variable.
3464 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3465 (cos_tonearest_test_data): New variable.
3466 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3467 (cos_towardzero_test_data): New variable.
3468 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3469 (cos_downward_test_data): New variable.
3470 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3471 (cos_upward_test_data): New variable.
3472 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3473 (cosh_test_data): New variable.
3474 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3475 (cosh_tonearest_test_data): New variable.
3476 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3477 (cosh_towardzero_test_data): New variable.
3478 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3479 (cosh_downward_test_data): New variable.
3480 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3481 (cosh_upward_test_data): New variable.
3482 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3483 (erf_test_data): New variable.
3484 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3485 (erfc_test_data): New variable.
3486 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3487 (exp_test_data): New variable.
3488 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3489 (exp_tonearest_test_data): New variable.
3490 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3491 (exp_towardzero_test_data): New variable.
3492 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3493 (exp_downward_test_data): New variable.
3494 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3495 (exp_upward_test_data): New variable.
3496 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3497 (exp10_test_data): New variable.
3498 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3499 (exp2_test_data): New variable.
3500 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3501 (expm1_test_data): New variable.
3502 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3503 (fabs_test_data): New variable.
3504 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3505 (floor_test_data): New variable.
3506 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3507 (j0_test_data): New variable.
3508 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3509 (j1_test_data): New variable.
3510 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3511 (log_test_data): New variable.
3512 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3513 (log10_test_data): New variable.
3514 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3515 (log1p_test_data): New variable.
3516 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3517 (log2_test_data): New variable.
3518 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3519 (logb_test_data): New variable.
3520 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3521 (logb_downward_test_data): New variable.
3522 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3523 (nearbyint_test_data): New variable.
3524 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3525 (rint_test_data): New variable.
3526 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3527 (rint_tonearest_test_data): New variable.
3528 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3529 (rint_towardzero_test_data): New variable.
3530 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3531 (rint_downward_test_data): New variable.
3532 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3533 (rint_upward_test_data): New variable.
3534 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3535 (round_test_data): New variable.
3536 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3537 (sin_test_data): New variable.
3538 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3539 (sin_tonearest_test_data): New variable.
3540 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3541 (sin_towardzero_test_data): New variable.
3542 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3543 (sin_downward_test_data): New variable.
3544 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3545 (sin_upward_test_data): New variable.
3546 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3547 (sinh_test_data): New variable.
3548 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3549 (sinh_tonearest_test_data): New variable.
3550 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3551 (sinh_towardzero_test_data): New variable.
3552 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3553 (sinh_downward_test_data): New variable.
3554 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3555 (sinh_upward_test_data): New variable.
3556 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3557 (sqrt_test_data): New variable.
3558 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3559 (tan_test_data): New variable.
3560 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3561 (tan_tonearest_test_data): New variable.
3562 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3563 (tan_towardzero_test_data): New variable.
3564 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3565 (tan_downward_test_data): New variable.
3566 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3567 (tan_upward_test_data): New variable.
3568 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3569 (tanh_test_data): New variable.
3570 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3571 (tgamma_test_data): New variable.
3572 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3573 (trunc_test_data): New variable.
3574 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3575 (y0_test_data): New variable.
3576 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3577 (y1_test_data): New variable.
3578 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3579 (significand_test_data): New variable.
3580 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3581
7187d844
CG
35822013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3583
3584 [BZ #12387]
3585 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3586
f63fae73
PT
35872013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3588
3589 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3590
8a67a4b3
AJ
35912013-05-10 Andreas Jaeger <aj@suse.de>
3592
3593 [BZ #15448]
3594 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3595 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3596
51df539d
JM
35972013-05-10 Joseph Myers <joseph@codesourcery.com>
3598
3599 * math/gen-libm-test.pl (adjust_arg): New function.
3600 (special_functions): Handle generating output in both functions
3601 and arrays.
3602 (parse_args): Likewise.
3603 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3604 $in_func argument to parse_args.
3605 * math/libm-test.inc (struct test_f_f_data): New type.
3606 (IF_ROUND_INIT_): New macro.
3607 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3608 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3609 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3610 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3611 (ROUND_RESTORE_): Likewise.
3612 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3613 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3614 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3615 (ROUND_RESTORE_FE_UPWARD): Likewise.
3616 (RUN_TEST_LOOP_f_f): New macro.
3617 (acos_test_data): New variable.
3618 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3619 (acos_tonearest_test_data): New variable.
3620 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3621
5c637fe5
SP
36222013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3623
3624 * benchtests/bench-skeleton.c (startup): Fix coding style.
3625
ab2b9461
JM
36262013-05-10 Joseph Myers <joseph@codesourcery.com>
3627
3628 [BZ #6809]
3629 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3630 negative infinity argument.
3631 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3632 negative infinity argument.
3633 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3634 negative infinity argument.
3635 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3636 domain errors.
3637
4c0fe6fe
FW
36382013-05-10 Florian Weimer <fweimer@redhat.com>
3639
3640 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3641 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3642 * iconv/iconv_prog.c (main): Likewise.
3643 * locale/programs/charmap-dir.c (charmap_readdir)
3644 (fopen_uncompressed): Likewise.
3645 * locale/programs/locfile.c (siblings_uncached)
3646 (write_locale_data): Use lstat64 instead of lstat.
3647 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3648 stat.
3649
a3375d29
AJ
36502013-05-10 Andreas Jaeger <aj@suse.de>
3651
3652 [BZ #15395]
3653 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3654 localization.
3655 Include <locale.h>.
3656
36129722
CD
36572013-05-09 Carlos O'Donell <carlos@redhat.com>
3658
3659 * elf/dl-close.c (_dl_close_worker): Add comments.
3660
faa7f811
JM
36612013-05-09 Joseph Myers <joseph@codesourcery.com>
3662
ed41ffef
JM
3663 [BZ #15359]
3664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3665 high part of pi/2.
3666 (__ieee754_rem_pio2l): Update comments.
3667
d0213cd0
JM
3668 [BZ #15429]
3669 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3670 high part of pi/2.
3671 (__ieee754_rem_pio2l): Update comments.
3672
0d3e777a
JM
3673 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3674 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3675
24f56066
JM
3676 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3677 M_PI_4l.
3678
faa7f811
JM
3679 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3680 (M_PI_34_LOG10El): Likewise.
3681 (M_PI2_LOG10El): Likewise.
3682 (M_PI4_LOG10El): Likewise.
3683 (M_PI_LOG10El): Likewise.
3684
e9a5e0fd
AZ
36852013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3686
3687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3688
d8cd06db
JM
36892013-05-08 Joseph Myers <joseph@codesourcery.com>
3690
a0d9f9d7
JM
3691 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3692 (MINUS_ZERO_INIT): Likewise.
3693 (PLUS_INFTY_INIT): Likewise.
3694 (MINUS_INFTY_INIT): Likewise.
3695 (QNAN_VALUE_INIT): Likewise.
3696 (MAX_VALUE_INIT): Likewise.
3697 (MIN_VALUE_INIT): Likewise.
3698 (MIN_SUBNORM_VALUE_INIT): Likewise.
3699 (plus_zero): Initialize with PLUS_ZERO_INIT.
3700 (minus_zero): Initialize with MINUS_ZERO_INIT.
3701 (plus_infty): Initialize with PLUS_INFTY_INIT.
3702 (minus_infty): Initialize with MINUS_INFTY_INIT.
3703 (qnan_value): Initialize with QNAN_VALUE_INIT.
3704 (max_value): Initialize with MAX_VALUE_INIT.
3705 (min_value): Initialize with MIN_VALUE_INIT.
3706 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3707
ae08db3b
JM
3708 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3709 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3710 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3711 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3712
f44bf14a
JM
3713 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3714 (RUN_TEST_2_f): Likewise.
3715 (RUN_TEST_ff_f): Likewise.
3716 (RUN_TEST_fi_f): Likewise.
3717 (RUN_TEST_fl_f): Likewise.
3718 (RUN_TEST_fff_f): Likewise.
3719 (RUN_TEST_c_f): Likewise.
3720 (RUN_TEST_f_f1): Likewise.
3721 (RUN_TEST_fF_f1): Likewise.
3722 (RUN_TEST_fI_f1): Likewise.
3723 (RUN_TEST_ffI_f1): Likewise.
3724 (RUN_TEST_c_c): Likewise.
3725 (RUN_TEST_cc_c): Likewise.
3726 (RUN_TEST_f_i): Likewise.
3727 (RUN_TEST_f_i_tg): Likewise.
3728 (RUN_TEST_ff_i_tg): Likewise.
3729 (RUN_TEST_f_b): Likewise.
3730 (RUN_TEST_f_b_tg): Likewise.
3731 (RUN_TEST_f_l): Likewise.
3732 (RUN_TEST_f_L): Likewise.
3733 (RUN_TEST_sincos): Likewise.
3734 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3735 whether to show exceptions. Do not include ");\n" in return
3736 value.
3737 (special_functions): Output call to RUN_TEST_sincos instead of
3738 check_float calls. Update calls to new_test.
3739 (parse_args): Output call to single RUN_TEST_* macro instead of
3740 check_* calls and other assignments. Update calls to new_test.
3741
d8cd06db
JM
3742 [BZ #2546]
3743 [BZ #2560]
3744 [BZ #5159]
3745 [BZ #15426]
3746 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3747 input to result for tgamma overflow.
3748 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3749 (gamma_coeff): New variable.
3750 (NCOEFF): New macro.
3751 (gamma_positive): New function.
3752 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3753 underflow here. Use gamma_positive instead of exp (lgamma) for
3754 other arguments.
3755 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3756 (gamma_coeff): New variable.
3757 (NCOEFF): New macro.
3758 (gammaf_positive): New function.
3759 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3760 underflow here. Use gamma_positive instead of exp (lgamma) for
3761 other arguments.
3762 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3763 (gamma_coeff): New variable.
3764 (NCOEFF): New macro.
3765 (gammal_positive): New function.
3766 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3767 underflow here. Use gamma_positive instead of exp (lgamma) for
3768 other arguments.
3769 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3770 (gamma_coeff): New variable.
3771 (NCOEFF): New macro.
3772 (gammal_positive): New function.
3773 (__ieee754_gammal_r): Handle positive infinity, overflow and
3774 underflow here. Handle NaN the same as positive infinity. Remove
3775 check x < 0xffffffff for negative integers. Use gamma_positive
3776 instead of exp (lgamma) for other arguments.
3777 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3778 (gamma_coeff): New variable.
3779 (NCOEFF): New macro.
3780 (gammal_positive): New function.
3781 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3782 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3786 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3787 * sysdeps/generic/math_private.h (__gamma_productf): New
3788 prototype.
3789 (__gamma_product): Likewise.
3790 (__gamma_productl): Likewise.
3791 * math/Makefile (libm-calls): Add gamma_product.
3792 * math/libm-test.inc (tgamma_test): Add more tests.
3793 * sysdeps/i386/fpu/libm-test-ulps: Update.
3794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3795
bb7cf681
OB
37962013-05-08 Ondřej Bílka <neleai@seznam.cz>
3797
3798 * benchtests/bench-skeleton.c (main): Preheat CPU.
3799
ba853947
AJ
38002013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3801
3802 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3803
8347c74c
RM
38042013-05-07 Roland McGrath <roland@hack.frob.com>
3805
3806 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3807 and _dl_skip_args_internal.
3808
e8dd4791
CD
38092013-05-07 Carlos O'Donell <carlos@redhat.com>
3810
3811 * manual/message.texi (Message Translation): Talk about users.
3812 Message to key mapping impacts design.
3813
c7405830
RM
38142013-05-06 Roland McGrath <roland@hack.frob.com>
3815
a9173057
RM
3816 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3817
976e2f03
RM
3818 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3819
9723ffc5
RM
3820 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3821 * sysdeps/wordsize-64/glob64.c: ... here.
3822
962e6658
RM
3823 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3824 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3825 New macros.
3826
ee586a6d
RM
3827 * debug/getlogin_r_chk.c: Moved to ...
3828 * login/getlogin_r_chk.c: ... here.
3829 * debug/Makefile (routines): Move getlogin_r_chk to ...
3830 * login/Makefile (routines): ... here.
3831 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3832 * login/Versions (libc: GLIBC_2.4): ... here.
3833
355f9165
RM
3834 * io/poll.c (__poll): Renamed from poll.
3835 Add libc_hidden_def.
3836 (poll): Define as weak alias.
3837
bd9ffde6
RM
3838 * debug/ptsname_r_chk.c: Moved to ...
3839 * login/ptsname_r_chk.c: ... here.
3840 * debug/Makefile (routines): Move ptsname_r_chk to ...
3841 * login/Makefile (routines): ... here.
3842 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3843 * login/Versions (libc: GLIBC_2.4): ... here.
3844
8fb16a04
RM
3845 * posix/getlogin.c: Moved to ...
3846 * login/getlogin.c: ... here.
3847 * posix/getlogin_r.c: Moved to ...
3848 * login/getlogin_r.c: ... here.
3849 * posix/getlogin_r.c: Moved to ...
3850 * login/getlogin_r.c: ... here.
3851 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3852 * login/Makefile (routines): ... here.
3853 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3854 * login/Versions (libc: GLIBC_2.0): ... here.
3855
b99b892f
RM
3856 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3857 (setrlimit): Define as weak alias.
3858
c7405830
RM
3859 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3860 Call __ names for open, ftruncate, and close.
3861 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3862 (truncate): Define as weak alias.
3863
5bf96de5
JM
38642013-05-06 Joseph Myers <joseph@codesourcery.com>
3865
9ea3513c
JM
3866 * math/gen-libm-test.pl (parse_args): Initialize x before each
3867 test of frexp, modf and remquo.
3868
5bf96de5
JM
3869 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3870 test signgam value.
3871
16e616a7
AZ
38722013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3873
3874 [BZ #15418]
3875 [BZ #15419]
3876 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3877 internal tests.
3878 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3879
d5e82754
RM
38802013-05-06 Roland McGrath <roland@hack.frob.com>
3881
3882 * elf/dl-writev.h: New file.
3883 * elf/dl-misc.c: Include it.
3884 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3885 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3886
a7548d41
JM
38872013-05-04 Joseph Myers <joseph@codesourcery.com>
3888
b7dab1e4
JM
3889 * math/libm-test.inc (noXFails): Remove variable.
3890 (noXPasses): Likewise.
3891 (BUILD_COMPLEX_INT): Remove macro.
3892 (print_screen): Remove xfail argument.
3893 (print_screen_max_error): Likewise.
3894 (update_stats): Likewise.
3895 (print_max_error): Likewise. Update calls to other affected
3896 functions.
3897 (print_complex_max_error): Likewise.
3898 (test_single_exception): Update calls to print_screen.
3899 (test_single_errno): Likewise.
3900 (check_float_internal): Remove xfail argument. Update calls to
3901 other affected functions.
3902 (check_float): Likewise.
3903 (check_complex): Likewise.
3904 (check_int): Likewise.
3905 (check_long): Likewise.
3906 (check_bool): Likewise.
3907 (check_longlong): Likewise.
3908 (main): Don't print noXFails and noXPasses.
3909 * math/gen-libm-test.pl (top level): Don't mention expected
3910 failure handling in comment.
3911 (new_test): Don't handle expected failures.
3912 (parse_args): Don't mention expected failure handling in comment.
3913 (generate_testfile): Don't handle expected failures.
3914 (parse_ulps): Likewise.
3915 (print_ulps_file): Likewise.
3916 (get_failure): Remove function.
3917 (output_test): Don't handle expected failures.
3918 * make/README.libm-test: Don't mention expected failure handling.
3919
a7548d41
JM
3920 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3921 (minus_zero): Likewise.
3922 (plus_infty): Likewise.
3923 (minus_infty): Likewise.
3924 (qnan_value): Likewise.
3925 (max_value): Likewise.
3926 (min_value): Likewise.
3927 (min_subnorm_value): Likewise.
3928 (initialize): Do not initialize those variables dynamically.
3929
60bfd54c
RM
39302013-05-03 Roland McGrath <roland@hack.frob.com>
3931
cc0e6ed8
RM
3932 * io/open.c (__open_2): Moved to ...
3933 * io/open_2.c: ... this new file.
3934 * io/open64.c (__open64_2): Moved to ...
3935 * io/open64_2.c: ... this new file.
3936 * io/openat.c (__openat_2): Moved to ...
3937 * io/openat_2.c: ... this new file.
3938 * io/openat64.c (__openat64_2): Moved to ...
3939 * io/openat64_2.c: ... this new file.
3940 * io/Makefile (routines): Add them.
3941 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3942 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3943 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3944 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3945 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3946 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3947 (__openat64): Add hidden_ver.
3948 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3949 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3950
60bfd54c
RM
3951 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3952 Separately conditionalize setting of GLRO(dl_sysinfo) so
3953 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3954 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3955
83e7640f
AZ
39562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3957
3958 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3959 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3960 definition.
3961 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3962 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3963 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3964 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3965 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3966
d5dc2af3
JM
39672013-05-03 Joseph Myers <joseph@codesourcery.com>
3968
c31a5b1e
JM
3969 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3970 test signgam value.
3971
d5dc2af3
JM
3972 * math/libm-test.inc (hypot_test): Do not use
3973 IGNORE_ZERO_INF_SIGN.
3974
164fd39d
AJ
39752013-05-03 Andreas Jaeger <aj@suse.de>
3976
3977 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3978 Linux 3.9.
3979 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3980 (PF_MAX): Adjust for VSOCK change.
3981
8237f48c
AZ
39822013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3983
3984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3985
9df02941
CD
39862013-05-02 Carlos O'Donell <carlos@redhat.com>
3987
3988 [BZ #15264]
3989 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3990 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3991 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3992
d422395e
DM
39932013-05-02 David S. Miller <davem@davemloft.net>
3994
3995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3996
a07c5731
OB
39972013-05-01 Ondřej Bílka <neleai@seznam.cz>
3998
3999 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4000
1324e37f
RM
40012013-05-01 Roland McGrath <roland@hack.frob.com>
4002
4003 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4004
0695940b
RS
40052013-05-01 Richard Smith <richard@metafoo.co.uk>
4006
bb5f27ad 4007 [BZ #14952]
0695940b
RS
4008 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4009 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4010 Use __attribute__ ((__gnu_inline__)).
4011 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4012 Don't use __attribute__ ((__gnu_inline__)).
4013
10de07f5
JM
40142013-05-01 Joseph Myers <joseph@codesourcery.com>
4015
4016 [BZ #15423]
4017 * math/s_catan.c (__catan): Handle small real or imaginary part of
4018 input specially to avoid spurious underflow.
4019 * math/s_catanf.c (__catanf): Likewise.
4020 * math/s_catanh.c (__catanh): Likewise.
4021 * math/s_catanhf.c (__catanhf): Likewise.
4022 * math/s_catanhl.c (__catanhl): Likewise.
4023 * math/s_catanl.c (__catanl): Likewise.
4024 * math/libm-test.inc (catan_test): Add more tests.
4025 (catanh_test): Likewise.
4026 * sysdeps/i386/fpu/libm-test-ulps: Update.
4027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4028
cb4d5414
AZ
40292013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4030
4031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4032
caf84319
JM
40332013-04-30 Joseph Myers <joseph@codesourcery.com>
4034
4035 [BZ #15416]
4036 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4037 accurately for denominator in atan2.
4038 * math/s_catanf.c (__catanf): Likewise.
4039 * math/s_catanh.c (__catanh): Likewise.
4040 * math/s_catanhf.c (__catanhf): Likewise.
4041 * math/s_catanhl.c (__catanhl): Likewise.
4042 * math/s_catanl.c (__catanl): Likewise.
4043 * math/libm-test.inc (catan_test): Add more tests.
4044 (catanh_test): Likewise.
4045 * sysdeps/i386/fpu/libm-test-ulps: Update.
4046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4047
d569c6ee
SP
40482013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4049
6dbe713d
SP
4050 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4051
f0ee064b
SP
4052 * benchtests/Makefile (bench): Remove slow benchmarks.
4053 * benchtests/atan-inputs: Add slow benchmark inputs.
4054 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4055 (BENCH_FUNC): Accept variant offset.
4056 (VARIANT): Define.
4057 * benchtests/bench-skeleton.c (main): Run benchmark for each
4058 variant.
4059 * benchtests/cos-inputs: Add slow benchmark inputs.
4060 * benchtests/exp-inputs: Likewise.
4061 * benchtests/pow-inputs: Likewise.
4062 * benchtests/sin-inputs: Likewise.
4063 * benchtests/slowatan-inputs: Remove.
4064 * benchtests/slowatan.c: Remove.
4065 * benchtests/slowcos-inputs: Remove.
4066 * benchtests/slowcos.c: Remove.
4067 * benchtests/slowexp-inputs: Remove.
4068 * benchtests/slowexp.c: Remove.
4069 * benchtests/slowpow-inputs: Remove.
4070 * benchtests/slowpow.c: Remove.
4071 * benchtests/slowsin-inputs: Remove.
4072 * benchtests/slowsin.c: Remove.
4073 * benchtests/slowtan-inputs: Remove.
4074 * benchtests/slowtan.c: Remove.
4075 * benchtests/tan-inputs: Add slow benchmark inputs.
4076 * scripts/bench.pl: Parse comments and directives.
4077
d569c6ee
SP
4078 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4079 in CPPFLAGS.
4080 ($(objpfx)bench-%.c): Remove *-ITER.
4081 * benchtests/bench-modf.c: Remove definition of ITER.
4082 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4083 (main): Loop for DURATION seconds instead of fixed number of
4084 iterations.
4085 * scripts/bench.pl: Don't expect iterations in parameters.
4086
a6a242fe
RM
40872013-04-29 Roland McGrath <roland@hack.frob.com>
4088
4089 * io/fchdir.c (__fchdir): Renamed from fchdir.
4090 (fchdir): Define as weak alias.
4091
f2da7793
JM
40922013-04-29 Joseph Myers <joseph@codesourcery.com>
4093
4094 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4095 (ERRNO_EDOM): Likewise.
4096 (ERRNO_ERANGE): Likewise.
4097 (noErrnoTests): New variable.
4098 (init_max_error): Set errno to 0.
4099 (test_single_errno): New function.
4100 (test_errno): Likewise.
4101 (check_float_internal): Call test_errno. Set errno to 0.
4102 (check_complex): Refer to errno tests in comment.
4103 (check_int): Call test_errno. Set errno to 0.
4104 (check_long): Likewise.
4105 (check_bool): Likewise.
4106 (check_longlong): Likewise.
4107 (cos_test): Use ERRNO_* flags for errno tests instead of
4108 check_int.
4109 (expm1_test): Likewise.
4110 (fmod_test): Likewise.
4111 (ilogb_test): Likewise.
4112 (lgamma_test): Likewise.
4113 (pow_test): Likewise.
4114 (remainder_test): Likewise.
4115 (sin_test): Likewise.
4116 (tan_test): Likewise.
4117 (yn_test): Likewise.
4118 (initialize): Set errno to 0.
4119 (main): Print number of errno tests.
4120 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4121
b1a36ceb
AJ
41222013-04-29 Andreas Jaeger <aj@suse.de>
4123
c3ed8088
AJ
4124 [BZ #15084]
4125 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4126 and RES_USEVC.
4127
f1a24198
AJ
4128 [BZ #15085]
4129 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4130 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4131 unimplemented.
4132
9ce3b2cb
AJ
4133 [BZ #15380]
4134 * stdlib/random.c (__initstate): Return NULL if
4135 __initstate fails.
4136
f1a24198 4137 [BZ #15086]
b1a36ceb
AJ
4138 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4139 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4140 RES_SNGLKUPREOP.
4141
7e7b6f36
AZ
41422013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4143
4144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4145
4d14f449
JM
41462013-04-29 Joseph Myers <joseph@codesourcery.com>
4147
4148 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4149 of individual tests.
4150 (casin_test): Likewise.
4151 (casinh_test): Likewise.
4152
5b4217d7
JM
41532013-04-27 Joseph Myers <joseph@codesourcery.com>
4154
4155 [BZ #15409]
4156 * math/s_catan.c (__catan): Handle arguments with large real or
4157 imaginary part separately without squaring.
4158 * math/s_catanf.c (__catanf): Likewise.
4159 * math/s_catanh.c (__catanh): Likewise.
4160 * math/s_catanhf.c (__catanhf): Likewise.
4161 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4162 and redefine.
4163 (__catanhl): Handle arguments with large real or imaginary part
4164 separately without squaring.
4165 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4166 and redefine.
4167 (__catanl): Handle arguments with large real or imaginary part
4168 separately without squaring.
4169 * math/libm-test.inc (catan_test): Add more tests.
4170 (catanh_test): Likewise.
4171 * sysdeps/i386/fpu/libm-test-ulps: Update.
4172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4173
4220c3ef
AJ
41742013-04-27 Andreas Jaeger <aj@suse.de>
4175
4176 [BZ #15007]
4177 * stdlib/stdlib.h: Update guards for qecvt.
4178 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4179 <stdlib.h>.
4180
4721b2d1
AM
41812013-04-27 Allan McRae <allan@archlinux.org>
4182
4183 * sysdeps/i386/fpu/libm-test-ulps: Update.
4184
f0302940
JM
41852013-04-26 Joseph Myers <joseph@codesourcery.com>
4186
9457fd95
JM
4187 [BZ #15406]
4188 * math/s_catan.c: Include <float.h>.
4189 (__catan): Ensure underflow exception occurs for underflowed
4190 result.
4191 * math/s_catanf.c: Include <float.h>.
4192 (__catanf): Ensure underflow exception occurs for underflowed
4193 result.
4194 * math/s_catanh.c: Include <float.h>.
4195 (__catanh): Ensure underflow exception occurs for underflowed
4196 result.
4197 * math/s_catanhf.c: Include <float.h>.
4198 (__catanhf): Ensure underflow exception occurs for underflowed
4199 result.
4200 * math/s_catanhl.c: Include <float.h>.
4201 (__catanhl): Ensure underflow exception occurs for underflowed
4202 result.
4203 * math/s_catanl.c: Include <float.h>.
4204 (__catanl): Ensure underflow exception occurs for underflowed
4205 result.
4206 * math/libm-test.inc (catan_test): Add more tests.
4207 (catanh_test): Likewise.
4208
f0302940
JM
4209 [BZ #15405]
4210 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4211 underflowed result.
4212 * math/s_ccoshf.c (__ccoshf): Likewise.
4213 * math/s_ccoshl.c (__ccoshl): Likewise.
4214 * math/s_csin.c (__csin): Likewise.
4215 * math/s_csinf.c (__csinf): Likewise.
4216 * math/s_csinh.c (__csinh): Likewise.
4217 * math/s_csinhf.c (__csinhf): Likewise.
4218 * math/s_csinhl.c (__csinhl): Likewise.
4219 * math/s_csinl.c (__csinl): Likewise.
4220 * math/libm-test.inc (ccos_test): Add more tests.
4221 (ccosh_test): Likewise.
4222 (csin_test): Likewise.
4223 (csinh_test): Likewise.
4224
aa630f59
AZ
42252013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4226
4227 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4228 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4229 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4230 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4231 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4232 powerpc/power5+/fpu folders.
4233 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4234
4235
1b835983
MT
42362013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4237
4238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4239
73709b26
JM
42402013-04-25 Joseph Myers <joseph@codesourcery.com>
4241
4242 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4243 additions to variable.
4244 [$(config-machine) = x86_64] (modules-names): Likewise.
4245 ($(objpfx)tst-audit3): Remove dependency.
4246 ($(objpfx)tst-audit3.out): Likewise.
4247 ($(objpfx)tst-audit4): Likewise.
4248 ($(objpfx)tst-audit4.out): Likewise.
4249 ($(objpfx)tst-audit5): Likewise.
4250 ($(objpfx)tst-audit5.out): Likewise.
4251 ($(objpfx)tst-audit6): Likewise.
4252 ($(objpfx)tst-audit6.out): Likewise.
4253 ($(objpfx)tst-audit7): Likewise.
4254 ($(objpfx)tst-audit7.out): Likewise.
4255 (tst-audit3-ENV): Remove variable.
4256 (tst-audit4-ENV): Likewise.
4257 (tst-audit5-ENV): Likewise.
4258 (tst-audit6-ENV): Likewise.
4259 (tst-audit7-ENV): Likewise.
4260 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4261 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4262 addition to variable.
4263 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4264 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4265 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4266 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4267 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4268 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4269 tst-audit3, tst-audit4 and tst-audit5.
4270 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4271 tst-audit6 and tst-audit7.
4272 [$(subdir) = elf] (modules-names): Add audit modules for those
4273 tests.
4274 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4275 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4276 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4277 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4278 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4279 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4280 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4281 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4282 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4283 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4284 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4285 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4286 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4287 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4288 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4289 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4290 Likewise.
4291 [$(subdir) = elf && $(config-cflags-avx) = yes]
4292 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4293 [$(subdir) = elf && $(config-cflags-avx) = yes]
4294 (CFLAGS-tst-auditmod4a.c): Likewise.
4295 [$(subdir) = elf && $(config-cflags-avx) = yes]
4296 (CFLAGS-tst-auditmod4b.c): Likewise.
4297 [$(subdir) = elf && $(config-cflags-avx) = yes]
4298 (CFLAGS-tst-auditmod6b.c): Likewise.
4299 [$(subdir) = elf && $(config-cflags-avx) = yes]
4300 (CFLAGS-tst-auditmod6c.c): Likewise.
4301 [$(subdir) = elf && $(config-cflags-avx) = yes]
4302 (CFLAGS-tst-auditmod7b.c): Likewise.
4303 * elf/tst-audit3.c: Move to ...
4304 * sysdeps/x86_64/tst-audit3.c: ... here.
4305 * elf/tst-audit4.c: Move to ...
4306 * sysdeps/x86_64/tst-audit4.c: ... here.
4307 * elf/tst-audit5.c: Move to ...
4308 * sysdeps/x86_64/tst-audit5.c: ... here.
4309 * elf/tst-audit6.c: Move to ...
4310 * sysdeps/x86_64/tst-audit6.c: ... here.
4311 * elf/tst-audit7.c: Move to ...
4312 * sysdeps/x86_64/tst-audit7.c: ... here.
4313 * elf/tst-auditmod3a.c: Move to ...
4314 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4315 * elf/tst-auditmod3b.c: Move to ...
4316 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4317 * elf/tst-auditmod4a.c: Move to ...
4318 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4319 * elf/tst-auditmod4b.c: Move to ...
4320 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4321 * elf/tst-auditmod5a.c: Move to ...
4322 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4323 * elf/tst-auditmod5b.c: Move to ...
4324 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4325 * elf/tst-auditmod6a.c: Move to ...
4326 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4327 * elf/tst-auditmod6b.c: Move to ...
4328 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4329 * elf/tst-auditmod6c.c: Move to ...
4330 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4331 * elf/tst-auditmod7a.c: Move to ...
4332 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4333 * elf/tst-auditmod7b.c: Move to ...
4334 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4335
1ef74943
PP
43362013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4337
4338 [BZ #15366]
4339 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4340 define unconditionally.
4341 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4342 define unconditionally.
4343 (INT8_C, INT16_C, etc.): Likewise.
4344
93fd48c5
MR
43452013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4346
ae9552cf
MR
4347 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4348 __ehdr_start with hidden visibility.
4349
93fd48c5
MR
4350 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4351
418601aa
CD
43522013-04-24 Carlos O'Donell <carlos@redhat.com>
4353
4354 * math/libm-test.inc (cos_test): Use accurate hex constants.
4355 (sincost_test): Likewise.
4356
2f38fbfe
JM
43572013-04-24 Joseph Myers <joseph@codesourcery.com>
4358
5e221800
JM
4359 * math/libm-test.inc (catan_test): Add more tests.
4360 (catanh_test): Likewise.
4361
77f143fd
JM
4362 * math/s_catanf.c (__catanf): Use suffixed floating-point
4363 constants.
4364 * math/s_catanhf.c (__catanhf): Likewise.
4365 * math/s_catanhl.c (__catanhl): Likewise.
4366 * math/s_catanl.c (__catanl): Likewise.
4367
2f38fbfe
JM
4368 [BZ #15394]
4369 * math/s_catan.c (__catan): Calculate imaginary part of result
4370 with log1p not log unless computing log of number close to 0.
4371 * math/s_catanf.c (__catanf): Likewise.
4372 * math/s_catanl.c (__catanl): Likewise.
4373 * math/s_catanh.c (__catanh): Calculate real part of result with
4374 log1p not log unless computing log of number close to 0.
4375 * math/s_catanhf.c (__catanhf): Likewise.
4376 * math/s_catanhl.c (__catanhl): Likewise.
4377 * math/libm-test.inc (catan_test): Add more tests.
4378 (catanh_test): Likewise.
4379 * sysdeps/i386/fpu/libm-test-ulps: Update.
4380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4381
45d69176
SP
43822013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4383
4384 * benchtests/Makefile: Mention files in which fast and slow
4385 paths of math functions are implemented.
4386
87f51853
RM
43872013-04-23 Roland McGrath <roland@hack.frob.com>
4388
4389 * sysdeps/posix/timespec_get.c: New file.
4390
3c026539
AZ
43912013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4392
4393 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4394 POWER.
4395 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4396 for POWER.
4397 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4398 powerpc/power5/fpu folders.
4399 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4400 * benchtests/Makefile: Add modf testcase.
4401 * benchtests/bench-modf.c: New file: Benchmark test for mo
4402
ff491d14
SP
44032013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4404
4405 [BZ #14888]
4406 * time/Makefile (tests): Add tst-strptime-whitespace.
4407 * time/strptime_l.c (get_number): Use ISSPACE.
4408 (__strptime_internal): Likewise.
4409 * time/tst-strptime-whitespace.c: New test case.
4410
7ed3f4e8
AS
44112013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4412
4413 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4414 member.
4415 (_nss_files_init): Set it here.
4416
5c95f7b6
HC
44172013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4418
4419 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4420 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4421 unsigned.
4422
d34c9158
JBG
44232013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4424
4425 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4426
2169712d
SP
44272013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4428
4429 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4430 size just once.
4431
29c5de99
DM
44322013-04-21 David S. Miller <davem@davemloft.net>
4433
4434 * po/ru.po: Update Russion translation from translation project.
4435
ccdad15d
AC
44362013-04-17 Adam Conrad <adconrad@0c3.net>
4437
4438 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4439 and setfsgid.
4440
0f122b8d
CD
44412013-04-17 Carlos O'Donell <carlos@redhat.com>
4442
5c5b07da 4443 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4444 * configure: Regenerate.
5c5b07da 4445 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4446 Add example to error message.
4447 * sysdeps/i386/configure: Regenerate.
4448
037714dd
SP
44492013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4450
4451 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4452 slowtan.
4453 * benchtests/cos-inputs: New file.
4454 * benchtests/slowcos-inputs: New file.
4455 * benchtests/slowcos.c: New file.
4456 * benchtests/slowtan-inputs: New file.
4457 * benchtests/slowtan.c: New file.
4458 * benchtests/tan-inputs: New file.
4459
e913141d
RM
44602013-04-16 Roland McGrath <roland@hack.frob.com>
4461
4462 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4463 considered kosher.
4464
a2964074
SP
44652013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4466
4856bcd2
SP
4467 * benchtests/Makefile: Include cppflags-iterator.mk to add
4468 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4469
a2964074
SP
4470 * Makefile.in (bench-clean): New target.
4471 * benchtests/Makefile (bench-clean): Likewise.
4472
9fbf9aca
DH
44732013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4474
4475 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4476
207d1e2a
TS
44772013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4478
4479 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4480
306dfba9
AS
44812013-04-15 Andreas Schwab <schwab@suse.de>
4482
4483 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4484 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4485 * nscd/pwdcache.c (cache_addpw): Likewise.
4486 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4487 more than recsize.
4488
206a6699
SP
44892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4490
4491 * benchtests/Makefile (bench): Write all output to
4492 bench-out.tmp together.
4493
0582f6b3
AS
44942013-04-15 Andreas Schwab <schwab@suse.de>
4495
4496 * nscd/nscd.c (main): Don't fork again after closing files.
4497
acb4325f
SP
44982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4499
5cb26d0a
SP
4500 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4501
acb4325f
SP
4502 * benchtests/Rules (bench-deps): Collect dependencies into a
4503 single variable. Add Makefile to dependencies.
4504 ($(objpfx)bench-%.c): Depend on bench-deps.
4505
47792506
RM
45062013-04-12 Roland McGrath <roland@hack.frob.com>
4507 Xavier Roche <roche+kml2@exalead.com>
4508
4509 [BZ #15361]
4510 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4511 just that it's a file descriptor.
4512 * manual/llio.texi (Synchronizing AIO Operations): Update description
4513 for EBADF error from aio_fsync.
4514
8fc1bee5
SP
45152013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4516
4517 * Rules (bench): Move target definition...
4518 * benchtests/Makefile: ... here.
4519
aba5e333
CD
45202013-04-11 Carlos O'Donell <carlos@redhat.com>
4521
4522 * math/libm-test.inc (cos_test): Fix PI/2 test.
4523 (sincos_test): Likewise.
4524 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4525 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4526
273cdee8
AS
45272013-04-11 Andreas Schwab <schwab@suse.de>
4528
6ecec3b6
AS
4529 [BZ #13988]
4530 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4531 accept exponent character only when digits were seen.
4532 * stdio-common/Makefile (tests): Add bug26.
4533 * stdio-common/bug26.c: New file.
4534
273cdee8
AS
4535 [BZ #14293]
4536 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4537 non-freeable.
4538
8da491f5
SP
45392013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4540
01dc6df9
SP
4541 * Makeconfig (rtld-prefix): Define built linker prefix.
4542 * Rules (run-bench): Use it.
4543 * math/Makefile (run-regen-ulps): Likewise.
4544
8da491f5
SP
4545 * Rules (bench): Remove eval.
4546
abe7f530
SP
45472013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4548 Roland McGrath <roland@hack.frob.com>
4549 Ondrej Bilka <neleai@seznam.cz>
4550
4551 [BZ #15346]
4552 * time/getdate.c: Include ctype.h and alloca.h.
4553 (__getdate_r): Trim leading and trailing spaces of input.
4554 * time/tst-getdate.c (tests): Add tests with leading and
4555 trailing spaces.
4556
61c23e62
RM
45572013-04-08 Roland McGrath <roland@hack.frob.com>
4558
4559 [BZ #14280]
4560 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4561 when computing value.
4562
7208a313
CD
45632013-04-06 Carlos O'Donell <carlos@redhat.com>
4564
085b2d41
CD
4565 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4566 Use testrun.sh to run libm tests.
4567
7208a313
CD
4568 [BZ #15309]
4569 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4570
872c0acd
MM
45712013-04-06 Marko Myllynen <myllynen@redhat.com>
4572
4573 [BZ #15264]
4574 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4575
26510bdd
CD
45762013-04-06 Carlos O'Donell <carlos@redhat.com>
4577
4578 * Makefile.in (regen-ulps): New target.
4579 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4580 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4581 [ifneq (no,$(PERL)] (regen-ulps): New target.
4582 [ifeq (no,$(PERL)] (regen-ulps): New target.
4583 * math/libm-test.inc (ulps_file_name): Define.
4584 (output_dir): New variable.
4585 (options): Add "output-dir" option.
4586 (parse_opt): Handle 'o' case.
4587 (main): If output_dir is non-NULL use it as a prefix
4588 otherwise use "".
4589 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4590
a01f19c8
CD
45912013-04-06 Carlos O'Donell <carlos@redhat.com>
4592
4593 [BZ #10060, #10062]
4594 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4595 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4596 fail configure if __sync_val_compare_and_swap is not inlined.
4597 * sysdeps/i386/configure: Regenerate.
4598 * configure.in: Build for i686 when configured for i386.
4599 * configure: Regenerate.
4600 * README: Remove i386 reference.
4601
b7a329a5
CD
46022013-04-06 Carlos O'Donell <carlos@redhat.com>
4603
4604 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4606
bf0f50df
TS
46072013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4608
ee091edf
TS
4609 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4610 (lmsnanval): New variables.
4611 (F): Add conversion tests.
4612 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4613 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4614
a8b792d6
TS
4615 * stdio-common/tstdiomisc.c (F): Properly collect individual
4616 tests' results.
4617
a1cbf437
TS
4618 [BZ #14686, #15336]
4619 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4620 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4621 Instead, use input NaN values or generate a qNaN by arithmetic
4622 operation. Also fix bugs to comply with the standard.
4623 * math/libm-test.inc (remainder_test): Add more tests.
4624
8b43a0c9
TS
4625 [BZ #15335, #15342]
4626 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4628 input NaN values or generate a qNaN by arithmetic operation.
4629
d91da4ce
TS
4630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4631 unreachable code.
4632
bf0f50df
TS
4633 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4634 definitions.
4635
05e166c8
JM
46362013-04-03 Joseph Myers <joseph@codesourcery.com>
4637
4638 [BZ #14478]
4639 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4640 underflowed result.
4641 * math/s_cexpf.c (__cexpf): Likewise.
4642 * math/s_cexpl.c (__cexpl): Likewise.
4643 * math/libm-test.inc (cexp_test): Add more tests.
4644
1cef1b19
AS
46452013-04-03 Andreas Schwab <schwab@suse.de>
4646
4647 [BZ #15330]
4648 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4649 order arrays from heap if bigger than alloca cutoff.
4650
74d87055
TS
46512013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4652
4653 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4654 (SNAN_TESTS_double): Refer to GCC PR56831.
4655 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4656 GCC PR56828.
4657
d755bba4
SP
46582013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4659
90d5d5bb
SP
4660 * Rules (bench): Move bench.out after the run is complete.
4661
73e0cd5d
SP
4662 * Rules (bench): Echo currently running benchmark.
4663
64aabd4b
SP
4664 * benchtests/Makefile (bench): Add atan and slowatan.
4665 * benchtests/atan-inputs: New file.
4666 * benchtests/slowatan-inputs: New file.
4667 * benchtests/slowatan.c: New file.
4668
c871eccd
SP
4669 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4670 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4671 its value.
4672
d755bba4
SP
4673 [BZ #15305]
4674 * sysdeps/unix/sysv/linux/kernel-features.h
4675 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4676 __ASSUME_XFS_RESTRICTED_CHOWN.
4677 * sysdeps/unix/sysv/linux/pathconf.c
4678 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4679 Save and restore errno.
4680
52ce4860
JM
46812013-04-02 Joseph Myers <joseph@codesourcery.com>
4682
4683 [BZ #15327]
4684 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4685 arguments using __kernel_casinh.
4686 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4687 arguments using __kernel_casinhf.
4688 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4689 arguments using __kernel_casinhl.
4690 * math/libm-test.inc (cacosh_test): Add more tests.
4691 * sysdeps/i386/fpu/libm-test-ulps: Update.
4692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4693
81f311c2
SP
46942013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4695
e7906a47
SP
4696 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4698
92e3664b
SP
4699 * bench/Makefile (bench): Add sin and slowsin.
4700 * benchtests/sin-inputs: New file.
4701 * benchtests/slowsin-inputs: New file.
4702 * benchtests/slowsin.c: New file.
4703
81f311c2
SP
4704 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4705 (bench): Add slowexp and slowpow.
4706 (exp-ITER): Increase iterations.
4707 (pow-ITER): Likewise.
4708 * benchtests/exp-inputs: Change input.
4709 * benchtests/pow-inputs: Likewise.
4710 * benchtests/slowexp-inputs: New file.
4711 * benchtests/slowexp.c: New file.
4712 * benchtests/slowpow-inputs: New file.
4713 * benchtests/slowpow.c: New file.
4714
ab0f1aa9
AZ
47152013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4716
4717 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4718 instructions.
4719 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4720 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4721 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4722 * benchtests/Makefile: Add rint benchtest.
4723 * benchtests/rint-inputs: Input for rint benchtest.
4724
57267616
TS
47252013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4726
4727 * Versions.def (libm): Add GLIBC_2.18.
4728 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4729 hidden libm prototypes.
4730 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4731 * math/Makefile (libm-calls): Add s_issignaling.
4732 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4733 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4734 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4735 declaration.
4736 * math/math.h [__USE_GNU] (issignaling): New macro.
4737 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4738 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4739 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4740 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4741 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4743 * manual/arith.texi (issignaling): New section.
4744 * manual/libm-err-tab.pl (@all_functions): Update comment.
4745 * math/gen-libm-test.pl (parse_args): Apply special handling for
4746 issignaling.
4747 * math/libm-test.inc (print_float, issignaling_test): New
4748 functions.
4749 (check_float_internal): Add issignaling checks.
4750 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4751 default definition.
4752 * sysdeps/powerpc/math-tests.h: New file.
4753 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4754 tests.
4755 * math/test-snan.c (TEST_FUNC): Likewise.
4756
6142896d
DM
47572013-03-30 David S. Miller <davem@davemloft.net>
4758
4759 * po/de.po: Update from translation team.
4760
ccc8cadf
JM
47612013-03-30 Joseph Myers <joseph@codesourcery.com>
4762
4763 [BZ #10357]
4764 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4765 imaginary part less than 1.0 and real part less than 0.5
4766 specially.
4767 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4768 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4769 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4770 (cacos_test): Add more tests.
4771 (casin_test): Likewise.
4772 (casinh_test): Likewise.
4773 * sysdeps/i386/fpu/libm-test-ulps: Update.
4774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4775
0f6a8d4b
SP
47762013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4777
0d1029de
SP
4778 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4779 ONE with its value.
4780
c2d94018
SP
4781 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4782 (__pow_mp): Replace ONE and MONE with their values.
4783 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4784 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4785 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4786 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4787 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4788 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4789
27ec37f1
SP
4790 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4791
a64d7e0e
SP
4792 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4793 (__pow_mp): Replace ZERO and MZERO with their values.
4794 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4795 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4796 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4797 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4798 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4799 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4800 (__sqr): Likewise.
4801
d26dd3eb
SP
4802 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4803
0f6a8d4b
SP
4804 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4805
e57b0c61
RM
48062013-03-28 Roland McGrath <roland@hack.frob.com>
4807
4808 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4809 Declare with __attribute__ ((weak)).
4810 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4811 Call __call_tls_dtors only if it's not NULL.
4812
356b3480
RM
48132013-03-28 Roland McGrath <roland@hack.frob.com>
4814
288f7d79
RM
4815 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4816 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4817 magic __ehdr_start linker symbol if it's defined.
4818 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4819 them up here if it was already done.
4820
dc0a0263
RM
4821 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4822 (_dl_aux_init): Use const in cast when setting it.
4823 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4824 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4825 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4826
3d3436ae
RM
4827 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4828 Declare them here.
4829 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4830 * csu/libc-tls.c: Nor here.
4831 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4832
356b3480
RM
4833 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4834 (__libc_message): Never call vsyslog.
4835
b0f1246a
AM
48362013-03-28 Alan Modra <amodra@gmail.com>
4837
4838 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4839 Define as empty.
4840 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4841 Likewise.
4842
fbbe2b9a
AZ
48432013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4844
4845 [BZ #15214]
4846 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4847 underflow.
4848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4849
1728ab37
SP
48502013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4851
7a86be6e
SP
4852 [BZ #15304]
4853 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4854 Don't add gid passed as argument.
4855
1728ab37
SP
4856 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4857
3a7182a1
JM
48582013-03-27 Joseph Myers <joseph@codesourcery.com>
4859
4860 [BZ #15307]
4861 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4862 imaginary part between 1.0 and 1.5 and real part less than 0.5
4863 specially.
4864 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4865 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4866 * math/libm-test.inc (cacos_test): Add more tests.
4867 (casin_test): Likewise.
4868 (casinh_test): Likewise.
4869 * sysdeps/i386/fpu/libm-test-ulps: Update.
4870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4871
6f2e90e7
SP
48722013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4873
5739f705
SP
4874 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4875 constants.
4876 (norm): Likewise.
4877 (denorm): Likewise.
4878 (__dbl_mp): Likewise.
4879 (add_magnitudes): Likewise.
4880 (sub_magnitudes): Likewise.
4881 (__add): Likewise.
4882 (__sub): Likewise.
4883 (__mul): Likewise.
4884 (__sqr): Likewise.
4885 (__inv): Likewise.
4886 (__dvd): Likewise.
4887
e375e83d
SP
4888 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4889 commented code.
4890 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4891 (__dubcos): Likewise.
4892 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4893 (__ieee754_acos): Likewise.
4894 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4895 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4896 (__exp1): Likewise.
4897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4899 (log1): Likewise.
4900 (my_log2): Likewise.
4901 (checkint): Likewise.
4902 * sysdeps/ieee754/dbl-64/e_remainder.c
4903 (__ieee754_remainder): Likewise.
4904 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4906 (bsloww): Likewise.
4907 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4908
6f2e90e7
SP
4909 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4910 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4911 MANTISSA_STORE_T to store computations on mantissa. Use
4912 macros for rounding and division.
4913 (denorm): Likewise.
4914 (__dbl_mp): Likewise.
4915 (add_magnitudes): Likewise.
4916 (sub_magnitudes): Likewise.
4917 (__mul): Likewise.
4918 (__sqr): Likewise.
4919 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4920 powers of two in terms of TWOPOW macro.
4921 (mp_no): Make type of mantissa as MANTISSA_T.
4922 [!RADIXI]: Define RADIXI.
4923 [!TWO52]: Define TWO52.
4924 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4925
fce14d4e
AZ
49262013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4927
4928 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4929 llroundl symbol when building for PPC32.
4930
9ad027fb
MW
49312013-03-24 Mark H Weaver <mhw@netris.org>
4932
4933 * manual/arith.texi (Normalization Functions): Fix prototypes for
4934 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4935
e42a38dd
AZ
49362013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4937
4938 [BZ #13889]
4939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4940 high value to check if expl overflow.
4941 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4942 to check for underflow and overflow.
4943 * math/libm-test.inc: Add exp test.
4944
2e0fb521
DL
49452013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4946
4947 [BZ #11120]
4948 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4949 with NOT_IN_libc.
4950
b5784d95
AZ
49512013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4952
4953 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4954 symbol.
4955
5aa4a1a1
TS
49562013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4957
bdef0be7
TS
4958 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4959 wrap blocks consisting of several statements.
4960
5aa4a1a1
TS
4961 * sysdeps/generic/math-tests.h: New file.
4962 * sysdeps/i386/fpu/math-tests.h: Likewise.
4963 * math/test-snan.c: Include it.
4964 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4965
98c48fe5
JM
49662013-03-21 Joseph Myers <joseph@codesourcery.com>
4967
4968 [BZ #15285]
4969 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4970 (__ieee754_j0l): Do not improve calculations using cos of twice
4971 input for inputs above LDBL_MAX / 2.0L.
4972 (__ieee754_y0l): Likewise.
4973 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4974 (__ieee754_j1l): Do not improve calculations using cos of twice
4975 input for inputs above LDBL_MAX / 2.0L.
4976 (__ieee754_y1l): Likewise.
4977 * math/libm-test.inc (j0_test): Add another test.
4978 (j1_test): Likewise.
4979 (y0_test): Likewise.
4980 (y1_test): Likewise.
4981 * sysdeps/i386/fpu/libm-test-ulps: Update.
4982
3775a8bc
SP
49832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4984
4985 * Rules ($(objpfx)bench-%.c): Include code from a C source
4986 file.
4987
0a1b2ae6
JM
49882013-03-21 Joseph Myers <joseph@codesourcery.com>
4989
4990 [BZ #15287]
4991 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4992 imaginary part 1.0 and real part less than 0.5 specially.
4993 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4994 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4995 * math/libm-test.inc (cacos_test): Add more tests.
4996 (casin_test): Likewise.
4997 (casinh_test): Likewise.
4998 * sysdeps/i386/fpu/libm-test-ulps: Update.
4999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5000
b33d4ce4
SP
50012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5002
5003 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5004 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5005
bef0b507
JM
50062013-03-20 Joseph Myers <joseph@codesourcery.com>
5007
5008 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5009 * config.make.in (config-cflags-sse4): Remove variable.
5010 (config-cflags-avx): Likewise.
5011 (config-cflags-sse2avx): Likewise.
5012 (config-cflags-novzeroupper): Likewise.
5013 (config-asflags-i686): Likewise.
5014 (have-mfma4): Likewise.
5015 (have-as-vis3): Likewise.
5016 (MIG): Likewise.
5017 * configure.in (MIG): Do not AC_SUBST.
5018 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5019 (libc_cv_cc_sse4): Do not AC_SUBST.
5020 (libc_cv_cc_avx): Likewise.
5021 (libc_cv_cc_sse2avx): Likewise.
5022 (libc_cv_cc_novzeroupper): Likewise.
5023 (libc_cv_cc_fma4): Likewise.
5024 (libc_cv_as_i686): Likewise.
5025 (libc_cv_sparc_as_vis3): Likewise.
5026 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5027 LIBC_CONFIG_VAR.
5028 (config-asflags-i686): Likewise.
5029 (config-cflags-avx): Likewise.
5030 (config-cflags-sse2avx): Likewise.
5031 (have-mfma4): Likewise.
5032 (config-cflags-novzeroupper): Likewise.
5033 * sysdeps/mach/configure.in (MIG): Likewise.
5034 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5035 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5036 LIBC_CONFIG_VAR.
5037 (config-cflags-avx): Likewise.
5038 (config-cflags-sse2avx): Likewise.
5039 (have-mfma4): Likewise.
5040 (config-cflags-novzeroupper): Likewise.
5041 * configure: Regenerated.
5042 * sysdeps/i386/configure: Likewise.
5043 * sysdeps/mach/configure: Likewise.
5044 * sysdeps/sparc/configure: Likewise.
5045 * sysdeps/x86_64/configure: Likewise.
5046
912cc4b3
RM
50472013-03-20 Roland McGrath <roland@hack.frob.com>
5048
5049 [BZ #14812]
5050 * locale/programs/localedef.c (options): Put N_ translation marker
5051 on argument names, not just descriptions.
5052
04eed2b0
MS
50532013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5054
5055 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5056
a065ceff
OB
50572013-03-20 Ondřej Bílka <neleai@seznam.cz>
5058
9bb2a810 5059 [BZ #14176]
a065ceff
OB
5060 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5061
a600e5ce
RM
50622013-03-19 Roland McGrath <roland@hack.frob.com>
5063
5064 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5065 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5066 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5067 [!BEFORE_ABORT] (before_abort): New function.
5068 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5069 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5070 (writev_for_fatal): New function.
5071 (WRITEV_FOR_FATAL): New macro; call that.
5072 (backtrace_and_maps): New function.
5073 (BEFORE_ABORT): New macro; call that.
5074 (struct str_list): Type removed.
5075 (__libc_message, __libc_fatal): Functions removed.
5076 Include <sysdeps/posix/libc_fatal.c> instead.
5077
6b18bea6
JM
50782013-03-19 Joseph Myers <joseph@codesourcery.com>
5079
5080 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5081 constants.
5082 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5083 double constants.
5084
aaa8cb4b
AS
50852013-03-19 Andreas Schwab <schwab@suse.de>
5086
44673770
AS
5087 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5088 * sysdeps/gnu/configure: Regenerate.
5089
aaa8cb4b
AS
5090 * configure.in: Substitute libc_cv_rtlddir.
5091 * configure: Regenerate.
5092 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5093 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5094 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5095 * elf/Makefile (install-others, CFLAGS-interp.c)
5096 (ldso_install, common-ldd-rewrite): Likewise.
5097 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5098 $(inst_slibdir)/$(rtld-installed-name).
5099 * scripts/rellns-sh: Add -p option.
5100 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5101 for source.
5102
d3cfc668
SP
51032013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5104
5105 * manual/nptl.texi: Renamed to ...
5106 * manual/threads.texi: ... this.
5107 * manual/Makefile (chapters): Update.
5108
0e2b9cdd
RM
51092013-03-18 Roland McGrath <roland@hack.frob.com>
5110
5111 [BZ #14812]
5112 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5113 on argument names, not just descriptions.
0e2b9cdd
RM
5114 * malloc/memusagestat.c (options): Likewise.
5115 * nss/getent.c (options): Likewise.
63270c24
RM
5116
51172013-03-18 Benno Schulenberg <bensberg@justemail.net>
5118
5119 [BZ #14812]
5120 * iconv/iconv_prog.c (options): Put N_ translation marker
5121 on argument names, not just descriptions.
5122 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5123
b2e1393c
OB
51242013-03-18 Ondrej Bilka <neleai@seznam.cz>
5125
5126 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5127 implementation which is faster on all x86_64 architectures.
5128 Tested on AMD, Intel Nehalem, SNB, IVB.
5129 * sysdeps/x86_64/strnlen.S: Likewise.
5130
5131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5132 Remove all multiarch strlen and strnlen versions.
5133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5134 Remove strlen and strnlen related parts.
5135
5136 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5137 Inline strlen part.
5138 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5139
5140 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5141 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5142 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5143 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5144 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5145 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5146
ec4ff04d
CD
51472013-03-17 Carlos O'Donell <carlos@redhat.com>
5148
5149 * manual/memory.texi (Malloc Tunable Parameters):
5150 Sort parameters alphabetically. Add comments for missing entries.
5151
cd18e90a
DM
51522013-03-17 David S. Miller <davem@davemloft.net>
5153
5154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5155
2a185d32
JM
51562013-03-16 Joseph Myers <joseph@codesourcery.com>
5157
d2f9799e
JM
5158 [BZ #15283]
5159 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5160 for arguments at most half maximum finite value.
5161 * math/libm-test.inc (j0_test): Add more tests.
5162 (j1_test): Likewise.
5163 (y0_test): Likewise.
5164 (y1_test): Likewise.
5165 * sysdeps/i386/fpu/libm-test-ulps: Update.
5166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5167
2a185d32
JM
5168 [BZ #14155]
5169 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5170 1 / x and functions P and Q for arguments above 0x1p256L.
5171 (__ieee754_y0l): Likewise.
5172 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5173 (__ieee754_y1l): Likewise.
5174 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5175 (j1_test): Likewise.
5176 (y0_test): Likewise.
5177 (y1_test): Likewise.
5178
6cbec759
TS
51792013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5180
5181 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5182 variable.
5183
bc16e260
RM
51842013-03-15 Roland McGrath <roland@hack.frob.com>
5185
aefc9b8c
RM
5186 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5187 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5188 zero since it's initialized to EXEC_PAGESIZE.
5189
bc16e260
RM
5190 * sysdeps/unix/sysv/linux/ldsodefs.h
5191 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5192 * sysdeps/generic/ldsodefs.h: ... here.
5193
a57da955
TS
51942013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5195
af00a34d
TS
5196 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5197
495ded2c
TS
5198 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5199 math/test-snan.c.
5200 * math/test-snan.c: Renamed from
5201 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5202 * math/Makefile (tests): Add test-snan.
5203 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5204 test-powerpc-snan.
5205
777b0332
TS
5206 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5207 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5208 functions.
5209 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5210 __builtin_nan family of functions.
5211 * math/libm-test.inc (initialize): Initialize qnan_value with
5212 __builtin_nan family of functions.
5213 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5214 Remove variables.
5215 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5216 Remove functions.
5217 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5218 storage class. Initialize qNaN_var and sNaN_var with
5219 __builtin_nan and __builtin_nans families of functions,
5220 respectively.
5221
64d063b8
TS
5222 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5223 (sqrt_test): Remove duplicate test with qNaN input.
5224 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5225 (round_test, signbit_test, significand_test): Note missing +/-Inf
5226 as well as qNaN tests.
5227
67e971f1
TS
5228 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5229 qNaN_var. Fix a few strings, too.
5230 * math/libm-test.inc (nan_value): Rename to qnan_value.
5231 * math/gen-libm-test.pl (%beautify): Adjust to that.
5232 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5233 * math/test-misc.c (main): Likewise.
5234 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5235 to __qnan_bytes, and __qnan_union, respectively.
5236 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5237 Likewise.
5238 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5239 and lqnanval, respectively.
5240 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5241 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5242 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5243 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5244
64487e12
TS
5245 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5246 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5247 doubles.
5248
e015e27b
TS
5249 * math/test-misc.c (main): Fix copy'n'pastos.
5250 * misc/tst-efgcvt.c (special): Likewise.
5251
a57da955
TS
5252 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5253 Remove declarations.
5254
1e380345
SP
52552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5256
5257 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5258 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5259 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5260 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5261
ef26eece
AZ
52622013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263
5264 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5265 macro to return vdso values correctly in IFUNC implementations.
5266 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5267 Optimization by using IFUNC.
5268
8cfdb7e0
SP
52692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5270 Richard Henderson <rth@redhat.com>
5271 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5272
5273 * Makefile.in (bench): New target.
5274 * NEWS: Mention the benchmark framework.
5275 * Rules (bench): Likewise.
5276 (binaries-bench): Generate binaries for functions to
5277 benchmark.
5278 * benchtests/Makefile: New makefile for benchmark tests.
5279 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5280 programs.
5281 * benchtests/exp-inputs: New input file for EXP function.
5282 * benchtests/pow-inputs: New input file for POW function.
5283 * scripts/bench.pl: New script to generate source files for
5284 benchmark programs.
5285
bcda9880
SP
52862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5287
d22ca8cd
SP
5288 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5289 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5290 computations on mantissa. Use macros for rounding and
5291 division.
5292 (denorm): Likewise.
5293 (__dbl_mp): Likewise.
5294 (add_magnitudes): Likewise.
5295 (sub_magnitudes): Likewise.
5296 (__mul): Likewise.
5297 (__sqr): Likewise.
5298 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5299 powers of two in terms of TWOPOW macro.
5300 (mp_no): Make type of mantissa as MANTISSA_T.
5301 [!RADIXI]: Define RADIXI.
5302 [!TWO52]: Define TWO52.
5303 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5304
bcda9880
SP
5305 * manual/nptl.texi (cindex): Modify threads to pthreads.
5306
06d5adfb
JM
53072013-03-15 Joseph Myers <joseph@codesourcery.com>
5308
5309 * sysdeps/x86_64/preconfigure: Regenerated.
5310
41c7328e
JM
53112013-03-14 Joseph Myers <joseph@codesourcery.com>
5312
5313 [BZ #14155]
5314 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5315 0x1p28 and above.
5316 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5317 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5318 0x1p28 and above.
5319 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5320 * math/libm-test.inc (j0_test): Do not allow one spurious
5321 underflow exception.
5322 (y1_test): Likewise.
5323
e25cfa60
SP
53242013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5325
0409959c
SP
5326 * manual/Makefile (chapters): Add nptl.
5327 * manual/debug.texi (Debugging Support): Add link to Threads
5328 chapter.
5329 * manual/nptl.texi: New file.
5330
e25cfa60
SP
5331 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5332
58a1335e
PB
53332013-03-14 Petr Baudis <pasky@ucw.cz>
5334
5335 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5336 for non-NULL pointer before the memory validity test. Pointed
5337 out by Holger Brunck <holger.brunck@keymile.com>.
5338
9dc7c64f
AS
53392013-03-13 Andreas Schwab <schwab@suse.de>
5340
5341 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5342 instead of .os.
5343
54206aa6
JM
53442013-03-13 Joseph Myers <joseph@codesourcery.com>
5345
5346 * timezone/zic.c: Update from tzcode 2013b.
5347
e98cdb38
CD
53482013-03-12 Carlos O'Donell <carlos@redhat.com>
5349
5350 * manual/install.texi (Configuring and compiling):
5351 Mention i686 and i586.
5352 * INSTALL: Regenerate.
5353
9967e003
RM
53542013-03-12 Roland McGrath <roland@hack.frob.com>
5355
5356 * sysdeps/init_array/elf-init.c: New file.
5357 * csu/elf-init.c
5358 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5359 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5360
5361 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5362 __gmon_start__ as global, but as static with a .preinit_array pointer.
5363 * sysdeps/init_array/gmon-start.c: New file. Use that.
5364 * sysdeps/init_array/crti.S: New file, empty except for comments.
5365 * sysdeps/init_array/crtn.S: Likewise.
5366
e6b5a293 53672013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5368
5369 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5370 definining bcopy.
80f844c9
OB
5371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5372 Remove Prefer_SSE_for_memop.
5373 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5374 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5375 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5377 memset-x86-64.
80f844c9 5378 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5379 Remove bzero, memset ifunc support.
80f844c9
OB
5380 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5381 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5382 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5383 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5384
fb6b0fcb
AS
53852013-03-11 Andreas Schwab <schwab@suse.de>
5386
5387 [BZ #15234]
5388 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5389 by SHLIB_COMPAT.
5390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5391 (GLIBC_2.16): Remove pthread_atfork.
5392
3e6bd4b1
PP
53932013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5394
5395 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5396 (ptestcases.h): Likewise.
5397
222d7f00
RM
53982013-03-08 Roland McGrath <roland@hack.frob.com>
5399
5400 * Makeconfig ($(common-objpfx)config.status): Depend on
5401 sysdeps/*/preconfigure{,.in} too.
5402
1ba4f030
JM
54032013-03-08 Joseph Myers <joseph@codesourcery.com>
5404
a222d91a
JM
5405 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5406 (__free_hook): Use void * instead of __malloc_ptr_t.
5407 (__malloc_hook): Likewise.
5408 (__realloc_hook): Likewise.
5409 (__memalign_hook): Likewise.
5410 (__after_morecore_hook): Likewise.
5411 * malloc/arena.c (save_malloc_hook): Likewise.
5412 (save_free_hook): Likewise.
5413 * malloc/hooks.c (malloc_hook_ini): Likewise.
5414 (realloc_hook_ini): Likewise.
5415 (memalign_hook_ini): Likewise.
5416 * malloc/malloc.c (malloc_hook_ini): Likewise.
5417 (realloc_hook_ini): Likewise.
5418 (memalign_hook_ini): Likewise.
5419 (__free_hook): Likewise.
5420 (__malloc_hook): Likewise.
5421 (__realloc_hook): Likewise.
5422 (__memalign_hook): Likewise.
5423 (__libc_malloc): Likewise.
5424 (__libc_free): Likewise.
5425 (__libc_realloc): Likewise.
5426 (__libc_memalign): Likewise.
5427 (__libc_valloc): Likewise.
5428 (__libc_pvalloc): Likewise.
5429 (__libc_calloc): Likewise.
5430 (__posix_memalign): Likewise.
5431 * malloc/morecore.c (__sbrk): Likewise.
5432 (__default_morecore): Likewise.
5433
5cc45e10
JM
5434 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5435
dd54b864
JM
5436 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5437 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5438 __malloc_ptrdiff_t.
5439
1ba4f030
JM
5440 * malloc/malloc.h (__malloc_size_t): Remove macro.
5441 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5442 __malloc_size_t.
5443 (old_memalign_hook): Likewise.
5444 (old_realloc_hook): Likewise.
5445 (struct hdr): Likewise.
5446 (flood): Likewise.
5447 (mallochook): Likewise.
5448 (memalignhook): Likewise.
5449 (reallochook): Likewise.
5450 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5451 (tr_old_realloc_hook): Likewise.
5452 (tr_old_memalign_hook): Likewise.
5453 (tr_mallochook): Likewise.
5454 (tr_reallochook): Likewise.
5455 (tr_memalignhook): Likewise.
5456
edf66e57
AZ
54572013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5458
5459 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5460 default_ldbl_pack and using as default implementation.
5461 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5462 implementation.
5463 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5464 redundant definition.
5465 (ldbl_insert_mantissa): Likewise.
5466 (ldbl_canonicalize): Likewise.
5467 (ldbl_nearbyint): Likewise.
5468 (ldbl_pack): Rename to ldbl_pack_ppc.
5469 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5470 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5471 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5472
6d9145d8
SP
54732013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5474
5475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5476 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5477 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5478 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5480 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5481 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5482 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5483
4dd4e157
AJ
54842013-03-07 Andreas Jaeger <aj@suse.de>
5485
5486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5487 bits/mman-linux.h.
5488
adbb8027
SP
54892013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5490
ce544b5b
SP
5491 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5492 Include mpa.h and declare __MPEXP.
5493 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5494 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5495 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5496 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5497 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5498 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5499 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5500
4cc149fd
SP
5501 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5502 (__slowpow): Use long double EXPL and LOGL functions to
5503 compute POW.
5504 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5505 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5506 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5507 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5508 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5509 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5510
e6ebd4a7
SP
5511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5512 intermediate variable to calculate exponent.
5513 (__sqr): Likewise.
5514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5515 Likewise.
5516 (__sqr): Likewise.
5517
82a9811d
SP
5518 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5519 [!NO__SQR]: Define __sqr.
5520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5521 and NO__SQR. Remove all code except __mul and __sqr. Include
5522 sysdeps/ieee754/dbl-64/mpa.c.
5523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5524
adbb8027
SP
5525 [BZ #12723]
5526 * posix/Makefile (tests): Add tst-pathconf.
5527 * posix/tst-pathconf.c: New test case.
5528 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5529 _PC_PIPE_BUF.
5530 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5531
39120df9
PF
55322013-03-06 Patsy Franklin <pfrankli@redhat.com>
5533
5534 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5535
67525cb8
AJ
55362013-03-06 Andreas Jaeger <aj@suse.de>
5537
664a9ce4
AJ
5538 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5539 definition via __MAP_ANONYMOUS.
5540
8e39047d
AJ
5541 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5542 it's not part of Linux headers.
5543
67525cb8
AJ
5544 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5545 (MAP_HUGE_MASK): Define.
5546
5547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5548 Define.
5549 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5550 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5551 Define.
5552 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5553 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5554 Define.
5555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5556 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5557 Define.
5558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5559
5560 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5561 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5562 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5563 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5564 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5565 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5566
5567 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5568 Handle f2fs.
5569
5570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5571 Handle f2fs and efivarfs.
5572
5573 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5574 f2fs.
5575
5576 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5577 (EFIVARFS_MAGIC): Add.
5578 (F2FS_LINK_MAX): Add.
5579
e1b42695
PP
55802013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5581
5582 * stdio-common/vfprintf.c: Replace __builtin_expect with
5583 __glibc_unlikely.
5584
2d67d91a
JM
55852013-03-06 Joseph Myers <joseph@codesourcery.com>
5586
5587 [BZ #13550]
5588 * sysdeps/generic/bp-sym.h: Remove file.
5589 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5590 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5591 <bp-sym.h> and <bp-asm.h>.
5592 (__longjmp): Don't use BP_SYM.
5593 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5594 and <bp-asm.h>.
5595 (memcpy): Don't use BP_SYM.
5596 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5597 <bp-sym.h> and <bp-asm.h>.
5598 (memcpy): Don't use BP_SYM.
5599 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5600 <bp-asm.h>.
5601 (memcpy): Don't use BP_SYM.
5602 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5603 <bp-asm.h>.
5604 (memset): Don't use BP_SYM.
5605 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5606 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5607 (__bzero): Don't use BP_SYM.
5608 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5609 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5610 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5611 <bp-sym.h> and <bp-asm.h>.
5612 (memcmp): Don't use BP_SYM. Remove comment about bounded
5613 pointers.
5614 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5615 <bp-sym.h> and <bp-asm.h>.
5616 (memcpy): Don't use BP_SYM.
5617 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5618 <bp-sym.h> and <bp-asm.h>.
5619 (memset): Don't use BP_SYM.
5620 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5621 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5622 (__bzero): Don't use BP_SYM.
5623 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5624 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5625 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5626 <bp-sym.h> and <bp-asm.h>.
5627 (strncmp): Don't use BP_SYM. Remove comment about bounded
5628 pointers.
5629 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5630 <bp-sym.h> and <bp-asm.h>.
5631 (memcpy): Don't use BP_SYM.
5632 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5633 <bp-sym.h> and <bp-asm.h>.
5634 (memset): Don't use BP_SYM.
5635 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5636 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5637 (__bzero): Don't use BP_SYM.
5638 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5639 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5640 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5641 <bp-sym.h> and <bp-asm.h>.
5642 (__memchr): Don't use BP_SYM.
5643 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5644 <bp-sym.h> and <bp-asm.h>.
5645 (memcmp): Don't use BP_SYM. Remove comment about bounded
5646 pointers.
5647 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5648 <bp-sym.h> and <bp-asm.h>.
5649 (memcpy): Don't use BP_SYM.
5650 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5651 <bp-sym.h> and <bp-asm.h>.
5652 (__mempcpy): Don't use BP_SYM.
5653 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5654 <bp-sym.h> and <bp-asm.h>.
5655 (__memrchr): Don't use BP_SYM.
5656 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5657 <bp-sym.h> and <bp-asm.h>.
5658 (memset): Don't use BP_SYM.
5659 (__bzero): Likewise.
5660 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5661 <bp-sym.h> and <bp-asm.h>.
5662 (__rawmemchr): Don't use BP_SYM.
5663 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5664 <bp-sym.h> and <bp-asm.h>.
5665 (__STRCMP): Don't use BP_SYM.
5666 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5667 <bp-sym.h> and <bp-asm.h>.
5668 (strchr): Don't use BP_SYM.
5669 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5670 <bp-sym.h> and <bp-asm.h>.
5671 (__strchrnul): Don't use BP_SYM.
5672 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5673 <bp-sym.h> and <bp-asm.h>.
5674 (strlen): Don't use BP_SYM.
5675 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5676 <bp-sym.h> and <bp-asm.h>.
5677 (strncmp): Don't use BP_SYM. Remove comment about bounded
5678 pointers.
5679 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5680 <bp-sym.h> and <bp-asm.h>.
5681 (__strnlen): Don't use BP_SYM.
5682 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5683 <bp-sym.h> and <bp-asm.h>.
5684 (__GI__setjmp): Don't use BP_SYM.
5685 (_setjmp): Likewise.
5686 (__sigsetjmp): Likewise.
5687 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5688 (L(start_addresses)): Don't use BP_SYM.
5689 (_start): Likewise.
5690 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5691 <bp-asm.h>.
5692 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5693 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5694 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5695 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5696 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5697 <bp-asm.h>.
5698 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5699 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5700 about bounded pointers.
5701 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5702 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5703 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5704 <bp-asm.h>.
5705 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5706 about bounded pointers. Remove GKM FIXME comments.
5707 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5708 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5709 <bp-asm.h>.
5710 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5711 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5712 Remove GKM FIXME comments.
5713 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5714 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5715 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5716 <bp-asm.h>.
5717 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5718 about bounded pointers. Remove GKM FIXME comment.
5719 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5720 and <bp-asm.h>.
5721 (strncmp): Don't use BP_SYM. Remove comment about bounded
5722 pointers.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5724 <bp-sym.h> and <bp-asm.h>.
5725 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5727 <bp-sym.h> and <bp-asm.h>.
5728 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5729 comment.
5730
cdcf361f
PP
57312013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5732
5733 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5734 call free(NULL).
5735
3c4a2b15
DM
57362013-03-05 David S. Miller <davem@davemloft.net>
5737
5738 * po/es.po: Update from translation team.
5739
cdcf361f 57402013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5741
5742 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5743 <bits/mman-linux.h>.
5744 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5745 is fine.
5746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5747 <bits/mman-linux.h> to end of file.
5748 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5749 is fine.
5750 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5751 <bits/mman-linux.h> to end of file.
5752 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5753 is fine.
5754 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5755 <bits/mman-linux.h> to end of file.
5756
5757 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5758 (MCL_CURRENT, MCL_FUTURE): Define here.
5759
5f67c04f
AK
57602013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5761
8a4473cc 5762 [BZ #15232]
5f67c04f
AK
5763 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5764 attribute_hidden.
5765 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5766
c3e94a95
AK
57672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5768
5769 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5770 fourth parameter needed for rt_sigprocmask syscall.
5771 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5772 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5773 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5774 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5775 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5776 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5777
cfb6382a
JM
57782013-03-04 Joseph Myers <joseph@codesourcery.com>
5779
5780 [BZ #13550]
5781 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5782 comment about bounded pointers.
5783 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5784 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5785
539d8e01
AJ
57862013-03-04 Andreas Jaeger <aj@suse.de>
5787
5788 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5789 common definitions.
5790
5791 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5792 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5793 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5795 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5797
2e167a70 57982013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5799
5800 [BZ #15055]
5801 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5802 __ieee754_sqrl instead of __sqrl.
5803
68508633
JM
58042013-03-01 Joseph Myers <joseph@codesourcery.com>
5805
5806 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5807 * sysdeps/powerpc/fpu_control.h: ... here.
5808 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5809 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5810 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5811 * sysdeps/powerpc/bits/mathinline.h: ... here.
5812
7775448e
RM
58132013-03-01 Roland McGrath <roland@hack.frob.com>
5814
5815 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5816 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5817 to just [NEED_DL_SYSINFO_DSO].
5818 * elf/dl-support.c: Likewise.
5819 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5820 * elf/rtld.c (dl_main): Likewise.
5821 * elf/setup-vdso.h (setup_vdso): Likewise.
5822 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5823 * sysdeps/unix/sysv/linux/dl-sysdep.c
5824 (_dl_discover_osversion): Likewise.
5825
4e9b5995
CD
58262013-03-01 Carlos O'Donell <carlos@redhat.com>
5827
5828 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5829 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5830
e23872c8
SP
58312013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5832
e5c74c63
SP
5833 * NEWS: Mention libm performance improvements and non-x86 PI
5834 futex support.
5835
e23872c8
SP
5836 * csu/libc-start.c (__pthread_initialize_minimal): Change
5837 function arguments.
5838 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5839
b5510883
JM
58402013-02-28 Joseph Myers <joseph@codesourcery.com>
5841
5842 [BZ #13550]
5843 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5844 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5845 <bp-sym.h> and <bp-asm.h>.
5846 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5847 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5848 and <bp-asm.h>.
5849 (memcpy): Don't use BP_SYM.
5850 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5851 <bp-asm.h>.
5852 (__mpn_add_n): Don't use BP_SYM.
5853 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5854 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5855 and <bp-asm.h>.
5856 (__mpn_addmul_1): Don't use BP_SYM.
5857 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5858 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5859 <bp-sym.h>.
5860 (_setjmp): Don't use BP_SYM.
5861 (__novmx_setjmp): Likewise.
5862 (__GI__setjmp): Likewise.
5863 (__vmx_setjmp): Likewise.
5864 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5865 <bp-sym.h>.
5866 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5867 (__bzero): Don't use BP_SYM.
5868 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5869 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5870 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5871 <bp-sym.h> and <bp-asm.h>.
5872 (memcpy): Don't use BP_SYM.
5873 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5874 <bp-sym.h> and <bp-asm.h>.
5875 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5876 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5877 <bp-sym.h> and <bp-asm.h>.
5878 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5879 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5880 <bp-asm.h>.
5881 (__mpn_lshift): Don't use BP_SYM.
5882 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5883 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5884 <bp-asm.h>.
5885 (memset): Don't use BP_SYM.
5886 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5887 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5888 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5889 <bp-asm.h>.
5890 (__mpn_mul_1): Don't use BP_SYM.
5891 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5892 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5893 <bp-sym.h> and <bp-asm.h>.
5894 (memcmp): Don't use BP_SYM.
5895 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5896 <bp-sym.h> and <bp-asm.h>.
5897 (memcpy): Don't use BP_SYM.
5898 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5899 <bp-sym.h> and <bp-asm.h>.
5900 (memset): Don't use BP_SYM.
5901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5902 <bp-sym.h> and <bp-asm.h>.
5903 (strncmp): Don't use BP_SYM.
5904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5905 <bp-sym.h> and <bp-asm.h>.
5906 (memcpy): Don't use BP_SYM.
5907 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5908 <bp-sym.h> and <bp-asm.h>.
5909 (memset): Don't use BP_SYM.
5910 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5911 <bp-sym.h> and <bp-asm.h>.
5912 (__memchr): Don't use BP_SYM.
5913 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5914 <bp-sym.h> and <bp-asm.h>.
5915 (memcmp): Don't use BP_SYM.
5916 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5917 <bp-sym.h> and <bp-asm.h>.
5918 (memcpy): Don't use BP_SYM.
5919 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5920 <bp-sym.h> and <bp-asm.h>.
5921 (__mempcpy): Don't use BP_SYM.
5922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5923 <bp-sym.h> and <bp-asm.h>.
5924 (__memrchr): Don't use BP_SYM.
5925 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5926 <bp-sym.h> and <bp-asm.h>.
5927 (memset): Don't use BP_SYM.
5928 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5929 <bp-sym.h> and <bp-asm.h>.
5930 (__rawmemchr): Don't use BP_SYM.
5931 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5932 <bp-sym.h> and <bp-asm.h>.
5933 (__STRCMP): Don't use BP_SYM.
5934 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5935 <bp-sym.h> and <bp-asm.h>.
5936 (strchr): Don't use BP_SYM.
5937 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5938 <bp-sym.h> and <bp-asm.h>.
5939 (__strchrnul): Don't use BP_SYM.
5940 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5941 <bp-sym.h> and <bp-asm.h>.
5942 (strlen): Don't use BP_SYM.
5943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5944 <bp-sym.h> and <bp-asm.h>.
5945 (strncmp): Don't use BP_SYM.
5946 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5947 <bp-sym.h> and <bp-asm.h>.
5948 (__strnlen): Don't use BP_SYM.
5949 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5950 <bp-asm.h>.
5951 (__mpn_rshift): Don't use BP_SYM.
5952 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5953 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5954 <bp-sym.h> and <bp-asm.h>.
5955 (__sigsetjmp): Don't use BP_SYM.
5956 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5957 (L(start_addresses)): Don't use BP_SYM.
5958 (_start): Likewise.
5959 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5960 <bp-asm.h>.
5961 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5962 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5963 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5964 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5965 <bp-asm.h>.
5966 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5967 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5968 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5969 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5970 <bp-asm.h>.
5971 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5972 comments.
5973 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5974 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5975 <bp-asm.h>.
5976 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5977 FIXME comments.
5978 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5979 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5980 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5981 <bp-asm.h>.
5982 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5983 comment.
5984 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5985 and <bp-asm.h>.
5986 (strncmp): Don't use BP_SYM,
5987 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5988 <bp-asm.h>.
5989 (__mpn_sub_n): Don't use BP_SYM.
5990 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5991 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5992 and <bp-asm.h>.
5993 (__mpn_submul_1): Don't use BP_SYM.
5994 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5996 <bp-sym.h> and <bp-asm.h>.
5997 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5999 <bp-sym.h> and <bp-asm.h>.
6000 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6001 comment.
6002
8d19fe64
SP
60032013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6004
6005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6006 Use ZK to minimize writes to Z.
6007 (sub_magnitudes): Simplify code a bit.
6008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6009 Use ZK to minimize writes to Z.
6010 (sub_magnitudes): Simplify code a bit.
6011
85bd816a
RM
60122013-02-27 Roland McGrath <roland@hack.frob.com>
6013
6014 * csu/gmon-start.c: Add special exception to license text.
6015
b5977bf2
RH
60162013-02-27 Richard Henderson <rth@redhat.com>
6017
6018 * scripts/config.guess: Update from config.git.
6019 * scripts/config.sub: Likewise.
6020
11d6e2f2
SP
60212013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6022
09c14ed2
SP
6023 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6024
a688864e
SP
6025 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6026
6295157a
SP
6027 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6028
b8de2202
SP
6029 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6030
11d6e2f2
SP
6031 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6032
7e80ddb8
RM
60332013-02-26 Roland McGrath <roland@hack.frob.com>
6034
6035 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6036 [$(build-shared = yes].
7e80ddb8 6037
7da6d9ed
SP
60382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6039
45f05884
SP
6040 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6041 (__mul): Reduce iterations for calculating mantissa.
6042
2236d359
SP
6043 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6044 MPTWO.
6045 (__mpranred): Likewise.
6046
7da6d9ed
SP
6047 [BZ #15160]
6048 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6049 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6050
b7688c42
PE
60512013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6052
6053 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6054 Define __attribute__.
6055
53a5c423
SP
60562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6057
6058 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6059 unused.
6060 * posix/regex_internal.h (__attribute): Remove.
6061 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6062 (re_string_context_at): Likewise.
6063 (bitset_not): Use __attribute__ and mark function as possibly
6064 unused.
6065 (bitset_merge): Likewise.
6066 (bitset_mask): Likewise.
6067 (re_string_char_size_at): Likewise.
6068 (re_string_wchar_at): Likewise.
6069 (re_string_elem_size_at): Likewise.
6070
60f5a8b5
SP
60712013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6072
2a983a2e
SP
6073 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6074 code.
6075 (cc32): Likewise.
6076
e69804d1
SP
6077 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6078 (__acr): Likewise.
6079 (__cpy): Likewise.
6080 (norm): Likewise.
6081 (denorm): Likewise.
6082 (__dbl_mp): Likewise.
6083 (add_magnitudes): Likewise.
6084 (sub_magnitudes): Likewise.
6085 (__mul): Likewise.
6086 (__inv): Likewise.
6087
2f22a1e8
SP
6088 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6089 style.
6090
8930ddc7
SP
6091 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6092 style.
6093
dc60cb11
SP
6094 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6095 code.
6096
60f5a8b5
SP
6097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6098 up changes with default code.
6099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6100 Likewise.
6101
b4d1fd33
AM
61022013-02-24 Allan McRae <allan@archlinux.org>
6103
faf6f8bc
AM
6104 * manual/socket.texi (The Internet Namespace): Order menu items
6105 to match that in the file.
6106
b4d1fd33
AM
6107 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6108 node listing of the info page menu.
6109
2366713d
JM
61102013-02-21 Joseph Myers <joseph@codesourcery.com>
6111
6112 [BZ #13550]
6113 * sysdeps/i386/bp-asm.h: Remove file.
6114 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6115 (PARMS): Do not use macros from bp-asm.h.
6116 (S1): Likewise.
6117 (S2): Likewise.
6118 (SIZE): Likewise.
6119 (__mpn_add_n): Do not use BP_SYM
6120 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6121 "bp-asm.h".
6122 (PARMS): Do not use macros from bp-asm.h.
6123 (S1): Likewise.
6124 (SIZE): Likewise.
6125 (__mpn_addmul_1): Do not use BP_SYM
6126 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6127 "bp-asm.h".
6128 (PARMS): Do not use macros from bp-asm.h.
6129 (SIGMSK): Likewise.
6130 (_setjmp): Likewise. Do not use BP_SYM.
6131 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6132 "bp-asm.h".
6133 (PARMS): Do not use macros from bp-asm.h.
6134 (SIGMSK): Likewise.
6135 (setjmp): Likewise. Do not use BP_SYM.
6136 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6137 "bp-asm.h".
6138 (PARMS): Do not use macros from bp-asm.h.
6139 (__frexp): Do not use BP_SYM.
6140 (frexp): Likewise.
6141 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6142 "bp-asm.h".
6143 (PARMS): Do not use macros from bp-asm.h.
6144 (__frexpf): Do not use BP_SYM.
6145 (frexpf): Likewise.
6146 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6147 "bp-asm.h".
6148 (PARMS): Do not use macros from bp-asm.h.
6149 (__frexpl): Do not use BP_SYM.
6150 (frexpl): Likewise.
6151 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6152 "bp-asm.h".
6153 (PARMS): Do not use macros from bp-asm.h.
6154 (__remquo): Do not use BP_SYM.
6155 (remquo): Likewise.
6156 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6157 "bp-asm.h".
6158 (PARMS): Do not use macros from bp-asm.h.
6159 (__remquof): Do not use BP_SYM.
6160 (remquof): Likewise.
6161 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6162 "bp-asm.h".
6163 (PARMS): Do not use macros from bp-asm.h.
6164 (__remquol): Do not use BP_SYM.
6165 (remquol): Likewise.
6166 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6167 "bp-asm.h".
6168 (PARMS): Do not use macros from bp-asm.h.
6169 (DEST): Likewise.
6170 (SRC): Likewise.
6171 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6172 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6173 "bp-asm.h".
6174 (PARMS): Do not use macros from bp-asm.h.
6175 (strlen): Do not use BP_SYM.
6176 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6177 "bp-asm.h".
6178 (PARMS): Do not use macros from bp-asm.h.
6179 (S1): Likewise.
6180 (S2): Likewise.
6181 (SIZE): Likewise.
6182 (__mpn_add_n): Do not use BP_SYM.
6183 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6184 "bp-asm.h".
6185 (PARMS): Do not use macros from bp-asm.h.
6186 (S1): Likewise.
6187 (SIZE): Likewise.
6188 (__mpn_addmul_1): Do not use BP_SYM.
6189 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6190 weak_alias.
6191 (bzero): Likewise.
6192 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6193 "bp-asm.h".
6194 (PARMS): Do not use macros from bp-asm.h.
6195 (S): Likewise.
6196 (SIZE): Likewise.
6197 (__mpn_lshift): Do not use BP_SYM.
6198 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6199 "bp-asm.h".
6200 (PARMS): Do not use macros from bp-asm.h.
6201 (DEST): Likewise.
6202 (SRC): Likewise.
6203 (LEN): Likewise.
6204 (memcpy): Likewise. Do not use BP_SYM.
6205 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6206 libc_hidden_def and weak_alias.
6207 (mempcpy): Do not use BP_SYM in weak_alias.
6208 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6209 "bp-asm.h".
6210 (PARMS): Do not use macros from bp-asm.h.
6211 (DEST): Likewise.
6212 (LEN): Likewise.
6213 [!BZERO_P] (CHR): Likewise.
6214 (memset): Likewise. Do not use BP_SYM.
6215 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6216 "bp-asm.h".
6217 (PARMS): Do not use macros from bp-asm.h.
6218 (S1): Likewise.
6219 (SIZE): Likewise.
6220 (__mpn_mul_1): Do not use BP_SYM.
6221 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6222 "bp-asm.h".
6223 (PARMS): Do not use macros from bp-asm.h.
6224 (S): Likewise.
6225 (SIZE): Likewise.
6226 (__mpn_rshift): Do not use BP_SYM.
6227 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6228 "bp-asm.h".
6229 (PARMS): Do not use macros from bp-asm.h.
6230 (STR): Likewise.
6231 (CHR): Likewise.
6232 (strchr): Likewise. Do not use BP_SYM.
6233 (index): Do not use BP_SYM in weak_alias.
6234 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6235 "bp-asm.h".
6236 (PARMS): Do not use macros from bp-asm.h.
6237 (DEST): Likewise.
6238 (SRC): Likewise.
6239 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6240 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6241 "bp-asm.h".
6242 (PARMS): Do not use macros from bp-asm.h.
6243 (strlen): Do not use BP_SYM.
6244 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6245 "bp-asm.h".
6246 (PARMS): Do not use macros from bp-asm.h.
6247 (S1): Likewise.
6248 (S2): Likewise.
6249 (SIZE): Likewise.
6250 (__mpn_sub_n): Do not use BP_SYM.
6251 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6252 "bp-asm.h".
6253 (PARMS): Do not use macros from bp-asm.h.
6254 (S1): Likewise.
6255 (SIZE): Likewise.
6256 (__mpn_submul_1): Do not use BP_SYM.
6257 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6258 "bp-asm.h".
6259 (PARMS): Do not use macros from bp-asm.h.
6260 (S1): Likewise.
6261 (S2): Likewise.
6262 (SIZE): Likewise.
6263 (__mpn_add_n): Do not use BP_SYM.
6264 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6265 weak_alias.
6266 (bzero): Likewise.
6267 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6268 "bp-asm.h".
6269 (PARMS): Do not use macros from bp-asm.h.
6270 (BLK2): Likewise.
6271 (LEN): Likewise.
6272 (memcmp): Do not use BP_SYM.
6273 (bcmp): Do not use BP_SYM in weak_alias.
6274 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6275 "bp-asm.h".
6276 (PARMS): Do not use macros from bp-asm.h.
6277 (DEST): Likewise.
6278 (SRC): Likewise.
6279 (LEN): Likewise.
6280 (memcpy): Likewise. Do not use BP_SYM.
6281 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6282 "bp-asm.h".
6283 (PARMS): Do not use macros from bp-asm.h.
6284 (DEST): Likewise.
6285 (SRC): Likewise.
6286 (LEN): Likewise.
6287 (memmove): Likewise. Do not use BP_SYM.
6288 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6289 "bp-asm.h".
6290 (PARMS): Do not use macros from bp-asm.h.
6291 (DEST): Likewise.
6292 (SRC): Likewise.
6293 (LEN): Likewise.
6294 (__mempcpy): Likewise. Do not use BP_SYM.
6295 (mempcpy): Do not use BP_SYM in weak_alias.
6296 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6297 "bp-asm.h".
6298 (PARMS): Do not use macros from bp-asm.h.
6299 (DEST): Likewise.
6300 (LEN): Likewise.
6301 [!BZERO_P] (CHR): Likewise.
6302 (memset): Likewise. Do not use BP_SYM.
6303 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6304 "bp-asm.h".
6305 (PARMS): Do not use macros from bp-asm.h.
6306 (STR2): Likewise.
6307 (strcmp): Do not use BP_SYM.
6308 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6309 "bp-asm.h".
6310 (PARMS): Do not use macros from bp-asm.h.
6311 (STR): Likewise.
6312 (DELIM): Likewise.
6313 [USE_AS_STRTOK_R] (SAVE): Likewise.
6314 (FUNCTION): Likewise. Do not use BP_SYM.
6315 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6316 aliases.
6317 (strtok_r): Likewise.
6318 (__GI___strtok_r): Likewise.
6319 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6320 (PARMS): Do not use macros from bp-asm.h.
6321 (S): Likewise.
6322 (SIZE): Likewise.
6323 (__mpn_lshift): Do not use BP_SYM.
6324 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6325 (PARMS): Do not use macros from bp-asm.h.
6326 (STR): Likewise.
6327 (CHR): Likewise.
6328 (__memchr): Do not use BP_SYM.
6329 (memchr): Do not use BP_SYM in weak_alias.
6330 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6331 (PARMS): Do not use macros from bp-asm.h.
6332 (BLK2): Likewise.
6333 (LEN): Likewise.
6334 (memcmp): Do not use BP_SYM.
6335 (bcmp): Do not use BP_SYM in weak_alias.
6336 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6337 (PARMS): Do not use macros from bp-asm.h.
6338 (S1): Likewise.
6339 (SIZE): Likewise.
6340 (__mpn_mul_1): Do not use BP_SYM.
6341 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6342 "bp-asm.h".
6343 (PARMS): Do not use macros from bp-asm.h.
6344 (STR): Likewise.
6345 (CHR): Likewise.
6346 (__rawmemchr): Do not use BP_SYM.
6347 (rawmemchr): Do not use BP_SYM in weak_alias.
6348 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6349 (PARMS): Do not use macros from bp-asm.h.
6350 (S): Likewise.
6351 (SIZE): Likewise.
6352 (__mpn_rshift): Do not use BP_SYM.
6353 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6354 (PARMS): Do not use macros from bp-asm.h.
6355 (SIGMSK): Likewise.
6356 (__sigsetjmp): Likewise. Do not use BP_SYM.
6357 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6358 (_start): Do not use BP_SYM.
6359 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6360 (PARMS): Do not use macros from bp-asm.h.
6361 (DEST): Likewise.
6362 (SRC): Likewise.
6363 (__stpcpy): Likewise. Do not use BP_SYM.
6364 (stpcpy): Do not use BP_SYM in weak_alias.
6365 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6366 "bp-asm.h".
6367 (PARMS): Do not use macros from bp-asm.h.
6368 (DEST): Likewise.
6369 (SRC): Likewise.
6370 (LEN): Likewise.
6371 (__stpncpy): Likewise. Do not use BP_SYM.
6372 (stpncpy): Do not use BP_SYM in weak_alias.
6373 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6374 (PARMS): Do not use macros from bp-asm.h.
6375 (STR): Likewise.
6376 (CHR): Likewise.
6377 (strchr): Likewise. Do not use BP_SYM.
6378 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6379 "bp-asm.h".
6380 (PARMS): Do not use macros from bp-asm.h.
6381 (STR): Likewise.
6382 (CHR): Likewise.
6383 (__strchrnul): Likewise. Do not use BP_SYM.
6384 (strchrnul): Do not use BP_SYM in weak_alias.
6385 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6386 "bp-asm.h".
6387 (PARMS): Do not use macros from bp-asm.h.
6388 (STOP): Likewise.
6389 (strcspn): Do not use BP_SYM.
6390 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6391 "bp-asm.h".
6392 (PARMS): Do not use macros from bp-asm.h.
6393 (STR): Likewise.
6394 (STOP): Likewise.
6395 (strpbrk): Likewise. Do not use BP_SYM.
6396 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6397 "bp-asm.h".
6398 (PARMS): Do not use macros from bp-asm.h.
6399 (STR): Likewise.
6400 (CHR): Likewise.
6401 (strrchr): Likewise. Do not use BP_SYM.
6402 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6403 (PARMS): Do not use macros from bp-asm.h.
6404 (SKIP): Likewise.
6405 (strspn): Do not use BP_SYM.
6406 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6407 (PARMS): Do not use macros from bp-asm.h.
6408 (STR): Likewise.
6409 (DELIM): Likewise.
6410 (SAVE): Likewise.
6411 (FUNCTION): Likewise. Do not use BP_SYM.
6412 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6413 aliases.
6414 (strtok_r): Likewise.
6415 (__GI___strtok_r): Likewise.
6416 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6417 (PARMS): Do not use macros from bp-asm.h.
6418 (S1): Likewise.
6419 (S2): Likewise.
6420 (SIZE): Likewise.
6421 (__mpn_sub_n): Do not use BP_SYM.
6422 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6423 "bp-asm.h".
6424 (PARMS): Do not use macros from bp-asm.h.
6425 (S1): Likewise.
6426 (SIZE): Likewise.
6427 (__mpn_submul_1): Do not use BP_SYM.
6428 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6429 <bp-sym.h>.
6430 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6431 and <bp-asm.h>.
6432 (PARMS): Do not use macros from bp-asm.h.
6433 (FLAGS): Likewise.
6434 (PTID): Likewise.
6435 (TLS): Likewise.
6436 (CTID): Likewise.
6437 (__clone): Do not use BP_SYM.
6438 (clone): Do not use BP_SYM in weak_alias.
6439 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6440 and <bp-asm.h>.
6441 (PARMS): Do not use macros from bp-asm.h.
6442 (LEN): Likewise.
6443 (__mmap64): Do not use BP_SYM.
6444 (mmap64): Do not use BP_SYM in weak_alias.
6445 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6446 <bp-sym.h> and <bp-asm.h>.
6447 (PARMS): Do not use macros from bp-asm.h.
6448 (__posix_fadvise64_l64): Do not use BP_SYM.
6449 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6450 (PARMS): Do not use macros from bp-asm.h.
6451 (NSOPS): Likewise.
6452 (semtimedop): Do not use BP_SYM.
6453 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6454 and <bp-asm.h>.
6455
582a3cff
AM
64562013-02-21 Allan McRae <allan@archlinux.org>
6457
6458 * manual/message.texi (Charset conversion in gettext):
6459 Move @end statement to beginning of line.
6460
bab8a695
SP
64612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6462
80945231
SP
6463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6464 static.
6465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6466 Likewise.
6467
bab8a695
SP
6468 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6469 (denorm): Likewise.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6472
e21d7aa7
AK
64732013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6474
6475 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6476 tail-call to the resolved function if pltexit isn't needed.
6477
4c7a4263
SP
64782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6479
6480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6481 or Y being zero as being unlikely.
6482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6483 Likewise.
6484
41f49342
CD
64852013-02-20 Carlos O'Donell <carlos@redhat.com>
6486
6487 * manual/nss.texi (System Databases and Name Service Switch):
6488 Remove frobnicate @pxref.
6489
50022a93
TS
64902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6491
6492 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6493 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6494
08cbd996
PM
64952013-02-20 Petr Machata <pmachata@redhat.com>
6496
6497 * elf/elf.h (R_ARM_TARGET1): New macro.
6498 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6499 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6500 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6501 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6502 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6503 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6504 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6505 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6506 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6507 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6508 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6509 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6510 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6511 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6512 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6513 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6514 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6515 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6516 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6517 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6518 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6519 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6520 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6521 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6522 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6523 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6524 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6525 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6526 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6527 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6528 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6529 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6530 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6531 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6532 (R_ARM_THM_GOT_BREL12): Likewise.
6533 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6534 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6535 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6536 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6537 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6538 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6539 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6540 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6541 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6542
c7b275d6
TS
65432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6544
6545 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6546 __attribute_used__ to __attribute__ ((unused)).
6547
20cd7fb3
SP
65482013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6549
6550 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6551 powerpc mpa.c.
6552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6553 comment formatting.
6554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6555
92945b52
JM
65562013-02-19 Joseph Myers <joseph@codesourcery.com>
6557
6558 [BZ #13550]
6559 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6560 Remove macro.
6561 (ENTER): Remove both macro definitions.
6562 (LEAVE): Likewise.
6563 (CHECK_BOUNDS_LOW): Likewise.
6564 (CHECK_BOUNDS_HIGH): Likewise.
6565 (CHECK_BOUNDS_BOTH): Likewise.
6566 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6567 (RETURN_BOUNDED_POINTER): Likewise.
6568 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6569 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6570 (POP_ERRNO_LOCATION_RETURN): Likewise.
6571 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6572 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6573 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6574 macros.
6575 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6576 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6577 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6578 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6579 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6580 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6581 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6582 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6583 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6584 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6585 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6586 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6587 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6588 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6589 removed macros.
6590 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6591 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6592 macros.
6593 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6594 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6595 * sysdeps/i386/i586/memset.S (memset): Likewise.
6596 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6597 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6598 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6599 macros.
6600 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6601 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6602 Change uses of L(2) to L(out).
6603 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6604 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6605 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6606 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6607 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6608 removed macros.
6609 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6610 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6611 macros.
6612 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6613 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6614 (RETURN): Do not use macro LEAVE.
6615 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6616 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6617 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6618 * sysdeps/i386/i686/memset.S (memset): Likewise.
6619 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6620 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6621 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6622 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6623 Likewise.
6624 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6625 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6626 L(1_2) and L(1_3) into L(1).
6627 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6628 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6629 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6630 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6631 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6632 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6633 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6634 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6635 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6636 macros.
6637 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6638 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6639 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6640 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6641 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6642 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6643 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6644 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6645 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6646 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6647 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6648 * sysdeps/i386/strspn.S (strspn): Likewise.
6649 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6650 conditional code.
6651 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6652 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6653 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6654 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6655 L(1_3) into L(1_1).
6656 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6657 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6658 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6659 macros.
6660 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6661
2389741a
JJ
66622013-02-19 Jakub Jelinek <jakub@redhat.com>
6663
6664 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6665 macro.
6666
2016b3cd
SP
66672013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6668
e4f22324
SP
6669 * math/atest-exp.c (exp_mpn): Remove ROUND.
6670 * math/atest-exp2.c (exp_mpn): Likewise.
6671 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6672
2016b3cd
SP
6673 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6674 * stdlib/tst-tls-atexit-lib.c: Likewise.
6675 * stdlib/tst-tls-atexit.c: Likewise.
6676
4be9b544
MF
66772013-02-18 Mike Frysinger <vapier@gentoo.org>
6678
6679 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6680 and __attribute_alloc_size__.
6681
2f62b9ee
MF
66822013-02-18 Mike Frysinger <vapier@gentoo.org>
6683
6684 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6685 __attribute_alloc_size__.
6686 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6687 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6688
6ff444c4
MF
66892013-02-18 Mike Frysinger <vapier@gentoo.org>
6690
6691 * include/programs/xmalloc.h: New file.
6692 * catgets/gencat.c: Include it.
6693 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6694 * elf/pldd.c: Likewise.
6695 * iconv/iconv_charmap.c: Likewise.
6696 * iconv/iconvconfig.c: Likewise.
6697 * iconv/strtab.c: Likewise.
6698 * locale/programs/locale.c: Likewise.
6699 * locale/programs/localedef.h: Likewise.
6700 * locale/programs/simple-hash.c: Likewise.
6701 * nscd/nscd.h: Likewise.
6702 * nss/makedb.c: Likewise.
6703 * sysdeps/generic/ldconfig.h: Likewise.
6704
be179c8a
SP
67052013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6706
ba384f6e
SP
6707 * Versions.def: Add GLIBC_2.18.
6708 * include/link.h (struct link_map): New member l_tls_dtor_count.
6709 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6710 (__call_tls_dtors): Likewise.
6711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6712 __cxa_thread_atexit_impl.
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6714 Likewise.
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6716 Likewise.
6717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6718 Likewise.
6719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6720 Likewise.
6721 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6723 Likewise.
6724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6725 Likewise.
6726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6728 Likewise.
6729 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6730 (tests): Add test case tst-tls-atexit.
6731 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6732 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6733 (GLIBC_PRIVATE): Add __call_tls_dtors.
6734 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6735 for libstdc++.
6736 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6737 * stdlib/tst-tls-atexit.c: New test case.
6738 * stdlib/tst-tls-atexit-lib.c: New test case.
6739
ffaa74cf 6740 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6741
be179c8a
SP
6742 * elf/Versions (ld): Add _dl_find_dso_for_object.
6743 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6744 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6745 (dl_open_worker): Use _dl_find_dso_for_object.
6746 * elf/dl-sym.c (do_sym): Likewise.
6747 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6748
f78b5caa
AK
67492013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6750
6751 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6752 Syntactic changes only.
6753 (_dl_runtime_profile): Do a tail-call to the resolved function.
6754
29691210
JM
67552013-02-17 Joseph Myers <joseph@codesourcery.com>
6756
6757 [BZ #13550]
6758 * sysdeps/x86_64/bp-asm.h: Remove file.
6759 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6760 <bp-sym.h> and <bp-asm.h>.
6761 (__clone): Do not use BP_SYM.
6762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6763 <bp-sym.h> and <bp-asm.h>.
6764 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6765 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6766 "bp-asm.h".
6767 (_setjmp): Do not use BP_SYM.
6768 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6769 "bp-asm.h".
6770 (setjmp): Do not use BP_SYM.
6771 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6772 libc_hidden_def.
6773 (mempcpy): Do not use BP_SYM in weak_alias.
6774 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6775 "bp-asm.h".
6776 (strchr): Do not use BP_SYM.
6777 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6778 "bp-asm.h".
6779 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6780 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6781 (_start): Do not use BP_SYM.
6782 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6783 "bp-asm.h".
6784 (strcat): Do not use BP_SYM.
6785 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6786 "bp-asm.h".
6787 (STRCMP): Do not use BP_SYM.
6788 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6789 "bp-asm.h".
6790 (STRCPY): Do not use BP_SYM.
6791 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6792 "bp-asm.h".
6793 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6794 "bp-asm.h".
6795 (FUNCTION): Do not use BP_SYM.
6796 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6797 weak_alias.
6798 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6799
f238fd19
AJ
68002013-02-17 Andreas Jaeger <aj@suse.de>
6801
6802 * time/Versions: Sort entries.
6803 * string/Versions: Likewise.
6804 * resolv/Versions: Likewise.
6805 * posix/Versions: Likewise.
6806 * iconv/Versions: Likewise.
6807 * elf/Versions: Likewise.
6808 * wcsmbs/Versions: Likewise.
6809
bd07f23c 68102013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6811
22af19f9
SP
6812 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6813 loop termination condition.
6814
4709fe76
SP
6815 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6816 variable to calculate EZ.
6817 (__sqr): Likewise.
2d0e0f29
SP
6818
6819 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6820 the lower precision input.
6821
daaa7713
JM
68222013-02-15 Joseph Myers <joseph@codesourcery.com>
6823
6824 [BZ #13550]
6825 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6826 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6827 (run-via-rtld-prefix): Do not handle %-bp tests.
6828 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6829 (all-object-suffixes): Remove .ob.
6830 (bppfx): Remove variable.
6831 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6832 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6833 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6834 [$(build-bounded) = yes] (libtype.ob): Likewise.
6835 * Makerules (elide-routines.ob): Remove variable.
6836 (do-tests-clean): Do not handle *-bp.out.
6837 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6838 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6839 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6840 (tests): Do not include $(tests-bp.out).
6841 (xtests): Do not include $(xtests-bp.out).
6842 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6843 [$(build-bounded) = yes] ($(addprefix
6844 $(objpfx),$(binaries-bounded))): Remove rule.
6845 ($(objpfx)%-bp.out): Remove rule.
6846 * config.make.in (build-bounded): Remove variable.
6847 * crypt/Makefile [$(build-bounded) = yes]
6848 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6849 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6850 append to variable.
6851 [$(build-bounded) = yes] (install-lib): Likewise.
6852 [$(build-bounded) = yes] (generated): Likewise.
6853 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6854 Remove rule.
6855 * intl/Makefile [$(build-bounded) = yes]
6856 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6857 * math/Makefile [$(build-bounded) = yes]
6858 ($(tests:%=$(objpfx)%-bp): Likewise.
6859 * misc/Makefile [$(build-bounded) = yes]
6860 ($(objpfx)tst-tsearch-bp): Likewise.
6861 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6862 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6863 Remove dependency.
6864 * string/Makefile (o-objects.ob): Remove variable.
6865 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6866 (CFLAGS-.ob): Remove variable.
6867 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6868 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6869 both definitions of variable.
6870 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6871 (ASFLAGS-.ob): Remove variable.
6872
e97ed6dd
JM
68732013-02-14 Joseph Myers <joseph@codesourcery.com>
6874
2bdd4ca6
JM
6875 [BZ #13550]
6876 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6877 Remove __BOUNDED_POINTERS__ from condition.
6878 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6879 * string/bits/string2.h [!__NO_STRING_INLINES &&
6880 !__BOUNDED_POINTERS__]: Likewise.
6881 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6882 Likewise.
6883 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6884 Remove conditional code.
6885 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6886 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6887 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6888 condition.
6889
e97ed6dd
JM
6890 [BZ #13550]
6891 * csu/libc-start.c: Do not include <bp-sym.h>.
6892 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6893 * elf/dl-open.c: Do not include <bp-sym.h>.
6894 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6895 * math/fegetenv.c: Do not include <bp-sym.h>.
6896 (fegetenv): Do not use BP_SYM in versioned symbols.
6897 * nptl/sysdeps/pthread/bits/libc-lockP.h
6898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6899 <bp-sym.h>.
6900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6901 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6903 (__pthread_mutex_destroy): Likewise.
6904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6905 (__pthread_mutex_lock): Likewise.
6906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6907 (__pthread_mutex_trylock): Likewise.
6908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6909 (__pthread_mutex_unlock): Likewise.
6910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6911 (__pthread_mutexattr_init): Likewise.
6912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6913 (__pthread_mutexattr_destroy): Likewise.
6914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6915 (__pthread_mutexattr_settype): Likewise.
6916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6917 (__pthread_rwlock_init): Likewise.
6918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6919 (__pthread_rwlock_destroy): Likewise.
6920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6921 (__pthread_rwlock_rdlock): Likewise.
6922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6923 (__pthread_rwlock_tryrdlock): Likewise.
6924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6925 (__pthread_rwlock_wrlock): Likewise.
6926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6927 (__pthread_rwlock_trywrlock): Likewise.
6928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6929 (__pthread_rwlock_unlock): Likewise.
6930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6931 (__pthread_key_create): Likewise.
6932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6933 (__pthread_setspecific): Likewise.
6934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6935 (__pthread_getspecific): Likewise.
6936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6937 Likewise.
6938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6939 (_pthread_cleanup_push_defer): Likewise.
6940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6941 (_pthread_cleanup_pop_restore): Likewise.
6942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6943 (pthread_setcancelstate): Likewise.
6944 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6945 <bp-sym.h>.
6946 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6947 (memchr): Do not use BP_SYM in weak_alias.
6948 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6949 (fegetenv): Do not use BP_SYM in versioned symbols.
6950 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6951 (fesetenv): Do not use BP_SYM in versioned symbols.
6952 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6953 (feupdateenv): Do not use BP_SYM in versioned symbols.
6954 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6955 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6956 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6957 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6958 (open64): Do not use BP_SYM in weak_alias.
6959 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6960 (fegetenv): Do not use BP_SYM in versioned symbols.
6961 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6962 (fesetenv): Do not use BP_SYM in versioned symbols.
6963 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6964 (feupdateenv): Do not use BP_SYM in versioned symbols.
6965 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6966 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6967 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6968 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6969 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6970 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6971 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6972 <bp-sym.h>.
6973 (__libc_start_main): Do not use BP_SYM.
6974
d6752ccd
SP
69752013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6976
cb57ce60
SP
6977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6978 redundant return line.
6979 (norm): Likewise.
6980 (denorm): Likewise.
6981 (dbl_mp): Likewise.
6982 (sub_magnitudes): Likewise.
6983 (__add): Likewise.
6984 (__sub): Likewise.
6985 (__mul): Likewise.
6986 (__inv): Likewise.
6987 (__dvd): Likewise.
6988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6989 (norm): Likewise.
6990 (denorm): Likewise.
6991 (dbl_mp): Likewise.
6992 (sub_magnitudes): Likewise.
6993 (__add): Likewise.
6994 (__sub): Likewise.
6995 (__mul): Likewise.
6996 (__inv): Likewise.
6997 (__dvd): Likewise.
6998
f414520d
SP
6999 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7000 instead of __mul.
7001 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7002 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7003 (cc32): Likewise.
7004
d6752ccd
SP
7005 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7006 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7008 of __mul for squares.
7009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7010 function
7011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7012 Likewise.
7013 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7014 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7015
70d9946a
JM
70162013-02-13 Joseph Myers <joseph@codesourcery.com>
7017
7018 [BZ #13550]
7019 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7020 code.
7021 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7022 prototype or function definition. Rename ubp_* variables and
7023 parameters. Remove argv definitions conditional on
7024 [__BOUNDED_POINTERS__].
7025 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7026 * elf/dl-runtime.c (_dl_fixup): Likewise.
7027 * include/set-hooks.h (RUN_HOOK): Likewise.
7028 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7029 definition.
7030 * string/strcpy.c (strcpy): Do not use __unbounded.
7031 * sysdeps/generic/frame.h (struct layout): Likewise.
7032 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7033 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7034 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7035 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7036 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7037 (__backtrace): Likewise.
7038 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7039 use __ptrvalue.
7040 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7041 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7042 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7043 Likewise.
7044 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7045 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7046 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7047 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7048 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7049 Do not use __unbounded.
7050 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7051 Rename __unboundedrlimits parameter to rlimits in prototype.
7052 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7053 Do not use __unbounded.
7054 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7055 not use __ptrvalue.
7056 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7057 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7058 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7059 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7060 __ptrvalue or __unbounded.
7061 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7062 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7063 use __unbounded.
7064 (__new_msgctl): Do not use __ptrvalue.
7065 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7066 __unbounded.
7067 (__libc_msgrcv): Do not use __ptrvalue.
7068 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7069 startup_info): Do not use __unbounded.
7070 (__libc_start_main): Likewise. Rename ubp_* variables and
7071 parameters. Remove argv definitions conditional on
7072 [__BOUNDED_POINTERS__].
7073 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7074 __ptrvalue.
7075 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7076 use __unbounded.
7077 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7078 or __ptrvalue.
7079 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7080 use __unbounded.
7081 (__new_shmctl): Do not use __ptrvalue.
7082 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7083 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7084 Likewise.
7085 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7086 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7087 (__libc_sigaction): Likewise.
7088 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7089 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7090 Likewise.
7091 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7092
cc7834d6
OB
70932013-02-13 Ondřej Bílka <neleai@seznam.cz>
7094
ffb1ec7b 7095 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7096
7097 * string/mempcpy.c: Implement by calling memcpy.
7098
bdf02814
SP
70992013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7100
c2af38aa
SP
7101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7102
4e92d59e
SP
7103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7104 evaluation.
7105
909279a5
SP
7106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7107 values in the mantissa.
7108
bdf02814
SP
7109 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7110 minimize writes to Z.
7111 (sub_magnitudes): Simplify code a bit.
7112
cd525923
RM
71132013-02-12 Roland McGrath <roland@hack.frob.com>
7114
7115 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7116 from the message. The linker prefixes all warnings with that already.
7117
7e2f0d2d
AS
71182013-02-12 Andreas Schwab <schwab@suse.de>
7119
a445af0b
AS
7120 [BZ #15078]
7121 * posix/regexec.c (extend_buffers): Add parameter min_len.
7122 (check_matching): Pass minimum needed length.
7123 (clean_state_log_if_needed): Likewise.
7124 (get_subexp): Likewise.
7125 * posix/Makefile (tests): Add bug-regex34.
7126 (bug-regex34-ENV): Define.
7127 * posix/bug-regex34.c: New file.
7128
7e2f0d2d
AS
7129 [BZ #11561]
7130 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7131 elements compare against the byte sequence of it, not its name.
7132 * posix/Makefile (tests): Add bug-regex35.
7133 (bug-regex35-ENV): Define.
7134 * posix/bug-regex35.c: New file.
7135
a175b684
TV
71362013-02-11 Tom de Vries <tom@codesourcery.com>
7137
7138 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7139 comment.
7140 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7141 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7142 (CHECK_EOL): Add undef.
7143
310998fe 71442013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7145
7146 * bits/stdlib-bsearch.h: New file.
7147 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7148 * stdlib/stdlib.h: Likewise.
41eda41d 7149
8ded91fb
RM
71502013-02-11 Roland McGrath <roland@hack.frob.com>
7151
7152 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7153 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7154 declaration.
7155 * manual/search.texi (Array Search Function): Add missing const in
7156 lfind prototype.
7157 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7158 declaration to use rlim_t.
7159 (Basic Scheduling Functions): Remove erroneous const from
7160 sched_getparam prototype. Remove erroneous * from
7161 sched_get_priority_max and sched_get_priority_min prototypes.
7162 (Resource Usage): Fix summary @comment on vtimes to refer to
7163 sys/vtimes.h rather than vtimes.h.
7164 Add missing *s in vtimes prototype.
7165 (Limits on Resources): Fix ulimit prototype to return long int.
7166 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7167 prototypes to use long int rather than double.
7168 (BSD Random): Fix initstate and setstate to use char *, not void *.
7169 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7170 prototype to make second argument 'struct aiocb64 *const[]'.
7171 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7172 (Status of AIO Operations): Remove erroneous const in aio_return and
7173 aio_return64 prototypes.
7174 (Synchronizing I/O): Fix sync prototype to return void.
7175 * manual/startup.texi (Suboptions): Remove an erroneous const in
7176 getsubopt prototype.
7177 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7178 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7179 use size_t rather than int.
7180 (Scanning All Users): Likewise for getpwent_r.
7181 (Setting Groups): Add missing const to setgroups prototype.
7182 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7183 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7184 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7185 'const void *' rather than 'const char *'.
7186 (Host Address Functions): Likewise for inet_ntop.
7187 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7188 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7189 ssize_t for return value.
7190 (Sending Data): Likewise for send, sendto, sendmsg.
7191 (Socket Option Functions): Add a missing const in setsockopt prototype.
7192 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7193 use wchar_t for the argument.
7194 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7195 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7196 take no arguments.
7197 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7198 double/float/long double for second argument.
7199 Fix return types of significand, significandf, significandl.
7200 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7201 argument in fchmod prototype.
7202 (File Owner): Use uid_t and gid_t in fchown prototype.
7203 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7204 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7205 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7206 use 'const struct dirent **' as argument types to CMP function pointer
7207 argument.
7208 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7209 (File Times): Fix summary magic @comment for struct utimbuf and utime
7210 to refer to utime.h, not time.h.
7211 * manual/string.texi (Argz Functions): Add missing const in
7212 argz_extract and argz_next prototypes.
7213 (Finding Tokens in a String): Likewise for basename.
7214 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7215 (Copying and Concatenation): Fix typo in wmemmove prototype.
7216 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7217 (Signal Stack): Remove erroneous const in sigstack prototype.
7218 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7219 prototype.
7220 (Simple Calendar Time): Likewise for stime.
7221 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7222 prototype.
7223 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7224 say sys/sysctl.h instead.
7225 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7226 and vsyslog prototypes.
7227
fe77fe6d
TV
72282013-02-11 Tom de Vries <tom@codesourcery.com>
7229
7230 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7231 Remove.
7232
3a09b620
RM
72332013-02-11 Roland McGrath <roland@hack.frob.com>
7234
7235 * misc/sys/mman.h: Fix typo in mremap comment.
7236
550a0b89
RM
72372013-02-08 Roland McGrath <roland@hack.frob.com>
7238
7239 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7240 the '\0' terminator.
7241
a2da1673
JM
72422013-02-08 Joseph Myers <joseph@codesourcery.com>
7243
7244 [BZ #13550]
7245 * debug/segfault.c: Don't include <bp-checks.h>.
7246 * sysdeps/generic/bp-checks.h: Remove file.
7247 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7248 (__GETDENTS): Don't use CHECK_N.
7249 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7250 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7251 (__getgroups): Don't use CHECK_N.
7252 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7253 (setgroups): Don't use CHECK_N.
7254 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7255 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7256 (__libc_msgrcv): Don't use CHECK_N.
7257 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7258 (__libc_msgsnd): Don't use CHECK_N.
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7260 <bp-checks.h>.
7261 (__libc_pread): Don't use CHECK_N.
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7263 include <bp-checks.h>.
7264 (__libc_pread64): Don't use CHECK_N.
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7266 include <bp-checks.h>.
7267 (__libc_pwrite): Don't use CHECK_N.
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7269 include <bp-checks.h>.
7270 (__libc_pwrite64): Don't use CHECK_N.
7271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7272 <bp-checks.h>.
7273 (__libc_pread): Don't use CHECK_N.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7275 include <bp-checks.h>.
7276 (__libc_pread64): Don't use CHECK_N.
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7278 include <bp-checks.h>.
7279 (__libc_pwrite): Don't use CHECK_N.
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7281 include <bp-checks.h>.
7282 (__libc_pwrite64): Don't use CHECK_N.
7283 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7284 (do_pread): Don't use CHECK_N.
7285 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7286 (do_pread64): Don't use CHECK_N.
7287 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7288 (do_pwrite): Don't use CHECK_N.
7289 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7290 (do_pwrite64): Don't use CHECK_N.
7291 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7292 (__libc_readv): Don't use CHECK_N.
7293 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7294 (semop): Don't use CHECK_N.
7295 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7296 <bp-checks.h>.
7297 (semtimedop): Don't use CHECK_N.
7298 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7299 (__libc_pread): Don't use CHECK_N.
7300 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7301 <bp-checks.h>.
7302 (__libc_pread64): Don't use CHECK_N.
7303 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7304 <bp-checks.h>.
7305 (__libc_pwrite): Don't use CHECK_N.
7306 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7307 <bp-checks.h>.
7308 (__libc_pwrite64): Don't use CHECK_N.
7309 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7310 <bp-checks.h>.
7311 (__libc_msgrcv): Don't use CHECK_N.
7312 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7313 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7314 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7315 (__libc_writev): Don't use CHECK_N.
7316
b84660a8
RM
73172013-02-08 Roland McGrath <roland@hack.frob.com>
7318
7f3e75f8
RM
7319 * string/strcpy.c: Removed unused variable.
7320
b84660a8
RM
7321 * Makeconfig (+sysdep-includes): Define with := rather than =.
7322 Use an existing include/ subdir of each sysdeps dir before it.
7323
471514d3
CD
73242013-02-08 Carlos O'Donell <carlos@redhat.com>
7325
7326 * nscd/connection.c (register_traced_file): Comment function.
7327 [HAVE_INOTIFY] (union __inev): Define.
7328 [HAVE_INOTIFY] (inotify_check_files): New function.
7329 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7330 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7331 clear_db_cache.
7332 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7333
b2d3c3be
CD
73342013-02-08 Carlos O'Donell <carlos@redhat.com>
7335
7336 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7337 loaded if not already and that a failure is permanent.
7338
b39949d2
CD
73392013-02-08 Carlos O'Donell <carlos@redhat.com>
7340
ddacd1db 7341 [BZ #15006]
b39949d2
CD
7342 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7343 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7344
b2c9eff4
JM
73452013-02-08 Joseph Myers <joseph@codesourcery.com>
7346
f3aae3f3
JM
7347 [BZ #13550]
7348 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7349 (CHECK_1_NULL_OK): Likewise.
7350 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7351 (__fxstat): Do not use CHECK_1.
7352 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7353 <bp-checks.h>.
7354 (___fxstat64): Do not use CHECK_1.
7355 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7356 <bp-checks.h>.
7357 (__fxstatat): Do not use CHECK_1.
7358 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7359 <bp-checks.h>.
7360 (__fxstatat64): Do not use CHECK_1.
7361 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7362 <bp-checks.h>.
7363 (__fxstat): Do not use CHECK_1.
7364 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7365 <bp-checks.h>.
7366 (__fxstatat): Do not use CHECK_1.
7367 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7368 <bp-checks.h>.
7369 (__getresgid): Do not use CHECK_1.
7370 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7371 <bp-checks.h>.
7372 (__getresuid): Do not use CHECK_1.
7373 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7374 <bp-checks.h>.
7375 (__lxstat): Do not use CHECK_1.
7376 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7377 <bp-checks.h>.
7378 (__old_msgctl): Do not use CHECK_1.
7379 (__new_msgctl): Likewise.
7380 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7381 <bp-checks.h>.
7382 (__new_setrlimit): Do not use CHECK_1.
7383 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7384 <bp-checks.h>.
7385 (__old_shmctl): Do not use CHECK_1.
7386 (__new_shmctl): Likewise.
7387 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7388 <bp-checks.h>.
7389 (__xstat): Do not use CHECK_1.
7390 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7391 (__lxstat): Do not use CHECK_1.
7392 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7393 <bp-checks.h>.
7394 (___lxstat64): Do not use CHECK_1.
7395 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7396 (__old_msgctl): Do not use CHECK_1.
7397 (__new_msgctl): Likewise.
7398 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7399 <bp-checks.h>.
7400 (__gettimeofday): Do not use CHECK_1.
7401 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7402 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7403 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7404 <bp-checks.h>.
7405 (__gettimeofday): Do not use CHECK_1.
7406 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7407 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7408 (__new_shmctl): Do not use CHECK_1.
7409 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7410 <bp-checks.h>.
7411 (do_sigtimedwait): Do not use CHECK_1.
7412 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7413 <bp-checks.h>.
7414 (do_sigwaitinfo): Do not use CHECK_1.
7415 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7416 <bp-checks.h>.
7417 (msgctl): Do not use CHECK_1.
7418 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7419 <bp-checks.h>.
7420 (shmctl): Do not use CHECK_1.
7421 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7422 (ustat): Do not use CHECK_1.
7423 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7424 <bp-checks.h>.
7425 (__fxstat): Do not use CHECK_1.
7426 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7427 <bp-checks.h>.
7428 (__fxstatat): Do not use CHECK_1.
7429 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7430 <bp-checks.h>.
7431 (__lxstat): Do not use CHECK_1.
7432 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7433 <bp-checks.h>.
7434 (__xstat): Do not use CHECK_1.
7435 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7436 (__xstat): Do not use CHECK_1.
7437 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7438 (___xstat64): Do not use CHECK_1.
7439
b2c9eff4
JM
7440 [BZ #13550]
7441 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7442 definitions.
7443 (CHECK_BOUNDS_HIGH): Likewise.
7444 * string/strcpy.c: Do not include <bp-checks.h>.
7445 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7446
f1d70dad
RM
74472013-02-07 Roland McGrath <roland@hack.frob.com>
7448
7449 * nscd/nscd-client.h (__nscd_drop_map_ref):
7450 Add __attribute__ ((unused)).
7451 * nis/nss-nisplus.h (niserr2nss): Likewise.
7452
7453 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7454 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7455
7456 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7457 Remove inline keyword.
7458 * include/rounding-mode.h (round_away): Likewise.
7459 * libio/wfileops.c (adjust_wide_data): Likewise.
7460 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7461 (__m128i_strloadu_tolower): Likewise.
7462 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7463 (__m128i_strloadu_tolower): Likewise.
7464 * time/mktime.c (ydhms_diff): Likewise.
7465 * locale/elem-hash.h (elem_hash): Likewise.
7466 * locale/setlocale.c (setdata): Likewise.
7467 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7468 (re_string_wchar_at): Likewise.
7469 (bitset_not, bitset_merge, bitset_mask): Likewise.
7470 [!(__GNUC__ > 3)] (inline): Remove macro.
7471 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7472 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7473 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7474 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7475 * string/memcmp.c (memcmp_bytes): Likewise.
7476 * locale/programs/locarchive.c (compute_hashval): Likewise.
7477 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7478 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7479 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7480 * nss/getent.c (print_rpc, print_protocols): Likewise.
7481 (print_passwd, print_group, print_aliases): Likewise.
7482 * nis/nss-nisplus.h (niserr2nss): Likewise.
7483 * nscd/connections.c (restart_p): Likewise.
7484 Change return type to bool.
7485
eab55bfb
RM
74862013-02-05 Roland McGrath <roland@hack.frob.com>
7487
7bd642f5
RM
7488 * Makeconfig (all-Depend-files): Add existing
7489 $(sorted-subdirs:=/Depend) files.
7490 (all-subdirs): Remove nss.
7491 * sysdeps/unix/inet/Subdirs: Add it here instead.
7492 * hesiod/Depend: New file.
7493
573c29b2
RM
7494 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7495 instead of calling alloca.
7496
b2e25af0
RM
7497 * io/lseek.c (__lseek): Rename to __libc_lseek.
7498 Define __lseek as an alias.
7499
eab55bfb
RM
7500 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7501
9a0d1941
CD
75022013-02-04 Carlos O'Donell <carlos@redhat.com>
7503
7504 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7505 else clause and remove check for non-standard endianness.
7506
b83bbec4
DM
75072013-02-04 David S. Miller <davem@davemloft.net>
7508
7509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7510
6277fdab
JM
75112013-02-04 Joseph Myers <joseph@codesourcery.com>
7512
7513 [BZ #13550]
7514 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7515 (__ubp_memchr): Remove prototype.
7516 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7517 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7518 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7519 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7520 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7521 Remove alias.
7522 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7523 (__ubp_memchr): Likewise.
7524 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7525 (__ubp_memchr): Likewise.
7526 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7527 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7528 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7529 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7530 CHECK_STRING.
7531 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7532 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7533 (__getcwd): Do not use CHECK_STRING.
7534 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7535 <bp-checks.h>.
7536 (__real_chown): Do not use CHECK_STRING.
7537 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7538 <bp-checks.h>.
7539 (fchownat): Do not use CHECK_STRING.
7540 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7541 CHECK_STRING.
7542 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7543 <bp-checks.h>.
7544 (__lchown): Do not use CHECK_STRING.
7545 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7546 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7547 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7548 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7550 include <bp-checks.h>.
7551 (truncate64): Do not use CHECK_STRING.
7552 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7553 <bp-checks.h>.
7554 (__real_chown): Do not use CHECK_STRING.
7555 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7556 <bp-checks.h>.
7557 (__lchown): Do not use CHECK_STRING.
7558 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7559 <bp-checks.h>.
7560 (__chown): Do not use CHECK_STRING.
7561 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7562 <bp-checks.h>.
7563 (truncate64): Do not use CHECK_STRING.
7564 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7565 Likewise.
7566 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7567 (__xmknod): Do not use CHECK_STRING.
7568 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7569 <bp-checks.h>.
7570 (__xmknodat): Do not use CHECK_STRING.
7571 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7572 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7573
903ae060
AS
75742013-02-04 Andreas Schwab <schwab@suse.de>
7575
7576 [BZ #14142]
7577 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7578 * include/netdb.h: Likewise for h_errno.
7579 * elf/tst-stackguard1.c: Include <tls.h>.
7580
542f9466
JK
75812013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7582
7583 * elf/link.h (struct link_map): Extend the l_addr comment.
7584 * include/link.h (struct link_map): Likewise.
7585
e782a927
JM
75862013-02-01 Joseph Myers <joseph@codesourcery.com>
7587
7588 [BZ #13550]
7589 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7590 (BOUNDED_1): Remove macro.
7591 * debug/backtrace.c: Don't include <bp-checks.h>.
7592 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7593 (__backtrace): Likewise.
7594 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7595 <bp-checks.h>.
7596 (__backtrace): Don't use BOUNDED_1.
7597 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7598 <bp-checks.h>.
7599 (__backtrace): Don't use BOUNDED_1.
7600 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7601 (__backtrace): Don't use BOUNDED_1.
7602 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7603 (shmat): Don't use BOUNDED_N.
7604
8cf28c5e
JM
76052013-01-31 Joseph Myers <joseph@codesourcery.com>
7606
3a7ac8a0
JM
7607 [BZ #13550]
7608 * sysdeps/generic/bp-start.h: Remove file.
7609 * csu/libc-start.c: Don't include <bp-start.h>.
7610 (LIBC_START_MAIN): Set up __environ directly instead of using
7611 INIT_ARGV_and_ENVIRON.
7612 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7613 <bp-start.h>.
7614
f3499f95
JM
7615 [BZ #13550]
7616 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7617 definitions.
7618 (CHECK_FCNTL): Likewise.
7619 (CHECK_N_PAGES): Likewise.
7620
32a45bea
JM
7621 [BZ #13550]
7622 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7623 definitions.
7624 (CHECK_SIGSET_NULL_OK): Likewise.
7625 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7626 <bp-checks.h>.
7627 (sigpending): Don't use CHECK_SIGSET.
7628 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7629 <bp-checks.h>.
7630 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7631 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7632 <bp-checks.h>.
7633 (do_sigsuspend): Don't use CHECK_SIGSET.
7634 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7635 use CHECK_SIGSET.
7636 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7637 (do_sigwait): Don't use CHECK_SIGSET.
7638 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7639 use CHECK_SIGSET.
7640 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7641 include <bp-checks.h>.
7642 (sigpending): Don't use CHECK_SIGSET.
7643 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7644 include <bp-checks.h>.
7645 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7646 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7647 <bp-checks.h>.
7648 (sigpending): Don't use CHECK_SIGSET.
7649 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7650 <bp-checks.h>.
7651 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7652
2e8a5c8c
JM
7653 [BZ #13550]
7654 * sysdeps/generic/bp-semctl.h: Remove file.
7655 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7656 <bp-checks.h> and <bp-semctl.h>.
7657 (__old_semctl): Don't use CHECK_SEMCTL.
7658 (__new_semctl): Likewise.
7659 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7660 and <bp-semctl.h>.
7661 (__old_semctl): Don't use CHECK_SEMCTL.
7662 (__new_semctl): Likewise.
7663 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7664 <bp-checks.h> and <bp-semctl.h>.
7665 (__old_semctl): Don't use CHECK_SEMCTL.
7666 (__new_semctl): Likewise.
7667 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7668 <bp-checks.h> and <bp-semctl.h>.
7669 (semctl): Don't use CHECK_SEMCTL.
7670
c2d54929
JM
7671 [BZ #13550]
7672 * Makerules (elide-bp-thunks): Remove variable.
7673 (elide-routines.oS): Don't use $(elide-bp-thunks).
7674 (elide-routines.os): Likewise.
7675 (elide-routines.o): Likewise.
7676 (elide-routines.op): Likewise.
7677 (elide-routines.og): Likewise.
7678 (objects): Don't use $(bp-thunks).
7679 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7680 include.
7681 (common-generated): Do not add s-proto-bp.d.
7682 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7683 (int): Likewise.
7684 (typ): Likewise.
7685 Do not generate makefile rules for bounded-pointer thunks.
7686 * sysdeps/generic/bp-thunks.h: Remove file.
7687 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7688 * sysdeps/unix/s-proto-bp.S: Likewise.
7689
8cf28c5e
JM
7690 [BZ #15062]
7691 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7692 parts of result separately when argument is not close to line from
7693 -i to i and one part of argument is small.
7694 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7695 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7696 * math/libm-test.inc (cacos_test): Add more tests.
7697 (casin_test): Likewise.
7698 (casinh_test): Likewise.
7699 * sysdeps/i386/fpu/libm-test-ulps: Update.
7700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7701
c4e33b8d
DM
77022013-01-31 David S. Miller <davem@davemloft.net>
7703
7704 * po/de.po: Update from translation team.
7705
3b60b421
MK
77062013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7707
7708 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7709
bb931195
TS
77102013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7711
b5a5da23
TS
7712 * configure.in (_AC_PROG_CC_C89): New definition.
7713 * configure: Regenerate.
7714
bb931195
TS
7715 * configure.in (AC_PROG_CPP): New definition.
7716 * configure: Regenerate.
7717
8c53a12c
JM
77182013-01-23 Joseph Myers <joseph@codesourcery.com>
7719
7720 * debug/tst-backtrace.h: New file.
7721 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7722 (ret): Remove variable.
7723 (x): Likewise.
7724 (FAIL): Remove macro.
7725 (NO_INLINE): Likewise.
7726 (fn1): Use match function instead of strstr.
7727 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7728 (ret): Remove variable.
7729 (x): Likewise.
7730 (FAIL): Remove macro.
7731 (NO_INLINE): Likewise.
7732 (fn): Use match function instead of strstr.
7733 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7734 (ret): Remove variable.
7735 (x): Likewise.
7736 (FAIL): Remove macro.
7737 (NO_INLINE): Likewise.
7738 (handle_signal): Use match function instead of strstr.
7739 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7740 (ret): Remove variable.
7741 (x): Likewise.
7742 (FAIL): Remove macro.
7743 (NO_INLINE): Likewise.
7744 (handle_signal): Use match function instead of strstr.
7745
4858fa2a
RM
77462013-01-23 Roland McGrath <roland@hack.frob.com>
7747
7748 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7749
bae8e7f5
DM
77502013-01-23 David S. Miller <davem@davemloft.net>
7751
7752 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7753 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7754 argument of CAS if possible.
7755 * sysdeps/sparc/sparc64/bits/atomic.h
7756 (__arch_compare_and_exchange_val_32_acq): Likewise.
7757 (__arch_compare_and_exchange_val_64_acq): Likewise.
7758
9cbbc4ae
PT
77592013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7760
7761 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7762 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7763 Include <limits.h>.
67b3f58c 7764 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7765
5655a0b5
AC
77662013-01-23 Adam Conrad <adconrad@0c3.net>
7767
7768 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7769 (LDFLAGS-tst-array5): Likewise.
7770
052aff95
JM
77712013-01-23 Joseph Myers <joseph@codesourcery.com>
7772
7773 [BZ #15036]
7774 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7775 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7776 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7777 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7778
7c1e01aa
DM
77792013-01-21 David S. Miller <davem@davemloft.net>
7780
7781 * sysdeps/sparc/backtrace.c: New file.
7782 * sysdeps/sparc/sparc32/backtrace.h: New file.
7783 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7784 * sysdeps/sparc/sparc64/backtrace.h: New file.
7785 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7786 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7787 -funwind-tables.
7788
ab087e0a
AS
77892013-01-21 Andreas Schwab <schwab@suse.de>
7790
7791 [BZ #15020]
7792 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7793 closed its stdout.
7794
ed689c2f
AS
77952013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7796
7797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7798 "mpa2.h".
7799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7800
31d470ac
JM
78012013-01-18 Joseph Myers <joseph@codesourcery.com>
7802 Mark Mitchell <mark@codesourcery.com>
7803 Tom de Vries <tom@codesourcery.com>
7804 Paul Pluzhnikov <ppluzhnikov@google.com>
7805
7806 * debug/tst-backtrace2.c: New file.
7807 * debug/tst-backtrace3.c: Likewise.
7808 * debug/tst-backtrace4.c: Likewise.
7809 * debug/tst-backtrace5.c: Likewise.
7810 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7811 (CFLAGS-tst-backtrace3.c): Likewise.
7812 (CFLAGS-tst-backtrace4.c): Likewise.
7813 (CFLAGS-tst-backtrace5.c): Likewise.
7814 (LDFLAGS-tst-backtrace2): Likewise.
7815 (LDFLAGS-tst-backtrace3): Likewise.
7816 (LDFLAGS-tst-backtrace4): Likewise.
7817 (LDFLAGS-tst-backtrace5): Likewise.
7818 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7819 tst-backtrace4 and tst-backtrace5.
7820
90567f30 78212013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7822 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7823
7824 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7825 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7826 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7827 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7829 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7830 "+r" and remove output regs list as redundant. Add explicit inline
7831 asm to specify register of return val to work around compiler codegen
7832 bug. Remove (int) cast on return value. Add return type parameter to
7833 use in macro so that this macro does not truncate return value for
7834 64-bit values.
7835 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7836 pass to INTERNAL_VSYSCALL_NCS.
7837 (INLINE_VSYSCALL): Add 'long int' as return type to
7838 INTERNAL_VSYSCALL_NCS macro invocation.
7839 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7840 INTERNAL_VSYSCALL_NCS macro invocation.
7841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7842
d3b9ea61
SP
78432013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7844
0b57daeb
SP
7845 [BZ #14496]
7846 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7847 Fix application of SIMD FP exception mask.
7848
caa99d06
SP
7849 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7850 mp_no from a power of two.
7851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7852 __mpexp_twomm1. Use __pow_mp.
7853
d3b9ea61
SP
7854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7855 multiplication.
7856
1dbaee3c
DM
78572013-01-17 David S. Miller <davem@davemloft.net>
7858
7859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7860
728d7b43
JM
78612013-01-17 Joseph Myers <joseph@codesourcery.com>
7862
7863 [BZ #15023]
7864 * include/complex.h: Condition contents on [!_COMPLEX_H].
7865 (__kernel_casinhf): New prototype.
7866 (__kernel_casinh): Likewise.
7867 (__kernel_casinhl): Likewise.
7868 * math/Makefile (libm_calls): Add k_casinh.
7869 * math/k_casinh.c: New file.
7870 * math/k_casinhf.c: Likewise.
7871 * math/k_casinhl.c: Likewise.
7872 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7873 finite nonzero arguments.
7874 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7875 finite nonzero arguments.
7876 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7877 finite nonzero arguments.
7878 * math/s_casinh.c: Do not include <float.h>.
7879 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7880 * math/s_casinhf.c: Do not include <float.h>.
7881 (__casinhf): Move code for finite nonzero arguments to
7882 k_casinhf.c.
7883 * math/s_casinhl.c: Do not include <float.h>.
7884 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7885 redefine.
7886 (__casinhl): Move code for finite nonzero arguments to
7887 k_casinhl.c.
7888 * math/libm-test.inc (cacos_test): Add more tests.
7889 * sysdeps/i386/fpu/libm-test-ulps: Update.
7890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7891
2a26ef3a
PT
78922013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7893
7894 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7895 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7896 [!HAVE_MREMAP]: Remove [defined linux] case.
7897 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7898
a897655d
SP
78992013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7900
7901 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7902
881ebe89 79032013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7904
7905 * elf/elf.h (R_386_SIZE32): New relocation.
7906 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7907 R_386_SIZE32.
7908 (elf_machine_rela): Likewise.
7909 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7910 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7911
59981e9b
JM
79122013-01-17 Joseph Myers <joseph@codesourcery.com>
7913
7914 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7915 (FP_FAST_FMA): Do not define.
7916 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7917 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7918 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7919 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7920 !_SOFT_FLOAT]: Likewise.
7921 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7922 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7923 value.
7924 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7925 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7926 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7927 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7928 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7929 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7930 file.
7931
cfa8054f
AS
79322013-01-16 Andreas Schwab <schwab@suse.de>
7933
7934 [BZ #14327]
7935 * include/stdlib.h (__mktemp): Add declaration.
7936 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7937 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7938
dd930cc5
SP
79392013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7940
881ebe89
SP
7941 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7942 definitions.
7943 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7944 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7945 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7946 definitions here.
7947 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7948 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7949 definitions.
7950 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7951 and ONE.
7952 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7953 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7954 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7955 definitions.
7956 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7957 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7958 definitions.
7959 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7960
dd930cc5
SP
7961 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7962
c19a9f89
DM
79632013-01-15 David S. Miller <davem@davemloft.net>
7964
1aa61767
DM
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7966 trunc{,f} to libm-sysdep_routes.
7967 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7969 file.
7970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7972 file.
7973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7974 file.
7975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7977 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7978 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7979 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7980 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7981 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7983
c42d5e98
DM
7984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7985 nearbyint{,f} to libm-sysdep_routes.
7986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7988 New file.
7989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7990 file.
7991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7992 New file.
7993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7994 file.
7995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7997 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7998 file.
7999 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8001 file.
8002 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8003 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8004 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8005
c19a9f89
DM
8006 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8007 libc_feholdexcept and libc_fesetenv.
8008
357679d2
MF
80092013-01-15 Mike Frysinger <vapier@gentoo.org>
8010
8011 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8012
65a82e3d
DM
80132013-01-14 David S. Miller <davem@davemloft.net>
8014
8b954ab9
DM
8015 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8016 (SPARC_ASM_VIS2_IFUNC): Likewise.
8017 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8019 use of 'siam' instruction.
8020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8021 Likewise.
8022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8023 Likewise.
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8025 Likewise.
8026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8031 file.
8032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8033 file.
8034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8035 file.
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8037 file.
8038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8043 new VIS2 routines.
8044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8047 Likewise.
8048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8053 routines to libm-sysdep_routines.
8054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8055
65a82e3d
DM
8056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8057 fdim/fdimf to libm-sysdep_routines.
8058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8059 file.
8060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8062 file.
8063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8066 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8067 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8068 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8069 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8070
e34ab705
SP
80712013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8072
2a91b573
SP
8073 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8074 to optimize copies.
8075
1066a534
SP
8076 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8079
e34ab705
SP
8080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8081 local variable MPTWO.
8082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8083 Likewise.
8084
aba5e596
MF
80852013-01-13 Mike Frysinger <vapier@gentoo.org>
8086
8087 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8088 GLOB_NOESCAPE.
8089
e557e9e5
MF
80902013-01-13 Mike Frysinger <vapier@gentoo.org>
8091
8092 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8093
0428cec9
MF
80942013-01-13 Mike Frysinger <vapier@gentoo.org>
8095
8096 * manual/pattern.texi (glob_t): Document gl_flags.
8097 (glob64_t): Likewise.
8098
8794a964
DM
80992013-01-11 David S. Miller <davem@davemloft.net>
8100
66438c3f
RM
8101 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8102 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8103 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8104 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8105 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8106 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8107 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8108 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8109 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8110 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8111 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8112 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8113 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8114
4ae4244d
DM
8115 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8116 sparc V9 rather than using V8 code.
8117 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8118 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8119
8794a964
DM
8120 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8121 Move to...
8122 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8123 Here.
8124
6270516e
RM
81252013-01-11 Roland McGrath <roland@hack.frob.com>
8126
8127 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8128 not in the main loop.
8129 * configure: Regenerated.
8130
6a57d931
JM
81312013-01-11 Joseph Myers <joseph@codesourcery.com>
8132
8133 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8134 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8135 to just #else.
8136 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8137 [!__GLIBC_HAVE_LONG_LONG] case.
8138 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8139 condition to just #else.
8140 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8141 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8142 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8143 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8144 unconditional.
8145 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8146 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8147 #elif condition to just #else.
8148 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8149 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8150 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8151 #elif condition to just #else.
8152
0e8529e9
SE
81532013-01-11 Steve Ellcey <sellcey@mips.com>
8154
8155 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8156 (EF_MIPS_ARCH_64): Fix value.
8157 (EF_MIPS_ARCH_32R2): New.
8158 (EF_MIPS_ARCH_64R2): New.
8159
740b3dbe
L
81602013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8161
8162 * Makeconfig (+link-pie-before-libc): New.
8163 (+link-pie-after-libc): Likewise.
8164 (+link-pie-tests): Likewise.
8165 (+link-pie): Rewritten.
8166 (link-before-libc): Remove $(config-LDFLAGS).
8167 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8168 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8169 (config-LDFLAGS): Renamed to ...
8170 (rtld-LDFLAGS): This.
8171 (rtld-tests-LDFLAGS): New macro.
8172 (link-libc-rpath-link): Likewise.
8173 (link-libc-tests-rpath-link): Likewise.
8174 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8175 (link-libc): Prepand $(link-libc-rpath-link).
8176 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8177 (test-program-prefix): New macro.
8178 (test-via-rtld-prefix): Likewise.
8179 (test-program-cmd): Likewise.
8180 (host-test-program-cmd): Likewise.
8181 * Makefile ($(common-objpfx)testrun.sh): Replace
8182 $(run-program-prefix) with $(test-program-prefix).
8183 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8184 $(rtld-LDFLAGS).
8185 ($(common-objpfx)shlib.lds): Likewise.
8186 (build-module-helper): Likewise.
8187 ($(common-objpfx)format.lds): Likewise.
8188 * Rules (binaries-pie-tests): New.
8189 (binaries-pie-notests): Likewise.
8190 (binaries-pie): Rewritten.
8191 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8192 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8193 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8194 (make-test-out): Replace $(host-built-program-cmd) with
8195 $(host-test-program-cmd).
8196 * config.make.in (build-hardcoded-path-in-tests): New variable.
8197 * configure.in (--enable-hardcoded-path-in-tests): New configure
8198 option.
8199 (hardcoded_path_in_tests): New AC_SUBST.
8200 * configure: Regenerated.
8201 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8202 $(built-program-cmd) with $(test-program-cmd).
8203 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8204 (test_program_cmd): This.
8205 * elf/Makefile ($(objpfx)order.out): Run test with
8206 $(test-program-prefix).
8207 ($(objpfx)order2.out): Likewise.
8208 ($(objpfx)tst-initorder.out): Likewise.
8209 ($(objpfx)tst-initorder2.out): Likewise.
8210 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8211 $(test-program-cmd).
8212 ($(objpfx)tst-array1-static.out): Likewise.
8213 ($(objpfx)tst-array2.out): Likewise.
8214 ($(objpfx)tst-array3.out): Likewise.
8215 ($(objpfx)tst-array4.out): Likewise.
8216 ($(objpfx)tst-array5.out): Likewise.
8217 ($(objpfx)tst-array5-static.out): Likewise.
8218 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8219 $(test-program-cmd).
8220 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8221 $(run-program-prefix) with $(test-program-prefix).
8222 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8223 (test_program_prefix): This.
8224 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8225 $(run-program-prefix) with $(test-program-prefix).
8226 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8227 (test_program_prefix): This.
8228 * iconvdata/tst-tables.sh: Likewise.
8229 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8230 $(run-program-prefix) with $(test-program-prefix).
8231 ($(objpfx)tst-translit.out): Likewise.
8232 ($(objpfx)tst-gettext2.out): Likewise.
8233 ($(objpfx)tst-gettext4.out): Likewise.
8234 ($(objpfx)tst-gettext6.out): Likewise.
8235 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8236 (test_program_prefix): This.
8237 * intl/tst-gettext2.sh: Likewise.
8238 * intl/tst-gettext4.sh Likewise.
8239 * intl/tst-gettext6.sh: Likewise.
8240 * intl/tst-translit.sh: Likewise.
8241 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8242 with $(test-program-cmd).
8243 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8244 $(run-program-prefix) with $(test-program-prefix).
8245 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8246 (test_program_prefix): This.
8247 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8248 $(run-program-prefix) with $(test-program-prefix).
8249 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8250 (test_program_prefix): This.
8251 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8252 * posix/Makefile ($(objpfx)globtest.out): Replace
8253 $(run-via-rtld-prefix) and $(test-wrapper) with
8254 $(test-program-prefix) and $(test-via-rtld-prefix).
8255 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8256 $(test-program-prefix).
8257 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8258 $(host-test-program-cmd).
8259 (tst-spawn-ARGS): Likewise.
8260 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8261 $(test-program-prefix).
8262 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8263 (test_via_rtld_prefix): This.
8264 (test_wrapper): Renamed to ...
8265 (test_program_prefix): This.
8266 (run_program_prefix): Replaced by test_program_prefix.
8267 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8268 (test_program_prefix): This.
8269 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8270 with $(host-test-program-cmd).
8271 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8272 $(run-program-prefix) with $(test-program-prefix).
8273 ($(objpfx)tst-printf.out): Likewise.
8274 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8275 $(test-program-cmd).
8276 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8277 (test_program_prefix): This.
8278 * stdio-common/tst-unbputc.sh: Likewise.
8279 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8280 $(run-program-prefix) with $(test-program-prefix).
8281 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8282 (test_program_prefix): This.
8283 * string/Makefile ($(objpfx)tst-svc.out): Replace
8284 $(built-program-cmd) with $(test-program-cmd).
8285
c6fe55cf
AJ
82862013-01-11 Andreas Jaeger <aj@suse.de>
8287
8288 [BZ #15003]
8289 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8290 value. Sync with Linux 3.7.
8291
9e6919c8
DM
82922013-01-10 David S. Miller <davem@davemloft.net>
8293
8294 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8295 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8296 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8297
1c9f1a02
RM
82982013-01-10 Roland McGrath <roland@hack.frob.com>
8299
8300 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8301 never set.
8302 * configure: Regenerated.
8303
b9de2dde
DM
83042013-01-10 David S. Miller <davem@davemloft.net>
8305
8306 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8307 sparc V9 rather than using V8 code.
8308 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8309 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8310
e7f68ef4
RM
83112013-01-10 Roland McGrath <roland@hack.frob.com>
8312
8313 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8314 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8315 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8316 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8317 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8318 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8319 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8320 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8321 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8322 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8323 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8324 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8325 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8326 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8327 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8328 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8329 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8330 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8331 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8332 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8333 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8334 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8335 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8336 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8337 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8338 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8339 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8340
5a47cc9c
DM
83412013-01-10 David S. Miller <davem@davemloft.net>
8342
8343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8344
4cf8f209
L
83452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * posix/Makefile (tests-static): New variable.
8348 (tests): Add $(tests-static).
8349 (tst-exec-static-ARGS): New variable.
8350 (tst-spawn-static-ARGS): Likewise.
8351 * posix/tst-exec-static.c: New file.
8352 * posix/tst-spawn-static.c: Likewise.
8353 * posix/tst-exec.c: Support run directly.
8354 * posix/tst-spawn.c: Likewise.
8355
fed0faa1
JM
83562013-01-10 Joseph Myers <joseph@codesourcery.com>
8357
828beb13
JM
8358 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8359 long.
8360 * math/bits/mathcalls.h (llrint): Likewise.
8361 (llround): Likewise.
8362 * stdlib/stdlib.h (struct drand48_data): Likewise.
8363 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8364 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8365 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8366 Likewise.
8367 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8368 Likewise.
8369 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8370 (elf_greg_t): Likewise.
8371 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8372 (__jmp_buf): Likewise.
8373 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8374 definitions.
8375 (llrint): Likewise, for all definitions.
8376 (llrintl): Likewise.
8377
fed0faa1
JM
8378 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8379 Remove [__GNUC__] condition.
8380 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8381 condition to just [__USE_ISOC99].
8382 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8383
1a20cb20
L
83842013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8385
8386 [BZ #14200]
8387 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8388 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8389 defined.
8390 (_POSIX_V6_ILP32_OFF32): Likewise.
8391 (_XBS5_ILP32_OFF32): Likewise.
8392 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8393 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8394
751b85f7
SP
83952013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8396
7490eb81
SP
8397 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8398
751b85f7
SP
8399 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8400 doubles __mpexp_twomm1. Adjust usage.
8401 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8402 Remove.
8403
988197f0
AS
84042013-01-10 Andreas Schwab <schwab@suse.de>
8405
8406 [BZ #14964]
8407 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8408 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8409
e83d7298
DM
84102013-01-09 David S. Miller <davem@davemloft.net>
8411
034ed64b 8412 [BZ #15003]
e83d7298
DM
8413 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8414 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8415 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8416 TCP_FASTOPEN): Define.
8417 (tcp_repair_opt): New structure.
8418 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8419 enum values.
8420 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8421 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8422 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8423 (tcp_cookie_transactions): New structure.
8424
d5e0b9bd
AB
84252013-01-09 Anton Blanchard <anton@samba.org>
8426
8427 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8428 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8429 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8430 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8431
0c07e3ea
JM
84322013-01-09 Joseph Myers <joseph@codesourcery.com>
8433
8434 * include/features.h (__USE_ANSI): Remove.
8435
232f7002
RM
84362013-01-09 Roland McGrath <roland@hack.frob.com>
8437
ad98e30c
RM
8438 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8439
232f7002
RM
8440 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8441
950c99ca
SP
84422013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8443
b5792741
SP
8444 * sysdeps/s390/fpu/libm-test-ulps: Update.
8445
47cf2278
SP
8446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8447
950c99ca
SP
8448 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8449 (__acr): Likewise.
8450 (__cpy): Likewise.
8451 (norm): Likewise.
8452 (denorm): Likewise.
8453 (__mp_dbl): Likewise.
8454 (__dbl_mp): Likewise.
8455 (add_magnitudes): Likewise.
8456 (sub_magnitudes): Likewise.
8457 (__add): Likewise.
8458 (__sub): Likewise.
8459 (__mul): Likewise.
8460 (__inv): Likewise.
8461 (__dvd): Likewise.
8462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8463 (__acr): Likewise.
8464 (__cpy): Likewise.
8465 (norm): Likewise.
8466 (denorm): Likewise.
8467 (__mp_dbl): Likewise.
8468 (__dbl_mp): Likewise.
8469 (add_magnitudes): Likewise.
8470 (sub_magnitudes): Likewise.
8471 (__add): Likewise.
8472 (__sub): Likewise.
8473 (__mul): Likewise.
8474 (__inv): Likewise.
8475 (__dvd): Likewise.
8476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8477 (__acr): Likewise.
8478 (__cpy): Likewise.
8479 (norm): Likewise.
8480 (denorm): Likewise.
8481 (__mp_dbl): Likewise.
8482 (__dbl_mp): Likewise.
8483 (add_magnitudes): Likewise.
8484 (sub_magnitudes): Likewise.
8485 (__add): Likewise.
8486 (__sub): Likewise.
8487 (__mul): Likewise.
8488 (__inv): Likewise.
8489 (__dvd): Likewise.
8490
eede9df9
JM
84912013-01-08 Joseph Myers <joseph@codesourcery.com>
8492
8493 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8494 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8495 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8496 2 && __USE_EXTERN_INLINES]: Likewise.
8497
c40ea3d9
AJ
84982013-01-08 Andreas Jaeger <aj@suse.de>
8499
8500 [BZ# 14985]
8501 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8502 Remove.
8503 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8504 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8505
2ccdea26
AB
85062013-01-07 Anton Blanchard <anton@samba.org>
8507
8508 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8509 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8510 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8511 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8512 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8513 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8514 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8515 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8517 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8518 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8519 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8520 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8521 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8522 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8523 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8524 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8525 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8526 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8527 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8528 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8529 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8531 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8532 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8533 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8534 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8535 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8537 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8538 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8540 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8541 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8542 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8543 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8544 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8545 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8546 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8547 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8548 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8549 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8550 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8551
a9708fed
JM
85522013-01-07 Joseph Myers <joseph@codesourcery.com>
8553
375607b9
JM
8554 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8555 (__MALLOC_PMT): Likewise.
8556 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8557 [__GNUC__], only on [_LIBC].
8558 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8559 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8560 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8561 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8562 forward declaration.
8563 (realloc_hook_ini): Likewise.
8564 (memalign_hook_ini): Likewise.
8565 (__libc_memalign): Do not use __MALLOC_PMT in variable
8566 declaration.
8567 (__libc_valloc): Likewise.
8568 (__libc_pvalloc): Likewise.
8569 (__libc_calloc): Likewise.
8570 (__posix_memalign): Likewise.
8571
a9708fed
JM
8572 [BZ #14996]
8573 * math/s_casinh.c: Include <float.h>.
8574 (__casinh): Do not do computation with squaring and square root
8575 for large arguments.
8576 * math/s_casinhf.c: Include <float.h>.
8577 (__casinhf): Do not do computation with squaring and square root
8578 for large arguments.
8579 * math/s_casinhl.c: Include <float.h>.
8580 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8581 (__casinhl): Do not do computation with squaring and square root
8582 for large arguments.
8583 * math/libm-test.inc (casin_test): Add more tests.
8584 (casinh_test): Likewise.
8585 * sysdeps/i386/fpu/libm-test-ulps: Update.
8586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8587
afec409a
L
85882013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8589
8590 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8591 (__x86_64_raw_data_cache_size): Likewise.
8592 (__x86_64_data_cache_size_half): Likewise.
8593 (__x86_64_raw_data_cache_size_half): Likewise.
8594 (__x86_64_shared_cache_size): Likewise.
8595 (__x86_64_raw_shared_cache_size): Likewise.
8596 (__x86_64_shared_cache_size_half): Likewise.
8597 (__x86_64_raw_shared_cache_size_half): Likewise.
8598 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8599 to ...
8600 (__x86_data_cache_size): This.
8601 (__x86_64_raw_data_cache_size): Renamed to ...
8602 (__x86_raw_data_cache_size): This.
8603 (__x86_64_data_cache_size_half): Renamed to ...
8604 (__x86_data_cache_size_half): This.
8605 (__x86_64_raw_data_cache_size_half): Renamed to ...
8606 (__x86_raw_data_cache_size_half): This.
8607 (__x86_64_shared_cache_size): Renamed to ...
8608 (__x86_shared_cache_size): This.
8609 (__x86_64_raw_shared_cache_size): Renamed to ...
8610 (__x86_raw_shared_cache_size): This.
8611 (__x86_64_shared_cache_size_half): Renamed to ...
8612 (__x86_shared_cache_size_half): This.
8613 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8614 (__x86_raw_shared_cache_size_half): This.
8615 * sysdeps/x86_64/memcpy.S: Updated.
8616 * sysdeps/x86_64/memset.S: Likewise.
8617 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8618 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8619 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8620
0b3986d0
DM
86212013-01-04 David S. Miller <davem@davemloft.net>
8622
8623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8624
e47686e9
AS
86252013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8626
d643bac1
AS
8627 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8628 1 to avoid redefinition warning.
8629 (__USE_GNU): Don't define.
8630 (init_signaling_nan): Protoize.
8631
e47686e9
AS
8632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8633
b18decba
SP
86342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8635
fffb407f
SP
8636 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8638 (__cpymn): Likewise.
8639 (norm): Remove commented code.
8640 (denorm): Likewise.
8641 (__mp_dbl): Likewise.
8642 (__inv): Likewise.
8643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8644 (__cpymn): Likewise.
8645 (norm): Remove commented code.
8646 (denorm): Likewise.
8647 (__mp_dbl): Likewise.
8648 (__inv): Likewise.
8649
b18decba
SP
8650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8651 mp_no value for 1.0 and 2.0.
8652 (norm): Use RADIXI instead of radixi.d.
8653 (denorm): Likewise.
8654 (__mul): Use 0.0 instead of zero.d.
8655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8656 mp_no value for 1.0 and 2.0.
8657 (norm): Use RADIXI instead of radixi.d.
8658 (denorm): Likewise.
8659 (__mul): Use 0.0 instead of zero.d.
8660
cdc1c96f
JM
86612013-01-04 Joseph Myers <joseph@codesourcery.com>
8662
8663 [BZ #14994]
8664 * math/s_casinh.c (__casinh): Reduce finite argument to first
8665 quadrant then set signs of results at the end.
8666 * math/s_casinhf.c (__casinhf): Likewise.
8667 * math/s_casinhl.c (__casinhl): Likewise.
8668 * math/libm-test.inc (casin_test): Add more tests.
8669 (casinh_test): Likewise.
8670 * sysdeps/i386/fpu/libm-test-ulps: Update.
8671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8672
302913e1
SP
86732013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8674
6420d207
SP
8675 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8676
a9e48ab4
SP
8677 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8678
b7837264
SP
8679 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8680 declarations.
8681 (denorm): Likewise.
8682 (__mp_dbl): Likewise.
8683 (__inv): Likewise.
8684
f8af25d2
SP
8685 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8686 and adjust the header comment.
8687
302913e1
SP
8688 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8689 variable name from declaration.
8690
5d7dd1ca
L
86912013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8692
8693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8694 Initialize COMMON_CPUID_INDEX_7 element.
8695 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8696 (CPUID_RTM): Likewise.
8697 (HAS_RTM): Likewise.
8698 (COMMON_CPUID_INDEX_7): New enum.
8699
2f5f40f4
AS
87002013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8701
8702 [BZ #14981]
8703 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8704 size is zero, record memory as freed.
8705
4056f4a0
AJ
87062013-01-03 Andreas Jaeger <aj@suse.de>
8707
8708 * po/ia.po: Add new Interlingua translation.
8709
ab15736f 87102012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8711
8712 * locale/programs/localedef.c: Fix description of '--posix' flag.
8713
568035b7
JM
87142013-01-02 Joseph Myers <joseph@codesourcery.com>
8715
e6898b8d
JM
8716 * NEWS: Update dates in second copyright notice.
8717 * README: Update copyright dates in example.
8718 * manual/libc.texinfo: Update copyright dates.
8719 * scripts/test-installation.pl: Update copyright date in --version
8720 output.
8721
0e2f9562
JM
8722 * hurd/ctty-input.c: Fix copyright notice formatting.
8723 * hurd/ctty-output.c: Likewise.
8724 * hurd/dtable.c: Likewise.
8725 * hurd/hurd-raise.c: Likewise.
8726 * hurd/hurdprio.c: Likewise.
8727 * hurd/msgportdemux.c: Likewise.
8728 * misc/sys/file.h: Likewise.
8729 * misc/sys/ioctl.h: Likewise.
8730 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8731 * sysdeps/mach/hurd/chdir.c: Likewise.
8732 * sysdeps/mach/hurd/fchdir.c: Likewise.
8733 * sysdeps/mach/hurd/rename.c: Likewise.
8734 * sysdeps/mach/hurd/rmdir.c: Likewise.
8735 * sysdeps/mach/hurd/seekdir.c: Likewise.
8736 * sysdeps/mach/hurd/setsid.c: Likewise.
8737 * sysdeps/posix/wait3.c: Likewise.
8738
568035b7
JM
8739 * All files with FSF copyright notices: Update copyright dates
8740 using scripts/update-copyrights.
8741 * intl/plural.c: Regenerated.
8742 * locale/programs/charmap-kw.h: Likewise.
8743 * locale/programs/locfile-kw.h: Likewise.
8744
da08f647
SP
87452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8746
0f5477af
SP
8747 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8748 four values.
8749
44e0d4c2
SP
8750 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8751 calculation loop and add branch prediction.
8752
4d55b4e5
SP
8753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8754 check access beyond bounds of m1np.
8755
da08f647
SP
8756 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8757 MPTWO.
8758 (__inv): Remove local variable MPTWO to use the global
8759 constant.
8760 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8761 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8762 variable MPTWO.
8763 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8764 MP3HALFS static const.
8765
8e051029
DM
87662013-01-01 David S. Miller <davem@davemloft.net>
8767
8768 * po/ca.po: Update from translation team.
8769
f4cf5f2d
JM
87702013-01-01 Joseph Myers <joseph@codesourcery.com>
8771
8772 * scripts/update-copyrights: New file.
8773 * Makeconfig: Reformat copyright notice.
8774 * ctype/ctype.h: Likewise.
8775 * debug/swprintf_chk.c: Likewise.
8776 * elf/dl-cache.c: Likewise.
8777 * elf/dl-debug.c: Likewise.
8778 * elf/dl-object.c: Likewise.
8779 * grp/initgroups.c: Likewise.
8780 * hurd/Makefile: Likewise.
8781 * hurd/hurd/signal.h: Likewise.
8782 * hurd/hurdfault.c: Likewise.
8783 * hurd/hurdioctl.c: Likewise.
8784 * hurd/hurdlookup.c: Likewise.
8785 * hurd/intr-msg.c: Likewise.
8786 * iconv/gconv_open.c: Likewise.
8787 * libio/swprintf.c: Likewise.
8788 * locale/lc-ctype.c: Likewise.
8789 * locale/nl_langinfo.c: Likewise.
8790 * mach/Machrules: Likewise.
8791 * mach/Makefile: Likewise.
8792 * malloc/obstack.h: Likewise.
8793 * manual/Makefile: Likewise.
8794 * manual/tsort.awk: Likewise.
8795 * misc/bits/stab.def: Likewise.
8796 * nis/nis_print_group_entry.c: Likewise.
8797 * nis/nis_table.c: Likewise.
8798 * nis/nss_compat/compat-pwd.c: Likewise.
8799 * nis/nss_compat/compat-spwd.c: Likewise.
8800 * po/Makefile: Likewise.
8801 * posix/fnmatch.c: Likewise.
8802 * posix/regex.h: Likewise.
8803 * resolv/Makefile: Likewise.
8804 * resolv/nss_dns/dns-network.c: Likewise.
8805 * resolv/res_hconf.c: Likewise.
8806 * scripts/gen-sorted.awk: Likewise.
8807 * soft-fp/soft-fp.h: Likewise.
8808 * stdio-common/printf.h: Likewise.
8809 * stdlib/monetary.h: Likewise.
8810 * stdlib/random.c: Likewise.
8811 * stdlib/random_r.c: Likewise.
8812 * sysdeps/generic/Makefile: Likewise.
8813 * sysdeps/gnu/Makefile: Likewise.
8814 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8842 * sysdeps/mach/hurd/errnos.awk: Likewise.
8843 * sysdeps/mach/hurd/fork.c: Likewise.
8844 * sysdeps/mach/hurd/getcwd.c: Likewise.
8845 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8846 * sysdeps/mach/hurd/mmap.c: Likewise.
8847 * sysdeps/mach/hurd/utimes.c: Likewise.
8848 * sysdeps/mach/hurd/xmknod.c: Likewise.
8849 * sysdeps/posix/profil.c: Likewise.
8850 * sysdeps/posix/readdir_r.c: Likewise.
8851 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8852 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8853 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8854 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8856 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8857 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8858 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8860 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8861 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8862 * sysdeps/pthread/lio_listio.c: Likewise.
8863 * sysdeps/sparc/dl-procinfo.h: Likewise.
8864 * sysdeps/unix/i386/sysdep.S: Likewise.
8865 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8866 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8867 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8868 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8870 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8871 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8872 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8873 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8874 * sysdeps/wordsize-32/divdi3.c: Likewise.
8875 * time/sys/time.h: Likewise.
8876 * wcsmbs/Makefile: Likewise.
8877
0549fbba
DM
88782013-01-01 David S. Miller <davem@davemloft.net>
8879
a141f1a7
DM
8880 * po/fr.po: Update from translation team.
8881
0549fbba
DM
8882 * catgets/gencat.c: Update copyright year.
8883 * csu/version.c: Likewise.
8884 * debug/catchsegv.sh: Likewise.
8885 * debug/pcprofiledump.c: Likewise.
8886 * debug/xtrace.sh: Likewise.
8887 * elf/ldconfig.c: Likewise.
8888 * elf/ldd.bash.in: Likewise.
8889 * elf/pldd.c: Likewise.
8890 * elf/sotruss.ksh: Likewise.
8891 * elf/sprof.c: Likewise.
8892 * iconv/iconv_prog.c: Likewise.
8893 * iconv/iconvconfig.c: Likewise.
8894 * locale/programs/locale.c: Likewise.
8895 * locale/programs/localedef.c: Likewise.
8896 * login/programs/pt_chown.c: Likewise.
8897 * malloc/memusage.sh: Likewise.
8898 * malloc/memusagestat.c: Likewise.
8899 * malloc/mtrace.pl: Likewise.
8900 * nscd/nscd.c: Likewise.
8901 * nss/getent.c: Likewise.
8902 * nss/makedb.c: Likewise.
8903 * posix/getconf.c: Likewise.
8904
18ea052c
SP
89052012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8906
8907 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8908 numbers.
8909
9c89fca6
MF
89102012-12-30 Mike Frysinger <vapier@gentoo.org>
8911
8912 * math/bits/mathcalls.h (modf): Use __nonnull.
8913
085ec079
SP
89142012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8915
8916 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8917 (split): Use macro CN instead of the bare value.
8918 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8919 could be used.
8920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8921 instead of the bare value.
8922 (power1): Likewise.
8923
6d9f97e1
SP
89242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8925
d63f73be
SP
8926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8927 __ATAN_TWOM.
8928 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8929
6d9f97e1
SP
8930 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8931 their values.
8932 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8933 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8934 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8935 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8936
4c4febf5
AJ
89372012-12-28 Andreas Jaeger <aj@suse.de>
8938
af5843ef
AJ
8939 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8940 values are from Linux 3.7.
8941
4c4febf5
AJ
8942 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8943 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8944
99136f82
SP
89452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8946
2f216c3c 8947 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8948 TRUE case.
8949
99136f82
SP
8950 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8951 (norm): Likewise.
8952 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8953 variables with preprocessor constants.
8954 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8955 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8956 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8957
7fffbdff
BH
89582012-12-27 Bruno Haible <bruno@clisp.org>
8959
8960 [BZ #14317]
8961 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8962 only if needed.
8963
b76eb5f0
SP
89642012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8965
31a7fe5c
SP
8966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8967 and use variable directly.
8968 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8969
b76eb5f0
SP
8970 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8971 MPONE.
8972 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8973 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8974 variable MPONE.
8975 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8977 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8978 include directive. Remove local variable MPONE.
8979 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8980 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8982
2c8bfe7d
DM
89832012-12-25 David S. Miller <davem@davemloft.net>
8984
8985 * version.h (RELEASE): Set to "development".
8986 (VERSION): Set to "2.17.90".
8987 * NEWS: Add 2.18 section.
8988
147d03b0
DM
89892012-12-21 David S. Miller <davem@davemloft.net>
8990
8991 * po/hr.po: Update from translation team.
8992
a8ebb2b9
AK
89932012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8994
8995 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8996
95b4f1b6
SE
89972012-12-19 Steve Ellcey <sellcey@mips.com>
8998
b2d94007 8999 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9000
cedb2a90
MS
90012012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9002
9003 * manual/contrib.texi (Contributors): Spelling correction.
9004
bbf527d6
DM
90052012-12-15 David S. Miller <davem@davemloft.net>
9006
9007 * po/ru.po: Update from translation team.
9008
bc38c906
DM
90092012-12-13 David S. Miller <davem@davemloft.net>
9010
85429b1a
DM
9011 * NEWS: Mention IFUNC testsuite enhancements.
9012
d283e353
DM
9013 * po/pl.po: Update from translation team.
9014 * po/bg.po: Likewise.
9015
bc38c906
DM
9016 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9017 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9018
a181b0d7
DM
90192012-12-11 David S. Miller <davem@davemloft.net>
9020
4641d57e
DM
9021 * po/sv.po: Update from translation team.
9022
f7bc6495
DM
9023 * po/vi.po: Update from translation team.
9024
6fc9048f
DM
9025 * po/cs.po: Update from translation team.
9026
a181b0d7
DM
9027 * po/de.po: Update from translation team.
9028 * po/eo.po: Likewise.
9029 * po/nl.po: Likewise.
9030
f70bfe80
SP
90312012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9032
3c8b4190
SP
9033 [BZ #14246]
9034 * manual/argp.texi (Argp Helper Functions): Move node to follow
9035 Argp Parsing State.
9036
f70bfe80
SP
9037 [BZ #14872]
9038 * manual/conf.texi (Limits on File System Capacity): Mention if
9039 terminating null is included in the max size.
9040
188f0adf
AJ
90412012-12-10 Andreas Jaeger <aj@suse.de>
9042
9043 * po/cs.po: Update from translation team.
9044
56e7d3ad
SP
90452012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9046
9047 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9048 void pointer and cast to uintptr_t.
9049 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9050 path.
9051 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9052 * sysdeps/s390/s390-64/memset.S: Likewise.
9053
76f2d2ea 90542012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9055
9056 [BZ #14833]
9057 * menual/message.texi (Message Translation): Fix typos.
9058 (Helper programs for gettext): Likewise.
9059
67cbf9a2
AS
90602012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9061
9062 [BZ #14898]
9063 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9064 Change to -1.
9065
682d0e9a
DM
90662012-12-07 David S. Miller <davem@davemloft.net>
9067
9068 * po/libc.pot: Update.
9069
573cd484
RH
90702012-12-07 Richard Henderson <rth@redhat.com>
9071
7e9da188 9072 [BZ #10114]
573cd484
RH
9073 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9074 normal/normal case to before the switch.
9075 (_FP_DIV): Likewise.
9076
e933a943
MF
90772012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9078 Mike Frysinger <vapier@gentoo.org>
9079
9080 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9081 check for __NR_fadvise64_64.
9082
82123268
CM
90832012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9084
9085 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9086 0, not just to plain "0" as a statement.
9087 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9088 with cw.
9089
d9814526
JM
90902012-12-06 Joseph Myers <joseph@codesourcery.com>
9091
9092 * NEWS: Use sourceware.org in Bugzilla URL.
9093
7728c574
SP
90942012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9095
f16946dd
SP
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9097 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9098
5704bbcb
SP
9099 * stdio-common/tst-put-error.c (do_test): Add newline to the
9100 padded test to ensure flush.
9101
17aa0516
JL
91022012-12-05 Jeff Law <law@redhat.com>
9103
9104 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9105
363313b5
JM
91062012-12-05 Joseph Myers <joseph@codesourcery.com>
9107
effbd42a
JM
9108 * README: Don't refer to ports add-on as distributed separately.
9109 Mention AArch64 in list of systems supported in the ports add-on.
9110
87600365
JM
9111 * LICENSES: Add more non-FSF copyright and license notices.
9112
a0d7066a
JM
9113 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9114 ((unused)).
9115
66ca5a5b
JM
9116 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9117
363313b5
JM
9118 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9119 10000 as width of padded output.
9120
b37984ad
JM
91212012-12-04 Joseph Myers <joseph@codesourcery.com>
9122
9003570a
JM
9123 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9124
b37984ad
JM
9125 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9126 variable LX with __attribute__ ((unused)).
9127 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9128 Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9132 with __attribute__ ((unused)).
9133
c8df52ec
DM
91342012-12-04 David S. Miller <davem@abraco.davemloft.net>
9135
9136 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9137
b3b099af
JM
91382012-12-04 Joseph Myers <joseph@codesourcery.com>
9139
c33aa6e3
JM
9140 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9141 (CFLAGS-nldbl-acos.c): New variable.
9142 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9143 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9144 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9145 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9146 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9147 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9148 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9149 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9150 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9151 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9152 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9153 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9154 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9155 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9156 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9157 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9158 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9159 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9160 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9161 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9162 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9163 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9164 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9165 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9166 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9167 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9168 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9169 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9170 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9171 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9172 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9173 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9174 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9175 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9176 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9177 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9178 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9179 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9180 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9181 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9182 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9183 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9184 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9185 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9186 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9187 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9188 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9189 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9190 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9191 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9192 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9193 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9194 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9195 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9196 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9197 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9198 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9199 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9200 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9201 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9202 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9203 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9204 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9205 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9206 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9207 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9208 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9209 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9210 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9211 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9212 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9213 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9214 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9215 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9216 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9217 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9218 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9219 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9220 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9221 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9222 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9223 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9224 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9225 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9226 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9227 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9228 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9229 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9230 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9231 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9232 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9233 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9234 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9235 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9236 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9237 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9238 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9239
20f0018d
JM
9240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9241 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9242
b3b099af
JM
9243 [BZ #14914]
9244 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9245 whole low double instead of just low 47 bits when splitting values
9246 into two parts.
9247
029264d1
AM
92482012-12-03 Allan McRae <allan@archlinux.org>
9249
9250 * manual/stdio.texi (Predefined Printf Handlers): Remove
9251 @hsep and @vsep usage.
9252
c9d6789e
MF
92532012-12-03 Mike Frysinger <vapier@gentoo.org>
9254
9255 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9256 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9257
4b7634a5
JL
92582012-12-03 Jeff Law <law@redhat.com>
9259
9260 * time/sys/time.h (settimeofday): Do not mark TV argument
9261 as __nonnull.
9262
eb6cbd24
MF
92632012-12-01 Mike Frysinger <vapier@gentoo.org>
9264
9265 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9266 when currently writing and seek to current position when not.
9267 * libio/Makefile (tests): Remove bug-fclose1.
9268 * libio/bug-fclose1.c: Delete.
9269
f638872a
JM
92702012-12-01 Joseph Myers <joseph@codesourcery.com>
9271
9272 * manual/arith.texi (feenableexcept): Fix typo.
9273 (fedisableexcept): Likewise.
9274
48085d14
RM
92752012-11-30 Roland McGrath <roland@hack.frob.com>
9276
9277 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9278 second, differently-typed declaration, rather than a cast.
9279
1a538b9f
SP
92802012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9281
9282 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9283 * include/rpc/svc.h: ... here.
9284
d07f2ff1 92852012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9286
9287 [BZ #13013]
9288 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9289 depending n and resplen2 to catch cases where answer
9290 equals answerp2.
9291
c93ec1f0
CD
92922012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9293
9294 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9295 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9296
37db69de
MF
92972012-11-29 Mike Frysinger <vapier@gentoo.org>
9298
9299 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9300
e10c4e4f
RM
93012012-11-29 Roland McGrath <roland@hack.frob.com>
9302
9303 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9304
2af1b328
JL
93052012-11-28 Jeff Law <law@redhat.com>
9306
9307 [BZ #13761]
9308 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9309 dataset_temporary. Track alloca usage into alloca_used.
9310 If dataset is large allocate and release it via malloc/free.
9311
111db5b1
FW
93122012-06-04 Florian Weimer <fweimer@redhat.com>
9313
f06cc227 9314 [BZ #14197]
111db5b1
FW
9315 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9316
dd694abd
DM
93172012-11-28 David S. Miller <davem@davemloft.net>
9318
9319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9320
9984dd01
JM
93212012-11-28 Joseph Myers <joseph@codesourcery.com>
9322
9323 [BZ #14803]
9324 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9325 of pi/2 rounded to nearest to 64 bits.
9326 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9327 nearest to 64 bits.
9328 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9329 bits.
9330
14bc93a9
JL
93312012-11-28 Jeff Law <law@redhat.com>
9332 Martin Osvald <mosvald@redhat.com>
9333
9334 [BZ #14889]
9335 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9336 * sunrpc/svc.c: Include time.h.
9337 (__svc_accept_failed): New function.
9338 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9339 any reason other than EINTR, call __svc_accept_failed.
9340 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9341 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9342
e3c6aa3a
AS
93432012-11-28 Andreas Schwab <schwab@suse.de>
9344
9345 * scripts/abilist.awk: Also handle indirect functions in .opd
9346 section.
9347
1bead169
JM
93482012-11-28 Joseph Myers <joseph@codesourcery.com>
9349
9350 [BZ #13881]
9351 * sysdeps/x86/fpu/powl_helper.c: New file.
9352 * sysdeps/x86/fpu/Makefile: Likewise.
9353 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9354 (p3): New object.
9355 (__ieee754_powl): Use __powl_helper for finite arguments except
9356 integer exponents below 8.
9357 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9358 (p3): New object.
9359 (__ieee754_powl): Use __powl_helper for finite arguments except
9360 integer exponents below 8.
9361 * math/libm-test.inc (pow_test): Add more tests and enable some
9362 previously disabled tests.
9363 * sysdeps/i386/fpu/libm-test-ulps: Update.
9364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9365
0817d63d
SP
93662012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9367 Carlos O'Donell <carlos_odonell@mentor.com>
9368
9369 * nss/makedb.c (is_prime): Assert that input is odd and greater
9370 than 4. Note that fact in a comment too.
9371 (next_prime): Add 4 to input.
9372
de2fd463
SP
93732012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9374
9375 [BZ #11741]
9376 * libio/Makefile (tests): Add test case tst-fwrite-error.
9377 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9378 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9379 * libio/tst-fwrite-error.c: New test case.
9380
c515fb51
L
93812012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9382
9383 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9384 before casting to void *.
9385 * include/libc-internal.h (__pointer_type): New macro.
9386 (__integer_if_pointer_type_sub): Likewise.
9387 (__integer_if_pointer_type): Likewise.
9388 (cast_to_integer): Likewise.
9389 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9390 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9391 before casting to atomic64_t.
9392 (atomic_exchange_acq): Likewise.
9393 (__arch_exchange_and_add_body): Likewise.
9394 (__arch_add_body): Likewise.
9395 (atomic_add_negative): Likewise.
9396 (atomic_add_zero): Likewise.
9397
4cf77aa9
JM
93982012-11-26 Joseph Myers <joseph@codesourcery.com>
9399
9400 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9401 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9402 (add_fdes): Likewise.
9403 (linear_search_fdes): Likewise.
9404 (binary_search_unencoded_fdes): Likewise.
9405
d260b3b4
AS
94062012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9407
9408 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9409
67060746
AC
94102012-11-24 Adam Conrad <adconrad@0c3.net>
9411
9412 * configure.in: Autodetect C++ header directories.
9413 * configure: Regenerated.
9414
800938a1
MF
94152012-11-23 Mike Frysinger <vapier@gentoo.org>
9416
9417 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9418
4e6e34e6
AS
94192012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9420
9421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9422
7c7feb47
JM
94232012-11-22 Joseph Myers <joseph@codesourcery.com>
9424
7184dcdf
JM
9425 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9426 LDBL_MANT_DIG == 106]: Disable some tests.
9427 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9428 Likewise.
9429 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9430 Likewise.
9431
0a42601f
JM
9432 [BZ #14871]
9433 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9434 input for small inputs. Return +/- pi/2 for large inputs.
9435 * math/libm-test.inc (atan_test): Add more tests.
9436
79c9b9fe
JM
9437 * sysdeps/generic/unwind-dw2-fde-glibc.c
9438 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9439 __attribute__ ((unused)).
9440
c60d3bf2
JM
9441 [BZ #14645]
9442 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9443 x * y if x and y are nonzero and z is zero.
9444
ef1e0867
JM
9445 [BZ #14811]
9446 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9447 nonzero exponents with absolute value below 0x1p-117 to +/-
9448 0x1p-117.
9449
1468ded3
JM
9450 [BZ #14869]
9451 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9452 up arguments below 2**-450, not just those below 2**-500.
9453 * math/libm-test.inc (hypot_test): Add another test.
9454
8e27e3cc
JM
9455 [BZ #14868]
9456 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9457 Return a+b for ratio over 2**120, not 2**60.
9458 * math/libm-test.inc (hypot_test): Add another test.
9459
c9c0279b
JM
9460 * math/libm-test.inc (clog_test): Use
9461 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9462 (clog10_test): Likewise.
9463
7c7feb47
JM
9464 [BZ #6778]
9465 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9466
fff1530e
AS
94672012-11-22 Andreas Schwab <schwab@suse.de>
9468
9469 * sysdeps/i386/fpu/libm-test-ulps: Update.
9470
94558d30
PT
94712012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9472
9473 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9474 printf output with newline.
9475
7e1be741
L
94762012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9477
6bfea974
L
9478 [BZ #14865]
9479 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9480 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9481 -z nodlopen, -z initfirst and -z execstack support.
9482 * configure: Regenerated.
9483
7e1be741
L
9484 * elf/elf.h (DF_1_NODIRECT): New macro.
9485 (DF_1_IGNMULDEF): Likewise.
9486 (DF_1_NOKSYMS): Likewise.
9487 (DF_1_NOHDR): Likewise.
9488 (DF_1_EDITED): Likewise.
9489 (DF_1_NORELOC): Likewise.
9490 (DF_1_SYMINTPOSE): Likewise.
9491 (DF_1_GLOBAUDIT): Likewise.
9492 (DF_1_SINGLETON): Likewise.
9493 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9494 DT_1_SUPPORTED_MASK bits.
9495 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9496
105ce2ce
CD
94972012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9498
9499 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9500
123be9de
TS
95012012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9502
d072f3f7
TS
9503 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9504 macro.
9505
123be9de
TS
9506 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9507 (sendmmsg): Move declarations...
9508 * socket/sys/socket.h: ... here.
9509 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9510 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9511 include it from...
9512 * socket/recvmmsg.c: ... this new file.
9513 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9514 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9515 definition of __sendmmsg hidden.
9516 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9517 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9518 Move ENOSYS stub into and include it from...
9519 * socket/sendmmsg.c: ... this new file.
9520 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9521 (sysdep_routines): Move recvmmsg and sendmmsg...
9522 * socket/Makefile (routines): ... here.
9523 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9524 (GLIBC_PRIVATE): Add __sendmmsg.
9525 * include/sys/socket.h (__sendmmsg): Add declarations.
9526 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9527 sendmmsg.
9528
cf9a5d18
JM
95292012-11-20 Joseph Myers <joseph@codesourcery.com>
9530
9531 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9532 variable I1 with __attribute__ ((unused)).
9533 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9534
ecd4caf9
JM
95352012-11-19 Joseph Myers <joseph@codesourcery.com>
9536
be14d48f
JM
9537 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9538 DUMMY variables with __attribute__ ((unused)).
9539
ecd4caf9
JM
9540 * bits/byteswap.h: Include <bits/types.h>.
9541 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9542
986cab95
PT
95432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9544
9545 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9546 string_t. Do not manually set errno.
9547 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9548 length with __strnlen. Make sure to both set errno and return it on
9549 failure.
9550
6d33cc9d
DM
95512012-11-19 David S. Miller <davem@davemloft.net>
9552
9553 With help from Joseph Myers.
9554 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9555 very large arguments properly.
9556 * math/libm-test.inc (atan_test): New tests.
9557 (atan2_test): New tests.
9558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9560
ee663277
JM
95612012-11-19 Joseph Myers <joseph@codesourcery.com>
9562
877f2d8e
JM
9563 [BZ #14856]
9564 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9565 Define to 3.
9566
116fc08a
JM
9567 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9568 [POSIX] (EADDRNOTAVAIL): Likewise.
9569 [POSIX] (EAFNOSUPPORT): Likewise.
9570 [POSIX] (EALREADY): Likewise.
9571 [POSIX] (ECONNABORTED): Likewise.
9572 [POSIX] (ECONNREFUSED): Likewise.
9573 [POSIX] (ECONNRESET): Likewise.
9574 [POSIX] (EDESTADDRREQ): Likewise.
9575 [POSIX] (EDQUOT): Likewise.
9576 [POSIX] (EHOSTUNREACH): Likewise.
9577 [POSIX] (EIDRM): Likewise.
9578 [POSIX] (EISCONN): Likewise.
9579 [POSIX] (ELOOP): Likewise.
9580 [POSIX] (EMULTIHOP): Likewise.
9581 [POSIX] (ENETDOWN): Likewise.
9582 [POSIX] (ENETUNREACH): Likewise.
9583 [POSIX] (ENOBUFS): Likewise.
9584 [POSIX] (ENODATA): Likewise.
9585 [POSIX] (ENOLINK): Likewise.
9586 [POSIX] (ENOMSG): Likewise.
9587 [POSIX] (ENOPROTOOPT): Likewise.
9588 [POSIX] (ENOSR): Likewise.
9589 [POSIX] (ENOSTR): Likewise.
9590 [POSIX] (ENOTCONN): Likewise.
9591 [POSIX] (ENOTSOCK): Likewise.
9592 [POSIX] (EOPNOTSUPP): Likewise.
9593 [POSIX] (EOVERFLOW): Likewise.
9594 [POSIX] (EPROTO): Likewise.
9595 [POSIX] (EPROTONOSUPPORT): Likewise.
9596 [POSIX] (EPROTOTYPE): Likewise.
9597 [POSIX] (ESTALE): Likewise.
9598 [POSIX] (ETIME): Likewise.
9599 [POSIX] (ETXTBSY): Likewise.
9600 [POSIX] (EWOULDBLOCK): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9602 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9603 [POSIX] (SEEK_CUR): Likewise.
9604 [POSIX] (SEEK_END): Likewise.
9605 [POSIX || UNIX98] (mode_t): Do not require.
9606 [POSIX] (off_t): Likewise.
9607 [POSIX] (pid_t): Likewise.
9608 [POSIX] (sys/stat.h): Do not allow header.
9609 [POSIX] (unistd.h): Likewise.
9610 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9611 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9612 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9613 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9614 require.
9615 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9616 sigevent): Specify elements.
9617 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9618 entry.
9619 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9620 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9621
a483863f
JM
9622 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9623 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9624 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9625 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9626 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9627 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9628 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9629 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9630 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9631 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9632 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9633 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9634 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9635 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9636 Likewise.
9637 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9638 Likewise.
9639 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9640 Likewise.
9641 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9642 Likewise.
9643 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9644 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9645 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9646 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9647 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9648 Specify lower bound on value.
9649 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9650 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9651 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9652 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9653 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9654 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9655 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9656 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9657 value.
9658 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9659 as optional.
9660 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9662 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9664 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9665 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9666 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9667 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9668 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9670 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9671 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9672 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9673 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9674 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9675 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9676 entry.
9677 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9678 optional.
9679 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9680 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9681 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9682 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9683 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9684 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9685 Likewise.
9686 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9687 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9688 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9689 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9690 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9691 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9692 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9693 as optional.
9694 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9695 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9696 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9697 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9698 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9699 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9700 specify as optional.
9701 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9702 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9703 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9704 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9705 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9706 [XPG3] (NL_LANGMAX): Likewise.
9707 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9708 [POSIX || XPG3] (NL_NMAX): Likewise.
9709 [POSIX || XPG3] (NL_SETMAX): Likewise.
9710 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9711 [XPG3] (NZERO): Likewise.
9712 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9713 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9714 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9715 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9716 (REG_ERANGE): Expect.
9717 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9718 optional-constant.
9719 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9720 Use (void) in prototype.
9721 [POSIX] (*_t): Allow.
9722 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9723 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9724 (WRDE_BADVAL): Expect.
9725
5ba924e3
JM
9726 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9727 expect.
9728 [XPG3 || XPG4] (O_RSYNC): Likewise.
9729 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9730 Likewise.
9731 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9732 [XPG3 || XPG4] (sigqueue): Likewise.
9733 [XPG3 || XPG4] (sigtimedwait): Likewise.
9734 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9735 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9736 [XPG3 || XPG4] (vsnprintf): Likewise.
9737 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9738 Likewise.
9739 [XPG3 || XPG4] (blksize_t): Likewise.
9740 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9741 Likewise.
9742 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9743 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9744 [XPG3 || XPG4] (struct itimerspec): Likewise.
9745 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9746 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9747 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9748 [XPG3 || XPG4] (clockid_t): Likewise.
9749 [XPG3 || XPG4] (timer_t): Likewise.
9750 [XPG3 || XPG4] (clock_getres): Likewise.
9751 [XPG3 || XPG4] (clock_gettime): Likewise.
9752 [XPG3 || XPG4] (clock_settime): Likewise.
9753 [XPG3 || XPG4] (nanosleep): Likewise.
9754 [XPG3 || XPG4] (timer_create): Likewise.
9755 [XPG3 || XPG4] (timer_delete): Likewise.
9756 [XPG3 || XPG4] (timer_gettime): Likewise.
9757 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9758 [XPG3 || XPG4] (timer_settime): Likewise.
9759 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9760 [XPG3 || XPG4] (getlogin_r): Likewise.
9761 [XPG3 || XPG4] (pread): Likewise.
9762 [XPG3 || XPG4] (pthread_atfork): Likewise.
9763 [XPG3 || XPG4] (pwrite): Likewise.
9764
ee663277
JM
9765 [BZ #14835]
9766 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9767 <bits/siginfo.h>.
9768
942caa16
PT
97692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9770
e19af380
PT
9771 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9772 finalizing MALLSTREAM.
9773
942caa16
PT
9774 * sysdeps/mach/hurd/syncfs.c: New file.
9775
cfde9b46
SP
97762012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9777
9778 [BZ #14719]
9779 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9780 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9781 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9782 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9783 (_nss_dns_gethostbyname4_r): Likewise.
9784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9785 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9786
f6da27e5
PH
97872012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9788
9789 [BZ #13763]
9790 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9791
6665d4a2
SM
97922012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9793
1f51ee92
SM
9794 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9795 * elf/cache.c (print_entry): Print ",AArch64" for
9796 FLAG_AARCH64_LIB64
9797
6665d4a2
SM
9798 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9799 * elf/cache.c (print_entry): Print ",hard-float" for
9800 FLAG_ARM_LIBHF.
9801
05b227bd
DM
98022012-11-18 David S. Miller <davem@davemloft.net>
9803
9804 With help from Joseph Myers.
9805 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9806 cutoff to 2**-13.
9807 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9808 cutoff to 2**-25.
9809 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9810 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9811 small.
9812 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9813 * math/libm-test.inc (y0_test): New tests.
9814 (y1_test): New tests.
9815 * sysdeps/i386/fpu/libm-test-ulps: Update.
9816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9818
786b0b67
AS
98192012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9820
9821 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9822 64-bit targets.
9823 * configure: Regenerated.
9824
8e18b86d
DM
98252012-11-17 David S. Miller <davem@davemloft.net>
9826
9827 [BZ #14811]
9828 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9829 nonzero exponents with absolute value below 0x1p-128 to +/-
9830 0x1p-128.
9831
531f1ae0
JM
98322012-11-17 Joseph Myers <joseph@codesourcery.com>
9833
12df29e2
JM
9834 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9835
150dc1a0
JM
9836 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9837
531f1ae0
JM
9838 * posix/getconf-speclist.c: New file.
9839 * posix/posix-envs.def: Likewise.
9840 * posix/confstr.c (START_ENV_GROUP): New macro.
9841 (END_ENV_GROUP): Likewise.
9842 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9843 (KNOWN_PRESENT_ENV_STRING): Likewise.
9844 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9845 (UNKNOWN_ENVIRONMENT): Likewise.
9846 (confstr): Include posix-envs.def instead of handling
9847 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9848 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9849 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9850 (END_ENV_GROUP): Likewise.
9851 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9852 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9853 (UNKNOWN_ENVIRONMENT): Likewise.
9854 (__sysconf): Include posix-envs.def instead of handling associated
9855 cases directly here.
9856 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9857 preprocessing getconf-speclist.c rather than running getconf or
9858 generating empty file.
9859
a93f9cbc
PT
98602012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9861
9862 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9863
d64d9f87
AL
98642012-11-16 Andrej Lajovic <natrij@gmail.com>
9865
9866 [BZ #14672]
9867 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9868
447885eb
DM
98692012-11-16 David S. Miller <davem@davemloft.net>
9870
9871 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9872 smaller than LDBL_EPSILON/2.0L, just return xm1.
9873
bcbf9830
L
98742012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9875
9876 * elf/tst-array1.c (init): Set constructor priority to 1000.
9877 (fini): Set destructor priority to 1000.
9878 * elf/tst-array2dep.c: Likewise.
9879
2b766585
SP
98802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9881
9882 [BZ #11741]
9883 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9884 (_IO_new_file_xsputn): Also return EOF if none of the input
9885 data was written when overflow failed.
9886 * libio/iopadn.c (_IO_padn): Likewise.
9887 * libio/iowpadn.c (_IO_wpadn): Likewise.
9888 * stdio-common/tst-put-error.c: Add copyright notice.
9889 (do_test): Add case for printing padded string.
9890 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9891 _IO_padn returned error.
9892 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9893 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9894 return EOF.
9895
b1848fde
SP
98962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9897
9898 * libio/libioP.h: Add comment note that the references to C++
9899 bits are now obsolete.
9900
2fd89785
MS
99012012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9902
9903 * math/libm-test.inc (check_complex): Use asprintf.
9904
e3ea5409
JM
99052012-11-14 Joseph Myers <joseph@codesourcery.com>
9906
9907 * debug/pcprofiledump.c (print_version): Update copyright year.
9908 * malloc/memusagestat.c (print_version): Likewise.
9909
2e64d265
L
99102012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9911
9912 [BZ #14831]
9913 * elf/Makefile (tests): Add tst-audit8.
9914 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9915 ($(objpfx)tst-audit8.out): New target.
9916 (tst-audit8-ENV): New variable.
9917 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9918 audit if l_reloc_result is NULL.
9919 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9920 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9921 * elf/tst-audit8.c: New file.
9922
c485e4d2
MS
99232012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9924
9925 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9926 * misc/Makefile (CFLAGS-select.c): Define.
9927 * posix/Makefile (CFLAGS-pause.c): Define.
9928
3a0d900a
DM
99292012-11-13 David S. Miller <davem@davemloft.net>
9930
9931 * crypt/Makefile: Move test targets after toplevel Rules
9932 inclusion. Grab any necessary sysdep routines when linking.
9933 * crypt/md5.c (md5_process_block): Remove define, we will always
9934 name it __md5_process_block.
9935 (md5_finish_ctx): Update md5_process_block call.
9936 (md5_stream): Likewise.
9937 (md5_process_bytes): Likewise.
9938 (md5_process_block): Rename to __md5_process_block and move to ...
9939 * crypt/md5-block.c: ... here.
9940 * crypt/sha256.c (sha256_process_block): Move to ...
9941 * crypt/sha256-block.c: ... here.
9942 * crypt/sha512.c (sha512_process_block): Move to ...
9943 * crypt/sha512-block.c: ... here.
9944 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9945 path.
9946 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9947 * sysdeps/sparc/sparc64/multiarch/Makefile
9948 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9949 crypt subdir.
9950 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9951 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9952 multiarch changes.
9953 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9954 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9955 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9956 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9957 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9958 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9959 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9960 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9961 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9962 file.
9963 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9965 file.
9966 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9967
8ca89318
JM
99682012-11-13 Joseph Myers <joseph@codesourcery.com>
9969
e27d476a
JM
9970 * timezone/tzselect.ksh: Update from tzcode git revision
9971 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9972 * timezone/zdump.c: Likewise.
9973 * timezone/zic.c: Likewise.
9974 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9975 in TZVERSION setting, not $(PKGVERSION).
9976 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9977 REPORT_BUGS_TO settings.
9978
8ca89318
JM
9979 [BZ #14838]
9980 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9981 macro.
9982
47594329
MS
99832012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9984
9985 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9986 detection to immediately after _FP_ROUND().
9987 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9988 bits are 0.
9989
640ac3f1
DM
99902012-11-11 David S. Miller <davem@davemloft.net>
9991
9992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9993 inttypes.h
9994 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9995 __close rather than their public counterparts.
9996
3d2577bb
JM
99972012-11-10 Joseph Myers <joseph@codesourcery.com>
9998
9999 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10000 file.
10001 [UNIX98] (sem_timedwait): Do not expect.
10002 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10003 [XPG4 || UNIX98] (sockatmark): Do not expect.
10004 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10005 (clock_getcpuclockid): Do not expect.
10006 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10007 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10008 Do not expect.
10009 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10010 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10011 [UNIX98] (vwscanf): Likewise.
10012 [UNIX98] (vswscanf): Likewise.
10013
fb1ae1ee
JM
100142012-11-09 Joseph Myers <joseph@codesourcery.com>
10015
9ec6f8bd
JM
10016 * timezone/version.h: Remove file.
10017 * timezone/README: Do not refer to version.h.
10018 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10019 $(objpfx)version.h.
10020 ($(objpfx)zdump.o): Likewise.
c3f81911 10021 ($(objpfx)version.h): New target.
9ec6f8bd 10022
0aa8f8a1
JM
10023 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10024 2012i.
10025 * timezone/README: Don't mention modification to tzselect.ksh.
10026 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10027 work on unmodified tzselect.ksh. Substitute version numbers in
10028 tzselect.ksh.
10029
4e87147f
JM
10030 * Makefile (format-me): Remove.
10031 (INSTALL): Adjust indentation. Use commands directly instead of
10032 using $(format-me).
10033
8b748aed
JM
10034 * aclocal.m4 (ACX_PKGVERSION): New macro.
10035 (ACX_BUGURL): Likewise.
10036 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10037 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10038 (REPORT_BUGS_TO): Likewise.
10039 * configure: Regenerated.
10040 * config.h.in (PKGVERSION): New macro.
10041 (REPORT_BUGS_TO): Likewise.
10042 * config.make.in (PKGVERSION): New variable.
10043 (PKGVERSION_TEXI): Likewise.
10044 (REPORT_BUGS_TO): Likewise.
10045 (REPORT_BUGS_TEXI): Likewise.
10046 * Makefile (format-me): Use -I$(common-objpfx)manual.
10047 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10048 ($(common-objpfx)manual/%): New target.
10049 (manual/%): Remove target.
10050 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10051 (print_version): Use PKGVERSION.
10052 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10053 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10054 and REPORT_BUGS_TO.
10055 ($(objpfx)xtrace): Likewise.
10056 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10057 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10058 (print_version): Use PKGVERSION.
10059 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10060 (do_version): Use PKGVERSION.
10061 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10062 REPORT_BUGS_TO.
10063 (common-ldd-rewrite): Likewise.
10064 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10065 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10066 (print_version): Use PKGVERSION.
10067 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10068 * elf/pldd.c (argp_program_bug_address): Remove variable.
10069 (more_help): New function.
10070 (argp): Use more_help.
10071 (print_version): Use PKGVERSION.
10072 * elf/sln.c (main): Use PKGVERSION.
10073 (usage): Use REPORT_BUGS_TO.
10074 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10075 (top level): Use PKGVERSION.
10076 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10077 (print_version): Use PKGVERSION.
10078 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10079 (print_version): Use PKGVERSION.
10080 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10081 (print_version): Use PKGVERSION.
10082 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10083 (print_version): Use PKGVERSION.
10084 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10085 (print_version): Use PKGVERSION.
10086 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10087 (print_version): Use PKGVERSION.
10088 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10089 and BUGURL.
10090 ($(objpfx)memusage): Likewise.
10091 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10092 (do_version): Use PKGVERSION.
10093 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10094 (print_version): Use PKGVERSION.
10095 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10096 ($PKGVERSION): New variable.
10097 ($REPORT_BUGS_TO): Likewise.
10098 (usage): Use $REPORT_BUGS_TO.
10099 (top level): Use $PKGVERSION.
10100 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10101 ($(objpfx)pkgvers.texi): New rule.
10102 ($(objpfx)stamp-pkgvers): Likewise.
10103 * manual/install.texi: Include pkgvers.texi.
10104 (--with-pkgversion): Document new configure option.
10105 (--with-bugurl): Likewise.
10106 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10107 than necessarily for this particular distribution. Use
10108 REPORT_BUGS_TO for where to report bugs.
10109 * INSTALL: Regenerated.
10110 * manual/libc.texinfo: Include pkgvers.texi.
10111 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10112 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10113 (print_version): Use PKGVERSION.
10114 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10115 (print_version): Use PKGVERSION.
10116 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10117 (print_version): Use PKGVERSION.
10118 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10119 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10120 macro.
10121 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10122 (print_version): Use PKGVERSION.
10123 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10124 (print_version): Use PKGVERSION.
10125 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10126 and PKGVERSION.
10127
92e4b6a9
JM
10128 * timezone/checktab.awk: Update from tzcode 2012i.
10129 * timezone/ialloc.c: Likewise.
10130 * timezone/private.h: Likewise.
10131 * timezone/scheck.c: Likewise.
10132 * timezone/tzfile.h: Likewise.
10133 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10134 (TZVERSION): Hardcode tzcode version number.
10135 * timezone/zdump.c: Update from tzcode 2012i.
10136 * timezone/zic.c: Likewise.
10137 * timezone/version.h: New file.
10138 * timezone/README: Describe version.h. Update upstream location.
10139
9bde902c
JM
10140 [BZ #14824]
10141 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10142 (mktemp): Enable declaration.
10143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10147 Likewise.
10148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10149 Likewise.
10150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10151 Likewise.
10152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10153 Likewise.
10154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10155 Likewise.
10156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10157 Likewise.
10158
fb1ae1ee
JM
10159 [BZ #14821]
10160 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10161 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10162 for copies of such integer values.
10163 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10164 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10165
2c1adbcb
AJ
101662012-11-09 Andreas Jaeger <aj@suse.de>
10167
10168 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10169 definitions and declarations that are provided by
10170 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10171
d0f8457e
AK
101722012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10173
3a235abb 10174 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10175 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10176 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10177 definition.
10178
57241e26
MS
101792012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10180
10181 * elf/elf.h: Update comment before AArch64 relocations.
10182
60e8270d
DM
101832012-11-07 David S. Miller <davem@davemloft.net>
10184
10185 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10186 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10187 (__start_context): Declare.
10188 (__makecontext_ret): Delete.
10189 (__makecontext): Hook up __start_context instead of
10190 __makecontext_ret.
10191 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10192 (sysdep_routines): Add __start_context when in stdlib.
10193
0fbb0fbc
JM
101942012-11-07 Joseph Myers <joseph@codesourcery.com>
10195
10196 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10197 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10198 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10199 hardcoded "nm".
10200 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10201 (READELF): New variable. Use it instead of hardcoded "readelf".
10202
eb48db7e
L
102032012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10204
10205 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10206 * sysdeps/x86/Makefile: Here.
10207 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10208 * sysdeps/x86/tst-xmmymm.sh: This.
10209
05bcf62a
JM
102102012-11-07 Joseph Myers <joseph@codesourcery.com>
10211
c4b6cf53
JM
10212 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10213 expectations.
10214 [UNIX98] (pthread_barrier_t): Do not expect.
10215 [UNIX98] (pthread_barrierattr_t): Likewise.
10216 [UNIX98] (pthread_spinlock_t): Likewise.
10217 [UNIX98] (pthread_barrier_destroy): Likewise.
10218 [UNIX98] (pthread_barrier_init): Likewise.
10219 [UNIX98] (pthread_barrier_wait): Likewise.
10220 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10221 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10222 [UNIX98] (pthread_barrierattr_init): Likewise.
10223 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10224 [UNIX98] (pthread_getcpuclockid): Likewise.
10225 [UNIX98] (pthread_mutex_timedlock): Likewise.
10226 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10227 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10228 [UNIX98] (pthread_sigmask): Likewise.
10229 [UNIX98] (pthread_spin_destroy): Likewise.
10230 [UNIX98] (pthread_spin_init): Likewise.
10231 [UNIX98] (pthread_spin_lock): Likewise.
10232 [UNIX98] (pthread_spin_trylock): Likewise.
10233 [UNIX98] (pthread_spin_unlock): Likewise.
10234 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10235 Do not expect.
10236 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10237 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10238 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10239 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10240 [XPG3 || XPG4] (pthread_key_t): Likewise.
10241 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10242 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10243 [XPG3 || XPG4] (pthread_once_t): Likewise.
10244 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10245 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10246 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10247 [XPG3 || XPG4] (pthread_t): Likewise.
10248
cbe6e120
JM
10249 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10250 not expect.
10251 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10252
1b126443
JM
10253 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10254 Change function return type to int.
10255
b961a573
JM
10256 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10257 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10258 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10259 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10260 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10261 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10262 [!POSIX] (posix_madvise): Likewise.
10263 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10264 && !UNIX98].
10265 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10266 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10267 (mode_t): Likewise.
10268 (posix_mem_offset): Likewise.
10269 (posix_typed_mem_get_info): Likewise.
10270 (posix_typed_mem_open): Likewise.
10271
9e188909
JM
10272 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10273 Change condition to [XOPEN2K8].
10274
05bcf62a
JM
10275 * conform/conformtest.pl: Preprocess allow-header data with -x c
10276 instead of from stdin.
10277 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10278 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10279 [C99-based standards] (cerfc): Likewise.
10280 [C99-based standards] (cexp2): Likewise.
10281 [C99-based standards] (cexpm1): Likewise.
10282 [C99-based standards] (clog10): Likewise.
10283 [C99-based standards] (clog1p): Likewise.
10284 [C99-based standards] (clog2): Likewise.
10285 [C99-based standards] (clgamma): Likewise.
10286 [C99-based standards] (ctgamma): Likewise.
10287 [C99-based standards] (cerff): Likewise.
10288 [C99-based standards] (cerfcf): Likewise.
10289 [C99-based standards] (cexp2f): Likewise.
10290 [C99-based standards] (cexpm1f): Likewise.
10291 [C99-based standards] (clog10f): Likewise.
10292 [C99-based standards] (clog1pf): Likewise.
10293 [C99-based standards] (clog2f): Likewise.
10294 [C99-based standards] (clgammaf): Likewise.
10295 [C99-based standards] (ctgammaf): Likewise.
10296 [C99-based standards] (cerfl): Likewise.
10297 [C99-based standards] (cerfcl): Likewise.
10298 [C99-based standards] (cexp2l): Likewise.
10299 [C99-based standards] (cexpm1l): Likewise.
10300 [C99-based standards] (clog10l): Likewise.
10301 [C99-based standards] (clog1pl): Likewise.
10302 [C99-based standards] (clog2l): Likewise.
10303 [C99-based standards] (clgammal): Likewise.
10304 [C99-based standards] (ctgammal): Likewise.
10305 * conform/data/inttypes.h-data [C99-based standards]: Include
10306 stdint.h-data. Remove all expectations for stdint.h contents.
10307 [C99-based standards] (PRI*): Do not allow.
10308 [C99-based standards] (SCN*): Likewise.
10309 [C99-based standards] (*_t): Likewise.
10310 [C99-based-standards] (PRId8): Expect macro.
10311 [C99-based-standards] (PRIi8): Likewise.
10312 [C99-based-standards] (PRIo8): Likewise.
10313 [C99-based-standards] (PRIu8): Likewise.
10314 [C99-based-standards] (PRIx8): Likewise.
10315 [C99-based-standards] (PRIX8): Likewise.
10316 [C99-based-standards] (SCNd8): Likewise.
10317 [C99-based-standards] (SCNi8): Likewise.
10318 [C99-based-standards] (SCNo8): Likewise.
10319 [C99-based-standards] (SCNu8): Likewise.
10320 [C99-based-standards] (SCNx8): Likewise.
10321 [C99-based-standards] (PRIdLEAST8): Likewise.
10322 [C99-based-standards] (PRIiLEAST8): Likewise.
10323 [C99-based-standards] (PRIoLEAST8): Likewise.
10324 [C99-based-standards] (PRIuLEAST8): Likewise.
10325 [C99-based-standards] (PRIxLEAST8): Likewise.
10326 [C99-based-standards] (PRIXLEAST8): Likewise.
10327 [C99-based-standards] (SCNdLEAST8): Likewise.
10328 [C99-based-standards] (SCNiLEAST8): Likewise.
10329 [C99-based-standards] (SCNoLEAST8): Likewise.
10330 [C99-based-standards] (SCNuLEAST8): Likewise.
10331 [C99-based-standards] (SCNxLEAST8): Likewise.
10332 [C99-based-standards] (PRIdFAST8): Likewise.
10333 [C99-based-standards] (PRIiFAST8): Likewise.
10334 [C99-based-standards] (PRIoFAST8): Likewise.
10335 [C99-based-standards] (PRIuFAST8): Likewise.
10336 [C99-based-standards] (PRIxFAST8): Likewise.
10337 [C99-based-standards] (PRIXFAST8): Likewise.
10338 [C99-based-standards] (SCNdFAST8): Likewise.
10339 [C99-based-standards] (SCNiFAST8): Likewise.
10340 [C99-based-standards] (SCNoFAST8): Likewise.
10341 [C99-based-standards] (SCNuFAST8): Likewise.
10342 [C99-based-standards] (SCNxFAST8): Likewise.
10343 [C99-based-standards] (PRId16): Likewise.
10344 [C99-based-standards] (PRIi16): Likewise.
10345 [C99-based-standards] (PRIo16): Likewise.
10346 [C99-based-standards] (PRIu16): Likewise.
10347 [C99-based-standards] (PRIx16): Likewise.
10348 [C99-based-standards] (PRIX16): Likewise.
10349 [C99-based-standards] (SCNd16): Likewise.
10350 [C99-based-standards] (SCNi16): Likewise.
10351 [C99-based-standards] (SCNo16): Likewise.
10352 [C99-based-standards] (SCNu16): Likewise.
10353 [C99-based-standards] (SCNx16): Likewise.
10354 [C99-based-standards] (PRIdLEAST16): Likewise.
10355 [C99-based-standards] (PRIiLEAST16): Likewise.
10356 [C99-based-standards] (PRIoLEAST16): Likewise.
10357 [C99-based-standards] (PRIuLEAST16): Likewise.
10358 [C99-based-standards] (PRIxLEAST16): Likewise.
10359 [C99-based-standards] (PRIXLEAST16): Likewise.
10360 [C99-based-standards] (SCNdLEAST16): Likewise.
10361 [C99-based-standards] (SCNiLEAST16): Likewise.
10362 [C99-based-standards] (SCNoLEAST16): Likewise.
10363 [C99-based-standards] (SCNuLEAST16): Likewise.
10364 [C99-based-standards] (SCNxLEAST16): Likewise.
10365 [C99-based-standards] (PRIdFAST16): Likewise.
10366 [C99-based-standards] (PRIiFAST16): Likewise.
10367 [C99-based-standards] (PRIoFAST16): Likewise.
10368 [C99-based-standards] (PRIuFAST16): Likewise.
10369 [C99-based-standards] (PRIxFAST16): Likewise.
10370 [C99-based-standards] (PRIXFAST16): Likewise.
10371 [C99-based-standards] (SCNdFAST16): Likewise.
10372 [C99-based-standards] (SCNiFAST16): Likewise.
10373 [C99-based-standards] (SCNoFAST16): Likewise.
10374 [C99-based-standards] (SCNuFAST16): Likewise.
10375 [C99-based-standards] (SCNxFAST16): Likewise.
10376 [C99-based-standards] (PRId32): Likewise.
10377 [C99-based-standards] (PRIi32): Likewise.
10378 [C99-based-standards] (PRIo32): Likewise.
10379 [C99-based-standards] (PRIu32): Likewise.
10380 [C99-based-standards] (PRIx32): Likewise.
10381 [C99-based-standards] (PRIX32): Likewise.
10382 [C99-based-standards] (SCNd32): Likewise.
10383 [C99-based-standards] (SCNi32): Likewise.
10384 [C99-based-standards] (SCNo32): Likewise.
10385 [C99-based-standards] (SCNu32): Likewise.
10386 [C99-based-standards] (SCNx32): Likewise.
10387 [C99-based-standards] (PRIdLEAST32): Likewise.
10388 [C99-based-standards] (PRIiLEAST32): Likewise.
10389 [C99-based-standards] (PRIoLEAST32): Likewise.
10390 [C99-based-standards] (PRIuLEAST32): Likewise.
10391 [C99-based-standards] (PRIxLEAST32): Likewise.
10392 [C99-based-standards] (PRIXLEAST32): Likewise.
10393 [C99-based-standards] (SCNdLEAST32): Likewise.
10394 [C99-based-standards] (SCNiLEAST32): Likewise.
10395 [C99-based-standards] (SCNoLEAST32): Likewise.
10396 [C99-based-standards] (SCNuLEAST32): Likewise.
10397 [C99-based-standards] (SCNxLEAST32): Likewise.
10398 [C99-based-standards] (PRIdFAST32): Likewise.
10399 [C99-based-standards] (PRIiFAST32): Likewise.
10400 [C99-based-standards] (PRIoFAST32): Likewise.
10401 [C99-based-standards] (PRIuFAST32): Likewise.
10402 [C99-based-standards] (PRIxFAST32): Likewise.
10403 [C99-based-standards] (PRIXFAST32): Likewise.
10404 [C99-based-standards] (SCNdFAST32): Likewise.
10405 [C99-based-standards] (SCNiFAST32): Likewise.
10406 [C99-based-standards] (SCNoFAST32): Likewise.
10407 [C99-based-standards] (SCNuFAST32): Likewise.
10408 [C99-based-standards] (SCNxFAST32): Likewise.
10409 [C99-based-standards] (PRId64): Likewise.
10410 [C99-based-standards] (PRIi64): Likewise.
10411 [C99-based-standards] (PRIo64): Likewise.
10412 [C99-based-standards] (PRIu64): Likewise.
10413 [C99-based-standards] (PRIx64): Likewise.
10414 [C99-based-standards] (PRIX64): Likewise.
10415 [C99-based-standards] (SCNd64): Likewise.
10416 [C99-based-standards] (SCNi64): Likewise.
10417 [C99-based-standards] (SCNo64): Likewise.
10418 [C99-based-standards] (SCNu64): Likewise.
10419 [C99-based-standards] (SCNx64): Likewise.
10420 [C99-based-standards] (PRIdLEAST64): Likewise.
10421 [C99-based-standards] (PRIiLEAST64): Likewise.
10422 [C99-based-standards] (PRIoLEAST64): Likewise.
10423 [C99-based-standards] (PRIuLEAST64): Likewise.
10424 [C99-based-standards] (PRIxLEAST64): Likewise.
10425 [C99-based-standards] (PRIXLEAST64): Likewise.
10426 [C99-based-standards] (SCNdLEAST64): Likewise.
10427 [C99-based-standards] (SCNiLEAST64): Likewise.
10428 [C99-based-standards] (SCNoLEAST64): Likewise.
10429 [C99-based-standards] (SCNuLEAST64): Likewise.
10430 [C99-based-standards] (SCNxLEAST64): Likewise.
10431 [C99-based-standards] (PRIdFAST64): Likewise.
10432 [C99-based-standards] (PRIiFAST64): Likewise.
10433 [C99-based-standards] (PRIoFAST64): Likewise.
10434 [C99-based-standards] (PRIuFAST64): Likewise.
10435 [C99-based-standards] (PRIxFAST64): Likewise.
10436 [C99-based-standards] (PRIXFAST64): Likewise.
10437 [C99-based-standards] (SCNdFAST64): Likewise.
10438 [C99-based-standards] (SCNiFAST64): Likewise.
10439 [C99-based-standards] (SCNoFAST64): Likewise.
10440 [C99-based-standards] (SCNuFAST64): Likewise.
10441 [C99-based-standards] (SCNxFAST64): Likewise.
10442 [C99-based-standards] (PRIdMAX): Likewise.
10443 [C99-based-standards] (PRIiMAX): Likewise.
10444 [C99-based-standards] (PRIoMAX): Likewise.
10445 [C99-based-standards] (PRIuMAX): Likewise.
10446 [C99-based-standards] (PRIxMAX): Likewise.
10447 [C99-based-standards] (PRIXMAX): Likewise.
10448 [C99-based-standards] (SCNdMAX): Likewise.
10449 [C99-based-standards] (SCNiMAX): Likewise.
10450 [C99-based-standards] (SCNoMAX): Likewise.
10451 [C99-based-standards] (SCNuMAX): Likewise.
10452 [C99-based-standards] (SCNxMAX): Likewise.
10453 [C99-based-standards] (PRIdPTR): Likewise.
10454 [C99-based-standards] (PRIiPTR): Likewise.
10455 [C99-based-standards] (PRIoPTR): Likewise.
10456 [C99-based-standards] (PRIuPTR): Likewise.
10457 [C99-based-standards] (PRIxPTR): Likewise.
10458 [C99-based-standards] (PRIXPTR): Likewise.
10459 [C99-based-standards] (SCNdPTR): Likewise.
10460 [C99-based-standards] (SCNiPTR): Likewise.
10461 [C99-based-standards] (SCNoPTR): Likewise.
10462 [C99-based-standards] (SCNuPTR): Likewise.
10463 [C99-based-standards] (SCNxPTR): Likewise.
10464 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10465 allow.
10466 * conform/data/stdint.h-data: Update comments to clarify
10467 requirements.
10468 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10469 type.
10470 [C99-based standards] (INT8_MAX): Likewise.
10471 [C99-based standards] (INT16_MIN): Likewise.
10472 [C99-based standards] (INT16_MAX): Likewise.
10473 [C99-based standards] (INT32_MIN): Likewise.
10474 [C99-based standards] (INT32_MAX): Likewise.
10475 [C99-based standards] (INT64_MIN): Likewise.
10476 [C99-based standards] (INT64_MAX): Likewise.
10477 [C99-based standards] (UINT8_MAX): Likewise.
10478 [C99-based standards] (UINT16_MAX): Likewise.
10479 [C99-based standards] (UINT32_MAX): Likewise.
10480 [C99-based standards] (UINT64_MAX): Likewise.
10481 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10482 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10483 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10484 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10485 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10486 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10487 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10488 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10489 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10490 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10491 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10492 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10493 [C99-based standards] (INT_FAST8_MIN): Likewise.
10494 [C99-based standards] (INT_FAST8_MAX): Likewise.
10495 [C99-based standards] (INT_FAST16_MIN): Likewise.
10496 [C99-based standards] (INT_FAST16_MAX): Likewise.
10497 [C99-based standards] (INT_FAST32_MIN): Likewise.
10498 [C99-based standards] (INT_FAST32_MAX): Likewise.
10499 [C99-based standards] (INT_FAST64_MIN): Likewise.
10500 [C99-based standards] (INT_FAST64_MAX): Likewise.
10501 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10502 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10503 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10504 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10505 [C99-based standards] (INTPTR_MIN): Likewise.
10506 [C99-based standards] (INTPTR_MAX): Likewise.
10507 [C99-based standards] (UINTPTR_MAX): Likewise.
10508 [C99-based standards] (INTMAX_MIN): Likewise.
10509 [C99-based standards] (INTMAX_MAX): Likewise.
10510 [C99-based standards] (UINTMAX_MAX): Likewise.
10511 [C99-based standards] (PTRDIFF_MIN): Likewise.
10512 [C99-based standards] (PTRDIFF_MAX): Likewise.
10513 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10514 [C99-based standards] (SIZE_MAX): Likewise.
10515 [C99-based standards] (WCHAR_MAX): Likewise.
10516 [C99-based standards] (WINT_MAX): Likewise.
10517 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10518 constraint on value.
10519 [C99-based standards] (WCHAR_MIN): Likewise.
10520 [C99-based standards] (WINT_MIN): Likewise.
10521 [C99-based standards] (*_t): Allow.
10522 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10523 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10524 Include math.h-data and complex.h-data. Remove all expectations
10525 of math.h and complex.h contents.
10526 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10527 at end of line.
10528 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10529 (struct tm): Expect tag.
10530 [C99-based-standards] (wcstof): Expect function.
10531 [C99-based-standards] (wcstold): Likewise.
10532 [C99-based-standards] (wcstoll): Likewise.
10533 [C99-based-standards] (wcstoull): Likewise.
10534 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10535 macro-int-constant. Specify type.
10536 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10537 constraint on value.
10538 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10539 Specify type.
10540 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10541 Specify value.
10542 [ISO C standards]: Do not allow headers.
10543 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10544 wcs[abcdefghijklmnopqrstuvwxyz]*.
10545 [ISO C standards] (*_t): Do not allow.
10546 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10547 Expect function.
10548 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10549 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10550 Specify type.
10551 [ISO C standards]: Do not allow headers.
10552 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10553 is[abcdefghijklmnopqrstuvwxyz]*.
10554 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10555 to[abcdefghijklmnopqrstuvwxyz]*.
10556 [ISO C standards] (*_t): Do not allow.
10557 * conform/data/stdalign.h-data: New file.
10558 * conform/data/stdbool.h-data: Likewise.
10559 * conform/data/stdnoreturn.h-data: Likewise.
10560
7514feb8
RM
105612012-11-07 Roland McGrath <roland@hack.frob.com>
10562
10563 [BZ #14815]
10564 * manual/filesys.texi (Directory Entries): Typo fix.
10565 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10566
19b2ecfc
MS
105672012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10568
10569 * elf/elf.h (EM_AARCH64): New macro.
10570 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10571 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10572 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10573 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10574 (R_AARCH64_TLSDESC): Likewise.
10575 (NT_ARM_TLS): Likewise.
10576 (NT_ARM_HW_BREAK): Likewise.
10577 (NT_ARM_HW_WATCH): Likewise.
10578
60e235ee
JM
105792012-11-07 Joseph Myers <joseph@codesourcery.com>
10580
10581 [BZ #14811]
10582 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10583 (__ieee754_powl): Saturate nonzero exponents with absolute value
10584 below 0x1p-79 to +/- 0x1p-79.
10585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10586 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10587 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10588 nonzero exponents with absolute value below 0x1p-32 to +/-
10589 0x1p-32.
10590 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10591 (__ieee754_powl): Saturate nonzero exponents with absolute value
10592 below 0x1p-79 to +/- 0x1p-79.
10593 * math/libm-test.inc (pow_test): Add more tests.
10594
0ab234b7
AK
105952012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10596
10597 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10598 _dl_s390_cap_flags with kernel. Increase string length.
10599 (_dl_s390_platforms): Add z196 and zEC12.
10600
45832f74
JM
106012012-11-07 Joseph Myers <joseph@codesourcery.com>
10602
10603 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10604 Change XOPEN21K to XOPEN2K.
10605
19218757
MK
106062012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10607
10608 * string/memmove.c: Use memcpy when possible.
10609
c5f45721
AJ
106102012-11-06 Andreas Jaeger <aj@suse.de>
10611
10612 * po/eo.po: Update from translation team.
10613
82477c28
JM
106142012-11-06 Joseph Myers <joseph@codesourcery.com>
10615
10616 [BZ #14793]
10617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10618 exponent and small x and y exponents, scale x or y up. Increase
10619 by 2 the exponent used in scaling up.
10620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10621 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10622 * math/libm-test.inc (fma_test): Add more tests.
10623 (fma_test_towardzero): Likewise.
10624 (fma_test_downward): Likewise.
10625 (fma_test_upward): Likewise.
10626
99252c8c
JM
106272012-11-05 Joseph Myers <joseph@codesourcery.com>
10628
acfa885f
JM
10629 [BZ #14805]
10630 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10631 fenv_t *.
10632
99252c8c
JM
10633 [BZ #14801]
10634 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10635 namespace for names of struct fields.
10636 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10637 fenv_t fields.
10638 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10639 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10640
d6d98dea
ST
106412012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10642
10643 [BZ #3665]
10644 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10645
e10bb107
TS
106462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10647
10648 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10649 PTR_DEMANGLE.
10650
10651 [BZ #5246]
10652 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10653 PTR_DEMANGLE.
10654
a0c2940d
JM
106552012-11-04 Joseph Myers <joseph@codesourcery.com>
10656
10657 [BZ #14797]
10658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10659 definitely overflow as x * y not x * y + z.
10660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10661 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10662 * math/libm-test.inc (fma_test): Add more tests.
10663 (fma_test_towardzero): Likewise.
10664 (fma_test_downward): Likewise.
10665 (fma_test_upward): Likewise.
10666
b830319d
TS
106672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10668
10669 [BZ #157]
10670
10671 * include/stub-tag.h: Remove file.
10672 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10673 '#include' of it.
10674 * manual/maint.texi (Porting): Don't reference it.
10675 * Makerules ($(objpfx)stubs): Likewise.
10676 * dirent/closedir.c: Don't include <stub-tag.h>.
10677 * dirent/dirfd.c: Likewise.
10678 * dirent/fdopendir.c: Likewise.
10679 * dirent/getdents.c: Likewise.
10680 * dirent/getdents64.c: Likewise.
10681 * dirent/opendir.c: Likewise.
10682 * dirent/readdir.c: Likewise.
10683 * dirent/readdir64.c: Likewise.
10684 * dirent/readdir64_r.c: Likewise.
10685 * dirent/readdir_r.c: Likewise.
10686 * dirent/rewinddir.c: Likewise.
10687 * dirent/seekdir.c: Likewise.
10688 * dirent/telldir.c: Likewise.
10689 * gmon/profil.c: Likewise.
10690 * grp/setgroups.c: Likewise.
10691 * inet/if_index.c: Likewise.
10692 * io/access.c: Likewise.
10693 * io/chdir.c: Likewise.
10694 * io/chmod.c: Likewise.
10695 * io/chown.c: Likewise.
10696 * io/close.c: Likewise.
10697 * io/dup.c: Likewise.
10698 * io/dup2.c: Likewise.
10699 * io/dup3.c: Likewise.
10700 * io/euidaccess.c: Likewise.
10701 * io/faccessat.c: Likewise.
10702 * io/fchdir.c: Likewise.
10703 * io/fchmod.c: Likewise.
10704 * io/fchmodat.c: Likewise.
10705 * io/fchown.c: Likewise.
10706 * io/fchownat.c: Likewise.
10707 * io/fcntl.c: Likewise.
10708 * io/flock.c: Likewise.
10709 * io/fstatfs.c: Likewise.
10710 * io/fstatfs64.c: Likewise.
10711 * io/fstatvfs.c: Likewise.
10712 * io/fstatvfs64.c: Likewise.
10713 * io/futimens.c: Likewise.
10714 * io/fxstat.c: Likewise.
10715 * io/fxstat64.c: Likewise.
10716 * io/fxstatat.c: Likewise.
10717 * io/fxstatat64.c: Likewise.
10718 * io/getcwd.c: Likewise.
10719 * io/isatty.c: Likewise.
10720 * io/lchmod.c: Likewise.
10721 * io/lchown.c: Likewise.
10722 * io/link.c: Likewise.
10723 * io/linkat.c: Likewise.
10724 * io/lseek.c: Likewise.
10725 * io/lseek64.c: Likewise.
10726 * io/lxstat64.c: Likewise.
10727 * io/mkdir.c: Likewise.
10728 * io/mkdirat.c: Likewise.
10729 * io/mkfifo.c: Likewise.
10730 * io/mkfifoat.c: Likewise.
10731 * io/open.c: Likewise.
10732 * io/open64.c: Likewise.
10733 * io/openat.c: Likewise.
10734 * io/openat64.c: Likewise.
10735 * io/pipe.c: Likewise.
10736 * io/pipe2.c: Likewise.
10737 * io/poll.c: Likewise.
10738 * io/posix_fadvise.c: Likewise.
10739 * io/posix_fadvise64.c: Likewise.
10740 * io/posix_fallocate.c: Likewise.
10741 * io/posix_fallocate64.c: Likewise.
10742 * io/read.c: Likewise.
10743 * io/readlink.c: Likewise.
10744 * io/readlinkat.c: Likewise.
10745 * io/rmdir.c: Likewise.
10746 * io/sendfile.c: Likewise.
10747 * io/sendfile64.c: Likewise.
10748 * io/statfs.c: Likewise.
10749 * io/statfs64.c: Likewise.
10750 * io/statvfs.c: Likewise.
10751 * io/statvfs64.c: Likewise.
10752 * io/symlink.c: Likewise.
10753 * io/symlinkat.c: Likewise.
10754 * io/ttyname.c: Likewise.
10755 * io/ttyname_r.c: Likewise.
10756 * io/umask.c: Likewise.
10757 * io/unlink.c: Likewise.
10758 * io/unlinkat.c: Likewise.
10759 * io/utime.c: Likewise.
10760 * io/utimensat.c: Likewise.
10761 * io/write.c: Likewise.
10762 * io/xmknod.c: Likewise.
10763 * io/xmknodat.c: Likewise.
10764 * io/xstat.c: Likewise.
10765 * io/xstat64.c: Likewise.
10766 * login/getpt.c: Likewise.
10767 * login/grantpt.c: Likewise.
10768 * login/unlockpt.c: Likewise.
10769 * math/e_acoshl.c: Likewise.
10770 * math/e_acosl.c: Likewise.
10771 * math/e_asinl.c: Likewise.
10772 * math/e_atan2l.c: Likewise.
10773 * math/e_atanhl.c: Likewise.
10774 * math/e_coshl.c: Likewise.
10775 * math/e_expl.c: Likewise.
10776 * math/e_fmodl.c: Likewise.
10777 * math/e_gammal_r.c: Likewise.
10778 * math/e_hypotl.c: Likewise.
10779 * math/e_j0l.c: Likewise.
10780 * math/e_j1l.c: Likewise.
10781 * math/e_jnl.c: Likewise.
10782 * math/e_lgammal_r.c: Likewise.
10783 * math/e_log10l.c: Likewise.
10784 * math/e_log2l.c: Likewise.
10785 * math/e_logl.c: Likewise.
10786 * math/e_powl.c: Likewise.
10787 * math/e_rem_pio2l.c: Likewise.
10788 * math/e_sinhl.c: Likewise.
10789 * math/e_sqrtl.c: Likewise.
10790 * math/fclrexcpt.c: Likewise.
10791 * math/fedisblxcpt.c: Likewise.
10792 * math/feenablxcpt.c: Likewise.
10793 * math/fegetenv.c: Likewise.
10794 * math/fegetexcept.c: Likewise.
10795 * math/fegetround.c: Likewise.
10796 * math/feholdexcpt.c: Likewise.
10797 * math/fesetenv.c: Likewise.
10798 * math/fesetround.c: Likewise.
10799 * math/feupdateenv.c: Likewise.
10800 * math/fgetexcptflg.c: Likewise.
10801 * math/fraiseexcpt.c: Likewise.
10802 * math/fsetexcptflg.c: Likewise.
10803 * math/ftestexcept.c: Likewise.
10804 * math/k_cosl.c: Likewise.
10805 * math/k_rem_pio2l.c: Likewise.
10806 * math/k_sinl.c: Likewise.
10807 * math/k_tanl.c: Likewise.
10808 * math/s_asinhl.c: Likewise.
10809 * math/s_atanl.c: Likewise.
10810 * math/s_cbrtl.c: Likewise.
10811 * math/s_erfl.c: Likewise.
10812 * math/s_expm1l.c: Likewise.
10813 * math/s_log1pl.c: Likewise.
10814 * math/s_tanhl.c: Likewise.
10815 * misc/acct.c: Likewise.
10816 * misc/brk.c: Likewise.
10817 * misc/chflags.c: Likewise.
10818 * misc/chroot.c: Likewise.
10819 * misc/fchflags.c: Likewise.
10820 * misc/fgetxattr.c: Likewise.
10821 * misc/flistxattr.c: Likewise.
10822 * misc/fremovexattr.c: Likewise.
10823 * misc/fsetxattr.c: Likewise.
10824 * misc/fsync.c: Likewise.
10825 * misc/ftruncate.c: Likewise.
10826 * misc/futimes.c: Likewise.
10827 * misc/futimesat.c: Likewise.
10828 * misc/getdomain.c: Likewise.
10829 * misc/getdtsz.c: Likewise.
10830 * misc/gethostid.c: Likewise.
10831 * misc/gethostname.c: Likewise.
10832 * misc/getloadavg.c: Likewise.
10833 * misc/getpagesize.c: Likewise.
10834 * misc/getsysstats.c: Likewise.
10835 * misc/getxattr.c: Likewise.
10836 * misc/gtty.c: Likewise.
10837 * misc/ioctl.c: Likewise.
10838 * misc/lgetxattr.c: Likewise.
10839 * misc/listxattr.c: Likewise.
10840 * misc/llistxattr.c: Likewise.
10841 * misc/lremovexattr.c: Likewise.
10842 * misc/lsetxattr.c: Likewise.
10843 * misc/lutimes.c: Likewise.
10844 * misc/madvise.c: Likewise.
10845 * misc/mincore.c: Likewise.
10846 * misc/mlock.c: Likewise.
10847 * misc/mlockall.c: Likewise.
10848 * misc/mmap.c: Likewise.
10849 * misc/mprotect.c: Likewise.
10850 * misc/msync.c: Likewise.
10851 * misc/munlock.c: Likewise.
10852 * misc/munlockall.c: Likewise.
10853 * misc/munmap.c: Likewise.
10854 * misc/preadv.c: Likewise.
10855 * misc/preadv64.c: Likewise.
10856 * misc/ptrace.c: Likewise.
10857 * misc/pwritev.c: Likewise.
10858 * misc/pwritev64.c: Likewise.
10859 * misc/readv.c: Likewise.
10860 * misc/reboot.c: Likewise.
10861 * misc/remap_file_pages.c: Likewise.
10862 * misc/removexattr.c: Likewise.
10863 * misc/revoke.c: Likewise.
10864 * misc/select.c: Likewise.
10865 * misc/setdomain.c: Likewise.
10866 * misc/setegid.c: Likewise.
10867 * misc/seteuid.c: Likewise.
10868 * misc/sethostid.c: Likewise.
10869 * misc/sethostname.c: Likewise.
10870 * misc/setregid.c: Likewise.
10871 * misc/setreuid.c: Likewise.
10872 * misc/setxattr.c: Likewise.
10873 * misc/sstk.c: Likewise.
10874 * misc/stty.c: Likewise.
10875 * misc/swapoff.c: Likewise.
10876 * misc/swapon.c: Likewise.
10877 * misc/sync.c: Likewise.
10878 * misc/syncfs.c: Likewise.
10879 * misc/syscall.c: Likewise.
10880 * misc/truncate.c: Likewise.
10881 * misc/ualarm.c: Likewise.
10882 * misc/usleep.c: Likewise.
10883 * misc/ustat.c: Likewise.
10884 * misc/utimes.c: Likewise.
10885 * misc/vhangup.c: Likewise.
10886 * misc/writev.c: Likewise.
10887 * posix/_exit.c: Likewise.
10888 * posix/alarm.c: Likewise.
10889 * posix/execve.c: Likewise.
10890 * posix/fexecve.c: Likewise.
10891 * posix/fork.c: Likewise.
10892 * posix/fpathconf.c: Likewise.
10893 * posix/getaddrinfo.c: Likewise.
10894 * posix/getegid.c: Likewise.
10895 * posix/geteuid.c: Likewise.
10896 * posix/getgid.c: Likewise.
10897 * posix/getgroups.c: Likewise.
10898 * posix/getlogin.c: Likewise.
10899 * posix/getlogin_r.c: Likewise.
10900 * posix/getpgid.c: Likewise.
10901 * posix/getpid.c: Likewise.
10902 * posix/getppid.c: Likewise.
10903 * posix/getresgid.c: Likewise.
10904 * posix/getresuid.c: Likewise.
10905 * posix/getsid.c: Likewise.
10906 * posix/getuid.c: Likewise.
10907 * posix/glob64.c: Likewise.
10908 * posix/nanosleep.c: Likewise.
10909 * posix/pathconf.c: Likewise.
10910 * posix/pause.c: Likewise.
10911 * posix/posix_madvise.c: Likewise.
10912 * posix/pread.c: Likewise.
10913 * posix/pread64.c: Likewise.
10914 * posix/pwrite.c: Likewise.
10915 * posix/pwrite64.c: Likewise.
10916 * posix/sched_getaffinity.c: Likewise.
10917 * posix/sched_getp.c: Likewise.
10918 * posix/sched_gets.c: Likewise.
10919 * posix/sched_primax.c: Likewise.
10920 * posix/sched_primin.c: Likewise.
10921 * posix/sched_rr_gi.c: Likewise.
10922 * posix/sched_setaffinity.c: Likewise.
10923 * posix/sched_setp.c: Likewise.
10924 * posix/sched_sets.c: Likewise.
10925 * posix/sched_yield.c: Likewise.
10926 * posix/setgid.c: Likewise.
10927 * posix/setlogin.c: Likewise.
10928 * posix/setpgid.c: Likewise.
10929 * posix/setresgid.c: Likewise.
10930 * posix/setresuid.c: Likewise.
10931 * posix/setsid.c: Likewise.
10932 * posix/setuid.c: Likewise.
10933 * posix/sleep.c: Likewise.
10934 * posix/spawni.c: Likewise.
10935 * posix/sysconf.c: Likewise.
10936 * posix/times.c: Likewise.
10937 * posix/wait.c: Likewise.
10938 * posix/wait3.c: Likewise.
10939 * posix/wait4.c: Likewise.
10940 * posix/waitpid.c: Likewise.
10941 * resolv/gai_sigqueue.c: Likewise.
10942 * resource/getpriority.c: Likewise.
10943 * resource/getrlimit.c: Likewise.
10944 * resource/getrusage.c: Likewise.
10945 * resource/nice.c: Likewise.
10946 * resource/setpriority.c: Likewise.
10947 * resource/setrlimit.c: Likewise.
10948 * resource/ulimit.c: Likewise.
10949 * rt/aio_cancel.c: Likewise.
10950 * rt/aio_fsync.c: Likewise.
10951 * rt/aio_read.c: Likewise.
10952 * rt/aio_sigqueue.c: Likewise.
10953 * rt/aio_suspend.c: Likewise.
10954 * rt/aio_write.c: Likewise.
10955 * rt/clock_getres.c: Likewise.
10956 * rt/clock_gettime.c: Likewise.
10957 * rt/clock_nanosleep.c: Likewise.
10958 * rt/clock_settime.c: Likewise.
10959 * rt/lio_listio.c: Likewise.
10960 * rt/mq_close.c: Likewise.
10961 * rt/mq_getattr.c: Likewise.
10962 * rt/mq_notify.c: Likewise.
10963 * rt/mq_open.c: Likewise.
10964 * rt/mq_receive.c: Likewise.
10965 * rt/mq_send.c: Likewise.
10966 * rt/mq_setattr.c: Likewise.
10967 * rt/mq_timedreceive.c: Likewise.
10968 * rt/mq_timedsend.c: Likewise.
10969 * rt/mq_unlink.c: Likewise.
10970 * rt/shm_open.c: Likewise.
10971 * rt/shm_unlink.c: Likewise.
10972 * rt/timer_create.c: Likewise.
10973 * rt/timer_delete.c: Likewise.
10974 * rt/timer_getoverr.c: Likewise.
10975 * rt/timer_gettime.c: Likewise.
10976 * rt/timer_settime.c: Likewise.
10977 * setjmp/__longjmp.c: Likewise.
10978 * setjmp/setjmp.c: Likewise.
10979 * signal/kill.c: Likewise.
10980 * signal/killpg.c: Likewise.
10981 * signal/raise.c: Likewise.
10982 * signal/sigaction.c: Likewise.
10983 * signal/sigaltstack.c: Likewise.
10984 * signal/sigblock.c: Likewise.
10985 * signal/sigignore.c: Likewise.
10986 * signal/sigintr.c: Likewise.
10987 * signal/signal.c: Likewise.
10988 * signal/sigpause.c: Likewise.
10989 * signal/sigpending.c: Likewise.
10990 * signal/sigqueue.c: Likewise.
10991 * signal/sigreturn.c: Likewise.
10992 * signal/sigset.c: Likewise.
10993 * signal/sigsetmask.c: Likewise.
10994 * signal/sigstack.c: Likewise.
10995 * signal/sigsuspend.c: Likewise.
10996 * signal/sigtimedwait.c: Likewise.
10997 * signal/sigvec.c: Likewise.
10998 * signal/sigwait.c: Likewise.
10999 * signal/sigwaitinfo.c: Likewise.
11000 * signal/sysv_signal.c: Likewise.
11001 * socket/accept.c: Likewise.
11002 * socket/accept4.c: Likewise.
11003 * socket/bind.c: Likewise.
11004 * socket/connect.c: Likewise.
11005 * socket/getpeername.c: Likewise.
11006 * socket/getsockname.c: Likewise.
11007 * socket/getsockopt.c: Likewise.
11008 * socket/isfdtype.c: Likewise.
11009 * socket/listen.c: Likewise.
11010 * socket/recv.c: Likewise.
11011 * socket/recvfrom.c: Likewise.
11012 * socket/recvmsg.c: Likewise.
11013 * socket/send.c: Likewise.
11014 * socket/sendmsg.c: Likewise.
11015 * socket/sendto.c: Likewise.
11016 * socket/setsockopt.c: Likewise.
11017 * socket/shutdown.c: Likewise.
11018 * socket/sockatmark.c: Likewise.
11019 * socket/socket.c: Likewise.
11020 * socket/socketpair.c: Likewise.
11021 * stdio-common/ctermid.c: Likewise.
11022 * stdio-common/cuserid.c: Likewise.
11023 * stdio-common/remove.c: Likewise.
11024 * stdio-common/rename.c: Likewise.
11025 * stdio-common/renameat.c: Likewise.
11026 * stdio-common/tempname.c: Likewise.
11027 * stdlib/getcontext.c: Likewise.
11028 * stdlib/makecontext.c: Likewise.
11029 * stdlib/setcontext.c: Likewise.
11030 * stdlib/swapcontext.c: Likewise.
11031 * stdlib/system.c: Likewise.
11032 * streams/fattach.c: Likewise.
11033 * streams/fdetach.c: Likewise.
11034 * streams/getmsg.c: Likewise.
11035 * streams/getpmsg.c: Likewise.
11036 * streams/putmsg.c: Likewise.
11037 * streams/putpmsg.c: Likewise.
11038 * sysdeps/unix/bsd/getpt.c: Likewise.
11039 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11040 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11041 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11043 Likewise.
11044 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11045 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11046 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11047 * sysvipc/msgctl.c: Likewise.
11048 * sysvipc/msgget.c: Likewise.
11049 * sysvipc/msgrcv.c: Likewise.
11050 * sysvipc/msgsnd.c: Likewise.
11051 * sysvipc/semctl.c: Likewise.
11052 * sysvipc/semget.c: Likewise.
11053 * sysvipc/semop.c: Likewise.
11054 * sysvipc/semtimedop.c: Likewise.
11055 * sysvipc/shmat.c: Likewise.
11056 * sysvipc/shmctl.c: Likewise.
11057 * sysvipc/shmdt.c: Likewise.
11058 * sysvipc/shmget.c: Likewise.
11059 * termios/tcdrain.c: Likewise.
11060 * termios/tcflow.c: Likewise.
11061 * termios/tcflush.c: Likewise.
11062 * termios/tcgetattr.c: Likewise.
11063 * termios/tcgetpgrp.c: Likewise.
11064 * termios/tcsendbrk.c: Likewise.
11065 * termios/tcsetattr.c: Likewise.
11066 * termios/tcsetpgrp.c: Likewise.
11067 * time/adjtime.c: Likewise.
11068 * time/clock.c: Likewise.
11069 * time/getitimer.c: Likewise.
11070 * time/gettimeofday.c: Likewise.
11071 * time/setitimer.c: Likewise.
11072 * time/settimeofday.c: Likewise.
11073 * time/stime.c: Likewise.
11074 * time/time.c: Likewise.
11075
110762012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11077
a20492cf
PT
11078 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11079 /usr/old/bin.
11080
72e182e3
PT
11081 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11082 instead of spaces.
11083 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11084
fbeafede
JM
110852012-11-03 Joseph Myers <joseph@codesourcery.com>
11086
5b5b04d6
JM
11087 [BZ #14796]
11088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11089 FE_TONEAREST before applying Dekker multiplication and Knuth
11090 addition. Clear inexact exceptions and check for exact zero
11091 results afterwards.
11092 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11093 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11094 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11095 * math/libm-test.inc (fma_test): Add more tests.
11096 (fma_test_towardzero): Likewise.
11097 (fma_test_downward): Likewise.
11098 (fma_test_upward): Likewise.
11099 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11100 function.
11101 (libc_fesetround): New macro.
11102 (libc_fesetroundf): Likewise.
11103 (libc_fesetroundl): Likewise.
11104 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11105 function.
11106 (libc_fesetround_387): Likewise.
11107 (libc_fesetroundf): New macro.
11108 (libc_fesetround): Likewise.
11109 (libc_fesetroundl): Likewise.
11110 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11111 function.
11112 (libc_fesetroundf): New macro.
11113 (libc_fesetround): Likewise.
11114 (libc_fesetroundl): Likewise.
11115 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11116 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11117 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11118 libm_hidden_ver.
11119 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11120 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11121 libm_hidden_def.
11122 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11123 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11124 libm_hidden_ver.
11125 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11126 libm_hidden_def.
11127
fbeafede
JM
11128 [BZ #3439]
11129 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11130 integer constant usable in #if and use that to give value to enum
11131 constant.
11132 (FE_DIVBYZERO): Likewise.
11133 (FE_UNDERFLOW): Likewise.
11134 (FE_OVERFLOW): Likewise.
11135 (FE_INVALID): Likewise.
11136 (FE_INVALID_SNAN): Likewise.
11137 (FE_INVALID_ISI): Likewise.
11138 (FE_INVALID_IDI): Likewise.
11139 (FE_INVALID_ZDZ): Likewise.
11140 (FE_INVALID_IMZ): Likewise.
11141 (FE_INVALID_COMPARE): Likewise.
11142 (FE_INVALID_SOFTWARE): Likewise.
11143 (FE_INVALID_SQRT): Likewise.
11144 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11145 (FE_TONEAREST): Likewise.
11146 (FE_TOWARDZERO): Likewise.
11147 (FE_UPWARD): Likewise.
11148 (FE_DOWNWARD): Likewise.
11149 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11150 (FE_DIVBYZERO): Likewise.
11151 (FE_OVERFLOW): Likewise.
11152 (FE_UNDERFLOW): Likewise.
11153 (FE_INEXACT): Likewise.
11154 (FE_TONEAREST): Likewise.
11155 (FE_DOWNWARD): Likewise.
11156 (FE_UPWARD): Likewise.
11157 (FE_TOWARDZERO): Likewise.
11158 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11159 (FE_UNDERFLOW): Likewise.
11160 (FE_OVERFLOW): Likewise.
11161 (FE_DIVBYZERO): Likewise.
11162 (FE_INVALID): Likewise.
11163 (FE_TONEAREST): Likewise.
11164 (FE_TOWARDZERO): Likewise.
11165 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11166 (FE_OVERFLOW): Likewise.
11167 (FE_UNDERFLOW): Likewise.
11168 (FE_DIVBYZERO): Likewise.
11169 (FE_INEXACT): Likewise.
11170 (FE_TONEAREST): Likewise.
11171 (FE_TOWARDZERO): Likewise.
11172 (FE_UPWARD): Likewise.
11173 (FE_DOWNWARD): Likewise.
11174 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11175 (FE_DIVBYZERO): Likewise.
11176 (FE_OVERFLOW): Likewise.
11177 (FE_UNDERFLOW): Likewise.
11178 (FE_INEXACT): Likewise.
11179 (FE_TONEAREST): Likewise.
11180 (FE_DOWNWARD): Likewise.
11181 (FE_UPWARD): Likewise.
11182 (FE_TOWARDZERO): Likewise.
11183
105ca950
CM
111842012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11185
11186 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11187
a542b389
AS
111882012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11189
11190 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11191 commands. Quote $PWD.
11192 (blacklist_exports): Don't use remove_newlines. Replace "declare
11193 -x" by "export".
11194 (remove_newlines): Remove.
11195
f62c8abc
L
111962012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11197
11198 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11199 * stdlib/stdlib.h (atof): Moved to ...
11200 * include/bits/stdlib-float.h: Here. New file.
11201 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11202 * stdlib/bits/stdlib-float.h: New file.
11203 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11204 -mno-sse -mno-mmx.
11205 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11206 <xmmintrin.h>.
11207
0155d5b2
JM
112082012-11-02 Joseph Myers <joseph@codesourcery.com>
11209
a68d0680
JM
11210 * conform/conformtest.pl (@headers): Add fenv.h.
11211 * conform/data/fenv.h-data: New file.
11212 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11213 include of <math/fenv.h>.
11214
caf7f573
JM
11215 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11216 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11217 && !UNIX98]. Enables tests for XOPEN2K8.
11218 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11219 POSIX2008]: Likewise.
11220
6c073ad6
JM
11221 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11222 (struct rusage): Do not expect type or its members.
11223
0155d5b2
JM
11224 [BZ #3439]
11225 * math/math.h (FP_NAN): Define macro to integer constant usable in
11226 #if and use that to give value to enum constant.
11227 (FP_INFINITE): Likewise.
11228 (FP_ZERO): Likewise.
11229 (FP_SUBNORMAL): Likewise.
11230 (FP_NORMAL): Likewise.
11231
b5dcacb4
AS
112322012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11233
11234 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11235 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11236 arguments.
11237
f7934be8
RM
112382012-11-02 Roland McGrath <roland@hack.frob.com>
11239
11240 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11241 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11242 autoconf-time if not.
11243 * configure.in: Remove AC_PREREQ.
11244
d7d08bde
TMQMF
112452012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11246
11247 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11248 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11249 of the internal implementation.
11250
dcdae19a
JM
112512012-11-02 Joseph Myers <joseph@codesourcery.com>
11252
11253 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11254 except include of <misc/sys/syslog.h>.
11255
d6cffd3e
AS
112562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11257
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11259 function returns with a NULL context exit with zero.
11260
b3563932
TMQMF
112612012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11262
11263 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11264
b288a93d
L
112652012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11266
11267 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11268 (run_program_cmd): This.
11269 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11270 (tst_langinfo): New variable. Use it.
11271
a2421a68
SAS
112722012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11273
11274 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11275 floating point opcodes.
11276
6f796e1b
TS
112772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11278
7402596b
TS
11279 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11280 variable.
11281
d0d4f868
TS
11282 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11283
6f796e1b
TS
11284 * sysdeps/mach/hurd/powerpc: Remove directory.
11285 * sysdeps/mach/powerpc: Likewise.
11286
4da224a2
AS
112872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11288
11289 * scripts/check-local-headers.sh: Ignore c++ headers.
11290
341dd673
TS
112912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11292
11293 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11294 __libc_cleanup_region_start argument.
11295
473611b2
JM
112962012-11-01 Joseph Myers <joseph@codesourcery.com>
11297
11298 [BZ #14784]
11299 [BZ #14785]
11300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11301 x * y using scaling, not as x * y + z.
11302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11304 * math/libm-test.inc (fma_test): Add more tests.
11305 (fma_test_towardzero): Likewise.
11306 (fma_test_downward): Likewise.
11307 (fma_test_upward): Likewise.
11308
4078da3d
TS
113092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11310
11311 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11312
903252aa
JM
113132012-10-31 Joseph Myers <joseph@codesourcery.com>
11314
11315 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11316 New variable.
11317
cbc818d0
TS
113182012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11319
11320 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11321
5a03cb1e
AS
113222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11323
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11325 Fix sort order.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11327 Likewise.
11328
90aff2ff
TMQMF
113292012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11330
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11332 Fix the order of the list for glibc 2.17.
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11334 Likewise.
11335
1818fcb7
AS
113362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11337
11338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11339
ef82f4da
JM
113402012-10-31 Joseph Myers <joseph@codesourcery.com>
11341
16a0e2ec
JM
11342 [BZ #14610]
11343 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11344 for low part of x being zero before using __atanl (y).
11345 * math/libm-test.inc (atan2_test): Add another test.
11346
0eb69512
JM
11347 * manual/install.texi (Configuring and compiling): Document
11348 general use of test-wrapper and test-wrapper-env.
11349 * INSTALL: Regenerated.
11350
ef82f4da
JM
11351 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11352 (__fma): Do not extract and scale down low bits on after-rounding
11353 systems when result rounded to normal precision would have normal
11354 exponent.
11355 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11356 (__fmal): Do not extract and scale down low bits on after-rounding
11357 systems when result rounded to normal precision would have normal
11358 exponent.
11359 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11360 (__fmal): Do not extract and scale down low bits on after-rounding
11361 systems when result rounded to normal precision would have normal
11362 exponent.
11363 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11364 macro.
11365 (fma_test): Add more tests.
11366 (fma_test_towardzero): Likewise.
11367 (fma_test_downward): Likewise.
11368 (fma_test_upward): Likewise.
11369
954ef0d9
L
113702012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11371
11372 * sysdeps/i386/tininess.h: Renamed to ...
11373 * sysdeps/x86/tininess.h: This.
11374 * sysdeps/x86_64/tininess.h: Removed.
11375
df61ffb2
JM
113762012-10-30 Joseph Myers <joseph@codesourcery.com>
11377
11378 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11379 input. Use $(build-program-cmd).
11380 ($(objpfx)tst-array1-static.out): Likewise.
11381 ($(objpfx)tst-array2.out): Likewise.
11382 ($(objpfx)tst-array3.out): Likewise.
11383 ($(objpfx)tst-array4.out): Likewise.
11384 ($(objpfx)tst-array5.out): Likewise.
11385 ($(objpfx)tst-array5-static.out): Likewise.
11386
01767843
CM
113872012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11388
47cc1490
CM
11389 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11390 if defined.
11391
01767843
CM
11392 * nss/nsswitch.h (nss_interface_function): Provide new
11393 macro for use with NSS functions.
11394 * grp/initgroups.c: Use new macro.
11395 * nss/getXXbyYY.c: Likewise.
11396 * nss/getXXbyYY_r.c: Likewise.
11397 * nss/getXXent.c: Likewise.
11398 * nss/getXXent_r.c: Likewise.
11399 * sysdeps/posix/getaddrinfo.c: Likewise.
11400
8321aa97
AJ
114012012-10-30 Andreas Jaeger <aj@suse.de>
11402
11403 * po/ru.po: Update Russion translation from translation project.
11404
2a27fd6d
JM
114052012-10-30 Joseph Myers <joseph@codesourcery.com>
11406
8627a232
JM
11407 [BZ #14152]
11408 [BZ #14783]
11409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11410 result and shift together with sticky bit instead of replicating
11411 round-to-nearest rounding.
11412 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11413 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11414 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11415 missing underflow exceptions.
11416 (fma_test_towardzero): Add more tests.
11417 (fma_test_downward): Likewise.
11418 (fma_test_upward): Likewise.
11419
2a27fd6d
JM
11420 [BZ #14047]
11421 * sysdeps/generic/tininess.h: New file.
11422 * sysdeps/i386/tininess.h: Likewise.
11423 * sysdeps/sh/tininess.h: Likewise.
11424 * sysdeps/x86_64/tininess.h: Likewise.
11425 * stdlib/tst-strtod-underflow.c: Likewise.
11426 * stdlib/tst-tininess.c: Likewise.
11427 * stdlib/strtod_l.c: Include <tininess.h>.
11428 (round_and_return): Do not set errno for exact underflow cases.
11429 Force an underflow exception when setting errno for underflow.
11430 Determine underflow based on rounding to normal precision if
11431 TININESS_AFTER_ROUNDING.
11432 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11433 ERANGE for exact underflow cases.
11434 * stdlib/Makefile (tests): Add tst-tininess and
11435 tst-strtod-underflow.
11436 ($(objpfx)tst-tininess): Use $(link-libm).
11437 ($(objpfx)tst-strtod-underflow): Likewise.
11438
e7170363
AJ
114392012-10-30 Andreas Jaeger <aj@suse.de>
11440
e5088dc6
AJ
11441 [BZ#14767]
11442 * elf/Makefile (tests): Remove conditional for have-initfini-array
11443 since this is now always required and the variable does not exist
11444 anymore.
11445 (tests-static): Likewise.
11446 (modules-names): Likewise.
11447
e7170363 11448 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11449
11450 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11451 merged with constructor/destructor.
11452 (init_array): Likewise.
11453 * elf/tst-array2dep.c (fini_array): Likewise.
11454 (init_array): Likewise.
11455
60457d8a
MF
114562012-10-29 Mike Frysinger <vapier@gentoo.org>
11457
11458 * manual/message.texi: Delete @cartouche tags.
11459
8bece752
PT
114602012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11461
94ce799f
PT
11462 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11463 EOPNOTSUPP.
11464 * sysdeps/mach/hurd/fsync.c: Likewise.
11465
8bece752
PT
11466 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11467 [_POSIX_REALTIME_SIGNALS]: Change condition to
11468 [_POSIX_REALTIME_SIGNALS > 0].
11469
86ebe6b1
AJ
114702012-10-27 Andreas Jaeger <aj@suse.de>
11471
11472 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11473 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11475 [__WORDSIZE != 64]: Likewise.
11476
54399c08
L
114772012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11478
11479 * iconvdata/tst-table.sh: Remove ${SHELL}.
11480 * iconvdata/tst-tables.sh: Likewise.
11481
e2211bed
DM
114822012-10-25 David S. Miller <davem@davemloft.net>
11483
11484 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11485 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11486 of strtoull.
11487
f303f97c
DM
11488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11489 ifunc-impl-list.c
11490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11491 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11492 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11493 file.
11494
1e9d84cd
RM
114952012-10-25 Roland McGrath <roland@hack.frob.com>
11496
11497 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11498 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11499 __getdirentries.
11500
df381762
JM
115012012-10-25 Joseph Myers <joseph@codesourcery.com>
11502 Jim Blandy <jimb@codesourcery.com>
11503
11504 * scripts/cross-test-ssh.sh: New file.
11505 * manual/install.texi (Configuring and compiling): Document use of
11506 cross-test-ssh.sh.
11507 * INSTALL: Regenerated.
11508
bff64913
PT
115092012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11510
11511 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11512 EOPNOTSUPP.
11513
25fe8932
JM
115142012-10-25 Joseph Myers <joseph@codesourcery.com>
11515
11516 * Makeconfig (run-program-prefix): Fix comment.
11517
cc1290d0
JM
115182012-10-24 Joseph Myers <joseph@codesourcery.com>
11519 Jim Blandy <jimb@codesourcery.com>
11520
11521 * Makeconfig (test-wrapper): New variable,
11522 (test-wrapper-env): Likewise.
11523 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11524 (run-built-tests): Define to yes.
11525 (run-program-prefix): Use $(test-wrapper).
11526 (built-program-cmd): Likewise.
11527 * Rules (make-test-out): Use $(test-wrapper-env) and
11528 $(host-built-program-cmd).
11529 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11530 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11531 tst-pathopt.sh.
11532 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11533 $(test-wrapper-env) to tst-rtld-load-self.sh.
11534 ($(objpfx)order2.out): Use $(test-wrapper).
11535 ($(objpfx)tst-initorder.out): Likewise.
11536 ($(objpfx)tst-initorder2.out): Likewise.
11537 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11538 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11539 (test_wrapper_env): New variable. Use it to run ld.so.
11540 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11541 Use it to run ld.so.
11542 (test_wrapper_env): Likewise.
11543 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11544 $(test-wrapper) to run-iconv-test.sh.
11545 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11546 (ICONV): Use $test_wrapper.
11547 * posix/Makefile ($(objpfx)globtest.out): Pass
11548 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11549 globtest.sh, not $(run-program-prefix).
11550 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11551 (test_wrapper): Likewise.
11552 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11553 set together with run_via_rtld_prefix.
11554 (run_program_prefix): Define in terms of test_wrapper and
11555 run_via_rtld_prefix.
11556
6e6249d0
RM
115572012-10-24 Roland McGrath <roland@hack.frob.com>
11558
11559 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11560 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11561 Targets removed.
11562
11563 [BZ #14743]
11564 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11565 Declare __clock_getres, __clock_gettime, __clock_settime,
11566 __clock_nanosleep, and __clock_getcpuclockid.
11567 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11568 Remove librt_hidden_def (clock_gettime).
11569 * sysdeps/unix/clock_gettime.c: Likewise.
11570 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11572 * rt/clock_getres.c: Define __clock_getres as an alias.
11573 * sysdeps/posix/clock_getres.c: Likewise.
11574 * rt/clock_settime.c: Define __clock_settime as an alias.
11575 * sysdeps/unix/clock_settime.c: Likewise.
11576 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11577 * sysdeps/unix/clock_nanosleep.c: Likewise.
11578 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11579 * rt/clock-compat.c: New file.
11580 * rt/Makefile (librt-routines): Add clock-compat and move
11581 $(clock-routines) to ...
11582 (routines): ... here, new variable.
11583 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11584 Don't add get_clockfreq here.
11585 * rt/Versions (libc: GLIBC_2.17): New version set.
11586 Add clock_* symbols here.
11587 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11588 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11589 (GLIBC_2.17): Add clock_* symbols.
11590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11594 Likewise.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11596 Likewise.
11597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11601 * NEWS: Mention the move.
11602
11603 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11604 Use __open, __read, __close rather than their public counterparts.
11605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11606 (__get_clockfreq_via_cpuinfo): Likewise.
11607 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11608 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11609
11610 * config.h.in (HAVE_IFUNC): New #undef.
11611 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11612 was successful.
11613 * configure: Regenerated.
11614
0cae3f4b
MF
116152012-10-24 Mike Frysinger <vapier@gentoo.org>
11616
11617 * configure.in: Move READELF check to start of file.
11618 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11619 libc_cv_asm_gnu_indirect_function in the process.
11620 * configure: Regenerated.
11621
8175a253
MF
116222012-10-24 Mike Frysinger <vapier@gentoo.org>
11623
11624 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11625 send the output to /dev/null.
11626 (libc_cv_cc_with_libunwind): Likewise.
11627 (libc_cv_as_noexecstack): Likewise.
11628 * configure: Regenerate.
11629
0708a7d1
JM
116302012-10-24 Joseph Myers <joseph@codesourcery.com>
11631
10b40d85
JM
11632 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11633
0708a7d1
JM
11634 * posix/globtest.sh (TMPDIR): Do not set.
11635 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11636 (testout): Likewise.
11637
9fddec1a
AJ
116382012-10-24 Andreas Jaeger <aj@suse.de>
11639
3a8db22f
AJ
11640 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11641 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11642 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11643 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11644 posix_fadvise64, posix_fallocate64.
11645
9fddec1a
AJ
11646 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11647 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11648 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11649 Likewise.
11650 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11651 Likewise.
11652 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11653
11654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11655 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11656 <bits/fcntl-linux.h>.
11657 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11658
11659 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11660 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11661 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11662 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11663 [__WORDSIZE != 64]: Likewise.
11664
ebfd1bbd
JM
116652012-10-23 Joseph Myers <joseph@codesourcery.com>
11666
03ac099f
JM
11667 * Makeconfig (run-built-tests): New variable.
11668 * Rules [$(cross-compiling) = yes]: Change condition to
11669 [$(run-built-tests) = no].
11670 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11671 to [$(run-built-tests) = yes].
11672 * elf/Makefile [$(cross-compiling) = no]: Likewise
11673 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11674 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11675 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11676 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11677 * io/Makefile [$(cross-compiling) = no]: Likewise.
11678 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11679 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11680 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11681 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11682 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11683 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11684 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11685 * string/Makefile [$(cross-compiling) = no]: Likewise.
11686
ebfd1bbd
JM
11687 * posix/Makefile ($(objpfx)globtest.out): Pass
11688 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11689 $(rtld-installed-name).
11690 * posix/globtest.sh (elf_objpfx): Remove variable.
11691 (rtld_installed_name): Likewise.
11692 (library_path): Likewise.
11693 (run_program_prefix): New variable. Use for running globtest
11694 binary.
11695
166bca24
JB
116962012-10-23 Jim Blandy <jimb@codesourcery.com>
11697 Joseph Myers <joseph@codesourcery.com>
11698
11699 * Makeconfig (host-built-program-cmd): New variable.
11700 * elf/Makefile (tst-stackguard1-ARGS): Use
11701 $(host-built-program-cmd).
11702 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11703 (tst-spawn-ARGS): Likewise.
11704 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11705
88866099
JM
117062012-10-23 Joseph Myers <joseph@codesourcery.com>
11707 Jim Blandy <jimb@codesourcery.com>
11708
11709 * Makeconfig (run-via-rtld-prefix): New variable.
11710 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11711 (built-program-cmd): Likewise.
11712
b4b4c296
AJ
117132012-10-22 Andreas Jaeger <aj@suse.de>
11714
11715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11716 __O_RSYNC if it exists, otherwise to O_SYNC.
11717
6fb54a22
JB
117182012-10-22 Jim Blandy <jimb@codesourcery.com>
11719 Joseph Myers <joseph@codesourcery.com>
11720
11721 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11722 /dev/null.
11723 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11724 from /dev/null
11725 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11726 /dev/null.
11727
481b90b9
AJ
117282012-10-22 Andreas Jaeger <aj@suse.de>
11729
2a0e2669
AJ
11730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11731 Define always.
11732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11733
76e38f9a
AJ
11734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11735 bits/fcntl-linux.h.
11736
7cd37b43
AJ
11737 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11738 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11739
481b90b9
AJ
11740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11741 to __O_LARGEFILE.
11742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11743 to __O_LARGEFILE.
11744
aba75984
JB
117452012-10-21 Jim Blandy <jimb@codesourcery.com>
11746 Joseph Myers <joseph@codesourcery.com>
11747
11748 * config.make.in (NM): New variable.
11749
88d4247f
AJ
117502012-10-21 Andreas Jaeger <aj@suse.de>
11751
11752 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11753 definitions and declarations that are provided by
11754 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11755
f2eed205
L
117562012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11757
11758 [BZ #14683]
11759 * elf/Makefile (tests-static): Add tst-leaks1-static.
11760 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11761 ($(objpfx)tst-leaks1-static): New rule.
11762 ($(objpfx)tst-leaks1-static-mem): Likewise.
11763 (tst-leaks1-static-ENV): New macro.
11764 * elf/dl-open.c (dl_open_worker): Check the main application
11765 only if SHARED is defined.
11766 * elf/tst-leaks1-static.c: New file.
11767
335e6931
AJ
117682012-10-20 Andreas Jaeger <aj@suse.de>
11769
11770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11771 generic values for Linux.
11772 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11773 and declarations that are provided by <bits/fcntl-linux.h> and
11774 include <bits/fcntl-linux.h>.
11775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11777
ac5c94d3
RM
117782012-10-20 Roland McGrath <roland@hack.frob.com>
11779
11780 * io/fcntl.h: Move include of <bits/types.h> to the top and
11781 include it unconditionally.
11782
de54b33a
L
117832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11784
228cfb01
L
11785 * wcsmbs/Makefile (tests-ifunc): New variable.
11786 (tests): Add $(tests-ifunc).
11787 * wcsmbs/test-wcschr-ifunc.c: New file.
11788 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11789 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11790 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11791 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11792 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11793
69f07e5f
L
11794 * string/Makefile (tests-ifunc): New variable.
11795 (tests): Add $(tests-ifunc).
11796 * string/test-memccpy.c (TEST_NAME): New macro.
11797 * string/test-memchr.c (TEST_NAME): Likewise.
11798 * string/test-memcmp.c (TEST_NAME): Likewise.
11799 * string/test-memcpy.c (TEST_NAME): Likewise.
11800 * string/test-memmem.c (TEST_NAME): Likewise.
11801 * string/test-memmove.c (TEST_NAME): Likewise.
11802 * string/test-memset.c (TEST_NAME): Likewise.
11803 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11804 * string/test-stpcpy.c (TEST_NAME): Likewise.
11805 * string/test-stpncpy.c (TEST_NAME): Likewise.
11806 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11807 * string/test-strcasestr.c (TEST_NAME): Likewise.
11808 * string/test-strcat.c (TEST_NAME): Likewise.
11809 * string/test-strchr.c (TEST_NAME): Likewise.
11810 * string/test-strcmp.c(TEST_NAME): Likewise.
11811 * string/test-strcpy.c (TEST_NAME): Likewise.
11812 * string/test-strcspn.c (TEST_NAME): Likewise.
11813 * string/test-strlen.c (TEST_NAME): Likewise.
11814 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11815 * string/test-strncmp.c (TEST_NAME): Likewise.
11816 * string/test-strncpy.c (TEST_NAME): Likewise.
11817 * string/test-strnlen.c (TEST_NAME): Likewise.
11818 * string/test-strpbrk.c (TEST_NAME): Likewise.
11819 * string/test-strrchr.c (TEST_NAME): Likewise.
11820 * string/test-strspn.c (TEST_NAME): Likewise.
11821 * string/test-strstr.c (TEST_NAME): Likewise.
11822 * string/test-bcopy-ifunc.c: New file.
11823 * string/test-bzero-ifunc.c: Likewise.
11824 * string/test-memccpy-ifunc.c: Likewise.
11825 * string/test-memchr-ifunc.c: Likewise.
11826 * string/test-memcmp-ifunc.c: Likewise.
11827 * string/test-memcpy-ifunc.c: Likewise.
11828 * string/test-memmem-ifunc.c: Likewise.
11829 * string/test-memmove-ifunc.c: Likewise.
11830 * string/test-mempcpy-ifunc.c: Likewise.
11831 * string/test-memset-ifunc.c: Likewise.
11832 * string/test-rawmemchr-ifunc.c: Likewise.
11833 * string/test-stpcpy-ifunc.c: Likewise.
11834 * string/test-stpncpy-ifunc.c: Likewise.
11835 * string/test-strcasecmp-ifunc.c: Likewise.
11836 * string/test-strcasestr-ifunc.c: Likewise.
11837 * string/test-strcat-ifunc.c: Likewise.
11838 * string/test-strchr-ifunc.c: Likewise.
11839 * string/test-strchrnul-ifunc.c: Likewise.
11840 * string/test-strcmp-ifunc.c: Likewise.
11841 * string/test-strcpy-ifunc.c: Likewise.
11842 * string/test-strcspn-ifunc.c: Likewise.
11843 * string/test-strlen-ifunc.c: Likewise.
11844 * string/test-strncasecmp-ifunc.c: Likewise.
11845 * string/test-strncat-ifunc.c: Likewise.
11846 * string/test-strncmp-ifunc.c: Likewise.
11847 * string/test-strncpy-ifunc.c: Likewise.
11848 * string/test-strnlen-ifunc.c: Likewise.
11849 * string/test-strpbrk-ifunc.c: Likewise.
11850 * string/test-strrchr-ifunc.c: Likewise.
11851 * string/test-strspn-ifunc.c: Likewise.
11852 * string/test-strstr-ifunc.c: Likewise.
11853
de54b33a
L
11854 * debug/Makefile (tests-ifunc): New variable.
11855 (tests): Add $(tests-ifunc).
11856 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11857 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11858 * debug/test-stpcpy_chk-ifunc.c: New file.
11859 * debug/test-strcpy_chk-ifunc.c: Likewise.
11860
88481c16
SP
118612012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11862
11863 [BZ #13601]
11864 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11865 header is not read in.
11866
135948bd
JM
118672012-10-19 Joseph Myers <joseph@codesourcery.com>
11868
89f1c388
JM
11869 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11870 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11871 directly. Pass built executable to script as
11872 $(built-program-cmd).
11873 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11874 $testprogram without using LD_LIBRARY_PATH and $ldso.
11875
e40a0d21
JM
11876 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11877 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11878 $(rtld-installed-name).
11879 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11880 (rtld_installed_name): Likewise.
11881 (library_path): Likewise.
11882 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11883 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11884 $(run-program-prefix) to tst-tables.sh.
11885 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11886 it to run tst-table-from and tst-table-to.
11887 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11888 Pass it to tst-table.sh.
11889 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11890 $(run-program-prefix) to tst-gettext.sh.
11891 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11892 tst-translit.sh.
11893 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11894 tst-gettext2.sh.
11895 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11896 to run tst-gettext.
11897 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11898 to run tst-gettext2.
11899 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11900 to run tst-translit.
11901 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11902 $(run-program-prefix) to tst-mtrace.sh.
11903 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11904 to run tst-mtrace.
11905 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11906 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11907 $(rtld-installed-name).
11908 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11909 (rtld_installed_name): Likewise.
11910 (run_program_prefix): New variable. Use it to run wordexp-test.
11911
728e272a
JM
11912 * Makeconfig (ARCH): Remove all definitions.
11913 (machine): Likewise.
11914 [ARCH]: Remove conditional code.
11915 [!objdir]: Give error.
11916 [!objdir] (objpfx): Remove.
11917 [!objdir] (common-objpfx): Likewise.
11918 [!objdir] (common-objdir): Likewise.
11919 * configure.in (config_makefile): Remove. Hardcode Makefile in
11920 AC_CONFIG_FILES call.
11921 * configure: Regenerated.
11922
d528cdcf
JM
11923 [BZ #13888]
11924 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11925 or TMPDIR.
11926 (testout): Likewise.
11927
135948bd
JM
11928 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11929 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11930 $(rtld-installed-name).
11931 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11932 (rtld_installed_name): Likwise.
11933 (runit): Remove function.
11934 (run_getconf): New variable, Use it for running getconf binary.
11935
38c78296
L
119362012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11937
11938 [BZ #14716]
11939 * string/test-memmem.c (check_result): New function.
11940 (do_one_test): Use it.
11941 (check1): New function.
11942 (test_main): Use it.
11943
d077f65f
MT
119442012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11945
11946 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11947
ced52c71
JM
119482012-10-18 Joseph Myers <joseph@codesourcery.com>
11949
11950 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11951 (_G_LSEEK64): Likewise.
11952 (_G_MMAP64): Likewise.
11953 (_G_FSTAT64): Likewise.
11954 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11955 (_G_LSEEK64): Likewise.
11956 (_G_MMAP64): Likewise.
11957 (_G_FSTAT64): Likewise.
11958 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11959 unconditional. Call __mmap64 directly.
11960 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11961 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11962 __lseek64 directly.
11963 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11964 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11965 __mmap64 directly.
11966 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11967 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11968 __lseek64 directly.
11969 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11970 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11971 __lseek64 directly.
11972 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11973 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11974 __lseek64 directly.
11975 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11976 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11977 __fxstat64 directly.
11978 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11979 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11980 unconditional.
11981 (freopen64) [!_G_OPEN64]: Remove conditional code.
11982 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11983 unconditional.
11984 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11985 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11986 unconditional.
11987 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11988 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11989 unconditional.
11990 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11991 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11992 unconditional.
11993 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11994 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11995 unconditional.
11996 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11997 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11998 unconditional.
11999 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12000 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12001 unconditional.
12002 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12003
b741de23
SP
120042012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12005
12006 [BZ #12140]
12007 * manual/memory.texi (Malloc Tunable Parameters): Add note
12008 about free list pointers overwriting some perturb bytes.
12009 Wording suggested by Roland McGrath.
12010
f9b9d9c9
JM
120112012-10-17 Joseph Myers <joseph@codesourcery.com>
12012
12013 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12014 (lgamma_test): Likewise.
12015 (tgamma_test): Likewise.
12016
172a631a
FW
120172012-10-16 Florian Weimer <fweimer@redhat.com>
12018
12019 [BZ #14700]
12020 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12021 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12022
e9f37252
MK
120232012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12024
12025 * NEWS: Mention BZ #14716.
12026 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12027 when removing AVAILABLE1_USES_J macro.
12028
d394eb74
L
120292012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12030
12031 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12032 (__bswap_64): __uint64_t for unsigned 64-bit int.
12033
ca38dc17
AS
120342012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12035
12036 * include/string.h (memmem): Declare libc hidden alias.
12037 * string/memmem.c (memmem): Define libc hidden alias.
12038 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12039 __read, __close instead of open, read, close.
12040
9a387d1f
L
120412012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12042
ac49ecaf
L
12043 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12044 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12045 global and hidden.
12046 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12047 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12048 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12049 Likewise.
12050 (__rawmemchr_sse2): Likewise.
12051 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12052 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12053 (__strchr_sse2): Likewise.
12054 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12055 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12056 (__strcasecmp_sse2): Likewise.
12057 (__strncasecmp_sse2): Likewise.
12058 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12059 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12060 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12061 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12062 (__strrchr_sse2): Likewise.
12063 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12064 ifunc-impl-list.c.
12065 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12066 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12067 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12068 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12069 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12070 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12071 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12072 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12073 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12074 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12075 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12076 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12077 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12078 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12079 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12080 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12081 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12082 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12083 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12084 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12085 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12086 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12087 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12088 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12089 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12090 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12091 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12092 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12093 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12094 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12095
b090e8ea
L
12096 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12097 global and hidden.
12098 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12099 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12100 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12101 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12102 Likewise.
12103 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12104 Likewise.
12105 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12106 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12107 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12108 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12109 ifunc-impl-list.c.
12110 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12111 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12112 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12113 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12114 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12115 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12116 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12117 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12118 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12119 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12120 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12121 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12122 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12123 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12124 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12125 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12126 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12127 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12128 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12129 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12130 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12131 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12132 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12133 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12134 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12135 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12136 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12137 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12138 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12139 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12140 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12141 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12142 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12143 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12144 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12145 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12146 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12147 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12148 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12149 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12150 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12151
11dd4af6
L
12152 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12153 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12154 * include/ifunc-impl-list.h: New file.
12155 * misc/ifunc-impl-list.c: Likewise.
12156 * misc/Makefile (routines): Add ifunc-impl-list.
12157 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12158 * string/test-string.h: Include <ifunc-impl-list.h>.
12159 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12160 impl_array): New variables.
12161 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12162 are defined.
12163 (test_init): Call __libc_ifunc_impl_list to initialize
12164 func_list if TEST_IFUNC and TEST_NAME are defined.
12165
9a387d1f
L
12166 * string/Makefile (strop-tests): Add bcopy and bzero.
12167 * string/test-bcopy.c: New file.
12168 * string/test-bzero.c: Likewise.
12169 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12170 defined.
12171 * string/test-memset.c: Support bzero test if TEST_BZERO is
12172 defined.
12173 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12174 __libc_memmove.
12175 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12176 __libc_memset.
12177 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12178 of memset.
12179
472371b9
JM
121802012-10-10 Joseph Myers <joseph@codesourcery.com>
12181
1e4a9536
JM
12182 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12183 * configure: Regenerated.
12184
d173d12e
JM
12185 * Makeconfig (+link-static-before-libc): Don't include
12186 $(link-static-libc).
12187
472371b9
JM
12188 * libio/libio.h (_IO_pos_t): Remove.
12189
89a3ad0b
AO
121902012-10-10 Alexandre Oliva <aoliva@redhat.com>
12191
12192 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12193 McGrath.
12194
e7451425
AO
121952012-10-10 Alexandre Oliva <aoliva@redhat.com>
12196
12197 * crypt/crypt-entry.c: Include fips-private.h.
12198 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12199 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12200 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12201 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12202
4ba74a35
AO
122032012-10-10 Alexandre Oliva <aoliva@redhat.com>
12204
12205 * crypt/crypt-private.h: Include stdbool.h.
12206 (_ufc_setup_salt_r): Return bool.
12207 * crypt/crypt-entry.c: Include errno.h.
12208 (__crypt_r): Return NULL with EINVAL for bad salt.
12209 * crypt/crypt_util.c (bad_for_salt): New.
12210 (_ufc_setup_salt_r): Check that salt is long enough and within
12211 the specified alphabet.
12212 * crypt/badsalttest.c: New file.
12213 * crypt/Makefile (tests): Add it.
12214 ($(objpfx)badsalttest): New.
12215
f96f1242
MK
122162012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12217
12218 * NEWS: Add entry for BZ #14602.
12219
0e8e0c1c
JM
122202012-10-09 Joseph Myers <joseph@codesourcery.com>
12221
12222 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12223 type-generic.
12224 * math/libm-test.inc: Update comment listing what functions and
12225 macros are tested.
12226 (isgreater_test): New function.
12227 (isgreaterequal_test): Likewise.
12228 (isless_test): Likewise.
12229 (islessequal_test): Likewise.
12230 (islessgreater_test): Likewise.
12231 (isunordered_test): Likewise.
12232 (main): Call the new functions.
12233
273edc5e
RM
122342012-10-09 Roland McGrath <roland@hack.frob.com>
12235
b8493de0
RM
12236 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12237 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12238 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12239 * sysdeps/i386/configure: Regenerated.
12240 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12241 * sysdeps/mach/configure: Regenerated.
12242 * sysdeps/mach/hurd/configure: Regenerated.
12243 * sysdeps/powerpc/configure: Regenerated.
12244 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12245 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12246 * sysdeps/s390/s390-32/configure: Regenerated.
12247 * sysdeps/s390/s390-64/configure: Regenerated.
12248 * sysdeps/sh/configure: Regenerated.
12249 * sysdeps/sparc/configure: Regenerated.
12250 * sysdeps/unix/sysv/linux/configure: Regenerated.
12251 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12252 * sysdeps/x86_64/configure: Regenerated.
12253
273edc5e
RM
12254 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12255 defined. Don't check if MAP is NULL.
12256
c8450f70
JM
122572012-10-09 Joseph Myers <joseph@codesourcery.com>
12258
12259 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12260 (_G_stat64): Likewise.
12261 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12262 (_G_stat64): Likewise.
12263 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12264 instead of struct _G_stat64.
12265 * libio/fileops.c (mmap_remap_check): Likewise.
12266 (decide_maybe_mmap): Likewise.
12267 (_IO_new_file_seekoff): Likewise.
12268 (_IO_file_stat): Likewise.
12269 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12270 _G_off64_t.
12271 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12272 instead of struct _G_stat64.
12273 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12274
57e605ba
MK
122752012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12276
12277 [BZ #14602]
12278 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12279 Replace with ...
12280 (CHECK_EOL): New macro.
12281 (two_way_short_needle): Check beginning of haystack for EOL. Use
12282 CHECK_EOL.
12283 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12284 Replace with CHECK_EOL.
12285 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12286 Replace with CHECK_EOL.
12287
ef1bb361
JM
122882012-10-08 Joseph Myers <joseph@codesourcery.com>
12289
12290 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12291 type-generic.
12292 * math/libm-test.inc: Update comment listing what functions and
12293 macros are tested.
12294 (finite_test): New function.
12295 (isinf_test): Likewise.
12296 (isnan_test): Likewise.
12297 (fpclassify_test): Test subnormal input.
12298 (isfinite_test): Likewise.
12299 (isnormal_test): Likewise.
12300 (main): Call the new functions.
12301
55f11534
JN
123022012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12303
12304 [BZ #14660]
12305 * Makerules (%.dynsym): Force C locale when running
12306 $(OBJDUMP) --dynamic-syms.
12307
1ab29350
AS
123082012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12309
12310 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12311 <stdint.h>.
12312
f1ecb7ef
DM
123132012-10-06 David S. Miller <davem@davemloft.net>
12314
12315 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12316 upper 32-bits of the length value in %o2 since we use branch-on-register
12317 tests which consider the entire 64-bit register.
12318
5d41d91a
L
123192012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12320
12321 * string/test-strstr.c (check2): Add a test for page boundary.
12322
3baddb72
DM
123232012-10-05 David S. Miller <davem@davemloft.net>
12324
12325 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12326 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12327 file.
12328 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12329 sysdep_routines.
12330 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12331 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12332 and bzero when HWCAP_SPARC_CRYPTO is present.
12333
9cee5585
L
123342012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12335
d7e0dab9
L
12336 [BZ #14602]
12337 * string/test-strstr.c (check2): New function.
12338 (test_main): Call check2.
12339
03759f47
L
12340 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12341 and bug-strchr1.
12342 * string/bug-strcasestr1.c (do_test): Moved to ...
12343 * string/test-strcasestr.c (check1): Here. New function.
12344 (do_one_test): Break out result checking code into ...
12345 (check_result): This. New function.
12346 (do_one_test): Call check_result.
12347 (test_main): Call check1.
12348 * string/bug-strchr1.c (do_test): Moved to ...
12349 * string/test-strchr.c (check1): Here. New function.
12350 (do_one_test): Break out result checking code into ...
12351 (check_result): This. New function.
12352 (do_one_test): Call check_result.
12353 (test_main): Call check1.
12354 * string/bug-strstr1.c (main): Moved to ...
046f153e 12355 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12356 (do_one_test): Break out result checking code into ...
12357 (check_result): This. New function.
12358 (do_one_test): Call check_result.
12359 (test_main): Call check1.
12360 * string/bug-strcasestr1.c: Removed.
12361 * string/bug-strchr1.c: Likewise.
12362 * string/bug-strstr1.c: Likewise.
12363
53cea63e
L
12364 * elf/Makefile (dl-routines): Add hwcaps.
12365 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12366 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12367 (_dl_important_hwcaps): Moved to ...
12368 * elf/dl-hwcaps.c: Here. New file.
12369 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12370
9cee5585 12371 [BZ #14557]
bb859b06
L
12372 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12373 if IS_IN_rtld isn't defined.
12374
9cee5585
L
12375 * elf/dl-support.c (_dl_sysinfo_map): New.
12376 Include "get-dynamic-info.h" and "setup-vdso.h".
12377 (_dl_non_dynamic_init): Call setup_vdso.
12378 * elf/dynamic-link.h: Don't include <assert.h>.
12379 (elf_get_dynamic_info): Moved to ...
12380 * elf/get-dynamic-info.h: Here. New file.
12381 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12382 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12383 * elf/setup-vdso.h: Here. New file.
12384 * elf/rtld.c: Include "setup-vdso.h".
12385 (dl_main): Call setup_vdso.
12386
23c31b76
JM
123872012-10-05 Joseph Myers <joseph@codesourcery.com>
12388
28234b07
JM
12389 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12390 creal in comment listing functions tested. List finite, isinf,
12391 isnan, isless, islessequal, isgreater, isgreaterequal,
12392 islessgreater, isunordered, lgamma_r and pow10 as functions and
12393 macros not tested. Mention which functions not tested are aliases
12394 for other functions. Fix typo. Note that signs of NaNs are not
12395 tested.
12396
23c31b76
JM
12397 * scripts/config.guess: Update from config.git.
12398 * scripts/config.sub: Likewise.
12399
9043e228
RM
124002012-10-04 Roland McGrath <roland@hack.frob.com>
12401
12402 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12403 * misc/madvise.c (madvise): Renamed to __madvise.
12404 Make madvise a weak alias.
12405 * include/sys/mman.h: Declare __madvise.
12406 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12407 * sysdeps/unix/syscalls.list
12408 (madvise): Make __madvise the strong name, and madvise a weak alias.
12409 * sysdeps/unix/sysv/linux/syscalls.list
12410 (madvise, mmap): Remove redundant entries.
12411 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12412 * malloc/malloc.c (mtrim): Likewise.
12413 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12414
f57f8055
RM
124152012-10-03 Roland McGrath <roland@hack.frob.com>
12416
12417 * sysdeps/mach/hurd/dl-cache.c: File removed.
12418 * config.h.in (USE_LDCONFIG): New #undef.
12419 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12420 * configure: Regenerated.
12421 * elf/Makefile (dl-routines): Add dl-cache only under
12422 [$(use-ldconfig) = yes].
12423 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12424 cache on [USE_LDCONFIG].
12425 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12426 [USE_LDCONFIG].
12427 * elf/rtld.c (dl_main): Likewise.
12428
5bb0c10a
PT
124292012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12430
12431 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12432 _SC_LEVEL4_CACHE_LINESIZE.
12433
010188c6
RM
124342012-10-03 Roland McGrath <roland@hack.frob.com>
12435
12436 * sysdeps/unix/bsd/confstr.h: File removed.
12437
b6c5ec07
AO
124382012-10-02 Alexandre Oliva <aoliva@redhat.com>
12439
12440 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12441 sys/sdt-config.h.
12442
408223d4
RM
124432012-10-02 Roland McGrath <roland@hack.frob.com>
12444
12445 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12446 Make 'mapoff' field ElfW(Off) rather than off_t.
12447
bb9510dc
DL
124482012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12449
fc997c6e
DL
12450 * nscd/Makefile: Remove nscd-cflags and all its users.
12451 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12452 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12453
bb9510dc
DL
12454 [BZ #10631]
12455 * malloc.c (malloc_printerr): Clarify error message.
12456
05699367
L
124572012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12458
12459 [BZ #14648]
12460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12461 Set bit_FMA_Usable if FMA is supported.
12462 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12463 macro.
12464 (bit_FMA4_Usable): Updated.
12465 (index_FMA_Usable): New macro.
12466 (CPUID_FMA): Likewise
12467 (HAS_FMA): Defined with bit_FMA_Usable.
12468
51367701
RM
124692012-10-01 Roland McGrath <roland@hack.frob.com>
12470
12471 * bits/types.h (__swblk_t): Type removed.
12472 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12473 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12475 (__SWBLK_T_TYPE): Likewise.
12476 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12477 (__SWBLK_T_TYPE): Likewise.
12478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12479 (__SWBLK_T_TYPE): Likewise.
12480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12481 (__SWBLK_T_TYPE): Likewise.
12482
4d57bf63 124832012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12484 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12485
12486 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12487 (xdr_mapname): Use YPMAXMAP as maxsize.
12488 (xdr_peername): Use YPMAXPEER as maxsize.
12489 (xdr_keydat): Use YPAXRECORD as maxsize.
12490 (xdr_valdat): Use YPMAXRECORD as maxsize.
12491
93c65d43
RM
124922012-10-01 Roland McGrath <roland@hack.frob.com>
12493
497a03d6
RM
12494 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12495
93c65d43
RM
12496 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12497 * csu/init-first.c: ... here.
12498 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12499 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12500 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12501 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12502 * sysdeps/i386/init-first.c: File removed.
12503 * sysdeps/sh/init-first.c: File removed.
12504
bec749fd
JM
125052012-10-01 Joseph Myers <joseph@codesourcery.com>
12506
12507 [BZ #14645]
12508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12509 if x * y might underflow to zero and z is zero.
12510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12511 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12512 * math/libm-test.inc (min_subnorm_value): New variable.
12513 (fma_test): Add more tests.
12514 (fma_test_towardzero): Likewise.
12515 (fma_test_downward): Likewise
12516 (fma_test_upward): Likewise.
12517 (initialize): Set min_subnorm_value.
12518
8ec5b013
JM
125192012-09-29 Joseph Myers <joseph@codesourcery.com>
12520
12521 [BZ #14638]
12522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12523 0 + 0.
12524 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12525 mode for addition resulting in exact zero.
12526 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12528 exact 0 + 0.
12529 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12531 * math/libm-test.inc (fma_test): Add more tests.
12532 (fma_test_towardzero): New function.
12533 (fma_test_downward): Likewise.
12534 (fma_test_upward): Likewise.
12535 (main): Call the new functions.
12536
b1fa802e
DM
125372012-09-28 David S. Miller <davem@davemloft.net>
12538
12539 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12540
d3b9fd9e
RM
125412012-09-28 Roland McGrath <roland@hack.frob.com>
12542
ea4d37b3
RM
12543 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12544 instead of SIGALRM.
12545
ac51c949
RM
12546 * sysdeps/gnu/_G_config.h: Moved to ...
12547 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12548 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12549 * sysdeps/generic/_G_config.h: ... here.
12550
28c195f7
RM
12551 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12552
848917f9
RM
12553 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12554
6bacf05b
RM
12555 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12556 Conditionalize target on [libnss_test1.so-version].
12557
91363dbb
RM
12558 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12559
cc87f7d8
RM
12560 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12561 (elfobjdir): Move out of conditionals.
12562
b1c608fe
RM
12563 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12564 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12565 (__nss_lookup_function): Conditionalize label remove_from_tree on
12566 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12567
1d9a6d96
DM
125682012-09-28 David S. Miller <davem@davemloft.net>
12569
12570 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12571 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12572 file.
12573 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12574 sysdep_routines.
12575 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12577 when HWCAP_SPARC_CRYPTO is present.
12578
72581615
PT
125792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12580
12581 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12582
715a900c
JL
125832012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12584
12585 [BZ #6530]
12586 * stdio-common/vfprintf.c (process_string_arg): Revert
12587 2000-07-22 change.
12588
125892011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12590
12591 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12592 for testcase.
12593 * stdio-common/tst-sprintf.c: Include <locale.h>
12594 (main): Test sprintf's handling of incomplete multibyte
12595 characters.
12596
9bac1d86
L
125972012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12598
12599 * elf/dl-runtime.c (VERSYMIDX): Removed.
12600 * elf/dl-version.c (VERSYMIDX): Likewise.
12601 * elf/do-rel.h (VERSYMIDX): Likewise.
12602 (VALIDX): Likewise.
12603 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12604 * elf/rtld.c (VALIDX): Likewise.
12605 (ADDRIDX): Likewise.
9bac1d86
L
12606 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12607 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12608 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12609 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12610 (VALIDX): Likewise.
12611 (ADDRIDX): Likewise.
9bac1d86 12612
b31606c0
PT
126132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12614
12615 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12616
11541177
JL
126172012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12618
12619 [BZ #11438]
12620 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12621 to global scope.
12622 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12623 addresses are in the same scope as 192.0.2/24.
12624 * posix/gai.conf: Document new scope table defaults.
12625
adb26fae
SP
126262012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12627
12628 [BZ #5298]
12629 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12630 for ftell. Compute offsets from write pointers instead.
12631 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12632
4573c6b0
SP
126332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12634
12635 [BZ #14543]
12636 * libio/Makefile (tests): New test case tst-fseek.
12637 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12638 combination works in wide mode.
12639 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12640 state when the external buffer state changes.
12641
aa9bbfe6
DM
126422012-09-27 David S. Miller <davem@davemloft.net>
12643
12644 [BZ #14376]
12645 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12646 pass reloc->r_addend in as the 'high' argument to
12647 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12648
784421e7
DM
12649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12650
c39bc8b8
PT
126512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12652
12653 * rt/tst-aio2.c: Include <pthread.h>.
12654 * rt/tst-aio3.c: Likewise.
12655
1ccc2399
SE
126562012-09-27 Steve Ellcey <sellcey@mips.com>
12657
12658 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12659
31ed4153
L
126602012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12661
25f5f885
L
12662 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12663 contents on [SHARED].
31ed4153 12664
b7bfe116
MP
126652012-09-26 Marek Polacek <polacek@redhat.com>
12666
12667 [BZ #14530]
12668 [BZ #13741]
12669 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12670 for C++ and GCC <4.3 as well as for non GCC compilers.
12671
43c4edba
MT
126722012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12673
12674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12675
6a1bf82f
RM
126762012-09-25 Roland McGrath <roland@hack.frob.com>
12677
12678 * Makefile.in (all, install): Declare with .PHONY.
12679 Reported by Michael Hope <michael.hope@linaro.org>.
12680
8ad11b9a
TMQMF
126812012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12682
12683 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12684 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12685 system header.
12686 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12687 Likewise.
12688 (sydep_routines): Add the new and the internal functions.
12689 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12690 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12692 (GLIBC_2.17): Add the new function.
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12694 (GLIBC_2.17): Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12696 (GLIBC_2.17): Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12698 (GLIBC_2.17): Likewise.
12699 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12700
7e2fca8d
AM
127012012-09-25 Alan Modra <amodra@gmail.com>
12702
12703 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12704 Add release barrier before setting once_control to say
12705 initialisation is done. Add hints on lwarx. Use macro in
12706 place of isync.
12707 (clear_once_control): Add release barrier.
12708
b87c4b24
JM
127092012-09-25 Joseph Myers <joseph@codesourcery.com>
12710
d032e0d2
JM
12711 [BZ #13629]
12712 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12713 specially.
12714 * math/s_clog10.c (__clog10): Likewise.
12715 * math/s_clog10f.c (__clog10f): Likewise.
12716 * math/s_clog10l.c (__clog10l): Likewise.
12717 * math/s_clogf.c (__clogf): Likewise.
12718 * math/s_clogl.c (__clogl): Likewise.
12719 * math/Makefile (libm-calls): Add x2y2m1.
12720 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12721 (__x2y2m1): Likewise.
12722 (__x2y2m1l): Likewise.
12723 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12724 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12727 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12728 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12729 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12730 * sysdeps/i386/fpu/libm-test-ulps: Update.
12731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12732
b87c4b24
JM
12733 [BZ #14621]
12734 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12735 int as type of variable DEPTH.
12736 (glob): Use size_t instead of int as type of variables NEWCOUNT
12737 and OLD_PATHC.
12738
6d3bf199
LD
127392012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12740
22bf5c17
LD
12741 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12742 Add s_sincosf-sse2.
12743 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12744 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12745 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12746 macros for using routine as __sincosf_ia32.
12747 Use macro for function declaration and weak_alias.
12748 * sysdeps/i386/fpu/libm-test-ulps: Update.
12749
12750 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12752
12753 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12754 subnormal argument.
12755 * math/s_cexpf.c (__cexpf): Likewise.
12756 * math/s_csinf.c (__csinf): Likewise.
12757 * math/s_csinhf.c (__csinhf): Likewise.
12758 * math/s_ctanf.c (__ctanf): Likewise.
12759 * math/s_ctanhf.c (__ctanhf): Likewise.
12760 * math/s_ccosh.c (__ccoshf): Likewise.
12761 * math/s_cexp.c (__cexpl): Likewise.
12762 * math/s_csin.c (__csin): Likewise.
12763 * math/s_csinh.c (__csinh): Likewise.
12764 * math/s_ctan.c (__ctan): Likewise.
12765 * math/s_ctanh.c (ctanh): Likewise.
12766 * math/s_ccoshl.c (__ccoshl): Likewise.
12767 * math/s_cexpl.c (__cexpl): Likewise.
12768 * math/s_csinl.c (__csinl): Likewise.
12769 * math/s_csinhl.c (__csinhl): Likewise.
12770 * math/s_ctanl.c (__ctanl): Likewise.
12771 * math/s_ctanhl.c (__ctanhl): Likewise.
12772
203e5603
JM
127732012-09-25 Joseph Myers <joseph@codesourcery.com>
12774
12775 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12776 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12777 (_IO_off_t): Define to __off_t, not _G_off_t.
12778 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12779 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12780 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12781 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12782 type of __dummy and __dummy2 fields.
12783 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12784 (_G_ssize_t): Likewise.
12785 (_G_off_t): Likewise.
12786 (_G_pid_t): Likewise.
12787 (_G_uid_t): Likewise.
12788 (_G_wchar_t): Likewise.
12789 (_G_wint_t): Likewise.
12790 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12791 (_G_ssize_t): Likewise.
12792 (_G_off_t): Likewise.
12793 (_G_pid_t): Likewise.
12794 (_G_uid_t): Likewise.
12795 (_G_wchar_t): Likewise.
12796 (_G_wint_t): Likewise.
12797 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12798 (_G_ssize_t): Likewise.
12799 (_G_off_t): Likewise.
12800 (_G_pid_t): Likewise.
12801 (_G_uid_t): Likewise.
12802 (_G_wchar_t): Likewise.
12803 (_G_wint_t): Likewise.
12804
9fab36eb
SP
128052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12806
12807 * malloc/arena.c: Include malloc-sysdep.h.
12808 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12809 is sufficient to shrink the heap or an unmap is needed.
12810 * sysdeps/generic/malloc-sysdep.h: New file. Define
12811 new function check_may_shrink_heap.
12812 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12813 new function check_may_shrink_heap.
12814
2b4f00d1
SP
128152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12816
12817 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12818 comments.
12819
9a9028b1
DL
128202012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12821
57c69bef
DL
12822 * catgets/test-gencat.sh: Add "set -e".
12823 * elf/tst-pathopt.sh: Likewise.
12824 * grp/tst_fgetgrent.sh: Likewise.
12825 * iconvdata/run-iconv-test.sh: Likewise.
12826 * intl/tst-gettext.sh: Likewise.
12827 * intl/tst-gettext2.sh: Likewise.
12828 * intl/tst-gettext4.sh: Likewise.
12829 * intl/tst-gettext6.sh: Likewise.
12830 * intl/tst-translit.sh: Likewise.
12831 * io/ftwtest-sh: Likewise.
12832 * libio/test-freopen.sh: Likewise.
12833 * malloc/tst-mtrace.sh: Likewise.
12834 * posix/globtest.sh: Likewise.
12835 * posix/tst-getconf.sh: Likewise.
12836 * posix/wordexp-tst.sh: Likewise.
12837 * stdio-common/tst-printf.sh: Likewise.
12838 * stdio-common/tst-unbputc.sh: Likewise.
12839 * stdlib/tst-fmtmsg.sh: Likewise.
12840 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12841 * catgets/Makefile: Do not specify -e option when running
12842 testsuite shell scripts.
12843 * elf/Makefile: Likewise.
12844 * grp/Makefile: Likewise.
12845 * iconvdata/Makefile: Likewise.
12846 * intl/Makefile: Likewise.
12847 * io/Makefile: Likewise.
12848 * libio/Makefile: Likewise.
12849 * malloc/Makefile: Likewise.
12850 * posix/Makefile: Likewise.
12851 * stdio-common/Makefile: Likewise.
12852 * stdlib/Makefile: Likewise.
12853 * sysdeps/x86_64/Makefile: Likewise.
12854
9a9028b1
DL
12855 * io/ftwtest-sh: Add copyright header.
12856 * posix/globtest.sh: Likewise.
12857 * posix/tst-getconf.sh: Likewise.
12858 * posix/wordexp-tst.sh: Likewise.
12859 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12860
ced6f16e
L
128612012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12862
94b32c39
L
12863 [BZ #13679]
12864 * Makeconfig (+link): Defined as $(+link-static) if
12865 $(build-shared) isn't yes.
12866 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12867 isn't yes.
12868 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12869
189e935b
L
12870 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12871
ced6f16e
L
12872 [BZ #14562]
12873 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12874 new chunk size with MALLOC_ALIGN_MASK.
12875
a9f8e53a
JM
128762012-09-24 Joseph Myers <joseph@codesourcery.com>
12877
12878 [BZ #5044]
12879 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12880 <rounding-mode.h>.
12881 (__printf_fphex): Determine rounding using get_rounding_mode and
12882 round_away.
12883 * stdio-common/tst-printf-round.c (struct hex_test): New
12884 structure.
12885 (hex_tests): New variable.
12886 (test_hex_in_one_mode): New function.
12887 (do_test): Also run tests for hex float output.
12888
43153109
JM
128892012-09-21 Joseph Myers <joseph@codesourcery.com>
12890
12891 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12892 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12893 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12894 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12895 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12896 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12897 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12898 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12899
8a26625d
JM
129002012-09-20 Joseph Myers <joseph@codesourcery.com>
12901
12902 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12903 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12904 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12905 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12906
f3fd569c
DL
129072012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12908
12909 [BZ #14579]
12910 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12911 mode only.
12912 * elf/tst-rtld-load-self.sh: New test.
12913 * elf/Makefile: Run it.
12914
63bbedd4
JM
129152012-09-18 Joseph Myers <joseph@codesourcery.com>
12916
12917 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12918 (tst-writev-ENV): Remove.
12919 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12920
626f8b6a
CM
129212012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12922
12923 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12924
b7aaa4d6
JM
129252012-09-17 Joseph Myers <joseph@codesourcery.com>
12926
12927 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12928 unconditional.
12929 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12930 Likewise.
12931 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12932 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12933 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12934 Likewise.
12935
65513990
L
129362012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12937
12938 [BZ #14587]
12939 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12940 * config.make.in (have-cpp-asm-debuginfo): Removed.
12941 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12942 * configure: Regenerated.
12943
784761be
JM
129442012-09-14 Joseph Myers <joseph@codesourcery.com>
12945
12946 [BZ #5044]
12947 * stdio-common/printf_fp.c: Include <stdbool.h> and
12948 <rounding-mode.h>.
12949 (___printf_fp): Determine rounding using get_rounding_mode and
12950 round_away.
12951 * stdio-common/tst-printf-round.c: New file.
12952 * stdio-common/Makefile (tests): Add tst-printf-round.
12953 (link-libm): New variable.
12954 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12955
9503345f
L
129562012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12957
12958 [BZ #14576]
12959 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12960 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12961 Likewise.
12962 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12963 Likewise.
12964
ad35fc00
JM
129652012-09-13 Joseph Myers <joseph@codesourcery.com>
12966
12967 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12968 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12969 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12970 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12971
6c9b0f68
JM
129722012-09-12 Joseph Myers <joseph@codesourcery.com>
12973
12974 [BZ #14518]
12975 * include/rounding-mode.h: New file.
12976 * sysdeps/generic/get-rounding-mode.h: Likewise.
12977 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12978 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12979 (MAX_VALUE): New macro.
12980 (MIN_VALUE): Likewise.
12981 (overflow_value): New function.
12982 (underflow_value): Likewise.
12983 (round_and_return): Use overflow_value and underflow_value to
12984 determine return values in overflow and underflow cases. Use
12985 round_away to determine rounding depending on rounding mode.
12986 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12987 determine return values in overflow and underflow cases.
12988 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12989 (struct test_results): New structure.
12990 (struct test): Use struct test_results to store expected results
12991 for all rounding modes.
12992 (TEST): Include expected results for all rounding modes.
12993 (test_in_one_mode): New function.
12994 (do_test): Use test_in_one_mode to compute and check results.
12995 Check results for all rounding modes.
12996 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12997 $(link-libm).
12998
19fcedd5
AM
129992012-12-09 Allan McRae <allan@archlinux.org>
13000
1e9d84cd 13001 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13002
8bbfd2f1
JM
130032012-09-11 Joseph Myers <joseph@codesourcery.com>
13004
13005 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13006 (_G_int32_t): Likewise.
13007 (_G_uint16_t): Likewise.
13008 (_G_uint32_t): Likewise.
13009 (_G_HAVE_BOOL): Likewise.
13010 (_G_HAVE_ATEXIT): Likewise.
13011 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13012 (_G_HAVE_IO_FILE_OPEN): Likewise.
13013 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13014 (_G_int32_t): Likewise.
13015 (_G_uint16_t): Likewise.
13016 (_G_uint32_t): Likewise.
13017 (_G_HAVE_BOOL): Likewise.
13018 (_G_HAVE_ATEXIT): Likewise.
13019 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13020 (_G_HAVE_IO_FILE_OPEN): Likewise.
13021 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13022 (_G_int32_t): Likewise.
13023 (_G_uint16_t): Likewise.
13024 (_G_uint32_t): Likewise.
13025 (_G_HAVE_BOOL): Likewise.
13026 (_G_HAVE_ATEXIT): Likewise.
13027 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13028 (_G_HAVE_IO_FILE_OPEN): Likewise.
13029
b1dc5912
L
130302012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13031
13032 * csu/libc-tls.c: Update copyright years.
13033
0e886ef9
JM
130342012-09-10 Joseph Myers <joseph@codesourcery.com>
13035
28361c5e
JM
13036 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13037 [!_G_USING_THUNKS]: Remove conditional code.
13038 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13039 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13040
0e886ef9
JM
13041 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13042 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13043 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13044 (_G_VTABLE_LABEL_PREFIX): Likewise.
13045 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13046 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13047 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13048 (_G_VTABLE_LABEL_PREFIX): Likewise.
13049 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13050 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13051 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13052 (_G_VTABLE_LABEL_PREFIX): Likewise.
13053 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13054
bcba7aa2
L
130552012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13056
13057 * libio/Makefile: Include ../Makeconfig before tests.
13058 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13059 only if $(build-shared) is yes.
13060
06585ee8
L
13061 * iconv/gconv_db.c: Update copyright years.
13062
80ccd52c
LD
130632012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13064
13065 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13066 unwind info if defined PIC. Fix special cases description.
13067 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13068
13069 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13070 DP_HI_MASK entry.
13071 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13072
691bc9c1
L
130732012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13074
3d9b46b3
L
13075 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13076
de2139a9
L
13077 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13078 is NULL.
13079
5ca78dd0
L
13080 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13081 (LDLIBS-tst-chk4): This.
13082 (LDFLAGS-tst-chk5): Renamed to ...
13083 (LDLIBS-tst-chk5): This.
13084 (LDFLAGS-tst-chk6): Renamed to ...
13085 (LDLIBS-tst-chk6): This.
13086 (LDFLAGS-tst-lfschk4): Renamed to ...
13087 (LDLIBS-tst-lfschk4): This.
13088 (LDFLAGS-tst-lfschk5): Renamed to ...
13089 (LDLIBS-tst-lfschk5): This.
13090 (LDFLAGS-tst-lfschk6): Renamed to ...
13091 (LDLIBS-tst-lfschk6): This.
13092
691bc9c1
L
13093 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13094 on $(common-objpfx)soversions.mk.
13095
65cafb1c
JM
130962012-09-07 Joseph Myers <joseph@codesourcery.com>
13097
13098 [BZ #10014]
13099 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13100 example host name.
13101
c78ab094
SP
131022012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13103
13104 * malloc/arena.c (arena_get_retry): New function that gets
13105 another arena for the caller to try its request on.
13106 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13107 current arena cannot fulfill the request.
13108 (__libc_memalign): Likewise.
13109 (__libc_memalign): Likewise.
13110 (__libc_pvalloc): Likewise.
13111 (__libc_calloc): Likewise.
13112
01f49f59
JT
131132012-09-05 John Tobey <john.tobey@gmail.com>
13114
13115 [BZ #13542]
13116 * manual/arith.texi (Operations on Complex): Fix description
13117 of carg branch cut.
13118
4c23fed5
JM
131192012-09-06 Joseph Myers <joseph@codesourcery.com>
13120
1d3c8572
JM
13121 [BZ #10014]
13122 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13123 host name.
13124
4c23fed5
JM
13125 [BZ #10038]
13126 * manual/memory.texi (Memory): Make order of menu items match
13127 order of sections.
13128
04570aaa
L
131292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13130
13131 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13132 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13133 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13134
b80af2f4
L
131352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13136
13137 * csu/libc-tls.c (static_dtv): Renamed to ...
13138 (_dl_static_dtv): This. Make it global.
13139 (_dl_initial_dtv): Removed.
13140 (__libc_setup_tls): Updated.
13141 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13142 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13143 DL_INITIAL_DTV.
13144
2abe9f15
PM
131452012-09-06 Petr Machata <pmachata@redhat.com>
13146
13147 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13148 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13149 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13150 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13151
0948c3af
L
131522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13153
13154 [BZ #14545]
13155 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13156 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13157 freeing dtv[-1].
13158
a5055ad1
L
131592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 [BZ #14544]
13162 * Makeconfig (link-static-before-libc): Replace $(+prector)
13163 with $(+prectorT).
13164 (link-static-after-libc): Replace $(+postctor) with
13165 $(+postctorT).
13166 (link-bounded): Replace $(+prector)/$(+postctor) with
13167 $(+prectorT)/$(+postctorT).
13168 (+prectorT): New macro.
13169 (+postctorT): Likewise.
13170
ed8c2ecd
JM
131712012-09-06 Joseph Myers <joseph@codesourcery.com>
13172
13173 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13174 (round_str): Handle values above the maximum for IBM long double
13175 as inexact.
13176 * stdlib/tst-strtod-round.c (tests): Regenerated.
13177
14c996c8
AK
131782012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13179
13180 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13181 assembler flag.
13182 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13183 zarch_nohighgprs around the zarch optimized routines.
13184 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13185 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13186 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13187 for zarch.
13188
430d6ce6
DM
131892012-09-05 David S. Miller <davem@davemloft.net>
13190
13191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13192
ff04dda4
DM
13193 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13194 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13195 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13196 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13197 entries.
13198
24d4e01b
AO
131992012-09-05 Alexandre Oliva <aoliva@redhat.com>
13200
13201 * malloc/arena.c: Fold copyright years.
13202 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13203
61d58174
AO
132042012-09-05 Alexandre Oliva <aoliva@redhat.com>
13205
13206 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13207
20196a5e
AO
132082012-09-05 Alexandre Oliva <aoliva@redhat.com>
13209
13210 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13211
5c447383
AO
132122012-09-05 Alexandre Oliva <aoliva@redhat.com>
13213
13214 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13215 change internal state upon failure.
13216
fad64255
AO
132172012-09-05 Alexandre Oliva <aoliva@redhat.com>
13218
13219 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13220 * malloc/memusage.c (mmap): Likewise.
13221 (mmap64, mremap): Likewise. Adjust name in comment.
13222
1ffb8c90
SP
132232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13224
13225 * libio/fileops.c: Fix typos in comments.
13226 * libio/oldfileops.c: Likewise.
13227 * libio/wfileops.c: Likewise.
13228
6ef9cc37
SP
132292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13230
13231 [BZ #1349]
13232 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13233 (tst-malloc-usable-ENV): Set environment for test case.
13234 * malloc/hooks.c (malloc_check_get_size): New function to get
13235 requested size.
13236 * malloc/malloc.c (musable): Use malloc_check_get_size.
13237 * malloc/tst-malloc-usable.c: New test case.
13238
4d038ae3
AS
132392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13240
13241 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13242
c4e85184
AM
132432012-09-05 Allan McRae <allan@archlinux.org>
13244
b9dafc56 13245 [BZ #13966]
c4e85184
AM
13246 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13247 determine header location.
13248 * configure: Regenerated.
13249
e1343020
AS
132502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13251
13252 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13253 float format.
13254 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13255 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13256 format.
e1343020
AS
13257 (test): Regenerate.
13258
0a9f1987
DM
132592012-09-04 David S. Miller <davem@davemloft.net>
13260
13261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13263 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13264
29237804
FW
132652012-09-04 Florian Weimer <fweimer@redhat.com>
13266
13267 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13268 failures.
13269
edb3cb88
FW
13270 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13271
60160d83
JM
132722012-09-04 Joseph Myers <joseph@codesourcery.com>
13273
13274 [BZ #9914]
13275 * libio/iogetdelim.c: Include <limits.h>.
13276 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13277 + len + 1 would overflow.
13278
bcd6c8dc
AJ
132792012-09-03 Andreas Jaeger <aj@suse.de>
13280
13281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13282 * sysdeps/i386/fpu/libm-test-ulps: Update.
13283
4ffffbd2
LD
132842012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13285
13286 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13287 Add s_sinf-sse2, s_conf-sse2.
13288
13289 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13290 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13291 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13292 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13293
13294 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13295 for using routine as __sinf_ia32.
13296 Use macro for function declaration and weak_alias.
13297 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13298 for using routine as __cosf_ia32.
13299 Use macro for function declaration and weak_alias.
13300
13301 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13302 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13303
13304 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13305 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13307
13308 * math/libm-test.inc (cos_test): Add more test cases.
13309 (sin_test): Likewise.
13310 (sincos_test): Likewise.
13311
511fa286
AK
133122012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13313
13314 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13315 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13316 hidden.
13317 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13318
5f30cfec
L
133192012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13320
13321 [BZ #14538]
13322 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13323 first element of the GOT.
13324 (elf_machine_load_address): Return the difference between
13325 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13326
0786794f
AM
133272012-09-01 Allan McRae <allan@archlinux.org>
13328
5f30cfec
L
13329 [BZ #13412]
13330 * configure.in (AWK): Require gawk version 3.0 or later.
13331 * configure: Regenerated.
0786794f 13332
26889eac
JM
133332012-09-01 Joseph Myers <joseph@codesourcery.com>
13334
13335 * sysdeps/unix/sysv/linux/kernel-features.h
13336 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13337 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13338 [__NR_clock_getres]: Make code unconditional.
13339 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13340 (clock_getcpuclockid): Remove code left unreachable by removal of
13341 conditionals.
13342 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13343 code unconditional.
13344 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13345 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13346 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13347 Make code unconditional.
13348 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13349 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13350 * sysdeps/unix/sysv/linux/clock_settime.c
13351 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13352 conditional code.
13353 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13354 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13355
d22e28b0
L
133562012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13357
13358 [BZ #14476]
13359 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13360 scripts/test-installation.pl.
13361
13362 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13363 and $ld_so_version if it is set.
13364
050af9c4
SP
133652012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13366
13367 [BZ #14516]
13368 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13369 failure if reading from procfs failed.
13370 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13371
ad845c0b
JM
133722012-08-27 Joseph Myers <joseph@codesourcery.com>
13373
13374 * sysdeps/unix/sysv/linux/kernel-features.h
13375 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13376 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13377 Remove conditional code.
13378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13379 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13380 Remove conditional code.
13381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13382 * sysdeps/unix/sysv/linux/i386/fxstat.c
13383 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13385 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13386 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13388 * sysdeps/unix/sysv/linux/i386/lxstat.c
13389 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13391 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13392 Remove conditional code.
13393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13394 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13395 Remove conditional code.
13396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13397 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13398 <kernel-features.h>.
13399 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13400 Remove.
13401 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13402 Remove conditional code.
13403 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13404 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13405 Remove conditional.
13406
5dbf56af
MF
134072012-08-27 Mike Frysinger <vapier@gentoo.org>
13408
13409 [BZ #5400]
13410 * NEWS: Add fixed bug number.
13411
d6e70f43
JM
134122012-08-27 Joseph Myers <joseph@codesourcery.com>
13413
7efb4737
JM
13414 [BZ #14519]
13415 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13416 underflowing exponent in case of negative sign.
13417 * stdlib/tst-strtod-round-data: Add more tests.
13418 * stdlib/tst-strtod-round.c (tests): Regenerated.
13419
af92131a
JM
13420 [BZ #3479]
13421 * stdlib/strtod_l.c (NDIG): Remove.
13422 (HEXNDIG): Likewise.
13423 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13424 smallest representable value.
13425 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13426 lie within an exact representation of 1/2 ulp of the result.
13427 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13428 unconditionally.
13429 (TENS_P9_IDX): Define unconditionally.
13430 (TENS_P9_SIZE): Likewise.
13431 (TENS_P10_IDX): Likewise.
13432 (TENS_P10_SIZE): Likewise.
13433 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13434 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13435 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13436 entries for 10^2^13 and 10^2^14.
13437 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13438 (TENS_P13_IDX): Define.
13439 (TENS_P13_SIZE): Likewise.
13440 (TENS_P14_IDX): Likewise.
13441 (TENS_P14_SIZE): Likewise.
13442 (_fpioconst_pow10): Change array size to
13443 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13444 unconditional.
13445 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13446 1024]: Add entries for 10^2^13 and 10^2^14.
13447 [LAST_POW10 > _LAST_POW10]: Remove #error.
13448 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13449 (_fpioconst_pow10): Change array size to
13450 FPIOCONST_POW10_ARRAY_SIZE.
13451 * stdlib/gen-fpioconst.c: New file.
13452 * stdlib/gen-tst-strtod-round.c: Likewise.
13453 * stdlib/tst-strtod-round-data: Likewise.
13454 * stdlib/tst-strtod-round.c: Likewise.
13455 * stdlib/Makefile (tests): Add tst-strtod-round.
13456
d6e70f43
JM
13457 [BZ #14459]
13458 * stdlib/strtod_l.c: Include <stdint.h>.
13459 (NDEBUG): Do not define.
13460 (round_and_return): Change EXPONENT parameter to type intmax_t.
13461 Rearrange calculations to avoid internal overflow possibilities.
13462 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13463 Rearrange calculations to avoid internal overflow possibilities.
13464 Assert that number fits inside MPNSIZE limbs.
13465 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13466 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13467 calculations and add assertions to avoid internal overflow
13468 possibilities. Add casts to avoid signed/unsigned operations.
13469 * stdlib/tst-strtod-overflow.c: New file.
13470 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13471
1f529f7d
MP
134722012-08-25 Marek Polacek <polacek@redhat.com>
13473
13474 * time/time.h: Fix some typos in comments.
13475
59a629f1
RM
134762012-08-23 Roland McGrath <roland@hack.frob.com>
13477
13478 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13479 * posix/tst-rfc3484-2.c: Likewise.
13480 * posix/tst-rfc3484-3.c: Likewise.
13481
d3bafbc9
SM
134822012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13483
13484 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13485 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13486
4efcc022
JM
134872012-08-23 Joseph Myers <joseph@codesourcery.com>
13488
13489 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13490 #include of fxstatat64.c.
13491
3cc3ef96
RM
134922012-08-22 Roland McGrath <roland@hack.frob.com>
13493
f04e2132
RM
13494 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13495 * shadow/getspent_r.c: Likewise.
13496 * shadow/getspnam.c: Likewise.
13497 * shadow/getspnam_r.c: Likewise.
13498 * gshadow/getsgent.c: Likewise.
13499 * gshadow/getsgent_r.c: Likewise.
13500 * gshadow/getsgnam.c: Likewise.
13501 * gshadow/getsgnam_r.c: Likewise.
13502 * inet/getnetbyad.c: Likewise.
13503 * inet/getnetbyad_r.c: Likewise.
13504 * inet/getnetbynm.c: Likewise.
13505 * inet/getnetbynm_r.c: Likewise.
13506 * inet/getnetent.c: Likewise.
13507 * inet/getnetent_r.c: Likewise.
13508 * inet/getproto.c: Likewise.
13509 * inet/getproto_r.c: Likewise.
13510 * inet/getprtent.c: Likewise.
13511 * inet/getprtent_r.c: Likewise.
13512 * inet/getprtname.c: Likewise.
13513 * inet/getprtname_r.c: Likewise.
13514 * inet/getrpcbyname.c: Likewise.
13515 * inet/getrpcbyname_r.c: Likewise.
13516 * inet/getrpcbynumber.c: Likewise.
13517 * inet/getrpcbynumber_r.c: Likewise.
13518 * inet/getrpcent.c: Likewise.
13519 * inet/getrpcent_r.c: Likewise.
13520 * inet/getaliasent.c: Likewise.
13521 * inet/getaliasent_r.c: Likewise.
13522 * inet/getaliasname.c: Likewise.
13523 * inet/getaliasname_r.c: Likewise.
13524 * nscd/getgrgid_r.c: Likewise.
13525 * nscd/getgrnam_r.c: Likewise.
13526 * nscd/gethstbyad_r.c: Likewise.
13527 * nscd/gethstbynm3_r.c: Likewise.
13528 * nscd/getpwnam_r.c: Likewise.
13529 * nscd/getpwuid_r.c: Likewise.
13530 * nscd/getsrvbynm_r.c: Likewise.
13531 * nscd/getsrvbypt_r.c: Likewise.
13532 * nscd/gai.c: Likewise.
13533
c53d909c
RM
13534 * configure.in (build_nscd): New substituted variable, set
13535 by --disable-build-nscd and defaults to $use_nscd.
13536 * configure: Regenerated.
13537 * config.make.in (build-nscd): New substituted variable.
13538 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13539 Change conditional to require [$(build-nscd) = yes] as well.
13540 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13541
3cc3ef96
RM
13542 [BZ# 13696]
13543 * configure.in (use_nscd): New substituted variable, set by
13544 --disable-nscd. If enabled, define USE_NSCD.
13545 * configure: Regenerated.
13546 * config.h.in: Add USE_NSCD.
13547 * config.make.in (use-nscd): New substituted variable.
13548 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13549 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13550 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13551 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13552 (CFLAGS-getgrnam_r.c): Likewise.
13553 (CFLAGS-initgroups.c): Likewise.
13554 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13555 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13556 Variables removed.
13557 * inet/getnetgrent_r.c
13558 (nscd_setnetgrent): New function, broken out of ...
13559 (setnetgrent): ... here. Call it.
13560 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13561 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13562 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13563 * nscd/Makefile (routines, aux): Move definitions after include of
13564 Makeconfig. Conditionalize on [$(use-nscd) != no].
13565 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13566 Conditionalize on [USE_NSCD].
13567 (is_nscd, nscd_init_cb): Likewise.
13568 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13569 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13570 * nss/nss_db/db-init.c: Likewise.
13571 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13572 [USE_NSCD].
13573 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13574 (make_request): Use it.
13575 (cache_valid_p): New function.
13576 (__check_pf): Use it.
13577 * NEWS: Add item for --disable-nscd.
13578
07e51550
DL
135792012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13580
13581 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13582 to support sed >= 4.2.1-20-ga9bf076.
13583 * configure: Regenerated.
13584
35a5b08b
RM
135852012-08-22 Roland McGrath <roland@hack.frob.com>
13586
13587 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13588 Conditionalize whole body on [IREL].
13589
8479f23a
JL
135902012-08-22 Jeff Law <law@redhat.com>
13591
13592 [BZ #14505]
13593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13594 if the family is PF_UNSPEC.
13595
48da0b21
MF
135962012-08-22 Mike Frysinger <vapier@gentoo.org>
13597
13598 * Makerules (lib-version): Rename from V.
13599 (install-lib-nosubdir): Change V to lib-version.
13600
15d0da8c
WS
136012012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13602
13603 [BZ #14252]
13604 * powerpc32/power6/wcschr.c: New file.
13605 * powerpc32/power6/wcscpy.c: New file.
13606 * powerpc32/power6/wcsrchr.c: New file.
13607 * powerpc64/power6/wcschr.c: New file.
13608 * powerpc64/power6/wcscpy.c: New file.
13609 * powerpc64/power6/wcsrchr.c: New file.
13610
bcca0895
MK
136112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13612
13613 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13614 (two_way_short_needle): Use it.
5a4aaa33
RM
13615 * string/strstr.c (AVAILABLE1_USES_J): Define.
13616 * string/strcasestr.c: Likewise.
99677e57
MK
13617
13618 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13619 array references.
13620 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13621
400726de
MK
13622 [BZ #11607]
13623 * NEWS: Add an entry.
13624 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13625 define their defaults.
13626 (two_way_short_needle): Detect end-of-string on-the-fly.
13627 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13628 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13629 * string/bug-strcasestr1.c: New test.
13630 * string/Makefile: Run it.
13631
20a71f2c
MK
136322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13633
13634 [BZ #11607]
13635 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13636 the first character.
13637
21ad0558
RM
136382012-08-21 Roland McGrath <roland@hack.frob.com>
13639
13640 * csu/elf-init.c (__libc_csu_irel): Function removed.
13641 * csu/libc-start.c (apply_irel): New function.
13642 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13643
0e1d9911
JM
136442012-08-21 Joseph Myers <joseph@codesourcery.com>
13645
13646 * sysdeps/unix/sysv/linux/kernel-features.h
13647 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13648 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13649 <kernel-features.h>.
13650 [__NR_fadvise64_64]: Make code unconditional.
13651 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13652 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13653 !__NR_fadvise64_64)]: Likewise.
13654 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13655 !__NR_fadvise64_64))]: Likewise.
13656 [__NR_fadvise64]: Make code unconditional.
13657 [!__NR_fadvise64]: Remove conditional code.
13658 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13659 <kernel-features.h>.
13660 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13661 unconditional.
13662 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13663 conditional code.
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13665 not include <kernel-features.h>.
13666 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13667 unconditional.
13668 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13669 conditional code.
13670 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13671 include <kernel-features.h>.
13672 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13673 unconditional.
13674 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13675 conditional code.
13676
14a50c9d
WS
136772012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13678
13679 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13680 slight instruction rearrangements per scrollpipe analysis.
13681 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13682
c0f4faf0
RM
136832012-08-20 Roland McGrath <roland@hack.frob.com>
13684
696da859
RM
13685 * manual/syslog.texi (syslog; vsyslog, closelog):
13686 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13687 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13688
c0f4faf0
RM
13689 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13690 DSOCAPS to match condition on defining it.
13691
348363b2
JM
136922012-08-20 Joseph Myers <joseph@codesourcery.com>
13693
a35cbf28
JM
13694 * sysdeps/unix/sysv/linux/kernel-features.h
13695 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13697 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13698 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13700 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13701 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13703 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13704 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13705
445f7ecd
JM
13706 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13707 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13708
348363b2
JM
13709 * sysdeps/unix/sysv/linux/kernel-features.h
13710 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13711 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13712 unconditional.
13713 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13714 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13715 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13716 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13717 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13718 Make code unconditional.
13719 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13720 (__mmap64) [!__NR_mmap2]: Likewise.
13721 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13722 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13723 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13724 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13725 [__NR_mmap2]: Make code unconditional.
13726 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13727 (__mmap64) [!__NR_mmap2]: Likewise.
13728
bc5bc0e5
AK
137292012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13730
13731 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13732
88d506de
AJ
137332012-08-18 Andreas Jaeger <aj@suse.de>
13734
13735 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13736
493387d2
MF
137372012-08-18 Mike Frysinger <vapier@gentoo.org>
13738
13739 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13740 * include/unistd.h (__have_sock_cloexec): Likewise.
13741 (__have_pipe2): Likewise.
13742 (__have_dup3): Likewise.
13743
a277af22
MF
137442012-08-18 Mike Frysinger <vapier@gentoo.org>
13745
13746 [BZ #9685]
13747 * include/unistd.h (__have_pipe2): Change define into an extern int.
13748 (__have_dup3): Likewise.
13749 * socket/have_sock_cloexec.c: Include fcntl.h.
13750 (__have_pipe2): New variable.
13751 (__have_dup3): Likewise.
13752
fdab8fd3
MF
137532012-08-17 Mike Frysinger <vapier@gentoo.org>
13754
13755 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13756
31035e80
MP
137572012-08-17 Marek Polacek <polacek@redhat.com>
13758
13759 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13760 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13761
3bd9e993
RM
137622012-08-17 Roland McGrath <roland@hack.frob.com>
13763
c91c505f
RM
13764 * configure.in: Add AC_SUBST for sysheaders.
13765 * configure: Regenerated.
13766 * config.make.in (sysheaders): New substituted variable.
13767
7c6f9d53
RM
13768 * sysdeps/unix/mkfifo.c: Moved ...
13769 * sysdeps/posix/mkfifo.c: ... here.
13770 * sysdeps/unix/mkfifoat.c: Moved ...
13771 * sysdeps/posix/mkfifoat.c: ... here.
13772
13773 * sysdeps/unix/utime.c: Moved ...
13774 * sysdeps/posix/utime.c: ... here.
13775
13776 * sysdeps/unix/time.c: Moved ...
13777 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13778 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13779 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13780
13781 * sysdeps/unix/nice.c: Moved ...
13782 * sysdeps/posix/nice.c: ... here.
13783
13784 * sysdeps/unix/alarm.c: Moved ...
13785 * sysdeps/posix/alarm.c: ... here.
13786
3bd9e993
RM
13787 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13788
d1f09384
JL
137892012-08-17 Jeff Law <law@redhat.com>
13790
13791 * intl/Makefile (codeset_mo): New variable.
13792 ($(codeset_mo)): New target.
13793 (tst-codeset.out): Depend on that. Remove explicit rule.
13794 (tst-gettext3.out, tst-gettext5.out): Likewise.
13795 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13796 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13797 * intl/tst-codeset.sh: Remove.
13798 * intl/tst-gettext3.sh: Likewise.
13799 * intl/tst-gettext5.sh: Likewise.
13800
2ae1ae5c
RM
138012012-08-17 Roland McGrath <roland@hack.frob.com>
13802
c31fdb83
RM
13803 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13804 * sysdeps/unix/syscalls.list: ... here.
13805
a0844057
RM
13806 * sysdeps/posix/getaddrinfo.c
13807 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13808 (gaiconf_init, gaiconf_reload): Use them.
13809 [!_STATBUF_ST_NSEC]
13810 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13811 Define using time_t rather than struct timespec.
13812
750c1f2a
RM
13813 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13814 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13815 Macros removed.
13816 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13817 [!NO_THREADS].
13818 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13819 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13820 Likewise.
13821
2ae1ae5c
RM
13822 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13823 __libc_cleanup_push argument.
13824
e66a42f5
RM
13825 * bits/param.h: New file.
13826 * misc/sys/param.h: New file.
13827 * include/sys/param.h: New file.
13828 * misc/Makefile (headers): Add bits/param.h.
13829 * sysdeps/generic/sys/param.h: File removed.
13830 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13831 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13832 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13833 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13834
b7c08a66
RM
13835 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13836 last change.
13837
b2e1c562
RM
13838 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13839 [_IO_MTSAFE_IO].
13840 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13841 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13842 New macros.
13843
c75ccd4c
RM
13844 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13845 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13846 rather than -D_IO_MTSAFE_IO conditionally.
13847 * stdio-common/Makefile (CPPFLAGS): Likewise.
13848 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13849 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13850 Use $(libio-mtsafe).
13851 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13852 of -D_IO_MTSAFE_IO.
13853 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13854 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13855 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13856 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13857 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13858 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13859 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13860 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13861 (CFLAGS-fread_u_chk.c): Likewise.
13862 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13863 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13864 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13865 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13866 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13867 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13868 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13869 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13870 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13871
13872 * libio/Makefile: Test [$(libc-reentrant) = yes]
13873 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13874
13875 * Makeconfig
13876 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13877 * sysdeps/pthread/configure: File removed.
13878 * sysdeps/pthread/Makeconfig: New file.
13879 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13880 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13881
d9195db8
GB
138822012-08-16 Gary Benson <gbenson@redhat.com>
13883
13884 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13885 unmapping the first object in a namespace.
13886
86466cd9
RM
138872012-08-16 Roland McGrath <roland@hack.frob.com>
13888
13889 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13890 (__internal_setnetgrent): ... this. Add internal_function to
13891 definition. Add libc_hidden_def.
13892 (setnetgrent): Update caller.
13893 (internal_endnetgrent): Renamed to ...
13894 (__internal_endnetgrent): ... this. Add internal_function to
13895 definition. Add libc_hidden_def.
13896 (endnetgrent): Update caller.
13897 (internal_getnetgrent_r): Renamed to ...
13898 (__internal_getnetgrent_r): ... this. Add internal_function to
13899 definition. Add libc_hidden_def.
13900 (__getnetgrent_r): Update caller.
13901 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13902
c3c8283c
JM
139032012-08-16 Joseph Myers <joseph@codesourcery.com>
13904
13905 * stdlib/longlong.h: Update from GCC.
13906
db1ee0a8
RM
139072012-08-16 Roland McGrath <roland@hack.frob.com>
13908
13909 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13910 on _QL, which is set by umul_ppmm but never used.
13911 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13912 variables, which are set by GMP macros but never used.
13913 * stdio-common/_itowa.c (_itowa): Likewise.
13914 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13915 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13916
30f69637
CD
139172012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13918
13919 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13920 struct La_sh_regs is not constant.
13921 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13922 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13923 and struct La_sparc64_regs are not constant.
13924
93a78ac4
JM
139252012-08-16 Joseph Myers <joseph@codesourcery.com>
13926
13927 * sysdeps/unix/sysv/linux/kernel-features.h
13928 (__ASSUME_POSIX_TIMERS): Remove.
13929 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13930 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13931 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13932 Make code unconditional.
13933 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13934 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13935 Make code unconditional.
13936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13937 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13938 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13940 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13941 Make code unconditional.
13942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13943 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13944 (__libc_missing_posix_timers): Remove.
13945
dd924cd7
RM
139462012-08-15 Roland McGrath <roland@hack.frob.com>
13947
4b4f2771
RM
13948 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13949 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13950
601c888b
RM
13951 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13952
176790a7
RM
13953 * elf/dl-sym.c: Include <stdlib.h>.
13954
329bc018
RM
13955 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13956 constants, which avoids warnings in 32-bit builds.
13957
e04e272d
RM
13958 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13959 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13960
952bf94a
RM
13961 * misc/lseek.c: File moved to ...
13962 * io/lseek.c: ... here.
13963
7c99b50a
RM
13964 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13965
dd924cd7
RM
13966 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13967 shifting LEN more than 31 bits at once.
13968
b3f479a8
LD
139692012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13970
13971 [BZ #14195]
8c4ae0d4
RM
13972 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13973 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13974 * string/test-strncasecmp.c (check1): Renamed to...
13975 (bz12205): ...this.
13976 (bz14195): Add new testcase for two empty input strings and N > 0.
13977 (test_main): Call new testcase, adapt for renamed function.
13978
9c55864e
AJ
139792012-08-15 Andreas Jaeger <aj@suse.de>
13980
13981 [BZ #14090]
13982 * crypt/md5test2.c: New test, based on test supplied by Serge
13983 Belyshev <belyshev@depni.sinp.msu.ru>.
13984 * crypt/Makefile (xtests): Add md5test-giant..
13985 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13986
02dcb6c5
PE
139872012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13988
13989 [BZ #14090]
13990 * crypt/md5.c (md5_process_block): Don't assume the buffer
13991 length is less than 2**32.
13992 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13993 length is less than 2**64.
13994
a3f95dcc
RM
139952012-08-15 Roland McGrath <roland@hack.frob.com>
13996
be75d758
RM
13997 * string/str-two-way.h: Include <sys/param.h>.
13998 (MAX): Macro removed.
13999
7312ca90
RM
14000 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14001 Move #define and #undef of memmove to just before and after
14002 including <string.h>.
14003
9a0a5486
RM
14004 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14005 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14006 and after including <string.h>. Move declarations of
14007 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14008 to before #include "string/memmove.c".
14009
67cc348d
RM
14010 * include/dirent.h: Declare __getdirentries.
14011
a3f95dcc
RM
14012 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14013 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14014
ca98e171
MF
140152012-08-14 Mike Frysinger <vapier@gentoo.org>
14016
14017 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14018 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14019 * sysdeps/i386/configure: Regenerated.
14020 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14021 STABS_CURRENT_FILE, and STABS_FUN.
14022 (END): Remove call to STABS_FUN_END.
14023 (STABS_CURRENT_FILE1): Delete.
14024 (STABS_CURRENT_FILE): Likewise.
14025 (STABS_FUN): Likewise.
14026 (STABS_FUN_END): Likewise.
14027 (STABS_FUN2): Likewise.
14028 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14029 * sysdeps/x86_64/configure: Regenerated.
14030
5908bf46
RM
140312012-08-14 Roland McGrath <roland@hack.frob.com>
14032
14033 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14034 * elf/dl-lookup.c: Likewise.
5908bf46 14035
f2c05b9e
JM
140362012-08-14 Joseph Myers <joseph@codesourcery.com>
14037
14038 * sysdeps/unix/sysv/linux/kernel-features.h
14039 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14040 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14041 unconditionally.
14042 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14043 unconditionally.
14044 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14045 condition on __ASSUME_CLONE_THREAD_FLAGS.
14046
e11f5155
AJ
140472012-08-14 Andreas Jaeger <aj@suse.de>
14048
14049 * sysdeps/i386/fpu/libm-test-ulps: Update.
14050
51a9ba86
MK
140512012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14052
2fdd4f78
AJ
14053 * include/atomic.h (atomic_exchange_and_add): Split into ...
14054 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14055 New atomic macros.
51a9ba86 14056
ba6cba9e
MT
140572012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14058
14059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14060
42443a47
JL
140612012-08-13 Jeff Law <law@redhat.com>
14062
14063 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14064 null byte in the output string.
14065
121dce05
JM
140662012-08-10 Joseph Myers <joseph@codesourcery.com>
14067
14068 * sysdeps/unix/sysv/linux/kernel-features.h
14069 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14070 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14071 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14072 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14073 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14074 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14075 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14076
bf51f568
JL
140772012-08-09 Jeff Law <law@redhat.com>
14078
14079 [BZ #13939]
14080 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14081 When avoid_arena is set, don't retry in the that arena. Pick the
14082 next one, whatever it might be.
14083 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14084 (arena_lock): Pass in new parameter to arena_get2.
14085 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14086 arena_get2.
14087 (__libc_malloc): Unify retrying after main arena failure with
14088 __libc_memalign version.
14089 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14090
f85fa270
L
140912012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14092
14093 [BZ #14166]
14094 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14095 to __redirect_strstr.
14096 (__strstr_sse42): Use typeof __redirect_strstr.
14097 (__strstr_ia32): Likewise.
14098 (__libc_strstr): New prototype.
14099 (strstr): Renamed to ...
14100 (__libc_strstr): This.
14101 (strstr): New strong alias of __libc_strstr.
14102 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14103 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14104 __redirect_time.
14105 Include <time.h>.
14106 (__libc_time): New prototype.
14107 (time_ifunc): Replace time with __libc_time.
14108 (time): New strong alias and hidden definition of __libc_time.
14109 (__GI_time): Remove strong alias.
14110 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14111 Include <stddef.h>.
14112 (memmove): Redefined to __redirect_memmove.
14113 (__memmove_sse2): Use typeof __redirect_memmove.
14114 (__memmove_ssse3): Likewise.
14115 (__memmove_ssse3_back): Likewise.
14116 (__libc_memmove): New prototype.
14117 (memmove): Renamed to ...
14118 (__libc_memmove): This.
14119 (memmove): New strong alias of __libc_memmove.
14120
33b4a91e
MS
141212012-08-08 Mark Salter <msalter@redhat.com>
14122
14123 * elf/elf.h
14124 (R_MN10300_TLS_GD): Define.
14125 (R_MN10300_TLS_LD): Likewise.
14126 (R_MN10300_TLS_LDO): Likewise.
14127 (R_MN10300_TLS_GOTIE): Likewise.
14128 (R_MN10300_TLS_IE): Likewise.
14129 (R_MN10300_TLS_LE): Likewise.
14130 (R_MN10300_TLS_DTPMOD): Likewise.
14131 (R_MN10300_TLS_DTPOFF): Likewise.
14132 (R_MN10300_TLS_TPOFF): Likewise.
14133 (R_MN10300_SYM_DIFF): Likewise.
14134 (R_MN10300_ALIGN): Likewise.
14135 (R_MN10300_NUM): Update.
14136
b36137f1
JM
141372012-08-08 Joseph Myers <joseph@codesourcery.com>
14138
14139 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14140 Remove.
14141
cdd915fd
RM
141422012-08-08 Roland McGrath <roland@hack.frob.com>
14143
a2433aac
RM
14144 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14145
cdd915fd
RM
14146 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14147 sysdeps/unix -> sysdeps/posix move.
14148 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14149
bf9b740a
AM
141502012-08-07 Allan McRae <allan@archlinux.org>
14151
14152 [BZ #14303]
14153 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14154 (SUNOS_CPP): Likewise.
14155 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14156 not found.
14157 (open_input): Call CPP using execvp.
14158
93df14ee
JM
141592012-08-07 Joseph Myers <joseph@codesourcery.com>
14160
14161 * sysdeps/unix/sysv/linux/kernel-features.h
14162 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14163 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14164 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14165 (__ASSUME_WAITID_SYSCALL): Likewise.
14166 * sysdeps/unix/sysv/linux/dl-execstack.c
14167 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14168 code unconditional.
14169 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14170 conditional code.
14171 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14172 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14173 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14174 code.
14175 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14176 unconditional.
14177 [__ASSUME_WAITID_SYSCALL]: Likewise.
14178 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14179
d34689de
RM
141802012-08-07 Roland McGrath <roland@hack.frob.com>
14181
a281decc
RM
14182 * sysdeps/unix/closedir.c: Renamed to ...
14183 * sysdeps/posix/closedir.c: ... here.
14184 * sysdeps/unix/dirfd.c: Renamed to ...
14185 * sysdeps/posix/dirfd.c: ... here.
14186 * sysdeps/unix/dirstream.h: Renamed to ...
14187 * sysdeps/posix/dirstream.h: ... here.
14188 * sysdeps/unix/fdopendir.c: Renamed to ...
14189 * sysdeps/posix/fdopendir.c: ... here.
14190 * sysdeps/unix/opendir.c: Renamed to ...
14191 * sysdeps/posix/opendir.c: ... here.
14192 * sysdeps/unix/readdir.c: Renamed to ...
14193 * sysdeps/posix/readdir.c: ... here.
14194 * sysdeps/unix/readdir_r.c: Renamed to ...
14195 * sysdeps/posix/readdir_r.c: ... here.
14196 * sysdeps/unix/rewinddir.c: Renamed to ...
14197 * sysdeps/posix/rewinddir.c: ... here.
14198 * sysdeps/unix/seekdir.c: Renamed to ...
14199 * sysdeps/posix/seekdir.c: ... here.
14200 * sysdeps/unix/telldir.c: Renamed to ...
14201 * sysdeps/posix/telldir.c: ... here.
14202 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14203 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14204 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14205 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14206
22895b47
RM
14207 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14208 * bits/fcntl.h: ... here.
14209
707a53b6
RM
14210 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14211 not 0.
14212 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14213 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14214 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14215 (struct flock): Move l_start, l_len to the beginning.
14216 Use __pid_t for l_pid.
14217 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14218 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14219 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14220 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14221 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14222 [__USE_LARGEFILE64] (struct flock64): New type.
14223 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14224
f0bd3e25
RM
14225 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14226 * bits/dirent.h: ... here.
14227
d34689de
RM
14228 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14229 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14230
6dad2c06
JM
142312012-08-07 Joseph Myers <joseph@codesourcery.com>
14232
14233 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14234 Change from 2.6.0 to 2.6.16.
14235 * sysdeps/unix/sysv/linux/configure: Regenerated.
14236 * sysdeps/unix/sysv/linux/kernel-features.h
14237 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14238 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14239 version.
14240 (__ASSUME_UTIMES): Likewise.
14241 (__ASSUME_CLONE_STOPPED): Remove.
14242 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14243 architectures, not kernel version.
14244 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14245 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14246 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14247 (__ASSUME_WAITID_SYSCALL): Likewise.
14248 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14249 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14250 * README: State 2.6.16 as minimum Linux kernel version. Do not
14251 refer to older versions.
14252
03af9520
RM
142532012-08-06 Roland McGrath <roland@hack.frob.com>
14254
8e49df1d
RM
14255 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14256 Define alphasort64 as an alias.
14257 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14258 Define versionsort64 as an alias.
14259 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14260 Define scandir64 as an alias.
14261 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14262 Define scandirat64 as an alias.
14263 * dirent/alphasort64.c (alphasort64):
14264 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14265 * dirent/versionsort64.c: Likewise.
14266 * dirent/scandir64.c: Likewise.
14267 * dirent/scandirat64.c: Likewise.
14268 * sysdeps/wordsize-64/alphasort.c: File removed.
14269 * sysdeps/wordsize-64/alphasort64.c: File removed.
14270 * sysdeps/wordsize-64/scandir.c: File removed.
14271 * sysdeps/wordsize-64/scandir64.c: File removed.
14272 * sysdeps/wordsize-64/scandirat.c: File removed.
14273 * sysdeps/wordsize-64/scandirat64.c: File removed.
14274 * sysdeps/wordsize-64/versionsort.c: File removed.
14275 * sysdeps/wordsize-64/versionsort64.c: File removed.
14276 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14277 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14278 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14280 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14282 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14283 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14284
14285 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14287 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14289 [defined __arch64__ || defined __sparcv9]
14290 (__INO_T_MATCHES_INO64_T): New macro.
14291 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14292 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14293 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14294 * sysdeps/unix/sysv/linux/bits/dirent.h
14295 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14296 (_DIRENT_MATCHES_DIRENT64): New macro.
14297
03af9520
RM
14298 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14299 Define lockf64 as an alias.
14300 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14301 Define fseeko64 as an alias.
14302 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14303 Define ftello64 as an alias.
14304 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14305 Define _IO_fgetpos64 and fgetpos64 as aliases.
14306 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14307 Define _IO_fsetpos64 and fsetpos64 as aliases.
14308 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14309 Conditionalize body on this.
14310 * libio/fseeko64.c: Likewise.
14311 * libio/ftello64.c: Likewise.
14312 * libio/iofgetpos64.c: Likewise.
14313 * libio/iofsetpos64.c: Likewise.
14314 * sysdeps/wordsize-64/lockf.c: File removed.
14315 * sysdeps/wordsize-64/lockf64.c: File removed.
14316 * sysdeps/wordsize-64/fseeko.c: File removed.
14317 * sysdeps/wordsize-64/fseeko64.c: File removed.
14318 * sysdeps/wordsize-64/ftello.c: File removed.
14319 * sysdeps/wordsize-64/ftello64.c: File removed.
14320 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14321 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14322 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14323 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14324 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14325 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14326 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14328 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14330 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14331 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14332 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14333 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14334
14335 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14336 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14337 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14339 [defined __arch64__ || defined __sparcv9]
14340 (__OFF_T_MATCHES_OFF64_T): New macro.
14341 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14342 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14344 (__OFF_T_MATCHES_OFF64_T): New macro.
14345
c5757acd
L
143462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14347
14348 * stdlib/secure-getenv.c (__secure_getenv): Replace
14349 GLIBC_2_16 with GLIBC_2_17.
14350
3a31811e
L
143512012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14352
14353 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14354 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14355
faa2bccb
DM
143562012-08-03 David S. Miller <davem@davemloft.net>
14357
14358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14359
85fe1997
JM
143602012-08-03 Joseph Myers <joseph@codesourcery.com>
14361
14362 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14363 Remove.
14364 (__ASSUME_CORRECT_SI_PID): Likewise.
14365 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14366 (__ASSUME_TMPFS_NAME): Likewise.
14367 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14368 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14369 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14370 (HAVE_AUX_SECURE): Make definition unconditional.
14371 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14372 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14373
4f75b7a0
RM
143742012-08-03 Roland McGrath <roland@hack.frob.com>
14375
14376 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14377 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14378 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14379 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14380 __eloop_threshold instead of SYMLOOP_MAX.
14381
14382 * sysdeps/generic/eloop-threshold.h: New file.
14383 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14384 of MAXSYMLINKS.
14385 * elf/chroot_canon.c (chroot_canon): Likewise.
14386
7aab07e4
JM
143872012-08-03 Joseph Myers <joseph@codesourcery.com>
14388
14389 [BZ #13717]
14390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14391 Change to 2.6.0 everywhere.
14392 * sysdeps/unix/sysv/linux/configure: Regenerated.
14393 * sysdeps/unix/sysv/linux/kernel-features.h
14394 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14395 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14396 kernel versions.
14397 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14398 (__ASSUME_FUTEX_REQUEUE): Remove.
14399 (__ASSUME_STATFS64): Define unconditionally.
14400 (__ASSUME_AT_SECURE): Likewise.
14401 (__ASSUME_CORRECT_SI_PID): Likewise.
14402 (__ASSUME_TGKILL): Define without depending on kernel version for
14403 i386.
14404 (__ASSUME_UTIMES): Likewise.
14405 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14406 kernel version.
14407 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14408 (__ASSUME_TMPFS_NAME): Likewise.
14409 * README: Update reference to Linux kernel versions.
14410
b67e9372
MP
144112012-08-02 Marek Polacek <polacek@redhat.com>
14412
1f529f7d 14413 [BZ# 14150]
b67e9372
MP
14414 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14415 libc_cv_asm_type_prefix with %.
14416 * configure: Regenerated.
d2441631
RM
14417 * include/libc-symbols.h: Remove comment about
14418 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14419 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14420 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14421 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14422 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14423 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14424 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14425 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14426 * elf/tst-unique2mod1.c: Likewise.
14427 * elf/tst-unique1mod2.c: Likewise.
14428 * elf/tst-unique1mod1.c: Likewise.
14429 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14430 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14431 Replace ASM_TYPE_DIRECTIVE with .type.
14432 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14433 * sysdeps/i386/sysdep.h: Likewise.
14434 * sysdeps/x86_64/sysdep.h: Likewise.
14435 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14437 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14438 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14439 * sysdeps/powerpc/powerpc32/sysdep.h:
14440 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14441 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14442 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14443 * sysdeps/i386/fpu/e_powf.S: Likewise.
14444 * sysdeps/i386/fpu/e_expl.S: Likewise.
14445 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14446 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14447 * sysdeps/i386/fpu/e_pow.S: Likewise.
14448 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14449 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14450 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14451 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14452 * sysdeps/i386/fpu/e_log2.S: Likewise.
14453 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14454 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14455 * sysdeps/i386/fpu/e_powl.S: Likewise.
14456 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14457 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14458 * sysdeps/i386/fpu/e_logl.S: Likewise.
14459 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14460 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14461 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14462 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14463 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14464 * sysdeps/i386/fpu/e_log.S: Likewise.
14465 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14466 * sysdeps/i386/fpu/e_logf.S: Likewise.
14467 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14468 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14469 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14470 * sysdeps/i386/fpu/e_log10.S: Likewise.
14471 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14472 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14473 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14474 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14475 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14476 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14477 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14478 * sysdeps/i386/i686/strtok.S: Likewise.
14479 * sysdeps/i386/i386-mcount.S: Likewise.
14480 * sysdeps/i386/strtok.S: Likewise.
14481 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14482 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14484 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14485 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14486 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14487 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14488 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14489 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14490 * sysdeps/x86_64/_mcount.S: Likewise.
14491 * sysdeps/x86_64/strtok.S: Likewise.
14492 * sysdeps/sh/_mcount.S: Likewise.
14493
2747bf9a
RM
144942012-08-01 Roland McGrath <roland@hack.frob.com>
14495
14496 * libio/iofopen.c: Include <fcntl.h>.
14497 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14498 (_IO_fopen64, fopen64): Define as aliases.
14499 * libio/iofopen64.c: Include <fcntl.h>.
14500 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14501 Conditionalize body on this.
14502 * sysdeps/wordsize-64/iofopen.c: File removed.
14503 * sysdeps/wordsize-64/iofopen64.c: File removed.
14504
3fb791b8
MP
145052012-08-01 Marek Polacek <polacek@redhat.com>
14506
14507 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14508 Use dlfcn directly instead of a variable.
14509 (binfmt-subdir): Do not define.
14510 (dlfcn): Likewise.
14511
a9f1039f
JM
145122012-08-01 Joseph Myers <joseph@codesourcery.com>
14513
23bddc06
JM
14514 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14515 Remove all definitions.
14516 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14517 <kernel-features.h>.
14518 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14519 (miss_F_GETOWN_EX): Remove all definitions.
14520 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14521 macro definition.
14522 [!__ASSUME_FCNTL64]: Remove conditional code.
14523 [__ASSUME_FCNTL64]: Make code unconditional.
14524 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14525 <kernel-features.h>.
14526 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14527 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14528 (lockf64) [__NR_fcntl64]: Make code unconditional.
14529 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14530
a9f1039f
JM
14531 * sysdeps/unix/sysv/linux/kernel-features.h
14532 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14533 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14534 Make code unconditional.
14535 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14536 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14538 [__NR_vfork]: Make code unconditional.
14539 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14540 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14542 [__NR_vfork]: Make code unconditional.
14543 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14544 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14545
09c0ee5f
RM
145462012-08-01 Roland McGrath <roland@hack.frob.com>
14547
48aec5b9
RM
14548 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14549 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14550
cd97c966
RM
14551 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14552 Define mkstemp64 as an alias.
3f55550c
RM
14553 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14554 Define mkstemps64 as an alias.
cd97c966
RM
14555 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14556 Define mkostemp64 as an alias.
b8625cfc
RM
14557 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14558 Define mkostemps64 as an alias.
cd97c966
RM
14559 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14560 Conditionalize body on this.
14561 * misc/mkostemp64.c: Likewise.
b8625cfc 14562 * misc/mkostemps64.c: Likewise.
3f55550c 14563 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14564 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14565 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14566 * sysdeps/wordsize-64/mkostemp.c: File removed.
14567 * sysdeps/wordsize-64/mkstemp.c: File removed.
14568 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14569 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14570 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14572
09c0ee5f
RM
14573 [BZ #14138]
14574 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14575 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14576 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14577 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14578
14579 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14580 compat_symbol macros from <shlib-compat.h> rather than the underlying
14581 default_symbol_version and symbol_version macros, so that DEFAULT
14582 lines in shlib-versions are respected.
14583 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14584
7e66ee51
FW
145852012-08-01 Florian Weimer <fweimer@redhat.com>
14586
14587 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14588 Declare with warn_unused_result.
14589 (setgid, setregid, setegid, setresgid): Likewise.
14590 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14591 Likewise.
14592 * WUR-REPORT: Remove set*id functions.
14593
d2a54255
PT
145942012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14595
14596 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14597
7ecdb005
RM
145982012-07-31 Roland McGrath <roland@hack.frob.com>
14599
b4180a5e 14600 [BZ #10191]
789bd351
RM
14601 * include/sys/socket.h (__libc_accept, __libc_accept4):
14602 Add attribute_hidden.
14603 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14604
40ce302d
RM
14605 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14606 use of PTR_MANGLE.
14607 * inet/getnetgrent_r.c (setup): Likewise.
14608
7ecdb005
RM
14609 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14610
e2eabb2c
DM
146112012-07-31 David S. Miller <davem@davemloft.net>
14612
14613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14614
d0419dbf
JM
146152012-07-31 Joseph Myers <joseph@codesourcery.com>
14616
14617 [BZ #13629]
14618 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14619 value between 1.0 and 2.0 and smaller part has absolute value less
14620 than 1.0.
14621 * math/s_clog10.c (__clog10): Likewise.
14622 * math/s_clog10f.c (__clog10f): Likewise.
14623 * math/s_clog10l.c (__clog10l): Likewise.
14624 * math/s_clogf.c (__clogf): Likewise.
14625 * math/s_clogl.c (__clogl): Likewise.
14626 * math/libm-test.inc (clog_test): Add more tests.
14627 (clog10_test): Likewise.
14628 * sysdeps/i386/fpu/libm-test-ulps: Update.
14629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14630
2bc13872
FW
146312012-07-31 Florian Weimer <fweimer@redhat.com>
14632
14633 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14634 Exit with zero in case no suitable GID is found, and write a
14635 message to standard error.
14636
bea9b193
RM
146372012-07-30 Roland McGrath <roland@hack.frob.com>
14638
14639 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14640 rather than to 1.
14641 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14642 (MAXPATHLEN): Removed.
14643 (NOGROUP, NODEV): New macros.
14644 (setbit, clrbit, isset, isclr): New macros.
14645 (howmany, roundup, powerof2): New macros.
14646 (DEV_BSIZE): New macro.
14647
14648 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14649 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14650
14651 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14652 definition on [!__NO_LONG_DOUBLE_MATH].
14653
14654 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14655 PTR_MANGLE and PTR_DEMANGLE.
14656
14657 * socket/accept4.c (accept4): Rename to __libc_accept4.
14658 Define accept4 as a weak alias.
14659
14660 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14661 on [_DIRENT_HAVE_D_TYPE].
14662 * io/ftw.c (ftw_dir): Likewise.
14663
14664 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14665
14666 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14667
14668 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14669 Use the BSD numbers rather than the arbitrary ones we had.
14670 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14671 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14672 (SIGXCPU, SIGXFSZ): New macros.
14673 (_NSIG): Now 32.
14674
14675 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14676 initializer on [_LIBC_REENTRANT].
14677
14678 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14679 definitions inside [_POSIX_MAPPED_FILES].
14680
14681 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14682
14683 * dirent/opendir.c: Include <fcntl.h>.
14684
14685 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14686 (__libc_getspecific): Likewise.
14687 (__libc_key_create): Likewise.
14688
14689 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14690 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14691 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14692 (tmpfile64): Define as alias.
14693 * sysdeps/wordsize-64/tmpfile.c: File removed.
14694 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14695 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14696 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14697
14698 * stdio-common/vfscanf.c: Include <stdbool.h>.
14699 * nss/makedb.c: Likewise.
14700 * stdio-common/_i18n_number.h: Likewise.
14701 * argp/argp-help.c: Likewise.
14702 * posix/wordexp.c: Likewise.
14703 * sysdeps/posix/spawni.c: Likewise.
14704 * nss/nss_files/files-initgroups.c: Likewise.
14705 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14706 * nss/nss_files/files-initgroups.c: Likewise.
14707 * nss/nss_db/db-netgrp.c: Likewise.
14708 * nss/nss_db/db-initgroups.c: Likewise.
14709 * io/fchmodat.c: Include <sys/stat.h>.
14710
14711 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14712 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14713
14714 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14715 [HAVE_MMAP].
14716
14717 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14718 Add multiple inclusion protection.
14719
e5abc686
DM
147202012-07-27 David S. Miller <davem@davemloft.net>
14721
14722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14723
815e6fa3
GB
147242012-07-27 Gary Benson <gbenson@redhat.com>
14725
14726 [BZ #14298]
14727 * elf/rtld.c: Include <stap-probe.h>.
14728 (dl_main): Added static probes "init_start" and "init_complete".
14729 * elf/dl-load.c: Include <stap-probe.h>.
14730 (lose): Take new parameter "nsid".
14731 Added static probe "map_failed".
14732 (_dl_map_object_from_fd): Pass namespace id to lose.
14733 Added static probe "map_start".
14734 (open_verify): Pass namespace id to lose.
14735 * elf/dl-open.c: Include <stap-probe.h>.
14736 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14737 and "reloc_complete".
14738 * elf/dl-close.c: Include <stap-probe.h>.
14739 (_dl_close_worker): Added static probes "unmap_start" and
14740 "unmap_complete".
14741 * elf/rtld-debugger-interface.txt: New file documenting the above.
14742
9f98c16c
RM
147432012-07-26 Roland McGrath <roland@hack.frob.com>
14744
14745 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14746 rather than a string variable.
14747 * sunrpc/rpc_main.c (h_output): Likewise.
14748 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14749
f3c22df3
PT
147502012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14751
14752 * inet/check_native.c: New file.
14753
3129cfc6
JM
147542012-07-26 Joseph Myers <joseph@codesourcery.com>
14755
da865e95
JM
14756 [BZ #13629]
14757 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14758 if larger part has absolute value 1.0.
14759 * math/s_clog10.c (__clog10): Likewise.
14760 * math/s_clog10f.c (__clog10f): Likewise.
14761 * math/s_clog10l.c (__clog10l): Likewise.
14762 * math/s_clogf.c (__clogf): Likewise.
14763 * math/s_clogl.c (__clogl): Likewise.
14764 * math/libm-test.inc (clog_test): Add more tests.
14765 (clog10_test): Likewise.
14766 * sysdeps/i386/fpu/libm-test-ulps: Update.
14767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14768
3129cfc6
JM
14769 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14770 (pltexit): Likewise.
14771 (La_regs): Likewise.
14772 (La_retval): Likewise.
14773 (int_retval): Likewise.
14774 Update #error for removed macros to refer only to definitions in
14775 tst-audit.h.
14776 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14777 macro.
14778 (pltexit): Likewise.
14779 (La_regs): Likewise.
14780 (La_retval): Likewise.
14781 (int_retval): Likewise.
14782 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14783 macro.
14784 (pltexit): Likewise.
14785 (La_regs): Likewise.
14786 (La_retval): Likewise.
14787 (int_retval): Likewise.
14788 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14789 macro.
14790 (pltexit): Likewise.
14791 (La_regs): Likewise.
14792 (La_retval): Likewise.
14793 (int_retval): Likewise.
14794 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14795 macro.
14796 (pltexit): Likewise.
14797 (La_regs): Likewise.
14798 (La_retval): Likewise.
14799 (int_retval): Likewise.
14800 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14801 macro.
14802 (pltexit): Likewise.
14803 (La_regs): Likewise.
14804 (La_retval): Likewise.
14805 (int_retval): Likewise.
14806 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14807 macro.
14808 (pltexit): Likewise.
14809 (La_regs): Likewise.
14810 (La_retval): Likewise.
14811 (int_retval): Likewise.
14812 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14813 macro definitions in tst-audit.h.
14814 * sysdeps/i386/tst-audit.h: New file.
14815 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14816 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14817 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14818 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14819 * sysdeps/sh/tst-audit.h: Likewise.
14820 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14821 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14822 * sysdeps/x86_64/tst-audit.h: Likewise.
14823
bfc07087
AJ
148242012-07-26 Andreas Jaeger <aj@suse.de>
14825
b1b2aaf8
AJ
14826 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14827 ptrace.
14828
14829 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14830 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14831 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14832 PTRACE_O_MASK.
14833 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14834 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14835 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14836
bfc07087
AJ
14837 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14838 value.
14839
14840 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14841 _sigsys.
14842 (si_call_addr, si_syscall, si_arch): Define new macro.
14843 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14844 _sigsys.
14845 (si_call_addr, si_syscall, si_arch): Define new marcro.
14846 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14847 _sigsys.
14848 (si_call_addr, si_syscall, si_arch): Define new macro.
14849 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14850 _sigsys.
14851 (si_call_addr, si_syscall, si_arch): Define new macro.
14852
89b4b02f
JM
148532012-07-25 Joseph Myers <joseph@codesourcery.com>
14854
14855 [BZ #13717]
14856 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14857 Change to 2.4.21 where previously 2.4.1.
14858 * sysdeps/unix/sysv/linux/configure: Regenerated.
14859 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14860 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14861 Linux kernel version.
14862 (__ASSUME_STD_AUXV): Remove.
14863 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14864 kernel version.
14865 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14866 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14867 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14868 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14869 (__ASSUME_NETLINK_SUPPORT): Likewise.
14870 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14871 (__no_netlink_support): Remove conditional definition.
14872 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14873 Remove.
14874 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14875 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14876 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14877 (if_nameindex_ioctl): Remove.
14878 (if_nameindex_netlink): Do not handle __no_netlink_support.
14879 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14880 code.
14881 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14882 Remove conditional code.
14883 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14884 code.
14885 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14886 unconditional.
14887 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14888 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14889 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14890 Remove.
14891 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14892 [!__ASSUME_STD_AUXV]: Remove conditional code.
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14894 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14895 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14897 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14898 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14899 code.
14900 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14902 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14903 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14904 conditional code.
14905 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14907 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14908 code.
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14910 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14911 conditional code.
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14913 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14914 code unconditional.
14915 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14916 conditional code.
14917 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14918 unconditional.
14919 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14920 conditional code.
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14922 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14923 unconditional.
14924 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14925 conditional code.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14927 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14928 code unconditional.
14929 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14930 conditional code.
14931 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14932 unconditional.
14933 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14934 conditional code.
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14936 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14937 code unconditional.
14938 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14939 conditional code.
14940 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14941 unconditional.
14942 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14943 conditional code.
14944
842a39cd
AS
149452012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14946
14947 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14948 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14949 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14950 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14951 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14952 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14953 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14954 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14955 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14956 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14957 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14958 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14959 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14960 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14961 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14962 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14963 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14964 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14965 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14966 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14967 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14968 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14969 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14970
84b3fd84
FW
149712012-07-25 Florian Weimer <fweimer@redhat.com>
14972
14973 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14974 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14975 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14976 Introduce __libc_secure_getenv.
0c7936d5
FW
14977 * stdlib/Versions (2.17): Add secure_getenv
14978 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14979 * stdlib/secure-getenv.c: Rename __secure_getenv to
14980 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14981 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14982 * stdlib/tst-secure-getenv.c: New.
14983 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14984 * manual/startup.texi (Environment Access): Document
14985 secure_getenv.
84b3fd84
FW
14986 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14987 __libc_secure_getenv.
14988 * inet/ruserpass.c (ruserpass): Likewise.
14989 * malloc/mtrace.c (mtrace): Likewise.
14990 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14991 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14992 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14993 * sysdeps/posix/tempname.c: Likewise. Evaluate
14994 HAVE_SECURE_GETENV.
14995 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14996 __secure_getenv to __libc_secure_getenv.
84b3fd84 14997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14999 Likewise.
15000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15001 Likewise.
15002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15009
56e49b71
JM
150102012-07-25 Joseph Myers <joseph@codesourcery.com>
15011
15012 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15013 (struct La_i86_retval): Likewise.
15014 (struct La_x86_64_regs): Likewise.
15015 (struct La_x86_64_retval): Likewise.
15016 (struct La_x32_regs): Likewise.
15017 (struct La_x32_retval): Likewise.
15018 (struct La_ppc32_regs): Likewise.
15019 (struct La_ppc32_retval): Likewise.
15020 (struct La_ppc64_regs): Likewise.
15021 (struct La_ppc64_retval): Likewise.
15022 (struct La_sh_regs): Likewise.
15023 (struct La_sh_retval): Likewise.
15024 (struct La_s390_32_regs): Likewise.
15025 (struct La_s390_32_retval): Likewise.
15026 (struct La_s390_64_regs): Likewise.
15027 (struct La_s390_64_retval): Likewise.
15028 (struct La_sparc32_regs): Likewise.
15029 (struct La_sparc32_retval): Likewise.
15030 (struct La_sparc64_regs): Likewise.
15031 (struct La_sparc64_retval): Likewise.
15032 (struct audit_ifaces): Remove architecture-specific pltenter and
15033 pltexit members.
15034 * sysdeps/i386/ldsodefs.h: New file.
15035 * sysdeps/powerpc/ldsodefs.h: Likewise.
15036 * sysdeps/s390/ldsodefs.h: Likewise.
15037 * sysdeps/sh/ldsodefs.h: Likewise.
15038 * sysdeps/sparc/ldsodefs.h: Likewise.
15039 * sysdeps/x86_64/ldsodefs.h: Likewise.
15040
354691b7
MP
150412012-07-25 Marek Polacek <polacek@redhat.com>
15042
15043 [BZ #6808]
15044 * math/libm-test.inc (yn_test): Add another test.
15045 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15046 to ERANGE when the result is +-Inf.
15047 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15048 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15049 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15050 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15051
bf9e2071
JM
150522012-07-24 Joseph Myers <joseph@codesourcery.com>
15053
15054 * conform/data/time.h-data (NULL): Use macro-constant. Require
15055 equal to 0.
15056 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15057 clock_t.
15058 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15059
57633811
TS
150602012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15061
15062 * configure.in <sysdeps resolving>: Correct printing
15063 Implies_before.
15064 * configure: Regenerate.
15065
c23c33b0
TS
150662012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15067
15068 * math/w_ilogb.c: Include <limits.h>.
15069 * math/w_ilogbl.c: Likewise.
15070
b5982523
JM
150712012-07-20 Joseph Myers <joseph@codesourcery.com>
15072
15073 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15074 va_copy. Document allowing for unavailable va_copy only as
15075 pre-C99 compatibility.
15076 * manual/string.texi (Copying and Concatenation): Use va_copy
15077 instead of __va_copy in concat example.
15078
ac4ea442
PT
150792012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15080
15081 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15082 (__sendto): Use create_address_port. Initialize APORT and deallocate
15083 it if not null.
15084
f98eafbd
PT
15085 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15086 with O_NOLINK passed to __file_name_lookup.
15087
898c7aab
PT
15088 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15089 with O_NOLINK passed to __file_name_lookup.
15090
0ced335a
PT
15091 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15092 negative N or less than NGIDS.
15093
b3404dbd
PT
15094 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15095 type to string_t. Set ERANGE as errno and return it if NAME is not big
15096 enough. Use memcpy instead of strncpy.
15097
0f48659e
JM
150982012-07-20 Joseph Myers <joseph@codesourcery.com>
15099
15100 * elf/Makefile (check-data): Remove.
15101 (localplt.data): New vpath directive.
15102 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15103 instead of $(check-data).
15104 * scripts/data/localplt-generic.data: Move to ...
15105 * sysdeps/generic/localplt.data: ... here.
15106 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15107 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15108 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15110 ... here.
15111 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15113 ... here.
15114 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15116 ... here.
15117 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15119 ... here.
15120 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15122 ... here.
15123 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15125 ... here.
15126
d37cbdaa
AZ
151272012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15128
15129 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15130 PPC32 and PPC64 files.
15131 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15132 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15133
46f85fc2
AK
151342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15135
15136 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15137 __makecontext_ret to ...
15138 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15139 ... here and call exit if uc_link is NULL. New file.
15140 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15141 __makecontext_ret.S.
15142 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15143 __makecontext_ret to ...
15144 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15145 ... here and call exit if uc_link is NULL. New file.
15146 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15147 __makecontext_ret.S.
15148
08f43f9b
AK
151492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15150
15151 * elf/elf.h (R_390_IRELATIVE): New definition.
15152 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15153 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15154 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15156 (elf_machine_lazy_rel): Likewise.
15157 * sysdeps/s390/dl-irel.h: New file.
15158 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15159 * sysdeps/s390/s390-64/memset.S: New asm code.
15160 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15161 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15162 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15163 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15164 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15165 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15166 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15167 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15168 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15169 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15170 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15171 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15172 * sysdeps/s390/s390-32/memset.S: New asm code.
15173 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15174
3b05db33
MP
151752012-07-17 Marek Polacek <polacek@redhat.com>
15176
15177 [BZ #14349]
15178 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15179 * sysdeps/s390/s390-64/configure.in: Likewise.
15180 * sysdeps/sparc/configure.in: Likewise.
15181 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15182 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15183 * sysdeps/i386/configure.in: Likewise.
15184 * sysdeps/x86_64/configure.in: Likewise.
15185 * sysdeps/sh/configure.in: Likewise.
15186 * sysdeps/s390/s390-32/configure: Regenerated.
15187 * sysdeps/s390/s390-64/configure: Likewise.
15188 * sysdeps/x86_64/configure: Likewise.
15189 * sysdeps/sh/configure: Likewise.
15190 * sysdeps/powerpc/powerpc64/configure: Likewise.
15191 * sysdeps/powerpc/powerpc32/configure: Likewise.
15192 * sysdeps/sparc/configure: Likwise.
15193 * sysdeps/i386/configure: Likewise.
15194
a66877c6
MP
15195 * elf/dl-open.c: Comment fixes.
15196
cfc82fd8
JM
151972012-07-17 Joseph Myers <joseph@codesourcery.com>
15198
bd29910a
JM
15199 * Makefile [CXX] (check-data): Remove.
15200 [CXX] (c++-types.data): New vpath directive.
15201 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15202 vpath. Do not allow for C++ type data being missing.
15203 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15204 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15205 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15206 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15207 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15208 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15209 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15211 ... here.
15212 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15214 ... here.
15215 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15217 ... here.
15218 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15220 ... here.
15221 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15223 ... here.
15224 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15226 ... here.
15227 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15229 ... here.
15230 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15232
cfc82fd8
JM
15233 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15234 definitions to architecture-specific files.
15235 (TLS_IE): Likewise.
15236 (TLS_LD): Likewise.
15237 (TLS_GD): Likewise.
15238 * sysdeps/i386/tls-macros.h: New file.
15239 * sysdeps/powerpc/tls-macros.h: Likewise.
15240 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15241 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15242 * sysdeps/sh/tls-macros.h: Likewise.
15243 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15244 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15245 * sysdeps/x86_64/tls-macros.h: Likewise.
15246
f7db3170
TS
152472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15248
07cbfc23
TS
15249 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15250 zero value for regular exit case.
15251
f7db3170
TS
15252 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15253 (__start_context): Preserve zero value for regular exit case.
15254
dc97c227
TS
152552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15256 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15257
15258 * manual/setjmp.texi (setcontext): Clarify normal process
15259 termination when uc_link is the null pointer.
15260 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15261 exit call.
15262
d0cd7d02
AS
152632012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15264
15265 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15266 preprocessor. Test for each exception mask separately.
15267
dd318934
AJ
152682012-07-16 Andreas Jaeger <aj@suse.de>
15269
15270 * po/ru.po: Update from translation team.
15271
8048311a
JM
152722012-07-15 Joseph Myers <joseph@codesourcery.com>
15273
15274 * conform/data/string.h-data (NULL): Use macro-constant. Require
15275 equal to 0.
15276 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15277 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15278 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15279 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15281
b637d46e
AJ
152822012-07-13 Andreas Jaeger <aj@suse.de>
15283
15284 * po/fr.po: Update from translation team.
15285
541428fe
MP
152862012-07-12 Marek Polacek <polacek@redhat.com>
15287
15288 [BZ #14173]
15289 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15290 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15291 loop condition.
15292
ec332e94
JM
152932012-07-12 Joseph Myers <joseph@codesourcery.com>
15294
15295 [BZ #13717]
15296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15297 Change to 2.4.1 where previously 2.4.0.
15298 * sysdeps/unix/sysv/linux/configure: Regenerated.
15299 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15300 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15301 version.
15302 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15303 (__ASSUME_AT_CLKTCK): Remove.
15304 (__ASSUME_AT_PAGESIZE): Likewise.
15305 (__ASSUME_AT_XID): Likewise.
15306 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15307 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15308 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15309 unconditionally.
15310 (HAVE_AUX_PAGESIZE): Likewise.
15311 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15312 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15313 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15314
7b6e99be
JB
153152012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15316
15317 [BZ #14307]
15318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15319 the temporary buffer used to invoke __gethostbyname2_r,
15320 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15321 host_data / struct gaih_addrtuple.
15322 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15323 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15324 header file nss/nsswitch.h.
15325 * nss/nsswitch.h (global scope): Add definition of implementation
15326 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15327 resolv/nss_dns/dns-host.c).
15328
608404eb
AJ
153292012-07-11 Andreas Jaeger <aj@suse.de>
15330
15331 * po/fr.po: Update from translation team.
15332
71220aca
AJ
15333 * po/sv.po: Update from translation team
15334 * po/fr.po: Another update from translation team.
15335
28cfe843
AZ
153362012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15337
15338 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15339 for subnormals or multiply small sinh result by itself.
15340 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15342
6b90f981
DM
153432012-07-11 David S. Miller <davem@davemloft.net>
15344
15345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15346
c6825772
AS
153472012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15348
15349 [BZ #14347]
15350 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15351 (INTERNAL_MARK): Shift it here.
15352
7b8e0d49
MP
153532012-07-10 Marek Polacek <polacek@redhat.com>
15354
15355 [BZ #14151]
15356 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15357 libc_cv_asm_global_directive with .globl.
15358 * configure: Regenerated.
15359 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15360 with .globl.
15361 * sysdeps/i386/configure: Regenerated.
15362 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15363 with .globl.
15364 * sysdeps/x86_64/configure: Regenerated.
15365 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15366 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15367 * elf/tst-unique2mod2.c: Likewise.
15368 * elf/tst-unique2mod1.c: Likewise.
15369 * elf/tst-unique1mod2.c: Likewise.
15370 * elf/tst-unique1mod1.c: Likewise.
15371 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15372 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15373 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15374 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15375 * sysdeps/mach/sysdep.h: Likewise.
15376 * sysdeps/i386/sysdep.h: Likewise.
15377 * sysdeps/i386/i386-mcount.S: Likewise.
15378 * sysdeps/x86_64/_mcount.S: Likewise.
15379 * sysdeps/x86_64/sysdep.h: Likewise.
15380 * sysdeps/sh/_mcount.S: Likewise.
15381 * sysdeps/sh/sysdep.h: Likewise.
15382 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15383 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15384 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15385 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15386 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15387 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15388 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15389 * locale/localeinfo.h: Likewise.
15390 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15391 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15392
6c55cda3
RM
153932012-07-09 Roland McGrath <roland@hack.frob.com>
15394
15395 [BZ #14336]
15396 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15397 system".
15398 * manual/message.texi (The Uniforum approach): Likewise.
15399 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15400 (glibc iconv Implementation): Likewise.
15401
638a572e
JM
154022012-07-09 Joseph Myers <joseph@codesourcery.com>
15403
15404 [BZ #14337]
15405 * math/s_clog.c (__clog): Avoid scaling a value down where that
15406 could result in underflow.
15407 * math/s_clog10.c (__clog10): Likewise.
15408 * math/s_clog10f.c (__clog10f): Likewise.
15409 * math/s_clog10l.c (__clog10l): Likewise.
15410 * math/s_clogf.c (__clogf): Likewise.
15411 * math/s_clogl.c (__clogl): Likewise.
15412 * math/libm-test.inc (clog_test): Add more tests.
15413 (clog10_test): Likewise.
15414 * sysdeps/i386/fpu/libm-test-ulps: Update.
15415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15416
261f4859
AS
154172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15418
0abaf3e4
AS
15419 [BZ #14283]
15420 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15421 by 7 not 8 to examine high bit of fractional part.
15422
261f4859
AS
15423 [BZ #14042]
15424 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15425 for call to __mcount_internal.
15426 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15427 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15428 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15429
f17ac40d
JM
154302012-07-06 Joseph Myers <joseph@codesourcery.com>
15431
9ad63c23
JM
15432 [BZ #14154]
15433 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15434 approximation for values within 0x1p-13f of an odd multiple of
15435 pi/4.
15436 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15437 exception. Add more tests.
15438 * sysdeps/i386/fpu/libm-test-ulps: Update.
15439
f17ac40d
JM
15440 [BZ #6778]
15441 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15442 inputs and return -1 for them. Do not check for +Inf in case not
15443 reachable for +Inf.
15444 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15445 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15446 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15447 and return -1 for them. Do not check for +Inf in case not
15448 reachable for +Inf.
15449 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15450 define.
15451 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15452 and return -1 for them. Do not check for +Inf in case not
15453 reachable for +Inf.
15454 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15455 spurious underflow.
15456 * sysdeps/i386/fpu/libm-test-ulps: Update.
15457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15458
fb21f89b
MF
154592012-07-06 Mike Frysinger <vapier@gentoo.org>
15460
15461 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15462
cdfe2c5e
JM
154632012-07-05 Joseph Myers <joseph@codesourcery.com>
15464
15465 [BZ #14157]
15466 [BZ #14331]
15467 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15468 could result in spurious underflow. Scale down values above
15469 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15470 * math/s_csqrtf.c (__csqrtf): Likewise.
15471 * math/s_csqrtl.c (__csqrtl): Likewise.
15472 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15473 spurious underflow.
15474 * sysdeps/i386/fpu/libm-test-ulps: Update.
15475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15476
70d35b67
AS
154772012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15478
704bc459
AS
15479 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15480 xopen-msg.sed.
15481 * catgets/xopen-msg.awk: New file.
15482 * catgets/xopen-msg.sed: Removed.
15483
70d35b67
AS
15484 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15485 po2text.sed.
15486 * intl/po2test.awk: New file.
15487 * intl/po2test.sed: Removed.
15488
ca61cf32
JM
154892012-07-04 Joseph Myers <joseph@codesourcery.com>
15490
15491 [BZ #14328]
15492 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15493 or multiply small sinh result by itself.
15494 * math/s_ctanf.c (__ctanf): Likewise.
15495 * math/s_ctanh.c (__ctanh): Likewise.
15496 * math/s_ctanhf.c (__ctanhf): Likewise.
15497 * math/s_ctanhl.c (__ctanhl): Likewise.
15498 * math/s_ctanl.c (__ctanl): Likewise.
15499 * math/libm-test.inc (ctan_test_tonearest): New function.
15500 (ctan_test_towardzero): Likewise.
15501 (ctan_test_downward): Likewise.
15502 (ctan_test_upward): Likewise.
15503 (ctanh_test_tonearest): Likewise.
15504 (ctanh_test_towardzero): Likewise.
15505 (ctanh_test_downward): Likewise.
15506 (ctanh_test_upward): Likewise.
15507 (main): Call these new functions.
15508 * sysdeps/i386/fpu/libm-test-ulps: Update.
15509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15510
ca48a46a
MF
155112012-07-03 Mike Frysinger <vapier@gentoo.org>
15512
15513 * .gitignore: Delete /ports entry.
15514
9d63d37d
AJ
155152012-07-03 Andreas Jaeger <aj@suse.de>
15516
15517 * po/bg.po: Update from translation team.
15518 * po/cs.po: Likewise.
15519 * po/de.po: Likewise.
15520 * po/hr.po: Likewise.
15521 * po/nl.pl: Likewise.
15522 * po/pl.po: Likewise.
15523 * po/vi.po: Likewise.
15524
370ca3d2
JM
155252012-07-03 Joseph Myers <joseph@codesourcery.com>
15526
95f5a9a8
JM
15527 * Makeconfig [!+link] (+link-before-libc): New variable.
15528 [!+link] (+link-after-libc): Likewise.
15529 [!+link] (+link-tests): Likewise.
15530 [!+link] (+link): Define in terms of $(+link-before-libc) and
15531 $(+link-after-libc).
15532 [!+link-static] (+link-static-before-libc): New variable.
15533 [!+link-static] (+link-static-after-libc): Likewise.
15534 [!+link-static] (+link-static-tests): Likewise.
15535 [!+link-static] (+link-static): Define in terms of
15536 $(+link-static-before-libc) and $(+link-static-after-libc).
15537 [build-shared] (link-libc-before-gnulib): New variable.
15538 [build-shared] (link-libc-tests): Likewise.
15539 [build-shared] (link-libc): Define in terms of
15540 $(link-libc-before-gnulib).
15541 [!build-shared] (link-libc-tests): New variable.
15542 (link-libc-static-tests): New variable.
15543 [!gnulib] (gnulib-arch): New variable.
15544 [!gnulib] (gnulib-tests): Likewise.
15545 [!gnulib] (static-gnulib-arch): Likewise.
15546 [!gnulib] (static-gnulib-tests): Likewise.
15547 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15548 Define with "=" instead of ":=".
15549 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15550 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15551 * Rules (binaries-all-notests): New variable.
15552 (binaries-all-tests): Likewise.
15553 (binaries-static-notests): Likewise.
15554 (binaries-static-tests): Likewise.
15555 (binaries-all): Define using $(binaries-all-notests) and
15556 $(binaries-all-tests).
15557 (binaries-static): Define using $(binaries-static-notests) and
15558 $(binaries-static-tests).
15559 (binaries-shared-tests): New variable.
15560 (binaries-shared-notests): Likewise.
15561 (binaries-shared): Remove variable.
15562 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15563 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15564 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15565 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15566 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15567 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15568 * elf/Makefile (sln-modules): New variable.
15569 (extra-objs): Add $(sln-modules:=.o).
15570 (ldconfig-modules): Add static-stubs.
15571 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15572 * elf/static-stubs.c: New file.
15573
7a845b2c
JM
15574 [BZ #14283]
15575 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15576 by 7 not 8 to examine high bit of fractional part. Use volatile
15577 variables when splitting into final array of floats if
15578 __FLT_EVAL_METHOD__ != 0.
15579 * math/libm-test.inc (cos_test): Add another test.
15580 (sin_test): Likewise.
15581 * sysdeps/i386/fpu/libm-test-ulps: Update.
15582
e2283f38
JM
15583 [BZ #14273]
15584 * math/libm-test.inc (cosh_test): Add more tests.
15585
370ca3d2
JM
15586 * version.h (RELEASE): Set to "development".
15587 (VERSION): Set to "2.16.90".
15588
ee9247c3
CD
155892012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15590
15591 * NEWS: Update copyright. Remove last-updated date.
15592 Mention math library bug fixes and timezone data changes.
15593 * README: Mention GNU/Hurd, x32, and HPPA support status.
15594
4648c381
TS
155952012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15596
15597 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15598
aac78a43
AJ
155992012-06-27 Andreas Jaeger <aj@suse.de>
15600
15601 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15602
ed3dbfad
AJ
156032012-06-25 Andreas Jaeger <aj@suse.de>
15604
15605 * sysdeps/s390/fpu/libm-test-ulps: Update.
15606
4d0ee855
AS
156072012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15608 Thomas Schwinge <thomas@codesourcery.com>
15609
15610 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15611 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15612 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15613 fanotify_mark.
15614
af1bce34
TS
156152012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15616
a9fa33ba
TS
15617 * sysdeps/mach/start.c: Remove file.
15618 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15619 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15620 * sysdeps/sh/init-first.c: Likewise.
15621
58f902b8
TS
15622 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15623 registers for frame unwinding purposes, add CFI directives.
15624 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15625 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15626 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15627 Likewise.
15628
1518f58b
TS
15629 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15630 __fortify_fail returning.
15631 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15632
db9b5059
TS
15633 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15634 sysdeps/sh/____longjmp_chk.S.
15635 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15636 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15637 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15638 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15639
967705fe
TS
15640 * sysdeps/sh/abort-instr.h: New file.
15641 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15642 process in case exit returns.
15643
a9def8c4
TS
15644 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15645 initialize the GOT register before use.
15646
2a649725
TS
15647 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15648 calculation of ARGC > 4.
15649
af1bce34
TS
15650 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15651 meaningful names to some local labels.
15652
d230f50a
KK
156532012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15654 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15655
15656 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15657 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15658 (__arch_compare_and_exchange_val_16_acq): Likewise.
15659 (__arch_compare_and_exchange_val_32_acq): Likewise.
15660 (atomic_exchange_and_add): Fix gUSA sequence.
15661 (atomic_add): Likewise.
15662 (atomic_add_negative): Likewise.
15663 (atomic_add_zero): Likewise.
15664 (atomic_bit_test_set): Likewise.
15665
0479b305
AS
156662012-06-22 Andreas Schwab <schwab@redhat.com>
15667
15668 [BZ #13579]
15669 * include/link.h (struct link_map): Add l_free_initfini.
15670 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15671 l_initfini.
15672 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15673 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15674 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15675 set.
15676
0e3933b9
CD
156772012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15678
15679 * configure.in: Use AC_LANG_SOURCE.
15680 * configure: Regenerate.
15681
4248b1b1
RM
156822012-06-22 Roland McGrath <roland@hack.frob.com>
15683
15684 * configure.in (libc_cv_localstatedir): New substituted variable.
15685 * configure: Regenerated.
15686 * config.make.in (localstatedir): New variable, substituted from
15687 libc_cv_localstatedir.
15688 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15689 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15690 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15691 * sysdeps/gnu/configure: Regenerated.
15692
006dd861
JL
156932012-06-21 Jeff Law <law@redhat.com>
15694
15695 [BZ #14277]
15696 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15697 free. Simplify list management for _LIBC case.
15698
79662d42
JM
156992012-06-21 Joseph Myers <joseph@codesourcery.com>
15700
b7abb4bf
JM
15701 [BZ #14273]
15702 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15703 Clear sign bit of 64-bit integer value before comparing against
15704 overflow value.
15705
79662d42
JM
15706 * sysdeps/mach/configure: Regenerated.
15707
1f150908
L
157082012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15709
15710 [BZ #14278]
15711 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15712
28363bbf
JL
157132012-06-21 Jeff Law <law@redhat.com>
15714
15715 [BZ #13882]
15716 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15717 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15718 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15719 * elf/dl-open.c (dl_open_worker): Likewise.
15720
09615db4
CD
157212012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15722
15723 * scripts/list-sources.sh: Scan PORTS for translations.
15724 * po/libc.pot: Regenerated.
15725
2174c6dd
AJ
157262012-06-21 Andreas Jaeger <aj@suse.de>
15727
15728 [BZ #12194]
15729 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15730 warning.
15731 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15732 * bits/byteswap-16.h (__bswap_16): Likewise.
15733 * bits/byteswap.h (__bswap_constant_16): Likewise.
15734
3ee947b1
L
157352012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15736
15737 [BZ #14117]
a2f34833
L
15738 * sysdeps/i386/fpu_control.h: Removed.
15739 * sysdeps/x86_64/fpu_control.h: Moved to ...
15740 * sysdeps/x86/fpu_control.h: Here.
15741
3ee947b1
L
15742 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15743 (_FPU_SETCW): Likewise.
15744
ed1825f8
L
157452012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15746
25f1282a
L
15747 [BZ #14117]
15748 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15749 * sysdeps/x86/fpu/bits/mathinline.h: This.
15750 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15751
ed1825f8
L
15752 [BZ #14050]
15753 [BZ #14117]
15754 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15755 functions if __x86_64__ is defined.
15756
36d54b74
CLT
157572012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15758
15759 * string/endian.h: Add !__ASSEMBLER__ condition for including
15760 conversion interfaces.
15761
10285c21
JM
157622012-06-15 Joseph Myers <joseph@codesourcery.com>
15763
15764 [BZ #14241]
15765 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15766 of ABS(x) in calculating zero to negative powers other than odd
15767 integers.
15768 * math/libm-test.inc (pow_test): Add more tests.
15769
06c5abbd
AJ
157702012-06-15 Andreas Jaeger <aj@suse.de>
15771
15772 * manual/contrib.texi (Contributors): Update entry of Liubov
15773 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15774 Machado Filho.
15775
a3aeac40
CH
157762012-06-15 Cyril Hrubis <metan@ucw.cz>
15777
15778 * string/string.h: Add __wur to GNU version of strerror_r.
15779
49bdf4c1
L
157802012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15781
15782 [BZ #14229]
15783 * string/Makefile (tests): Add tst-strtok_r.
15784 * string/tst-strtok_r.c: New file.
15785 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15786 RAX_LP/RDX_LP on SAVE_PTR.
15787
834f9b8d
RM
157882012-06-14 Roland McGrath <roland@hack.frob.com>
15789
15790 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15791
75fa1921
JM
157922012-06-14 Joseph Myers <joseph@codesourcery.com>
15793
15794 * libm_test.inc (csqrt_test): Allow more spurious underflow
15795 exceptions.
15796 (j0_test): Likewise.
15797 (j1_test): Likewise.
15798 (y0_test): Likewise.
15799 (y1_test): Likewise.
15800
771766df
CD
158012012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15802
15803 * po/Makefile (libc.pot): Use UTF-8 charset.
15804
ceb9e56b
PP
158052012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15806
15807 [BZ #14210]
15808 Suppress sign-conversion warning from FD_SET.
15809 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15810 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15811 not unsigned long int.
15812 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15813
ddb28975
L
158142012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15815
15816 [BZ #14050]
15817 [BZ #14117]
15818 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15819 __extern_always_inline instead of __extern_inline.
15820 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15821 (__signbit): Likewise.
15822 (__signbitl): Support C++ namespace.
15823 (lrintf): New inline function.
15824 (lrint): Likewise.
15825 (llrintf): Likewise.
15826 (llrint): Likewise.
15827 (fmaxf): Likewise.
15828 (fmax): Likewise.
15829 (fminf): Likewise.
15830 (fmin): Likewise.
15831 (rint): Likewise.
15832 (rintf): Likewise.
15833 (ceil): Likewise.
15834 (ceilf): Likewise.
15835 (floor): Likewise.
15836 (floorf): Likewise.
15837 (nearbyint): Likewise.
15838 (nearbyintf): Likewise.
15839
d7b4fb26
TS
158402012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15841
15842 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15843 non-default versions.
15844
eb55f5c2
RM
158452012-06-11 Roland McGrath <roland@hack.frob.com>
15846
15847 [BZ #14218]
15848 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15849
366af02c
TS
158502012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15851
99ff6e5c
TS
15852 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15853 (FE_UPWARD, FE_DOWNWARD): Don't define.
15854 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15855 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15856
366af02c
TS
15857 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15858 reading it.
15859 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15860 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15861
793ea851
KK
158622012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15863
15864 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15865 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15866 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15867 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15868
a728a38f
L
158692012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15870
15871 [BZ #14117]
c08010c7
L
15872 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15873 * sysdeps/i386/fpu/Implies: New file.
15874 * sysdeps/x86_64/fpu/Implies: Likewise.
15875 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15876 * sysdeps/x86/fpu/bits/fenv.h: This.
15877
a728a38f
L
15878 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15879 __SSE_MATH__.
15880
6e230d11
SP
158812012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15882
15883 [BZ #14134]
15884 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15885 character 0xffff that matches the last element of the
15886 conversion table.
15887
1b671feb
AZ
158882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15889
15890 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15891 fmodl commit.
15892
6043738b
AZ
158932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15894
15895 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15896 values higher than 25.6283.
15897
34ae0b32
AZ
158982012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15899
15900 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15901 subnormal exponent extraction and add some __builtin_expect.
15902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15903 Fix for subnormal mantissa calculation.
15904
1214ec8f
MF
159052012-06-04 Mike Frysinger <vapier@gentoo.org>
15906
15907 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15908 cpu2 is -1 and errno is not ENOSYS.
15909
f3d1f93c
L
159102012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15911
15912 [BZ #14117]
0e4a3cd7
L
15913 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15914 * sysdeps/x86/bits/string.h: This.
15915 * sysdeps/x86_64/bits/string.h: Removed.
15916
6704c645
L
15917 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15918 if not compiling for x86-64, but compiling for >= i486.
15919
48495318
L
15920 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15921 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15922
14adcbfc
L
15923 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15924 New macro from Linux kernel 3.4.0.
15925 (FP_XSTATE_MAGIC2): Likewise.
15926 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15927 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15928 (struct _fpx_sw_bytes): New struct.
15929 (struct _xsave_hdr): Likewise.
15930 (struct _ymmh_state): Likewise.
15931 (struct _xstate): Likewise.
15932
68e408ab
L
15933 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15934 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15935 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15936 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15937 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15938 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15939
f3d1f93c
L
15940 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15941 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15942 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15943 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15944 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15945 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15946
d9dc34cd
TMQMF
159472012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15948
15949 [BZ #13743]
15950 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15951 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15952 (sysdep_headers): Include sys/platform/ppc.h.
15953 * sysdeps/powerpc/test-gettimebase.c: Test for
15954 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15955 * manual/Makefile (appendices): Include platform.texi.
15956 * manual/contrib.texi (Contributors): Update @node pointers.
15957 * manual/maint.texi (Maintenance): Likewise.
15958 (Platform): New node.
15959 * manual/platform.texi: New file. Document the new features.
15960
4af3879c
SP
159612012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15962 Jakub Jelinek <jakub@redhat.com>
15963
15964 [BZ #14188]
15965 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15966 where __builtin_expect is unavailable.
15967
2fd6ff13
DM
159682012-06-03 David S. Miller <davem@davemloft.net>
15969
15970 * stdlib/longlong.h: Updated from GCC.
15971
173f7220
AS
159722012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15973
15974 [BZ #14042]
15975 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15976 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15977 __mcount_internal.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15979 (GLIBC_2.16): Likewise.
15980
f34a1c6f
L
159812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15982
15983 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15984
88a4576f
JM
159852012-06-01 Joseph Myers <joseph@codesourcery.com>
15986
ea32bcdd
JM
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15988 (default-abi): New variable.
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15990 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15991 variable.
15992 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15993 Likewise.
15994 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15995 Likewise.
15996 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15997 Likewise.
15998
88a4576f
JM
15999 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16000 definition. Document in comment.
16001
402fe938
DM
160022012-06-01 David S. Miller <davem@davemloft.net>
16003
16004 * stdlib/longlong.h: Updated from GCC.
16005
3553723f
L
160062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16007
16008 [BZ #14117]
3bd872c4
L
16009 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16010 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16011 sys/debugreg.h sys/io.h here.
16012 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16013 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16014 sys/io.h.
16015 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16016 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16017 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16018 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16019 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16020 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16021
3553723f
L
16022 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16023 Define only if __x86_64__ is defined.
16024
4842e4fe
JM
160252012-06-01 Joseph Myers <joseph@codesourcery.com>
16026
c5bfe3d5
JM
16027 [BZ #14048]
16028 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16029 Use int64_t for variable i.
16030 * math/libm-test.inc (fmod_test): Add more tests.
16031
4842e4fe
JM
16032 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16033 z computation is not scheduled after fetestexcept.
16034 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16035 Use math_force_eval instead of asm to ensure calculation scheduled
16036 before exception test.
16037 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16038 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16039
efb73488
AJ
160402012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16041
16042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16043 computation is not scheduled after fetestexcept.
16044
29bcce7c
L
160452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16046
16047 [BZ #14117]
16048 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16049 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16050
73a68f94
AZ
160512012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16052
16053 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16054 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16055
67b6df78
L
160562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16057
edf2933a 16058 [BZ #14117]
ebc64a18
L
16059 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16060 <bits/wordsize.h>.
16061 (__WCHAR_MIN): Support __WORDSIZE == 64.
16062 (__WCHAR_MAX): Likewise.
16063
edf2933a
L
16064 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16065 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16066
57c6cf40
L
16067 [BZ #14183]
16068 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16069 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16070
67b6df78 16071 [BZ #14117]
8eb6281e
L
16072 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16073 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16074
aac639f4
L
16075 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16076 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16077
67b6df78
L
16078 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16079 Defined to 1 if __x86_64__ isn't defined.
16080 (_STAT_VER_LINUX_OLD): New.
16081 (st_atime): Remove duplicate.
16082 (st_mtime): Likewise.
16083 (st_ctime): Likewise.
16084
1c2cfe81
DM
160852012-05-31 David S. Miller <davem@davemloft.net>
16086
16087 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16088 entries.
16089
5be8418c
AS
160902012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16091
e7725326
AS
16092 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16093 gen-libm-test.pl.
16094
5be8418c
AS
16095 [BZ #14132]
16096 * elf/dl-reloc.c: Include <_itoa.h>.
16097 (_dl_reloc_bad_type): Remove use of INTUSE.
16098 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16099 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16100 * stdio-common/psiginfo.c (psiginfo): Likewise.
16101 * stdio-common/psignal.c (psignal): Likewise.
16102 * string/strsignal.c (strsignal): Likewise.
16103 * include/signal.h (_sys_siglist): Declare hidden proto.
16104 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16105 INTVARDEF with libc_hidden_data_def.
16106 * stdio-common/itoa-udigits.c: Likewise.
16107 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16108 (_itoa_lower_digits_internal): Remove declaration.
16109 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16110 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16111 (_sys_sigabbrev_internal): Remove aliases.
16112 (_sys_siglist): Define hidden alias.
16113
507352f1
MT
161142012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16115
16116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16117 bits/sysctl.h.
16118
42bbb1c3
L
161192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16120
16121 [BZ #14117]
6bd784b6
L
16122 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16123 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16124
8bca20f0
L
16125 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16126 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16127 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16128 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16130 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16131
f9e890a9
L
16132 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16133 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16134 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16135
471101a1
L
16136 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16137 with __addr.
16138 (insw): Likewise.
16139 (insl): Likewise.
16140 (outsb): Likewise.
16141 (outsw): Likewise.
16142 (outsl): Likewise.
16143
6451c862
L
16144 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16145 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16146 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16147
a254b8c9
L
16148 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16149 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16150 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16151 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16152 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16153 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16154
b8dfdd92
L
16155 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16156 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16157
578cd270
L
16158 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16159 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16160
de662f5f
L
16161 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16163 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16164
25653439
L
16165 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16166 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16167 to ...
16168 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16169
6bad24a0
L
16170 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16171 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16172 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16173
42bbb1c3
L
16174 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16175 for x86-64.
16176 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16177
2d10d547
JM
161782012-05-31 Joseph Myers <joseph@codesourcery.com>
16179
16180 * math/math.h (M_El): Use two more decimal places.
16181 (M_LOG2El): Likewise.
16182 (M_LOG10El): Likewise.
16183 (M_LN2l): Likewise.
16184 (M_LN10l): Likewise.
16185 (M_PIl): Likewise.
16186 (M_PI_2l): Likewise.
16187 (M_PI_4l): Likewise.
16188 (M_1_PIl): Likewise.
16189 (M_2_PIl): Likewise.
16190 (M_2_SQRTPIl): Likewise.
16191 (M_SQRT2l): Likewise.
16192 (M_SQRT1_2l): Likewise.
16193
f230c29b
DM
161942012-05-31 David S. Miller <davem@davemloft.net>
16195
16196 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16197 values between float registers.
16198 * sysdeps/sparc/sparc64/memset.S: Likewise.
16199 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16200
fed806c3
MF
162012012-05-31 Mike Frysinger <vapier@gentoo.org>
16202
16203 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16204 -D_FORTIFY_SOURCE=1.
16205 (CPPFLAGS-tst-longjmp_chk.c): Define.
16206 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16207 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16208 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16209 CFLAGS-tst-wchar-h.c.
16210
30917259
MP
162112012-05-31 Marek Polacek <polacek@redhat.com>
16212
16213 [BZ #14132]
16214 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16215 __endmntent_internal): Remove declaration.
16216 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16217 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16218 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16219
1c58d5dc
DM
162202012-05-30 David S. Miller <davem@davemloft.net>
16221
16222 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16223 (___Q_simulate_exceptions): Use real FP ops rather than writing
16224 into the %fsr.
16225 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16226 Likewise.
16227
7dc00e0d
L
162282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16229
16230 [BZ #14117]
0bd53985
L
16231 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16232 * sysdeps/x86/bits/xtitypes.h: This.
16233
3a257e66
L
16234 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16235 * sysdeps/x86/bits/wordsize.h: This.
16236
62f62904
L
16237 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16238 * sysdeps/x86/bits/huge_vall.h: This.
16239
404fe9d9
L
16240 * sysdeps/i386/bits/select.h: Removed.
16241 * sysdeps/x86_64/bits/select.h: Renamed to ...
16242 * sysdeps/x86/bits/select.h: This.
16243
d48d0446
L
16244 * sysdeps/i386/bits/setjmp.h: Removed.
16245 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16246 * sysdeps/x86/bits/setjmp.h: This.
16247
7dc00e0d
L
16248 * sysdeps/i386/bits/mathdef.h: Removed.
16249 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16250 * sysdeps/x86/bits/mathdef.h: This.
16251
03277f8f
AS
162522012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16253
16254 [BZ #14132]
16255 * include/sys/socket.h (__connect_internal)
16256 (__libc_sa_len_internal): Remove declaration.
16257 (__connect, __libc_sa_len): Declare hidden_proto.
16258 (SA_LEN): Remove use of INTUSE.
16259 * socket/connect.c: Add libc_hidden_def.
16260 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16261 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16262 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16263 alias.
16264 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16265 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16266 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16267 of adding _internal alias.
16268
13764867
L
162692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16270
16271 [BZ #14117]
6bd97696
L
16272 * sysdeps/i386/bits/link.h: Removed.
16273 * sysdeps/i386/bits/linkmap.h: Likewise.
16274 * sysdeps/x86_64/bits/link.h: Renamed to ...
16275 * sysdeps/x86/bits/link.h: This.
16276 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16277 * sysdeps/x86/bits/linkmap.h: This.
16278
f726f0bb
L
16279 * sysdeps/i386/bits/endian.h: Removed.
16280 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16281 * sysdeps/x86/bits/endian.h: This.
16282
13764867
L
16283 * sysdeps/i386/bits/byteswap.h: Removed.
16284 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16285 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16286 * sysdeps/x86/bits/byteswap.h: This.
16287 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16288 * sysdeps/x86/bits/byteswap-16.h: This.
16289 * sysdeps/i386/Implies: Add x86.
16290 * sysdeps/x86_64/Implies: Likewise.
16291
ae251b0b
DM
162922012-05-30 David S. Miller <davem@davemloft.net>
16293
16294 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16295 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16296 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16297 (FP_TRAPPING_EXCEPTIONS): Define.
16298 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16299 (FP_TRAPPING_EXCEPTIONS): Define.
16300 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16301 subnormals only when inexact has been signalled or underflow
16302 exceptions are enabled.
16303 (_FP_PACK_CANONICAL): Likewise.
16304
d5c90867
L
163052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16306
16307 [BZ #14183]
16308 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16309 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16310
63f1549e
RH
163112012-05-30 Richard Henderson <rth@twiddle.net>
16312
8d8f2279
RH
16313 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16314 with #ifndef NOT_IN_libc.
16315
63f1549e
RH
16316 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16317 marked to avoid plt entry.
16318
0ab0291b
L
163192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16320
16321 [BZ #14112]
16322 * Makeconfig (default-abi): New macro.
16323 (abi-includes): Likewise.
16324 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16325 $(abi-$(default-abi)-lib-soname) for soname if defined.
16326 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16327 abi-variants.
16328 * Makefile (installed-stubs): Likewise.
16329 * include/stubs-biarch.h: Removed.
16330 * scripts/lib-names.awk: Only handle one library at a time.
16331 * scripts/soversions.awk: Remove WORDSIZE support.
16332 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16333 entries.
16334 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16335 Removed.
16336 (syscall-list-default-condition): Likewise.
16337 (syscall-list-default-condition): Likewise.
16338 (syscall-list-includes): Likewise.
16339 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16340 syscall-list-* with abi-*. Handle undefined abi-variants.
16341 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16342 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16343 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16344 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16345 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16346 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16347 Removed.
16348 (syscall-list-32-options): Likewise.
16349 (syscall-list-32-condition): Likewise.
16350 (syscall-list-64-options): Likewise.
16351 (syscall-list-64-condition): Likewise.
16352 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16353 macro.
16354 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16355 Renamed to ...
16356 (abi-*): This.
16357 (abi-64-ld-soname): New macro.
16358 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16359 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16360 Renamed to ...
16361 (abi-*): This.
16362 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16363 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16364
4da0431d
JM
163652012-05-30 Joseph Myers <joseph@codesourcery.com>
16366
3a85279c
JM
16367 * sysdeps/unix/sysv/linux/kernel-features.h
16368 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16369 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16370 include <kernel-features.h>.
16371 [!__NR_ftruncate64]: Remove conditional code.
16372 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16373 [__NR_ftruncate64]: Make code unconditional.
16374 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16375 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16376 include <kernel-features.h>.
16377 [!__NR_ftruncate64]: Remove conditional code.
16378 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16379 [__NR_ftruncate64]: Make code unconditional.
16380 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16382 include <kernel-features.h>.
16383 [!__NR_ftruncate64]: Remove conditional code.
16384 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16385 [__NR_ftruncate64]: Make code unconditional.
16386 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16388 include <kernel-features.h>.
16389 [!__NR_ftruncate64]: Remove conditional code.
16390 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16391 [__NR_ftruncate64]: Make code unconditional.
16392 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16393
4da0431d
JM
16394 * configure.in (libc_cv_fpie): Weaken to a compile test using
16395 LIBC_TRY_CC_OPTION.
16396 * configure: Regenerated.
16397
11ef492c
AK
163982012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16399
16400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16404 Refreshed.
16405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16411 Refreshed.
16412
d66ef399
DM
164132012-05-27 David S. Miller <davem@davemloft.net>
16414
16415 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16416 (___Q_zero): New.
16417 (__Q_simulate_exceptions): Return void. Change to simulate
16418 exceptions by writing into the %fsr.
16419 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16420 (__Qp_handle_exceptions): Likewise.
16421 (numbers): Delete.
16422 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16423 __Qp_handle_exceptions.
16424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16425 __Qp_handle_exceptions.
16426 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16427 as unused and give dummy FP_RND_NEAREST initializer.
16428 (FP_INHIBIT_RESULTS): Define.
16429 (___Q_simulate_exceptions): Update declaration.
16430 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16431 formatting.
16432 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16433 as unused and give dummy FP_RND_NEAREST initializer.
16434 (__Qp_handle_exceptions): Update declaration.
16435 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16436 formatting.
16437
04fb54b5
TS
164382012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16439
16440 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16441 the temporary FPU control word.
16442 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16443 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16444 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16445 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16446 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16447 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16448 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16449 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16450 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16451 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16452 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16453
3f99608f
KK
164542012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16455
16456 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16457 fields.
16458
65a4de4e
CLT
164592012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16460
16461 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16462 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16463 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16464 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16465 Likewise.
16466 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16467 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16468 Likewise.
16469
15749d40
UD
164702012-05-27 Ulrich Drepper <drepper@gmail.com>
16471
16472 * po/h.po: Update from translation team.
16473
25dbcb27
AS
164742012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16475
3d3f8e55
AS
16476 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16477
25dbcb27
AS
16478 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16479 handling of denormals.
16480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16481 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16482 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16483 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16484 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16487 Likewise.
16488
7ad47a80 164892012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16490
16491 [BZ #14152]
16492 * math/libm-test.inc (fma_test): Don't always expect underflow
16493 exception.
16494
9c6ea9fa
SP
164952012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16496
16497 [BZ #12416]
16498 * elf/tst-execstack.c: Include stackinfo.h.
16499 (do_test): Adjust test case to ensure that pthread_getattr_np
16500 behaviour remains the same after marking stack executable.
16501
a8239222
JM
165022012-05-25 Joseph Myers <joseph@codesourcery.com>
16503
16504 * sysdeps/unix/sysv/linux/kernel-features.h
16505 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16506 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16507 kernel-features.h.
16508 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16509 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16510 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16511 kernel-features.h.
16512 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16513 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16514
918b5606
L
165152012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16516
16517 * configure.in: Define the default includes to being none.
16518 * configure: Regenerated.
16519
3a097cc7
RM
165202012-05-25 Roland McGrath <roland@hack.frob.com>
16521
8422c9a5
RM
16522 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16523 * sysdeps/x86_64/setjmp.S: Likewise.
16524 * sysdeps/i386/bsd-setjmp.S: Likewise.
16525 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16526 * sysdeps/i386/setjmp.S: Likewise.
16527 * sysdeps/i386/__longjmp.S: Likewise.
16528 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16529 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16530
3a097cc7
RM
16531 * include/stap-probe.h: New file.
16532 * configure.in: Handle --enable-systemtap.
16533 * configure: Regenerated.
16534 * config.h.in (USE_STAP_PROBE): New #undef.
16535 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16536 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16537 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16538
21708942
JM
165392012-05-25 Joseph Myers <joseph@codesourcery.com>
16540
16541 [BZ #13717]
16542 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16543 to 2.4.0 where earlier.
16544 * sysdeps/unix/sysv/linux/configure: Regenerated.
16545 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
16554 [__ASSUME_32BITUIDS]: Make code unconditional.
16555 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16556 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16557 <kernel-features.h>.
16558 [__ASSUME_32BITUIDS]: Make code unconditional.
16559 [!__ASSUME_32BITUIDS]: Remove conditional code.
16560 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16561 <kernel-features.h>.
16562 [__ASSUME_32BITUIDS]: Make code unconditional.
16563 [!__ASSUME_32BITUIDS]: Remove conditional code.
16564 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16565 <kernel-features.h>.
16566 [__ASSUME_32BITUIDS]: Make code unconditional.
16567 [!__ASSUME_32BITUIDS]: Remove conditional code.
16568 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16569 <kernel-features.h>.
16570 [__ASSUME_32BITUIDS]: Make code unconditional.
16571 [!__ASSUME_32BITUIDS]: Remove conditional code.
16572 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16573 <kernel-features.h>.
16574 [__ASSUME_32BITUIDS]: Make code unconditional.
16575 [!__ASSUME_32BITUIDS]: Remove conditional code.
16576 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16577 <kernel-features.h>.
16578 [__ASSUME_32BITUIDS]: Make code unconditional.
16579 [!__ASSUME_32BITUIDS]: Remove conditional code.
16580 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16581 <kernel-features.h>.
16582 [__ASSUME_32BITUIDS]: Make code unconditional.
16583 [!__ASSUME_32BITUIDS]: Remove conditional code.
16584 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16585 <kernel-features.h>.
16586 [__ASSUME_32BITUIDS]: Make code unconditional.
16587 [!__ASSUME_32BITUIDS]: Remove conditional code.
16588 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16589 <kernel-features.h>.
16590 [__ASSUME_32BITUIDS]: Make code unconditional.
16591 [!__ASSUME_32BITUIDS]: Remove conditional code.
16592 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16593 <kernel-features.h>.
16594 [__ASSUME_32BITUIDS]: Make code unconditional.
16595 [!__ASSUME_32BITUIDS]: Remove conditional code.
16596 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16597 <kernel-features.h>.
16598 [__NR_setresgid] (__setresgid): Do not declare.
16599 [__ASSUME_32BITUIDS]: Make code unconditional.
16600 [!__ASSUME_32BITUIDS]: Remove conditional code.
16601 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16602 <kernel-features.h>.
16603 [__NR_setresuid] (__setresuid): Do not declare.
16604 [__ASSUME_32BITUIDS]: Make code unconditional.
16605 [!__ASSUME_32BITUIDS]: Remove conditional code.
16606 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16607 <kernel-features.h>.
16608 [__ASSUME_32BITUIDS]: Make code unconditional.
16609 [!__ASSUME_32BITUIDS]: Remove conditional code.
16610 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16611 <kernel-features.h>.
16612 [__ASSUME_32BITUIDS]: Make code unconditional.
16613 [!__ASSUME_32BITUIDS]: Remove conditional code.
16614 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16615 <kernel-features.h>.
16616 [__ASSUME_32BITUIDS]: Make code unconditional.
16617 [!__ASSUME_32BITUIDS]: Remove conditional code.
16618 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16619 <kernel-features.h>.
16620 [__ASSUME_32BITUIDS]: Make code unconditional.
16621 [!__ASSUME_32BITUIDS]: Remove conditional code.
16622 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16623 <kernel-features.h>.
16624 [__ASSUME_32BITUIDS]: Make code unconditional.
16625 [!__ASSUME_32BITUIDS]: Remove conditional code.
16626 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16627 <kernel-features.h>.
16628 [__ASSUME_32BITUIDS]: Make code unconditional.
16629 [!__ASSUME_32BITUIDS]: Remove conditional code.
16630 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16631 <kernel-features.h>.
16632 [__ASSUME_32BITUIDS]: Make code unconditional.
16633 [!__ASSUME_32BITUIDS]: Remove conditional code.
16634 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16635 <kernel-features.h>.
16636 [__ASSUME_32BITUIDS]: Make code unconditional.
16637 [!__ASSUME_32BITUIDS]: Remove conditional code.
16638 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16639 <kernel-features.h>.
16640 [__ASSUME_32BITUIDS]: Make code unconditional.
16641 [!__ASSUME_32BITUIDS]: Remove conditional code.
16642 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16643 <kernel-features.h>.
16644 [__ASSUME_32BITUIDS]: Make code unconditional.
16645 [!__ASSUME_32BITUIDS]: Remove conditional code.
16646 * sysdeps/unix/sysv/linux/kernel-features.h
16647 (__ASSUME_SETRESUID_SYSCALL): Remove.
16648 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16649 (__ASSUME_32BITUIDS): Likewise.
16650 (__ASSUME_LDT_WORKS): Likewise.
16651 (__ASSUME_O_DIRECTORY): Likewise.
16652 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16653 architecture but not kernel version.
16654 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16655 (__ASSUME_MMAP2_SYSCALL): Likewise.
16656 (__ASSUME_STAT64_SYSCALL): Likewise.
16657 (__ASSUME_IPC64): Likewise.
16658 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16659 <kernel-features.h>.
16660 [__ASSUME_32BITUIDS]: Make code unconditional.
16661 [!__ASSUME_32BITUIDS]: Remove conditional code.
16662 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16663 <kernel-features.h>.
16664 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16665 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16666 132096]: Remove conditional code.
16667 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16668 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16669 <kernel-features.h>.
16670 [__ASSUME_32BITUIDS]: Make code unconditional.
16671 [!__ASSUME_32BITUIDS]: Remove conditional code.
16672 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16673 <kernel-features.h>.
16674 [__ASSUME_32BITUIDS]: Make code unconditional.
16675 [!__ASSUME_32BITUIDS]: Remove conditional code.
16676 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16677 <kernel-features.h>.
16678 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16679 unconditional.
16680 (__setresgid): Do not declare.
16681 [__ASSUME_32BITUIDS]: Make code unconditional.
16682 [!__ASSUME_32BITUIDS]: Remove conditional code.
16683 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16684 <kernel-features.h>.
16685 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16686 unconditional.
16687 (__setresuid): Do not declare.
16688 [__ASSUME_32BITUIDS]: Make code unconditional.
16689 [!__ASSUME_32BITUIDS]: Remove conditional code.
16690 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16691 <kernel-features.h>.
16692 [__ASSUME_32BITUIDS]: Make code unconditional.
16693 [!__ASSUME_32BITUIDS]: Remove conditional code.
16694 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16695 <kernel-features.h>.
16696 [__ASSUME_32BITUIDS]: Make code unconditional.
16697 [!__ASSUME_32BITUIDS]: Remove conditional code.
16698
a386f1cc
RH
166992012-05-25 Richard Henderson <rth@twiddle.net>
16700
16701 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16702 dl_hwcap to ifunc resolver.
16703 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16704 elf_ifunc_invoke.
16705 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16706 dl_hwcap to ifunc resolver.
16707 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16708
b6550497
JM
167092012-05-24 Joseph Myers <joseph@codesourcery.com>
16710
16711 [BZ #14153]
16712 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16713 for |x| <= 2**-26, not 2**-57.
16714 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16715 exception.
16716
b0bc23a1
JL
167172012-05-24 Jeff Law <law@redhat.com>
16718
16719 * stdio-common/Makefile (tests): Add bug25.
16720 * stdio-common/bug25.c: New test.
16721
347c92e9
L
167222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16723
16724 [BZ #13576]
16725 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16726 multiple of MALLOC_ALIGNMENT in size.
16727 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16728
6bcc8b3f
JM
167292012-05-24 Joseph Myers <joseph@codesourcery.com>
16730
16731 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16732 Require >= 256.
16733 (FILENAME_MAX): Use macro-int-constant.
16734 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16735 (_IOFBF): Use macro-int-constant.
16736 (_IOLBF): Likewise.
16737 (_IONBF): Likewise.
16738 (SEEK_CUR): Likewise.
16739 (SEEK_END): Likewise.
16740 (SEEK_SET): Likewise.
16741 (TMP_MAX): Likewise.
16742 (EOF): Use macro-int-constant. Require < 0.
16743 (NULL): Use macro-constant. Require == 0.
16744 (stdin): Require type to be FILE *.
16745 (stdout): Likewise.
16746 (stderr): Likewise.
16747 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16748 macro-int-constant.
16749 (EXIT_SUCCESS): Likewise.
16750 (NULL): Use macro-constant. Require == 0.
16751 (RAND_MAX): Use macro-int-constant.
16752 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16753 [C99-based standards] (strtof): Require function.
16754 [C99-based standards] (strtold): Likewise.
16755 [C99-based standards] (strtoll): Likewise.
16756 [C99-based standards] (strtoull): Likewise.
16757 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16758 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16759 [ISO || ISO99 || ISO11] (math.h): Likewise.
16760 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16761 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16762 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16763
d18ea0c5
AS
167642012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16765
16766 [BZ #14132]
56d25bb8
AS
16767 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16768 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16769 * intl/dgettext.c (DCGETTEXT): Likewise.
16770 * intl/gettext.c (DCGETTEXT): Likewise.
16771 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16772 * posix/regex_internal.h (gettext): Likewise.
16773 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16774 Remove declaration.
16775 * include/argz.h (__argz_count_internal)
16776 (__argz_stringify_internal): Remove declaration.
16777 (__argz_count, __argz_stringify): Declare hidden proto.
16778 * intl/dcgettext.c: Remove use of INTDEF.
16779 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16780 * string/argz-stringify.c: Likewise.
16781 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16782 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16783 Declare hidden proto.
d18ea0c5
AS
16784 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16785 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16786 Declare hidden proto.
16787 * include/stdio.h (__asprintf_internal): Don't declare.
16788 (__asprintf): Don't define as macro. Declare hidden proto.
16789 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16790 (__fsetlocking): Declare hidden proto.
16791 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16792 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16793 hidden proto.
16794 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16795 (_IO_setlinebuf): Remove use of INTUSE.
16796 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16797 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16798 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16799 Remove declaration.
16800 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16801 (_IO_do_flush): Remove use of INTUSE.
16802 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16803 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16804 (_IO_adjust_column, _IO_least_wmarker)
16805 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16806 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16807 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16808 (_IO_default_doallocate, _IO_wdefault_doallocate)
16809 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16810 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16811 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16812 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16813 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16814 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16815 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16816 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16817 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16818 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16819 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16820 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16821 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16822 proto.
16823 (_IO_flush_all_internal, _IO_adjust_column_internal)
16824 (_IO_default_uflow_internal, _IO_default_finish_internal)
16825 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16826 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16827 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16828 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16829 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16830 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16831 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16832 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16833 (_IO_file_close_internal, _IO_file_close_it_internal)
16834 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16835 (_IO_file_init_internal, _IO_file_attach_internal)
16836 (_IO_file_fopen_internal, _IO_file_read_internal)
16837 (_IO_file_sync_internal, _IO_file_seek_internal)
16838 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16839 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16840 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16841 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16842 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16843 (_IO_list_all_internal, _IO_link_in_internal)
16844 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16845 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16846 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16847 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16848 (_IO_do_write_internal, _IO_padn_internal)
16849 (_IO_getline_info_internal, _IO_getline_internal)
16850 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16851 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16852 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16853 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16854 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16855 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16856 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16857 with libc_hidden_ver, remove use of INTUSE.
16858 * libio/genops.c: Likewise.
16859 * libio/freopen.c: Likewise.
16860 * libio/freopen64.c: Likewise.
16861 * libio/iofclose.c: Likewise.
16862 * libio/iofdopen.c: Likewise.
16863 * libio/iofflush.c: Likewise.
16864 * libio/iofflush_u.c: Likewise.
16865 * libio/iofgets.c: Likewise.
16866 * libio/iofgets_u.c: Likewise.
16867 * libio/iofopen.c: Likewise.
16868 * libio/iofopncook.c: Likewise.
16869 * libio/iofread.c: Likewise.
16870 * libio/iofread_u.c: Likewise.
16871 * libio/ioftell.c: Likewise.
16872 * libio/iofwrite.c: Likewise.
16873 * libio/iogetline.c: Likewise.
16874 * libio/iogets.c: Likewise.
16875 * libio/iogetwline.c: Likewise.
16876 * libio/iopadn.c: Likewise.
16877 * libio/iopopen.c: Likewise.
16878 * libio/ioseekoff.c: Likewise.
16879 * libio/ioseekpos.c: Likewise.
16880 * libio/iosetbuffer.c: Likewise.
16881 * libio/iosetvbuf.c: Likewise.
16882 * libio/ioungetc.c: Likewise.
16883 * libio/ioungetwc.c: Likewise.
16884 * libio/iovdprintf.c: Likewise.
16885 * libio/iovsprintf.c: Likewise.
16886 * libio/iovsscanf.c: Likewise.
16887 * libio/memstream.c: Likewise.
16888 * libio/obprintf.c: Likewise.
16889 * libio/oldfileops.c: Likewise.
16890 * libio/oldiofclose.c: Likewise.
16891 * libio/oldiofdopen.c: Likewise.
16892 * libio/oldiofopen.c: Likewise.
16893 * libio/oldiopopen.c: Likewise.
16894 * libio/oldstdfiles.c: Likewise.
16895 * libio/putc.c: Likewise.
16896 * libio/setbuf.c: Likewise.
16897 * libio/setlinebuf.c: Likewise.
16898 * libio/stdfiles.c: Likewise.
16899 * libio/strops.c: Likewise.
16900 * libio/vasprintf.c: Likewise.
16901 * libio/vscanf.c: Likewise.
16902 * libio/vsnprintf.c: Likewise.
16903 * libio/vswprintf.c: Likewise.
16904 * libio/wfiledoalloc.c: Likewise.
16905 * libio/wfileops.c: Likewise.
16906 * libio/wgenops.c: Likewise.
16907 * libio/wmemstream.c: Likewise.
16908 * libio/wstrops.c: Likewise.
16909 * libio/__fpurge.c: Likewise.
16910 * libio/__fsetlocking.c: Likewise.
16911 * assert/assert.c: Likewise.
16912 * debug/fgets_chk.c: Likewise.
16913 * debug/fgets_u_chk.c: Likewise.
16914 * debug/fread_chk.c: Likewise.
16915 * debug/fread_u_chk.c: Likewise.
16916 * debug/gets_chk.c: Likewise.
16917 * debug/obprintf_chk.c: Likewise.
16918 * debug/vasprintf_chk.c: Likewise.
16919 * debug/vdprintf_chk.c: Likewise.
16920 * debug/vsnprintf_chk.c: Likewise.
16921 * debug/vsprintf_chk.c: Likewise.
16922 * malloc/mtrace.c: Likewise.
16923 * misc/error.c: Likewise.
16924 * misc/syslog.c: Likewise.
16925 * stdio-common/asprintf.c: Likewise.
16926 * stdio-common/fxprintf.c: Likewise.
16927 * stdio-common/getw.c: Likewise.
16928 * stdio-common/isoc99_fscanf.c: Likewise.
16929 * stdio-common/isoc99_scanf.c: Likewise.
16930 * stdio-common/isoc99_vfscanf.c: Likewise.
16931 * stdio-common/isoc99_vscanf.c: Likewise.
16932 * stdio-common/isoc99_vsscanf.c: Likewise.
16933 * stdio-common/printf-prs.c: Likewise.
16934 * stdio-common/printf_fp.c: Likewise.
16935 * stdio-common/printf_fphex.c: Likewise.
16936 * stdio-common/printf_size.c: Likewise.
16937 * stdio-common/putw.c: Likewise.
16938 * stdio-common/scanf.c: Likewise.
16939 * stdio-common/sprintf.c: Likewise.
16940 * stdio-common/tmpfile.c: Likewise.
16941 * stdio-common/vfprintf.c: Likewise.
16942 * stdio-common/vfscanf.c: Likewise.
16943 * stdlib/strfmon_l.c: Likewise.
16944 * sunrpc/openchild.c: Likewise.
16945 * sunrpc/xdr_stdio.c: Likewise.
16946 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16947 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16948
d6c33fda
RM
169492012-05-24 Roland McGrath <roland@hack.frob.com>
16950
c1487492
RM
16951 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16952
16953 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16954 in the third column, to generate for the shared library an IFUNC
16955 that uses _dl_vdso_vsym.
16956 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16957 * Makeconfig (object-suffixes-noshared): New variable.
16958
16959 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16960 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16961 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16962 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16963
d6c33fda
RM
16964 [BZ #14132]
16965 * include/sys/time.h (__gettimeofday): Remove macro.
16966 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16967 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16968 Remove INTDEF.
16969 (__gettimeofday): Add libc_hidden_def.
16970 (gettimeofday): Add libc_hidden_weak.
16971 * sysdeps/mach/gettimeofday.c: Likewise.
16972 * sysdeps/posix/gettimeofday.c: Likewise.
16973 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16974 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16975 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16976 (__gettimeofday_internal): Remove strong_alias.
16977 (__gettimeofday): Add libc_hidden_def.
16978 (gettimeofday): Add libc_hidden_weak.
16979 * sysdeps/unix/syscalls.list (gettimeofday):
16980 Remove __gettimeofday_internal alias.
16981
b5a2bbe6
L
169822012-05-24 Daniel Jacobowitz <drow@false.org>
16983 H.J. Lu <hongjiu.lu@intel.com>
16984
16985 [BZ #12495]
16986 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16987 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16988 (largebin_index_32_big): New.
16989 (largebin_index): Use it for 16-byte alignment.
16990 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16991 correction with front_misalign.
16992
cfba4fda
L
169932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16994
7f907421
L
16995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16997 Likewise.
16998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16999 Likewise.
17000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17001 Likewise.
17002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17003 Likewise.
17004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17005 Likewise.
17006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17007 Likewise.
17008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17009 Likewise.
17010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17011 Likewise.
17012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17013 Likewise.
17014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17015 Likewise.
17016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17017 Likewise.
17018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17019 Likewise.
17020
cfba4fda
L
17021 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17022 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17023
80bad0cc
JM
170242012-05-24 Joseph Myers <joseph@codesourcery.com>
17025
7a25eb06
JM
17026 [BZ #10846]
17027 [BZ #14036]
17028 * math/libm-test.inc (exp_test): Add test from bug 14036.
17029 (pow_test): Add test from bug 10846.
17030
795405f9
JM
17031 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17032 and other flags.
17033 (special_function): Do not include flags in test name.
17034 (parse_args): Likewise.
17035 * sysdeps/i386/fpu/libm-test-ulps: Update.
17036 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17037 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17038 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17040
80bad0cc
JM
17041 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17042 exceptions.
17043 * math/libm-test.inc ("Philosophy"): Update comment about
17044 exception testing.
17045 (UNDERFLOW_EXCEPTION): New macro.
17046 (UNDERFLOW_EXCEPTION_OK): Likewise.
17047 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17048 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17049 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17050 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17051 (INVALID_EXCEPTION_OK): Update value.
17052 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17053 (OVERFLOW_EXCEPTION_OK): Likewise.
17054 (IGNORE_ZERO_INF_SIGN): Likewise.
17055 (test_exceptions): Handle underflow exceptions.
17056 (acos_test): Update for underflow exception expectations.
17057 (cexp_test): Likewise.
17058 (clog_test): Likewise.
17059 (clog10_test): Likewise.
17060 (csqrt_test): Likewise.
17061 (ctan_test): Likewise.
17062 (ctanh_test): Likewise.
17063 (exp_test): Likewise.
17064 (exp10_test): Likewise.
17065 (exp2_test): Likewise.
17066 (expm1_test): Likewise.
17067 (fma_test): Likewise.
17068 (j0_test): Likewise.
17069 (jn_test): Likewise.
17070 (nexttoward_test): Likewise.
17071 (pow_test): Likewise.
17072 (scalbn_test): Likewise.
17073 (scalbln_test): Likewise.
17074 (tan_test): Likewise.
17075 (y1_test): Likewise.
17076 * sysdeps/i386/fpu/libm-test-ulps: Update.
17077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17078
9e0e3d0b
DM
170792012-05-23 David S. Miller <davem@davemloft.net>
17080
17081 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17082 (__libc_sigaction): Remove unused local variables.
17083
ccd0a08f
L
170842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17085
17086 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17087
62bdf9a6
PE
170882012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17089
f8591f80
PE
17090 mktime: avoid signed integer overflow
17091 * time/mktime.c (__mktime_internal): Do not mishandle the case
17092 where diff == INT_MIN.
17093
94c7d826
PE
17094 mktime: simplify computation of average
17095 * time/mktime.c (ranged_convert): Use new time_t_avg function
17096 instead of rolling our own (probably-slower) code.
17097
ce73d683
PE
17098 mktime: do not assume signed right shift propagates sign bit
17099 * time/mktime.c (isdst_differ): New static function.
17100 (__mktime_internal): No need to normalize tm_isdst now.
17101 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17102 tm_isdst values.
17103
72a22e59
PE
17104 mktime: merge another wrapv change from gnulib
17105 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17106 from some compilers.
17107
68605433
PE
17108 mktime: remove incorrect attempt at unusual arithmetics
17109 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17110 The code didn't really work on such machines anyway.
17111 (TYPE_MINIMUM): Assume two's complement.
17112 (twos_complement_arithmetic): Verify that long_int and time_t
17113 are two's complement (or unsigned, in the latter case).
17114
03cf7fe3
PE
17115 mktime: check signed shifts on long_int and time_t, too
17116 * time/mktime.c (SHR): Check that shifts work as desired
17117 on the types long_int and time_t too, as SHR is used on
17118 such types.
17119
f04dfbc2
PE
17120 mktime: do not assume 'long' is wide enough
17121 * time/mktime.c (verify): Move decl up.
17122 (long_int): New type.
17123 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17124 to remove assumption in the code that 'long' is wide enough to
17125 store year values. This assumption is not true on x32 and on
17126 some non-glibc platforms.
17127
62bdf9a6
PE
17128 mktime: merge wrapv change from gnulib
17129 * time/mktime.c (WRAPV): New macro.
17130 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17131 (guess_time_tm, __mktime_internal): Do not assume that signed
17132 integer overflow wraps around; modern compilers generate code
17133 where this assumption is no longer valid.
17134
5e292e4f
L
171352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17136
17137 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17138 Replace "jmp L(pseudo_end)" with "ret".
17139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17140 Likewise.
17141
8caf8c87
AJ
171422012-05-23 Andreas Jaeger <aj@suse.de>
17143
17144 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17145 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17146
1a09dc56
AJ
171472012-05-23 Andreas Jaeger <aj@suse.de>
17148 Maximilian Attems <max@stro.at>
17149
17150 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17151 New macros.
17152
1c87aba0
L
171532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17154
17155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17156 code so that pseudo_end is just ret and the stack pointer is
17157 correct also for static library in error case.
17158
40e45bd5
JM
171592012-05-23 Joseph Myers <joseph@codesourcery.com>
17160
c2670533
JM
17161 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17162 move to syscalls.list.
17163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17167
40e45bd5
JM
17168 * manual/install.texi (Running make install): Do not mention Linux
17169 kernel version for which pt_chown is not needed.
17170 (Linux): Do not mention problems with nscd with 2.0 kernels.
17171 * INSTALL: Regenerated.
17172
be08eda5
AJ
171732012-05-23 Andreas Jaeger <aj@suse.de>
17174
17175 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17176 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17177 macro.
17178 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17179 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17180 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17181 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17182 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17183 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17184 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17185 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17186 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17187 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17188 * sysdeps/unix/sysv/linux/bits/in.h
17189 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17190
a6a056bb
RM
171912012-05-22 Roland McGrath <roland@hack.frob.com>
17192
17193 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17194 (PREPARE_VERSION): Just use assert instead, it will be elided
17195 under [NDEBUG] anyway.
17196
c9009328
L
171972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17198
17199 * sysdeps/unix/sysv/linux/Makefile: Include
17200 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17201 (sysdep_routines): Remove sysctl.
c9009328
L
17202 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17203 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17204 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17205 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17206 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17207
73338355
AJ
172082012-05-22 Andreas Jaeger <aj@suse.de>
17209
17210 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17211 that pseudo_end is just ret and the stack pointer is correct also
17212 for static library in error case.
17213
d44638b0
PP
172142012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17215
17216 [BZ #14122]
17217 * nss/nsswitch.c (defconfig_entries): New variable.
17218 (__nss_database_lookup): Don't leak defconfig entries.
17219 (nss_parse_service_list): Don't leak on error paths.
17220 (free_database_entries): New function.
17221 (free_defconfig): New function.
17222 (free_mem): Move common code to free_database_entries.
17223
31a39bd8
L
172242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17225
da0331a8
L
17226 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17227 Add arch_prctl.
17228 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17229
31a39bd8
L
17230 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17231 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17232 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17233 New macro.
17234 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17235 (INTERNAL_SYSCALL_TYPES): Likewise.
17236 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17237 (LOAD_REGS_TYPES_[1-6]): Likewise.
17238 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17239 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17240
45470df3
AZ
172412012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17242
17243 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17244 copysignl for GLIBC_2_0.
17245 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17246 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17248 logbl for GLIBC_2_0.
17249 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17250 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17251
98a61bcb
L
172522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17253
a4f6e481
L
17254 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17255 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17256
f63d5db6
L
17257 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17258 Use "neg %eax".
17259
98a61bcb
L
17260 * time/mktime.c: Update copyright years.
17261
95770f14
PE
172622012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17263
6226efbd
PE
17264 mktime: merge comment-quoting-style change from gnulib
17265 * time/mktime.c: Quote 'like this' in comments.
17266 The GNU coding standards suggest that we no longer quote `like this',
17267 as "`" and "'" are typically rendered asymmetrically nowadays.
17268 The typical gnulib style is to quote 'like this' when quoting
17269 code, and "like this" when quoting English.
17270
b99e4f78
PE
17271 * time/mktime.c (compile-command): Add "-I.".
17272
643e01e6
PE
17273 mktime: merge mktime-internal.h change from gnulib
17274 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17275
2554247d
PE
17276 mktime: merge time_r change from gnulib
17277 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17278
826dd0ab
PE
17279 mktime: merge DEBUG change from gnulib
17280 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17281 case system <time.h> has a #define.
17282
bd83aabe
PE
17283 mktime: merge <sys/types.h> change from gnulib
17284 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17285 since <time.t> is now guaranteed to define time_t.
17286
95770f14
PE
17287 mktime: merge HAVE_CONFIG_H change from gnulib
17288 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17289
5e1a27a9
L
172902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17291
0e44a77e
L
17292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17293 Use "neg %eax".
17294
5e1a27a9
L
17295 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17296 __rlim_t cast.
17297 (struct rusage): Use anonymous union to pad each field to
17298 __syscall_slong_t.
17299
46259bec
DM
173002012-05-21 David S. Miller <davem@davemloft.net>
17301
17302 * Makefules (o-iterator): Remove .s cases.
17303 (compile-command.s): Delete.
17304 (COMPILE.s): Delete.
17305 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17306
59f0c22e
JM
173072012-05-21 Joseph Myers <joseph@codesourcery.com>
17308
17309 * configure.in (libc_cv_predef_stack_protector): Only consider
17310 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17311 * configure: Regenerated.
17312
20c07380
L
173132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17314
bbb3154b
L
17315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17316 New macro. Use R*LP on int and pointer.
17317 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17318 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17319 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17320 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17321
20c07380
L
17322 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17323 [__WORDSIZE_TIME64_COMPAT32] instead of
17324 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17325 (struct utmp): Likewise.
17326 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17327 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17328 Renamed to ...
17329 (__WORDSIZE_TIME64_COMPAT32): This.
17330 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17331 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17332 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17333 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17334 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17335 (__WORDSIZE_TIME64_COMPAT32): New macro.
17336
d8d1017e
AJ
173372012-05-21 Andreas Jaeger <aj@suse.de>
17338
17339 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17340 only if [SHARED]. Add prototype for __wcschr_ia32.
17341
6c7fb145
RM
173422012-05-21 Roland McGrath <roland@hack.frob.com>
17343
17344 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17345 of %rbp unmolested in the jmp_buf while mangling the low bits.
17346 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17347 unmolested high bits of %rbp while demangling the low bits.
17348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17349
66274218
AJ
173502012-05-21 Andreas Jaeger <aj@suse.de>
17351
07c58f8f
AJ
17352 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17353 * sunrpc/svc_simple.c: Use it for registerrpc.
17354 * sunrpc/xcrypt.c: Use it for passwd2des.
17355
66274218
AJ
17356 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17357
61f65140
L
173582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17359
17360 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17361 Don't define if [__SYSCALL_WORDSIZE != 32].
17362 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17363 New macro.
17364
5fefb436
AJ
173652012-05-21 Bruno Haible <bruno@clisp.org>
17366 Andreas Jaeger <aj@suse.de>
17367
17368 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17369 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17370 inptr and inend for must_buffer_ch.
17371 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17372 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17373 * stdio-common/Makefile (tests): Remove bug15.
17374 (bug15-ENV): Remove macro.
17375 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17376 anymore.
17377
d8e272ab
AJ
173782012-05-19 Andreas Jaeger <aj@suse.de>
17379 Roland McGrath <roland@hack.frob.com>
17380
17381 * manual/contrib.texi: Completely rewritten. It contains now an
17382 alphabetical list of contributors and their contributions.
17383
4a56a162
RH
173842012-05-21 Richard Henderson <rth@twiddle.net>
17385
17386 * misc/getauxval.c (__getauxval): Use unsigned long int.
17387 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17388 (getauxval): Use unsigned long int.
17389
d024d23c
L
173902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17391
17392 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17393
cbc00a03
RM
173942012-05-21 Roland McGrath <roland@hack.frob.com>
17395
17396 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17397 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17398 __alignof__ (long double).
17399
478143fa
AZ
174002012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17401
17402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17403
c7683a6d
RH
174042012-05-20 Richard Henderson <rth@twiddle.net>
17405
17406 * misc/getauxval.c: New file.
17407 * misc/sys/auxv.h: New file.
17408 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17409 (routines): Add getauxval.
17410 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17411 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17412 * elf/dl-sysdep.c (_dl_auxv): Remove.
17413 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17414 * elf/dl-support.c (_dl_auxv): New variable.
17415 (_dl_aux_init): Initialize it.
17416 * manual/startup.texi (Auxiliary Vector): New node.
17417 * sysdeps/generic/bits/hwcap.h: New file.
17418 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17419 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17420 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17421 * sysdeps/sparc/sysdep.h: ... here. Include it.
17422 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17423 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17425 Update.
c7683a6d
RH
17426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17434
a6f1845d
AZ
174352012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17436
17437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17438
cbcbe830
DM
174392012-05-19 David S. Miller <davem@davemloft.net>
17440
17441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17442
e0b16cc2
JM
174432012-05-19 Joseph Myers <joseph@codesourcery.com>
17444
17445 [BZ #14123]
17446 * math/s_ccosh.c: Include <float.h>
17447 (__ccosh): Avoid internal overflow calculating sinh and cosh
17448 values before multiplying by sin and cos values.
17449 * math/s_ccoshf.c: Likewise.
17450 * math/s_ccoshl.c: Likewise.
17451 * math/s_csin.c: Likewise.
17452 * math/s_csinf.c: Likewise.
17453 * math/s_csinl.c: Likewise.
17454 * math/s_csinh.c: Likewise.
17455 * math/s_csinhf.c: Likewise.
17456 * math/s_csinhl.c: Likewise.
17457 * math/libm-test.inc (ccos_test): Add more tests.
17458 (ccosh_test): Likewise.
17459 (csin_test): Likewise.
17460 (csinh_test): Likewise.
17461 * sysdeps/i386/fpu/libm-test-ulps: Update.
17462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17463
6ad13e08
L
174642012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17465
f66f0ce8
L
17466 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17467 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17468
6ad13e08
L
17469 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17470
b1d072a7
JM
174712012-05-19 Joseph Myers <joseph@codesourcery.com>
17472
17473 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17474 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17475 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17476 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17477 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17478 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17479 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17480 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17481 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17482 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17483 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17484 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17485 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17486 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17487 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17488 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17489 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17490 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17491 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17492 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17493 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17494 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17495 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17496 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17497 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17498 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17499 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17500 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17501 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17502 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17503 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17504
9eae47cb
AJ
175052012-05-18 Andreas Jaeger <aj@suse.de>
17506
17507 * csu/.gitignore: Delete.
17508
bb07f69f
L
175092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17510
17511 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17512 (timex): Use __syscall_slong_t.
17513
e6bdb741
AJ
175142012-05-18 Andreas Jaeger <aj@suse.de>
17515 Carlos O'Donell <carlos_odonell@mentor.com>
17516
17517 * manual/install.texi (Configuring and compiling): Update
17518 description about files modified in the source directory.
d6c33fda 17519 * INSTALL: Regenerated.
e6bdb741 17520
1b74487e
L
175212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17522
17523 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17524 value. Use "or" to set return value to -1.
17525 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17526 negate return value.
17527
a88b64b9
TMQMF
175282012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17529
17530 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17531 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17532 failure if the compiler has Graphite support disabled.
17533 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17534 Likewise.
17535 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17536 CFLAGS-memmove.c): Likewise.
17537 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17538 Likewise.
17539
3707636e
L
175402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17541
610b8622
L
17542 * sysdeps/x86_64/x32/_itoa.h: New file.
17543
7cd195df
L
17544 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17545 getdents system call only if kernel and user dirents have the
17546 same d_ino and d_off.
17547
94b07d20
L
17548 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17549 LLONG_MAX != LONG_MAX.
17550 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17551 (_fitoa_word): Likewise.
17552
18298070
L
17553 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17554 years.
17555 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17556 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17557 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17558
553c7ea4
L
17559 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17560 include <bits/wordsize.h>. Check __x86_64__ instead of
17561 __WORDSIZE.
17562 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17563 if __x86_64__ is defined. Use anonymous union on fpstate.
17564
3707636e
L
17565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17566 anonymous union.
17567
b53ef01a
AS
175682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17569
37fb1dc0
AS
17570 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17571 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17572 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17573 Refer to _rtld_local_ro instead of _rtld_global_ro.
17574 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17575 Likewise.
17576 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17577 Likewise.
17578 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17579 Likewise.
17580 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17581 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17582 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17583
b53ef01a
AS
17584 * sysdeps/powerpc/powerpc32/dl-machine.c
17585 (__elf_machine_runtime_setup) [PROF]: Don't reference
17586 _dl_prof_resolve.
17587
7a185db2
AJ
175882012-05-18 Andreas Jaeger <aj@suse.de>
17589
17590 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17591 function only available for GCCs before 3.4 since GCC 3.4
17592 introduced a builtin.
17593 (lrint): Likewise.
17594 (llrintf): Likewise.
17595 (llrint): Likewise.
17596 (fmaxf): Likewise.
17597 (fmax): Likewise.
17598 (fminf): Likewise.
17599 (fmin): Likewise.
17600 (rint): Likewise.
17601 (rintf): Likewise.
17602 (nearbyint): Likewise.
17603 (nearbyintf): Likewise.
17604 (ceil): Likewise.
17605 (ceilf): Likewise.
17606 (floor): Likewise.
17607 (floorf): Likewise.
17608
3e5aef87
L
176092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17610
428bd707
L
17611 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17612 on both fields and cast pointer to __syscall_ulong_t.
17613
3e5aef87
L
17614 * bits/types.h (__fsword_t): New type.
17615 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17616 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17618 (__FSWORD_T_TYPE): Likewise.
17619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17620 (__FSWORD_T_TYPE): Likewise.
17621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17622 (__FSWORD_T_TYPE): Likewise.
17623 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17624 (__FSWORD_T_TYPE): Likewise.
17625 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17626 __SWORD_TYPE with __fsword_t.
17627 (statfs64): Likewise.
17628
1ba7c3dc
DM
176292012-05-17 David S. Miller <davem@davemloft.net>
17630
17631 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17632
59910343
AJ
176332012-05-17 Andreas Jaeger <aj@suse.de>
17634
17635 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17636 warning.
17637
2e4c1e9e
L
176382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17639
17640 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17641
de7f5ce7
AJ
176422012-05-17 Andreas Jaeger <aj@suse.de>
17643
17644 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17645 when it is used.
17646
286abc3d
CM
176472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17648
17649 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17650
477cc68e
L
176512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17652
17653 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17654 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17655
1a0994f5
CD
176562012-05-17 Andreas Jaeger <aj@suse.de>
17657 Carlos O'Donell <carlos_odonell@mentor.com>
17658
17659 [BZ #14059]
17660 * sysdeps/x86_64/multiarch/init-arch.h
17661 (bit_YMM_Usable): Rename to...
17662 (bit_AVX_Usable): ... this.
17663 (bit_FMA4_Usable): New macro.
17664 (bit_XMM_state): New macro.
17665 (bit_YMM_state): New macro.
17666 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17667 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17668 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17669 (CPUID_OSXSAVE): New macro.
17670 (CPUID_AVX): New macro.
17671 (CPUID_FMA4): New macro.
17672 (index_YMM_Usable): Rename to...
17673 (index_AVX_Usable): ... this.
17674 (HAS_AVX): Use HAS_ARCH_FEATURE.
17675 (HAS_FMA4): Likewise.
17676 (HAS_YMM_USABLE): Remove.
17677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17678 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17679 are present.
17680 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17681 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17682 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17683 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17684 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17685
0af797de
CM
176862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17687
17688 * math/libm-test.c: Support platforms without multiple rounding modes.
17689 * math/bug-nextafter.c: Support platforms without FP exceptions.
17690 * math/bug-nexttoward.c: Likewise.
17691 * math/test-fenv.c: Likewise.
17692 * math/test-misc.c: Likewise.
17693 * stdlib/bug-getcontext.c: Likewise.
17694
e39745ff
AJ
176952012-05-17 Andreas Jaeger <aj@suse.de>
17696
17697 * manual/examples/search.c (critter_cmp): Change signature to
17698 avoid warnings.
17699 * manual/string.texi (Collation Functions): Likewise.
17700
48970aba
L
177012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17702
17703 * bits/types.h: Fold copyright years.
17704 * bits/typesizes.h: Likewise.
17705 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17706 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17709 * time/time.h: Likewise.
17710
bedee953
PP
177112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17712
17713 [BZ #208]
17714 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17715 in instead of returning them. Return void.
17716 (__libc_mallinfo): Accumulate over all arenas.
17717 (__malloc_stats): Adjust for change in int_mallinfo interface.
17718
61653dfb
RM
177192012-05-16 Roland McGrath <roland@hack.frob.com>
17720
30b99d79
RM
17721 [BZ #10375]
17722 * configure.in (NM): Add AC_CHECK_TOOL for it.
17723 (libc_extra_cflags): New substituted variable.
17724 Check for -fstack-protector being used implicitly.
17725 * configure: Regenerated.
17726 * config.make.in (config-extra-cflags): New variable,
17727 gets @libc_extra_cflags@.
17728 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17729
61653dfb
RM
17730 [BZ #10375]
17731 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17732 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17733 * configure: Regenerated.
17734 * config.make.in (CPPUNDEFS): New substituted variable.
17735 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17736 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17737 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17738
661768bb
L
177392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17740
17741 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17742 (mq_attr): Use __syscall_slong_t.
17743
d4261567
L
177442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17745
17746 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17747 Check __x86_64__ instead of __WORDSIZE.
17748 (_STAT_VER_LINUX): Likewise.
17749 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17750 __syscall_ulong_t and __syscall_slong_t.
17751 (stat64): Likewise.
17752
cf3ff365
L
177532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17754
17755 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17756
76cf3e4d
L
177572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17758
17759 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17760
a637753a
L
177612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17762
17763 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17764 __syscall_ulong_t.
17765
d5e05119
L
17766 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17767 include <bits/wordsize.h>. Check __x86_64__ instead of
17768 __WORDSIZE.
17769 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17770 defined.
17771 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17772
f62ee380
L
17773 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17774 include <bits/wordsize.h>. Check __x86_64__ instead of
17775 __WORDSIZE.
17776 (user_regs_struct): Use "__extension__ unsigned long long"
17777 instead of "unsigned long" if __x86_64__ is defined.
17778 (user): Likewise. Pad after pointer field if __ILP32__ is
17779 defined.
17780
4e124ced
JM
177812012-05-16 Joseph Myers <joseph@codesourcery.com>
17782
6a3951a0
JM
17783 * configure.in (makeinfo): Require version 4.5 or later. Allow
17784 versions 5 to 9.
17785 * configure: Regenerated.
17786 * manual/install.texi (texinfo): Increase version requirement to
17787 4.5 or later.
17788 * INSTALL: Regenerated.
17789
4e124ced
JM
17790 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17791
953ca31a
L
177922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17793
17794 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17795
617aca05
L
17796 * sysdeps/x86_64/x32/ffs.c: New file.
17797
5762f7ae
L
17798 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17799 __syscall_ulong_t.
17800 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17801 defined. Use __syscall_ulong_t.
17802 (shminfo): Use __syscall_ulong_t.
17803 (shm_info): Likewise.
17804
a26b6856
L
17805 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17806 __syscall_ulong_t.
17807
cb2b9ef7
L
17808 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17809 <bits/wordsize.h>.
17810 (msgqnum_t): Use __syscall_ulong_t.
17811 (msglen_t): Likewise.
17812 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17813 __syscall_ulong_t.
17814
34683bb0
L
17815 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17816 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17817
84a68786
L
17818 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17819
48baa5f1
L
17820 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17821 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17822
180be88b
L
17823 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17824 __syscall_slong_t.
17825
5e90c8ad
L
17826 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17827 include <bits/wordsize.h>. Check __x86_64__ instead of
17828 __WORDSIZE.
17829
23dfb58b
L
17830 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17831 "unsigned long long int" if __x86_64__ is defined.
17832 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17833
ce5d54b0
L
17834 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17835 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17836 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17837
13dc9eac
L
17838 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17839 <stdint.h>.
17840 (GET_PC): Cast to uintptr_t first.
17841 (GET_FRAME): Likewise.
17842 (GET_STACK): Likewise.
17843
a7895d15
L
17844 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17845 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17846 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17847 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17848 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17849 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17850 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17851 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17852 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17853 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17854 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17855 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17856 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17857 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17858 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17859 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17861 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17862 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17863 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17864 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17865 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17866 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17867 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17868 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17869 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17870 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17871 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17872 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17873
656416c9
AS
178742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17875
5bd66283
AS
17876 * Makerules (+depfiles): Also collect depfiles from .oS in
17877 $(extra-objs).
17878 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17879 .oS, $(libnldbl-routines)).
17880
656416c9
AS
17881 * Makerules (native-compile-mkdep-flags): Define.
17882 * sunrpc/Makefile (extra-objs): Add $(addprefix
17883 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17884 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17885 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17886 calling $(make-target-directory).
17887
a46f2169
L
178882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17889
17890 * bits/types.h (__snseconds_t): Removed.
17891 * time/time.h (struct timespec): Replace __snseconds_t with
17892 __syscall_slong_t.
17893 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17894 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17895 Likewise.
17896 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17897 (__SNSECONDS_T_TYPE): Likewise.
17898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17899 (__SNSECONDS_T_TYPE): Likewise.
17900 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17901 (__SNSECONDS_T_TYPE): Likewise.
17902
6af6528b
L
179032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17904
17905 * sysdeps/mach/hurd/bits/typesizes.h
17906 (__SYSCALL_SLONG_TYPE): New macro.
17907 (__SYSCALL_ULONG_TYPE): Likewise.
17908
de986b56
L
179092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17910
17911 * bits/types.h (__syscall_slong_t): New type.
17912 (__syscall_ulong_t): Likewise.
17913
17914 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17915 (__SYSCALL_ULONG_TYPE): Likewise.
17916 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17917 (__SYSCALL_SLONG_TYPE): Likewise.
17918 (__SYSCALL_ULONG_TYPE): Likewise.
17919 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17920 (__SYSCALL_SLONG_TYPE): Likewise.
17921 (__SYSCALL_ULONG_TYPE): Likewise.
17922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17923 (__SYSCALL_SLONG_TYPE): Likewise.
17924 (__SYSCALL_ULONG_TYPE): Likewise.
17925
85736dc7
L
179262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17927
17928 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17929 Add sigaltstack-offsets.sym.
17930 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17931 <sigaltstack-offsets.h>.
17932 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17933 longjmp_msg pointer.
17934 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17935 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17936 signal stack.
17937 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17938
cc03b296
JM
179392012-05-15 Joseph Myers <joseph@codesourcery.com>
17940
a9538892
JM
17941 * elf/stackguard-macros.h: Remove file.
17942 * sysdeps/generic/stackguard-macros.h: New file.
17943 * sysdeps/i386/stackguard-macros.h: Likewise.
17944 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17945 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17946 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17947 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17948 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17949 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17950 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17951 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17952 <elf/stackguard-macros.h>.
17953
cc03b296
JM
17954 [BZ #14109]
17955 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17956 __aligned__ in attribute.
17957 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17958 (gregset_t): Likewise.
17959
93171016
L
179602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17961
17962 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17963 * sysdeps/x86_64/64/Implies-after: Here. New file.
17964 * sysdeps/x86_64/x32/Implies-after: New file.
17965
d86813a0
L
179662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17967
17968 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17969 and access return value for _dl_profile_fixup. Use R10_LP to
17970 load frame size.
17971
2953ec75
L
179722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17973
17974 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17975
3b550e9e
L
179762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17977
17978 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17979 * sysdeps/x86_64/x32/sysdep.h: New file.
17980
eda41706
L
179812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17982
17983 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17984 * sysdeps/x86_64/setjmp.S: Likewise.
17985
9ea01d93
AZ
179862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17987
17988 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17989 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17990 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17992 remove unused global constant.
17993
02a91938
CM
179942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17995
17996 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17997 include of <not-cancel.h>.
17998
6540185f
RM
179992012-05-15 Roland McGrath <roland@hack.frob.com>
18000
18001 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18002
509072a0
AJ
180032012-05-15 Jeff Law <law@redhat.com>
18004 Andreas Jaeger <aj@suse.de>
18005
18006 [BZ #13594]
18007 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18008 out from...
18009 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18010 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18011 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18012 code changing __hst_map_handle.map.
18013
ba75122d
RM
180142012-05-15 Roland McGrath <roland@hack.frob.com>
18015
18016 * configure.in (sysnames): Look for Implies-before and Implies-after
18017 files.
18018 * configure: Regenerated.
18019
890d8bd8
L
180202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18021
18022 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18023 8-byte data alignment with LP_SIZE alignment.
18024
f6ee6623
L
180252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18026
18027 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18028 into R10_LP.
18029
ea2626f6
L
180302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18031
18032 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18033
085f715e
L
180342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18035
18036 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18037 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18038 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18039 Likewise.
18040 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18041
be8498fc
L
180422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18043
18044 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18045 (stackinfo_sub_sp): Likewise.
18046
70bc83b9
L
180472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18048
18049 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18050 RAX_LP.
18051
9bc0b730
L
180522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18053
18054 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18055 into R*_LP.
18056
6d2850e7
L
180572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18058
18059 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18060 sizes into R*_LP.
18061
3cb84561
L
180622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18065
54e2ed81
L
180662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18067
18068 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18069 into R11_LP and load __x86_64_shared_cache_size_half into
18070 R8_LP.
18071
8a17f349
L
180722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18073
18074 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18075 R8_LP.
18076
777b1eea
AZ
180772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18078
18079 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18080 logb for POWER7.
18081 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18082 logbf for POWER7.
18083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18084 logbl for POWER7.
18085 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18086 powerpc32/power7/fpu/s_logb.c via #include.
18087 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18088 powerpc32/power7/fpu/s_logbf.c via #include.
18089 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18090 powerpc32/power7/fpu/s_logbl.c via #include.
18091
d20d4ac2
JM
180922012-05-15 Joseph Myers <joseph@codesourcery.com>
18093
18094 * README.libm: Remove file.
18095
6cdef1ab
L
180962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18097
18098 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18099 count for x32. Use R*_LP and omit operand-size suffix.
18100
0b254d8f
L
181012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18102
18103 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18104 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18105 * sysdeps/x86_64/x32/shlib-versions: New file.
18106
ceb809dc
RM
181072012-05-14 Roland McGrath <roland@hack.frob.com>
18108
18109 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18110 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18111 Use _dl_fatal_printf instead.
18112
37f1abd4
JM
181132012-05-14 Joseph Myers <joseph@codesourcery.com>
18114
18115 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18116 set if not set by the user. Do not allow for being unset.
18117 * sysdeps/unix/sysv/linux/configure: Regenerated.
18118
11de3a33
L
181192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18120
18121 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18122 the `q' suffix from lea and replace .quad with ASM_ADDR.
18123
e02f153a
L
181242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18125
18126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18127 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18128 instead of $17.
18129 (PTR_DEMANGLE): Likewise.
18130
520ae0fd
L
181312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18132
18133 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18134 (LP_OP): Likewise.
18135 (ASM_ADDR): Likewise.
18136 (RAX_LP): Likewise.
18137 (RBP_LP): Likewise.
18138 (RBX_LP): Likewise.
18139 (RCX_LP): Likewise.
18140 (RDI_LP): Likewise.
18141 (RSI_LP): Likewise.
18142 (RSP_LP): Likewise.
18143 (R8_LP): Likewise.
18144 (R9_LP): Likewise.
18145 (R10_LP): Likewise.
18146 (R10_LP): Likewise.
18147 (R11_LP): Likewise.
18148 (R12_LP): Likewise.
18149 (R13_LP): Likewise.
18150 (R14_LP): Likewise.
18151 (R15_LP): Likewise.
18152
b985be81
L
181532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18154
18155 * sysdeps/x86_64/x32/dl-machine.h: New file.
18156
6a4888ff
AJ
181572012-05-14 Andreas Jaeger <aj@suse.de>
18158
18159 * manual/Makefile (subdir): Remove export of subdir.
18160 (all): Remove target.
18161 (.PHONY): Remove all from list.
18162 (mkinstalldirs): Remove.
18163 (.PHONY): Remove installdirs from list.
18164 ($(inst_infodir)/libc.info): Use make-target-directory.
18165 (installdirs): Remove.
18166 (subdir_%): Remove.
18167 (glibc-targets): Remove.
18168 (lib): Remove.
18169 (stubs): Remove.
18170 ($(objpfx)stubs ../po/manual.pot): Remove.
18171 ($(objpfx)stamp%): Remove.
18172 (make-target-directory): Remove.
18173 (subdir_install): Remove.
18174 (routines): Remove.
18175 (aux): Remove.
18176 (sources): Remove.
18177 (objects): Remove.
18178 (headers): Remove.
18179
18180 [BZ #13750]
18181 * manual/.gitignore: Remove, it's not needed anymore.
18182 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18183 all files in it.
18184 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18185 directory.
18186 (texis): Renamed to $(objpfx)texis.
18187 (texis-path): New, contains path to generated files.
18188 (chapters.%): Use texis-path for complete path, add extra argument
18189 libc-texinfo.sh.
18190 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18191 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18192 (summary,texi, stamp-summary): Use complete path of
18193 files. Generate files in build dir.
18194 (dir-add.texi): Build in build dir.
18195 (libm-err.texi,stamp-libm-err): Likewise.
18196 (version.texi, stamp-version): Likewise.
18197 (.%c.texi): Likewise.
18198 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18199 (mostlyclean): Remove target.
18200 (realclean): Remove target.
18201 (generated): Add new variable with contents from mostlyclean and
18202 realclean, remove entries duplicated in common-mostlyclean, add
18203 stamp-libm-err and stamp-version.
18204 (generated-dirs): Add libc directory.
18205 ($(inst_infodir)/libc.info): Install files from build dir.
18206
18207 * manual/install.texi (Configuring and compiling): Adjust since
18208 the info files are not part of the tar ball anymore.
18209
7ac77294
AJ
182102012-05-14 Andreas Jaeger <aj@suse.de>
18211
18212 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18213 variable.
18214
ffb7875d
JM
182152012-05-14 Joseph Myers <joseph@codesourcery.com>
18216
18217 [BZ #13717]
18218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18219 to 2.2.0 where earlier.
18220 * sysdeps/unix/sysv/linux/configure: Regenerated.
18221 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18222 Remove conditional code.
18223 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18224 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18225 Remove conditional code.
18226 [!__NR_lchown]: Likewise.
18227 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18228 [__NR_lchown]: Likewise.
18229 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18230 comment referencing __ASSUME_LCHOWN_SYSCALL.
18231 * sysdeps/unix/sysv/linux/i386/sigaction.c
18232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18234 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18235 Remove conditional code.
18236 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18237 (__protocol_available): Remove #if 0 code.
18238 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18239 conditional code.
18240 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18241 * sysdeps/unix/sysv/linux/kernel-features.h
18242 (__ASSUME_GETCWD_SYSCALL): Don't define.
18243 (__ASSUME_REALTIME_SIGNALS): Likewise.
18244 (__ASSUME_PREAD_SYSCALL): Likewise.
18245 (__ASSUME_PWRITE_SYSCALL): Likewise.
18246 (__ASSUME_POLL_SYSCALL): Likewise.
18247 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18248 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18249 non-SPARC.
18250 (__ASSUME_SIOCGIFNAME): Don't define.
18251 (__ASSUME_MSG_NOSIGNAL): Likewise.
18252 (__ASSUME_SENDFILE): Define unconditionally.
18253 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18254 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18255 conditional code.
18256 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18257 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18258 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18259 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18260 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18261 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18262 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18264 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18276 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18279 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18285 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18287 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18288 Remove conditional code.
18289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18290 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18291 Remove conditional code.
18292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18293 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18294 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18295 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18296 Remove conditional code.
18297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18298 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18299 Remove conditional code.
18300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18301 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18302 Remove conditional code.
18303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18304 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18305 Remove conditional code.
18306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18307 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18308 Remove conditional code.
18309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18310 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18311 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18313 * sysdeps/unix/sysv/linux/sigaction.c
18314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18316 * sysdeps/unix/sysv/linux/sigpending.c
18317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18319 * sysdeps/unix/sysv/linux/sigprocmask.c
18320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18322 * sysdeps/unix/sysv/linux/sigsuspend.c
18323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18325 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18326 (__libc_missing_rt_sigs): Remove.
18327 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18328 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18329 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18330 Remove conditional code.
18331 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18332 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18333 return 1.
18334 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18335 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18336 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18337 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18338
1bfb7291
AJ
183392012-05-14 Andreas Jaeger <aj@suse.de>
18340
caae5a81
AJ
18341 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18342 it's not used in glibc.
18343 (__coshm1): Likewise.
18344 (__acosh1p): Likewise.
18345 (__sgn): Likewise.
18346
1bfb7291
AJ
18347 * manual/string.texi (Copying and Concatenation): Add missing
18348 variable in concat example.
18349 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18350
c044d724
L
183512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18352
144c5467 18353 [BZ #14103]
c044d724
L
18354 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18355 __builtin_clzl with __builtin_clzll.
18356
2523c62b
L
183572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18358
18359 [BZ #14104]
18360 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18361 libc_freeres_ptr.
18362
d7bb4c42
LD
183632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18364
18365 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18366 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18367 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18368 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18369
9dc4e1fb
MF
183702012-05-14 Mike Frysinger <vapier@gentoo.org>
18371
18372 * NEWS: Update ia64 info.
18373
c7df0112
AS
183742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18375
18376 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18377 used as bcopy.
18378
dc70356c
TS
183792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18380
18381 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18382 * sysdeps/unix/syscalls.list (dup3): Likewise.
18383 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18384 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18385
9fb1a21f
L
183862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18387
18388 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18389 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18390
4822a2a5
L
183912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18392
18393 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18394 thread pointer.
18395 (TLS_IE): Use mov/add instead of movq/addq to load thread
18396 pointer.
18397 (TLS_GD_PREFIX): New.
18398 (TLS_GD): Use it.
18399
842b81d6
DM
184002012-05-11 David S. Miller <davem@davemloft.net>
18401
18402 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18403 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18404 (_FPU_SETCW): Likewise.
18405
1cf463cd
L
184062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18407
18408 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18409 is 32-byte aligned.
18410
60cc4a18
AS
184112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18412
18413 [BZ #11837]
18414 * iconvdata/gb18030.c: Update tables.
18415 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18416 characters specially.
18417 (BODY for TO_LOOP): Add encoding of missing ranges.
18418
febb44a4
TS
184192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18420
18421 [BZ #13673]
18422 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18423 * sysdeps/mach/hurd/dup3.c: Likewise.
18424 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18425 * sysdeps/powerpc/memmove.c:: Likewise.
18426
0a10fb9e
L
184272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18428
18429 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18430 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18431
df8a552f
L
184322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18433
18434 * elf/elf.h (R_X86_64_RELATIVE64): New.
18435 (R_X86_64_NUM): Updated.
18436 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18437 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18438 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18439 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18440 tst-quad1pie tst-quad2pie
18441 (modules-names): Add tst-quadmod1 tst-quadmod2.
18442 ($(objpfx)tst-quad1): New dependency.
18443 ($(objpfx)tst-quad2): Likewise.
18444 ($(objpfx)tst-quad1pie): Likewise.
18445 ($(objpfx)tst-quad2pie): Likewise.
18446 * sysdeps/x86_64/tst-quad1.c: New file.
18447 * sysdeps/x86_64/tst-quad1pie.c: New file.
18448 * sysdeps/x86_64/tst-quad2.c: Likewise.
18449 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18450 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18451 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18452 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18453 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18454
f34d6f84
ST
184552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18456
f42d41d1
ST
18457 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18458 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18459 * streams/stropts.h (t_scalar_t): Define type.
18460
3c3571fc
ST
18461 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18462 (_PATH_PRESERVE): Set to "/var/lib".
18463 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18464
61f06bd3
ST
18465 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18466 instead of int.
18467
918d4d71
ST
18468 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18469 if __dir_mkfile succeeded.
18470
f34d6f84
ST
18471 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18472 checking for _hurd_dtablesize. Unlock it right after having
18473 finished _hurd_dtable allocation.
18474
10589b4a
TS
184752012-05-10 Thomas Schwinge <thomas@schwinge.name>
18476
674cdbc7
TS
18477 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18478 * sysdeps/mach/hurd/configure: Regenerated.
18479 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18480 special-casing to...
18481 * sysdeps/gnu/configure.in: ... this new file.
18482 * sysdeps/unix/sysv/linux/configure: Regenerated.
18483 * sysdeps/gnu/configure: New generated file.
18484
8e41b99f
TS
18485 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18486 for Linux: use nsec instead of usec, as well as:
18487 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18488 members of type struct timespec.
18489 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18490 New macros.
18491 (struct stat64): Likewise.
18492 (_STATBUF_ST_NSEC): New macro.
18493 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18494
10589b4a
TS
18495 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18496 __strtoul_internal rather than strtoul.
18497
63643c85
PT
184982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18499
18500 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18501 and reject them.
18502
3faebe6a
ST
185032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18504
18505 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18506 which preserves existing values.
18507 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18508
c6474b07
PT
185092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18510
18511 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18512 TIMEOUT values. Return EINVAL for NFDS values either negative or
18513 greater than FD_SETSIZE.
18514
1043890b
ST
185152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18516
18517 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18518 allocated, call __vm_protect to finish enabling the existing space, and
18519 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18520 allocate the remainder.
18521
37ed8b9b
PT
185222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18523
18524 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18525 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18526
db653660
ST
185272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18528
37ed8b9b
PT
18529 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18530 sysdeps/mach/hurd/readlink.c.
b29d4053 18531
db653660
ST
18532 * posix/tst-sysconf.c (posix_options): Only use
18533 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18534 _POSIX_SYNCHRONIZED_IO when they are defined
18535 * sysdeps/mach/hurd/bits/posix_opt.h:
18536 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18537 (_XOPEN_REALTIME): Undefine macro.
18538 (_XOPEN_REALTIME_THREADS): Undefine macro.
18539 (_XOPEN_SHM): Undefine macro.
18540 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18541 macro to -1.
18542 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18543 macro to -1.
18544 (_POSIX_ASYNC_IO): Undefine macro.
18545 (_POSIX_PRIORITIZED_IO): Undefine macro.
18546 (_POSIX_SPIN_LOCKS): Define macro to -1.
18547
ee16e894
ST
18548 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18549 SA_NODEFER, SA_RESETHAND.
18550 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18551 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18552 F_DUPFD_CLOEXEC.
18553
6103ae3b
TS
185542012-05-10 Thomas Schwinge <thomas@schwinge.name>
18555
18556 * elf/Makefile (pldd-modules): Define unconditionally.
18557
80b4e5f3
TS
185582012-05-10 Thomas Schwinge <thomas@schwinge.name>
18559
18560 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18561
edadcbd6
ST
185622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18563
18564 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18565 Return ENOENT when name is empty.
18566 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18567
80694780
TS
185682012-05-10 Thomas Schwinge <thomas@schwinge.name>
18569
1792c087
TS
18570 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18571
80694780
TS
18572 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18573
6b645f0d
ST
185742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18575
80694780
TS
18576 Fix mlock in all cases except non-readable pages.
18577 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18578 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18579
6b645f0d
ST
18580 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18581 (__mkdir): When path is `/', just fail with EEXIST.
18582 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18583
e468f8a3
TS
185842012-05-10 Thomas Schwinge <thomas@schwinge.name>
18585
18586 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18587 <sys/uio.h> (for writev).
18588 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18589 and <sys/param.h> (for MIN).
18590
a4186cff
PT
185912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18592
18593 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18594 REQUESTED_TIME. Properly set the remaining time and return EINTR
18595 if interrupted.
18596
510bbf14
TS
185972012-05-10 Thomas Schwinge <thomas@schwinge.name>
18598
18599 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18600 Depend on against $(link-rpcuserlibs).
18601
5d5722e8
ST
186022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18603
a4186cff
PT
18604 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18605 (__libc_stack_end): Do not use attribute_relro.
18606 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18607 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18608 to libthread-provided value.
a4186cff
PT
18609 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18610 attribute_relro.
5d5722e8 18611
37233df9
TS
186122012-05-10 Thomas Schwinge <thomas@schwinge.name>
18613
be971a2b
TS
18614 [BZ #3748]
18615 * bits/libc-lock.h (__libc_once_get): New macro.
18616 * sysdeps/mach/bits/libc-lock.h: Likewise.
18617 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18619 instead of using implementation details.
18620
37233df9
TS
18621 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18622 * libio/freopen.c: Likewise.
18623 * libio/freopen64.c: Likewise.
18624 * misc/syslog.c: Likewise.
18625 * nscd/connections.c: Likewise.
18626 * nscd/netgroupcache.c: Likewise.
18627 * sysdeps/posix/getcwd.c: Likewise.
18628
38de94a5
RM
186292012-05-10 Roland McGrath <roland@hack.frob.com>
18630
18631 * math/w_ilogbf.c: Add #include <limits.h>.
18632
67530489
ST
186332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18634
a4186cff 18635 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18636 path instead of returning without unlocking.
18637
67530489
ST
18638 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18639 immediate-write ioctls.
18640 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18641
5aa3a74a
TS
186422012-05-10 Thomas Schwinge <thomas@schwinge.name>
18643
18bad2ae
TS
18644 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18645 __builtin_frame_address instead of making assumptions about the
18646 location of the return address relative to DATA. Force early load of
18647 the return address.
18648 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18649 __builtin_frame_address.
18650
5aa3a74a
TS
18651 dup3 for GNU Hurd.
18652 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18653 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18654 implement dup3 and do some further code clean-ups.
18655 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18656 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18657
ecd0de9a
ST
186582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18659
cd9fa985
ST
18660 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18661
a4186cff
PT
18662 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18663 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18664 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18665 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18666 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18667 d->port.lock.
802ca5a5 18668
a4186cff
PT
18669 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18670 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18671 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18672
bcf55240
TS
186732012-05-10 Thomas Schwinge <thomas@schwinge.name>
18674
6960eb42
TS
18675 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18676 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18677 definitions.
18678
eb43375f
TS
18679 accept4 for GNU Hurd.
18680 * include/sys/socket.h (__libc_accept4): New prototype.
18681 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18682 to implement __libc_accept4.
18683 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18684 __libc_accept4.
18685 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18686
bcf55240
TS
18687 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18688 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18689 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18690 signal-defines.sym.
18691
6178c55b
ST
186922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18693
a4186cff 18694 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18695
6f080c2f
TS
186962012-05-10 Thomas Schwinge <thomas@schwinge.name>
18697
18698 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18699 assertion on O_CLOEXEC flag.
18700 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18701 * hurd/intern-fd.c: Likewise.
18702 * hurd/port2fd.c: Likewise.
18703
bcfe3a54
ST
187042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18705
18706 [BZ #3906]
18707 * bits/in.h (IPV6_PKTINFO): Define new macro.
18708 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18709
89c9aa49
AZ
187102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18711
18712 [BZ #13954]
18713 [BZ #13955]
18714 [BZ #13956]
18715 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18716 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18717 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18718 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18719 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18720 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18721 * math/libm-test.inc (logb_test) : Additional logb tests.
18722
021db4be
AJ
187232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18724 Andreas Jaeger <aj@suse.de>
18725
18726 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18727 * configure: Regenerated.
18728 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18729 * config.make.in (link-obsolete-rpc): New substituted variable.
18730 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18731 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18732 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18733 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18734 so that libc.a contains the symbols.
18735 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18736 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18737 * sunrpc/auth_none.c: Likewise.
18738 * sunrpc/auth_unix.c: Likewise.
18739 * sunrpc/authdes_prot.c: Likewise.
18740 * sunrpc/authuxprot.c: Likewise.
18741 * sunrpc/clnt_gen.c: Likewise.
18742 * sunrpc/clnt_perr.c: Likewise.
18743 * sunrpc/clnt_raw.c: Likewise.
18744 * sunrpc/clnt_simp.c: Likewise.
18745 * sunrpc/clnt_tcp.c: Likewise.
18746 * sunrpc/clnt_udp.c: Likewise.
18747 * sunrpc/clnt_unix.c: Likewise.
18748 * sunrpc/des_crypt.c: Likewise.
18749 * sunrpc/des_soft.c: Likewise.
18750 * sunrpc/get_myaddr.c: Likewise.
18751 * sunrpc/key_call.c: Likewise.
18752 * sunrpc/key_prot.c: Likewise.
18753 * sunrpc/netname.c: Likewise.
18754 * sunrpc/pm_getmaps.c: Likewise.
18755 * sunrpc/pm_getport.c: Likewise.
18756 * sunrpc/pmap_clnt.c: Likewise.
18757 * sunrpc/pmap_prot.c: Likewise.
18758 * sunrpc/pmap_prot2.c: Likewise.
18759 * sunrpc/pmap_rmt.c: Likewise.
18760 * sunrpc/publickey.c: Likewise.
18761 * sunrpc/rpc_cmsg.c: Likewise.
18762 * sunrpc/rpc_common.c: Likewise.
18763 * sunrpc/rpc_dtable.c: Likewise.
18764 * sunrpc/rpc_prot.c: Likewise.
18765 * sunrpc/rpc_thread.c: Likewise.
18766 * sunrpc/rtime.c: Likewise.
18767 * sunrpc/svc.c: Likewise.
18768 * sunrpc/svc_auth.c: Likewise.
18769 * sunrpc/svc_raw.c: Likewise.
18770 * sunrpc/svc_run.c: Likewise.
18771 * sunrpc/svc_tcp.c: Likewise.
18772 * sunrpc/svc_udp.c: Likewise.
18773 * sunrpc/svc_unix.c: Likewise.
18774 * sunrpc/svcauth_des.c: Likewise.
18775 * sunrpc/xcrypt.c: Likewise.
18776 * sunrpc/xdr.c: Likewise.
18777 * sunrpc/xdr_array.c: Likewise.
18778 * sunrpc/xdr_float.c: Likewise.
18779 * sunrpc/xdr_intXX_t.c: Likewise.
18780 * sunrpc/xdr_mem.c: Likewise.
18781 * sunrpc/xdr_rec.c: Likewise.
18782 * sunrpc/xdr_ref.c: Likewise.
18783 * sunrpc/xdr_sizeof.c: Likewise.
18784 * sunrpc/xdr_stdio.c: Likewise.
18785
b5c086a2
RM
187862012-05-10 Roland McGrath <roland@hack.frob.com>
18787
18788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18789 change. Update copyright years.
18790
6d74dd09
JM
187912012-05-10 Joseph Myers <joseph@codesourcery.com>
18792
18793 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18794
28e72501
MK
187952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18796 Joseph Myers <joseph@codesourcery.com>
18797 Paul Pluzhnikov <ppluzhnikov@google.com>
18798
18799 [BZ #14012]
18800 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18801 requiring rpcgen.
18802 [cross-compiling] (extra-libs): Likewise.
18803 [cross-compiling] (extra-libs-others): Likewise.
18804 [cross-compiling] (librpcsvc-routines): Likewise.
18805 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18806 [cross-compiling] (omit-deps): Likewise.
18807 (sunrpc-CPPFLAGS): New variable.
18808 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18809 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18810 (cross-rpcgen-objs): New variable.
18811 (extra-objs): Append $(cross-rpcgen-objs).
18812 ($(cross-rpcgen-objs)): New rule.
18813 ($(objpfx)cross-rpcgen): Likewise.
18814 (rpcgen-cmd): Define to use $(built-program-file). Expand
18815 comment.
18816 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18817 ($(objpfx)x%.stmp): Likewise.
18818 * sunrpc/proto.h [IS_IN_build] (_): Define.
18819 [IS_IN_build] (_libc_intl_domainname): Likewise.
18820
c8c59454
L
188212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18822
18823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18824 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18825 and R_X86_64_TPOFF64.
18826
6f27cd16
JM
188272012-05-10 Joseph Myers <joseph@codesourcery.com>
18828
18829 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18830 sysdeps/unix/sysv/syscalls.list.
18831 (stime): Likewise.
18832 (utime): Likewise.
18833 * sysdeps/unix/sysv/syscalls.list: Remove file.
18834
02467e1c
PE
188352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18836
18837 [BZ #3440]
18838 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18839 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18840 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18841 (__LC_IDENTIFICATION): Make these macros useful in #if
18842 expressions, as required by C99.
18843
da392631
AS
188442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18845
18846 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18847 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18848 after this.
18849
8115f29b
L
188502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18851
18852 * stdlib/longlong.h: Updated from GCC.
18853
bdd74070
AJ
188542012-05-09 Andreas Jaeger <aj@suse.de>
18855
edfe0dbe
AJ
18856 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18857 default is first entry.
18858 (run_mode): Set type.
18859 (main): Remove informal message about syslog.
18860 (options): Fix typo.
18861
bcfe3a54
ST
18862 [BZ #14053]
18863 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18864 to asm.
bcfe3a54
ST
18865 (lrint): Likewise.
18866 (llrintf): Likewise.
18867 (llrint): Likewise.
18868 (rint): Likewise.
18869 (rintf): Likewise.
18870 (nearbyint): Likewise.
18871 (nearbyintf): Likewise.
bdd74070 18872
91d8d69e
AJ
188732012-05-09 Andreas Jaeger <aj@suse.de>
18874 Pedro Alves <palves@redhat.com>
18875
18876 * nscd/nscd.c (run_mode): Use enum.
18877 (main): Cleanup coding style issue.
18878
bb90b80b
AJ
188792012-05-09 Alexandre Oliva <aoliva@redhat.com>
18880 Andreas Jaeger <aj@suse.de>
18881
bcfe3a54
ST
18882 * nscd/nscd.c (go_background): Replaced with...
18883 (run_mode): ... this.
bb90b80b 18884 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18885 (options): Add -F --foreground.
18886 (main): Implement it.
18887 (parse_opt): Parse it.
bb90b80b 18888
1a4b75a1
AJ
188892012-05-09 Andreas Jaeger <aj@suse.de>
18890
18891 [BZ #14083]
18892 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18893 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18894 -Wconversion warning.
18895 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18896 Likewise.
18897
b1cc2472
JM
188982012-05-09 Joseph Myers <joseph@codesourcery.com>
18899
18900 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18901 == 0.
18902 (LC_ALL): Use macro-int-constant.
18903 (LC_COLLATE): Likewise.
18904 (LC_CTYPE): Likewise.
18905 (LC_MESSAGES): Likewise.
18906 (LC_MONETARY): Likewise.
18907 (LC_NUMERIC): Likewise.
18908 (LC_TIME): Likewise.
18909 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18910 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18912 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18913 Specify type.
18914 [C99-based standards] (float_t): Expect type.
18915 [C99-based standards] (double_t): Expect type.
18916 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18917 type.
18918 [C99-based standards] (HUGE_VALL): Likewise.
18919 [C99-based standards] (INFINITY): Likewise.
18920 [C99-based standards] (NAN): Likewise.
18921 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18922 [C99-based standards] (FP_NAN): Likewise.
18923 [C99-based standards] (FP_NORMAL): Likewise.
18924 [C99-based standards] (FP_SUBNORMAL): Likewise.
18925 [C99-based standards] (FP_ZERO): Likewise.
18926 [C99-based standards] (FP_FAST_FMA): Use
18927 optional-macro-int-constant. Specify type. Require == 1.
18928 [C99-based standards] (FP_FAST_FMAF): Likewise.
18929 [C99-based standards] (FP_FAST_FMAL): Likewise.
18930 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18931 [C99-based standards] (FP_ILOGBNAN): Likewise.
18932 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18933 Specify type.
18934 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18935 [C99-based standards] (math_errhandling): Specify type.
18936 [ISO99 || ISO11] (signgam): Do not allow.
18937 [non-C99-based standards] (copysignf): Do not allow.
18938 [non-C99-based standards] (exp2f): Likewise.
18939 [non-C99-based standards] (log2f): Likewise.
18940 [non-C99-based standards] (modff): Allow.
18941 [non-C99-based standards] (erff): Do not allow.
18942 [non-C99-based standards] (erfcf): Likewise.
18943 [non-C99-based standards] (gammaf): Likewise.
18944 [non-C99-based standards] (hypotf): Likewise.
18945 [non-C99-based standards] (j0f): Likewise.
18946 [non-C99-based standards] (j1f): Likewise.
18947 [non-C99-based standards] (jnf): Likewise.
18948 [non-C99-based standards] (lgammaf): Likewise.
18949 [non-C99-based standards] (tgammaf): Likewise.
18950 [non-C99-based standards] (y0f): Likewise.
18951 [non-C99-based standards] (y1f): Likewise.
18952 [non-C99-based standards] (ynf): Likewise.
18953 [non-C99-based standards] (isnanf): Likewise.
18954 [non-C99-based standards] (acoshf): Likewise.
18955 [non-C99-based standards] (asinhf): Likewise.
18956 [non-C99-based standards] (atanhf): Likewise.
18957 [non-C99-based standards] (cbrtf): Likewise.
18958 [non-C99-based standards] (expm1f): Likewise.
18959 [non-C99-based standards] (ilogbf): Likewise.
18960 [non-C99-based standards] (log1pf): Likewise.
18961 [non-C99-based standards] (logbf): Likewise.
18962 [non-C99-based standards] (nextafterf): Likewise.
18963 [non-C99-based standards] (remainderf): Likewise.
18964 [non-C99-based standards] (rintf): Likewise.
18965 [non-C99-based standards] (scalbf): Likewise.
18966 [non-C99-based standards] (copysignl): Likewise.
18967 [non-C99-based standards] (exp2l): Likewise.
18968 [non-C99-based standards] (log2l): Likewise.
18969 [non-C99-based standards] (modfl): Allow.
18970 [non-C99-based standards] (erfl): Do not allow.
18971 [non-C99-based standards] (erfcl): Likewise.
18972 [non-C99-based standards] (gammal): Likewise.
18973 [non-C99-based standards] (hypotl): Likewise.
18974 [non-C99-based standards] (j0l): Likewise.
18975 [non-C99-based standards] (j1l): Likewise.
18976 [non-C99-based standards] (jnl): Likewise.
18977 [non-C99-based standards] (lgammal): Likewise.
18978 [non-C99-based standards] (tgammal): Likewise.
18979 [non-C99-based standards] (y0l): Likewise.
18980 [non-C99-based standards] (y1l): Likewise.
18981 [non-C99-based standards] (ynl): Likewise.
18982 [non-C99-based standards] (isnanl): Likewise.
18983 [non-C99-based standards] (acoshl): Likewise.
18984 [non-C99-based standards] (asinhl): Likewise.
18985 [non-C99-based standards] (atanhl): Likewise.
18986 [non-C99-based standards] (cbrtl): Likewise.
18987 [non-C99-based standards] (expm1l): Likewise.
18988 [non-C99-based standards] (ilogbl): Likewise.
18989 [non-C99-based standards] (log1pl): Likewise.
18990 [non-C99-based standards] (logbl): Likewise.
18991 [non-C99-based standards] (nextafterl): Likewise.
18992 [non-C99-based standards] (remainderl): Likewise.
18993 [non-C99-based standards] (rintl): Likewise.
18994 [non-C99-based standards] (scalbl): Likewise.
18995 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18996 [non-C99-based standards] (FP_*): Do not allow.
18997 [C99-based standards] (FP_*): Change to
18998 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18999 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19000 allow.
19001 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19002 (SIG_ERR): Likewise.
19003 [X/Open-based standards] (SIG_HOLD): Likewise.
19004 (SIG_IGN): Likewise.
19005 (SIGABRT): Use macro-int-constant. Specify type. Require
19006 positive value.
19007 (SIGFPE): Likewise.
19008 (SIGILL): Likewise.
19009 (SIGINT): Likewise.
19010 (SIGSEGV): Likewise.
19011 (SIGTER): Likewise.
19012 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19013 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19014 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19015 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19016 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19017 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19018 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19019 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19020 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19021 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19022 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19023 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19024 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19025 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19026 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19027 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19028 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19029 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19030 [X/Open-based standards] (SIGTRAP): Likewise.
19031 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19032 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19033 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19034 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19035 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19036 allow.
19037
b9f1922d
IW
190382012-05-08 Ian Wienand <ianw@vmware.com>
19039
19040 [BZ #14080]
19041 * time/tzset.c (__tzset_parse_tz): Update default rules for
19042 daylight time changes in the Energy Policy Act of 2005.
19043
1db86e88
AJ
190442012-05-09 Andreas Jaeger <aj@suse.de>
19045
19046 [BZ #13983]
19047 * elf/ldconfig.c (parse_conf): Change string to make clear that
19048 ldconfig only issued a warning if ld.so.conf does not exist.
19049
dee4a4e3
DM
190502012-05-08 David S. Miller <davem@davemloft.net>
19051
ee0db190
DM
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19053 movxtod instead of popping the value on the stack.
19054
dee4a4e3
DM
19055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19056
6a43ec98
CD
190572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19058
19059 * config.h.in: Add HAVE_ARM_PCS_VFP.
19060
05c2c961
RMG
190612012-05-08 Roland Mc Grath <roland@hack.frob.com>
19062
bcfe3a54
ST
19063 [BZ #13979]
19064 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19065 checking but the checks are disabled for any reason.
05c2c961 19066
4b30f61a
L
190672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19068
19069 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19070 and ELF64_R_TYPE with ELFW(R_TYPE).
19071
eee2bc67
JM
190722012-05-08 Joseph Myers <joseph@codesourcery.com>
19073
7ea5391a
JM
19074 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19075 (ulimit): Likewise.
19076
eee2bc67
JM
19077 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19078 (settimeofday): Likewise.
19079
abb66a67
MF
190802012-05-08 Mike Frysinger <vapier@gentoo.org>
19081
19082 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19083 a struct th_u2 inside the union, and move tu_block/tu_code into
19084 a new th_u3 union of tu_block/tu_code inside of that. Move
19085 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19086 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19087 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19088 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19089 (th_stuff): Change to th_u1.tu_stuff.
19090 (th_data): Define.
19091 (th_msg): Change to th_u1.th_u2.tu_data.
19092
7f18b530
DM
190932012-05-07 David S. Miller <davem@davemloft.net>
19094
05760585
DM
19095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19096
7f18b530
DM
19097 [BZ #14074]
19098 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19099 (SETUP_PIC_REG): Use it.
19100 (SETUP_PIC_REG_LEAF): Use it.
19101
495fd99f
JM
191022012-05-07 Joseph Myers <joseph@codesourcery.com>
19103
19104 [BZ #13885]
19105 [BZ #13923]
19106 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19107 USE_AS_EXPM1L.
19108 (EXPL_FINITE): Likewise.
19109 (FLDLOG): Likewise.
19110 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19111 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19112 e_expl.S.
19113 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19114 USE_AS_EXPM1L.
19115 (EXPL_FINITE): Likewise.
19116 (FLDLOG): Likewise.
19117 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19118 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19119 e_expl.S.
19120 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19121 test of -max_value argument for long double.
19122 * sysdeps/i386/fpu/libm-test-ulps: Update.
19123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19124
6693d694
DM
191252012-05-06 David S. Miller <davem@davemloft.net>
19126
19127 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19128 quad soft-float symbols whose references which are compiler
19129 generated.
19130 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19131
6c23e11c
JM
191322012-05-06 Joseph Myers <joseph@codesourcery.com>
19133
d8b82cad
JM
19134 [BZ #13884]
19135 [BZ #13914]
19136 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19137 USE_AS_EXP10L.
19138 (EXPL_FINITE): Likewise.
19139 (FLDLOG): Likewise.
19140 (c0): Likewise.
19141 (c1): Likewise.
19142 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19143 Adjust comments for base varying.
19144 (__expl_finite): Change alias to EXPL_FINITE.
19145 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19146 e_expl.S.
19147 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19148 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19150 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19151 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19152 USE_AS_EXP10L.
19153 (EXPL_FINITE): Likewise.
19154 (FLDLOG): Likewise.
19155 (c0): Likewise.
19156 (c1): Likewise.
19157 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19158 Adjust comments for base varying.
19159 (__expl_finite): Change alias to EXPL_FINITE.
19160 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19161 tests for bugs.
19162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19163
6c23e11c
JM
19164 [BZ #14064]
19165 * math/libm-test.inc (check_float_internal): Correct ulp
19166 calculation for subnormal expected results.
19167
29ba805c
AJ
191682012-05-06 Andreas Jaeger <aj@suse.de>
19169
19170 * Makeconfig (+math-flags): New, set to -frounding-math.
19171 (+cflags): Add +math-flags so that all of glibc gets compiled with
19172 it.
19173
19174 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19175
7b17aeda
JM
191762012-05-05 Joseph Myers <joseph@codesourcery.com>
19177
5779f134
JM
19178 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19179 Disable one test.
19180
41498f4d
JM
19181 [BZ #13787]
19182 [BZ #13922]
19183 [BZ #14036]
19184 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19185 (__ieee754_expl): Allow for and saturate large arguments.
19186 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19187 (u_threshold): Likewise.
19188 (__exp): Call __ieee754_exp before checking for overflow and
19189 underflow.
19190 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19191 (u_threshold): Likewise.
19192 (__expf): Call __ieee754_expf before checking for overflow and
19193 underflow.
19194 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19195 (u_threshold): Likewise.
19196 (__expl): Call __ieee754_expl before checking for overflow and
19197 underflow.
19198 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19199 (__ieee754_expl): Allow for and saturate large arguments.
19200 * math/libm-test.inc (exp_test): Add another test. Do not allow
19201 missing overflow exception on overflow.
19202 (expm1_test): Do not allow missing overflow exception on overflow.
19203
6698b8bf
JM
19204 * sysdeps/i386/fpu/e_expl.c: Move to ...
19205 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19206 rather than using inline asm.
19207 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19208 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19209 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19210
7b17aeda
JM
19211 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19212 (nice): Likewise.
19213 (poll): Likewise.
19214 (signal): Likewise.
19215 (time): Likewise.
19216 (times): Likewise.
19217
f7c85819
JM
192182012-05-04 Joseph Myers <joseph@codesourcery.com>
19219
19220 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19221 sysdeps/unix/common/syscalls.list.
19222 (fchmod): Likewise.
19223 (fchown): Likewise.
19224 (ftruncate): Likewise.
19225 (getrusage): Likewise.
19226 (gettimeofday): Likewise.
19227 (setpgid): Likewise.
19228 (setregid): Likewise.
19229 (setreuid): Likewise.
19230 (sigaction): Likewise.
19231 (truncate): Likewise.
19232 (vhangup): Likewise.
19233 * sysdeps/unix/common/syscalls.list: Remove file.
19234 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19235 * sysdeps/unix/sysv/linux/Implies: Likewise.
19236
336270d0
L
192372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19238
19239 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19241 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19242 Moved to ...
19243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19244 Here.
19245 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19246 to ...
19247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19248 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19249 to ...
19250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19251 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19252 to ...
19253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19254 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19255 to ...
19256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19257 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19258 to ...
19259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19260 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19261 to ...
19262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19263 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19264 to ...
19265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19266 Here.
19267 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19268 to ...
19269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19270 Here.
19271 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19272 to ...
19273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19274 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19275 Moved to ...
19276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19277 Here.
19278 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19279 to ...
19280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19281
d128e450
JM
192822012-05-04 Joseph Myers <joseph@codesourcery.com>
19283
fa8ee516
JM
19284 * sysdeps/unix/common/bits/dirent.h: Remove file.
19285 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19286
d128e450
JM
19287 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19288 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19289 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19290 * sysdeps/unix/bsd/isatty.c: Likewise.
19291 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19292 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19293 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19294
ff8faaf0 192952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19296
62881be4 19297 [BZ #13563]
31dc8730
AZ
19298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19299 long double comparison inaccuracies.
19300 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19302
6fef930c
AS
193032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19304
19305 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19306 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19307
8f203e6c
JM
193082012-05-04 Joseph Myers <joseph@codesourcery.com>
19309
19310 [BZ #14049]
19311 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19312 nonzero digits before rounding a hex value.
19313 * stdlib/tst-strtod.c (tests): Add another test.
19314
5197d9c2
AK
193152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19316
19317 * sysdeps/s390/fpu/libm-test-ulps: Update.
19318
f0c1dedf
AJ
193192012-05-03 Andreas Jaeger <aj@suse.de>
19320
19321 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19322 does not get optimized out.
19323 (malloc_opt_barrier): New.
19324
a65ef2ae 193252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19326 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19327
2b942cb7 19328 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19329 intermediate file deletion.
2b942cb7 19330 (generated): Add .symlist files.
a65ef2ae 19331
54b71e02
JM
193322012-05-03 Joseph Myers <joseph@codesourcery.com>
19333
19334 [BZ #13775]
19335 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19336 Redirect under this condition.
19337 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19338 [__USE_GNU] (__dprintf_chk): Not under this condition.
19339 [__USE_GNU] (__vdprintf_chk): Likewise.
19340 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19341 under this condition.
19342 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19343 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19344 [__USE_XOPEN2K8] (vdprintf): Likewise.
19345 [__USE_GNU] (__dprintf_chk): Not under this condition.
19346 [__USE_GNU] (__vdprintf_chk): Likewise.
19347 [__USE_GNU] (dprintf): Likewise.
19348 [__USE_GNU] (vdprintf): Likewise.
19349
d3dfcc41
RM
193502012-05-03 Roland McGrath <roland@hack.frob.com>
19351
19352 * elf/Makefile (common-generated): Set this instead of generated for
19353 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19354 $(all-built-dso)-derived lists.
19355
7ac30cc5
AJ
193562012-05-03 Andreas Jaeger <aj@suse.de>
19357
0c51e550
AJ
19358 * sysdeps/i386/fpu/libm-test-ulps: Update.
19359
7ac30cc5
AJ
19360 * FAQ: Removed.
19361 * FAQ.in: Likewise.
19362 * scripts/gen-FAQ.pl: Likewise.
19363 * manual/install.texi (Installation): Point to online location of
19364 FAQ.
19365 * Makefile (files-for-dist): Remove FAQ.
19366 (FAQ): Remove.
19367
d4c2917f
AM
193682012-05-02 Allan McRae <allan@archlinux.org>
19369
19370 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19371 (LDFLAGS-reldepmod5.so): Likewise.
19372 (LDFLAGS-reldep6mod1.so): Likewise.
19373 (LDFLAGS-reldep6mod4.so): Likewise.
19374 (LDFLAGS-reldep8mod3.so): Likewise.
19375 (LDFLAGS-unload4mod1.so): Likewise.
19376 (LDFLAGS-unload4mod2.so): Likewise.
19377 (LDFLAGS-tst-initorder): Likewise.
19378 (LDFLAGS-tst-initordera2.so): Likewise.
19379 (LDFLAGS-tst-initordera3.so): Likewise.
19380 (LDFLAGS-tst-initordera4.so): Likewise.
19381 (LDFLAGS-tst-initorderb2.so): Likewise.
19382 (LDFLAGS-noload): Likewise.
19383 (LDFLAGS-next): Likewise.
19384 (LDFLAGS-order2mod1.so): Likewise.
19385 (LDFLAGS-order2mod2.so): Likewise.
19386 (LDFLAGS-tst-initorder2): Likewise.
19387 (LDFLAGS-tst-initorder2a.so): Likewise.
19388 (LDFLAGS-tst-initorder2b.so): Likewise.
19389 (LDFLAGS-tst-initorder2c.so): Likewise.
19390 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19391
d77f993f
DM
193922012-05-02 David S. Miller <davem@davemloft.net>
19393
19394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19395
171a70b4
PP
193962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19397
19398 [BZ #14055]
19399 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19400
0be196ad
AJ
194012012-05-02 Andreas Jaeger <aj@suse.de>
19402
19403 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19404 since we manipulate rounding mode.
19405 (CPPFLAGS-test-idouble.c): Likewise.
19406 (CPPFLAGS-test-ifloat.c): Likewise.
19407 (CFLAGS-test-ldouble.c): Likewise.
19408 (CFLAGS-test-double.c): Likewise.
19409 (CFLAGS-test-float.c): Likewise.
19410 (CFLAGS-test-misc.c): Likewise.
19411 (CFLAGS-test-test-fenv.c): Likewise.
19412
4f9d04aa
AZ
194132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19414
2b942cb7
RM
19415 [BZ #2550]
19416 [BZ #2570]
19417 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19418 comparisons to determine direction to adjust input.
4f9d04aa 19419
82a79e7d
RM
194202012-05-01 Roland McGrath <roland@hack.frob.com>
19421
f5a01ca9
RM
19422 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19423 output to the target.
19424
90fe4186
RM
19425 * scripts/localplt.awk: New file.
19426 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19427 (check-localplt-CFLAGS): Variable removed.
19428 ($(all-built-dso:=.jmprel)): New static pattern rule.
19429 (generated): Add those targets.
19430 (localplt-built-dso): New variable.
19431 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19432
19433 * elf/check-localplt.c: File removed.
19434
82397ed6
RM
19435 * scripts/check-execstack.awk: New file.
19436 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19437 (check-execstack-CFLAGS): Variable removed.
19438 ($(objpfx)check-execstack.h): Target removed.
19439 ($(objpfx)execstack-default): New target.
19440 (generated): Add that instead of check-execstack.h.
19441 ($(all-built-dso:=.phdr)): New static pattern rule.
19442 (generated): Add those targets.
19443 * elf/check-execstack.c: File removed.
19444
82a79e7d
RM
19445 * scripts/check-textrel.awk: New file.
19446 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19447 (check-textrel-CFLAGS): Variable removed.
19448 (all-built-dso): Use := to define.o
19449 ($(all-built-dso:=.dyn)): New static pattern rule.
19450 (generated): Add those targets.
19451 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19452 * config.make.in (READELF): New substituted variable.
19453 * elf/check-textrel.c: File removed.
19454
62fde54f 194552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19456
615605c9
JM
19457 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19458 allow.
19459 * conform/data/ctype.h-data [C99-based standards] (isblank):
19460 Expect function.
19461 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19462 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19463 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19464 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19465 Specify type. Require positive value.
19466 (EILSEQ): Likewise.
19467 (ERANGE): Likewise.
19468 [ISO || POSIX] (EILSEQ): Do not expect.
19469 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19470 Specify type. Require positive value.
19471 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19472 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19473 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19474 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19475 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19476 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19477 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19478 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19479 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19480 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19481 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19482 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19483 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19484 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19485 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19486 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19487 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19488 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19489 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19490 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19491 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19492 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19493 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19494 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19495 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19496 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19497 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19498 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19499 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19500 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19501 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19502 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19503 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19504 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19505 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19506 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19507 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19508 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19509 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19510 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19511 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19512 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19513 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19514 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19515 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19516 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19517 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19518 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19519 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19520 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19521 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19522 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19539 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19545 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19546 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19547 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19548 Require >= 2.
19549 (FLT_ROUNDS): Expect as macro, not constant.
19550 (FLT_MANT_DIG): Use macro-int-constant.
19551 (DBL_MANT_DIG): Likewise.
19552 (LDBL_MANT_DIG): Likewise.
19553 (FLT_DIG): Likewise.
19554 (DBL_DIG): Likewise.
19555 (LDBL_DIG): Likewise.
19556 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19557 (DBL_MIN_EXP): Likewise.
19558 (LDBL_MIN_EXP): Likewise.
19559 (FLT_MAX_EXP): Use macro-int-constant.
19560 (DBL_MAX_EXP): Likewise.
19561 (LDBL_MAX_EXP): Likewise.
19562 (FLT_MAX_10_EXP): Likewise.
19563 (DBL_MAX_10_EXP): Likewise.
19564 (LDBL_MAX_10_EXP): Likewise.
19565 (FLT_MAX): Use macro-constant.
19566 (DBL_MAX): Likewise.
19567 (LDBL_MAX): Likewise.
19568 (FLT_EPSILON): Use macro-constant. Give upper bound.
19569 (DBL_EPSILON): Likewise.
19570 (LDBL_EPSILON): Likewise.
19571 (FLT_MIN): Likewise.
19572 (DBL_MIN): Likewise.
19573 (LDBL_MIN): Likewise.
19574 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19575 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19576 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19577 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19578 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19579 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19580 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19581 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19582 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19583 [ISO11] (FLT_TRUE_MIN): Likewise.
19584 [ISO11] (LDBL_TRUE_MIN): Likewise.
19585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19586 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19587 (SCHAR_MIN): Use macro-int-constant. Specify type.
19588 (SCHAR_MAX): Likewise.
19589 (UCHAR_MAX): Likewise.
19590 (CHAR_MIN): Likewise.
19591 (CHAR_MAX): Likewise.
19592 (MB_LEN_MAX): Use macro-int-constant.
19593 (SHRT_MIN): Use macro-int-constant. Specify type.
19594 (SHRT_MAX): Likewise.
19595 (USHRT_MAX): Likewise.
19596 (INT_MAX): Likewise.
19597 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19598 bound negative.
19599 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19600 bound with "U".
19601 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19602 bound with "L".
19603 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19604 bound negative. Suffix upper bound with "L".
19605 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19606 bound with "UL".
19607 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19608 Specify type.
19609 [C99-based standards] (LLONG_MAX): Likewise.
19610 [C99-based standards] (ULLONG_MAX): Likewise.
19611 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19612 == 0.
19613 [ISO11] (max_align_t): Require type.
19614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19615
c9140a62
JM
19616 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19617 from $CFLAGS, without defining away __attribute__ calls.
19618 (checknamespace): Use $CFLAGS_namespace.
19619
9af0bf29
JM
19620 * conform/conformtest.pl (@keywords): Only include C99 keywords
19621 for standards based on C99 or C11.
19622
343222a2
JM
19623 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19624 Disable tests.
19625 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19626 UNIX98]: Likewise.
19627
661f8cf0
JM
19628 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19629 usability of symbols in #if.
19630
ee74b9cb
JM
19631 * conform/conformtest.pl: If macro or constant types start
19632 "promoted:", expect the symbol to be of the following type
19633 promoted by the integer promotions.
62fde54f 19634
aafc49b3
JM
19635 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19636 in one place. Also handle "macro-constant".
19637
fefdf574
JM
19638 * conform/conformtest.pl: Only accept expected macro values with
19639 "==". Parse all "macro" lines in one place.
19640 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19641
f2d922fe
JM
19642 * conform/conformtest.pl: Handle braced types on "constant" lines
19643 instead of handling "typed-constant".
19644 * conform/data/signal.h-data: Use "constant" instead of
19645 "typed-constant".
19646
d22956c9
JM
19647 * conform/conformtest.pl: Handle "optional-" at start of lines in
19648 one place rather than duplicating several cases. Handle each
19649 format of "macro" line with initial "optional-".
19650
028e2e38
JM
19651 * conform/conformtest.pl: Only accept expected constant or
19652 optional-constant values with "==". Parse all "constant" lines in
19653 one place. Parse all "optional-constant" lines in one place.
19654 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19655 * conform/data/fmtmsg.h-data: Likewise.
19656 * conform/data/netinet/in.h-data: Likewise.
19657 * conform/data/tar.h-data: Likewise.
19658 * conform/data/limits.h-data: Use "==" form on "constant" and
19659 "optional-constant" lines.
19660
1b8f2850
JM
19661 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19662 Use -std=c99 for XOPEN2K.
19663 (@knownproblems): Remove.
19664 (newtoken): Don't check %isknown.
19665
a05a144b
JM
19666 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19667 Do not expect macro.
19668 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19669 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19670 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19674 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19675 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19676 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19680 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19681 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19687 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19689 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19690 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19691 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19692 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19693 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19694 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19695 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19696 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19697 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19698 [XPG3] (acosh): Likewise.
19699 [XPG3] (asinh): Likewise.
19700 [XPG3] (atanh): Likewise.
19701 [XPG3] (cbrt): Likewise.
19702 [XPG3] (expm1): Likewise.
19703 [XPG3] (ilogb): Likewise.
19704 [XPG3] (log1p): Likewise.
19705 [XPG3] (logb): Likewise.
19706 [XPG3] (nextafter): Likewise.
19707 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19708 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19709 [XPG3] (remainder): Likewise.
19710 [XPG3] (rint): Likewise.
19711 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19712 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19714 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19718 [UNIX98 || XOPEN2K] (scalb): Expect.
19719 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19720 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19749 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19750 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19751 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19752 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19755 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19756 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19770 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19771 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19850 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19851 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19852 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19853 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19854 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19855 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19856
73c5ebe3
JM
19857 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19858 _XOPEN_SOURCE_EXTENDED for XPG4.
19859
39c33b6c
JM
19860 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19861
62fde54f
JM
19862 * Makeconfig (localtime): Remove variable.
19863 (inst_localtime-file): Likewise.
19864
0741d64c
AS
198652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19866
19867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19868 Update.
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19870 Update.
19871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19872 Update.
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19874 Update.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19876 Update.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19878 Update.
19879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19880 Update.
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19882 Update.
19883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19884 Update.
19885
7cb029ee
JM
198862012-05-01 Joseph Myers <joseph@codesourcery.com>
19887
19888 [BZ #2550]
19889 [BZ #2570]
19890 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19891 comparisons to determine direction to adjust input.
19892 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19893 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19894 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19895 Likewise.
19896 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19897 Likewise.
19898 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19899 Likewise.
19900 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19901 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19902 Likewise.
19903 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19904 Likewise.
19905 * math/libm-test.inc (nexttoward_test): Add more tests.
19906
412bd966
AS
199072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19908
19909 [BZ #14040]
19910 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19911 in version GLIBC_2.1, not GLIBC_2.0.
19912 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19913 Likewise.
19914
9568c0c2
JM
199152012-04-30 Joseph Myers <joseph@codesourcery.com>
19916
adfbc8ac
JM
19917 [BZ #13942]
19918 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19919 (1 - x) * (1 + x).
19920 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19921 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19922 * math/libm-test.inc (acos_test): Add more tests.
19923 (asin_test): Likewise.
19924 * sysdeps/i386/fpu/libm-test-ulps: Update.
19925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19926
5ba3cc69
JM
19927 [BZ #14034]
19928 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19929 of square root.
19930 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19931 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19932 * math/libm-test.inc (acos_test_tonearest): New function.
19933 (acos_test_towardzero): Likewise.
19934 (acos_test_downward): Likewise.
19935 (acos_test_upward): Likewise.
19936 (asin_test_tonearest): Likewise.
19937 (asin_test_towardzero): Likewise.
19938 (asin_test_downward): Likewise.
19939 (asin_test_upward): Likewise.
19940 (main): Call the new functions.
19941 * sysdeps/i386/fpu/libm-test-ulps: Update.
19942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19943
9568c0c2
JM
19944 [BZ #13884]
19945 [BZ #13924]
19946 * math/e_exp10.c: Include <float.h>.
19947 (__ieee754_exp10): Handle underflow here rather than multiplying
19948 large negative argument by M_LN10.
19949 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19950 of __ieee754_expf.
19951 * math/e_exp10l.c: Include <float.h>.
19952 (__ieee754_exp10l): Handle underflow here rather than multiplying
19953 large negative argument by M_LN10l.
19954 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19955 spurious overflow exception on underflow.
19956
5ac3ea17
MP
199572012-04-29 Marek Polacek <polacek@redhat.com>
19958
19959 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19960 (__fortify_function): New macro.
19961 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19962 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19963 __extern_always_inline.
19964 * libio/bits/stdio2.h: Likewise.
19965 * libio/bits/stdio.h: Likewise.
19966 * string/string.h: Likewise.
19967 * string/bits/string3.h: Likewise.
19968 * include/stdio.h: Likewise.
19969 * stdlib/bits/stdlib.h: Likewise.
19970 * stdlib/stdlib.h: Likewise.
19971 * rt/bits/mqueue2.h: Likewise.
19972 * rt/mqueue.h: Likewise.
19973 * posix/bits/unistd.h: Likewise.
19974 * posix/unistd.h: Likewise.
19975 * io/bits/poll2.h: Likewise.
19976 * io/bits/fcntl2.h: Likewise.
19977 * io/fcntl.h: Likewise.
19978 * io/sys/poll.h: Likewise.
19979 * misc/bits/syslog.h: Likewise.
19980 * misc/bits/syslog-ldbl.h: Likewise.
19981 * misc/sys/syslog.h: Likewise.
19982 * socket/bits/socket2.h: Likewise.
19983 * socket/sys/socket.h: Likewise.
19984 * debug/tst-chk1.c: Likewise.
19985 * wcsmbs/bits/wchar2.h: Likewise.
19986 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19987 * wcsmbs/wchar.h: Likewise.
19988
ecf0ebfb
AJ
199892012-04-29 Andreas Jaeger <aj@suse.de>
19990
19991 * Makerules (tests): Remove enable-check-abi protection.
19992 (check-abi-warn): Remove.
19993 (check-abi-%): Remove check-abi-warn usage.
19994
19995 * configure.in: Remove check-abi configure option.
19996 * configure: Regenerated.
19997 * config.make.in (enable-check-abi): Remove.
19998
6d5c57fa
AS
199992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20000
24c5d07e 20001 [BZ #14033]
ded5180a
AS
20002 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20003 double functions to double *_finite functions.
20004
7e0d315d
AS
20005 [BZ #13941]
20006 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20007 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20008 LDBL_MIN_EXP.
20009 * stdio-common/Makefile (tests): Add tst-sprintf3.
20010 * stdio-common/tst-sprintf3.c: New file.
20011
6d5c57fa
AS
20012 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20013 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20014
0749ff8b
JM
200152012-04-28 Joseph Myers <joseph@codesourcery.com>
20016
20017 * conform/conformtest.pl: Remove duplicate typed-constant
20018 handling.
20019
8dbd5d7b
DM
200202012-04-28 David S. Miller <davem@davemloft.net>
20021
20022 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20023 (check-abi-%): Remove AWK script prerequisite and explicit
20024 abilist directory.
20025 (check-abi): Rewrite to just diff the symlist with the abilist.
20026 (config-tls, config-abi-config): Delete, no longer used.
20027 (update-abi-%): Remove AWK script and explicit abilist directory.
20028 (update-abi): Rewrite to simply compare and conditionally copy the
20029 symlist and the sysdep abilist file. Remove update-abi-config
20030 checks.
20031 * abilist/ld.abilist: Remove.
20032 * abilist/libBrokenLocale.abilist: Remove.
20033 * abilist/libanl.abilist: Remove.
20034 * abilist/libcrypt.abilist: Remove.
20035 * abilist/libdl.abilist: Remove.
20036 * abilist/librt.abilist: Remove.
20037 * abilist/libthread_db.abilist: Remove.
20038 * abilist/libutil.abilist: Remove.
20039 * scripts/extract-abilist.awk: Remove.
20040 * scripts/merge-abilist.awk: Remove.
20041 * sysdeps/generic/libcidn.abilist: New file.
20042 * sysdeps/generic/libnss_compat.abilist: New file.
20043 * sysdeps/generic/libnss_db.abilist: New file.
20044 * sysdeps/generic/libnss_dns.abilist: New file.
20045 * sysdeps/generic/libnss_files.abilist: New file.
20046 * sysdeps/generic/libnss_hesiod.abilist: New file.
20047 * sysdeps/generic/libnss_nis.abilist: New file.
20048 * sysdeps/generic/libnss_nisplus.abilist: New file.
20049 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20050 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20051 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20052 file.
20053 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20054 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20055 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20056 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20057 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20058 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20059 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20060 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20061 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20062 file.
20063 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20064 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20065 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20066 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20067 file.
20068 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20069 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20070 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20071 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20072 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20073 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20074 file.
20075 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20076 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20077 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20078 file.
20079 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20081 New file.
20082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20083 New file.
20084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20085 New file.
20086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20087 New file.
20088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20089 New file.
20090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20091 New file.
20092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20093 New file.
20094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20095 New file.
20096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20097 New file.
20098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20099 New file.
20100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20101 New file.
20102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20103 New file.
20104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20105 New file.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20107 file.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20109 New file.
20110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20111 New file.
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20113 file.
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20115 New file.
20116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20117 New file.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20119 file.
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20121 New file.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20123 New file.
20124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20125 New file.
20126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20127 New file.
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20129 New file.
20130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20131 New file.
20132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20134 file.
20135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20136 New file.
20137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20138 file.
20139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20140 file.
20141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20142 file.
20143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20144 file.
20145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20146 file.
20147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20148 New file.
20149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20150 file.
20151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20152 file.
20153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20154 New file.
20155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20156 file.
20157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20159 file.
20160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20161 New file.
20162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20163 file.
20164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20165 file.
20166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20167 file.
20168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20169 file.
20170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20171 file.
20172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20173 New file.
20174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20175 file.
20176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20177 file.
20178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20179 New file.
20180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20181 file.
20182 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20183 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20184 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20185 file.
20186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20187 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20188 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20189 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20190 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20191 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20192 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20193 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20194 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20195 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20198 file.
20199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20200 New file.
20201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20202 file.
20203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20204 file.
20205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20206 file.
20207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20208 file.
20209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20210 file.
20211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20212 New file.
20213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20214 New file.
20215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20216 file.
20217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20218 New file.
20219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20220 file.
20221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20223 file.
20224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20225 New file.
20226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20227 file.
20228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20229 file.
20230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20231 file.
20232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20233 file.
20234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20235 file.
20236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20237 New file.
20238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20239 New file.
20240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20241 file.
20242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20243 New file.
20244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20245 file.
20246
41d73a1b
JM
202472012-04-28 Joseph Myers <joseph@codesourcery.com>
20248
20249 * conform/conformtest.pl: Fix typo in handling typed-constant from
20250 allow-header.
20251
28aeeda4
JM
202522012-04-27 Joseph Myers <joseph@codesourcery.com>
20253
adae8f5e
JM
20254 * README: Cut down references to pre-2.6 Linux kernels and
20255 Linuxthreads. Update lists of configurations in libc and ports
20256 and sort alphabetically. Say "or newer" with Linux kernel version
20257 requirements.
20258
28aeeda4
JM
20259 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20260
a462cb63
RA
202612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20262
20263 [BZ #887]
20264 * math/libm-test.inc (logb_test_downward): New test to expose
20265 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20266 rounding mode.
20267
6ad3493e
JM
202682012-04-27 Joseph Myers <joseph@codesourcery.com>
20269
20270 [BZ #14027]
20271 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20272 to be done.
20273 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20274 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20275
2ce4f015
JM
202762012-04-26 Joseph Myers <joseph@codesourcery.com>
20277
5aeb141a
JM
20278 * sysdeps/unix/i386/brk.S: Remove file.
20279 * sysdeps/unix/i386/dl-brk.S: Likewise.
20280 * sysdeps/unix/i386/pipe.S: Likewise.
20281 * sysdeps/unix/i386/sigreturn.S: Likewise.
20282 * sysdeps/unix/i386/syscall.S: Likewise.
20283 * sysdeps/unix/i386/vfork.S: Likewise.
20284 * sysdeps/unix/i386/wait.S: Likewise.
20285
7143acae
JM
20286 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20287 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20288
2ce4f015
JM
20289 * configure.in (arm*-none*): Do not allow without
20290 --enable-hacker-mode.
20291 (netbsd*): Remove case setting base_os.
20292 (386bsd*): Likewise.
20293 (freebsd*): Likewise.
20294 (bsdi*): Likewise.
20295 (osf*): Likewise.
20296 (sunos*): Likewise.
20297 (ultrix*): Likewise.
20298 (newsos*): Likewise.
20299 (dynix*): Likewise.
20300 (*bsd*): Likewise.
20301 (sysv*): Likewise.
20302 (isc*): Likewise.
20303 (esix*): Likewise.
20304 (sco*): Likewise.
20305 (minix*): Likewise.
20306 (irix4*): Likewise.
20307 (irix6*): Likewise.
20308 (solaris[2-9]*): Likewise.
20309 (none): Likewise.
20310 * configure: Regenerated.
20311
0ac229c8
AZ
203122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20313
20314 [BZ #11521]
20315 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20316 overflow or cancellation in calculating denominator.
20317 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20319 down expression to avoid unexpected rounding in newer GCCs.
20320 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20321
33f244f4
DM
203222012-04-26 David S. Miller <davem@davemloft.net>
20323
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20325 long-double compat symbols.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20339
cfa1f3e8
DM
203402012-04-25 David S. Miller <davem@davemloft.net>
20341
20342 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20343 HWCAP_* values only after the memory barriers have been defined.
20344 (atomic_full_barrier): Define.
20345 (atomic_read_barrier): Define.
20346 (atomic_write_barrier): Define.
20347
6e236b92
SP
203482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20349
20350 * shlib-versions: Add libgcc_s version information.
20351 * sysdeps/generic/libgcc_s.h: Remove.
20352 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20353 libgcc_s.h.
20354 * sysdeps/gnu/unwind-resume.c: Likewise.
20355 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20356
aab39a09
DM
203572012-04-25 David S. Miller <davem@davemloft.net>
20358
20359 * sysdeps/unix/sparc/brk.S: Delete.
20360 * sysdeps/unix/sparc/dl-brk.S: Delete.
20361 * sysdeps/unix/sparc/pipe.S: Delete.
20362 * sysdeps/unix/sparc/sysdep.S: Delete.
20363 * sysdeps/unix/sparc/sysdep.h: Delete.
20364 * sysdeps/unix/sparc/vfork.S: Delete.
20365 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20366 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20367 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20368 ret_ERRVAL, r0, r1, MOVE): Define.
20369 (JUMPTARGET): Remove.
20370 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20371 sysdeps/unix/sparc/sysdep.h
20372 (ENTRY, END): Remove.
20373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20374
a3cc4f48
JM
203752012-04-25 Joseph Myers <joseph@codesourcery.com>
20376
2ed8cda2
JM
20377 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20378 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20379 -DIS_IN_build.
20380
35d76d59
JM
20381 * timezone/README: Update upstream location and email address for
20382 tzcode and tzdata.
20383 * timezone/zdump.c: Update from tzcode 2012b.
20384 * timezone/zic.c: Likewise.
20385
a3cc4f48
JM
20386 * configure.in (libc_cv_as_needed): Remove test.
20387 * configure: Regenerated.
20388 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20389 conditional definition.
20390 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20391 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20392 * config.make.in (have-as-needed): Remove variable.
20393
ceab42c3
SP
203942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20395 Paul Pluzhnikov <ppluzhnikov@google.com>
20396
20397 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20398 strings correctly.
20399
3ce2865f
CLT
204002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20401
20402 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20403 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20404 * sysdeps/sh/strlen.S: Likewise.
20405
f37e0d68
JM
204062012-04-24 Joseph Myers <joseph@codesourcery.com>
20407
ae186e9a
JM
20408 * sysdeps/unix/fork.S: Remove file.
20409 * sysdeps/unix/i386/fork.S: Likewise.
20410 * sysdeps/unix/sparc/fork.S: Likewise.
20411
b96914af
JM
20412 * sysdeps/unix/system.c: Remove file.
20413 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20414
f37e0d68
JM
20415 * sysdeps/unix/getegid.S: Remove file.
20416 * sysdeps/unix/geteuid.S: Likewise.
20417
87ef29ca
RM
204182012-04-24 Roland McGrath <roland@hack.frob.com>
20419
83bcd236
RM
20420 * scripts/check-localplt.awk: New file.
20421 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20422 of diff.
20423 * scripts/data/localplt-generic.data: Add a comment.
20424
87ef29ca
RM
20425 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20426 NODE when __dir_mkfile failed.
20427 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20428 Reported by Ludovic Courtès <ludo@gnu.org>.
20429
e5a6e567
AJ
204302012-04-24 Andreas Jaeger <aj@suse.de>
20431
20432 * Makerules (common-clean): Also remove gen-as-const-headers
20433 files.
20434
c1820385
JM
204352012-04-24 Joseph Myers <joseph@codesourcery.com>
20436
20437 * Makerules (native-compile): Do not change working directory for
20438 build. Use $(OUTPUT_OPTION) in command.
20439 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20440
94e02fc4
AZ
204412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20442
20443 [BZ #13886]
20444 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20445 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20446 * math/libm-test.inc (floor_test): Add more tests.
20447 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20448
3a533ca3
JM
204492012-04-24 Joseph Myers <joseph@codesourcery.com>
20450
940ab4b3
JM
20451 * sysdeps/unix/getdents.c: Remove file.
20452 * sysdeps/unix/sysv/getdents.c: Likewise.
20453 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20454
90e037bd
JM
20455 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20456 sysdeps/unix/mman/syscalls.list.
20457 (mmap): Likewise.
20458 (mprotect): Likewise.
20459 (msync): Likewise.
20460 (munmap): Likewise.
20461 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20462 * sysdeps/unix/mman/syscalls.list: Remove.
20463 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20464
3a533ca3
JM
20465 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20466 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20467 * configure: Regenerated.
20468 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20469 $(libgcc_s_suffix).
20470 * config.make.in (libgcc_s_suffix): Remove variable.
20471
1ad743de
JM
204722012-04-23 Joseph Myers <joseph@codesourcery.com>
20473
4ad451e2
JM
20474 * sysdeps/unix/sysv/gethostname.c: Move to ...
20475 * sysdeps/posix/gethostname.c: ... here.
20476
5e37ce39
JM
20477 * sysdeps/unix/execve.S: Remove file.
20478
1ad743de
JM
20479 * sysdeps/unix/_exit.S: Remove file.
20480
4e681b5b
AJ
204812012-04-23 Andreas Jaeger <aj@suse.de>
20482
20483 [BZ #13739]
20484 * manual/Makefile: Remove make dist support, there's no
20485 need for a stand-alone documentation tar ball.
20486 (TEXI2DVI): Define always, it's not in Makeconfig.
20487 (dist): Removed.
20488 (tar-it): Removed.
20489 (edition): Removed.
20490 (glibc-doc-$(edition).tar): Removed
20491 (%.Z): Removed.
20492 (%.gz): Removed.
20493 (%.uu): Removed.
20494 (ETAGS): Remove, it's in Makeconfig.
20495 (move-if-change): Remove, it's in Makeconfig.
20496
38686a03 204972012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20498
20499 [BZ #13970]
20500 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20501 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20502 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20503 (strtod_l, strtof_l, strtold_l): Remove __wur.
20504 It is not necessarily an error to ignore strtol's return value.
20505 One can reliably look at the stored endptr to decide whether
20506 the number had valid syntax.
20507
7c0616fa
AJ
205082012-04-21 Andreas Jaeger <aj@suse.de>
20509
803cb6b7 20510 [BZ #13739]
7c0616fa
AJ
20511 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20512
b0fe253f
JM
205132012-04-21 Joseph Myers <joseph@codesourcery.com>
20514
20515 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20516 * sysdeps/unix/sysv/Versions: Remove file.
20517
8280f22d
MT
205182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20519
20520 [BZ #13927]
20521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20522
75ce411f 205232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20524
20525 [BZ #7064]
20526 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20527 version from __vm86.
20528
097d59fa
JM
205292012-04-20 Joseph Myers <joseph@codesourcery.com>
20530
a90f3bcb
JM
20531 * sysdeps/unix/common/lxstat.c: Remove file.
20532 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20533
edc7ea78
JM
20534 * sysdeps/unix/sysv/Makefile: Remove file.
20535
cb78c221
JM
20536 * sysdeps/unix/sysv/direct.h: Remove file.
20537
efa6a45f
JM
20538 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20539 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20540 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20541 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20542 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20543 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20544 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20545
9c9f2d0c
JM
20546 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20547
4541c83b
JM
20548 * sysdeps/unix/xmknod.c: Remove file.
20549 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20550
f5d153a0
JM
20551 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20552
aa746595
JM
20553 * sysdeps/unix/sysv/i386/time.S: Remove file.
20554
cce5905e
JM
20555 * sysdeps/unix/fxstat.c: Remove file.
20556 * sysdeps/unix/xstat.c: Likewise.
20557 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20558
37fa3841
JM
20559 * sysdeps/unix/sysv/sigaction.c: Remove file.
20560
ff1962a3
JM
20561 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20562 (sysdep_headers): Remove variable.
20563 [termio.h not in sysdep_headers] (generated): Likewise.
20564 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20565 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20566 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20567 * sysdeps/unix/sysv/tcflow.c: Likewise.
20568 * sysdeps/unix/sysv/tcflush.c: Likewise.
20569 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20570 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20571 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20572 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20573 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20574
e7740d31
JM
20575 * sysdeps/unix/siglist.c: Remove file.
20576
ee06f18b
JM
20577 * sysdeps/unix/getppid.S: Remove file.
20578
097d59fa
JM
20579 * sysdeps/unix/mkdir.c: Remove file.
20580 * sysdeps/unix/rmdir.c: Likewise.
20581
ff3d51ec
AS
205822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20583
20584 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20585 ERR_MAX value.
20586 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20587 errlist-compat value.
20588
50f81fd7
DM
205892012-04-18 David S. Miller <davem@davemloft.net>
20590
20591 * sysdeps/generic/memcopy.h (reg_char): Delete.
20592 * debug/strcat_chk.c: Use char, not reg_char.
20593 * debug/strcpy_chk.c: Likewise.
20594 * debug/strncat_chk.c: Likewise.
20595 * debug/strncpy_chk.c: Likewise.
20596 * string/memchr.c: Likewise.
20597 * string/memrchr.c: Likewise.
20598 * string/rawmemchr.c: Likewise.
20599 * string/strcat.c: Likewise.
20600 * string/strchr.c: Likewise.
20601 * string/strchrnul.c: Likewise.
20602 * string/strcmp.c: Likewise.
20603 * string/strcpy.c: Likewise.
20604 * string/strncat.c: Likewise.
20605 * string/strncmp.c: Likewise.
20606 * string/strncpy.c: Likewise.
20607
8ff41c46
WS
206082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20609
20610 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20611 __builtin_memcopy is called when src and dest ranges are known to not
20612 overlap.
20613
6b652f46
WS
206142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20615
20616 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20617 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20618 fwd_align_merge macro call.
20619 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20620 bwd_align_merge macro call.
20621 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20622
b282631e
WS
206232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20624
20625 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20626 bwd_align_merge macros.
20627 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20628 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20629 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20630
95aa737c
DM
206312012-04-18 David S. Miller <davem@davemloft.net>
20632
20633 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20634
7a99a614
AJ
206352012-04-18 Andreas Jaeger <aj@suse.de>
20636
20637 [BZ# 6794]
20638 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20639 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20640 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20641
20642 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20643 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20644 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20645
20646 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20647 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20648 Adjust for changed ldbl-128 files.
20649
20650 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20651 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20652 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20653
e5270c23
DM
206542012-04-17 David S. Miller <davem@davemloft.net>
20655
20656 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20657
fb5e92c9
AS
206582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20659
20660 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20661 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20662 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20663 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20664 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20665 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20666
76da7265
AZ
206672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20668
20669 [BZ #6794]
20670 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20671 * math/libm-test.inc: Add ilogb errno and exception tests.
20672 * math/w_ilogb.c: New file: ilogb wrapper.
20673 * math/w_ilogbf.c: New file: ilogbf wrapper.
20674 * math/w_ilogbl.c: New file: ilogbl wrapper.
20675 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20676 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20677 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20678 exception being thrown with 0.0 as argument.
20679 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20680 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20681 exception being thrown with 0.0 as argument.
20682 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20683 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20684 exception being thrown with 0.0 as argument.
20685 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20686 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20687 exception being thrown with 0.0 as argument.
20688 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20689 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20690 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20691 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20692 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20693 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20694 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20695 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20696 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20697
0396e69d
PB
206982012-04-17 Petr Baudis <pasky@ucw.cz>
20699
20700 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20701 with altivec.
20702
750b5926
MP
207032012-04-16 Marek Polacek <polacek@redhat.com>
20704
20705 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20706
751728a1
MP
207072012-04-16 Marek Polacek <polacek@redhat.com>
20708
20709 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20710 operands of fdivp instruction.
20711
34a27407
L
207122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20713
20714 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20715 * elf/tst-auditmod3b.c: Likewise.
20716 * elf/tst-auditmod4b.c: Likewise.
20717 * elf/tst-auditmod5b.c: Likewise.
20718 * elf/tst-auditmod6b.c: Likewise.
20719 * elf/tst-auditmod6c.c: Likewise.
20720 * elf/tst-auditmod7b.c: Likewise.
20721 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20722 * sysdeps/x86_64/preconfigure.in: Likewise.
20723 * sysdeps/x86_64/preconfigure: Regenerated.
20724
7e73e17d
L
207252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20726
20727 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20728 __ILP32__.
20729
c7a6ab72
AB
207302012-04-13 Antoine Balestrat <merkil33@gmail.com>
20731
20732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20733 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20734
a9e8e0e0
CL
207352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20736
20737 [BZ #13973]
20738 * locale/iso-639.def: Fix gl language name. Spotted by
20739 Yaron Shahrabani.
20740
ec98af7d
RM
207412012-04-12 Roland McGrath <roland@hack.frob.com>
20742
20743 [BZ #2074]
20744 * libio/libio.h (__io_write_fn): Update comment.
20745
247c3ede
PB
207462012-04-12 Petr Baudis <pasky@ucw.cz>
20747
20748 [BZ #2074]
20749 * stdio.texi (Hook Functions): The user provided writer function
20750 is not allowed to return -1.
20751
55939d6d
DM
207522012-04-11 David S. Miller <davem@davemloft.net>
20753
20754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20755
90020f5a
MF
207562012-04-11 Mike Frysinger <vapier@gentoo.org>
20757
20758 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20759 Add a leading slash to rtkaio.
20760
288f9098
JM
207612012-04-11 Jim Meyering <meyering@redhat.com>
20762
90020f5a
MF
20763 [BZ #11959]
20764 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20765 It is not necessarily an error to ignore fwrite's return
20766 value. One can reliably use ferror to test for errors after
20767 the fact.
288f9098 20768
4be2b570
L
207692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20770
20771 * bits/types.h (__snseconds_t): New type.
20772 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20773
20774 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20775 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20776 (__SNSECONDS_T_TYPE): Likewise.
20777 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20778 (__SNSECONDS_T_TYPE): Likewise.
20779 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20780 (__SNSECONDS_T_TYPE): Likewise.
20781
288f9098 207822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20783
20784 [BZ #2636]
20785 * manual/time.texi (Processor Time): Return type of times is
20786 elapsed real time since an arbitrary point in the past.
20787 (CPU Time): Move CLK_TCK from here...
20788 (Processor Time): ...to here. Correct description.
20789 * manual/conf.texi (Constants for Sysconf): Correct description of
20790 _SC_CLK_TCK.
20791
d7dd4413
DM
207922012-04-10 David S. Miller <davem@davemloft.net>
20793
20794 [BZ #13967]
20795 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20796 where the is a gap between DT_REL(A) and DT_JMPREL.
20797
b46068fc
L
207982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20799
20800 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20801 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20802 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20803
73d65cc3
SP
208042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20805
20806 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20807 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20808 (dl_main): Handle --inhibit-cache.
20809 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20810 _dl_inhibit_cache.
20811 * elf/dl-load.c (_dl_map_object): Use it.
20812 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20813
bcc8d661
JM
208142012-04-09 Joseph Myers <joseph@codesourcery.com>
20815
8f9a2fae
JM
20816 [BZ #13872]
20817 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20818 (__ieee754_powl): Saturate large exponents rather than testing for
20819 overflow of y*log2(x).
20820 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20821 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20822 exceptions.
20823
bcc8d661
JM
20824 [BZ #11521]
20825 * math/s_ctan.c: Include <float.h>.
20826 (__ctan): Avoid internal overflow or cancellation in calculating
20827 denominator.
20828 * math/s_ctanf.c: Likewise.
20829 * math/s_ctanl.c: Likewise.
20830 * math/s_ctanh.c: Likewise.
20831 * math/s_ctanhf.c: Likewise.
20832 * math/s_ctanhl.c: Likewise.
20833 * math/libm-test.inc (ctan_test): Add more tests.
20834 (ctanh_test): Likewise.
20835 * sysdeps/i386/fpu/libm-test-ulps: Update.
20836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20837
823fbbb4
AJ
208382012-04-09 Andreas Jaeger <aj@suse.de>
20839
03879793
AJ
20840 [BZ #6894]
20841 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20842 is an optional BSD extension.
20843
823fbbb4
AJ
20844 [BZ #10254]
20845 * manual/stdio.texi (Opening Streams): Document additional fopen
20846 parameters.
20847
8de131cb
RM
208482012-04-09 Roland McGrath <roland@hack.frob.com>
20849
20850 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20851 %eax without telling the compiler.
20852
c0ed9d7d
CD
208532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20854
20855 [BZ # 13963]
20856 * manual/install.texi: Use sourceware.org.
20857
c483f6b4
JM
208582012-04-09 Joseph Myers <joseph@codesourcery.com>
20859
d7dd9453
JM
20860 [BZ #13873]
20861 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20862 (__ieee754_pow): Generate overflow and underflow using huge*huge
20863 and tiny*tiny rather than just returning constant infinity or zero
20864 for large exponents.
20865 * math/libm-test.inc (pow_test): Require overflow exceptions for
20866 applicable cases of large exponents.
20867
c483f6b4
JM
20868 [BZ #706]
20869 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20870 (__ieee754_pow): Use iterative multiplication algorithm only for
20871 integer exponents with absolute value below 1024. Check for odd
20872 integer exponents when using algorithm for real exponents.
20873 * math/libm-test.inc (pow_test): Add more tests.
20874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20875
d2de7579
JM
208762012-04-08 Joseph Myers <joseph@codesourcery.com>
20877
20878 [BZ #13705]
20879 * math/libm-test.inc (exp_test): Do not allow overflow exception
20880 on underflow test.
20881
f77f1232
AJ
208822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20883
20884 [BZ #13705]
20885 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20886 instead of __kernel_standard_f.
20887
3884932b
MF
208882012-04-08 Mike Frysinger <vapier@gentoo.org>
20889
20890 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20891 * sysdeps/x86_64/memset_chk.S: Likewise.
20892
54472e9c
AJ
208932012-04-08 Andreas Jaeger <aj@suse.de>
20894
6ab0fbfc
AJ
20895 [BZ #10153]
20896 * manual/startup.texi (Environment Access): Describe return value
20897 for putenv and setenv.
20898
61efba8c
AJ
20899 [BZ #6895]
20900 * manual/filesys.texi (Directory Entries): Add description for
20901 DT_LNK.
20902
95c3f29a
AJ
20903 [BZ #6890]
20904 * manual/filesys.texi (Directory Entries): Clarify that it's file
20905 system not operating system in the description of DT_UNKNOWN.
20906
54472e9c
AJ
20907 [BZ #6578]
20908 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20909
624254b1
SC
209102012-04-08 Stephen Compall <s11@member.fsf.org>
20911
20912 [BZ #6649]
20913 * manual/llio.texi (Opening and Closing Files): Add cross
20914 reference to explain mode argument.
20915
1e4920e0
MF
209162012-04-07 Mike Frysinger <vapier@gentoo.org>
20917
20918 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20919 * sysdeps/x86_64/memset_chk.S: Likewise.
20920
5ed848f3
DM
209212012-04-07 David S. Miller <davem@davemloft.net>
20922
20923 * elf/elf.h (R_SPARC_WDISP10): Define.
20924 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20925 R_SPARC_SIZE32.
20926 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20927 R_SPARC_SIZE64 and R_SPARC_H34.
20928
96154cd8
CD
209292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20930
20931 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20932 conditions and remove no longer applicable assertion.
20933
9904dc47
L
209342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20935
20936 * bits/byteswap.h: Include <features.h>.
20937 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20938 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20939
f8887d0a
L
209402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20941
20942 * bits/byteswap.h (__bswap_16): Removed.
20943 Include <bits/byteswap-16.h> to get __bswap_16.
20944 * sysdeps/i386/bits/byteswap.h: Likewise.
20945 * sysdeps/s390/bits/byteswap.h: Likewise.
20946 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20947 * bits/byteswap-16.h: New file.
20948 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20949 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20950 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20951 * string/Makefile (headers): Add bits/byteswap-16.h.
20952
62470f60
PP
209532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20954
20955 [BZ #13895]
20956 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20957 extra indirection.
20958 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20959 * nss/tst-nss-static.c: New.
20960
4dad7bab
RM
209612012-04-06 Robert Millan <rmh@gnu.org>
20962
20963 [BZ #6486]
20964 * manual/llio.texi (File Position Primitive): lseek
20965 refers to WHENCE when it really means OFFSET.
20966
e9142a17
AJ
209672012-04-06 Andreas Jaeger <aj@suse.de>
20968
2c040eff
AJ
20969 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20970 strncmp declarations.
20971
e9142a17
AJ
20972 * abilist/libc.abilist: Add __poll and __ppoll.
20973
ff9f1c5f
DM
209742012-04-05 David S. Miller <davem@davemloft.net>
20975
dcd2ae90
DM
20976 * scripts/check-local-headers.sh: Accept a host triplet in the
20977 path matched by the exclude regexp.
20978
993eb054
DM
20979 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20980 definition.
20981 * sysdeps/powerpc/powerpc32/dl-machine.h
20982 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20983 * sysdeps/s390/s390-32/dl-machine.h
20984 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20985 * sysdeps/sparc/sparc32/dl-machine.h
20986 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20987 * sysdeps/sparc/sparc64/dl-machine.h
20988 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20989
ff9f1c5f
DM
20990 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20991 lazy binding.
48e2e132 20992 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20993 undefined symbol errors.
20994
48e2e132 20995 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20996 DT_NEEDED entries.
20997
e80d6f94
MM
209982012-04-05 Michael Matz <matz@suse.de>
20999
21000 [BZ #13592]
21001 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21002
349fa79f
AJ
210032012-04-05 Andreas Jaeger <aj@suse.de>
21004
21005 [BZ #13908]
21006 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21007 comment.
21008
f402708f
KK
210092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21010
21011 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21012 which ROUND is no valid rounding mode.
21013
2ecccfc9
KK
210142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21015
21016 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21017 read again.
21018 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21019
8a53f50f
KK
210202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21021
21022 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21023 an exception using FPU order intentionally.
21024
210252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21026
21027 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21028 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21029 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21030 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21031
d653abb7
SJ
210322012-04-05 Simon Josefsson <simon@josefsson.org>
21033
21034 [BZ #12340]
21035 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21036 EINVAL when BUFLEN is too smal.
21037
c3b1bf7d
TS
210382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21039
21040 [BZ #13553]
21041 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21042 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21043
b1aa60f3
AJ
210442012-04-03 Andreas Jaeger <aj@suse.de>
21045
c3b1bf7d 21046 [BZ #13938]
67f60a26
AJ
21047 * manual/setjmp.texi (System V contexts): Fix sentence.
21048
b1aa60f3
AJ
21049 [BZ #13926]
21050 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21051 New macro for this case.
21052 [!__GNUC__] (__bswap_64): New inline function for this case.
21053 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21054 * bits/byteswap.h: Likewise.
21055 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21056 ull, guard with __GLIBC_HAVE_LONG_LONG.
21057
21058 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21059 __GLIBC_HAVE_LONG_LONG.
21060
21061 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21062 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21063
39c59c35
TMQMF
210642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21065
21066 [BZ #13691]
21067 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21068 inptr and inend, rather than using last_ch.
21069
135ffda8
DM
210702012-04-02 David S. Miller <davem@davemloft.net>
21071
21072 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21073 * stdio-common/printf-parse.h (read_int): Change return type to
21074 'int', return -1 on INT_MAX overflow.
21075 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21076 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21077 overflows INT_MAX. Check for overflow of in-format-string precision
21078 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21079 SIZE_MAX not INT_MAX for integer overflow test.
21080 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21081 skip the construct in the format string but do not record anything.
21082 * stdio-common/bug22.c: Adjust to test both width/prevision
21083 INT_MAX overflow as well as total length INT_MAX overflow. Check
21084 explicitly for proper errno values.
21085
228c019e
TS
210862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21087
302cadd3
TS
21088 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21089 CHAR_MAX.
21090 * string/test-strcmp.c [! WIDE]: Likewise.
21091 * time/tst-mktime2.c: Likewise for INT_MAX.
21092 * string/test-string.h: #include <sys/param.h> for MIN.
21093
228c019e
TS
21094 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21095 * sysdeps/i386/init-first.c (init): Likewise.
21096 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21097 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21098 * sysdeps/sh/init-first.c (init): Likewise.
21099
cfa633f5
UD
211002012-04-01 Ulrich Drepper <drepper@gmail.com>
21101
21102 * po/ru.po: Update from translation team.
d1635ef8 21103 * po/vi.po: Likewise.
cfa633f5 21104
6cd0a5ea
SP
211052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21106
21107 * resolv/nss_dns/dns-host.c: Merge copyright years.
21108
4b43400f
LD
211092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21110
21111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21112 Optimize memcpy with prefetch if
21113 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21114 src, dst pointers have unequal 16 byte alignments.
21115
48c41d04
SP
211162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21117
21118 [BZ #13928]
21119 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21120 from a CNAME entry and return the minimum ttl for the query.
21121 (gaih_getanswer_slice): Likewise.
21122
b8dc394d
JL
211232012-03-30 Jeff Law <law@redhat.com>
21124
21125 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21126 due to long keys.
21127 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21128 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21129
2f5a5ed0
JL
21130 * resolv/nss_dns/dns-host.c: Update copyright year.
21131
1d39e359
UD
211322012-03-30 Ulrich Drepper <drepper@gmail.com>
21133
c030f70c 21134 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21135 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21136
1d39e359
UD
21137 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21138 comments for sendmmsg.
21139
211402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21141
21142 [BZ #13691]
21143 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21144 with only 1 character between 0x0041 and 0x01b0.
21145 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21146 * wcsmbs/tst-mbsnrtowcs.c: New file.
21147
20fde227
DM
211482012-03-29 David S. Miller <davem@davemloft.net>
21149
21150 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21151 small copies by hand.
21152
984a4237
JL
211532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21154
21155 [BZ #13761]
21156 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21157 _nss_compat_initgroups_dyn): Fall back to malloc/free
21158 for large group memberships.
21159
18c9d62b
DM
211602012-03-28 David S. Miller <davem@davemloft.net>
21161
88d85d4f
DM
21162 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21163 that branches into memcpy.
21164 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21165 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21167 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21169 bits.
21170 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21171 implementation too.
21172 * sysdeps/sparc/mempcpy.S: New file.
21173
e5aa83e1
DM
21174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21175 the IFUNC routine in the libc case.
21176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21177
88570753
DM
21178 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21179 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21180 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21181 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21182 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21183 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21184 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21185 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21186
249d7567
DM
21187 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21188 loop to 256 bytes instead of 64 bytes and fix test signedness.
21189
18c9d62b
DM
21190 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21191 * sysdeps/sparc/sparc32/Makefile: rather than here...
21192 * sysdeps/sparc/sparc64/Makefile: and here.
21193
05f3d1f6
UD
211942012-03-28 Ulrich Drepper <drepper@gmail.com>
21195
21196 * malloc/mallocbug.c: Avoid warnings about unused variables.
21197
86ae07a8
JL
211982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21199
21200 [BZ #13760]
21201 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21202 in the right place. Discard and retry query if response is
21203 larger than input buffer size.
21204
41bf21a1
JM
212052012-03-28 Joseph Myers <joseph@codesourcery.com>
21206
d6270972
JM
21207 [BZ #369]
21208 [BZ #2678]
21209 [BZ #3866]
21210 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21211 x for large integer exponent.
21212 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21213 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21214 sign of result as needed afterwards.
21215 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21216 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21217 result for underflowing pow the same as for overflow.
21218 (__kernel_standard_l): Handle powl overflow and underflow here
21219 rather than calling __kernel_standard.
21220 * math/libm-test.inc (pow_test): Add more tests.
21221
414fca03 21222 [BZ #3868]
41bf21a1
JM
21223 [BZ #13879]
21224 [BZ #13910]
21225 [BZ #13911]
21226 [BZ #13912]
21227 [BZ #13913]
21228 [BZ #13915]
21229 [BZ #13916]
21230 [BZ #13917]
21231 [BZ #13918]
21232 [BZ #13919]
21233 [BZ #13920]
21234 [BZ #13921]
21235 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21236 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21237 (__kernel_standard_l): New function.
21238 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21239 __kernel_standard.
21240 * math/w_acosl.c (__acosl): Likewise.
21241 * math/w_asinl.c (__asinl): Likewise.
21242 * math/w_atan2l.c (__atan2l): Likewise.
21243 * math/w_atanhl.c (__atanhl): Likewise.
21244 * math/w_coshl.c (__coshl): Likewise.
21245 * math/w_exp10l.c (__exp10l): Likewise.
21246 * math/w_exp2l.c (__exp2l): Likewise.
21247 * math/w_fmodl.c (__fmodl): Likewise.
21248 * math/w_hypotl.c (__hypotl): Likewise.
21249 * math/w_j0l.c (__j0l, __y0l): Likewise.
21250 * math/w_j1l.c (__j1l, __y1l): Likewise.
21251 * math/w_jnl.c (__jnl, __ynl): Likewise.
21252 * math/w_lgammal.c (__lgammal): Likewise.
21253 * math/w_log10l.c (__log10l): Likewise.
21254 * math/w_log2l.c (__log2l): Likewise.
21255 * math/w_logl.c (__logl): Likewise.
21256 * math/w_powl.c (__powl): Likewise.
21257 * math/w_remainderl.c (__remainderl): Likewise.
21258 * math/w_scalbl.c (sysv_scalbl): Likewise.
21259 * math/w_sinhl.c (__sinhl): Likewise.
21260 * math/w_sqrtl.c (__sqrtl): Likewise.
21261 * math/w_tgammal.c (__tgammal): Likewise.
21262 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21263 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21264 * math/libm-test.inc (acos_test): Add more tests.
21265 (acosh_test): Likewise.
21266 (asin_test): Likewise.
21267 (atanh_test): Likewise.
21268 (exp_test): Likewise.
21269 (exp10_test): Likewise.
21270 (exp2_test): Likewise.
21271 (expm1_test): Likewise.
21272 (lgamma_test): Likewise.
21273 (log_test): Likewise.
21274 (log10_test): Likewise.
21275 (log1p_test): Likewise.
21276 (log2_test): Likewise.
21277 (pow_test): Do not allow some spurious overflow exceptions.
21278 (sqrt_test): Add more tests.
21279 (tgamma_test): Likewise.
21280 (y0_test): Likewise.
21281 (y1_test): Likewise.
21282 (yn_test): Likewise.
21283
dd62fda6
AB
212842012-03-27 Anton Blanchard <anton@samba.org>
21285
21286 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21287 MAP_HUGETLB.
21288 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21289 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21290 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21291
1e3cdfda
AJ
212922012-03-27 David S. Miller <davem@davemloft.net>
21293
b855ab85
DM
21294 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21295
1e3cdfda
AJ
21296 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21297 have-as-vis3 check.
21298
212992012-03-27 Andreas Jaeger <aj@suse.de>
21300
21301 * sysdeps/x86_64/elf/configure.in: Moved to ...
21302 * sysdeps/x86_64/configure.in: ... here.
21303 * sysdeps/x86_64/elf/start.S: Moved to ...
21304 * sysdeps/x86_64/start.S: ... here.
21305 * sysdeps/x86_64/elf/configure: Delete.
21306
21307 * sysdeps/x86_64/configure.in: Merge contents from
21308 sysdeps/i386/configure.in (without i686 check).
21309
21310 * sysdeps/i386/elf/Versions: Merge into ...
21311 * sysdeps/i386/Versions: ... this.
21312 * sysdeps/i386/elf/Versions: Delete file.
21313 * sysdeps/i386/elf/start.S: Moved to ...
21314 * sysdeps/i386/start.S: ...here.
21315 * sysdeps/i386/elf/configure.in: Merge into...
21316 * sysdeps/i386/configure.in: ...here.
21317 * sysdeps/i386/elf/configure.in: Delete file.
21318 * sysdeps/i386/elf/configure: Delete file.
21319
21320 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21321 * debug/backtracesyms.c: ... here.
21322 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21323 * debug/backtracesymsfd.c: ... here.
21324 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21325 * sysdeps/generic/ifunc-sel.h: ... here.
21326
21327 * sysdeps/unix/i386/start.c: Delete file.
21328 * sysdeps/unix/sparc/start.c: Delete file.
21329 * sysdeps/unix/start.c: Delete file.
21330
21331 * sysdeps/sh/elf/configure.in: Moved to ...
21332 * sysdeps/sh/configure.in: ... here.
21333 * sysdeps/sh/elf/start.S: Moved to ...
21334 * sysdeps/sh/start.S: ... here.
21335 * sysdeps/sh/elf/configure: Delete file.
21336
21337 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21338 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21339 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21340 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21341 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21342 * sysdeps/powerpc/powerpc64/start.S: here.
21343 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21344 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21345 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21346 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21347 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21348
21349 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21350 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21351 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21352 * sysdeps/powerpc/powerpc32/start.S: ... here.
21353 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21354 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21355 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21356
21357 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21358 * sysdeps/powerpc/ifunc-sel.h: ... here.
21359 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21360 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21361
21362 * sysdeps/sparc/elf/configure.in: Moved to ...
21363 * sysdeps/sparc/configure.in: ... here.
21364 * sysdeps/sparc/elf/configure: Delete file.
21365 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21366 * sysdeps/sparc/sparc32/start.S: ... here.
21367 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21368 * sysdeps/sparc/sparc64/start.S: ... here.
21369 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21370 * sysdeps/sparc/sparc32/Makefile: ... this.
21371 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21372 * sysdeps/sparc/sparc64/Makefile: ... this.
21373
21374 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21375 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21376 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21377 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21378 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21379 * sysdeps/s390/s390-32/setjmp.S: ... here.
21380 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21381 * sysdeps/s390/s390-32/configure.in: ... here.
21382 * sysdeps/s390/s390-32/elf/configure: Delete file.
21383 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21384 * sysdeps/s390/s390-32/start.S: ... here.
21385
21386 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21387 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21388 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21389 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21390 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21391 * sysdeps/s390/s390-64/setjmp.S: ... here.
21392 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21393 * sysdeps/s390/s390-64/configure.in: ... here
21394 * sysdeps/s390/s390-64/elf/configure: Delete file.
21395 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21396 * sysdeps/s390/s390-64/start.S: ... here.
21397 * sysdeps/s390/s390-64/elf/configure: Delete.
21398
21399 * configure.in: Remove support for elf directories in sysdeps.
21400
21401 * configure: Regenerated.
21402 * sysdeps/i386/configure: Regenerated.
21403 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21404 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21405 * sysdeps/s390/s390-32/configure: Regenerated.
21406 * sysdeps/s390/s390-64/configure: Regenerated.
21407 * sysdeps/sh/configure: Regenerated.
21408 * sysdeps/sparc/configure: Regenerated.
21409 * sysdeps/x86_64/configure: Regenerated.
21410
a3f61311
AS
214112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21412
c876e002
AS
21413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21414
a3f61311
AS
21415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21416 denormal result into account.
21417
ac4c54f0
RM
214182012-03-25 Roland McGrath <roland@hack.frob.com>
21419
21420 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21421 Reported by Allan McRae <allan@archlinux.org>.
21422
6a9b9c02
JL
214232012-03-23 Jeff Law <law@redhat.com>
21424
21425 * nss/getnssent.c (__nss_getent): Fix typo.
21426
4c42a0c1
DM
214272012-03-23 David S. Miller <davem@davemloft.net>
21428
21429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21430
1532c7ac
L
214312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21432
21433 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21434 to pad to uint64_t for each field.
21435 (dl_tls_index): Replace unsigned long with uint64_t.
21436
3ff42526
PP
214372012-03-23 Daniel Jacobowitz <dmj@google.com>
21438 Paul Pluzhnikov <ppluzhnikov@google.com>
21439
21440 [BZ #6528]
21441 * grp/Makefile (otherlibs): Don't set it.
21442 * inet/Makefile (otherlibs): Likewise.
21443 * login/Makefile (otherlibs): Likewise.
21444 * nscd/Makefile (otherlibs): Likewise.
21445 * posix/Makefile (otherlibs): Likewise.
21446 * pwd/Makefile (otherlibs): Likewise.
21447 * rt/Makefile (otherlibs): Likewise.
21448 * sunrpc/Makefile (otherlibs): Likewise.
21449 * nss/Makefile (otherlibs): Likewise.
21450 Add libnss_files to routines and static-only-routines.
21451 ($(objpfx)getent): Remove rule.
21452 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21453 static-only-routines.
21454
7c69cd14
JM
214552012-03-22 Joseph Myers <joseph@codesourcery.com>
21456
21457 [BZ #13892]
21458 * math/s_cexp.c: Include <float.h>.
21459 (__cexp): Handle exp result overflowing not necessarily
21460 overflowing both real and imaginary parts of result.
21461 * math/s_cexpf.c: Likewise.
21462 * math/s_cexpl.c: Likewise.
21463 * math/libm-test.inc (cexp_test): Add more tests.
21464 * sysdeps/i386/fpu/libm-test-ulps: Update.
21465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21466
81b035fe
L
214672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21468
21469 * include/link.h (ELFW): New macro.
21470 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21471 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21472
1da7940c
L
214732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21474
21475 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21476 with uint64_t.
21477
b749dbb9
L
214782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21479
21480 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21481 declaration.
21482 (struct La_x32_retval): Likewise.
21483
2ff87f3f
L
214842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21485
21486 * sysdeps/x86_64/preconfigure.in: New file.
21487 * sysdeps/x86_64/preconfigure: New generated file.
21488
c0df8e69
JM
214892012-03-22 Joseph Myers <joseph@codesourcery.com>
21490
48e44791
JM
21491 [BZ #13824]
21492 * math/e_exp2l.c: Include <float.h>.
21493 (__ieee754_exp2l): Handle overflow and underflow cases
21494 separately. Only pass fractional part of argument to
21495 __ieee754_expl.
21496 * math/libm-test.inc (exp2_test): Add more tests.
21497
c0df8e69
JM
21498 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21499 negating x to take absolute value.
21500 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21501 Likewise.
21502 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21503 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21504 Likewise.
21505 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21506 computing low part if x was negated.
21507 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21508
c8e43ba7
L
215092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21510
21511 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21512 la_x32_gnu_pltexit.
21513 (pltexit): Cast int_retval to ptrdiff_t.
21514 * elf/tst-auditmod3b.c: Likewise.
21515 * elf/tst-auditmod4b.c: Likewise.
21516 * elf/tst-auditmod5b.c: Likewise.
21517 * elf/tst-auditmod6b.c: Likewise.
21518 * elf/tst-auditmod6c.c: Likewise.
21519 * elf/tst-auditmod7b.c: Likewise.
21520
21521 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21522 and x32_gnu_pltexit.
21523
21524 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21525 __ELF_NATIVE_CLASS.
21526 (La_x32_regs): New macro.
21527 (La_x32_retval): Likewise.
21528 (la_x32_gnu_pltenter): New function prototype.
21529 (la_x32_gnu_pltexit): Likewise.
21530
7998fa78
AS
215312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21532
dcb33988
AS
21533 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21534 exponent.
21535
233fc563
AS
21536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21537
7998fa78
AS
21538 * configure.in (libc_cv_cc_nofma): Check for option to disable
21539 generation of FMA instructions.
21540 * configure: Regenerate.
21541 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21542 * sysdeps/ieee754/dbl-64/Makefile: New file.
21543 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21544 Remove brandred-fma4.
21545 (CFLAGS-brandred-fma4.c): Remove.
21546 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21547 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21548 define.
21549 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21550 define.
21551
8e95c99a
L
215522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21553
21554 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21555 LLONG_MAX != LONG_MAX.
21556 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21557 (_fitoa_word): Likewise.
21558 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21559 LLONG_MAX != LONG_MAX.
21560 * stdio-common/_itowa.h: Include <_itoa.h>.
21561 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21562 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21563 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21564 only if not defined.
21565 (_ITOA_WORD_TYPE): Likewise.
21566 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21567 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21568
6f4db457
DM
215692012-03-21 David S. Miller <davem@davemloft.net>
21570
21571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21572
7785fe5a
L
215732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21574
21575 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21576 of x86_64 when setting libc_cv_slibdir, libdir and
21577 libc_cv_localedir.
21578 * sysdeps/unix/sysv/linux/configure: Regenerated.
21579
4535cd55
JM
215802012-03-21 Joseph Myers <joseph@codesourcery.com>
21581
21582 * manual/lang.texi (Old Varargs): Remove section.
21583 (How Variadic): Update menu.
21584 (va_start): Do not mention varargs.h.
21585
17228132
TS
215862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21587 Joseph Myers <joseph@codesourcery.com>
21588
21589 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21590 link test.
21591 * configure: Regenerated.
21592
8149f976
TS
215932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21594
05f3d1f6
UD
21595 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21596 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21597 conformtest.pl
8149f976 21598
1a4ac776
JM
215992012-03-21 Joseph Myers <joseph@codesourcery.com>
21600
be22ce65
JM
21601 * NOTES: Remove.
21602 * Makefile (files-for-dist): Remove NOTES.
21603 (NOTES): Remove rule.
21604 * README: Don't refer to NOTES.
21605 * manual/creature.texi: Don't include macros.texi.
21606 * manual/intro.texi (creature.texi): Remove comment referring to
21607 NOTES.
21608
40b601fb
JM
21609 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21610 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21611 * configure: Regenerated.
21612 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21613 LIBC_TRY_CC_OPTION.
21614 (libc_cv_as_i686): Likewise.
21615 (libc_cv_cc_avx): Likewise.
21616 (libc_cv_cc_sse2avx): Likewise.
21617 (libc_cv_cc_fma4): Likewise.
21618 (libc_cv_cc_novzeroupper): Likewise.
21619 * sysdeps/i386/configure: Regenerated.
21620
1a4ac776
JM
21621 [BZ #13883]
21622 * sysdeps/i386/fpu/s_cexp.S: Remove.
21623 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21624 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21625 * math/libm-test.inc (cexp_test): Add more tests.
21626 * sysdeps/i386/fpu/libm-test-ulps: Update.
21627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21628
a458e7fe
AM
216292012-03-21 Allan McRae <allan@archlinux.org>
21630
21631 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21632
0cb7efc5
JM
216332012-03-21 Joseph Myers <joseph@codesourcery.com>
21634
21635 [BZ #13871]
21636 * math/w_exp2.c: Do not include <float.h>.
21637 (o_threshold, u_threshold): Remove.
21638 (__exp2): Calculate result before checking finiteness and calling
21639 __kernel_standard.
21640 * math/w_exp2f.c: Likewise.
21641 * math/w_exp2l.c: Likewise.
21642 * math/libm-test.inc (exp2_test): Require overflow exception for
21643 1e6 input.
2460d3aa
JM
21644
21645 [BZ #3866]
21646 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21647 range of signed 64-bit integers before using fistpll. Remove
21648 checks for whether integers fit in mantissa bits.
21649 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21650 the range of signed 32-bit integers before using fistpl. Remove
21651 checks for whether integers fit in mantissa bits.
21652 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21653 (__ieee754_powl): Test for y outside the range of signed 64-bit
21654 integers before using fistpll. Reduce 64-bit values to 63-bit
21655 ones as needed.
21656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21657 divide-by-zero is raised for zero to large negative powers.
21658 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21659 (__ieee754_powl): Test for y outside the range of signed 64-bit
21660 integers before using fistpll. Reduce 64-bit values to 63-bit
21661 ones as needed.
21662 * math/libm-test.inc (pow_test): Add more tests.
21663
eb96ffb0
L
216642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21665
21666 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21667 <stdio-common/_itoa.h>.
21668 * debug/segfault.c: Likewise.
21669 * elf/dl-cache.c: Likewise.
21670 * elf/dl-minimal.c: Likewise.
21671 * elf/dl-misc.c: Likewise.
21672 * elf/dl-sysdep.c: Likewise.
21673 * elf/dl-version.c: Likewise.
21674 * elf/rtld.c: Likewise.
21675 * hurd/hurdsock.c: Likewise.
21676 * hurd/lookup-retry.c: Likewise.
21677 * malloc/malloc.c: Likewise.
21678 * malloc/mtrace.c: Likewise.
21679 * nscd/nscd_getgr_r.c: Likewise.
21680 * nscd/nscd_getpw_r.c: Likewise.
21681 * nscd/nscd_getserv_r.c: Likewise.
21682 * posix/getopt_init.c: Likewise.
21683 * posix/wordexp.c: Likewise.
21684 * stdio-common/_itoa.c: Likewise.
21685 * stdio-common/printf_fphex.c: Likewise.
21686 * stdio-common/vfprintf.c: Likewise.
21687 * string/_strerror.c: Likewise.
21688 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21689 * sysdeps/i386/i686/hp-timing.h: Likewise.
21690 * sysdeps/mach/_strerror.c: Likewise.
21691 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21692 * sysdeps/mach/hurd/sethostid.c: Likewise.
21693 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21694 * sysdeps/mach/xpg-strerror.c: Likewise.
21695 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21696 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21697 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21698 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21699 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21700 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21701 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21702 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21703 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21704 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21705 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21706 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21707 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21708 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21709 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21710 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21711 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21712 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21713 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21714 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21715 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21716
21717 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21718
21719 * stdio-common/_itoa.h: Moved to ...
21720 * sysdeps/generic/_itoa.h: Here.
21721
21722 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21723
21724 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21725 instead of "_itoa.h" and "_itowa.h".
21726 * stdio-common/vfprintf.: Likewise.
21727
d1af992d
L
217282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21729
21730 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21731 <bits/wordsize.h>.
21732 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21733 (__signbit): Likwise.
21734 (llrintf): Likwise.
21735 (llrint): Likwise.
21736
114883e0
L
217372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21738
21739 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21740 __WORDSIZE != 64.
21741
c135cc1b
JM
217422012-03-20 Joseph Myers <joseph@codesourcery.com>
21743
21744 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21745 OVERFLOW_EXCEPTION_OK.
21746 * math/libm-test.inc ("Philosophy"): Update comment about
21747 exception testing.
21748 (OVERFLOW_EXCEPTION): Define.
21749 (OVERFLOW_EXCEPTION_OK): Likewise.
21750 (INVALID_EXCEPTION_OK): Renumber.
21751 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21752 (IGNORE_ZERO_INF_SIGN): Likewise.
21753 (test_exceptions): Handle FE_OVERFLOW.
21754 (exp10_test): Expect overflow exceptions.
21755 (exp2_test): Likewise.
21756 (expm1_test): Likewise.
21757 (nextafter_test): Likewise.
21758 (pow_test): Likewise.
21759 (scalbn_test): Likewise.
21760 (scalbln_test): Likewise.
21761
95443d88
L
217622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21763
21764 * sysdeps/x86_64/bits/atomic.h
21765 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21766 64bit integer.
21767 (atomic_exchange_acq): Likewise.
21768 (__arch_exchange_and_add_body): Likewise.
21769 (__arch_add_body): Likewise.
21770 (atomic_add_negative): Likewise.
21771 (atomic_add_zero): Likewise.
21772
490df6c4
L
217732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21774
c2722551 21775 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21776 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21777
5e52b189
L
217782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21779
21780 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21781 Check __x86_64__ instead of __WORDSIZE.
21782
a9879d4c
L
217832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21784
21785 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21786
5df98260
DM
217872012-03-19 David S. Miller <davem@davemloft.net>
21788
e1497744
DM
21789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21790
5df98260
DM
21791 * sysdeps/sparc/fpu/fenv_private.h: New file.
21792 * sysdeps/sparc/fpu/math_private.h: Use it.
21793 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21794 Remove.
21795 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21796 (libc_feholdexcept_setroundl): Remove.
21797 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21798 Remove.
21799 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21800 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21801
b4c35121
L
218022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21803
21804 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21805 int64_t instead of long int.
21806 (INSERT_WORDS64): Likwise.
21807
56965fd7
L
218082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21809
21810 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21811 _Unwind_GetCFA return to _Unwind_Ptr first.
21812
83d1aec8
JM
218132012-03-19 Joseph Myers <joseph@codesourcery.com>
21814
1897ad44
JM
21815 [BZ #13629]
21816 * math/s_clog.c: Include <float.h>.
21817 (__clog): Scale large or subnormal inputs.
21818 * math/s_clogf.c: Likewise.
21819 * math/s_clogl.c: Likewise.
21820 * math/s_clog10.c: Include <float.h>.
21821 (M_LOG10_2): Define.
21822 (__clog10): Scale large or subnormal inputs.
21823 * math/s_clog10f.c: Likewise.
21824 * math/s_clog10l.c: Likewise.
21825 * math/libm-test.inc (clog_test): Add more tests.
21826 (clog10_test): Likewise.
21827 * sysdeps/i386/fpu/libm-test-ulps: Update.
21828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21829
7726d6a9
JM
21830 [BZ #11451]
21831 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21832 x and y.
21833 * math/libm-test.inc (atan2_test): Add another test.
21834
83d1aec8
JM
21835 * Makerules (common-objdir-compile): Remove.
21836 * sysdeps/unix/Makefile (config-generated): Do not add
21837 $(unix-generated) to variable.
21838 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21839 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21840 Remove rule.
21841 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21842 Likewise.
21843 [generic bits/local_lim.h] (before-compile): Do not append to
21844 variable.
21845 [generic bits/local_lim.h] (common-generated): Likewise.
21846 [generic sys/param.h] (before-compile): Do not append to variable.
21847 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21848 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21849 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21850 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21851 include.
21852 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21853 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21854 [generic sys/param.h] ($(addprefix
21855 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21856 [generic sys/param.h] (common-generated): Do not append to
21857 variable.
21858 [generic sys/param.h] (sysdep_headers): Likewise.
21859 [generic bits/errno.h] (before-compile): Do not append to
21860 variable.
21861 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21862 rule.
21863 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21864 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21865 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21866 [generic bits/errno.h] (common-generated): Do not append to
21867 variable.
21868 [generic bits/ioctls.h] (before-compile): Do not append to
21869 variable.
21870 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21871 rule.
21872 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21873 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21874 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21875 rule.
21876 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21877 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21878 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21879 [generic bits/ioctls.h] (common-generated): Do not append to
21880 variable.
21881 [generic sys/syscall.h] (syscall.h): Remove variable.
21882 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21883 rule.
21884 [generic sys/syscall.h] (before-compile): Do not append to
21885 variable.
21886 [generic sys/syscall.h] (common-generated): Likewise.
21887 * sysdeps/unix/errnos-tmpl.c: Remove file.
21888 * sysdeps/unix/errnos.awk: Likewise.
21889 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21890 * sysdeps/unix/ioctls.awk: Likewise.
21891 * sysdeps/unix/mk-local_lim.c: Likewise.
21892 * sysdeps/unix/snarf-ioctls: Likewise.
21893
4851a949
RH
218942012-03-19 Richard Henderson <rth@twiddle.net>
21895
bd37f2ee
RH
21896 * sysdeps/i386/fpu/fenv_private.h: New file.
21897 * sysdeps/i386/fpu/math_private.h: Use it.
21898 (math_opt_barrier, math_force_eval): Remove.
21899 (libc_feholdexcept_setround_53bit): Remove.
21900 (libc_feupdateenv_53bit): Remove.
21901 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21902 (math_opt_barrier, math_force_eval): Remove.
21903 (libc_feholdexcept): Remove.
21904 (libc_feholdexcept_setround): Remove.
21905 (libc_fetestexcept, libc_fesetenv): Remove.
21906 (libc_feupdateenv_test): Remove.
21907 (libc_feupdateenv, libc_feholdsetround): Remove.
21908 (libc_feresetround): Remove.
21909
d0adc922
RH
21910 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21911 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21912
0fe0f1f8
RH
21913 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21914 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21915 (libc_feupdateenv_testl): New.
21916 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21917 (libc_feupdateenv_testf): New.
21918 (libc_feupdateenv): Use libc_feupdateenv_test.
21919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21920 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21921
eb92c487
RH
21922 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21923 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21924 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21925 (libc_feresetround_noex): New.
21926 (libc_feresetround_noexf): New.
21927 (libc_feresetround_noexl): New.
21928 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21929 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21930 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21931 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21932 SET_RESTORE_ROUND.
21933 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21935 (__cos): Likewise.
21936 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21937 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21938 SET_RESTORE_ROUND_NOEX.
21939 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21940 SET_RESTORE_ROUND_NOEXF.
21941 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21942 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21943 (libc_feholdsetroundf): New.
21944 (libc_feresetround, libc_feresetroundf): New.
21945
7d2e8012
RH
21946 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21947 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21948 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21949
b4dabbb4
RH
21950 * sysdeps/generic/math_private.h: Include <fenv.h>.
21951 (default_libc_feholdexcept): New.
21952 (default_libc_feholdexcept_setround): New.
21953 (default_libc_fesetenv, default_libc_feupdateenv): New.
21954 (libc_feholdexcept): Only define if undefined.
21955 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21956 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21957 (libc_feholdexcept_setroundl): Likewise.
21958 (libc_feholdexcept_setround_53bit): Likewise.
21959 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21960 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21961 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21962 (libc_feupdateenv_53bit): Likewise.
21963 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21964 (libc_feholdexcept): Convert from macro to inline function.
21965 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21966 (libc_fesetenv, libc_feupdateenv): Likewise.
21967
4851a949
RH
21968 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21969 not previously defined.
21970 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21971 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21972 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21973 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21974 * sysdeps/ieee754/flt-32/math_private.h: New file.
21975 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21976 math_private.h below SET_FLOAT_WORD.
21977 (__isnan, __isinf_ns, __finite): Remove.
21978 (__isnanf, __isinf_nsf, __finitef): Remove.
21979
e79d442e
AS
219802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21981
21982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21983
90b80344
DM
219842012-03-17 David S. Miller <davem@davemloft.net>
21985
21986 [BZ #6471]
21987 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21988 for 2.16.
21989
edc21804
DM
219902012-03-16 David S. Miller <davem@davemloft.net>
21991
77e927af
DM
21992 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21993 warnings.
21994
374976dd
DM
21995 [BZ #6471]
21996 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21997 properly.
21998 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21999 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22000 sysdep_routines when subdir is sysvipc.
22001 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22002 __getshmlba helper.
22003
edc21804
DM
22004 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22005
473c3ef3
L
220062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22007
22008 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22009 [__LP64__].
22010
eb0f39b6
L
220112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22012
22013 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22014 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22015 (__lround): Renamed to ...
22016 (__llround): This. Replace long int with long long int.
22017 Define lround functions as aliases of llround functions.
22018 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22019
6b6cd74b
L
220202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22021
22022 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22023 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22024 adresses to uintptr_t. Replace "long int" and "unsigned long
22025 int" with "greg_t" on va_arg.
22026
f1a77b01
L
220272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22028
22029 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22030 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22031
22032 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22033 Move e_machine check before EI_CLASS check. Handle x32
22034 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22035 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22036 SKIP_EM_IA_64 and include
22037 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22038
22039 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22040 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22041 (add_system_dir): New macro.
22042
22043 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22044 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22045
11b90b9f
JM
220462012-03-16 Joseph Myers <joseph@codesourcery.com>
22047
c36e1d23
JM
22048 [BZ #2551]
22049 [BZ #2552]
22050 [BZ #2553]
22051 [BZ #2554]
22052 [BZ #2562]
22053 [BZ #2563]
22054 [BZ #2565]
22055 [BZ #2566]
22056 [BZ #2576]
22057 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22058 (y0): Likewise.
22059 * math/w_j0f.c (j0f): Likewise.
22060 (y0f): Likewise.
22061 * math/w_j0l.c (__j0l): Likewise.
22062 (__y0l): Likewise.
22063 * math/w_j1.c (j1): Likewise.
22064 (y1): Likewise.
22065 * math/w_j1f.c (j1f): Likewise.
22066 (y1f): Likewise.
22067 * math/w_j1l.c (__j1l): Likewise.
22068 (__y1l): Likewise.
22069 * math/w_jn.c (jn): Likewise.
22070 (yn): Likewise.
22071 * math/w_jnf.c (jnf): Likewise.
22072 (ynf): Likewise.
22073 * math/w_jnl.c (__jnl): Likewise.
22074 (__ynl): Likewise.
22075 * math/libm-test.inc (j0_test): Add more tests.
22076 (j1_test): Likewise.
22077 (jn_test): Likewise. Add trailing semicolon to existing test.
22078 (y0_test): Likewise.
22079 (y1_test): Likewise.
22080 * sysdeps/i386/fpu/libm-test-ulps: Update.
22081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22082
11b90b9f
JM
22083 [BZ #13851]
22084 [BZ #13854]
22085 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22086 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22087 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22088 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22089 (__tanl): Set errno for infinite argument.
22090 * sysdeps/i386/fpu/mptan.c: Remove.
22091 * sysdeps/i386/fpu/s_tan.S: Likewise.
22092 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22093 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22094 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22095 * math/libm-test.inc (tan_test): Add more tests and enable more
22096 tests for double and long double.
22097 * sysdeps/i386/fpu/libm-test-ulps: Update.
22098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22099
6a1bd2a1
JK
221002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22101
22102 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22103 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22104
10a803e0
RM
221052012-03-16 Roland McGrath <roland@hack.frob.com>
22106
22107 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22108 * configure.in: Use it for both main tree and add-ons.
22109 * configure: Regenerated.
22110
f196c7f7
L
221112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22112
22113 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22114
8848d99d
JM
221152012-03-16 Joseph Myers <joseph@codesourcery.com>
22116
96cbe7f4
JM
22117 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22118 in comment.
22119
8848d99d
JM
22120 [BZ #13851]
22121 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22122 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22123 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22124 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22125 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22126 infinite argument.
22127 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22129 != 0 for prec == 2.
22130 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22131 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22132 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22133 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22134 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22135 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22136 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22137 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22138 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22139 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22140 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22141 * math/libm-test.inc (cos_test): Add more tests and enable more
22142 tests for long double.
22143 (sin_test): Likewise.
22144 (sincos_test): Likewise.
22145 * sysdeps/i386/fpu/libm-test-ulps: Update.
22146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22147
dd7f4703
DM
221482012-03-16 David S. Miller <davem@davemloft.net>
22149
22150 * sysdeps/sparc/fpu/math_private.h: New file.
22151
006f1daa
DM
221522012-03-15 David S. Miller <davem@davemloft.net>
22153
c0c83bc8
DM
22154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22155 file.
e6a62e18 22156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22158 file.
e6a62e18
DM
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22165 sysdep routines.
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22167
88cb87d9
DM
22168 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22169 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22170
006f1daa 22171 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22173 sparc-ifunc.h
006f1daa 22174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22176 Likewise.
22177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22178 Likewise.
006f1daa
DM
22179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22183 Likewise.
006f1daa
DM
22184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22189 Likewise.
22190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22191 Likewise.
006f1daa
DM
22192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22210 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22211 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22212 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22216
11e0098e
AS
222172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22218
22219 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22220 scaling.
22221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22222
e85b09d0
AJ
222232012-03-15 Andreas Jaeger <aj@suse.de>
22224
22225 [BZ #13852]
22226 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22227 ieee754/flt-32 implementation for sin, cos and sincos.
22228 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22229 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22230 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22231 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22232 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22233 ieee754/flt-32 implementation for tan.
22234
22235 * math/libm-test.inc (cos_test): Enable some large input tests for
22236 float as well
22237 (sin_test): Likewise.
22238 (sincos_test): Likewise.
22239 (tan_test): Add tests for large input.
22240
22241 * sysdeps/i386/fpu/libm-test-ulps: Update.
22242
81c64153
AJ
222432012-03-15 Andreas Jaeger <aj@suse.de>
22244
22245 [BZ #13658]
22246 * math/libm-test.inc (cos_test): Add more test cases.
22247 (sin_test): Likewise.
22248 (sincos_test): Likewise.
22249
7bbfa5c6
AJ
222502012-03-15 Andreas Jaeger <aj@suse.de>
22251
22252 [BZ #13837]
22253 * math/libm-test.inc (cos_test): Add a test case for large input
22254 value.
22255 (sin_test): Likewise.
22256 (sincos_test): Likewise.
22257
222582012-03-15 Andreas Jaeger <aj@suse.de>,
22259 Joseph Myers <joseph@codesourcery.com>
22260
22261 [BZ #13658]
0671f479 22262 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22263 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22264 * sysdeps/i386/fpu/branred.c: Likewise.
22265 * sysdeps/i386/fpu/dosincos.c: Likewise.
22266 * sysdeps/i386/fpu/mpa.c: Likewise.
22267 * sysdeps/i386/fpu/s_cos.S: Likewise.
22268 * sysdeps/i386/fpu/s_sin.S: Likewise.
22269 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22270 * sysdeps/i386/fpu/sincos32.c: Likewise.
22271
22272 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22273 Define.
22274 (libc_feupdateenv_53bit): Define.
22275 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22276 Define.
22277 (libc_feupdateenv_53bit): Define.
22278
22279 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22280 53 bit (without extend i386 double precision).
22281
22282 * math/libm-test.inc (sincos_test): Add tests for large input.
22283 (sin): Likewise.
22284 (cos): Likewise.
22285
22286 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22287
9cad04ea
AS
222882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22289
22290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22291
f7062b9a
DM
222922012-03-15 David S. Miller <davem@davemloft.net>
22293
22294 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22295 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22296 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22297 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22310 file.
f7062b9a 22311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22313 file.
f7062b9a 22314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22316 file.
f7062b9a 22317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22319 file.
f7062b9a
DM
22320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22322 fmin/fmax sysdep routines.
22323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22324
7bd951ff
DM
223252012-03-14 David S. Miller <davem@davemloft.net>
22326
559398ab
DM
22327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22331 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22332 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22333 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22348 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22351 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22352 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22356 routines.
22357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22358 file.
559398ab 22359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22361 file.
559398ab 22362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22364 file.
559398ab 22365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22367 file.
559398ab 22368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22370 file.
559398ab 22371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22373 file.
22374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22375 file.
22376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22377 file.
22378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22379 file.
22380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22381 New file.
22382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22383 file.
22384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22385 file.
559398ab 22386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22388 file.
559398ab 22389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22391 file.
559398ab 22392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22394 file.
559398ab 22395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22397 VIS3 routines.
559398ab
DM
22398
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22400 New file.
22401
5a1c1e32
DM
22402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22403
eae47a36
DM
22404 * sysdeps/sparc/configure.in: New file.
22405 * sysdeps/sparc/configure: Generate.
22406 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22407 * configure: Regenerate.
22408 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22409 * config.make.in (have-as-vis3): New.
22410 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22411 available use -Av9d instead of -Av9a.
22412 * sysdeps/sparc/sparc64/Makefile: Likewise.
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22415 New file.
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22417 file.
22418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22419 New file.
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22421 file.
eae47a36
DM
22422 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22424 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22427
c0c83bc8
DM
22428 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22429 fzeros/fnegs to load 0x80000000 into a float register instead of
22430 using the stack.
7bd951ff
DM
22431 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22432
bd951ccb
JM
224332012-03-14 Joseph Myers <joseph@codesourcery.com>
22434
22435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22436 bits/syscall.h.
22437 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22438 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22439 ($(inst_includedir)/bits/syscall.h): Remove rule.
22440 ($(objpfx)bits/syscall.d): Include instead of
22441 $(objpfx)syscall-list.d.
22442 (generated): Change syscall-list.h and syscall-list.d to
22443 bits/syscall.h and bits/syscall.d.
22444
bb4e6db2
RM
224452012-03-14 Roland McGrath <roland@hack.frob.com>
22446
22447 [BZ #13846]
22448 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22449
aa4a2ae1
JM
224502012-03-14 Joseph Myers <joseph@codesourcery.com>
22451
e456826d
JM
22452 [BZ #13841]
22453 * math/s_csqrt.c: Include <float.h>.
22454 (__csqrt): Scale large or subnormal inputs.
22455 * math/s_csqrtf.c: Likewise.
22456 * math/s_csqrtl.c: Likewise.
22457 * math/libm-test.inc (csqrt_test): Add more tests.
22458 * sysdeps/i386/fpu/libm-test-ulps: Update.
22459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22460
aa4a2ae1
JM
22461 [BZ #13840]
22462 * math/libm-test.inc (hypot_test): Add more tests.
22463
7c10fd35
DM
224642012-03-13 David S. Miller <davem@davemloft.net>
22465
22466 [BZ #13840]
22467 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22468 double-precision for the calculation instead of scaling.
22469
f453b98b
JM
224702012-03-13 Joseph Myers <joseph@codesourcery.com>
22471
22472 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22473 manipulate bits before adding and subtracting TWO52[sx].
22474 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22475 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22476 Likewise.
22477 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22478
09a3453f
DM
224792012-03-13 David S. Miller <davem@davemloft.net>
22480
8e59da90
DM
22481 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22482 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22484 rtld-global-offsets.h
22485 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22486
2a8ab7f2
DM
22487 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22488 large parameters.
22489
10f62770
DM
22490 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22491
5f0bdb18
DM
22492 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22493 'err' in the ifdef scope in which it is actually used.
22494
09a3453f
DM
22495 * nss/nss_db/db-init.c: Include string.h
22496
b4b2eb5e
DM
224972012-03-12 David S. Miller <davem@davemloft.net>
22498
98bb2f1c
DM
22499 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22500 masking out of the most significant byte of random value used.
22501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22502 Fix coding style in previous change.
22503
b4b2eb5e
DM
22504 * sysdeps/unix/sysv/linux/kernel-features.h
22505 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22506 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22507 expression.
22508 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22509 later.
22510
6e226b09
DM
225112012-03-11 David S. Miller <davem@davemloft.net>
22512
a1bcbd40
DM
22513 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22514 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22515 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22516 for 'resultvar' otherwise things get truncated on 64-bit.
22517
cb9d6174
DM
22518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22519 Fix masking out of the most significant byte of random value used.
22520
6e226b09
DM
22521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22522
058c132d
AS
225232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22524
22525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22526
2d2cd515
DM
225272012-03-09 David S. Miller <davem@davemloft.net>
22528
22529 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22530 variables with appropriate CPP guards.
22531 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22532 frame pointer, not the stack pointer. Correct layout comments. Fix test
22533 on resulting framesize and the management of the outregs buffer for pltexit.
22534 Preserve floating point return values across _dl_call_pltexit call.
22535 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22536 framesize and the management of the outregs buffer for pltexit.
22537 Preserve floating point return values across _dl_call_pltexit
22538 call.
22539 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22540 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22541 (print_exit): Fix format string for return register value.
22542
9a07f9d0
JM
225432012-03-10 Joseph Myers <joseph@codesourcery.com>
22544
22545 * sunrpc/Makefile (others): Add rpcgen.
22546 ($(objpfx)rpcgen): Remove special build rule and dependency on
22547 libc.
22548 * sunrpc/rpcgen.c: New file.
22549
547b5e30
PE
225502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22551
c524201a
PE
22552 [BZ #13673]
22553 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22554 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22555 * sysdeps/i386/crti.S: Likewise.
22556 * sysdeps/i386/crtn.S: Likewise.
22557 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22558 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22559 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22560 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22561 * sysdeps/sh/crti.S: Likewise.
22562 * sysdeps/sh/crtn.S: Likewise.
22563 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22564
7b6235f2
PE
22565 [BZ #13673]
22566 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22567 with URL.
22568 * locale/programs/locfile-kw.gperf: Likewise.
22569 * locale/programs/charmap-kw.h: Regenerated.
22570 * locale/programs/locfile-kw.h: Likewise.
22571
547b5e30
PE
22572 [BZ #13673]
22573 * intl/plural.y: Replace FSF snail mail address with URL.
22574 * intl/plural.c: Regenerated.
22575
5f0a5dae
RH
225762012-03-09 Richard Henderson <rth@twiddle.net>
22577
22578 * include/math_private.h: Remove file.
22579 * math/math_private.h: Move file ...
22580 * sysdeps/generic/math_private.h: ... here.
22581
b8c03620
RH
22582 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22583 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22584 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22585
4e234f5d 22586 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22587 and <math_private.h>.
22588 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22589 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22590 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22591 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22592 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22614 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22668 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22669 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22670 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22671 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22672 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22673 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22674 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22675 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22676 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22677 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22678 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22679 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22680 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22681 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22682 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22683 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22684 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22685 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22686 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22687 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22688 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22689 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22690 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22691 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22692 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22693 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22694 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22695 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22696 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22697 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22698 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22699 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22700 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22701 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22702 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22703 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22704 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22705 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22706 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22707 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22710 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22711 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22712 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22713 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22714 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22715 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22716 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22717 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22718 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22719 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22720 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22721 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22722 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22723 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22724 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22725 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22726 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22727 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22728 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22730 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22731 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22732 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22733 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22734 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22735 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22736 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22737 * sysdeps/ieee754/k_standard.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22766 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22768 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22771 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22831 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22841 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22842 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22843 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22857 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22858 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22859 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22860 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22861 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22863 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22864 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22865 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22870 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22886 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22887 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22888 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22892 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22893 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22894 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22895 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22896 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22898 * sysdeps/ieee754/s_lib_version.c: Likewise.
22899 * sysdeps/ieee754/s_matherr.c: Likewise.
22900 * sysdeps/ieee754/s_signgam.c: Likewise.
22901 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22902 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22903 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22904 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22905 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22906 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22907 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22908 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22909 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22910 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22911 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22912 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22913 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22914 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22915 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22916 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22917 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22918 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22919 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22922
1991fa03
JM
229232012-03-09 Joseph Myers <joseph@codesourcery.com>
22924
22925 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22926 * sunrpc/rpc_main.c: Likewise.
22927 * sunrpc/rpc_svcout.c: Likewise.
22928
60d6f5a6
DM
229292012-03-09 David S. Miller <davem@davemloft.net>
22930
22931 * include/math_private.h: New file.
22932
4962050e
JM
229332012-03-09 Joseph Myers <joseph@codesourcery.com>
22934
02a6f887
JM
22935 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22936 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22937 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22938 from <bits/socket_type.h>.
22939 (enum __socket_type): Don't define here.
22940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22942 bits/socket_type.h.
22943
c6e013c1
JM
22944 [BZ #13566]
22945 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22946 checking __USE_GNU.
22947
4962050e
JM
22948 * Makerules ($(inst_includedir)/%.h): New rule.
22949 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22950 (install-others): Remove variable setting.
22951 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22952
38842f45
RH
229532012-03-08 Richard Henderson <rth@twiddle.net>
22954
67bb6da6
RH
22955 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22956 from macro to inline function; merge with the
22957 !__LIBC_INTERNAL_MATH_INLINES version.
22958 (__ieee754_sqrtf): Likewise.
22959
15194b4b
RH
22960 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22961 to inline function.
22962 (__rintf, __floor, __floorf): Likewise.
22963
64e21ede
RH
22964 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22965 macro to inline function.
22966 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22967
38842f45
RH
22968 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22969 not <math/math_private.h>.
22970
c64bf5fe
DM
229712012-03-08 David S. Miller <davem@davemloft.net>
22972
22973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22974 copyright year.
22975 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22976
82d86f28
TS
229772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22978
22979 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22980 normalization.
22981 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22982 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22983
aea5d727
UD
229842012-03-08 Ulrich Drepper <drepper@gmail.com>
22985
22986 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22987 be defined individually, they must be defined as a block. Define
22988 S for printing a string instead of hidint the different by using a
22989 macro for adding the 'l'.
22990 * stdio-common/tst-fphex-wide.c: Adjust.
22991
70bca0a3
MP
229922012-03-07 Marek Polacek <polacek@redhat.com>
22993
22994 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22995
65b81130
MP
229962012-03-08 Marek Polacek <polacek@redhat.com>
22997
22998 [BZ #13806]
22999 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23000 * stdio-common/tst-fphex.c: Define a few macros to make the
23001 test reusable. Use them.
23002 * stdio-common/tst-fphex-wide.c: New file.
23003
07037eeb
JM
230042012-03-08 Joseph Myers <joseph@codesourcery.com>
23005
a7a93d50
JM
23006 [BZ #6911]
23007 * manual/macros.texi (gnusystems): New macro.
23008 (nongnusystems): Likewise.
23009 (gnulinuxhurdsystems): Likewise.
23010 (gnuhurdsystems): Likewise..
23011 (gnulinuxsystems): Likewise.
23012 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23013 variants of the GNU system, not "GNU system".
23014 * manual/conf.texi: Likewise.
23015 * manual/errno.texi: Likewise. Update example of errno macro
23016 expansion.
23017 * manual/filesys.texi: Likewise.
23018 (getumask): Document as specific to GNU/Hurd.
23019 * manual/install.texi: Likewise. Reword some references to
23020 GNU/Linux.
23021 * manual/intro.texi: Likewise.
23022 * manual/io.texi: Likewise.
23023 (File Name Portability): Detail which constraints are inapplicable
23024 to all GNU systems and which are only inapplicable to GNU/Hurd.
23025 * manual/job.texi: Likewise.
23026 * manual/llio.texi: Likewise.
23027 (O_NOCTTY): Document as present on GNU/Linux.
23028 * manual/maint.texi: Likewise.
23029 * manual/memory.texi: Likewise.
23030 * manual/pattern.texi: Likewise.
23031 * manual/pipe.texi: Likewise.
23032 * manual/process.texi: Likewise.
23033 * manual/resource.texi: Likewise.
23034 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23035 child on GNU/Hurd.
23036 * manual/setjmp.texi: Likewise.
23037 * manual/signal.texi: Likewise.
23038 * manual/startup.texi: Likewise.
23039 * manual/stdio.texi: Likewise.
23040 * manual/terminal.texi: Likewise.
23041 (ONLCR): Document as POSIX.
23042 (OXTABS): Document availability on GNU/Linux as XTABS.
23043 (ONOEOT): Document availability separately from other bits.
23044 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23045 * manual/time.texi: Likewise.
23046 * manual/users.texi: Likewise.
23047 * INSTALL: Regenerated.
23048 * sysdeps/gnu/errlist.c: Regenerated.
23049
07037eeb
JM
23050 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23051 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23052 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23053 puts.
23054 * configure: Regenerated.
23055
d1d3431a
JM
230562012-03-07 Joseph Myers <joseph@codesourcery.com>
23057
af6a1e37
JM
23058 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23059 default includes instead of AC_HEADER_CHECK.
23060 * sysdeps/i386/configure: Regenerated.
23061
d1d3431a
JM
23062 [BZ #10716]
23063 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23064 * math/s_cacoshf.c (__cacoshf): Likewise.
23065 * math/s_cacoshl.c (__cacoshl): Likewise.
23066 * math/s_casinh.c (__casinh): Set signs of result from argument.
23067 * math/s_casinhf.c (__casinhf): Likewise.
23068 * math/s_casinhl.c (__casinhl): Likewise.
23069 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23070 (casinh_test): Add more tests.
23071 * sysdeps/i386/fpu/libm-test-ulps: Update.
23072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23073
482ff4da
UD
230742012-03-07 Ulrich Drepper <drepper@gmail.com>
23075
872fda05
UD
23076 * po/zh_TW.po: Update from translation team.
23077
a4300c7a
UD
23078 * login/Makefile (distribute): Remove variable.
23079 * catgets/Makefile: Likewise.
23080 * mach/Makefile: Likewise.
23081 * malloc/Makefile: Likewise.
23082 * misc/Makefile: Likewise.
23083 * iconv/Makefile: Likewise.
23084 * nscd/Makefile: Likewise.
23085 * hurd/Makefile: Likewise.
23086 * manual/Makefile: Likewise.
23087 * locale/Makefile: Likewise.
23088 * intl/Makefile: Likewise.
23089 * conform/Makefile: Likewise.
23090 * nss/Makefile: Likewise.
23091 * time/Makefile: Likewise.
23092 * soft-fp/Makefile: Likewise.
23093 * dirent/Makefile: Likewise.
23094 * gmon/Makefile: Likewise.
23095 * po/Makefile: Likewise.
23096 * rt/Makefile: Likewise.
23097 * socket/Makefile: Likewise.
23098 * math/Makefile: Likewise.
23099 * signal/Makefile: Likewise.
23100 * debug/Makefile: Likewise.
23101 * elf/Makefile: Likewise.
23102 * timezone/Makefile: Likewise.
23103 * stdlib/Makefile: Likewise.
23104 * iconvdata/Makefile: Likewise.
23105 * sunrpc/Makefile: Likewise.
23106 * io/Makefile: Likewise.
23107 * argp/Makefile: Likewise.
23108 * inet/Makefile: Likewise.
23109 * hesiod/Makefile: Likewise.
23110 * grp/Makefile: Likewise.
23111 * csu/Makefile: Likewise.
23112 * wctype/Makefile: Likewise.
23113 * crypt/Makefile: Likewise.
23114 * libio/Makefile: Likewise.
23115 * string/Makefile: Likewise.
23116 * nis/Makefile: Likewise.
23117 * resolv/Makefile: Likewise.
23118 * stdio-common/Makefile: Likewise.
23119 * wcsmbs/Makefile: Likewise.
23120 * dlfcn/Makefile: Likewise.
23121 * posix/Makefile: Likewise.
23122
3b7c4e74 23123 [BZ #6959]
482ff4da
UD
23124 * timezone/Makefile: Don't install timezone files, just the programs
23125 and scripts.
23126
f72ed77d
UD
231272012-03-06 Ulrich Drepper <drepper@gmail.com>
23128
a000466f
UD
23129 * nss/databases.def: Add missing gshadow entry.
23130
f72ed77d
UD
23131 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23132
a53b7a4e
MP
231332012-03-06 Marek Polacek <polacek@redhat.com>
23134
23135 [BZ #13726]
23136 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23137 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23138 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23139 * stdio-common/tst-long-dbl-fphex.c: New file.
23140
e9258400
DM
231412012-03-06 David S. Miller <davem@davemloft.net>
23142
23143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23144 (set_obp_int): New function.
23145 (get_obp_int): New function.
23146 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23147 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23148 Avoid unused variable warnings on 'val' and use builtin_expect.
23149 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23150 __builtin_expect.
e9258400
DM
23151 (INLINE_CLONE_SYSCALL): Likewise.
23152
3bd2c723
DM
231532012-03-05 David S. Miller <davem@davemloft.net>
23154
23155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23156
bbb78d03
AS
231572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23158
884c5db4
AS
23159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23160
bbb78d03
AS
23161 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23162 only for |x| >= 40.
23163 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23164
1c9f702a 231652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23166
23167 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23168 Replace gettimeofday with __vdso_gettimeofday.
23169
7be16f82
RM
23170 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23171 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23172 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23173
23174 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23175 time with __vdso_time.
23176
ed58a00f
JM
231772012-03-05 Joseph Myers <joseph@codesourcery.com>
23178
23179 * manual/lang.texi (size_t): Note types to which size_t may be
23180 equivalent with the GNU C Library, but do not describe when
23181 differences between them are significant.
23182
30ee4ced
AJ
231832012-03-05 Andreas Jaeger <aj@suse.de>
23184
23185 * sysdeps/i386/fpu/libm-test-ulps: Update.
23186
b7cd39e8
JM
231872012-03-05 Joseph Myers <joseph@codesourcery.com>
23188
23189 [BZ #3976]
23190 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23191 (__ieee754_pow): Save and restore rounding mode and use
23192 round-to-nearest for main computations.
23193 * math/libm-test.inc (pow_test_tonearest): New function.
23194 (pow_test_towardzero): Likewise.
23195 (pow_test_downward): Likewise.
23196 (pow_test_upward): Likewise.
23197 (main): Call the new functions.
23198 * sysdeps/i386/fpu/libm-test-ulps: Update.
23199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23200
23201 [BZ #3976]
23202 * math/libm-test.inc (cosh_test_tonearest): New function.
23203 (cosh_test_towardzero): Likewise.
23204 (cosh_test_downward): Likewise.
23205 (cosh_test_upward): Likewise.
23206 (sinh_test_tonearest): Likewise.
23207 (sinh_test_towardzero): Likewise.
23208 (sinh_test_downward): Likewise.
23209 (sinh_test_upward): Likewise.
23210 (main): Call the new functions.
23211 * sysdeps/i386/fpu/libm-test-ulps: Update.
23212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23213
6c6a98c9
TV
232142012-03-05 Tom de Vries <tom@codesourcery.com>
23215
23216 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23217 default stack guard is set in last bytes.
23218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23219
21bb2d2e 232202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23221
21bb2d2e 23222 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23223
21bb2d2e
AJ
23224 [BZ #13656]
23225 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23226 possibly allocate from heap instead of stack.
23227 * stdio-common/bug-vfprintf-nargs.c: New file.
23228 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23229
c6922934
AS
232302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23231
23232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23233
bc957d53
MP
232342012-03-03 Marek Polacek <polacek@redhat.com>
23235
23236 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23237 * math/math_private.h: Likewise.
23238 * stdlib/tst-strtod.c: Likewise.
23239 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23240 * sysdeps/x86_64/bits/atomic.h: Likewise.
23241
6358490d
DM
232422012-03-02 David S. Miller <davem@davemloft.net>
23243
23244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23248 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23249 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23250 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23251 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23252
01ae168d
RM
232532012-03-02 Roland McGrath <roland@hack.frob.com>
23254
d9a17c07
RM
23255 [BZ #13792]
23256 * manual/examples/README: New file, says the example source files
23257 can be used under GPL>=2.
23258 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23259 line containing just "*/".
23260 * manual/examples/add.c: Add copyright header (GPL>=2).
23261 * manual/examples/argp-ex1.c: Likewise.
23262 * manual/examples/argp-ex2.c: Likewise.
23263 * manual/examples/argp-ex3.c: Likewise.
23264 * manual/examples/argp-ex4.c: Likewise.
23265 * manual/examples/atexit.c: Likewise.
23266 * manual/examples/db.c: Likewise.
23267 * manual/examples/dir.c: Likewise.
23268 * manual/examples/dir2.c: Likewise.
23269 * manual/examples/execinfo.c: Likewise.
23270 * manual/examples/filecli.c: Likewise.
23271 * manual/examples/filesrv.c: Likewise.
23272 * manual/examples/fmtmsgexpl.c: Likewise.
23273 * manual/examples/genpass.c: Likewise.
23274 * manual/examples/inetcli.c: Likewise.
23275 * manual/examples/inetsrv.c: Likewise.
23276 * manual/examples/isockad.c: Likewise.
23277 * manual/examples/longopt.c: Likewise.
23278 * manual/examples/memopen.c: Likewise.
23279 * manual/examples/memstrm.c: Likewise.
23280 * manual/examples/mkfsock.c: Likewise.
23281 * manual/examples/mkisock.c: Likewise.
23282 * manual/examples/mygetpass.c: Likewise.
23283 * manual/examples/pipe.c: Likewise.
23284 * manual/examples/popen.c: Likewise.
23285 * manual/examples/rprintf.c: Likewise.
23286 * manual/examples/search.c: Likewise.
23287 * manual/examples/select.c: Likewise.
23288 * manual/examples/setjmp.c: Likewise.
23289 * manual/examples/sigh1.c: Likewise.
23290 * manual/examples/sigusr.c: Likewise.
23291 * manual/examples/stpcpy.c: Likewise.
23292 * manual/examples/strdupa.c: Likewise.
23293 * manual/examples/strftim.c: Likewise.
23294 * manual/examples/strncat.c: Likewise.
23295 * manual/examples/subopt.c: Likewise.
23296 * manual/examples/swapcontext.c: Likewise.
23297 * manual/examples/termios.c: Likewise.
23298 * manual/examples/testopt.c: Likewise.
23299 * manual/examples/testpass.c: Likewise.
23300 * manual/examples/timeval_subtract.c: Likewise.
23301
01ae168d
RM
23302 [BZ #13792]
23303 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23304 function to ...
23305 * manual/timeval_subtract.c.texi: ... here, new file.
23306
49efa33d
DM
233072012-03-02 David S. Miller <davem@davemloft.net>
23308
23309 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23310
28afd92d
JM
233112012-03-02 Joseph Myers <joseph@codesourcery.com>
23312
804360ed
JM
23313 [BZ #3976]
23314 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23315 (__sin): Save and restore rounding mode and use round-to-nearest
23316 for all computations.
23317 (__cos): Save and restore rounding mode and use round-to-nearest
23318 for all computations.
23319 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23320 <fenv.h>.
23321 (tan): Save and restore rounding mode and use round-to-nearest for
23322 all computations.
23323 * math/libm-test.inc (cos_test_tonearest): New function.
23324 (cos_test_towardzero): Likewise.
23325 (cos_test_downward): Likewise.
23326 (cos_test_upward): Likewise.
23327 (sin_test_tonearest): Likewise.
23328 (sin_test_towardzero): Likewise.
23329 (sin_test_downward): Likewise.
23330 (sin_test_upward): Likewise.
23331 (tan_test_tonearest): Likewise.
23332 (tan_test_towardzero): Likewise.
23333 (tan_test_downward): Likewise.
23334 (tan_test_upward): Likewise.
23335 (main): Call the new functions.
23336 * sysdeps/i386/fpu/libm-test-ulps: Update.
23337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23338
a6d06d7b
JM
23339 [BZ #10135]
23340 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23341 small n, then large n, before computing and testing k+n.
23342 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23343 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23344 Likewise.
23345 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23346 Likewise.
23347 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23348 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23349 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23350 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23353 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23354 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23355 * math/libm-test.inc (scalbn_test): Add more tests.
23356 (scalbln_test): Likewise.
23357
07e12bb3
JM
23358 * manual/filesys.texi (mode_t): Describe constraints on size and
23359 signedness, not exact equivalence to a particular type.
23360 (ino_t): Likewise.
23361 (ino64_t): Likewise.
23362 (dev_t): Likewise.
23363 (nlink_t): Likewise.
23364 (blkcnt_t): Likewise.
23365 (blkcnt64_t): Likewise.
23366 * manual/llio.texi (off_t): Likewise.
23367
28afd92d
JM
23368 [BZ #3976]
23369 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23370 (__ieee754_exp): Save and restore rounding mode and use
23371 round-to-nearest for all computations.
23372 * math/libm-test.inc (exp_test_tonearest): New function.
23373 (exp_test_towardzero): Likewise.
23374 (exp_test_downward): Likewise.
23375 (exp_test_upward): Likewise.
23376 (main): Call the new functions.
23377 * sysdeps/i386/fpu/libm-test-ulps: Update.
23378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23379
b1eeb65d
CD
233802012-03-01 Chris Demetriou <cgd@google.com>
23381
23382 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23383 have predictable order.
23384
53362a4b
DM
233852012-03-01 David S. Miller <davem@davemloft.net>
23386
3c969083
DM
23387 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23388
759707de
DM
23389 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23390 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23391 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23392 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23393
dfdb8ff2
DM
23394 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23395 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23396 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23398 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23399 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23400 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23401 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23403
ead89f96
DM
23404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23405
7f66bd07
DM
23406 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23407 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23408 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23409
53362a4b
DM
23410 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23411 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23412 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23413 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23414 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23415 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23416 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23417 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23418 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23419 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23420 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23421 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23422 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23423 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23424 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23426 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23427 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23428 * sysdeps/sparc/elf/configure: Regenerated.
23429
7b1902cb
JM
234302012-03-01 Joseph Myers <joseph@codesourcery.com>
23431
bec039bc
JM
23432 * configure.in (AS, LD): Require binutils 2.20 or later.
23433 * configure: Regenerated.
23434 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23435 as required minimum version.
23436 * INSTALL: Regenerated.
23437
7b1902cb
JM
23438 [BZ #2541]
23439 [BZ #4108]
23440 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23441 before squaring exponent.
23442 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23443 bottom long double and 27 bits of top long double before squaring
23444 exponent.
23445 * math/libm-test.inc (erfc_test): Add more tests.
23446 * sysdeps/i386/fpu/libm-test-ulps: Update.
23447 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23449
f775c276
KT
234502012-03-01 Kai Tietz <ktietz@redhat.com>
23451
23452 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23453 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23454 containing bit-fields.
23455 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23456 * soft-fp/single.h (_FP_UNION_S): Likewise.
23457 * soft-fp/double.h (_FP_UNION_D): Likewise.
23458
5b8a4d4a
JM
234592012-02-29 Joseph Myers <joseph@codesourcery.com>
23460
0bab47b6
JM
23461 [BZ #13786]
23462 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23463 not include ../strcmp.S.
23464 [USE_AS_STRNCASECMP_L]: Likewise.
23465 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23466 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23467 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23468 (__strncasecmp_l_ia32): Define as alias to
23469 __strncasecmp_l_nonascii.
23470
0fcad3e2
JM
23471 [BZ #5794]
23472 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23473 * sysdeps/i386/fpu/libm-test-ulps: Update.
23474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23475
5b8a4d4a
JM
23476 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23478
8fdceb2e
JL
234792012-02-29 Jeff Law <law@redhat.com>
23480
23481 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23482 out of bounds read.
23483
1f393a11
MP
234842012-02-29 Marek Polacek <polacek@redhat.com>
23485
23486 [BZ #13706]
23487 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23488 * elf/Makefile: Add rules to run tst-unused-dep.out.
23489
8847f037
DM
234902012-02-28 David S. Miller <davem@davemloft.net>
23491
23492 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23493 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23494 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23496 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23497 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23498
169d7f11
JM
234992012-02-29 Joseph Myers <joseph@codesourcery.com>
23500
23501 * math/libm-test.inc (llround_test): Move one test from
23502 lround_test. Use TEST_f_L in moved test.
23503 (lround_test): Move misplaced test to llround_test. Add testcase
23504 from bug 2561.
23505
39adf059
UD
235062012-02-28 Ulrich Drepper <drepper@gmail.com>
23507
23508 * sysdeps/x86_64/fpu/e_expf.S: New file.
23509 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23510
71b5d1c5
SB
235112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23512
23513 [BZ #13637]
23514 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23515 of remain_len that may cause incomplete multi-byte character and
23516 false match.
23517 * posix/bug-regex33.c: New file.
23518 * posix/Makefile (tests): Add bug-regex33.
23519
1f77f049
JM
235202012-02-28 Joseph Myers <joseph@codesourcery.com>
23521
23522 * manual/macros.texi: New file.
23523 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23524 * manual/libc.texinfo: Include macros.texi.
23525 * manual/creatute.texi: Likewise.
23526 * manual/install.texi: Likewise.
23527 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23528 @glibcadj{} in references to the GNU C Library.
23529 * manual/charset.texi: Likewise.
23530 * manual/conf.texi: Likewise.
23531 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23532 when not using those macros.
23533 * manual/creature.texi: Likewise.
23534 * manual/crypt.texi: Likewise.
23535 * manual/errno.texi: Likewise.
23536 * manual/filesys.texi: Likewise.
23537 * manual/header.texi: Likewise.
23538 * manual/install.texi: Likewise.
23539 * manual/intro.texi: Likewise.
23540 * manual/io.texi: Likewise.
23541 * manual/job.texi: Likewise.
23542 * manual/lang.texi: Likewise.
23543 * manual/libc.texiinfo: Likewise.
23544 * manual/llio.texi: Likewise.
23545 * manual/locale.texi: Likewise.
23546 * manual/maint.texi: Likewise.
23547 * manual/math.texi: Likewise.
23548 * manual/memory.texi: Likewise.
23549 * manual/message.texi: Likewise.
23550 * manual/nss.texi: Likewise.
23551 * manual/pattern.texi: Likewise.
23552 * manual/process.texi: Likewise.
23553 * manual/resource.texi: Likewise.
23554 * manual/search.texi: Likewise.
23555 * manual/setjmp.texi: Likewise.
23556 * manual/signal.texi: Likewise.
23557 * manual/socket.texi: Likewise.
23558 * manual/startup.texi: Likewise.
23559 * manual/stdio.texi: Likewise.
23560 * manual/string.texi: Likewise.
23561 * manual/sysinfo.texi: Likewise.
23562 * manual/syslog.texi: Likewise.
23563 * manual/terminal.texi: Likewise.
23564 * manual/time.texi: Likewise.
23565 * manual/users.texi: Likewise.
23566 * INSTALL: Regenerated.
23567 * NOTES: Regenerated.
d40c5d54 23568 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23569
450bf206
AS
235702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23571
23572 * include/dirent.h: Include <dirstream.h> before
23573 <dirent/dirent.h>.
23574
741a235b
DM
235752012-02-28 David S. Miller <davem@davemloft.net>
23576
23577 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23578 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23579 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23580 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23581
d6b5aa58
DM
235822012-02-27 David S. Miller <davem@davemloft.net>
23583
1aff59a3
DM
23584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23586 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23587 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23588
d6b5aa58
DM
23589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23590 frame pointer instead of stack pointer relative arg slot.
23591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23592 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23593 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23594
433f48bf
CD
235952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23596
23597 [BZ #3992]
23598 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23599
d674b76d
DM
236002012-02-27 David S. Miller <davem@davemloft.net>
23601
23602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23606 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23607 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23608 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23609 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23610
0e7727f7
JM
236112012-02-27 Joseph Myers <joseph@codesourcery.com>
23612
23613 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23614 later. Allow versions 5-9.
43be4ca2 23615 * configure: Regenerated.
0e7727f7
JM
23616 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23617 required minimum version and 4.6 as recommended version. Do not
23618 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23619 * INSTALL: Regenerated.
0e7727f7 23620
a78bc654
DM
236212012-02-27 David S. Miller <davem@davemloft.net>
23622
428d5830
DM
23623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23627 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23628 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23629 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23630 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23631
a78bc654
DM
23632 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23633 manipulate bits before adding and subtracting TWO112[sx].
23634 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23635
4579f81c
RM
236362012-02-27 Roland McGrath <roland@hack.frob.com>
23637
36c8acb4
RM
23638 [BZ #13775]
23639 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23640 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23641 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23642 being in POSIX, because they are in 1003.1-2008.
23643
84ad622b
RM
23644 * rt/tst-aio.c: Include <fcntl.h>.
23645 * rt/tst-aio7.c: Likewise.
23646 * rt/tst-aio64.c: Likewise.
23647
4579f81c
RM
23648 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23649
abd923db
JM
236502012-02-27 Joseph Myers <joseph@codesourcery.com>
23651
23652 * manual/install.texi (--with-headers): Describe headers as
23653 interface headers, not private headers.
23654 (Specific advice for GNU/Linux systems): Describe use of headers
23655 from "make headers_install", not private headers from older
23656 kernels.
43be4ca2 23657 * INSTALL: Regenerated.
abd923db
JM
23658 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23659 Change to 2.6.19.
23660 * sysdeps/unix/sysv/linux/configure: Regenerated.
23661
6664049b
JM
23662 * manual/llio.texi (fclean): Remove documentation.
23663
bb8b6697
JM
23664 * manual/Makefile (libc-texi-generated): New variable. Include
23665 version.texi.
23666 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23667 $(libc-texi-generated), not duplicated list of files.
23668 (version.texi, stamp-version): New rules.
23669 (realclean): Remove $(libc-texi-generated), not individual files
23670 from that list. Do not remove dir-add.texinfo.
23671 * manual/libc.texinfo: Comment out uses of edition numbers and
23672 references to printed manual. Remove last-updated dates.
23673 (EDITION): Comment out.
23674 (ISBN): Likewise.
23675 (VERSION, UPDATED): Remove.
23676 (version.texi): Include.
23677
12e5c3b9
AS
236782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23679
23680 * sysdeps/posix/spawni.c: Include <signal.h>.
23681 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23682 * sysdeps/pthread/aio_fsync.c: Likewise.
23683
4efeffc1 236842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23685
ba63ba08
UD
23686 * conform/Makefile (tests): Run only when not cross-compiling and
23687 when fast-check is not defined.
23688
d94a4670
UD
23689 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23690 * conform/data/limits.h-data: Fixes for POSIX2008.
23691 * conform/run-conformtest.sh: Run all tests.
23692 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23693 headers.
23694 * include/bits/dlfcn.h: Likewise.
23695 * include/langinfo.h: Likewise.
23696 * include/monetary.h: Likewise.
23697 * include/sys/poll.h: Likewise.
23698
23699 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23700 for __USE_GNU.
23701 * posix/spawn.h: Define __need_sigset_t.
23702 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23703 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23704 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23705 to get sigevent_t only.
23706 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23707 only for __USE_GNU.
23708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23709 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23710 process_vm_writev only for __USE_GNU.
23711 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23712
23713 * conform/Makefile: For now ignore errors from run-conformtest.
23714 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23715 POSIX to avoid namespace pollution. Don't prepend headers.
23716 * conform/data/aio.h-data: Fixes for POSIX testing.
23717 * conform/data/fcntl.h-data: Likewise.
23718 * conform/data/glob.h-data: Likewise.
23719 * conform/data/grp.h-data: Likewise.
23720 * conform/data/pthread.h-data: Likewise.
23721 * conform/data/pwd.h-data: Likewise.
23722 * conform/data/signal.h-data: Likewise.
23723 * conform/data/spawn.h-data: Likewise.
23724 * conform/data/stdio.h-data: Likewise.
23725 * conform/data/stdlib.h-data: Likewise.
23726 * conform/data/stropts.h-data: Likewise.
23727 * conform/data/sys/mman.h-data: Likewise.
23728 * conform/data/sys/stat.h-data: Likewise.
23729 * conform/data/sys/types.h-data: Likewise.
23730 * conform/data/sys/wait.h-data: Likewise.
23731 * conform/data/time.h-data: Likewise.
23732 * conform/data/unistd.h-data: Likewise.
23733 * conform/data/utime.h-data: Likewise.
23734
23735 * io/sys/stat.h: fchmod was always in POSIX.
23736 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23737 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23738 * rt/aio.h: Define __need_timespec before including <time.h>.
23739 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23740 struct. Add forward declaration of pthread_attr_t and use it in
23741 sigevent.
23742 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23743 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23744 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23745 always remove CLK_TCK definition.
23746
c20105c3
AS
237472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23748
23749 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23750
7a270350
UD
237512012-02-25 Ulrich Drepper <drepper@gmail.com>
23752
31341567
UD
23753 * conform/run-conformtest.sh: New file.
23754 * conform/Makefile: Run run-conformtest for tests.
23755 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23756 support.
23757
23758 * conform/data/uchar.h-data: New file.
23759 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23760 * conform/data/arpa/inet.h-data: Likewise.
23761 * conform/data/assert.h-data: Likewise.
23762 * conform/data/complex.h-data: Likewise.
23763 * conform/data/cpio.h-data: Likewise.
23764 * conform/data/ctype.h-data: Likewise.
23765 * conform/data/dirent.h-data: Likewise.
23766 * conform/data/dlfcn.h-data: Likewise.
23767 * conform/data/errno.h-data: Likewise.
23768 * conform/data/fcntl.h-data: Likewise.
23769 * conform/data/float.h-data: Likewise.
23770 * conform/data/fmtmsg.h-data: Likewise.
23771 * conform/data/fnmatch.h-data: Likewise.
23772 * conform/data/ftw.h-data: Likewise.
23773 * conform/data/glob.h-data: Likewise.
23774 * conform/data/grp.h-data: Likewise.
23775 * conform/data/iconv.h-data: Likewise.
23776 * conform/data/inttypes.h-data: Likewise.
23777 * conform/data/langinfo.h-data: Likewise.
23778 * conform/data/libgen.h-data: Likewise.
23779 * conform/data/limits.h-data: Likewise.
23780 * conform/data/locale.h-data: Likewise.
23781 * conform/data/math.h-data: Likewise.
23782 * conform/data/monetary.h-data: Likewise.
23783 * conform/data/mqueue.h-data: Likewise.
23784 * conform/data/ndbm.h-data: Likewise.
23785 * conform/data/net/if.h-data: Likewise.
23786 * conform/data/netdb.h-data: Likewise.
23787 * conform/data/netinet/in.h-data: Likewise.
23788 * conform/data/nl_types.h-data: Likewise.
23789 * conform/data/poll.h-data: Likewise.
23790 * conform/data/pthread.h-data: Likewise.
23791 * conform/data/pwd.h-data: Likewise.
23792 * conform/data/regex.h-data: Likewise.
23793 * conform/data/sched.h-data: Likewise.
23794 * conform/data/search.h-data: Likewise.
23795 * conform/data/semaphore.h-data: Likewise.
23796 * conform/data/setjmp.h-data: Likewise.
23797 * conform/data/signal.h-data: Likewise.
23798 * conform/data/spawn.h-data: Likewise.
23799 * conform/data/stdarg.h-data: Likewise.
23800 * conform/data/stdio.h-data: Likewise.
23801 * conform/data/stdlib.h-data: Likewise.
23802 * conform/data/string.h-data: Likewise.
23803 * conform/data/strings.h-data: Likewise.
23804 * conform/data/stropts.h-data: Likewise.
23805 * conform/data/sys/ipc.h-data: Likewise.
23806 * conform/data/sys/mman.h-data: Likewise.
23807 * conform/data/sys/msg.h-data: Likewise.
23808 * conform/data/sys/resource.h-data: Likewise.
23809 * conform/data/sys/select.h-data: Likewise.
23810 * conform/data/sys/sem.h-data: Likewise.
23811 * conform/data/sys/shm.h-data: Likewise.
23812 * conform/data/sys/socket.h-data: Likewise.
23813 * conform/data/sys/stat.h-data: Likewise.
23814 * conform/data/sys/statvfs.h-data: Likewise.
23815 * conform/data/sys/time.h-data: Likewise.
23816 * conform/data/sys/timeb.h-data: Likewise.
23817 * conform/data/sys/times.h-data: Likewise.
23818 * conform/data/sys/types.h-data: Likewise.
23819 * conform/data/sys/uio.h-data: Likewise.
23820 * conform/data/sys/un.h-data: Likewise.
23821 * conform/data/sys/utsname.h-data: Likewise.
23822 * conform/data/sys/wait.h-data: Likewise.
23823 * conform/data/syslog.h-data: Likewise.
23824 * conform/data/tar.h-data: Likewise.
23825 * conform/data/termios.h-data: Likewise.
23826 * conform/data/utime.h-data: Likewise.
23827 * conform/data/utmpx.h-data: Likewise.
23828 * conform/data/varargs.h-data: Likewise.
23829 * conform/data/wchar.h-data: Likewise.
23830 * conform/data/wctype.h-data: Likewise.
23831 * conform/data/wordexp.h-data: Likewise.
23832
23833 * include/stropts.h: New file.
23834 * include/uchar.h: New file.
23835 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23836 * include/assert.h: Likewise.
23837 * include/ctype.h: Likewise.
23838 * include/dirent.h: Likewise.
23839 * include/dlfcn.h: Likewise.
23840 * include/fcntl.h: Likewise.
23841 * include/fnmatch.h: Likewise.
23842 * include/glob.h: Likewise.
23843 * include/grp.h: Likewise.
23844 * include/libio.h: Likewise.
23845 * include/locale.h: Likewise.
23846 * include/math.h: Likewise.
23847 * include/net/if.h: Likewise.
23848 * include/netdb.h: Likewise.
23849 * include/netinet/in.h: Likewise.
23850 * include/pthread.h: Likewise.
23851 * include/pwd.h: Likewise.
23852 * include/regex.h: Likewise.
23853 * include/sched.h: Likewise.
23854 * include/search.h: Likewise.
23855 * include/setjmp.h: Likewise.
23856 * include/signal.h: Likewise.
23857 * include/stdio.h: Likewise.
23858 * include/stdlib.h: Likewise.
23859 * include/string.h: Likewise.
23860 * include/sys/cdefs.h: Likewise.
23861 * include/sys/mman.h: Likewise.
23862 * include/sys/msg.h: Likewise.
23863 * include/sys/resource.h: Likewise.
23864 * include/sys/select.h: Likewise.
23865 * include/sys/socket.h: Likewise.
23866 * include/sys/stat.h: Likewise.
23867 * include/sys/statvfs.h: Likewise.
23868 * include/sys/time.h: Likewise.
23869 * include/sys/times.h: Likewise.
23870 * include/sys/uio.h: Likewise.
23871 * include/sys/utsname.h: Likewise.
23872 * include/sys/wait.h: Likewise.
23873 * include/termios.h: Likewise.
23874 * include/time.h: Likewise.
23875 * include/ulimit.h: Likewise.
23876 * include/unistd.h: Likewise.
23877 * include/utime.h: Likewise.
23878 * include/wchar.h: Likewise.
23879 * include/wctype.h: Likewise.
23880 * include/wordexp.h: Likewise.
23881
23882 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23883
7a270350
UD
23884 * time/time.h: TIME_UTC must be a macro.
23885 Make timespec_get available for ISO C11 only as well.
23886
7724defc
UD
238872012-02-24 Ulrich Drepper <drepper@gmail.com>
23888
23889 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23890 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23891
6b1d1d46
JM
238922012-02-24 Joseph Myers <joseph@codesourcery.com>
23893
23894 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23895
0f8bbd69
JM
238962012-02-24 Joseph Myers <joseph@codesourcery.com>
23897
23898 * manual/texinfo.tex: Update to version 2012-01-19.16.
23899
66ab80bc
JM
239002012-02-24 Joseph Myers <joseph@codesourcery.com>
23901
23902 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23903
74981cc5
RM
239042012-02-24 Roland McGrath <roland@hack.frob.com>
23905
ee968201
RM
23906 [BZ #13738]
23907 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23908 * manual/fdl-1.3.texi: New file.
23909 * manual/fdl-1.1.texi: File removed.
23910
74981cc5
RM
23911 [BZ #13738]
23912 * manual/libc.texinfo (FDL_VERSION): New @set.
23913 Use it for mention of FDL in cover text.
23914 (Documentation License): Use it in @include file name.
23915
7bb764bc
JM
239162012-02-22 Joseph Myers <joseph@codesourcery.com>
23917 Roland McGrath <roland@hack.frob.com>
23918
23919 [BZ #5461]
23920 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23921 not LONG_LONG_MAX and LONG_LONG_MIN.
23922 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23923 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23924 name.
23925 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23926
6cbeae47
JM
239272012-02-22 Joseph Myers <joseph@codesourcery.com>
23928
23929 [BZ #2547]
23930 [BZ #11365]
23931 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23932 manipulate bits before adding and subtracting TWO23[sx].
23933 * math/libm-test.inc (nearbyint_test): Add more tests.
23934
fe45ce09
JM
239352012-02-22 Joseph Myers <joseph@codesourcery.com>
23936
23937 [BZ #2548]
23938 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23939 bits before adding and subtracting TWO23[sx].
23940 * math/libm-test.inc (rint_test): Add more tests.
23941 (rint_test_tonearest): Likewise.
23942 (rint_test_towardzero): Likewise.
23943 (rint_test_downward): Likewise.
23944 (rint_test_upward: Likewise.
23945
ff3b3d82
JM
239462012-02-22 Joseph Myers <joseph@codesourcery.com>
23947
23948 [BZ #10110]
23949 * include/stdc-predef.h: New file. Extracted from features.h.
23950 * include/features.h: Include stdc-predef.h.
23951 * Makefile (headers): Add stdc-predef.h.
23952 * CONFORMANCE (Compiler limitations): Update.
23953
ef0aab35
JM
239542012-02-22 Joseph Myers <joseph@codesourcery.com>
23955
23956 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23957
58639409
DM
239582012-02-21 David S. Miller <davem@davemloft.net>
23959
23960 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23961 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23962
c0e70b25
DM
239632012-02-20 David S. Miller <davem@davemloft.net>
23964
23965 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23966 using a normal save/restore sequence, rather than allocating a
23967 dummy stack frame just to store a frame pointer and restore.
23968 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23969
fb06851d
JM
239702012-02-21 Joseph Myers <joseph@codesourcery.com>
23971
23972 * manual/install.texi: Fix stray word in line-wrapped comment.
23973
7a8b71c3
DM
239742012-02-20 David S. Miller <davem@davemloft.net>
23975
d510c123
DM
23976 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23977 both binutils and gcc support GOTDATA.
23978
0722d7c2
DM
23979 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23980 "rd %pc" in the PIC register setup sequences.
23981
3d2b3019
DM
23982 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23983 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23984 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23985 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23986 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23988 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23989 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23991 (SYSCALL_ERROR_HANDLER): Likewise.
23992 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23993 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23994 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23995 (SYSCALL_ERROR_HANDLER): Likewise.
23996
c80098a9
DM
23997 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23998 (HAVE_GCC_GOTDATA): New.
23999 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24000 relocation support in both binutils and gcc.
24001 * sysdeps/sparc/elf/configure: Regenerate.
24002
3a2545a0
DM
24003 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24004 * sysdeps/sparc/sparc32/elf/configure: Delete.
24005 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24006 * sysdeps/sparc/sparc64/elf/configure: Delete.
24007 * sysdeps/sparc/elf/configure.in: New file.
24008 * sysdeps/sparc/elf/configure: Generate.
24009
7a8b71c3
DM
24010 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24011 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24012 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24013 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24014 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24015
f1e86fca
JM
240162012-02-21 Joseph Myers <joseph@codesourcery.com>
24017
24018 * manual/install.texi: Do not mention specific glibc version
24019 numbers.
24020 * manual/libc.texinfo (VERSION, UPDATED): Update.
24021 (@copying): Use @copyright{} and range of years.
24022
0e7dfaef
JM
240232012-02-21 Joseph Myers <joseph@codesourcery.com>
24024
24025 [BZ #13695]
24026 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24027 [crti.S not in sysdirs] (generated): Do not append.
24028 [crti.S not in sysdirs] (omit-deps): Likewise.
24029 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24030 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24031 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24032 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24033 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24034 Likewise.
24035 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24036 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24037 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24038 * csu/defs.awk: Remove file.
24039 * sysdeps/generic/initfini.c: Likewise.
24040 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24041 variable.
24042 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24043 Likewise.
24044
599af3ca
JM
240452012-02-20 Joseph Myers <joseph@codesourcery.com>
24046
24047 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24048 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24049 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24050 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24051 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24052 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24053 <bits/epoll.h>.
24054 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24055 (__EPOLL_PACKED): Define to empty if not defined by
24056 <bits/epoll.h>.
24057 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24059 bits/epoll.h.
24060
0e499750
JM
240612012-02-20 Joseph Myers <joseph@codesourcery.com>
24062
24063 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24064 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24065 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24066 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24067 <bits/timerfd.h>.
24068 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24070 bits/timerfd.h.
24071
5ad91f6e
JM
240722012-02-20 Joseph Myers <joseph@codesourcery.com>
24073
24074 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24075 in C locale.
24076 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24077 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24078 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24080
06b99b02
AJ
240812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24082
24083 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24084 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24085
7638c0fd
AS
240862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24087
24088 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24089 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24090 defined.
24091 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24092 Likewise.
24093 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24094 entry for 2.16.
24095
92221550
AJ
240962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24097
24098 * math/w_acos.c: Use non-signaling floating-point comparisons.
24099 * math/w_acosf.c: Likewise.
24100 * math/w_acosh.c: Likewise.
24101 * math/w_acoshf.c: Likewise.
24102 * math/w_acoshl.c: Likewise.
24103 * math/w_acosl.c: Likewise.
24104 * math/w_asin.c: Likewise.
24105 * math/w_asinf.c: Likewise.
24106 * math/w_asinl.c: Likewise.
24107 * math/w_atanh.c: Likewise.
24108 * math/w_atanhf.c: Likewise.
24109 * math/w_atanhl.c: Likewise.
24110 * math/w_exp2.c: Likewise.
24111 * math/w_exp2f.c: Likewise.
24112 * math/w_exp2l.c: Likewise.
24113 * math/w_j0.c: Likewise.
24114 * math/w_j0f.c: Likewise.
24115 * math/w_j0l.c: Likewise.
24116 * math/w_j1.c: Likewise.
24117 * math/w_j1f.c: Likewise.
24118 * math/w_j1l.c: Likewise.
24119 * math/w_jn.c: Likewise.
24120 * math/w_jnf.c: Likewise.
24121 * math/w_log.c: Likewise.
24122 * math/w_log10.c: Likewise.
24123 * math/w_log10f.c: Likewise.
24124 * math/w_log10l.c: Likewise.
24125 * math/w_log2.c: Likewise.
24126 * math/w_log2f.c: Likewise.
24127 * math/w_log2l.c: Likewise.
24128 * math/w_logf.c: Likewise.
24129 * math/w_logl.c: Likewise.
24130 * math/w_sqrt.c: Likewise.
24131 * math/w_sqrtf.c: Likewise.
24132 * math/w_sqrtl.c: Likewise.
24133 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24134 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24135 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24136 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24137 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24138
ebaf36eb
JM
241392012-02-19 Joseph Myers <joseph@codesourcery.com>
24140
24141 [BZ #9739]
24142 * manual/string.texi (strnlen): Use correct parameter name in
24143 equivalent expression.
24144
71c254a6
JM
241452012-02-19 Joseph Myers <joseph@codesourcery.com>
24146
24147 [BZ #11174]
24148 * manual/users.texi (seteuid): Consistently use neweuid for
24149 argument name.
24150
16d2c631
JM
241512012-02-19 Joseph Myers <joseph@codesourcery.com>
24152
24153 [BZ #13704]
24154 * manual/nss.texi (Services in the NSS configuration): Correct
24155 list of services in example configuration file.
24156
cd837b09
NB
241572012-02-19 Nick Bowler <nbowler@draconx.ca>
24158
24159 [BZ #11322]
24160 * manual/arith.texi: Remove statements about negative zero
24161 behaving identically to zero.
24162
02c4bbad
JM
241632012-02-18 Joseph Myers <joseph@codesourcery.com>
24164
24165 [BZ #5993]
24166 * manual/install.texi: Do not document upgrading from libc5.
24167
366842e7
JM
241682012-02-18 Joseph Myers <joseph@codesourcery.com>
24169
24170 [BZ #4596]
24171 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24172
dd54084d
DM
241732012-02-18 David S. Miller <davem@davemloft.net>
24174
24175 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24176 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24177 %o7 across the call.
24178 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24179 instead.
24180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24181 SETUP_PIC_REG_LEAF.
24182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24183 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24184 * sysdeps/sparc/crtn.S: Likewise.
24185
2bcc53a3
UD
241862012-02-17 Ulrich Drepper <drepper@gmail.com>
24187
24188 * aout/Makefile: Remove.
24189
09c093b5
RK
241902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24191
24192 [BZ #13058]
24193 * manual/examples/argp-ex1.c (main): Format definition in GNU
24194 style.
24195 * manual/examples/argp-ex2.c (main): Likewise.
24196 * manual/examples/argp-ex3.c (main): Likewise.
24197 * manual/examples/argp-ex4.c (main): Likewise.
24198 * manual/examples/longopt.c (main): Use new-style prototype
24199 definition.
24200 * manual/examples/strncat.c (main): Specify return type and use
24201 (void) for arguments.
24202 * manual/examples/subopt.c (main): Use char **argv argument.
24203
2ee633a2
JM
242042012-02-17 Joseph Myers <joseph@codesourcery.com>
24205
24206 [BZ #5077]
24207 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24208 rounding modes.
24209
0520adde
FB
242102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24211
24212 [BZ #6907]
24213 * manual/string.texi (strchr): Change when strchrnul is
24214 recommended.
24215
3f4081cd
DGM
242162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24217
24218 [BZ #174]
24219 * manual/locale.texi (setlocale): Document LOCPATH.
24220
d1b10e78
JM
242212012-02-17 Joseph Myers <joseph@codesourcery.com>
24222
24223 [BZ #10210]
24224 * manual/process.texi (execle): Move @dots{} before last argument.
24225
79c6869c
PB
242262012-02-17 Paul Bolle <pebolle@tiscali.nl>
24227
24228 [BZ #12047]
24229 * manual/charset.texi (Generic Charset Conversion): Fix typo
24230 (LC_TYPE -> LC_CTYPE).
24231
cc6e48bc
NB
242322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24233
24234 [BZ #5805]
24235 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24236 (scalbnf): Likewise.
24237 (scalbnl): Likewise.
24238 (scalbln): Likewise.
24239 (scalblnf): Likewise.
24240 (scalblnl): Likewise.
24241 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24242 (vwarnx): Likewise.
24243 (verr): Likewise.
24244 (verrx): Likewise.
24245 * manual/filesys.texi (telldir): Use braces around return type.
24246 * manual/llio.texi (mmap): Add space after comma.
24247 (mmap64): Likewise.
24248 * manual/math.texi (jn): Use @var{} on parameter names.
24249 (jnf): Likewise.
24250 (jnl): Likewise.
24251 (yn): Likewise.
24252 (ynf): Likewise.
24253 (ynl): Likewise.
24254 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24255 line.
24256 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24257 "...".
24258 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24259 (sched_get_priority_max): Likewise.
24260 * manual/signal.texi (sigvec): Add space after comma.
24261 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24262 names.
24263 (if_indextoname): Likewise.
24264 (if_freenameindex): Likewise.
24265 (sendto): Use ',' instead of '.' in prototype.
24266 * manual/startup.texi (syscall): Use @dots{} instead of literal
24267 "...".
24268 * manual/stdio.texi (__fpending): Separate initial words of
24269 paragraph from @deftypefun line.
24270 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24271 "...".
24272 (vsyslog): Use @var{} on parameter names.
24273 * manual/terminal.texi (stty): Use @var{} on parameter names.
24274 * manual/users.texi (getutmp): Use @var{} on parameter names.
24275 (getutmpx): Likewise.
24276
5b23062f
JM
242772012-02-17 Joseph Myers <joseph@codesourcery.com>
24278
24279 [BZ #6884]
24280 * manual/stdio.texi (fopen): Fix typos in description of
24281 ",ccs=STRING".
24282
8dee4833
AJ
242832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24284
24285 [BZ #4026]
24286 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24287 get clock_id definition.
24288
9078ce93
TS
242892012-02-17 Thomas Schwinge <thomas@schwinge.name>
24290
24291 [BZ #4822]
24292 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24293 (madvise): Cast every argument to void on its own.
24294
3835c55f
JM
242952012-02-17 Joseph Myers <joseph@codesourcery.com>
24296
24297 [BZ #9902]
24298 * manual/startup.texi (Exit Status): Fix typo.
24299
35c47e37
JM
243002012-02-17 Joseph Myers <joseph@codesourcery.com>
24301
24302 [BZ #10140]
24303 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24304 * manual/examples/argp-ex2.c: Likewise.
24305 * manual/examples/argp-ex3.c: Likewise.
24306
e3b69ca7
RH
243072012-02-16 Richard Henderson <rth@redhat.com>
24308
24309 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24310 * sysdeps/s390/s390-32/initfini.c: Remove.
24311 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24312 * sysdeps/s390/s390-64/initfini.c: Remove.
24313
df83af67
KK
243142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24315
24316 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24317 compiler output for sysdeps/generic/initfini.c.
24318 * sysdeps/sh/elf/initfini.c: Remove file.
24319
f63f3380
DM
243202012-02-16 David S. Miller <davem@davemloft.net>
24321
fb59b3a4
DM
24322 [BZ #11494]
24323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24324
f63f3380
DM
24325 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24326 * sysdeps/sparc/crti.S: New file.
24327 * sysdeps/sparc/crtn.S: New file.
24328 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24329 * sysdeps/sparc/sparc64/Makefile: Likewise.
24330
df6a4a4a
MF
243312012-02-15 Mike Frysinger <vapier@gentoo.org>
24332
6dd8f3dc 24333 [BZ #3335]
df6a4a4a
MF
24334 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24335
1cac7236
RM
243362012-02-15 Roland McGrath <roland@hack.frob.com>
24337
d2c736f8
RM
24338 [BZ #4822]
24339 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24340
1cac7236
RM
24341 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24342 (write, read, close): Likewise.
24343 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24344
8e475601
JM
243452012-02-15 Joseph Myers <joseph@codesourcery.com>
24346
24347 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24348 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24349 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24350 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24351 <bits/signalfd.h>.
24352 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24354 bits/signalfd.h.
24355
ed656b40
MP
243562012-02-14 Marek Polacek <polacek@redhat.com>
24357
24358 * sysdeps/x86_64/crti.S: New file.
24359 * sysdeps/x86_64/crtn.S: New file.
24360 * sysdeps/x86_64/elf/initfini.c: Remove file.
24361
2a979d3a
JM
243622012-02-13 Joseph Myers <joseph@codesourcery.com>
24363
24364 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24365 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24366 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24367 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24368 <bits/inotify.h>.
24369 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24371 bits/inotify.h.
24372
2a418ac3
JM
243732012-02-13 Joseph Myers <joseph@codesourcery.com>
24374
24375 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24376 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24377 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24378 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24379 <bits/eventfd.h>.
24380 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24382 bits/eventfd.h.
24383
fb779be7
TS
243842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24385
e19e83c5
RM
24386 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24387 __feraiseexcept instead of feraiseexcept.
7c35ffed 24388
fb779be7
TS
24389 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24390 nanosleep invocations.
24391 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24392 strings, and add error checking for a nanosleep invocations.
24393
59ba27a6
PE
243942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24395
24396 Replace FSF snail mail address with URLs, as per GNU coding standards.
24397 Most of the snail mail addresses were wrong anyway, and omitting
24398 them makes the source code easier to maintain. Almost all of the
24399 changes are to license notices and to locale LC_IDENTIFICATION
24400 addresses, except for this one:
24401 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24402 not its snail mail address.
24403
57b957eb
RH
244042012-02-09 Richard Henderson <rth@twiddle.net>
24405
af850b1c
RH
24406 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24407 of kernel-features.h.
24408
57b957eb
RH
24409 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24410
6b73181a
MP
244112012-02-08 Marek Polacek <polacek@redhat.com>
24412
24413 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24414 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24415 * sysdeps/gnu/_G_config.h: Likewise.
24416 * sysdeps/generic/_G_config.h: Likewise.
24417
26ecc33a
AS
244182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24419
6c6dbc63
AS
24420 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24421 tests.
24422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24423
e216c012
AS
24424 * sysdeps/powerpc/powerpc32/crti.S: New file.
24425 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24426 * sysdeps/powerpc/powerpc64/crti.S: New file.
24427 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24428
26ecc33a
AS
24429 * Makeconfig (have-initfini): Don't set.
24430 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24431 * configure.in (nopic_initfini): Don't substitute.
24432 * config.h.in (HAVE_INITFINI): Don't #undef.
24433 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24434 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24435
3add8e13
JM
244362012-02-08 Joseph Myers <joseph@codesourcery.com>
24437
24438 Support crti.S and crtn.S provided directly by architectures.
24439 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24440 [crti.S in sysdirs] (omit-deps): Likewise.
24441 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24442 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24443 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24444 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24445 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24446 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24447 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24448 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24449 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24450 compiler output for sysdeps/generic/initfini.c.
24451 * sysdeps/i386/elf/Makefile: Remove file.
24452 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24453
a22f12b4
MP
244542012-02-07 Marek Polacek <polacek@redhat.com>
24455
24456 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24457 * sysdeps/gnu/_G_config.h: Likewise.
24458 * sysdeps/mach/hurd/_G_config.h: Likewise.
24459
148cf100
MP
244602012-02-07 Marek Polacek <polacek@redhat.com>
24461
24462 * math/Makefile (tests): Add tst-CMPLX2.
24463 * math/tst-CMPLX2.c: New file.
24464
cfdc0dd7
AS
244652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24466
84ba42c4
AS
24467 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24468
cfdc0dd7
AS
24469 * math/libm-test.inc (jn_test): Add missing L suffix.
24470
622c86f4
MP
244712012-02-06 Marek Polacek <polacek@redhat.com>
24472
24473 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24474 * sysdeps/i386/fpu/e_powf.S: Likewise.
24475 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24476 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24477 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24478 * sysdeps/i386/fpu/e_pow.S: Likewise.
24479 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24480 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24481 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24482 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24483 * sysdeps/i386/fpu/e_log2.S: Likewise.
24484 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24485 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24486 * sysdeps/i386/fpu/e_powl.S: Likewise.
24487 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24488 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24489 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24490 * sysdeps/i386/fpu/e_logl.S: Likewise.
24491 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24492 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24493 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24494 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24495 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24496 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24497 * sysdeps/i386/fpu/e_log.S: Likewise.
24498 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24499 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24500 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24501 * sysdeps/i386/fpu/e_logf.S: Likewise.
24502 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24503 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24504 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24505 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24506 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24507 * sysdeps/i386/fpu/e_log10.S: Likewise.
24508 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24509 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24510 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24511 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24512 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24513 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24514 * sysdeps/i386/asm-syntax.h: Likewise.
24515 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24516 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24517 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24518 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24519 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24520 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24521 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24522 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24523 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24524 * sysdeps/powerpc/sysdep.h: Likewise.
24525 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24526 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24527
d4a54ac6
JM
245282012-02-06 Joseph Myers <joseph@codesourcery.com>
24529
24530 [BZ #411]
24531 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24532
314054ea
JM
245332012-02-06 Joseph Myers <joseph@codesourcery.com>
24534
24535 * sysdeps/i386/sysdep.h: Include <features.h>.
24536 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24537 version.
24538
d8e0ca50
JM
245392012-02-05 Joseph Myers <joseph@codesourcery.com>
24540
24541 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24542 Define.
24543 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24544 LOAD_PIC_REG_STR.
24545
b1da7dd9
JM
245462012-02-03 Joseph Myers <joseph@codesourcery.com>
24547
24548 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24549 (SETUP_PIC_REG): Use GET_PC_THUNK.
24550 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24551 macro.
24552
9a1d9254
JM
245532012-02-03 Joseph Myers <joseph@codesourcery.com>
24554
24555 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24556 for non-PIC compilation.
24557 (SETUP_PIC_REG): Add .p2align directive.
24558 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24559 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24560 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24561 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24562 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24563 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24564 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24566 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24567 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24568 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24569 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24570 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24571 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24572 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24573 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24574 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24575 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24576 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24577 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24578 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24580 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24581 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24582 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24584 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24585 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24586 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24587 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24588 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24589 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24590 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24591 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24592 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24593 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24594 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24595 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24596 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24597 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24598 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24599
65dc3b75
JM
246002012-02-03 Joseph Myers <joseph@codesourcery.com>
24601
24602 * math/tst-CMPLX.c: Include <stdio.h>.
24603
d55bf177
JM
246042012-01-31 Joseph Myers <joseph@codesourcery.com>
24605
24606 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24607 float.
24608 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24609 * sysdeps/sparc/bits/mathdef.h: Likewise.
24610
69db4f8f
MP
246112012-01-31 Marek Polacek <polacek@redhat.com>
24612
24613 * libio/libio.h: Don't define _PARAMS.
24614 * locale/programs/config.h: Don't define PARAMS.
24615 * stdlib/strtol_l.c: Likewise.
24616 (__strtol_l): Remove PARAMS from the prototype.
24617
41b81892
UD
246182012-01-31 Ulrich Drepper <drepper@gmail.com>
24619
3b49edc0
UD
24620 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24621 names. Just use the correct names. Remove unnecessary wrapper
24622 functions.
24623 * malloc/arena.c: Likewise.
24624 * malloc/hooks.c: Likewise.
24625
41b81892
UD
24626 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24627 ARENA_TEST says not to. Simplify test for creation of a new arena.
24628 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24629
27a25b6e
UD
246302012-01-30 Ulrich Drepper <drepper@gmail.com>
24631
24632 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24633 into tail calls.
24634 (update_get_addr): New function.
24635 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24636 GET_ADDR_MODULE parameter.
24637
c8a89e7d
JM
246382012-01-30 Joseph Myers <joseph@codesourcery.com>
24639
24640 * crypt/cert.c: Remove __STDC__ conditionals.
24641 * crypt/crypt-entry.c: Likewise.
24642 * crypt/crypt_util.c: Likewise.
24643 * libio/filedoalloc.c: Likewise.
24644 * libio/fileops.c: Likewise.
24645 * libio/genops.c: Likewise.
24646 * libio/iofclose.c: Likewise.
24647 * libio/iofdopen.c: Likewise.
24648 * libio/iofopen.c: Likewise.
24649 * libio/iofopen64.c: Likewise.
24650 * libio/iogetdelim.c: Likewise.
24651 * libio/iopopen.c: Likewise.
24652 * libio/obprintf.c: Likewise.
24653 * libio/oldfileops.c: Likewise.
24654 * libio/oldiofclose.c: Likewise.
24655 * libio/oldiofdopen.c: Likewise.
24656 * libio/oldiofopen.c: Likewise.
24657 * libio/oldiopopen.c: Likewise.
24658 * libio/wfiledoalloc.c: Likewise.
24659 * libio/wgenops.c: Likewise.
24660 * locale/programs/xmalloc.c: Likewise.
24661 * misc/syslog.c: Likewise.
24662 * stdio-common/xbug.c: Likewise.
24663 * string/memchr.c: Likewise.
24664 * string/memcmp.c: Likewise.
24665 * string/memrchr.c: Likewise.
24666 * string/rawmemchr.c: Likewise.
24667 * sysdeps/posix/getcwd.c: Likewise.
24668 * time/strftime_l.c: Likewise.
24669
3b100462
JM
246702012-01-30 Joseph Myers <joseph@codesourcery.com>
24671
24672 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24673 * config.make.in (config-cflags-sse2avx): Define.
24674 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24675 Fix typo.
24676
607998af
CM
246772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24678
24679 * scripts/config.guess: Update from upstream config git repository.
24680 * scripts/config.sub: Likewise.
24681
3601428f
CM
246822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24683
3ac8b282
CM
24684 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24685 (EM_NUM): Update.
24686 (R_TILEPRO_*, R_TILEGX_*): New macros.
24687
e034841e
CM
24688 * scripts/firstversions.awk: Fix bug in version range handling.
24689
540d7568
CM
24690 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24691
3601428f
CM
24692 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24693
463de862
CM
24694 * include/sys/epoll.h: New file.
24695 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24696 libc_hidden_def.
24697
73139a76
UD
246982012-01-28 Ulrich Drepper <drepper@gmail.com>
24699
96bc5b45
UD
24700 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24701 Avoid unnecessary __WORDSIZE == 64 test.
24702 (fmaxf): Use VEX format if possible.
24703 (fmax): Likewise.
24704 (fminf): Likewise.
24705 (fmin): Likewise.
24706
56f6f6a2
UD
24707 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24708 * math/math_private.h: Remove libc_fegetround* and
24709 libc_fesetround*.
24710 * sysdeps/i386/configure.in: Check for -msse2avx.
24711 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24712 also if SSE2AVX is defined.
24713 Remove libc_fegetround* and libc_fesetround*.
24714 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24715 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24716 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24717 of HAS_YMM_USABLE.
24718 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24719 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24720 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24722 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24723
73139a76
UD
24724 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24725
d73f93a4
AZ
247262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24727
24728 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24729 size is not set.
24730 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24731
6ee65ed6
UD
247322012-01-27 Ulrich Drepper <drepper@gmail.com>
24733
24734 [BZ #13618]
24735 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24736 relocation.
24737 * Makeconfig (libm): Define.
24738 * elf/Makefile: Add rules to build and run tst-relsort1.
24739 * elf/tst-relsort1.c: New file.
24740 * elf/tst-relsort1mod1.c: New file.
24741 * elf/tst-relsort1mod2.c: New file.
24742
8db21882
JM
247432012-01-27 Joseph Myers <joseph@codesourcery.com>
24744
24745 * math/s_ldexp.c: Remove __STDC__ conditionals.
24746 * math/s_ldexpf.c: Likewise.
24747 * math/s_ldexpl.c: Likewise.
24748 * math/s_nextafter.c: Likewise.
24749 * math/s_nexttowardf.c: Likewise.
24750 * math/s_significand.c: Likewise.
24751 * math/s_significandf.c: Likewise.
24752 * math/s_significandl.c: Likewise.
24753 * math/w_jnl.c: Likewise.
24754 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24755 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24756 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24757 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24758 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24760 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24761 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24762 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24763 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24764 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24765 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24766 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24767 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24768 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24769 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24770 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24771 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24773 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24774 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24775 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24776 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24777 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24778 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24779 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24780 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24781 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24782 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24783 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24784 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24785 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24786 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24787 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24788 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24789 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24790 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24791 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24792 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24793 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24794 * sysdeps/ieee754/k_standard.c: Likewise.
24795 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24798 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24799 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24817 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24850 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24855 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24856 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24861 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24863 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24864 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24865 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24869 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24870 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24871 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24872 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24873 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24874 * sysdeps/ieee754/s_matherr.c: Likewise.
24875 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24876 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24877 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24878 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24879
965a54a4
JM
248802012-01-26 Joseph Myers <joseph@codesourcery.com>
24881
24882 * crypt/md5.h: Remove __STDC__ conditionals.
24883 * libio/libioP.h: Likewise.
24884 * locale/programs/config.h: Likewise.
24885 * sysdeps/generic/sysdep.h: Likewise.
24886 * sysdeps/i386/asm-syntax.h: Likewise.
24887 * sysdeps/s390/asm-syntax.h: Likewise.
24888 * sysdeps/unix/sysdep.h: Likewise.
24889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24891
7071ad79
JM
248922012-01-26 Joseph Myers <joseph@codesourcery.com>
24893
24894 * libio/libio.h: Remove __STDC__ conditionals.
24895 * malloc/obstack.h: Likewise.
24896 * math/complex.h: Likewise.
24897 * math/math.h: Likewise.
24898 * sysdeps/generic/_G_config.h: Likewise.
24899 * sysdeps/gnu/_G_config.h: Likewise.
24900 * sysdeps/mach/hurd/_G_config.h: Likewise.
24901 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24902 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24903 * sysdeps/sparc/bits/mathdef.h: Likewise.
24904
afc5ed09
UD
249052012-01-26 Ulrich Drepper <drepper@gmail.com>
24906
24907 [BZ #13583]
24908 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24909 Clean up HAS_* macros.
afc5ed09 24910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24911 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24912 possible.
24913 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24914 HAS_AVX.
24915 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24916 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24917 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24918 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24919 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24920
bdb6de1d
JM
249212012-01-25 Joseph Myers <joseph@codesourcery.com>
24922
24923 * elf/tst-unique3.cc (gets): Remove declaration.
24924 * elf/tst-unique3lib.cc (gets): Likewise.
24925 * elf/tst-unique3lib2.cc (gets): Likewise.
24926 * elf/tst-unique4.cc (gets): Likewise.
24927
b15549e6
UD
249282012-01-24 Ulrich Drepper <drepper@gmail.com>
24929
24930 * include/stdio.h: Add C++ protection. Add gets declarations and
24931 definitions.
24932 * debug/tst-chk1.c: Don't declare gets here.
24933 * stdio-common/tst-gets.c: Likewise.
24934
a037381f
JM
249352012-01-24 Joseph Myers <joseph@codesourcery.com>
24936
24937 * posix/glob: Remove directory.
24938
f1d4aa75
JM
249392012-01-24 Joseph Myers <joseph@codesourcery.com>
24940
24941 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24942
81c0c964
PT
249432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24944
24945 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24946 of the non-standard EPFNOSUPPORT.
24947
0ea698ae
ST
249482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24949
24950 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24951 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24952 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24953
d220b117
UD
249542012-01-21 Ulrich Drepper <drepper@gmail.com>
24955
24956 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24957
3e1aa84e
UD
249582012-01-20 Ulrich Drepper <drepper@gmail.com>
24959
24960 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24961 transient errors.
24962 * nscd/grpcache.c (cache_addgr): Likewise.
24963 * nscd/hstcache.c (cache_addhst): Likewise.
24964 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24965 * nscd/pwdcache.c (cache_addpw): Likewise.
24966 * nscd/servicescache.c (cache_addserv): Likewise.
24967
400aa020
UD
249682012-01-16 Ulrich Drepper <drepper@gmail.com>
24969
d77e7869
UD
24970 * malloc/malloc.c: Various cleanups.
24971 * malloc/hooks.c: Likewise.
24972
400aa020
UD
24973 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24974 * stdlib/bug-fmtmsg1.c: New file.
24975
24976 * stdlib/fmtmsg.c (init): Add missing unlock.
24977 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24978
e0a309cf
MP
249792012-01-12 Marek Polacek <polacek@redhat.com>
24980
24981 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24982 and _GNU_SOURCE.
24983
929d11c7
WS
249842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24985
24986 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24987 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24988 macro to ensure uniqueness of label name.
24989 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24990 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24991
41d0e869
UD
249922012-01-11 Ulrich Drepper <drepper@gmail.com>
24993
0cc5ed3b
UD
24994 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24995
41d0e869
UD
24996 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24997 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24998 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25000
a47a831a
UD
250012012-01-10 Ulrich Drepper <drepper@gmail.com>
25002
daa891c0
UD
25003 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25004
25005 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25006 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25007 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25008
e58ef0f2
UD
25009 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25010
a47a831a 25011 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25012 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25013 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25014 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25015
25016 * math/bits/math-finite.h: Add ldexp support.
25017
a0bfc9c7
MP
250182012-01-10 Marek Polacek <polacek@redhat.com>
25019
25020 * locale/programs/localedef.h (show_archive_content): Add noreturn
25021 attribute.
25022
d6e97a1d
UD
250232012-01-09 Ulrich Drepper <drepper@gmail.com>
25024
25025 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25026
d5835c26
UD
250272012-01-08 Ulrich Drepper <drepper@gmail.com>
25028
e5f484c6
UD
25029 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25030
d5835c26
UD
25031 * io/Makefile (headers): Add bits/poll2.h.
25032
d1f741e9
WS
250332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25034
25035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25036 typo #include statement.
25037
ec09c1c4
UD
250382012-01-08 Ulrich Drepper <drepper@gmail.com>
25039
25040 * include/sys/cdefs.h: Define __attribute_alloc_size.
25041 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25042 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25043 * elf/pldd.c: Likewise.
25044 * iconv/iconv_charmap.c: Likewise.
25045 * iconv/iconvconfig.c: Likewise.
25046 * iconv/strtab.c: Likewise.
25047 * locale/programs/locale.c: Likewise.
25048 * locale/programs/localedef.h: Likewise.
25049 * locale/programs/simple-hash.c: Likewise.
25050 * nscd/nscd.h: Likewise.
25051 * nss/makedb.c: Likewise.
25052 * sysdeps/generic/ldconfig.h: Likewise.
25053 * locale/programs/localedef.c: Remove xmalloc prototype.
25054 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25055
20b38e03
PP
250562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25057
25058 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25059 appropriate.
25060
a0da5fe1
UD
250612012-01-08 Ulrich Drepper <drepper@gmail.com>
25062
1d5a644a 25063 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25064 * math/tst-CMPLX.c: New file.
1d5a644a 25065
8784a6db
UD
25066 * math/complex.h (CMPLXL): Fix typo.
25067
d9a216c0
UD
25068 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25069 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25070 GLIBC_2.16.
25071 * debug/tst-chk1.c: Add poll and ppoll tests.
25072 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25073 * include/sys/poll.h: Add hidden proto for ppoll.
25074 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25075 * sysdeps/mach/hurd/ppoll.c: Likewise.
25076 * io/ppoll.c: Likewise.
25077 * debug/poll_chk.c: New file.
25078 * debug/ppoll_chk.c: New file.
25079 * include/bits/poll2.h: New file.
25080 * io/bits/poll2.h: New file.
25081
ac097f5c
UD
25082 [BZ #1350]
25083 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25084
2119dcfa
UD
25085 * configure.in: static is always set to yes. Remove.
25086 * config.make.in: Don't set build-static.
25087 * Makeconfig: Remove use of build-static.
25088 * dlfcn/Makefile: Likewise.
25089 * elf/Makefile: Likewise.
25090 * math/Makefile: Likewise.
25091 * misc/Makefile: Likewise.
25092 * nptl/Makefile: Likewise.
25093 * sysdeps/mach/hurd/Makefile: Likewise.
25094
121766a9
UD
25095 * configure.in: PWD_P is not used anymore.
25096 * config.make.in: Remove PWD_P entry.
25097
51a1d39c 25098 * configure.in: Remove last remnants of RANLIB.
8720d066 25099 No need to check for signed size_t anymore.
215f4bdc
UD
25100 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25101 and IA-64.
3857022a 25102 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25103 * aclocal.m4: Likewise.
25104
d3ed7225
UD
25105 * wcsmbs/mbrtoc16.c: Implement using towc function.
25106 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25107 * wcsmbs/wcsmbsload.c: Likewise.
25108 * iconv/gconv_simple.c: Likewise.
25109 * iconv/gconv_int.h: Likewise.
25110 * iconv/gconv_builtin.h: Likewise.
25111 * iconv/iconv_prog.c: Remove CHAR16 handling.
25112
25113 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25114
25115 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25116
a0da5fe1
UD
25117 * configure.in: Remove --with-elf and --enable-bounded options.
25118 Dont set base_machine for ia64. More non-ELF conditions removed.
25119 Remove testing and setting of leading underscore information.
25120 * config.make.in (build-bounded): Set to no.
25121 * config.h.in: Remove NO_UNDERSCORES entry.
25122 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25123 them.
25124 * csu/start.c: Remove !NO_UNDERSCORE code.
25125 * locale/localeinfo.h: Likewise.
25126 * sysdeps/generic/machine-gmon.h: Likewise.
25127 * sysdeps/generic/sysdep.h: Likewise.
25128 * sysdeps/i386/sysdep.h: Likewise.
25129 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25130 * sysdeps/mach/sysdep.h: Likewise.
25131 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25132 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25133 * sysdeps/sh/sysdep.h: Likewise.
25134 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25135 * sysdeps/unix/i386/sysdep.S: Likewise.
25136 * sysdeps/unix/sparc/start.c: Likewise.
25137 * sysdeps/unix/sparc/sysdep.S: Likewise.
25138 * sysdeps/unix/sparc/sysdep.h: Likewise.
25139 * sysdeps/unix/start.c: Likewise.
25140 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25141 * sysdeps/x86_64/sysdep.h: Likewise.
25142
df78418a
UD
251432012-01-07 Ulrich Drepper <drepper@gmail.com>
25144
a784e502
UD
25145 [BZ #13553]
25146 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25147 for non-gcc.
25148 * argp/argp-fmtstream.h: Use const instead __const.
25149 * argp/argp.h: Likewise.
25150 * assert/assert.h: Likewise.
25151 * bits/fenv.h: Likewise.
25152 * bits/sched.h: Likewise.
25153 * bits/sigset.h: Likewise.
25154 * bits/sigthread.h: Likewise.
25155 * catgets/nl_types.h: Likewise.
25156 * conform/data/pthread.h-data: Likewise.
25157 * crypt/crypt-private.h: Likewise.
25158 * crypt/crypt.h: Likewise.
25159 * crypt/crypt_util.c: Likewise.
25160 * ctype/ctype.h: Likewise.
25161 * debug/execinfo.h: Likewise.
25162 * debug/mbsnrtowcs_chk.c: Likewise.
25163 * debug/mbsrtowcs_chk.c: Likewise.
25164 * debug/wcsnrtombs_chk.c: Likewise.
25165 * debug/wcsrtombs_chk.c: Likewise.
25166 * debug/wcstombs_chk.c: Likewise.
25167 * dirent/dirent.h: Likewise.
25168 * dlfcn/dlfcn.h: Likewise.
25169 * elf/neededtest4.c: Likewise.
25170 * grp/grp.h: Likewise.
25171 * gshadow/gshadow.h: Likewise.
25172 * iconv/gconv.h: Likewise.
25173 * iconv/gconv_int.h: Likewise.
25174 * iconv/gconv_simple.c: Likewise.
25175 * iconv/iconv.h: Likewise.
25176 * iconv/loop.c: Likewise.
25177 * iconv/skeleton.c: Likewise.
25178 * include/aio.h: Likewise.
25179 * include/aliases.h: Likewise.
25180 * include/argz.h: Likewise.
25181 * include/arpa/inet.h: Likewise.
25182 * include/assert.h: Likewise.
25183 * include/dirent.h: Likewise.
25184 * include/dlfcn.h: Likewise.
25185 * include/execinfo.h: Likewise.
25186 * include/fcntl.h: Likewise.
25187 * include/fenv.h: Likewise.
25188 * include/glob.h: Likewise.
25189 * include/grp.h: Likewise.
25190 * include/libintl.h: Likewise.
25191 * include/mntent.h: Likewise.
25192 * include/netdb.h: Likewise.
25193 * include/pwd.h: Likewise.
25194 * include/rpc/netdb.h: Likewise.
25195 * include/sched.h: Likewise.
25196 * include/search.h: Likewise.
25197 * include/shadow.h: Likewise.
25198 * include/signal.h: Likewise.
25199 * include/stdio.h: Likewise.
25200 * include/stdlib.h: Likewise.
25201 * include/string.h: Likewise.
25202 * include/sys/socket.h: Likewise.
25203 * include/sys/stat.h: Likewise.
25204 * include/sys/statfs.h: Likewise.
25205 * include/sys/statvfs.h: Likewise.
25206 * include/sys/syslog.h: Likewise.
25207 * include/sys/time.h: Likewise.
25208 * include/sys/uio.h: Likewise.
25209 * include/time.h: Likewise.
25210 * include/unistd.h: Likewise.
25211 * include/utmp.h: Likewise.
25212 * include/wchar.h: Likewise.
25213 * include/wctype.h: Likewise.
25214 * inet/aliases.h: Likewise.
25215 * inet/arpa/inet.h: Likewise.
25216 * inet/netinet/ether.h: Likewise.
25217 * inet/netinet/in.h: Likewise.
25218 * intl/libintl.h: Likewise.
25219 * io/bits/fcntl2.h: Likewise.
25220 * io/fcntl.h: Likewise.
25221 * io/ftw.h: Likewise.
25222 * io/sys/poll.h: Likewise.
25223 * io/sys/stat.h: Likewise.
25224 * io/sys/statfs.h: Likewise.
25225 * io/sys/statvfs.h: Likewise.
25226 * io/utime.h: Likewise.
25227 * libio/bits/stdio.h: Likewise.
25228 * libio/bits/stdio2.h: Likewise.
25229 * libio/libio.h: Likewise.
25230 * libio/libioP.h: Likewise.
25231 * libio/stdio.h: Likewise.
25232 * locale/lc-ctype.c: Likewise.
25233 * locale/locale.h: Likewise.
25234 * login/utmp.h: Likewise.
25235 * malloc/arena.c: Likewise.
25236 * malloc/malloc.c: Likewise.
25237 * malloc/malloc.h: Likewise.
25238 * malloc/mcheck.c: Likewise.
25239 * malloc/mtrace.c: Likewise.
25240 * math/bits/mathcalls.h: Likewise.
25241 * math/fenv.h: Likewise.
25242 * math/math_private.h: Likewise.
25243 * misc/bits/error.h: Likewise.
25244 * misc/bits/syslog.h: Likewise.
25245 * misc/err.h: Likewise.
25246 * misc/error.h: Likewise.
25247 * misc/fstab.h: Likewise.
25248 * misc/mntent.h: Likewise.
25249 * misc/regexp.h: Likewise.
25250 * misc/search.h: Likewise.
25251 * misc/sgtty.h: Likewise.
25252 * misc/sys/mman.h: Likewise.
25253 * misc/sys/syslog.h: Likewise.
25254 * misc/sys/uio.h: Likewise.
25255 * misc/sys/xattr.h: Likewise.
25256 * misc/ttyent.h: Likewise.
25257 * nis/rpcsvc/ypclnt.h: Likewise.
25258 * nss/nss.h: Likewise.
25259 * posix/bits/unistd.h: Likewise.
25260 * posix/fnmatch.h: Likewise.
25261 * posix/glob.h: Likewise.
25262 * posix/sched.h: Likewise.
25263 * posix/spawn.h: Likewise.
25264 * posix/sys/wait.h: Likewise.
25265 * posix/unistd.h: Likewise.
25266 * posix/wordexp.h: Likewise.
25267 * pwd/pwd.h: Likewise.
25268 * resolv/netdb.h: Likewise.
25269 * resource/sys/resource.h: Likewise.
25270 * rt/aio.h: Likewise.
25271 * rt/bits/mqueue2.h: Likewise.
25272 * rt/mqueue.h: Likewise.
25273 * shadow/shadow.h: Likewise.
25274 * signal/signal.h: Likewise.
25275 * socket/send.c: Likewise.
25276 * socket/sendto.c: Likewise.
25277 * socket/sys/socket.h: Likewise.
25278 * stdio-common/printf.h: Likewise.
25279 * stdlib/bits/stdlib.h: Likewise.
25280 * stdlib/fmtmsg.h: Likewise.
25281 * stdlib/monetary.h: Likewise.
25282 * stdlib/stdlib.h: Likewise.
25283 * stdlib/ucontext.h: Likewise.
25284 * streams/stropts.h: Likewise.
25285 * string/argz.h: Likewise.
25286 * string/bits/string2.h: Likewise.
25287 * string/string.h: Likewise.
25288 * string/strings.h: Likewise.
25289 * sunrpc/rpc/auth.h: Likewise.
25290 * sunrpc/rpc/auth_des.h: Likewise.
25291 * sunrpc/rpc/clnt.h: Likewise.
25292 * sunrpc/rpc/netdb.h: Likewise.
25293 * sunrpc/rpc/pmap_clnt.h: Likewise.
25294 * sunrpc/rpc/xdr.h: Likewise.
25295 * sysdeps/generic/inttypes.h: Likewise.
25296 * sysdeps/generic/net/if.h: Likewise.
25297 * sysdeps/generic/sys/swap.h: Likewise.
25298 * sysdeps/gnu/net/if.h: Likewise.
25299 * sysdeps/gnu/utmpx.h: Likewise.
25300 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25301 * sysdeps/i386/i486/bits/string.h: Likewise.
25302 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25303 * sysdeps/s390/bits/string.h: Likewise.
25304 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25305 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25306 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25307 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25308 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25309 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25310 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25311 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25312 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25313 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25314 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25315 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25316 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25317 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25318 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25319 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25320 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25321 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25322 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25323 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25324 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25325 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25326 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25327 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25328 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25329 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25330 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25331 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25332 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25333 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25334 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25335 * sysvipc/sys/ipc.h: Likewise.
25336 * sysvipc/sys/msg.h: Likewise.
25337 * sysvipc/sys/sem.h: Likewise.
25338 * sysvipc/sys/shm.h: Likewise.
25339 * termios/termios.h: Likewise.
25340 * time/sys/time.h: Likewise.
25341 * time/time.h: Likewise.
25342 * wcsmbs/bits/wchar2.h: Likewise.
25343 * wcsmbs/uchar.h: Likewise.
25344 * wcsmbs/wchar.h: Likewise.
25345 * wctype/wctype.h: Likewise.
25346
0269750c
UD
25347 [BZ #13551]
25348 * Makeconfig: Remove all but ELF support including AIX support.
25349 * Makerules: Likewise.
25350 * config.h.in: Likewise.
25351 * config.make.in: Likewise.
25352 * configure: Likewise.
25353 * configure.in: Likewise.
25354 * csu/Makefile: Likewise.
25355 * csu/version.c: Likewise.
25356 * debug/Makefile: Likewise.
25357 * dlfcn/Makefile: Likewise.
25358 * elf/Makefile: Likewise.
25359 * extra-lib.mk: Likewise.
25360 * iconv/Makefile: Likewise.
25361 * include/libc-symbols.h: Likewise.
25362 * include/shlib-compat.h: Likewise.
25363 * resolv/Makefile: Likewise.
25364 * resolv/res_libc.c: Likewise.
25365 * rt/Makefile: Likewise.
25366 * sysdeps/i386/asm-syntax.h: Likewise.
25367 * sysdeps/i386/sysdep.h: Likewise.
25368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25369 * sysdeps/mach/sysdep.h: Likewise.
25370 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25371 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25372 * sysdeps/s390/asm-syntax.h: Likewise.
25373 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25374 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25375 * sysdeps/sh/sysdep.h: Likewise.
25376 * sysdeps/unix/sparc/sysdep.h: Likewise.
25377 * sysdeps/wordsize-32/divdi3.c: Likewise.
25378 * sysdeps/x86_64/sysdep.h: Likewise.
25379
00bbd29b
UD
25380 * argp/Versions: Remove _argp_unlock_xxx.
25381
25382 [BZ #13559]
25383 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25384 * abilist/libBrokenLocale.abilist: Likewise.
25385 * abilist/libanl.abilist: Likewise.
25386 * abilist/libc.abilist: Likewise.
25387 * abilist/libcrypt.abilist: Likewise.
25388 * abilist/libdl.abilist: Likewise.
25389 * abilist/libm.abilist: Likewise.
25390 * abilist/libnsl.abilist: Likewise.
25391 * abilist/libpthread.abilist: Likewise.
25392 * abilist/libresolv.abilist: Likewise.
25393 * abilist/librt.abilist: Likewise.
25394 * abilist/libthread_db.abilist: Likewise.
25395 * abilist/libutil.abilist: Likewise.
25396 * abilist/libnss_db.abilist: New file.
25397
25398 * scripts/abilist.awk: Add support for indirect functions.
25399
a2693a0e
UD
25400 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25401
3f05895f
UD
25402 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25403
ecb6fb48
UD
25404 * shlib-versions: Remove entries for ports architectures.
25405
664f8cb9
UD
25406 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25407 files in ports.
25408 * elf/stackguard-macros.h: Remove support for IA-64.
25409 * elf/tst-auditmod1.c: Likewise.
25410 * sysdeps/generic/ldsodefs.h: Likewise.
25411
7ae81d88
UD
25412 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25413 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25414 configure files.
25415
bdeba135
UD
25416 [BZ #13552]
25417 * configure.in: Remove --enable-omitfp support.
25418 * FAQ.in: Adjust.
25419 * config.make.in: Likewise.
25420 * Makeconfig: Likewise.
25421 * manual/install.texi: Likewise.
25422
d75a0a62
UD
25423 In case anyone cares, the IA-64 architecture could move to ports.
25424 * sysdeps/ia64/*: Removed.
25425 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25426 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25427
dcc9756b
UD
25428 [BZ #13555]
25429 * configure.in: Remove entries for unsupported architectures.
25430
d3761ebc 25431 [BZ #13533]
9954432e
UD
25432 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25433 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25434 routines.
25435 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25436 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25437 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25438 fall back to using wcrtomb.
25439 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25440 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25441 renaming.
25442 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25443 * wcsmbs/tst-c16c32-1.c: New file.
25444
25445 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25446 local variable.
25447
c3a87236
UD
25448 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25449
28926a1b
UD
25450 * elf/tst-unique3.cc: Add explicit declaration of gets.
25451 * elf/tst-unique3lib.cc: Likewise.
25452 * elf/tst-unique3lib2.cc: Likewise.
25453 * elf/tst-unique4.cc: Likewise.
25454
df78418a
UD
25455 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25456
8ecd6b2a
JM
254572012-01-06 Joseph Myers <joseph@codesourcery.com>
25458
25459 [BZ #13566]
25460 * assert/assert.h (static_assert): Don't define for C++.
25461 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25462 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25463
9f115170
UD
254642012-01-03 Ulrich Drepper <drepper@gmail.com>
25465
5e0d0300
UD
25466 * iconv/loop.c (single loop): Fix assertion in storing of
25467 remaining bytes.
25468
9f115170
UD
25469 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25470
81fb02b0
UD
254712012-01-01 Ulrich Drepper <drepper@gmail.com>
25472
25473 * posix/getconf.c: Update copyright year.
25474 * nss/getent.c: Likewise.
a316c1f6 25475 * nss/makedb.c: Likewise.
81fb02b0
UD
25476 * iconv/iconvconfig.c: Likewise.
25477 * iconv/iconv_prog.c: Likewise.
25478 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25479 * elf/pldd.c: Likewise.
25480 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25481 * catgets/gencat.c: Likewise.
25482 * csu/version.c: Likewise.
25483 * elf/ldd.bash.in: Likewise.
25484 * elf/sprof.c (print_version): Likewise.
25485 * locale/programs/locale.c: Likewise.
25486 * locale/programs/localedef.c: Likewise.
a316c1f6 25487 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25488 * nscd/nscd.c (print_version): Likewise.
25489 * debug/xtrace.sh: Likewise.
25490 * malloc/memusage.sh: Likewise.
25491 * malloc/mtrace.pl: Likewise.
25492 * debug/catchsegv.sh: Likewise.
25493
2ba92745
JJ
254942011-12-30 Jakub Jelinek <jakub@redhat.com>
25495
25496 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25497 pure attribute.
25498
dadebdae
UD
254992011-12-24 Ulrich Drepper <drepper@gmail.com>
25500
d3761ebc 25501 [BZ #13533]
db6af3eb
UD
25502 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25503 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25504 transformations.
25505 * iconv/gconv_int.h: Likewise.
25506 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25507 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25508 from libc for GLIBC_2.16.
25509 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25510 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25511 * wcsmbs/uchar.h: Really define mbstate_t.
25512 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25513 * wcsmbs/c16rtomb.c: New file.
25514 * wcsmbs/mbrtoc16.c: New file.
25515 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25516 for C/POSIX locale.
25517 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25518 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25519
dadebdae
UD
25520 * wcsmbs/wchar.h: Add missing __restrict.
25521
67371b56
UD
255222011-12-23 Ulrich Drepper <drepper@gmail.com>
25523
74033a25
UD
25524 [BZ #13532]
25525 * time/Makefile (routines): Add timespec_get.
25526 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25527 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25528 timespec for ISO C11.
25529 * time/timespec_get.c: New file.
25530 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25531 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25532
380d7e87
UD
25533 [BZ #13531]
25534 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25535 * stdlib/stdlib.h: Declare aligned_alloc.
25536 * Versions.def: Add GLIBC_2.16 for libc.
25537 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25538
4e9e7a35
UD
25539 [BZ 13527]
25540 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25541 ISO C11.
25542
380d7e87 25543 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25544 code.
25545
03a71829
UD
25546 [BZ #13528]
25547 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25548
839e283e
UD
25549 [BZ #13529]
25550 * assert/assert.h (static_assert): Define.
25551
ce5294e2 25552 * version.h: Update for 2.16 development version.
90fa7312 25553
8d44e150 25554 [BZ #13526]
d7809905
UD
25555 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25556 _ISOC11_SOURCE.
25557
c0da14cd
UD
25558 * version.h (RELEASE): Bump for 2.15 release.
25559 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25560
530a3249
MP
25561 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25562 Patch by Marek Polacek <mpolacek@redhat.com>.
25563
67371b56
UD
25564 * bits/byteswap.h: Protect long long constants with __extension__.
25565 * sysdeps/i386/bits/byteswap.h: Likewise.
25566 * sysdeps/ia64/bits/byteswap.h: Likewise.
25567 * sysdeps/s390/bits/byteswap.h: Likewise.
25568 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25569
15db4de1
LD
255702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25571
25572 [BZ #13540]
bbe315ea
LD
25573 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25574 destination buffer.
15db4de1
LD
25575 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25576
2b2596b1
MP
255772011-12-23 Marek Polacek <polacek@redhat.com>
25578
25579 * elf/dl-addr.c (determine_info): Add inline keyword.
25580 * elf/tst-auditmod4b.c (check_avx): Likewise.
25581 * elf/tst-auditmod6b.c (check_avx): Likewise.
25582 * elf/tst-auditmod6c.c (check_avx): Likewise.
25583 * elf/tst-auditmod7b.c (check_avx): Likewise.
25584
70c6c246
UD
255852011-12-23 Ulrich Drepper <drepper@gmail.com>
25586
25587 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25588 !__SSE_MATH__.
25589
c044cf14
LD
255902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25591
15db4de1 25592 [BZ #13540]
c044cf14
LD
25593 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25594 processing for last bytes.
25595
6b13d9d9
BH
255962011-08-06 Bruno Haible <bruno@clisp.org>
25597
d455f537
BH
25598 [BZ #13061]
25599 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25600 U+0385, not to U+1FEE.
25601
6b13d9d9
BH
25602 [BZ #13062]
25603 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25604 entry for U+00A5 U+0301.
25605
db910efd
UD
256062011-12-22 Ulrich Drepper <drepper@gmail.com>
25607
27deeafc
UD
25608 [BZ #13166]
25609 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25610 buffer for the output is too small.
25611
aed9d171
UD
25612 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25613 optimization.
25614
db910efd
UD
25615 [BZ #13185]
25616 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25617 SSE flags if possible.
25618
2bd779ae
LD
256192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25620
e7f9dac3 25621 [BZ #13540]
2bd779ae
LD
25622 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25623 processing for last bytes.
25624
154bfc16
JM
256252011-12-22 Joseph Myers <joseph@codesourcery.com>
25626
25627 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25628 (syscall-list-default-options, syscall-list-default-condition)
25629 (syscall-list-includes): Define.
25630 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25631 list of ABIs and options and #if conditions for each ABI. Do not
25632 handle common syscalls between ABIs specially.
25633 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25634 Remove.
25635 (syscall-list-variants, syscall-list-32bit-options)
25636 (syscall-list-32bit-condition, syscall-list-64bit-options)
25637 (syscall-list-64bit-condition): Define.
25638 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25639 (syscall-list-variants, syscall-list-32bit-options)
25640 (syscall-list-32bit-condition, syscall-list-64bit-options)
25641 (syscall-list-64bit-condition): Define.
25642 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25643 Remove.
25644 (syscall-list-variants, syscall-list-32bit-options)
25645 (syscall-list-32bit-condition, syscall-list-64bit-options)
25646 (syscall-list-64bit-condition): Define.
25647 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25648 Remove.
25649 (syscall-list-variants, syscall-list-32bit-options)
25650 (syscall-list-32bit-condition, syscall-list-64bit-options)
25651 (syscall-list-64bit-condition): Define.
25652
21eaf3a5
UD
256532011-12-22 Ulrich Drepper <drepper@gmail.com>
25654
16c6f992
UD
25655 * locale/iso-639.def: Add brx entry.
25656
41043168
UD
25657 [BZ #13328]
25658 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25659 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25660
21eaf3a5
UD
25661 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25662 __feraiseexcept_renamed.
25663
e3a851a2
UD
256642011-12-21 Ulrich Drepper <drepper@gmail.com>
25665
4920765e
UD
25666 [BZ #13538]
25667 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25668 EPOLLET with unsigned values.
25669 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25670 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25671
e3a851a2
UD
25672 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25673 to large cancellation.
25674 * math/s_cacoshf.c: Likewise.
25675 * math/s_cacoshl.c: Likewise.
25676
b27e24b8
RK
256772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25678
25679 [BZ #13305]
aebefeee 25680 [BZ #12786]
b27e24b8
RK
25681 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25682 * math/s_cacoshf.c: Likewise.
25683 * math/s_cacoshl.c: Likewise.
25684
ee190f67
UD
256852011-12-21 Ulrich Drepper <drepper@gmail.com>
25686
25687 [BZ #13439]
25688 * iconv/gconv.h: Define __GCONV_SWAP.
25689 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25690 * iconvdata/utf-16.c: Likewise.
25691 * iconvdata/utf-32.c: Likewise.
25692
707f25df
AS
256932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25694
25695 [BZ #13524]
25696 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25697 numerator after shifting it by one limb.
25698
d2daaa1e
RÁE
256992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25700
25701 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25702 under [__USE_EXTERN_INLINES].
25703
a4647e72
UD
257042011-12-17 Ulrich Drepper <drepper@gmail.com>
25705
25706 [BZ #13446]
25707 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25708
f0b264f1
AZ
257092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25710
25711 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25712 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25713 optimized code.
25714 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25715 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25716 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25717 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25718 for strncasecmp/strncasecmp_l compilation.
25719 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25720 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25721
8ef4f244
MP
257222011-12-08 Marek Polacek <mpolacek@redhat.com>
25723
25724 [BZ #13484]
25725 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25726 of __asm__.
25727
97ac2654
UD
257282011-12-17 Ulrich Drepper <drepper@gmail.com>
25729
25730 [BZ #13506]
25731 * time/tzfile.c (__tzfile_read): Check values from file header.
25732
91d2a845
WS
257332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25734
25735 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25736 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25737 * powerpc/powerpc32/dl-start.S: Likewise.
25738 * powerpc/powerpc32/elf/start.S: Likewise.
25739 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25740 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25741 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25742 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25743 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25744 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25745 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25746 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25747 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25748 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25749 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25750 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25751 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25752 * powerpc/powerpc32/memset.S: Likewise.
25753 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25754 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25755 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25756 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25757 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25758 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25759 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25760 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25761 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25762 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25763 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25764 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25765 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25766
a1267ba1
AZ
257672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25768
25769 * math/libm-test.inc: Added more nearbyint tests.
25770 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25771 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25772 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25773 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25774
ad8ac1bd
RL
257752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25776
25777 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25778 FD_CLOEXEC.
25779
1d3e4b61
UD
257802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25781
25782 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25783 Add wcscpy-ssse3 wcscpy-c.
25784 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25785 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25786 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25787 * sysdeps/x86_64/wcschr.S: New file.
25788 * sysdeps/x86_64/wcsrchr.S: New file.
25789 * string/test-strcmp.c: Remove checking of wcscmp function for
25790 wrong alignments.
25791 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25792 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25793 wcsrchr-sse2 wcsrchr-c.
25794 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25795 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25796 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25797 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25798 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25799 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25800 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25801 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25802 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25803 * wcsmbc/wcschr.c (WCSCHR): New macro.
25804
5b330a2d
UD
258052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25806
25807 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25808 * wcsmbs/test-wcsrchr.c: New file.
25809 * string/test-strrchr.c: Add wcsrchr support.
25810 (WIDE): New macro.
25811 * wcsmbs/test-wcscpy.c: New file.
25812 * string/test-strcpy.c: Add wcscpy support.
25813 (WIDE): New macro.
26428b7c 25814
f039c043
UD
258152011-12-10 Ulrich Drepper <drepper@gmail.com>
25816
25817 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25818 the inner loop.
25819
850fb039
AS
258202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25821
25822 [BZ #13472]
25823 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25824
4efbd5cb
UD
258252011-12-04 Ulrich Drepper <drepper@gmail.com>
25826
52ff5dd0 25827 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25828 Minor optimizations.
52ff5dd0 25829
4efbd5cb
UD
25830 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25831 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25832 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25833
8a426e12
UD
258342011-12-03 Ulrich Drepper <drepper@gmail.com>
25835
aff2453d
UD
25836 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25837 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25838 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25839 for gcc to avoid warnings.
25840 * inet/Makefile (tests): Add tst-checks.
25841 * inet/tst-checks.c: New file.
25842
25843 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25844 warning.
25845
25846 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25847 __wmemcmp_sse2.
25848
25849 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25850 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25851
8a426e12
UD
25852 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25853
9bea3473
UD
258542011-12-02 Ulrich Drepper <drepper@gmail.com>
25855
3a965496
UD
25856 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25857 problem.
25858
9bea3473
UD
25859 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25860
f101631b
UD
258612011-11-29 Joseph Myers <joseph@codesourcery.com>
25862
25863 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25864 conditional on GCC version.
25865 (__arch_compare_and_exchange_val_8_acq)
25866 (__arch_compare_and_exchange_val_16_acq)
25867 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25868 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25869 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25870
a98275aa
UD
258712011-12-02 Joseph Myers <joseph@codesourcery.com>
25872
25873 * sysdeps/sh/backtrace.c: New file.
25874
d4cc29a2
AS
258752011-12-02 Andreas Schwab <schwab@redhat.com>
25876
25877 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25878 parenthesis.
25879
6257af2d
AS
258802011-12-01 Andreas Schwab <schwab@redhat.com>
25881
25882 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25883 falling back to utime.
25884
b5f44c1a
AS
258852011-11-30 Andreas Schwab <schwab@redhat.com>
25886
25887 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25888 expectations for float.
25889
f3a6cc0a
AS
258902011-11-29 Andreas Schwab <schwab@redhat.com>
25891
25892 * locale/weight.h (findidx): Add parameter len.
25893 * locale/weightwc.h (findidx): Likewise.
25894 * posix/fnmatch_loop.c (FCT): Adjust caller.
25895 * posix/regcomp.c (build_equiv_class): Likewise.
25896 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25897 * posix/regexec.c (check_node_accept_bytes): Likewise.
25898 * string/strcoll_l.c (STRCOLL): Likewise.
25899 * string/strxfrm_l.c (STRXFRM): Likewise.
25900
9d65ea3a
UD
259012011-11-17 Ulrich Drepper <drepper@gmail.com>
25902
25903 * Makefile.in: Remove CVSOPT handling.
25904 * configure.in: Remove use of AC_REVISION.
25905 * iconvdata/Makefile (distribute): No need to filter out CVS.
25906 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25907 handling.
25908
5583a086
AS
259092011-11-16 Andreas Schwab <schwab@redhat.com>
25910
25911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25912 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25913 [USE_AS_STRNCASECMP_L]: Likewise.
25914 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25915 NO_TLS_DIRECT_SEG_REFS.
25916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25917 Fix argument offsets for non-PIC.
25918 [USE_AS_STRNCASECMP_L]: Likewise.
25919 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25920 NO_TLS_DIRECT_SEG_REFS.
25921
d62a8200
UD
259222011-11-15 Ulrich Drepper <drepper@gmail.com>
25923
9d65ea3a 25924 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25925 O_CLOEXEC.
25926 * locale/loadlocale.c (_nl_load_locale): Likewise.
25927
09f93bd3
AS
259282011-11-15 Andreas Schwab <schwab@redhat.com>
25929
446514f9
AS
25930 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25931 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25932 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25933 (SYSCALL_GETTIME): Set errno on error.
25934
09f93bd3
AS
25935 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25936 count references to noai6ai_cached.
25937
312be3f9
UD
259382011-11-15 Ulrich Drepper <drepper@gmail.com>
25939
25940 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25941
25942 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25943 FD_CLOEXEC for /proc/self/maps.
25944
25945 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25946 FD_CLOEXEC for /proc/meminfo.
25947
25948 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25949 gai.conf.
25950
25951 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25952 FD_CLOEXEC for given file.
25953
25954 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25955
25956 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25957 FD_CLOEXEC for /etc/hosts.
25958 (_gethtent): Likewise.
25959
25960 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25961
25962 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25963 cancellation and set FD_CLOEXEC for /etc/netgroup.
25964
25965 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25966 reading /etc/publickey.
25967
25968 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25969 allow cancellation when reading /etc/group.
25970
25971 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25972 cancellation.
25973 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25974
25975 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25976 when using data file.
25977
25978 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25979
25980 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25981 (write_nis_obj): Use "c" and "e" in fopen.
25982
25983 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25984
25985 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25986
25987 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25988
25989 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25990
25991 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25992 locale.alias.
25993
25994 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25995
25996 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25997
25998 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25999
26000 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26001 file parsing and set FD_CLOEXEC.
26002
82af0fa8
UD
260032011-11-14 Ulrich Drepper <drepper@gmail.com>
26004
26005 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26006
a5fb313c
AS
260072011-11-14 Andreas Schwab <schwab@redhat.com>
26008
26009 * malloc/arena.c (arena_get2): Don't call reused_arena when
26010 _int_new_arena failed.
26011
6abf3465
UD
260122011-11-14 Ulrich Drepper <drepper@gmail.com>
26013
26014 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26015 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26016 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26017 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26018 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26019 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26020 to compile strcasecmp and strncasecmp.
26021 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26022 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26023
26024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26025
76e3966e
UD
260262011-11-13 Ulrich Drepper <drepper@gmail.com>
26027
26028 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26029 locale-defines.sym to gen-as-const-headers.
26030 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26031 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26033 to compile strcasecmp and strncasecmp.
26034 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26035 strcasecmp_l and strncasecmp_l.
26036 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26037 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26038 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26039 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26040 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26041 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26042 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26043 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26044 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26045 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26046 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26047
ab26144e
UD
260482011-11-12 Ulrich Drepper <drepper@gmail.com>
26049
7edb22ef
UD
26050 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26051 result of SYSDEP_GETTIME_CPU to retval.
26052 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26053 parameter list to macro. Remove trailing semicolon. Adjust users.
26054
9694fc44
UD
26055 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26056 variable.
26057
8ad89ef8
UD
26058 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26059 mantissa words.
26060 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26061
0c822ef9
UD
26062 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26063 from unused variable.
26064
874e0564
UD
26065 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26066 DWARF definitions.
26067 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26068 for assembling.
26069
3a2edc79
UD
26070 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26071 over namespaces.
26072
f3c2577f
UD
26073 * sunrpc/rpc_prot.c (rejected): Fix case value.
26074
294ce126
UD
26075 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26076 unsigned long long int to avoid warnings in shift.
26077
5e2b63c6
UD
26078 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26079 of use of trans.
26080 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26081 variable tmp.
26082
e7f4b08e
UD
26083 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26084 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26085 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26086
ab26144e
UD
26087 * nis/nis_table.c (nis_list): Use variable of correct type for
26088 result of __follow_path call.
26089
8a6d5255
AZ
260902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26091
26092 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26093 of math functions ceil, trunc, floor, round, and sqrt, when
26094 avaliable on the platform.
26095 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26096 name clash.
26097 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26098 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26099 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26100
aaddc98c
MP
261012011-10-30 Marek Polacek <mpolacek@redhat.com>
26102
26103 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26104 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26105
95b7042b
RM
261062011-11-11 Roland McGrath <roland@hack.frob.com>
26107
26108 * include/unistd.h: Fix __readlink return type.
26109 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26110
57769839
UD
261112011-11-11 Ulrich Drepper <drepper@gmail.com>
26112
26113 * stdlib/ucontext.h: Undo last change for makecontext.
26114
edc5984d
AS
261152011-11-11 Andreas Schwab <schwab@redhat.com>
26116
98591e58
AS
26117 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26118
edc5984d
AS
26119 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26120 * setjmp/setjmp.h: Mark functions as non-leaf.
26121 * setjmp/bits/setjmp2.h: Likewise.
26122 * stdlib/ucontext.h: Likewise.
26123
77cdc054
AS
261242011-11-10 Andreas Schwab <schwab@redhat.com>
26125
26126 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26127 (reused_arena): Don't check arena limit.
26128 (arena_get2): Atomically check arena limit.
26129
fe72eebd
UD
261302011-11-08 Ulrich Drepper <drepper@gmail.com>
26131
5f078c32
UD
26132 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26133 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26134
fe72eebd
UD
26135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26136 instructions.
26137
ae1bc2fa
AS
261382011-11-07 Andreas Schwab <schwab@redhat.com>
26139
7583a88d
AS
26140 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26141 handler when locking.
26142
ae1bc2fa
AS
26143 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26144 Fix size of allocated buffer.
26145
10fb0bfa
AS
261462011-11-04 Andreas Schwab <schwab@redhat.com>
26147
998832a4
AS
26148 [BZ #10103]
26149 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26150 declarations for long double functions.
26151 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26152
10fb0bfa
AS
26153 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26154
3d7ba52b
AS
261552011-11-03 Andreas Schwab <schwab@redhat.com>
26156
a9ae54a1
AS
26157 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26158 installed.
26159
3d7ba52b
AS
26160 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26161 is disabled.
26162
bc8db248
ST
261632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26164
26165 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26166
45b96dd6
AS
261672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26168
647776f6
AS
26169 * include/alloca.h (stackinfo_alloca_round): Define.
26170 (extend_alloca): Use it.
26171 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26172 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26173 here.
26174
d91a8b93
AS
26175 * scripts/check-local-headers.sh: Ignore libaudit.h.
26176
45b96dd6
AS
26177 * nscd/Makefile (extra-objs): Make recursively expanded.
26178
432d41ce
UD
261792011-11-01 Ulrich Drepper <drepper@gmail.com>
26180
34372fc6
UD
26181 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26183
fadb59f8
UD
26184 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26185 * posix/tst-rfc3484-2.c: Likewise.
26186 * posix/tst-rfc3484-3.c: Likewise.
26187
78239589
UD
26188 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26189 process_vm_writev.
26190 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26191 process_vm_writev.
26192 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26193 process_vm_writev from libc using GLIBC_2.15 version.
26194
432d41ce
UD
26195 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26196
02f9c6cf
PP
261972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26198
26199 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26200 stack usage.
26201
3a2c0242
UD
262022011-10-31 Ulrich Drepper <drepper@gmail.com>
26203
f4ec4833
UD
26204 [BZ #13367]
26205 * nss/getent.c (initgroups_keys): Show error message in case no group
26206 names are given.
26207
3a2c0242
UD
26208 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26209 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26210 __bump_nl_timestamp.
26211 * nscd/connections (nscd_init): When host database is served open
26212 netlink socket and request notification about configuration changes.
26213 (main_loop_poll): Track netlink file descriptor and bump timestamp
26214 in case data becomes available.
26215 (main_loop_epoll): Likewise.
26216 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26217 (database_pers_head): Add extra_data fileds.
26218 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26219 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26220 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26221 Adjust caller.
26222 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26223 in6ai data, call __free_in6ai.
26224 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26225 Add -DHAVE_NETLINK.
26226 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26227 interface information. Reuse previous data if netlink timestamp
26228 is not changed.
26229 (__bump_nl_timestamp): New function.
26230 (__free_in6ai): New function.
26231
636064eb
UD
262322011-10-30 Ulrich Drepper <drepper@gmail.com>
26233
26234 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26235 close_not_cancel_no_status here.
26236 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26237
9beb2334
UD
262382011-10-29 Ulrich Drepper <drepper@gmail.com>
26239
6ef76f3b
UD
26240 [BZ #13276]
26241 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26242 return value.
26243
0ffc4f3e 26244 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26245 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26246 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26247
cb95113e
UD
262482011-07-03 Andreas Jaeger <aj@suse.de>
26249
26250 [BZ #10709]
26251 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26252 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26253 * math/libm-test.inc (sin_test): Add test case.
26254
a1b560ff
UD
262552011-10-29 Ulrich Drepper <drepper@gmail.com>
26256
c9aaface
UD
26257 [BZ #13337]
26258 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26259 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26260
d272e7f1
UD
26261 * elf/chroot_canon.c (chroot_canon): Cleanups.
26262
1bc33071
UD
26263 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26264
1760874d
TJ
26265 [BZ #13335]
26266 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26267 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26268
51d91b18
UD
26269 * string/test-strchr.c: Make usable for strchrnul testing.
26270 * string/test-strchrnul.c: New file.
26271 * string/Makefile (strop-tests): Add strchrnul.
26272
a1b560ff 26273 * po/it.po: Update from translation team.
b611fb81 26274 * po/es.po: Likewise.
a1b560ff 26275
a5b81e1f
UD
262762011-10-28 Ulrich Drepper <drepper@gmail.com>
26277
fd52bc6d
UD
26278 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26279 the three constants needed as parameters. Drop the others.
26280 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26281 __m128i_strloadu_tolower.
52e4b9eb
UD
26282 Create and initialize variable zero and use it in all the places
26283 where _mm_setzero_si128 was used.
fd52bc6d 26284
a5b81e1f
UD
26285 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26286 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26287 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26288 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26289 anymore.
26290 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26293 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26294 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26295 __mpranred, __mptan.
26296 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26297 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26298 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26299 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26300 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26301 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26302 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26303 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26304 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26305
b4343346
AS
263062011-10-28 Andreas Schwab <schwab@redhat.com>
26307
0c92d8a8
AS
26308 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26309 redefine if SHARED.
26310 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26311
b4343346
AS
26312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26313 wide char related routines to wcsmbs subdir.
26314
3871f58f
AS
263152011-10-27 Andreas Schwab <schwab@redhat.com>
26316
26317 [BZ #13344]
26318 * misc/sys/cdefs.h (__THROWNL): Define.
26319 * posix/unistd.h: Use __THREADNL instead of __THREAD
26320 for memory synchronization functions.
26321
94d44d9f
RM
263222011-10-26 Roland McGrath <roland@hack.frob.com>
26323
21b64b15 26324 [BZ #13349]
94d44d9f
RM
26325 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26326 doesn't exist.
26327 * manual/stdio.texi (Obstack Streams): Node removed.
26328
f6ce9294
AS
263292011-10-26 Andreas Schwab <schwab@redhat.com>
26330
80479147
AS
26331 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26332 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26333 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26334
f6ce9294
AS
26335 * math/math_private.h (math_force_eval): Allow non-addressable
26336 arguments.
26337 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26338
618280a1
UD
263392011-10-25 Ulrich Drepper <drepper@gmail.com>
26340
e0016b11
UD
26341 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26342 file is not needed.
26343
26344 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26345 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26347 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26351 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26352 Add AVX variants.
26353 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26354 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26355 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26356 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26357 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26358 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26359 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26360 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26361 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26362 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26363 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26364 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26366 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26367 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26368 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26369 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26370 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26371 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26372
26373 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26374 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26375
618280a1
UD
26376 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26377 place. Use VEX encoding when compiling for AVX.
26378
37822576
AS
263792011-10-25 Andreas Schwab <schwab@redhat.com>
26380
1f1e1947
AS
26381 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26382 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26383
37822576
AS
26384 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26385
31ea014d
UD
263862011-10-25 Ulrich Drepper <drepper@gmail.com>
26387
d7826aa1 26388 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26389 useless if() expression.
d7826aa1
UD
26390 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26392 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26393 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26399 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26400 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26401 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26402 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26403 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26404 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26405 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26407 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26408 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26409
31ea014d
UD
26410 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26411
16437fec
AS
264122011-10-25 Andreas Schwab <schwab@redhat.com>
26413
26414 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26415 condition.
26416 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26417
31d3cc00
UD
264182011-10-25 Ulrich Drepper <drepper@gmail.com>
26419
26420 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26421 .text section. Avoid duplicate constants.
26422 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26424 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26431 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26432 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26433 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26434 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26436 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26437 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26438 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26439 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26445 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26446 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26447 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26448 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26449 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26450 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26451 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26452 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26453 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26454 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26455 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26456 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26457 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26458 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26459 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26460 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26461 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26462 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26463 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26464 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26465 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26466 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26467
58985aa9
UD
264682011-10-24 Ulrich Drepper <drepper@gmail.com>
26469
202c9deb
UD
26470 * sysdeps/x86_64/dla.h: Move to ...
26471 * sysdeps/x86_64/fpu/dla.h: ...here.
26472 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26473 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26474
af968f62
UD
26475 * config.make.in: Add have-mfma4 entry.
26476 * configure.in: Substitute libc_cv_cc_fma4.
26477 * math/Makefile (dbl-only-routines): Add sincostab.
26478 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26479 Use __sincostab not sincos.
26480 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26481 name is a macro.
26482 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26486 using __copysign.
26487 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26488 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26489 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26490 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26491 and __inv.
26492 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26493 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26494 __copysign.
26495 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26496 define aliases when function name is a macro.
26497 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26498 sysdeps/ieee754/dbl-64/sincos.tbl.
26499 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26500 fma4-enabled routines.
26501 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26502 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26503 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26504 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26505 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26506 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26507 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26508 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26509 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26510 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26511 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26512 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26513 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26514 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26515 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26516 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26517 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26518 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26519 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26520 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26521 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26522 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26523 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26524 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26525 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26527 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26528 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26529 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26530 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26531
58985aa9
UD
26532 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26533 rename.
26534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26542
a201fbcf
AS
265432011-10-24 Andreas Schwab <schwab@redhat.com>
26544
26545 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26546
fc2ee42a
LD
265472011-10-23 Ulrich Drepper <drepper@gmail.com>
26548
bb3129bd
UD
26549 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26550
0275fff8
UD
26551 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26552 prediction.
26553 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26554
2fa2ae85
UD
26555 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26556 Remove unused variable magic_bits.
26557 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26558
fc2ee42a
LD
26559 * string/strnlen.c: Define and use STRNLEN macro.
26560 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26561 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26562 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26563 * wcsmbs/wcslen.c: Define and use WCSLEN.
26564 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26565 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26566 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26567 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26568 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26569 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26570 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26571
ce7dd29f
LD
265722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26573
26574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26575 strnlen-sse2-no-bsf.
26576 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26577 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26578 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26579 Add strnlen support.
26580 (USE_AS_STRNLEN): New macro.
26581 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26582 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26583 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26584 * sysdeps/x86_64/wcslen.S: New file.
26585
979c70a3
MZ
265862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26587
26588 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26589 XMM-moves are used for copying on small sizes.
26590
2d09f82f
LD
265912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26592
26593 * wcsmbs/Makefile (strop-tests): Add wcschr.
26594 * wcsmbs/test-wcschr.c: New file.
26595 * string/test-strchr.c: Update.
26596 Add wcschr support.
26597 (WIDE): New macro.
26598
619fccca
LD
265992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26600
2d09f82f 26601 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26602 * wcsmbs/test-wcslen.c: New file.
26603 * string/test-strlen.c: Update.
26604 Add wcslen support.
26605 (WIDE): New macro.
26606
09f699ea
UD
266072011-10-23 Ulrich Drepper <drepper@gmail.com>
26608
26609 * po/it.po: Update from translation team.
26610
95584d3b
LD
266112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26612
26613 * sysdeps/x86_64/wcscmp.S: Update.
26614 Fix wrong comparison semantics.
26615 wcscmp shall use signed comparison not unsigned.
26616 Don't use substraction to avoid overflow bug.
26617 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26618 * wcsmbc/wcscmp.c: Likewise.
26619 * string/test-strcmp.c: Likewise.
26620 Add new tests to check cases with negative values.
26621
c8b3296b
UD
266222011-10-23 Ulrich Drepper <drepper@gmail.com>
26623
26624 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26625 * sysdeps/x86_64/dla.h: ...here. New file.
26626 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26635
246ad57a
AS
266362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26637
26638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26639 __ynl_finite aliases.
26640
a1a87169
UD
266412011-10-22 Ulrich Drepper <drepper@gmail.com>
26642
0d355eb7
UD
26643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26644
a1a87169
UD
26645 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26646 define DLA_FMA.
26647 [DLA_FMA] (EMULV): Use DLA_FMA.
26648 [DLA_FMA] (MUL12): Use EMULV.
26649 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26650 that are not needed.
26651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26655 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26658
ee2aafe0
AS
266592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26660
26661 * math/s_nan.c: Undef __nan.
26662 * math/s_nanf.c: Undef __nanf.
26663 * math/s_nanl.c: Undef __nanl.
26664 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26665 "math_private.h".
26666
bc62c2fb
UD
266672011-10-22 Ulrich Drepper <drepper@gmail.com>
26668
77425c63
UD
26669 * math/s_catan.c: Add branch predictions.
26670 * math/s_catanf.c: Likewise.
26671 * math/s_catanh.c: Likewise.
26672 * math/s_catanhf.c: Likewise.
26673 * math/s_catanhl.c: Likewise.
26674 * math/s_catanl.c: Likewise.
26675 * math/s_cexp.c: Likewise.
26676 * math/s_cexpf.c: Likewise.
26677 * math/s_cexpl.c: Likewise.
26678 * math/s_clog.c: Likewise.
26679 * math/s_clog10.c: Likewise.
26680 * math/s_clog10f.c: Likewise.
26681 * math/s_clog10l.c: Likewise.
26682 * math/s_clogf.c: Likewise.
26683 * math/s_clogl.c: Likewise.
26684 * math/s_csqrt.c: Likewise.
26685 * math/s_csqrtf.c: Likewise.
26686 * math/s_csqrtl.c: Likewise.
26687 * math/s_ctanf.c: Likewise.
26688 * math/s_ctanh.c: Likewise.
26689 * math/s_ctanhf.c: Likewise.
26690 * math/s_ctanhl.c: Likewise.
26691 * math/s_ctanl.c: Likewise.
26692
bc62c2fb
UD
26693 * math/math_private.h: Define __nan, __nanf, __nanl.
26694 * math/s_cacosh.c: Include <math_private.h>.
26695 * math/s_cacoshl.c: Likewise.
26696 * math/s_casinh.c: Likewise.
26697 * math/s_casinhf.c: Likewise.
26698 * math/s_casinhl.c: Likewise.
26699 * math/s_ccos.c: Rely entire on ccosh.
26700 * math/s_ccosf.c: Rely entire on ccoshf.
26701 * math/s_ccosl.c: Rely entirely on ccoshl.
26702 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26703 Remove tests for FE_INVALID.
26704 * math/s_ccoshf.c: Likewise.
26705 * math/s_ccoshl.c: Likewise.
26706 * math/s_csin.c: Likewise.
26707 * math/s_csinf.c: Likewise.
26708 * math/s_csinh.c Likewise.
26709 * math/s_csinhf.c: Likewise.
26710 * math/s_csinhl.c: Likewise.
26711 * math/s_csinl.c: Likewise.
26712 * math/s_ctan.c: Likewise.
26713 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26714 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26715 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26716
8ec250a4
UD
267172011-10-21 Ulrich Drepper <drepper@gmail.com>
26718
c196fed8
UD
26719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26720 compilation problems.
26721
8ec250a4
UD
26722 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26723 __builtin_expect.
26724
8d4f46c6
UD
267252011-10-20 Ulrich Drepper <drepper@gmail.com>
26726
ed72b654
UD
26727 * sysdeps/i386/configure.in: Test for -mfma4 option.
26728 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26729 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26730 COMMON_CPUID_INDEX_80000001.
26731 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26732 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26733 use it if FMA3 is not supported.
26734 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26735
8d4f46c6
UD
26736 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26737 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26738
d45c60c2
AS
267392011-10-20 Andreas Schwab <schwab@redhat.com>
26740
26741 [BZ #12892]
26742 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26743 it would create a cycle with a link time dependency.
26744
d9a4d2ab
UD
267452011-10-19 Ulrich Drepper <drepper@gmail.com>
26746
855d1560
UD
26747 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26748 instruction.
26749 * string/Makefile (strop-tests): Add rawmemchr.
26750 * string/test-rawmemchr.c: New file.
26751
d9a4d2ab
UD
26752 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26753 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26754 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26755 when compiling str{,n}casecmp and when AVX is available. Hook up
26756 new optimized code in initializers.
26757
8f3b1ffe
AS
267582011-10-19 Andreas Schwab <schwab@redhat.com>
26759
26760 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26761 __feraiseexcept instead of feraiseexcept.
26762
d38f1dba
UD
267632011-10-18 Ulrich Drepper <drepper@gmail.com>
26764
d9a8d0ab
UD
26765 * math/math_private.h: Define defaults for libc_fetestexcept and
26766 libc_feupdateenv.
26767 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26768 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26769 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26770 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26771 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26772 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26773 libc_fetestexcept and libc_feupdateenv.
26774
4855e3dd
UD
26775 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26776 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26777 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26778 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26779 libc_feholdexcept_setround.
26780
581d30e3
UD
26781 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26782 Add s_nearbyint-c and s_nearbyintf-c.
26783 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26784 nearbyintf inlines.
26785 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26786 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26787 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26788 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26789
d38f1dba
UD
26790 * math/math_private.h: Define defaults for libc_fegetround,
26791 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26792 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26793 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26794 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26795 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26796 standard functions.
26797 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26798 Remove comments and hacks for old compiler versions.
26799 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26800 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26801 libc_feholdexceptl.
26802
caa6c9d8
AS
268032011-10-18 Andreas Schwab <schwab@redhat.com>
26804
26805 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26806 (__feraiseexcept_renamed): Add __NTH.
26807 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26808 namespace violations.
26809
97c066e6
UD
268102011-10-17 Ulrich Drepper <drepper@gmail.com>
26811
99ce7b04
UD
26812 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26813
1004d182
UD
26814 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26815
228a984d
UD
26816 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26817 recently added interfaces.
26818 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26819
c8553a6a
UD
26820 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26821 about macro parameter expansion.
26822
ed22dcf6
UD
26823 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26824 __NO_MATH_INLINES is defined. Cleanups.
26825
26826 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26827 and __floorf is target has SSE4.1.
26828 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26829 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26830 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26831 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26832
b171c137
UD
26833 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26834 name.
26835 (floorf): Likewise.
26836
97c066e6
UD
26837 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26838
629f62ef
AS
268392011-10-17 Andreas Schwab <schwab@redhat.com>
26840
49a43d80
AS
26841 * misc/sys/cdefs.h: Fix last change.
26842
629f62ef
AS
26843 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26844 database lookup.
26845
e453f6cd
UD
268462011-10-16 Ulrich Drepper <drepper@gmail.com>
26847
aa78043a
UD
26848 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26849
ad0f5cad
UD
26850 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26851 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26852 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26853 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26854 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26855 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26856 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26857 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26858 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26859 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26860 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26861 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26862 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26863 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26864 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26865 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26866 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26867 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26868 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26869 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26870 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26871 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26872
26873 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26874 ceil, ceilf, floor, floorf.
26875
26876 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26877 Perform IRELATIVE relocations last.
26878
e453f6cd
UD
26879 * elf/do-rel.h: Add another parameter nrelative, replacing the
26880 local variable with the same name. Change name of the function
26881 to end in Rel or Rela (uppercase).
26882 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26883 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26884 elf_dynamic_do_##reloc function.
26885
fd5bdc09
UD
268862011-10-15 Ulrich Drepper <drepper@gmail.com>
26887
79b195b5
UD
26888 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26889 is sufficient, at least on modern CPUs.
26890
d4a28569
UD
26891 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26892
b61099b5
UD
26893 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26894 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26895
bcf01e6d
UD
26896 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26897 __expl_finite.
26898 * math/bits/math-finite.h: Add entries for exp.
26899 * math/e_expl.c: Add __*_finite alias.
26900 * sysdeps/i386/fpu/e_exp.S: Likewise.
26901 * sysdeps/i386/fpu/e_expf.S: Likewise.
26902 * sysdeps/i386/fpu/e_expl.c: Likewise.
26903 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26904 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26907 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26908 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26909 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26910
ba1a0d59
UD
26911 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26912 is sufficient, at least on modern CPUs.
26913
fd5bdc09
UD
26914 * ctype/ctype-info.c (__ctype_init): Define.
26915 * include/ctype.h (__ctype_init): Declare.
26916 (__ctype_b_loc): The variable is always initialized.
26917 (__ctype_toupper_loc): Likewise.
26918 (__ctype_tolower_loc): Likewise.
26919 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26920 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26921
7872cfb0
AS
269222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26923
b468825a
AS
26924 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26925
7872cfb0
AS
26926 * configure.in: Also look in $cxxmachine/include for C++ system
26927 headers.
26928
be13f7bf
LD
269292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26930
26931 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26932 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26933 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26934 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26935 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26936 (USE_AS_WMEMCMP): New macro.
26937 Fixing indents.
26938 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26939 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26940 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26941 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26943 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26944 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26945 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26946 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26947 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26948 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26949 (USE_AS_WMEMCMP): New macro.
26950 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26951 * sysdeps/string/test-memcmp.c: Update.
26952 Fix simple_wmemcmp.
26953 Add new tests.
26954 * wcsmbs/wmemcmp.c: Update.
26955 (WMEMCMP): New macro.
26956 Fix overflow bug.
26957
556a2007
AJ
269582011-10-12 Andreas Jaeger <aj@suse.de>
26959
26960 [BZ #13268]
26961 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26962
538faaa7
UD
269632011-10-15 Ulrich Drepper <drepper@gmail.com>
26964
ab6737ff
UD
26965 * libio/iofwide.c (do_length): Avoid warning.
26966
538faaa7
UD
26967 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26968
396a21b1
UD
269692011-10-14 Ulrich Drepper <drepper@gmail.com>
26970
cdf2901f
UD
26971 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26972
38ad40ce
UD
26973 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26974 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26975 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26976 * sysdeps/i386/i686/fpu/e_log.S: New file.
26977 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26978 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26979
396a21b1
UD
26980 * ctype/ctype.h: Add support for inlined isXXX functions when
26981 compiling C++ code.
26982
6b1f68c9
AS
269832011-10-14 Andreas Schwab <schwab@redhat.com>
26984
349290c0
AS
26985 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26986
6b1f68c9
AS
26987 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26988
f2282d42
RM
269892011-10-13 Roland McGrath <roland@hack.frob.com>
26990
26991 [BZ #13291]
26992 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26993
5298ffa8
AS
269942011-10-13 Andreas Schwab <schwab@redhat.com>
26995
714fad23
AS
26996 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26997 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26998 feraiseexcept.
26999
81dcc7fb
AS
27000 * sysdeps/x86_64/memrchr.S: Check for zero size.
27001
5298ffa8
AS
27002 * string/stratcliff.c: Add memrchr tests.
27003
951fbcec
LD
270042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27005
27006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27007 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27008 rawmemchr-sse2 rawmemchr-sse2-bsf.
27009 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27010 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27011 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27012 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27013 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27014 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27015 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27016 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27017 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27018 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27019 * string/memrchr.c (MEMRCHR): New macro.
27020
0ac5ae23
UD
270212011-10-12 Ulrich Drepper <drepper@gmail.com>
27022
27023 Add integration with gcc's -ffinite-math-only and optimize wrapper
27024 functions in libm.
27025 * Versions.def: Define GLIBC_2.15 version for libm.
27026 * math/Makefile (headers): Add bits/math-finite.h.
27027 * math/bits/math-finite.h: New file.
27028 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27029 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27030 * math/e_acoshl.c: Add __*_finite alias.
27031 * math/e_acosl.c: Likewise.
27032 * math/e_asinl.c: Likewise.
27033 * math/e_atan2l.c: Likewise.
27034 * math/e_atanhl.c: Likewise.
27035 * math/e_coshl.c: Likewise.
27036 * math/e_exp10.c: Likewise.
27037 * math/e_exp10f.c: Likewise.
27038 * math/e_exp10l.c: Likewise.
27039 * math/e_exp2l.c: Likewise.
27040 * math/e_fmodl.c: Likewise.
27041 * math/e_gammal_r.c: Likewise.
27042 * math/e_hypotl.c: Likewise.
27043 * math/e_j0l.c: Likewise.
27044 * math/e_j1l.c: Likewise.
27045 * math/e_jnl.c: Likewise.
27046 * math/e_lgammal_r.c: Likewise.
27047 * math/e_log10l.c: Likewise.
27048 * math/e_log2l.c: Likewise.
27049 * math/e_logl.c: Likewise.
27050 * math/e_powl.c: Likewise.
27051 * math/e_sinhl.c: Likewise.
27052 * math/e_sqrtl.c: Likewise.
27053 * math/e_scalb.c: Completely rewritten and optimized.
27054 * math/e_scalbf.c: Likewise.
27055 * math/e_scalbl.c: Likewise.
27056 * math/w_acos.c: Likewise.
27057 * math/w_acosf.c: Likewise.
27058 * math/w_acosl.c: Likewise.
27059 * math/w_acosh.c: Likewise.
27060 * math/w_acoshf.c: Likewise.
27061 * math/w_acoshl.c: Likewise.
27062 * math/w_asin.c: Likewise.
27063 * math/w_asinf.c: Likewise.
27064 * math/w_asinl.c: Likewise.
27065 * math/w_atan2.c: Likewise.
27066 * math/w_atan2f.c: Likewise.
27067 * math/w_atan2l.c: Likewise.
27068 * math/w_atanh.c: Likewise.
27069 * math/w_atanhf.c: Likewise.
27070 * math/w_atanhl.c: Likewise.
27071 * math/w_exp10.c: Likewise.
27072 * math/w_exp10f.c: Likewise.
27073 * math/w_exp10l.c: Likewise.
27074 * math/w_fmod.c: Likewise.
27075 * math/w_fmodf.c: Likewise.
27076 * math/w_fmodl.c: Likewise.
27077 * math/w_j0.c: Likewise.
27078 * math/w_j0f.c: Likewise.
27079 * math/w_j0l.c: Likewise.
27080 * math/w_j1.c: Likewise.
27081 * math/w_j1f.c: Likewise.
27082 * math/w_j1l.c: Likewise.
27083 * math/w_jn.c: Likewise.
27084 * math/w_jnf.c: Likewise.
27085 * math/w_log.c: Likewise.
27086 * math/w_logf.c: Likewise.
27087 * math/w_logl.c: Likewise.
27088 * math/w_log10.c: Likewise.
27089 * math/w_log10f.c: Likewise.
27090 * math/w_log10l.c: Likewise.
27091 * math/w_log2.c: Likewise.
27092 * math/w_log2f.c: Likewise.
27093 * math/w_log2l.c: Likewise.
27094 * math/w_pow.c: Likewise.
27095 * math/w_powf.c: Likewise.
27096 * math/w_powl.c: Likewise.
27097 * math/w_remainder.c: Likewise.
27098 * math/w_remainderf.c: Likewise.
27099 * math/w_remainderl.c: Likewise.
27100 * math/w_scalb.c: Likewise.
27101 * math/w_scalbf.c: Likewise.
27102 * math/w_scalbl.c: Likewise.
27103 * math/w_sqrt.c: Likewise.
27104 * math/w_sqrtf.c: Likewise.
27105 * math/w_sqrtl.c: Likewise.
27106 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27107 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27108 used.
27109 * math/math_private.h: Declare __kernel_standard_f.
27110 * math/w_cosh.c: Remove cruft and optimize a bit.
27111 * math/w_coshf.c: Likewise.
27112 * math/w_coshl.c: Likewise.
27113 * math/w_exp2.c: Likewise.
27114 * math/w_exp2f.c: Likewise.
27115 * math/w_exp2l.c: Likewise.
27116 * math/w_hypot.c: Likewise.
27117 * math/w_hypotf.c: Likewise.
27118 * math/w_hypotl.c: Likewise.
27119 * math/w_lgamma.c: Likewise.
27120 * math/w_lgamma_r.c: Likewise.
27121 * math/w_lgammaf.c: Likewise.
27122 * math/w_lgammaf_r.c: Likewise.
27123 * math/w_lgammal.c: Likewise.
27124 * math/w_lgammal_r.c: Likewise.
27125 * math/w_sinh.c: Likewise.
27126 * math/w_sinhf.c: Likewise.
27127 * math/w_sinhl.c: Likewise.
27128 * math/w_tgamma.c: Likewise.
27129 * math/w_tgammaf.c: Likewise.
27130 * math/w_tgammal.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27132 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27133 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27134 Minor optimizations. Pretty printing. Remove cruft.
27135 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27136 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27137 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27138 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27139 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27140 * sysdeps/i386/fpu/e_asin.S: Likewise.
27141 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27142 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27143 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27144 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27145 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27146 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27147 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27148 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27149 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27150 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27151 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27152 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27153 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27154 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27155 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27156 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27157 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27158 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27159 * sysdeps/i386/fpu/e_log.S: Likewise.
27160 * sysdeps/i386/fpu/e_log10.S: Likewise.
27161 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27162 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27163 * sysdeps/i386/fpu/e_log2.S: Likewise.
27164 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27165 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27166 * sysdeps/i386/fpu/e_logf.S: Likewise.
27167 * sysdeps/i386/fpu/e_logl.S: Likewise.
27168 * sysdeps/i386/fpu/e_pow.S: Likewise.
27169 * sysdeps/i386/fpu/e_powf.S: Likewise.
27170 * sysdeps/i386/fpu/e_powl.S: Likewise.
27171 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27172 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27173 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27174 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27175 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27176 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27177 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27178 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27179 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27181 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27185 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27189 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27193 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27194 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27195 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27196 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27201 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27202 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27203 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27204 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27205 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27206 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27207 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27208 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27209 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27210 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27211 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27212 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27213 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27214 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27215 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27216 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27217 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27218 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27219 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27220 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27221 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27249 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27251 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27257 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27260 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27262 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27263 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27265 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27266 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27267 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27268 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27269 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27270 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27271 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27272 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27273 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27274 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27275 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27276 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27277 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27278 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27279 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27280 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27281 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27282 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27283 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27284 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27285 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27286 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27287 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27288 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27289 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27290 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27291 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27292 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27293 (__isnanf): Likewise.
27294 (__isinf_ns): Likewise.
27295 (__isinf_nsf): Likewise.
27296 (__finite): Likewise.
27297 (__finitef): Likewise.
27298 (__ieee754_sqrt): Define as macro.
27299 (__ieee754_sqrtf): Define as macro.
27300 (__ieee754_sqrtl): Define as macro.
27301 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27302 inlined copy.
27303 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27304 __FINITE_MATH_ONLY__ consistent.
27305 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27306
12cc2fcd
AS
273072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27308
a843a204
AS
27309 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27310 of rawmemchr.
27311
12cc2fcd
AS
27312 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27313
c853acd5
UD
273142011-10-09 Ulrich Drepper <drepper@gmail.com>
27315
27316 * po/ja.po: Update from translation team.
27317
c658d255
RM
273182011-10-08 Roland McGrath <roland@hack.frob.com>
27319
110946e4
RM
27320 * locale/programs/locarchive.c (prepare_address_space): New function.
27321 (create_archive, enlarge_archive, open_archive): Use it.
27322
50604220
RM
27323 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27324 inside [SHARED], where it is used.
27325
c658d255
RM
27326 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27327
27328 * nss/getent.c (netgroup_keys): Remove unused variable.
27329 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27330
6a621eb7
UD
273312011-10-08 Ulrich Drepper <drepper@gmail.com>
27332
7edb55ce
UD
27333 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27334 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27335 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27336 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27337 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27338 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27339 * math/Makefile (libm-calls): Add s_isinf_ns.
27340 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27341 * math/multc3.c: Likewise.
27342 * math/s_casin.c: Likewise.
27343 * math/s_casinf.c: Likewise.
27344 * math/s_casinl.c: Likewise.
27345 * math/s_ccos.c: Likewise.
27346 * math/s_ccosf.c: Likewise.
27347 * math/s_ccosl.c: Likewise.
27348 * math/s_ctan.c: Likewise.
27349 * math/s_ctanf.c: Likewise.
27350 * math/s_ctanh.c: Likewise.
27351 * math/s_ctanhf.c: Likewise.
27352 * math/s_ctanhl.c: Likewise.
27353 * math/s_ctanl.c: Likewise.
27354 * math/w_fmod.c: Likewise.
27355 * math/w_fmodf.c: Likewise.
27356 * math/w_fmodl.c: Likewise.
27357 * math/w_remainder.c: Likewise.
27358 * math/w_remainderf.c: Likewise.
27359 * math/w_remainderl.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27361 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27362 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27363 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27364 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27365 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27366 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27367 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27368
187da0ae
UD
27369 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27370 of the number.
27371 * stdio-common/printf_fphex.c: Likewise.
27372 * stdio-common/printf_size.c: Likewise.
27373
9277c064
UD
27374 * math/e_exp10.c: Include math_private.h using <...> not "...".
27375 * math/e_exp10f.c: Likewise.
27376 * math/e_exp10l.c: Likewise.
27377 * math/e_exp2l.c: Likewise.
27378 * math/e_j0l.c: Likewise.
27379 * math/e_j1l.c: Likewise.
27380 * math/e_jnl.c: Likewise.
27381 * math/e_lgammal_r.c: Likewise.
27382 * math/e_rem_pio2l.c: Likewise.
27383 * math/e_scalb.c: Likewise.
27384 * math/e_scalbf.c: Likewise.
27385 * math/e_scalbl.c: Likewise.
27386 * math/k_cosl.c: Likewise.
27387 * math/k_sinl.c: Likewise.
27388 * math/k_tanl.c: Likewise.
27389 * math/s_cacoshf.c: Likewise.
27390 * math/s_catan.c: Likewise.
27391 * math/s_catanf.c: Likewise.
27392 * math/s_catanh.c: Likewise.
27393 * math/s_catanhf.c: Likewise.
27394 * math/s_catanhl.c: Likewise.
27395 * math/s_catanl.c: Likewise.
27396 * math/s_ccosh.c: Likewise.
27397 * math/s_ccoshf.c: Likewise.
27398 * math/s_ccoshl.c: Likewise.
27399 * math/s_cexp.c: Likewise.
27400 * math/s_cexpf.c: Likewise.
27401 * math/s_cexpl.c: Likewise.
27402 * math/s_clog.c: Likewise.
27403 * math/s_clog10.c: Likewise.
27404 * math/s_clog10f.c: Likewise.
27405 * math/s_clog10l.c: Likewise.
27406 * math/s_clogf.c: Likewise.
27407 * math/s_clogl.c: Likewise.
27408 * math/s_csin.c: Likewise.
27409 * math/s_csinf.c: Likewise.
27410 * math/s_csinh.c: Likewise.
27411 * math/s_csinhf.c: Likewise.
27412 * math/s_csinhl.c: Likewise.
27413 * math/s_csinl.c: Likewise.
27414 * math/s_csqrt.c: Likewise.
27415 * math/s_csqrtf.c: Likewise.
27416 * math/s_csqrtl.c: Likewise.
27417 * math/s_ctan.c: Likewise.
27418 * math/s_ctanf.c: Likewise.
27419 * math/s_ctanh.c: Likewise.
27420 * math/s_ctanhf.c: Likewise.
27421 * math/s_ctanhl.c: Likewise.
27422 * math/s_ctanl.c: Likewise.
27423 * math/s_ldexp.c: Likewise.
27424 * math/s_ldexpf.c: Likewise.
27425 * math/s_ldexpl.c: Likewise.
27426 * math/s_significand.c: Likewise.
27427 * math/s_significandf.c: Likewise.
27428 * math/s_significandl.c: Likewise.
27429 * math/w_acos.c: Likewise.
27430 * math/w_acosf.c: Likewise.
27431 * math/w_acosh.c: Likewise.
27432 * math/w_acoshf.c: Likewise.
27433 * math/w_acoshl.c: Likewise.
27434 * math/w_acosl.c: Likewise.
27435 * math/w_asin.c: Likewise.
27436 * math/w_asinf.c: Likewise.
27437 * math/w_asinl.c: Likewise.
27438 * math/w_atan2.c: Likewise.
27439 * math/w_atan2f.c: Likewise.
27440 * math/w_atan2l.c: Likewise.
27441 * math/w_atanh.c: Likewise.
27442 * math/w_atanhf.c: Likewise.
27443 * math/w_atanhl.c: Likewise.
27444 * math/w_cosh.c: Likewise.
27445 * math/w_coshf.c: Likewise.
27446 * math/w_coshl.c: Likewise.
27447 * math/w_dremf.c: Likewise.
27448 * math/w_exp10.c: Likewise.
27449 * math/w_exp10f.c: Likewise.
27450 * math/w_exp10l.c: Likewise.
27451 * math/w_exp2.c: Likewise.
27452 * math/w_exp2f.c: Likewise.
27453 * math/w_fmod.c: Likewise.
27454 * math/w_fmodf.c: Likewise.
27455 * math/w_fmodl.c: Likewise.
27456 * math/w_hypot.c: Likewise.
27457 * math/w_hypotf.c: Likewise.
27458 * math/w_hypotl.c: Likewise.
27459 * math/w_j0.c: Likewise.
27460 * math/w_j0f.c: Likewise.
27461 * math/w_j0l.c: Likewise.
27462 * math/w_j1.c: Likewise.
27463 * math/w_j1f.c: Likewise.
27464 * math/w_j1l.c: Likewise.
27465 * math/w_jn.c: Likewise.
27466 * math/w_jnf.c: Likewise.
27467 * math/w_jnl.c: Likewise.
27468 * math/w_lgamma.c: Likewise.
27469 * math/w_lgamma_r.c: Likewise.
27470 * math/w_lgammaf.c: Likewise.
27471 * math/w_lgammaf_r.c: Likewise.
27472 * math/w_lgammal.c: Likewise.
27473 * math/w_lgammal_r.c: Likewise.
27474 * math/w_log.c: Likewise.
27475 * math/w_log10.c: Likewise.
27476 * math/w_log10f.c: Likewise.
27477 * math/w_log10l.c: Likewise.
27478 * math/w_log2.c: Likewise.
27479 * math/w_log2f.c: Likewise.
27480 * math/w_log2l.c: Likewise.
27481 * math/w_logf.c: Likewise.
27482 * math/w_logl.c: Likewise.
27483 * math/w_pow.c: Likewise.
27484 * math/w_powf.c: Likewise.
27485 * math/w_powl.c: Likewise.
27486 * math/w_remainder.c: Likewise.
27487 * math/w_remainderf.c: Likewise.
27488 * math/w_remainderl.c: Likewise.
27489 * math/w_scalb.c: Likewise.
27490 * math/w_scalbf.c: Likewise.
27491 * math/w_scalbl.c: Likewise.
27492 * math/w_sinh.c: Likewise.
27493 * math/w_sinhf.c: Likewise.
27494 * math/w_sinhl.c: Likewise.
27495 * math/w_sqrt.c: Likewise.
27496 * math/w_sqrtf.c: Likewise.
27497 * math/w_sqrtl.c: Likewise.
27498 * math/w_tgamma.c: Likewise.
27499 * math/w_tgammaf.c: Likewise.
27500 * math/w_tgammal.c: Likewise.
27501
6a621eb7
UD
27502 * po/ja.po: Update from translation team.
27503
bf582445
AJ
275042011-09-29 Andreas Jaeger <aj@suse.de>
27505
f9efbf3a
AJ
27506 [BZ #13179]
27507 * sunrpc/netname.c (netname2host): Fix logic.
27508
bf582445
AJ
27509 [BZ #6779]
27510 [BZ #6783]
27511 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27512 correctly.
27513 * math/w_remainder.c (__remainder): Likewise.
27514 * math/w_remainderf.c (__remainderf): Likewise.
27515 * math/libm-test.inc (remainder_test): Add test cases.
27516
48693bea
AK
275172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27518
27519 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27520 sdiv_qrnnd.
27521
42622229
LD
275222011-10-07 Ulrich Drepper <drepper@gmail.com>
27523
27524 * string/test-memcmp.c: Avoid unncessary #defines.
27525 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27526
093ecf92
LD
275272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27528
27529 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27530 Use new sse2 version for core i3 - i7 as it's faster
27531 than sse42 version.
27532 (bit_Prefer_PMINUB_for_stringop): New.
27533 * sysdeps/x86_64/rawmemchr.S: Update.
27534 Replace with faster SSE2 version.
27535 * sysdeps/x86_64/memrchr.S: New file.
27536 * sysdeps/x86_64/memchr.S: Update.
27537 Replace with faster SSE2 version.
27538
fde56e5c
MP
275392011-09-12 Marek Polacek <mpolacek@redhat.com>
27540
27541 * elf/dl-load.c (lose): Add cast to avoid warning.
27542
21fd49a9
UD
275432011-10-07 Ulrich Drepper <drepper@gmail.com>
27544
5a06e643
UD
27545 * po/ca.po: Update from translation team.
27546
684ae515
UD
27547 * inet/getnetgrent_r.c: Hook up nscd.
27548 * nscd/Makefile (routines): Add nscd_netgroup.
27549 (nscd-modules): Add netgroupcache.
27550 (CFLAGS-netgroupcache.c): Define.
27551 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27552 (cache_search): Add const to second parameter.
27553 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27554 INNETGR.
27555 (dbs): Add netgrdb entry.
27556 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27557 (verify_persistent_db): Handle netgrdb.
27558 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27559 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27560 GETFDNETGR.
27561 (netgroup_response_header): Define.
27562 (innetgroup_response_header): Define.
27563 (datahead): Add netgroup_response_header and innetgroup_response_header
27564 elements.
27565 * nscd/nscd.conf: Add entries for netgroup cache.
27566 * nscd/nscd.h (dbtype): Add netgrdb.
27567 (_PATH_NSCD_NETGROUP_DB): Define.
27568 (netgroup_iov_disabled): Declare.
27569 (xmalloc, xcalloc, xrealloc): Move declarations here.
27570 (cache_search): Adjust prototype.
27571 Add netgroup-related prototypes.
27572 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27573 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27574 (__nscd_innetgr): Declare.
27575 * nscd/selinux.c (perms): Use access_vector_t as element type and
27576 add netgroup-related initializers.
27577 * nscd/netgroupcache.c: New file.
27578 * nscd/nscd_netgroup.c: New file.
27579 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27580 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27581 For four parameters use innetgr.
27582 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27583 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27584 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27585 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27586
21fd49a9
UD
27587 * nscd/connections.c (register_traced_file): Don't register file
27588 for disabled databases.
27589
054c0457
UD
275902011-10-06 Ulrich Drepper <drepper@gmail.com>
27591
32b63198
UD
27592 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27593
054c0457
UD
27594 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27595 from tree and freeing node.
27596
64031225
JO
275972011-09-25 Jiri Olsa <jolsa@redhat.com>
27598
27599 * nss/nsswitch.c (__nss_database_lookup): Handle
27600 nss_parse_service_list out of memory case.
27601
0490345c
JO
276022011-09-15 Jiri Olsa <jolsa@redhat.com>
27603
27604 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27605 out of memory case.
27606
3a62d00d
AS
276072011-10-04 Andreas Schwab <schwab@redhat.com>
27608
27609 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27610 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27611 pass it down.
27612 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27613 elf_machine_rela, elf_machine_lazy_rel.
27614 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27615 (ELF_DYNAMIC_DO_REL): Likewise.
27616 (ELF_DYNAMIC_DO_RELA): Likewise.
27617 (ELF_DYNAMIC_RELOCATE): Likewise.
27618 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27619 to ELF_DYNAMIC_DO_REL.
27620 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27621 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27622 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27623 elf_machine_rela.
27624 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27625 skip_ifunc, don't call ifunc function if non-zero.
27626 (elf_machine_rela): Likewise.
27627 (elf_machine_lazy_rel): Likewise.
27628 (elf_machine_lazy_rela): Likewise.
27629 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27630 (elf_machine_lazy_rel): Likewise.
27631 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27632 Likewise.
27633 (elf_machine_lazy_rel): Likewise.
27634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27635 Likewise.
27636 (elf_machine_lazy_rel): Likewise.
27637 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27638 (elf_machine_lazy_rel): Likewise.
27639 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27640 (elf_machine_lazy_rel): Likewise.
27641 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27642 (elf_machine_lazy_rel): Likewise.
27643 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27644 (elf_machine_lazy_rel): Likewise.
27645 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27646 (elf_machine_lazy_rel): Likewise.
27647 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27648 (elf_machine_lazy_rel): Likewise.
27649
68577918
UD
276502011-09-28 Ulrich Drepper <drepper@gmail.com>
27651
27652 * nss/nss_files/files-init.c (_nss_files_init): Use static
27653 initialization for all the *_traced_file variables.
27654
68822d74
AS
276552011-09-28 Andreas Schwab <schwab@redhat.com>
27656
27657 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27658
2056100b
RM
276592011-09-27 Roland McGrath <roland@hack.frob.com>
27660
27661 [BZ #13226]
27662 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27663
32c76b63
AS
276642011-09-27 Andreas Schwab <schwab@redhat.com>
27665
27666 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27667 Reread the line before reparsing it.
27668
bf972c9d
AS
276692011-09-26 Andreas Schwab <schwab@redhat.com>
27670
27671 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27672
e057a1b5
JM
276732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27674 Maxim Kuvyrkov <maxim@codesourcery.com>
27675 Joseph Myers <joseph@codesourcery.com>
27676
27677 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27678 if needed for __stack_chk_guard.
27679
bc7e1c36
RM
276802011-09-19 Roland McGrath <roland@hack.frob.com>
27681
ecb1482f
RM
27682 * sysdeps/posix/spawni.c (script_execute): Always define it.
27683 It will be optimized away if unused.
27684 (maybe_script_execute): New function.
27685 (__spawni): Call it.
27686
bc7e1c36
RM
27687 * Makerules: Don't include tls.make.
27688 (config-tls): Always set to thread.
27689 * tls.make.c: File removed.
27690
1c3b002b
MF
276912011-09-19 Mike Frysinger <vapier@gentoo.org>
27692
27693 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27694 * config.make.in (CPPFLAGS-config): New substituted variable.
27695
2840865d
UD
276962011-09-15 Ulrich Drepper <drepper@gmail.com>
27697
88738eb6
UD
27698 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27699
cbf645a6 27700 [BZ #13192]
2840865d
UD
27701 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27702 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27703
b402e91a
RM
277042011-09-15 Roland McGrath <roland@hack.frob.com>
27705
27706 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27707 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27708 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27709 (CALL_FAIL): Likewise.
27710 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27711 (CALL_FAIL): Macro removed.
27712 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27713
4c1a1f71
UD
277142011-09-15 Ulrich Drepper <drepper@gmail.com>
27715
27716 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27717 for __FINITE_MATH_ONLY__ == 1.
27718
edc121be
AS
277192011-09-15 Andreas Schwab <schwab@redhat.com>
27720
27721 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27722 __ieee754_sqrt instead of sqrt.
27723 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27724 __ieee754_sqrtf instead of sqrtf.
27725 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27726 __floorf instead of floorf.
27727 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27728 __floorf, __truncf instead of floorf, truncf.
27729
cd205654
UD
277302011-09-14 Ulrich Drepper <drepper@gmail.com>
27731
ee4d0315
UD
27732 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27733
cd205654
UD
27734 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27735 __extern_always_inline.
27736 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27737 32-bit.
27738
48b67d71
AS
277392011-09-14 Andreas Schwab <schwab@redhat.com>
27740
27741 * elf/rtld.c (dl_main): Also relocate in dependency order when
27742 doing symbol dependency testing.
27743
1ae12c75
AS
277442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27745
27746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27747 Always define `refsym'.
27748
995a80df
AS
277492011-09-13 Andreas Schwab <schwab@redhat.com>
27750
e529793b
AS
27751 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27752 (__FD_ELT): Renamed from __FDELT.
27753 * misc/bits/select2.h (__FD_ELT): Likewise.
27754 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27755 __FD_MASK instead of __FDELT, __FDMASK.
27756 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27757 Likewise.
27758 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27759 Likewise.
27760
52d4fef8
AS
27761 * elf/Makefile (gen-ldd): Fix pattern.
27762
995a80df
AS
27763 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27764 (init_tls): Likewise.
27765
8682f8b0
UD
277662011-09-12 Ulrich Drepper <drepper@gmail.com>
27767
27768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27769
de82006d
AS
277702011-09-12 Andreas Schwab <schwab@redhat.com>
27771
a7c8e6a1
AS
27772 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27773 `struct cmsghdr *' instead of `void *'.
27774 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27775 Likewise.
27776
0f31fe77
AS
277772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27778
27779 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27780 if non-absolute.
27781 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27782 ldd_rewrite_script.
0f31fe77 27783
32b4c839
UD
277842011-09-11 Ulrich Drepper <drepper@gmail.com>
27785
83cd1420
UD
27786 * configure.in: Remove --with-tls option.
27787 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27788 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27789 out in case it is missing.
27790 * sysdeps/ia64/elf/configure.in: Likewise.
27791 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27792 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27793 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27794 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27795 * sysdeps/sh/elf/configure.in: Likewise.
27796 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27797 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27798 * sysdeps/x86_64/elf/configure.in: Likewise.
27799 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27800 * sysdeps/mach/hurd/tls.h: Likewise.
27801
633f745d
UD
27802 [BZ #13067]
27803 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27804
f318beb8
UD
27805 [BZ #13090]
27806 * configure.in: Fix use of AC_INIT.
27807
32b4c839
UD
27808 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27809
3ce1f295
UD
278102011-09-10 Ulrich Drepper <drepper@gmail.com>
27811
bb016596
UD
27812 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27813 __set_errno.
8e58439c
UD
27814 * malloc/hooks.c: Likewise.
27815
aebae053 27816 [BZ #11929]
02d46fc4
UD
27817 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27818 variables statically.
27819 (narenas): Initialize.
27820 (list_lock): Initialize.
bb016596
UD
27821 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27822 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27823 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27824 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27825 Add initializers to main_arena and mp_.
27826 (malloc_state): Remove pagesize member. Change all users to use
27827 GLRO(dl_pagesize).
27828
27829 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27830 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27831 is always initialized.
27832
22a89187
UD
27833 * malloc/malloc.c: Removed unused configurations and dead code.
27834 * malloc/arena.c: Likewise.
27835 * malloc/hooks.c: Likewise.
02d46fc4 27836 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27837
d063d164
UD
27838 * include/tls.h: Removed. USE___THREAD must always be defined.
27839 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27840 * elf/dl-libc.c: Likewise.
27841 * elf/dl-tsd.c: Likewise.
27842 * include/errno.h: Likewise.
27843 * include/netdb.h: Likewise.
27844 * include/resolv.h: Likewise.
27845 * inet/herrno-loc.c: Likewise.
27846 * inet/herrno.c: Likewise.
27847 * malloc/arena.c: Likewise.
27848 * malloc/hooks.c: Likewise.
27849 * malloc/malloc.c: Likewise.
27850 * resolv/res-state.c: Likewise.
27851 * resolv/res_libc.c: Likewise.
27852 * sysdeps/i386/dl-machine.h: Likewise.
27853 * sysdeps/ia64/dl-machine.h: Likewise.
27854 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27855 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27856 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27857 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27858 * sysdeps/sh/dl-machine.h: Likewise.
27859 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27860 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27861 * sysdeps/unix/i386/sysdep.S: Likewise.
27862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27863 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27865 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27868 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27871 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27872 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27873 * sysdeps/x86_64/dl-machine.h: Likewise.
27874 * tls.make.c: Likewise.
27875
3ce1f295
UD
27876 * configure.in: Remove --with-__thread option. Make tests for
27877 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27878 tls_model attribute fail if no support is available. Remove
27879 USE_IN_LIBIO.
27880 * Makeconfig: Adjust for dropped configure option. All features are
27881 now mandatory.
27882 * Makerules: Likewise.
27883 * Versions.def: Likewise.
27884 * argp/argp-fmtstream.c: Likewise.
27885 * argp/argp-fmtstream.h: Likewise.
27886 * argp/argp-help.c: Likewise.
27887 * assert/assert.c: Likewise.
27888 * config.h.in: Likewise.
27889 * config.make.in: Likewise.
27890 * configure: Likewise.
27891 * configure.in: Likewise.
27892 * csu/Versions: Likewise.
27893 * csu/init.c: Likewise.
27894 * elf/tst-audit2.c: Likewise.
27895 * elf/tst-tls10.c: Likewise.
27896 * elf/tst-tls10.h: Likewise.
27897 * elf/tst-tls11.c: Likewise.
27898 * elf/tst-tls12.c: Likewise.
27899 * elf/tst-tls14.c: Likewise.
27900 * elf/tst-tlsmod11.c: Likewise.
27901 * elf/tst-tlsmod12.c: Likewise.
27902 * elf/tst-tlsmod13.c: Likewise.
27903 * elf/tst-tlsmod13a.c: Likewise.
27904 * elf/tst-tlsmod14a.c: Likewise.
27905 * elf/tst-tlsmod15b.c: Likewise.
27906 * elf/tst-tlsmod16a.c: Likewise.
27907 * elf/tst-tlsmod16b.c: Likewise.
27908 * elf/tst-tlsmod7.c: Likewise.
27909 * elf/tst-tlsmod8.c: Likewise.
27910 * elf/tst-tlsmod9.c: Likewise.
27911 * gmon/gmon.c: Likewise.
27912 * grp/fgetgrent_r.c: Likewise.
27913 * grp/putgrent.c: Likewise.
27914 * hurd/fopenport.c: Likewise.
27915 * include/libc-symbols.h: Likewise.
27916 * include/tls.h: Likewise.
27917 * intl/gettextP.h: Likewise.
27918 * intl/loadinfo.h: Likewise.
27919 * locale/global-locale.c: Likewise.
27920 * locale/localeinfo.h: Likewise.
27921 * mach/devstream.c: Likewise.
27922 * malloc/arena.c: Likewise.
27923 * malloc/set-freeres.c: Likewise.
27924 * misc/err.c: Likewise.
27925 * misc/getttyent.c: Likewise.
27926 * misc/mntent_r.c: Likewise.
27927 * posix/getopt.c: Likewise.
27928 * posix/wordexp.c: Likewise.
27929 * pwd/fgetpwent_r.c: Likewise.
27930 * resolv/Versions: Likewise.
27931 * resolv/res_hconf.c: Likewise.
27932 * shadow/fgetspent_r.c: Likewise.
27933 * shadow/putspent.c: Likewise.
27934 * stdio-common/printf_fphex.c: Likewise.
27935 * stdio-common/tmpfile.c: Likewise.
27936 * stdlib/abort.c: Likewise.
27937 * stdlib/fmtmsg.c: Likewise.
27938 * sunrpc/auth_unix.c: Likewise.
27939 * sunrpc/clnt_perr.c: Likewise.
27940 * sunrpc/clnt_tcp.c: Likewise.
27941 * sunrpc/clnt_udp.c: Likewise.
27942 * sunrpc/clnt_unix.c: Likewise.
27943 * sunrpc/openchild.c: Likewise.
27944 * sunrpc/svc_simple.c: Likewise.
27945 * sunrpc/svc_tcp.c: Likewise.
27946 * sunrpc/svc_udp.c: Likewise.
27947 * sunrpc/svc_unix.c: Likewise.
27948 * sunrpc/xdr.c: Likewise.
27949 * sunrpc/xdr_array.c: Likewise.
27950 * sunrpc/xdr_rec.c: Likewise.
27951 * sunrpc/xdr_ref.c: Likewise.
27952 * sunrpc/xdr_stdio.c: Likewise.
27953
1248c1c4
PB
279542011-09-09 Ulrich Drepper <drepper@gmail.com>
27955
27956 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27957
279582011-07-03 Andreas Jaeger <aj@suse.de>
27959
27960 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27961 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27962 regenerate with gen-libm-tests.pl.
27963
279642010-05-12 Petr Baudis <pasky@suse.cz>
27965
27966 [BZ #11589]
27967 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27968 around j0() zero points by switching to j1().
27969 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27970 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27972 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27973
f22e1074
UD
279742011-09-09 Ulrich Drepper <drepper@gmail.com>
27975
f19009c1
UD
27976 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27977 instead of 0.
27978 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27979 instead of 0.
f19009c1
UD
27980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27981 Patch in part by Pavel Roskin <proski@gnu.org>.
27982
3f8cc204
UD
27983 [BZ #13138]
27984 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27985 realloc.
27986 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27987 Free memory block if necessary.
27988
f22e1074
UD
27989 [BZ #12847]
27990 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27991 be NULL. Don't lock in this case.
27992
0a2349f9
RM
279932011-09-09 Roland McGrath <roland@hack.frob.com>
27994
27995 * elf/elf.h (ELFOSABI_GNU): New macro.
27996 (ELFOSABI_LINUX): Define to that.
27997
f3cdd467
DZ
279982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27999
28000 * string/strncat.c (strncat): Undef the symbol in case it has been
28001 defined in bits/string.h.
28002
74718d13
UD
280032011-09-09 Ulrich Drepper <drepper@gmail.com>
28004
633e9e0f
UD
28005 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28006
0a2349f9 28007 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28008 link map.
28009
f9924780
AJ
280102011-08-17 Andreas Jaeger <aj@suse.de>
28011
28012 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28013
7f5517aa
PP
280142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28015 Ian Lance Taylor <iant@google.com>
28016
28017 * math/libm-test.inc (lround_test): New testcase.
28018 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28019
762011fe
UD
280202011-09-08 Ulrich Drepper <drepper@gmail.com>
28021
92963737
UD
28022 * Makefile: Remove support for automatic cvs check-ins.
28023 * Makerules: Likewise.
28024 * config.make.in: Likewise.
28025 * configure.in: Likewise.
28026 * intl/Makefile: Likewise.
28027 * locale/Makefile: Likewise.
28028 * po/Makefile: Likewise.
28029 * posix/Makefile: Likewise.
28030 * sysdeps/gnu/Makefile: Likewise.
28031 * sysdeps/mach/hurd/Makefile: Likewise.
28032 * sysdeps/sparc/sparc32/Makefile: Likewise.
28033
b0727fd8
JS
28034 [BZ #13118]
28035 * posix/Makefile (bug-regex32-ENV): Define.
28036 Patch by John Stanley <jpsinthemix@verizon.net>.
28037
a0f33f99
UD
28038 * misc/Makefile (headers): Add bits/select2.h.
28039 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28040 * misc/bits/select2.h: New file.
28041 * include/bits/select2.h: New file.
28042 * debug/Makefile (routines): Add fdelt_chk.
28043 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28044 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28045 FD_ISSET.
28046 * debug/fdelt_chk.c: New file.
28047
762011fe
UD
28048 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28049 * wcsmbs/test-wmemcmp.c: Likewise.
28050 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28051 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28052
280532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28054
28055 * string/Makefile (strop-tests): Add memcmp.
28056 * string/test-wmemcmp.c: New file.
28057 * string/test-memcmp.c: Add wmemcmp support.
28058
7f513ec8
RM
280592011-09-08 Roland McGrath <roland@hack.frob.com>
28060
0442afb4
RM
28061 [BZ #13153]
28062 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28063 2011-07-19 change.
28064
7f513ec8
RM
28065 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28066 garbage value in a __mach_port_mod_refs call in the cases of the
28067 task-self and thread-self ports.
28068
a12b2239
ST
280692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28070
28071 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28072
610f9ab4
AS
280732011-09-08 Andreas Schwab <schwab@redhat.com>
28074
7f513ec8 28075 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28076
48882a1a
LD
280772011-09-07 Ulrich Drepper <drepper@gmail.com>
28078
b49865be
UD
28079 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28080
fdc86bc9
UD
28081 * elf/dl-libc.c (dlerror_run): Pass back error code from
28082 dl_catch_error.
28083
c966526a
UD
28084 [BZ #13123]
28085 * elf/dl-load.c (lose): Free l_origin if it is valid.
28086
48882a1a
LD
28087 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28088 names.
28089 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28091 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28092 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28093 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28094 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28095
77a2a8b4
AZ
280962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28097
28098 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28099 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28100 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28101 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28102 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28103 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28104 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28105 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28106 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28107 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28108
24f579d8
AM
281092011-08-15 Alan Modra <amodra@gmail.com>
28110
28111 [BZ #13092]
28112 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28113 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28114 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28115 ppc_mcount to static-only-routines.
28116 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28117 __mcount_internal.
28118 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28119 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28120
3d4837df
UD
281212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28122
28123 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28124 for finite and infinity parameters.
28125
22700377
WS
281262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28127
28128 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28129 and add nop instructions for throughput optimization.
28130 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28131
5025581e
WS
281322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28133
28134 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28135 aligned copy for power7 with vector-scalar instructions.
28136 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28137
08a300c9
L
281382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28139
28140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28141 AVX check.
28142
59178ef9
AS
281432011-09-07 Andreas Schwab <schwab@redhat.com>
28144
28145 [BZ #13144]
28146 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28147 last change.
28148
e38ba7ab
UD
281492011-09-07 Ulrich Drepper <drepper@gmail.com>
28150
28151 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28152 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28153 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28154 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28155 clock_gettime.
28156
d53a73ac
UD
281572011-09-06 Ulrich Drepper <drepper@gmail.com>
28158
fc8bffcc
UD
28159 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28160 Forgot to demangle the pointer.
28161
ceaa0c5d
UD
28162 * sysdeps/i386/sysdep.h: Define atom_text_section.
28163 * sysdeps/x86_64/sysdep.h: Likewise.
28164 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28165 section with atom_text_section.
28166 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28167 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28168 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28169 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28170 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28171
a77d3c17
UD
28172 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28173 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28174 already be defined. Change to take two parameters and don't assign
28175 result to variable. Adjust all users.
28176 Define INTERNAL_GETTIME if not already defined.
28177 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28178 call.
28179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28180 HAVE_CLOCK_GETTIME_VSYSCALL.
28181 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28182
d53a73ac
UD
28183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28184 gettimeofday vsyscall, just use time.
28185
a8f84144
AS
281862011-09-06 Andreas Schwab <schwab@redhat.com>
28187
28188 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28189 <errno.h>.
28190
ef606249
UD
281912011-09-06 Ulrich Drepper <drepper@gmail.com>
28192
28193 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28194 syscall on x86-64.
28195 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28196 syscall.
28197 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28199 syscall if possible.
28200
6585cb60
UD
282012011-09-05 Ulrich Drepper <drepper@gmail.com>
28202
28203 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28204 e_ident. Don't pass to find_mapsXX.
28205 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28206
a5f524e4
LD
282072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28208
28209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28210 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28211 * sysdeps/x86_64/multiarch/strchr.S: Update.
28212 Check bit_slow_BSF bit.
28213 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28214 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28215 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28216
554881ef
UD
282172011-09-05 Ulrich Drepper <drepper@gmail.com>
28218
d96de963
UD
28219 [BZ #13134]
28220 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28221 before glibc 2.15.
28222 (tryshell): Define.
28223 (__spawni): Change last parameter to be flag. Test
28224 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28225 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28226 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28227 * posix/spawni.c: Likewise.
28228 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28229 * posix/spawnp.c: Likewise. Change normal version to use
28230 SPAWN_XFLAGS_USE_PATH.
28231 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28232 SPAWN_XFLAGS_TRY_SHELL.
28233
d48e5868
UD
28234 [BZ #13150]
28235 * posix/glob.h: Remove gcc 1.x support.
28236
554881ef
UD
28237 [BZ #13068]
28238 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28239
693fb948
LD
282402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28241
28242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28243 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28244 strrchr-sse2-bsf
28245 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28246 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28247 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28248 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28249 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28250 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28251
1b48c537
UD
282522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28253
49d42c37
UD
28254 * sysdeps/x86_64/wcscmp.S: New file.
28255
1b48c537
UD
28256 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28257 wcscmp-c wcscmp-sse2
28258 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28259 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28260 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28261 * wcsmbs/wcscmp.c: Allow renaming.
28262
15c95c5d
DM
282632011-09-05 David S. Miller <davem@davemloft.net>
28264
28265 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28266 stack slot, rather than the struct return pointer slot.
28267 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28268 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28270 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28271
2f0ad8f3
UD
282722011-09-05 Ulrich Drepper <drepper@gmail.com>
28273
d88ae418
UD
28274 * po/ja.po: Update from translation team.
28275
2f0ad8f3
UD
28276 [BZ #13144]
28277 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28278 kernel in 64-bit binaries.
28279
5f4318d1
DM
282802011-09-01 David S. Miller <davem@davemloft.net>
28281
28282 * elf/elf.h (HWCAP_SPARC_*): Move to..
28283 * sysdeps/sparc/sysdep.h: this new file and add new values.
28284 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28285 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28286 _DL_HWCAP_COUNT to 24.
28287 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28288 entries.
28289 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28290 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28291 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28293 instead of magic constants.
28294 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28295
3ba57516
DM
282962011-08-31 David S. Miller <davem@davemloft.net>
28297
28298 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28300 Reimplement to do errno handling inline.
28301 (SYSCALL_ERROR_HANDLER): New macro.
28302 (__SYSCALL_STRING): Do not do errno handling in asm.
28303 (__CLONE_SYSCALL_STRING): Delete.
28304 (__INTERNAL_SYSCALL_STRING): Delete.
28305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28306 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28307 (PSEUDO): Reimplement to do errno handling inline.
28308 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28309 (SYSCALL_ERROR_HANDLER): New macro.
28310 (__SYSCALL_STRING): Do not do errno handling in asm.
28311 (__CLONE_SYSCALL_STRING): Delete.
28312 (__INTERNAL_SYSCALL_STRING): Delete.
28313 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28314 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28315 i386.
28316 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28317 (inline_syscall*): Add 'err' argument.
28318 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28319 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28320 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28321 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28322
28323 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28324 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28325
2bc17433
AS
283262011-08-30 Andreas Schwab <schwab@redhat.com>
28327
28328 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28329
fbeb5f4d
JO
283302011-08-29 Jiri Olsa <jolsa@redhat.com>
28331
28332 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28333 directive.
28334
ad69cc26
DM
283352011-08-24 David S. Miller <davem@davemloft.net>
28336
28337 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28338
39dd69df
AS
283392011-08-24 Andreas Schwab <schwab@redhat.com>
28340
28341 * elf/Makefile: Add rules to build and run unload8 test.
28342 * elf/unload8.c: New file.
28343 * elf/unload8mod1.c: New file.
28344 * elf/unload8mod1x.c: New file.
28345 * elf/unload8mod2.c: New file.
28346 * elf/unload8mod3.c: New file.
28347
28348 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28349 it wasn't used.
28350
2c0b250a
DM
283512011-08-23 David S. Miller <davem@davemloft.net>
28352
28353 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28354 subtract stack bias.
28355 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28356 %sp not %fp in calculations.
28357 (_JMPBUF_UNWINDS_ADJ): Likewise.
28358
22044b48
DM
28359 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28360 (aio_suspend): Call it to force an exception region around the
28361 AIO_MISC_WAIT() invocation.
28362
2cae4995
AS
283632011-08-23 Andreas Schwab <schwab@redhat.com>
28364
28365 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28366 backslash.
28367
873a772e
AJ
283682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28369
28370 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28371 protection macro.
28372 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28373 and <dl-machine.h>.
28374 (Elf64_FuncDesc): Remove.
28375
25ad0df1
DM
283762011-08-22 David S. Miller <davem@davemloft.net>
28377
28378 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28379 sigaltstack check, add missing cfi directives.
28380 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28381 missing cfi directives, and sigaltstack handling.
28382
e888bcbe
AS
283832011-08-16 Andreas Schwab <schwab@redhat.com>
28384
28385 [BZ #11724]
28386 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28387 object is seen twice.
28388 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28389
28390 * elf/Makefile (distribute): Add tst-initorder2.c.
28391 (tests): Add tst-initorder2.
28392 (modules-names): Add tst-initorder2a tst-initorder2b
28393 tst-initorder2c tst-initorder2d. Add rules to build them.
28394 ($(objpfx)tst-initorder2.out): New rule.
28395 * elf/tst-initorder2.c: New file.
28396 * elf/tst-initorder2.exp: New file.
28397
87162f46
AS
283982011-08-22 Andreas Schwab <schwab@redhat.com>
28399
70538b7f
AS
28400 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28401
f55ffe58
AS
28402 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28403 dependencies back to end of function.
28404
87162f46
AS
28405 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28406 $(elfobjdir)/ld.so.
28407
91b392a4
UD
284082011-08-21 Ulrich Drepper <drepper@gmail.com>
28409
28410 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28411 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28413 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28414 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28415 of __vdso_gettimeofday.
28416 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28417 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28418 attribute_hidden.
28419 (_libc_vdso_platform_setup): Remove initialization of
28420 __vdso_gettimeofday and __vdso_time.
28421
5c43483f
UD
284222011-08-20 Ulrich Drepper <drepper@gmail.com>
28423
775a77e7
UD
28424 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28425 and fgetc_unlocked.
28426 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28427 getc_unlocked.
89f447ed 28428
49c74ba9
UD
28429 * elf/dl-open.c (add_to_global): Report additions to the global scope
28430 for LD_DEBUG=scopes.
28431 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28432 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28433
5c43483f
UD
28434 [BZ #13114]
28435 * stdio-common/Makefile (tests): Add bug24.
28436 * stdio-common/bug24.c: New file.
28437
a101b025
AJ
284382011-08-19 Andreas Jaeger <aj@suse.de>
28439
28440 [BZ #13114]
28441 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28442 non-existant file when using close-on-exec mode.
28443
c88f1766
UD
284442011-08-20 Ulrich Drepper <drepper@gmail.com>
28445
0276a718
UD
28446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28447 the very first instruction.
28448
c88f1766
UD
28449 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28450 the CFI state in the end.
28451 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28452 inclusion of dl-trampoline.h.
28453 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28454
51ccffa0
AS
284552011-08-19 Andreas Schwab <schwab@redhat.com>
28456
94d7165f
AS
28457 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28458 expectations for long double.
28459
51ccffa0
AS
28460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28461 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28462
fd708658 284632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28464
28465 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28466 artificual limit depends upon the system page size.
28467
44f0a71e
UD
284682011-08-17 Ulrich Drepper <drepper@gmail.com>
28469
28470 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28471 * resolv/Makefile: Define CFLAGS-libresolv.
28472
8de79a24
AS
284732011-08-17 Andreas Schwab <schwab@redhat.com>
28474
28475 * nss/makedb.c (compute_tables): Make variables used in nested
28476 function static.
28477
27724598
UD
284782011-08-17 Ulrich Drepper <drepper@gmail.com>
28479
c5305d88
UD
28480 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28481 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28482 if buffer was too small.
28483
27724598
UD
28484 * elf/pldd.c (main): Attach to all threads in the process.
28485 Rewrite /proc handling to use *at functions.
28486
076fe015
UD
284872011-08-16 Ulrich Drepper <drepper@gmail.com>
28488
174baab3
UD
28489 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28490 specifies first scope to show.
28491 (dl_open_worker): Update callers. Move printing scope of new
28492 object to before the relocation.
44f0a71e 28493 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28494 * sysdeps/generic/ldsodefs.h: Update declaration.
28495
076fe015
UD
28496 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28497 string for the scope number.
28498
a60df2c3
UD
284992011-08-14 Ulrich Drepper <drepper@gmail.com>
28500
28501 * nscd/servicescache.c (cache_addserv): Make sure written is always
28502 initialized.
28503
5e4287d1
RM
285042011-08-14 Roland McGrath <roland@hack.frob.com>
28505
85ae0589
RM
28506 * sysdeps/i386/i486/bits/atomic.h
28507 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28508 statement expression, so as to suppress "set but not used" warning.
28509 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28510
69f63097
RM
28511 * string/strncat.c (STRNCAT): Use prototype definition.
28512
675456ef
RM
28513 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28514 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28515 -Iprograms here.
28516 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28517 (localedef-modules): Add localedef.
28518 (locale-modules): Add locale.
28519
5e4287d1
RM
28520 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28521 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28522 to avoid a warning.
28523
9c96ff23
DM
285242011-08-14 David S. Miller <davem@davemloft.net>
28525
28526 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28527 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28528
f9ddf089
UD
285292011-08-13 Ulrich Drepper <drepper@gmail.com>
28530
44f0a71e 28531 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28532 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28533 * elf/rtld.c (dl_main): Set l_name of vDSO.
28534 Call _dl_show_scope when DL_DEBUG_SCOPES.
28535 (process_dl_debug): Recognize scopes flag and also set it for all.
28536 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28537 Declare _dl_show_scope.
28538
1dc27704
UD
28539 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28540 (do_dlopen): Pass caller_dlopen to dl_open.
28541 (__libc_dlopen_mode): Initialize caller_dlopen.
28542
f9ddf089
UD
28543 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28544 of libc. Make tolower call locale-independent. Optimize a bit by
28545 using isdigit instead of isalnum.
28546 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28547
9ac533d3
UD
285482011-08-12 Ulrich Drepper <drepper@gmail.com>
28549
28550 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28551 was a dependency or dynamically loaded.
28552
89edf2e9
UD
285532011-08-11 Ulrich Drepper <drepper@gmail.com>
28554
8e999d29
UD
28555 * intl/l10nflist.c: Allow architecture-specific pop function.
28556 * sysdeps/x86_64/l10nflist.c: New file.
28557
89edf2e9
UD
28558 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28559 classification.
28560
14d96785
AS
285612011-08-10 Andreas Schwab <schwab@redhat.com>
28562
28563 * include/dirent.h: Add libc_hidden_proto for scandirat and
28564 scandirat64. Don't declare __scandirat64.
28565 * dirent/scandirat.c: Add libc_hidden_def.
28566 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28567 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28568
6761ac04
DM
285692011-08-10 David S. Miller <davem@davemloft.net>
28570
28571 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28572 enum.
28573 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28575 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28576
c55fbd1e
UD
285772011-08-09 Ulrich Drepper <drepper@gmail.com>
28578
28579 * Versions.def [libc]: Add GLIBC_2.15.
28580 * dirent/Makefile (routines): Add scandirat and scandirat64.
28581 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28582 GLIBC_2.15.
28583 * dirent/dirent.h: Declare scandirat and scandirat64.
28584 * dirent/scandirat.c: New file.
28585 * dirent/scandirat64.c: New file.
28586 * sysdeps/wordsize-64/scandirat.c: New file.
28587 * sysdeps/wordsize-64/scandirat64.c: New file.
28588 * dirent/opendir.c: Define opendirat.
28589 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28590 using scandirat.
28591 * dirent/scandir64.c: Adjust for scandir.c change.
28592 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28593 __scandirat64, and __scandir_cancel_handler.
28594 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28595 additional parameter and use openat instead of open (outside of ld.so).
28596 Add new __opendir as wrapper around __opendirat.
28597 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28598 here without requiring old scandirat implementation.
28599
879165f2
UD
286002011-08-08 Ulrich Drepper <drepper@gmail.com>
28601
28602 * dirent/scandir.c (cancel_handler): Renamed to
28603 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28604 defined. Adjust users.
28605 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28606 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28607
cb7e923b
UD
286082011-08-04 Ulrich Drepper <drepper@gmail.com>
28609
16292edd
UD
28610 * string/test-string.h (IMPL): Use __STRING to expand name and then
28611 stringify it.
28612
cb7e923b
UD
28613 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28614 of cleanups.
28615
cff82933
LD
286162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28617
28618 * string/Makefile: Update.
28619 (strop-tests): Append strncat.
28620 * string/test-wcscmp.c: New file.
28621 New comprehensive test for wcscmp.
28622 * string/test-strcmp.c: Update.
28623 (WIDE): New define.
28624
9be9bfcc
AS
286252011-07-22 Andreas Schwab <schwab@redhat.com>
28626
28627 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28628 line.
28629
2e96f1c7
AS
286302011-07-26 Andreas Schwab <schwab@redhat.com>
28631
28632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28633 encoding to ACE if AI_IDN.
28634
85188888
JJ
286352011-08-01 Jakub Jelinek <jakub@redhat.com>
28636
28637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28638 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28639
5fa16e9b
LD
286402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28641
28642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28643 Fix overflow bug in strncat.
28644 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28645
28646 * string/test-strncat.c: Update.
28647 Add new tests for checking overflow bugs.
28648
286492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28650
28651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28652 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28653 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28654 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28655 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28656 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28657 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28658 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28659 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28660
28661 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28662 (USE_AS_STRCAT): Define.
28663 Add strcat and strncat support.
28664 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28665
8c1a459f
AS
286662011-07-25 Andreas Schwab <schwab@redhat.com>
28667
28668 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28669 __n bigger than INT_MAX+1.
28670 (__strncmp_g): Likewise.
28671
bba33c28
UD
286722011-07-23 Ulrich Drepper <drepper@gmail.com>
28673
798be72d
UD
28674 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28675 * libio/stido.h: Likewise.
28676
8accd4dc
UD
28677 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28678 (AF_NFC): Define.
28679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28680 (AF_NFC): Define.
28681
cbff0d96
UD
28682 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28683 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28685 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28687
9191c04a
UD
28688 [BZ #13021]
28689 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28690 installed.
28691
bba33c28
UD
28692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28693 typo.
28694 (_dl_x86_64_save_sse): Likewise.
28695
90f139dd
UD
286962011-07-22 Ulrich Drepper <drepper@gmail.com>
28697
1aae088a
UD
28698 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28699 OSXSAVE.
28700 (_dl_x86_64_save_sse): Likewise.
28701
8e2045f5
UD
28702 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28703
90f139dd
UD
28704 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28705
1d002f25
AS
287062011-07-21 Andreas Schwab <schwab@redhat.com>
28707
28708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28709 change.
28710 (_dl_x86_64_save_sse): Use correct AVX check.
28711
21137f89
UD
287122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28713
28714 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28715 bug in strncpy/strncat.
28716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28717
a65c0b7a
UD
287182011-07-21 Ulrich Drepper <drepper@gmail.com>
28719
28720 * string/tester.c (test_strcat): Add tests for different alignments
28721 of source and destination.
28722 (test_strncat): Likewise.
28723
6986b98a
UD
287242011-07-20 Ulrich Drepper <drepper@gmail.com>
28725
90bb2039
UD
28726 [BZ #12852]
28727 * posix/glob.c (glob): Check passed in values before using them in
28728 expressions to avoid some overflows.
28729 (glob_in_dir): Likewise.
28730
5644ef54
UD
28731 [BZ #13007]
28732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28733 check for AVX enablement so that we don't crash with old kernels and
28734 new hardware.
28735 * elf/tst-audit4.c: Add same checks here.
28736 * elf/tst-audit6.c: Likewise.
28737
28738 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28739
bfc9dc9b
AS
287402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28741
28742 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28743
702e64bb
UD
287442011-07-20 Ulrich Drepper <drepper@gmail.com>
28745
28746 * po/cs.po: Update from translation team.
28747 * po/bg.po: Likewise.
28748
295e904f
MP
287492011-07-12 Marek Polacek <mpolacek@redhat.com>
28750
28751 * misc/sys/cdefs.h: Add support for const attribute.
28752 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28753 to gnu_dev_{major,minor,makedev} functions.
28754
3ff94596
MP
287552011-07-20 Marek Polacek <mpolacek@redhat.com>
28756
28757 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28758
28b59fca
AS
287592011-07-20 Andreas Schwab <schwab@redhat.com>
28760
28761 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28762 strlen results.
28763
19df733e
AK
287642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28765
28766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28767 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28768 register in order to avoid conflicts with the soft frame pointer
28769 being held in r11 when necessary.
28770 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28771 (INTERNAL_VSYSCALL_NCS): Likewise.
28772
c8835729
MP
287732011-07-14 Marek Polacek <mpolacek@redhat.com>
28774
28775 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28776 * elf/dl-fini.c (_dl_fini): Adjust caller.
28777 * elf/dl-close.c (_dl_close_worker): Likewise.
28778 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28779
b902330c
MP
287802011-07-15 Marek Polacek <mpolacek@redhat.com>
28781
8991e135
MP
28782 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28783 "aux_cache->nlibs < 0".
28784
b902330c
MP
28785 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28786 in the reload-count case.
28787
99710781
LD
287882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28789
28790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28791 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28792 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28793 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28794 * sysdeps/x86_64/multiarch/strcat.S: New file.
28795 * sysdeps/x86_64/multiarch/strncat.S: New file.
28796 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28797 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28798 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28799 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28800 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28801 (USE_AS_STRCAT): Define.
28802 Add strcat and strncat support.
28803 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28804 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28805 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28806 * string/strncat.c: Update.
28807 (USE_AS_STRNCAT): Define.
28808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28809 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28810 and i7.
28811 * sysdeps/x86_64/multiarch/init-arch.h
28812 (bit_Prefer_PMINUB_for_stringop): New.
28813 (index_Prefer_PMINUB_for_stringop): Likewise.
28814 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28815 bit_Prefer_PMINUB_for_stringop.
28816
7dc6bd90
UD
288172011-07-19 Ulrich Drepper <drepper@gmail.com>
28818
28819 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28820 buffer64.
28821 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28822 of casting of buffer.
28823 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28824 buffer32 and buffer64.
28825 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28826 writes instead of casting of buffer.
28827 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28828 buffer32.
28829 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28830 casting of buffer.
28831
e0e72284
AS
288322011-07-19 Andreas Schwab <schwab@redhat.com>
28833
28834 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28835
feb1eb0b
UD
288362011-07-19 Ulrich Drepper <drepper@gmail.com>
28837
28838 * nscd/nscd.c (termination_handler): Don't do anything for a database
28839 if it has not yet been initialized.
28840
298711ff
UD
288412011-07-18 Ulrich Drepper <drepper@gmail.com>
28842
28843 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28844
288452011-07-15 Marek Polacek <mpolacek@redhat.com>
28846
28847 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28848
f9d68389
UD
288492011-07-18 Ulrich Drepper <drepper@gmail.com>
28850
28851 * po/nl.po: Update from translation team.
28852 * po/sv.po: Likewise.
28853
db290cf5
RM
288542011-07-16 Roland McGrath <roland@hack.frob.com>
28855
28856 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28857 now disallowed by GCC.
5c550700 28858
fd5e21c7
RM
28859 * configure.in (use-default-link): Default to yes if a test -shared
28860 link meets our qualifications.
28861 * configure: Regenerated.
28862
5c550700
RM
28863 * config.make.in (output-format): New variable.
28864 * configure.in: Check for ld --print-output-format support.
28865 * configure: Regenerated.
28866 * Makerules ($(common-objpfx)format.lds)
28867 [$(output-format) != unknown]: Just use $(output-format),
28868 instead of the linker-script munging.
28869
9fa2c032
RM
288702011-07-14 Roland McGrath <roland@hack.frob.com>
28871
a6928d51
RM
28872 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28873 of $(common-objpfx)shlib.lds.
28874 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28875
661607b3
RM
28876 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28877 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28878
9fa2c032
RM
28879 * configure.in (-z relro check): Adjust test code to add a large
28880 writable data section after it.
28881 * configure: Regenerated.
28882
defe9061
RM
288832011-07-11 Roland McGrath <roland@hack.frob.com>
28884
28885 * configure.in (-z relro check): Fix test code to make the variable
28886 truly const.
28887 * configure: Regenerated.
28888
319b9ad4
UD
288892011-07-11 Ulrich Drepper <drepper@gmail.com>
28890
28891 * nscd/nscd.h (struct traced_file): Define.
28892 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28893 elements. Add traced_files.
28894 (inotify_fd): Declare.
28895 (register_traced_file): Declare.
28896 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28897 (inotify_fd): Export.
28898 (resolv_conf_descr): Remove.
28899 (nscd_init): Move inotify descriptor creation to main.
28900 Don't register files for notification here.
28901 (register_traced_file): New function.
28902 (invalidate_cache): Don't use reset_res to determine whether to call
28903 res_init, go through the list of registered files.
28904 (main_loop_poll): The inotify descriptors are now stored in the
28905 structures for the traced files.
28906 (main_loop_epoll): Likewise
28907 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28908 to __nss_disable_nscd.
28909 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28910 for a database anymore. Check the records for all the registered
28911 files instead.
28912 * nss/Makefile (libnss_files-routines): Add files-init.
28913 (libnss_db-routines): Add db-init.
28914 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28915 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28916 * nss/nss_db/db-init.c: New file.
28917 * nss/nss_files/files-init.c: New file.
28918 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28919 __nss_lookup_function.
28920 (__nss_lookup_function): Call nss_load_library.
28921 (nss_load_all_libraries): New function.
28922 (__nss_disable_nscd): Take parameter with callback function for files
28923 to register. Set is_nscd. Load all the DSOs for the NSS modules
28924 used for the cached services.
28925 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28926 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28927 options for features to all the files in nscd.
28928
28929 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28930
23bee3e8
RM
289312011-07-10 Roland McGrath <roland@hack.frob.com>
28932
28933 * csu/elf-init.c (__libc_csu_init): Comment typo.
28934
46a5b7f0
UD
289352011-07-09 Ulrich Drepper <drepper@gmail.com>
28936
28937 * po/pl.po: Update from translation team.
28938 * po/ja.po: Likewise.
28939 * po/ru.po: Likewise.
28940 * po/ko.po: Likewise.
28941 * po/fr.po: Likewise.
28942
d30cf5bb
RM
289432011-07-09 Roland McGrath <roland@hack.frob.com>
28944
113ddea4
RM
28945 * configure.in (.ctors/.dtors header and trailer check):
28946 Use an empirical test on a built program.
28947 * configure: Regenerated.
28948
574920b4
RM
28949 * configure.in (-z relro check): Use an empirical test on a built DSO.
28950 Detect, but do not require, on ia64.
28951 * configure: Regenerated.
28952
d30cf5bb
RM
28953 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28954 Update tests that use readelf to use $READELF instead.
28955 * configure: Regenerated.
28956
8538fdb3
UD
289572011-07-08 Ulrich Drepper <drepper@gmail.com>
28958
28959 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28960 if the result is not used.
28961
04d08991
AJ
289622011-07-05 Andreas Jaeger <aj@suse.de>
28963
28964 [BZ#9696]
28965 * stdlib/tst-strtod.c: Add testcase.
28966
de283087
AD
289672011-07-07 Ulrich Drepper <drepper@gmail.com>
28968
4e5f31c8 28969 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28970 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28971 The latter has a higher limit. Take additional parameter to pass to
28972 the new function.
28973 (__pathconf): Pass file to __statfs_link_max.
28974 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28975 __statfs_link_max.
28976 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28977 __statfs_link_max.
28978
de283087
AD
28979 [BZ #12868]
28980 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28981 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28982 Handle Lustre.
28983 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28984 (__statfs_filesize_max): Likewise.
28985 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28986
c75fa153
AJ
289872011-07-05 Andreas Jaeger <aj@suse.de>
28988
28989 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28990
1a544854
UD
289912011-07-06 Marek Polacek <mpolacek@redhat.com>
28992
28993 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28994 `status' variable.
28995 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28996 Likewise.
28997
6f0eec67
UD
289982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28999
29000 * Makefile (strop-tests): Add strncat.
29001 * string/test-strncat.c: New file.
29002
aae30307
UD
290032011-06-30 Marek Polacek <mpolacek@redhat.com>
29004
29005 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29006
c0cfb5eb
UD
290072011-06-21 Andreas Jaeger <aj@suse.de>
29008
29009 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29010 Copy rule from iconvdata/Makefile.
29011
01636b21
UD
290122011-07-06 Ulrich Drepper <drepper@gmail.com>
29013
29014 [BZ #12922]
29015 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29016 but no long options are defined, just return 'W'.
29017
9895c8bc
UD
290182011-06-22 Marek Polacek <mpolacek@redhat.com>
29019
29020 [BZ #9696]
29021 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29022
5d4cf042
UD
290232011-07-06 Ulrich Drepper <drepper@gmail.com>
29024
29025 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29026 netgroups to read.
960e5535 29027 (innetgr): Likewise.
5d4cf042 29028
751eb97e
RM
290292011-07-05 Roland McGrath <roland@hack.frob.com>
29030
29031 * config.make.in (install_root): Default to $(DESTDIR).
29032
f15f1e45
UD
290332011-07-05 Ulrich Drepper <drepper@gmail.com>
29034
29035 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29036
4e34ac6a
RM
290372011-07-02 Roland McGrath <roland@hack.frob.com>
29038
5e9b6af4
RM
29039 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29040
84f9ea0f
RM
29041 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29042 containing directory rather than embedding absolute directory names.
29043
ea5ee9f7
RM
29044 * scripts/check-local-headers.sh: Rewritten using awk.
29045 Match by word, not by line. Print error messages for matches.
29046 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29047
1b74661a
RM
29048 * Makerules [shlib-lds-flags empty]:
29049 ($(common-objpfx)libc_pic.opts): New target.
29050 ($(common-objpfx)libc_pic.os.clean): New target.
29051 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29052
29053 * config.make.in (OBJCOPY): New variable.
29054 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29055 * configure: Regenerated.
29056
f781ef40
RM
29057 * config.make.in (use-default-link): New variable.
29058 * configure.in (use_default_link): Grok --with-default-link to set it.
29059 * configure: Regenerated.
29060 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29061 (shlib-lds, shlib-lds-flags): Define to empty.
29062
2d4fa81e
RM
29063 * Makerules (shlib-lds): New variable.
29064 (shlib-lds-flags): New variable.
29065 (build-shlib, build-moduile, build-module-asneeded): Use it.
29066 ($(common-objpfx)libc.so): Use $(shlib-lds).
29067 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29068 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29069
31fffa6b
RM
29070 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29071 DT_FLAGS/DT_FLAGS_1 with zero flags.
29072
4e34ac6a
RM
29073 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29074 linker script munging.
29075
fcfc776b
UD
290762011-07-02 Ulrich Drepper <drepper@gmail.com>
29077
29078 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29079 as 128-bit value.
29080 * crypt/sha512.c (sha512_process_block): Perform total addition using
29081 128-bit if possible.
29082 (__sha512_finish_ctx): Likewise.
29083 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29084 as 64-bit value.
29085 * crypt/sha256.c (SWAP64): Define.
29086 (sha256_process_block): Perform total addition using 64-bit if
29087 possible.
29088 (__sha256_finish_ctx): Likewise.
29089
99231d9a
UD
290902011-07-01 Ulrich Drepper <drepper@gmail.com>
29091
29092 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29093 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29094 * nscd/hstcache.c (cache_addhst): Likewise.
29095 * nscd/grpcache.c (cache_addgr): Likewise.
29096 * nscd/aicache.c (addhstaiX): Likewise
29097 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29098
445b4a53
TK
290992011-07-01 Thorsten Kukuk <kukuk@suse.de>
29100
29101 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29102 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29103 * nscd/hstcache.c (cache_addhst): Likewise.
29104 * nscd/grpcache.c (cache_addgr): Likewise.
29105 * nscd/aicache.c (addhstaiX): Likewise
29106
6d4d8e8e
AS
291072011-07-01 Andreas Schwab <schwab@redhat.com>
29108
29109 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29110 domain only when needed.
29111
89f654c5
AS
291122011-06-30 Andreas Schwab <schwab@redhat.com>
29113
29114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29115 is always restored.
29116
cf3b23ff
UD
291172011-06-29 Ulrich Drepper <drepper@gmail.com>
29118
29119 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29120 are re-adding the entry.
29121 * nscd/servicescache.c (cache_addserv): Likewise.
29122
751626f9
AJ
291232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29124
29125 * sysdeps/generic/dl-irel.h: fix protection against multiple
29126 inclusions.
29127 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29128
9113ea1f
UD
291292011-06-28 Ulrich Drepper <drepper@gmail.com>
29130
5c0b8d90
UD
29131 [BZ #12935]
29132 * malloc/memusage.sh: Fix quoting in message.
29133 * debug/xtrace.sh: Likewise.
29134
9113ea1f
UD
29135 * configure.in: Remove support for --experimental-malloc option, make
29136 it the default.
29137 * config.make.in: Likewise.
29138 * malloc/Makefile: Likewise.
29139
a4172181
AS
291402011-06-27 Andreas Schwab <schwab@redhat.com>
29141
29142 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29143 two-byte characters.
29144
78a7eee7
RM
291452011-06-27 Roland McGrath <roland@hack.frob.com>
29146
62bede13
RM
29147 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29148 AC_CACHE_CHECK invocation.
29149 * configure: Regenerated.
29150
78a7eee7
RM
29151 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29152
5ce33a62
UD
291532011-06-27 Ulrich Drepper <drepper@gmail.com>
29154
034807a9
UD
29155 [BZ #12350]
29156 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29157 bit from old_res_options.
29158
4902da17
UD
29159 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29160
5ce33a62
UD
29161 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29162 value type for setfct.
29163
c2344f56
L
291642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29165
29166 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29167 __gettimeofday instead of gettimeofday.
29168
68468076
UD
291692011-06-26 Ulrich Drepper <drepper@gmail.com>
29170
29171 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29172
acb0d739
L
291732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29174
29175 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29176
29177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29178 info.
29179
8912479f
L
291802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29181
29182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29183 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29184 strcpy-sse2-unaligned strncpy-sse2-unaligned
29185 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29186 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29187 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29188 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29189 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29190 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29191 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29192 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29193 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29194 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29195 (STRCPY): Support SSE2 and SSSE3 versions.
29196
d5495a11
UD
291972011-06-24 Ulrich Drepper <drepper@gmail.com>
29198
29199 [BZ #12874]
29200 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29201 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29202 kernels which artificially limit size of requests.
29203
0b1cbaae
L
292042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29205
29206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29207 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29208 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29209 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29210 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29211 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29212 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29213 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29214 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29215 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29216 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29217 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29218 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29219 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29220 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29222 Enable unaligned load optimization for Intel Core i3, i5 and i7
29223 processors.
29224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29225 Define.
29226 (index_Fast_Unaligned_Load): Define.
29227 (HAS_FAST_UNALIGNED_LOAD): Define.
29228
07f494a0
MP
292292011-06-23 Marek Polacek <mpolacek@redhat.com>
29230
29231 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29232
fa3fc0fe
UD
292332011-06-22 Ulrich Drepper <drepper@gmail.com>
29234
29235 [BZ #12907]
29236 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29237 until it is clear that the information is realy needed.
29238 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29239
e12df166
AS
292402011-06-22 Andreas Schwab <schwab@redhat.com>
29241
29242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29243
852eb34d
UD
292442011-06-22 Ulrich Drepper <drepper@gmail.com>
29245
84e2a551
UD
29246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29247 /sys/devices/system/cpu/online if it is usable.
29248
852eb34d
UD
29249 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29250 reading the information from the /proc filesystem to once a second.
29251
6e502e19
UD
292522011-06-21 Andreas Jaeger <aj@suse.de>
29253
29254 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29255 NULL after inclusion of kernel headers.
29256
75d39ff2
UD
292572011-06-21 Ulrich Drepper <drepper@gmail.com>
29258
51f9aa6a
UD
29259 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29260 calls to internal_setent.
29261
c0244a9d
UD
29262 [BZ #12885]
29263 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29264 addresses using gethostbyname4_r ignore IPv4 addresses.
29265
c5e3c2ae
UD
29266 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29267 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29268
75d39ff2
UD
29269 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29270
42675c6f
DM
292712011-06-20 David S. Miller <davem@davemloft.net>
29272
29273 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29274 inclusions.
29275 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29276
29277 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29278 (elf_irel): Use it.
29279 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29280 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29281 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29282 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29283 * sysdeps/x86_64/dl-irel.h: Likewise.
29284
29285 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29286 * elf/dl-sym.c: Likewise.
29287
57912a71
UD
292882011-06-15 Ulrich Drepper <drepper@gmail.com>
29289
29290 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29291 need to dereference resplen2.
29292
ee22793d
AS
292932011-06-14 Andreas Schwab <schwab@redhat.com>
29294
29295 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29296
a9e836b0
UD
292972011-06-15 Ulrich Drepper <drepper@gmail.com>
29298
77fb9117
UD
29299 * Makeconfig: Define vardbdir and inst_vardbdir.
29300 * nss/Makefile: Add rules to install db-Makefile.
29301
40c1b22c
UD
29302 * nss/nss_db/db-XXX.c: Cleanup.
29303
9f2da732
UD
29304 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29305 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29306 GLIBC_PRIVATE.
29307 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29308 * nss/makedb.c: Implement -g option to specify that value strings
29309 are generated and should not be added to table iterated over for
29310 get*ent calls.
29311 * nss/nss_db/db-initgroups.c: New file.
29312
82e9a1f7
UD
29313 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29314 interface.
29315
c41af17e
UD
29316 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29317 (internal_getgrouplist): Adjust to name change.
29318 Update use_initgroups_entry if this is not the first call.
29319 * nss/databases.def: Add initgroups entry.
29320
a9e836b0
UD
29321 * nss/makedb.c (compute_tables): Check result of multiple hash table
29322 sizes to minimize maximum chain length.
29323
2666d441
UD
293242011-06-14 Ulrich Drepper <drepper@gmail.com>
29325
29326 * Versions.def: Add entry for libnss_db.
29327 * shlib-versions: Likewise.
29328 * nss/Makefile: Add rules to build libnss_db.
29329 * nss/Versions: Add libnss_db information. Organize libnss_files
29330 entries better.
29331 * nss/db-Makefile: Add gshadow support. Change rules for the new
29332 makedb progra. Some minor improvements to generate smaller files.
29333 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29334 here from...
29335 * nss/makedb.c: ...here.
29336 Improve database format to be smaller and require less memory at
29337 runtime.
29338 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29339 db anymore.
29340 * nss/nss_db/db-netgrp.c: Likewise.
29341 * nss/nss_db/db-open.c: Likewise.
29342 * nss/nss_files/flies-XXX.x: Adjust comments.
29343 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29344 * nss/nss_files/files-grp.c: Likewise.
29345 * nss/nss_files/files-hosts.c: Likewise.
29346 * nss/nss_files/files-network.c: Likewise.
29347 * nss/nss_files/files-proto.c: Likewise.
29348 * nss/nss_files/files-pwd.c: Likewise.
29349 * nss/nss_files/files-rpc.c: Likewise.
29350 * nss/nss_files/files-service.c: Likewise.
29351 * nss/nss_files/files-sgrp.c: Likewise.
29352 * nss/nss_files/files-spwd.c: Likewise.
29353 * nss/nss_db/db-alias.c: Removed.
29354 * nss/nss_db/dummy-db.h: Removed.
29355
9ee76b5a
UD
293562011-06-02 Ulrich Drepper <drepper@gmail.com>
29357
29358 * nss/makedb.c: Rewritten to not use database library.
29359 * nss/Makefile: Update to build new makedb program.
29360
c71ca1f8
AJ
293612011-06-14 Andreas Jaeger <aj@suse.de>
29362
29363 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29364 memset declaration.
29365
3154bfb8
UD
293662011-06-10 Andreas Schwab <schwab@redhat.com>
29367
29368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29369 tmpbuf.
29370
b350afab
RM
293712011-06-10 Roland McGrath <roland@hack.frob.com>
29372
decd4e50
RM
29373 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29374 * elf/Makefile ($(objpfx)ld.so): Likewise.
29375
5615eaf2
RM
29376 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29377 Don't list ld.so twice in dependencies.
29378
29379 * posix/bug-regex31.c: Include <stdlib.h>.
29380
29381 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29382
29383 * nis/nss_compat/compat-spwd.c
29384 (getspent_next_nss_netgr): Remove unused variable.
29385 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29386
29387 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29388 nonmembers" output to use the right array.
29389
29390 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29391
29392 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29393
29394 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29395 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29396 * catgets/gencat.c (read_input_file): Likewise.
29397 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29398
29399 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29400 variable definition inside #if's controlling its use.
29401
29402 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29403
29404 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29405
29406 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29407
29408 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29409 unreachable code.
29410
29411 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29412
b68e08db
RM
29413 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29414 * configure: Regenerated.
29415
b350afab
RM
29416 * Makerules: Revert last change.
29417 * elf/Makefile: Likewise.
29418
28368601
RM
294192011-06-09 Roland McGrath <roland@hack.frob.com>
29420
29421 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29422 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29423 (reloc-link): Likewise.
29424
11988f8f
UD
294252011-06-09 Ulrich Drepper <drepper@gmail.com>
29426
29427 * elf/Makefile: Add rules to build pldd.
29428 * elf/pldd.c: New file.
29429 * elf/pldd-xx.c: New file.
29430
e80fab37
UD
294312011-06-07 Ulrich Drepper <drepper@gmail.com>
29432
29433 * version.h: Update for 2.15 development version.
29434
9b849836
DM
294352011-06-07 David S. Miller <davem@davemloft.net>
29436
29437 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29438 ifuncs.
29439 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29440 elf_machine_lazy_rel): Likewise.
29441 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29443 elf_machine_lazy_rel): Likewise.
29444 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29445 dl_hwcap via passed in argument.
29446 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29447 Likewise.
29448
5a31b283
AK
294492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29450
29451 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29452
069e52f8
RM
294532011-06-06 Roland McGrath <roland@hack.frob.com>
29454
29455 [BZ #12849]
29456 * manual/fdl-1.1.texi: New file, verbatim from:
29457 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29458 * manual/lgpl-2.1.texi: New file, verbatim from:
29459 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29460 * manual/Makefile (licenses): New variable, list those new file names.
29461 (texis): Use it.
29462 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29463
29464 * manual/fdl.texi: File removed.
29465 * manual/lesser.texi: File removed.
29466 * manual/libc.texinfo (Copying, Documentation License):
29467 Use new @include file names, put @appendix directive before @include.
29468
f16846a5
JJ
294692011-06-04 Jakub Jelinek <jakub@redhat.com>
29470
29471 [BZ #12841]
29472 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29473 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29474 (mq_open): Add __NTH.
29475
3d29045b
L
294762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29477
29478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29479 Assume Intel Core i3/i5/i7 processor if AVX is available.
29480
8c297311
UD
294812011-05-31 Ulrich Drepper <drepper@gmail.com>
29482
29483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29484 typo.
29485
c8fc0c91
UD
294862011-05-31 Andreas Schwab <schwab@redhat.com>
29487
29488 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29489 memory. Use alloca_account. Fix memory leak when retrying.
29490
5b27a807
UD
294912011-05-31 Ulrich Drepper <drepper@gmail.com>
29492
356f8bc6
UD
29493 * version.h (RELEASE): Bump for 2.14 release.
29494 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29495
5b27a807
UD
29496 * config.make.in (RANLIB): Remove entry.
29497
01f16ab0
UD
294982011-05-30 Ulrich Drepper <drepper@gmail.com>
29499
41fce8bd
UD
29500 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29501 (libc.pot): Work around missing support for .ksh extension in xgettext.
29502
4769ae77
UD
29503 [BZ #12684]
29504 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29505 if both request failed.
29506 (send_dg): In case of server errors clear resplen or *resplen2.
29507
6b1e7d19
UD
29508 [BZ #12454]
29509 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29510 when there are multiple maps.
29511 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29512 (_dl_fini): Remove test here.
29513
01f16ab0
UD
29514 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29515
b1ebd700
UD
295162011-05-29 Ulrich Drepper <drepper@gmail.com>
29517
7ae22829
UD
29518 [BZ #12350]
29519 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29520 bit from old_res_options.
29521 (gaih_inet): Likewise.
29522
553149f6 29523 [BZ #11099]
18a84741 29524 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29525 as signed.
29526
652ffab1
UD
29527 * resolv/res_init.c (res_setoptions): Make the code more compact.
29528
16985fd0
UD
29529 [BZ #11558]
29530 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29531 set RES_USEVC.
29532
0464f746
UD
29533 [BZ #11634]
29534 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29535
7d17596c
UD
29536 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29537
cf6bbbd7
UD
29538 [BZ #11781]
29539 * malloc/malloc.h: Declare malloc hook variables as volatile.
29540
13f1ab36
UD
29541 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29542 in last patch.
29543
b1ebd700
UD
29544 [BZ #11799]
29545 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29546 raise in the comment.
80e2212d
UD
29547 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29548 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29549 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29550
ce67228d
UD
295512011-05-28 Ulrich Drepper <drepper@gmail.com>
29552
8887a920
UD
29553 [BZ #12811]
29554 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29555 grow the buffers more if it already has to be sufficient.
29556 (build_wcs_upper_buffer): Likewise.
29557 * posix/regexec.c (check_matching): Likewise.
29558 (clean_state_log_if_needed): Likewise.
29559 (extend_buffers): Don't enlarge buffers beyond size of the input
29560 buffer.
29561 Patches mostly by Emil Wojak <emil@wojak.eu>.
29562 * posix/bug-regex32.c: New file.
29563 * posix/Makefile (tests): Add bug-regex32.
29564
4f031072
UD
29565 * locale/findlocale.c (_nl_find_locale): Return right away if
29566 _nl_explode_name failed.
29567 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29568
d0478f0c
UD
29569 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29570
de81b246
UD
29571 * debug/xtrace.sh: Unify messages.
29572 * malloc/memusage.sh: Likewise.
29573
c738465a
UD
29574 [BZ #12813]
29575 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29576 time symbol from vDSO. Substitute with vsyscall if not available.
29577 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29578 __vdso_time.
29579
f1f929d7
UD
29580 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29581 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29582 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29583 Add sendmmsg and internal_sendmmsg.
29584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29585 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29586 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29587
ce67228d
UD
29588 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29589 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29590 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29591
e57420c6
UD
295922011-05-27 Ulrich Drepper <drepper@gmail.com>
29593
a8509ca5
UD
29594 [BZ #12813]
29595 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29596 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29597 available.
29598 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29599 __vdso_getcpu.
29600
e57420c6
UD
29601 [BZ #12814]
29602 * iconvdata/Makefile (tests): Add bug-iconv9.
29603 * iconvdata/bug-iconv9.c: New file.
29604
4d07db15
AS
296052011-05-27 Andreas Schwab <schwab@redhat.com>
29606
29607 [BZ #12814]
29608 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29609
ea486f69
JJ
296102011-05-25 Jakub Jelinek <jakub@redhat.com>
29611
29612 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29613 (struct user_regs_struct): Change intcs field back to cs.
29614
6f038433
UD
296152011-05-25 Ulrich Drepper <drepper@gmail.com>
29616
29617 * po/ja.po: Update from translation team.
29618
67f86a25
UD
296192011-05-23 Ulrich Drepper <drepper@gmail.com>
29620
29621 [BZ #12795]
29622 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29623 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29624
def7fbd6
AS
296252011-05-20 Andreas Schwab <schwab@redhat.com>
29626
29627 * stdlib/longlong.h: Update from GCC.
29628
f50ef8f1
AS
296292011-05-23 Andreas Schwab <schwab@redhat.com>
29630
29631 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29632 parameter name.
29633 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29634 Add parameter name.
29635 (__sysconf): Pass it down.
29636
de7ce8f1
UD
296372011-05-22 Ulrich Drepper <drepper@gmail.com>
29638
f2962a71
UD
29639 [BZ #12671]
29640 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29641 some situations.
29642 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29643 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29644 add in in __libc_use_alloca calls. Adjust callers.
29645 (glob): Use malloc in some situations.
29646
de7ce8f1
UD
29647 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29648 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29649 pltexit.
29650
aec84f53
UD
296512011-05-21 Ulrich Drepper <drepper@gmail.com>
29652
05bb4a68
UD
29653 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29654 and CLOCK_BOOTTIME_ALARM.
29655
7ea72f99
UD
29656 [BZ #12782]
29657 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29658 is returned.
29659
7e4afad5
UD
29660 * string/_strerror.c (__strerror_r): Print negative errors as signed
29661 numbers.
29662
8e211fec
UD
29663 [BZ #12777]
29664 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29665 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29666 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29667
f7d82dc9
UD
29668 * configure.in: Fix typo in redirection and correct removal of test
29669 files in two cases.
29670
cc9e536d
UD
29671 [BZ #12788]
29672 * locale/setlocale.c (new_composite_name): Fix test to check for
29673 identical name of all categories.
29674
aec84f53
UD
29675 [BZ #12792]
29676 * libio/filedoalloc.c (local_isatty): New function.
29677 (_IO_file_doallocate): Use local_isatty.
29678 * stdio-common/perror.c (perror): In case a new stream is used
29679 forward the stream error.
29680 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29681 error flag.
29682
78e64fdc
RT
296832011-05-20 Ulrich Drepper <drepper@gmail.com>
29684
34a9094f
UD
29685 [BZ #11869]
29686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29687 alloca.
29688 * include/alloca.h (extend_alloca_account): Define.
29689
78e64fdc
RT
29690 [BZ #11857]
29691 * posix/regex.h: Fix comments with documentation of user-accessible
29692 fields after compilation and describe correct free'ing of pattern
29693 after re_compile_pattern.
29694 Patch by Reuben Thomas <rrt@sc3d.org>.
29695
457bddfc
RA
296962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29697
29698 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29699 and -mno-altivec to prevent the compiler from using Altivec and/or
29700 VSX instructions when the corresponding registers are not available.
29701
a4527b51
AS
297022011-05-19 Andreas Schwab <schwab@redhat.com>
29703
29704 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29705
ed690b2f
UD
297062011-05-19 Ulrich Drepper <drepper@gmail.com>
29707
29708 * libio/freopen.c (freopen): Use __dup2, not dup2.
29709 * libio/freopen64.c (freopen64): Likewise.
29710
8db73634
L
297112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29712
29713 [BZ #12775]
29714 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29715 * math/Makefile (tests): Add test-powl.
29716 (CFLAGS-test-powl.c): Define.
29717 * math/test-powl.c: New file.
29718
0a197a9d
L
297192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29720
29721 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29722
ee30c380
UD
297232011-05-17 Ulrich Drepper <drepper@gmail.com>
29724
29725 [BZ #11837]
29726 * iconvdata/gb18030.c: Update to GB18020-2005.
29727
6ce75379
UD
297282011-05-16 Ulrich Drepper <drepper@gmail.com>
29729
a4b89fd8
AR
29730 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29731 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29732 Patch by Aharon Robbins <arnold@skeeve.com>.
29733
ea389b12
UD
29734 [BZ #11892]
29735 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29736 on the stack.
29737
68a3f91f
UD
29738 [BZ #11895]
29739 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29740 through underflows.
29741
15cc7dd1
UD
29742 [BZ #12766]
29743 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29744 point to strings before performing equality test for error_one_per_line
29745 mode.
29746
f3799213
UD
29747 [BZ #11697]
29748 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29749
d79a9c94
UD
29750 [BZ #11820]
29751 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29752 (struct user_fpregs_struct): Avoid __uint*_t types.
29753
56e5eb46
UD
29754 [BZ #6420]
29755 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29756 symbol info. Use it instead of calling _dl_addr locally.
29757 (lock_and_info): New function.
29758 (tr_freehook): Call lock_and_info and pass symbol info as additional
29759 parameter to tr_where.
29760 (tr_mallochook): Likewise.
29761 (tr_reallochook): Likewise.
29762 (tr_memalignhook): Likewise.
29763
6ce75379
UD
29764 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29765 used and couldn't be at all thread-safe.
29766
f8a3b5bf
UD
297672011-05-15 Ulrich Drepper <drepper@gmail.com>
29768
94b7cc37
UD
29769 * libio/freopen.c (freopen): Don't close old file descriptor
29770 before the new one is opened. Instead dup the new file descriptor
29771 to the old one after the new stream is created.
29772 * libio/freopen64.c (freopen64): Likewise.
29773 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29774 * libio/fileops.c (_IO_new_file_close_it): Handle new
29775 _IO_FLAGS2_NOCLOSE flag.
29776 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29777 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29778 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29779 _IO_FLAGS2_NOCLOSE flag.
29780 * include/unistd.h: Add hidden_proto for dup3.
29781 Define __have_dup3.
29782 * io/dup3.c: Define hidden symbol.
29783 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29784
bd25564e
UD
29785 [BZ #7101]
29786 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29787 when an incomplete long option is used.
29788 * posix/tst-getopt_long1.c: New file.
29789 * posix/Makefile (tests): Add tst-getopt_long1.
29790
c84cfef4
UD
29791 [BZ #10138]
29792 * scripts/config.guess: Update from autoconf-2.68.
29793 * scripts/config.sub: Likewise.
29794
3b85df27
UD
29795 [BZ #10157]
29796 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29797 tests into ...
29798 (has_cpuclock): ...this. New function.
29799 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29800 macro here based on has_cpuclock code.
29801
15a856b1
UD
29802 [BZ #10149]
29803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29804 First byte (not low byte) is now always NUL.
29805 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29806
05f399e6
UD
29807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29808 Use non-cancelable interfaces.
29809
10a52685 29810 [BZ #9809]
94ecc67d
UD
29811 * locale/iso-639.def: Add entry for Sorani.
29812
f8a3b5bf
UD
29813 [BZ #11901]
29814 * include/stdlib.h: Move include protection to the right place.
29815 Define abort_msg_s. Declare __abort_msg with it.
29816 * stdlib/abort.c (__abort_msg): Adjust type.
29817 * assert/assert.c (__assert_fail_base): New function. Majority
29818 of code from __assert_fail. Allocate memory for __abort_msg with
29819 mmap.
29820 (__assert_fail): Now call __assert_fail_base.
29821 * assert/assert-perr.c: Remove bulk of implementation. Use
29822 __assert_fail_base.
29823 * include/assert.hL Declare __assert_fail_base.
29824 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29825 mmap.
29826 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29827
1af4e298
UD
298282011-05-14 Ulrich Drepper <drepper@gmail.com>
29829
f8a3b5bf 29830 [BZ #11952]
d26dfc60
MG
29831 [BZ #12453]
29832 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29833 until all modules are registered in the DTV.
29834 * elf/Makefile: Add rules to build and run tst-tls19.
29835 * elf/tst-tls19.c: New file.
29836 * elf/tst-tls19mod1.c: New file.
29837 * elf/tst-tls19mod2.c: New file.
29838 * elf/tst-tls19mod3.c: New file.
29839 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29840
2fc54d6f
UD
29841 [BZ #12083]
29842 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29843 correctly.
29844
98d76b46
UD
29845 [BZ #12601]
29846 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29847 two-byte sequence errors.
29848 * iconvdata/Makefile (tests): Add bug-iconv8.
29849 * iconvdata/bug-iconv8.c: New file.
29850
da3c19ef
UD
29851 [BZ #12626]
29852 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29853 buf2 definition.
29854
ca408c15
UD
29855 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29856
d6f67f7d
UD
29857 [BZ #12432]
29858 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29859 (dummy_getcfa): New function.
29860 (init): Get _Unwind_GetCFA address, use dummy if not found.
29861 (backtrace_helper): In recursion check, also check whether CFA changes.
29862 (__backtrace): Completely initialize arg.
29863
1af4e298 29864 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29865 storing incomplete byte sequence in state object. Avoid testing for
29866 guaranteed too small input if we know there is enough data available.
1af4e298 29867
da62f81b
AS
298682011-05-11 Andreas Schwab <schwab@redhat.com>
29869
29870 * Makeconfig (+link-pie): Indent.
29871 * Rules (binaries-pie): Define if $(have-fpie) and
29872 $(build-shared).
29873 (binaries-shared): Also filter out $(binaries-pie).
29874 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29875 * nscd/Makefile (others-pie): Add nscd.
29876 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29877 ($(objpfx)nscd): Remove command override.
29878 * login/Makefile (others-pie): Add pt_chown.
29879 ($(objpfx)pt_chown): Remove command override.
29880 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29881 remove command overrides.
29882
fcabc0f8
UD
298832011-05-13 Ulrich Drepper <drepper@gmail.com>
29884
20030ae6
UD
29885 * libio/tst_putwc.c: Fix error messages.
29886
fcabc0f8
UD
29887 [BZ #12724]
29888 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29889 currently writing and seek to current position when not.
29890 * libio/Makefile (tests): Add bug-fclose1.
29891 * libio/bug-fclose1.c: New file.
29892
320a5dc0
PB
298932011-05-12 Ulrich Drepper <drepper@gmail.com>
29894
29895 [BZ #12511]
29896 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29897 don't set DF_1_NODELETE here.
29898 (do_lookup_x): When entering new entry test for copy relocation
29899 and if necessary set DF_1_NODELETE flag.
29900 * elf/tst-unique4.cc: New file.
29901 * elf/tst-unique4.h: New file.
29902 * elf/tst-unique4lib.cc: New file.
29903 * elf/Makefile: Add rules to build and run tst-unique4.
29904 Patch by Piotr Bury <pbury@goahead.com>.
29905
22836f52
UD
299062011-05-11 Ulrich Drepper <drepper@gmail.com>
29907
f574184a
UD
29908 [BZ #12052]
29909 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29910
e1fb097f
UD
29911 [BZ #12625]
29912 * misc/mntent_r.c (addmntent): Flush the stream after the output
29913
22836f52
UD
29914 [BZ #12393]
29915 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29916 (is_trusted_path_normalize): Skip initial colon. Append slash
29917 to empty buffer. Duplicate is_trusted_path code but allow
29918 constructed patch to be prefix.
29919 (is_dst): Allow $ORIGIN followed by /.
29920 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29921 Correct testing of result of is_trusted_path_normalize
29922 (decompose_rpath): Fix warning.
29923
7b3b0b2a
UD
299242011-05-10 Ulrich Drepper <drepper@gmail.com>
29925
29926 [BZ #11257]
29927 * grp/initgroups.c (internal_getgrouplist): When we found the service
29928 list through the initgroups entry in nsswitch.conf do not always
29929 continue on a successful lookup. Don't always use the
eac80ce2 29930 __nss_group_database value if it is set.
7b3b0b2a
UD
29931 * nss/nsswitch.conf (initgroups): Change action for successful db
29932 lookup to continue for compatibility.
29933
2a81eaa5
UD
299342011-05-09 Ulrich Drepper <drepper@gmail.com>
29935
be97a69e
UD
29936 [BZ #11532]
29937 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29938 and CP774 modules.
29939 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29940 and CP774 modules.
29941 * iconvdata/tst-tables.sh: Likewise.
29942 * iconvdata/cp770.c: New file.
29943 * iconvdata/cp771.c: New file.
29944 * iconvdata/cp772.c: New file.
29945 * iconvdata/cp773.c: New file.
29946 * iconvdata/cp774.c: New file.
29947 * iconvdata/testdata/CP770: New file.
29948 * iconvdata/testdata/CP770..UTF8: New file.
29949 * iconvdata/testdata/CP771: New file.
29950 * iconvdata/testdata/CP771..UTF8: New file.
29951 * iconvdata/testdata/CP772: New file.
29952 * iconvdata/testdata/CP772..UTF8: New file.
29953 * iconvdata/testdata/CP773: New file.
29954 * iconvdata/testdata/CP773..UTF8: New file.
29955 * iconvdata/testdata/CP774: New file.
29956 * iconvdata/testdata/CP774..UTF8: New file.
29957
29958 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29959 END CHARMAP line.
29960 * iconvdata/gen-8bit-gap.sh: Likewise.
29961 * iconvdata/gen-8bit.sh: Likewise.
29962
c1e9e399
UD
29963 * locale/iso-639.def: Add ary entry.
29964
24c55fb3 29965 [BZ #11258]
96b4b1b0
UD
29966 * locale/C-translit.h.in: Add U20A1 transliteration.
29967
bdc2f971
KB
29968 [BZ #12178]
29969 * locale/iso-639.def: Add wae entry.
29970 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29971
2952b117
UD
29972 [BZ #12545]
29973 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29974 for n.
29975
2a81eaa5
UD
29976 [BZ #12711]
29977 * locale/C-translit.h.in: Add entry for U20B9.
29978 Patch by pravin.d.s@gmail.com.
29979
28377d1b
UD
299802011-05-08 Ulrich Drepper <drepper@gmail.com>
29981
7fb90fb8
UD
29982 [BZ #12713]
29983 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29984 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29985 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29986 in rtld. Use *stat64.
7fb90fb8 29987 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29988 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29989 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29990 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29991 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29992 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29993 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29994 __fstatat64 macros.
7fb90fb8
UD
29995 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29996 * dirent/rewinddir.c: Add libc_hidden_def.
29997 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29998 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29999
28377d1b
UD
30000 * include/dirent.h (__alloc_dir): Add flags parameter.
30001 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30002 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30003 __alloc_dir.
30004 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30005 from fdopendir if O_CLOEXEC is already set.
30006
66bdbaa4
AM
300072011-03-15 Alan Modra <amodra@gmail.com>
30008
30009 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30010 l_tls_firstbyte_offset non-zero. Save padding offset in
30011 l_tls_firstbyte_offset for later use.
30012 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30013 freeing static tls block.
30014
95721191
JN
300152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30016
30017 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30018 where #ifdef was intended. The intent is to prevent ARG_MAX from
30019 being defined by the kernel headers.
30020
f87dfb1f
UD
300212011-05-07 Ulrich Drepper <drepper@gmail.com>
30022
30023 [BZ #12734]
30024 * resolv/resolv.h: Define RES_NOTLDQUERY.
30025 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30026 no-tld-query and set RES_NOTLDQUERY.
30027 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30028 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30029 modern BIND to search name as TLD unless forbidden.
30030
47c3cd7a
UD
300312011-05-07 Petr Baudis <pasky@suse.cz>
30032 Ulrich Drepper <drepper@gmail.com>
30033
30034 [BZ #12393]
30035 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30036 (is_trusted_path): ...to here.
c1e9ea35 30037 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30038 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30039 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30040
8a35c912
PP
300412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30042
30043 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30044 __BEGIN/__END_DECLS.
30045
acd41f47
UD
300462011-05-06 Ulrich Drepper <drepper@gmail.com>
30047
30048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30049 NSS_STATUS_NOTFOUND if no record was found.
30050
597df647
AS
300512011-05-05 Andreas Schwab <schwab@redhat.com>
30052
30053 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30054 (headers-not-in-tirpc): Remove rpc/netdb.h
30055 * resolv/netdb.h: Revert last change.
30056
b9af1301
PP
300572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30058
30059 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30060 circular dependency between libgcc.a and libc.a.
30061
4e34d5f5
AS
300622011-05-05 Andreas Schwab <schwab@redhat.com>
30063
30064 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30065 * nis/Makefile: Don't install rpcsvc/*.
30066 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30067 instead of <rpc/types.h>.
30068 (MAXHOSTNAMELEN): Define.
30069
00ee369c
AS
300702011-05-03 Andreas Schwab <schwab@redhat.com>
30071
30072 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30073
0b592a30
MB
300742011-04-28 Maciej Babinski <mbabinski@google.com>
30075
30076 [BZ #12714]
30077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30078 gethostbyname4_r when IPv6 results are possible.
30079
6e04cbbe
UD
300802011-05-02 Ulrich Drepper <drepper@gmail.com>
30081
30082 [BZ #12723]
30083 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30084 _PC_PIPE_BUF handling.
30085
e4ecafe0
BH
300862011-04-30 Bruno Haible <bruno@clisp.org>
30087
30088 [BZ #12717]
30089 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30090 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30091 to 'int'.
30092 * inet/getnameinfo.c (getnameinfo): Likewise.
30093
125ee683
UD
300942011-04-29 Ulrich Drepper <drepper@gmail.com>
30095
30096 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30097 to groups setting in database lookup.
30098 * nss/nsswitch.conf: Add initgroups entry.
30099
b722481a
EB
301002011-04-22 Ulrich Drepper <drepper@gmail.com>
30101
30102 [BZ #12685]
30103 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30104 mode string.
30105 Patch by Eric Blake <eblake@redhat.com>.
30106
4df46dbd
L
301072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30108
30109 * sunrpc/Makefile (need-export-routines): Add svc_run.
30110 (routines): Remove svc_run.
30111 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30112 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30113 * sunrpc/svc_run.c (svc_run): Likewise.
30114 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30115
e84142d2
UD
301162011-04-21 Ulrich Drepper <drepper@gmail.com>
30117
30118 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30119 problem in reallocation in last patch.
30120
877175d8
UD
301212011-04-20 Ulrich Drepper <drepper@gmail.com>
30122
30123 * sunrpc/Makefile: Move inclusion of Rules.
30124
ab8eed78
UD
301252011-04-19 Ulrich Drepper <drepper@gmail.com>
30126
30127 * nss/nss_files/files-initgroups.c: New file.
30128 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30129 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30130 _nss_files_initgroups_dyn.
30131
e3d8f584
RS
301322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30133
30134 * elf/elf.h (R_ARM_IRELATIVE): Define.
30135
af190f45
UD
301362011-04-19 Ulrich Drepper <drepper@gmail.com>
30137
30138 * po/ru.po: Update from translation team.
30139
53cf59ef
UD
301402011-04-17 Ulrich Drepper <drepper@gmail.com>
30141
30142 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30143 dependencies.
30144
4c559bcd
MF
301452011-02-06 Mike Frysinger <vapier@gentoo.org>
30146
30147 [BZ #12653]
30148 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30149 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30151 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30152 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30153
4420675c
AS
301542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30155
30156 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30157 differing bytes.
30158 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30161
75ea32ab
UD
301622011-04-17 Ulrich Drepper <drepper@gmail.com>
30163
30164 [BZ #12420]
30165 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30166 storing it.
30167 * stdlib/bug-getcontext.c: New file.
30168 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30169
27390476
AK
301702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30171
30172 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30173 instructions into .machine "z9-109".
30174 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30175 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30176
10442705
AK
301772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30178
30179 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30180 between environment variables and auxiliary vector.
30181
7b57bfe5
UD
301822011-04-16 Ulrich Drepper <drepper@gmail.com>
30183
30184 * Makefile: Add rules to build linkobj/libc.so.
30185 * include/libc-symbols.h: Define libc_hidden_nolink.
30186 * include/rpc/auth.h: Mark functions which are to be hidden.
30187 * include/rpc/auth_des.h: Likewise.
30188 * include/rpc/auth_unix.h: Likewise.
30189 * include/rpc/clnt.h: Likewise.
30190 * include/rpc/des_crypt.h: Likewise.
30191 * include/rpc/key_prot.h: Likewise.
30192 * include/rpc/pmap_clnt.h: Likewise.
30193 * include/rpc/pmap_prot.h: Likewise.
30194 * include/rpc/pmap_rmt.h: Likewise.
30195 * include/rpc/rpc_msg.h: Likewise.
30196 * include/rpc/svc.h: Likewise.
30197 * include/rpc/svc_auth.h: Likewise.
30198 * include/rpc/xdr.h: Likewise.
30199 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30200 * nss/Makefile: Likewise.
30201 * sunrpc/Makefile: Don't install headers. Build library with normal
30202 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30203 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30204 for the compat linking library. Remove use of INTDEF/INTUSE.
30205 * sunrpc/auth_none.c: Likewise.
30206 * sunrpc/auth_unix.c: Likewise.
30207 * sunrpc/authdes_prot.c: Likewise.
30208 * sunrpc/authuxprot.c: Likewise.
30209 * sunrpc/clnt_gen.c: Likewise.
30210 * sunrpc/clnt_perr.c: Likewise.
30211 * sunrpc/clnt_raw.c: Likewise.
30212 * sunrpc/clnt_simp.c: Likewise.
30213 * sunrpc/clnt_tcp.c: Likewise.
30214 * sunrpc/clnt_udp.c: Likewise.
30215 * sunrpc/clnt_unix.c: Likewise.
30216 * sunrpc/des_crypt.c: Likewise.
30217 * sunrpc/des_soft.c: Likewise.
30218 * sunrpc/get_myaddr.c: Likewise.
30219 * sunrpc/key_call.c: Likewise.
30220 * sunrpc/key_prot.c: Likewise.
30221 * sunrpc/netname.c: Likewise.
30222 * sunrpc/pm_getmaps.c: Likewise.
30223 * sunrpc/pm_getport.c: Likewise.
30224 * sunrpc/pmap_clnt.c: Likewise.
30225 * sunrpc/pmap_prot.c: Likewise.
30226 * sunrpc/pmap_prot2.c: Likewise.
30227 * sunrpc/pmap_rmt.c: Likewise.
30228 * sunrpc/publickey.c: Likewise.
30229 * sunrpc/rpc_cmsg.c: Likewise.
30230 * sunrpc/rpc_common.c: Likewise.
30231 * sunrpc/rpc_dtable.c: Likewise.
30232 * sunrpc/rpc_prot.c: Likewise.
30233 * sunrpc/rpc_thread.c: Likewise.
30234 * sunrpc/rtime.c: Likewise.
30235 * sunrpc/svc.c: Likewise.
30236 * sunrpc/svc_auth.c: Likewise.
30237 * sunrpc/svc_authux.c: Likewise.
30238 * sunrpc/svc_raw.c: Likewise.
30239 * sunrpc/svc_run.c: Likewise.
30240 * sunrpc/svc_simple.c: Likewise.
30241 * sunrpc/svc_tcp.c: Likewise.
30242 * sunrpc/svc_udp.c: Likewise.
30243 * sunrpc/svc_unix.c: Likewise.
30244 * sunrpc/svcauth_des.c: Likewise.
30245 * sunrpc/xcrypt.c: Likewise.
30246 * sunrpc/xdr.c: Likewise.
30247 * sunrpc/xdr_array.c: Likewise.
30248 * sunrpc/xdr_float.c: Likewise.
30249 * sunrpc/xdr_intXX_t.c: Likewise.
30250 * sunrpc/xdr_mem.c: Likewise.
30251 * sunrpc/xdr_rec.c: Likewise.
30252 * sunrpc/xdr_ref.c: Likewise.
30253 * sunrpc/xdr_sizeof.c: Likewise.
30254 * sunrpc/xdr_stdio.c: Likewise.
30255
e6c61494
UD
302562011-04-10 Ulrich Drepper <drepper@gmail.com>
30257
30258 [BZ #12650]
30259 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30260 * sysdeps/ia64/dl-tls.h: Likewise.
30261 * sysdeps/powerpc/dl-tls.h: Likewise.
30262 * sysdeps/s390/dl-tls.h: Likewise.
30263 * sysdeps/sh/dl-tls.h: Likewise.
30264 * sysdeps/sparc/dl-tls.h: Likewise.
30265 * sysdeps/x86_64/dl-tls.h: Likewise.
30266 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30267
34fe483e
AS
302682011-03-14 Andreas Schwab <schwab@redhat.com>
30269
30270 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30271 rpath element also skip the following colon.
30272 (expand_dynamic_string_token): Add is_path parameter and pass
30273 down to DL_DST_REQUIRED and _dl_dst_substitute.
30274 (decompose_rpath): Call expand_dynamic_string_token with
30275 non-zero is_path. Ignore empty rpaths.
30276 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30277 with zero is_path.
30278
f12a32e6
AS
302792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30280
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30282 Make cancelable.
30283
38a7d692
UD
302842011-04-09 Ulrich Drepper <drepper@gmail.com>
30285
30286 [BZ #12655]
30287 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30288 Patch by Filipe David Manana <fdmanana@apache.org>.
30289
e451d22b
AS
302902011-04-07 Andreas Schwab <schwab@redhat.com>
30291
30292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30293 Maintain aligned stack.
30294 (CHECK_RSP): Remove unused macro.
30295
dedc7c7b
UD
302962011-04-03 Ulrich Drepper <drepper@gmail.com>
30297
30298 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30299 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30300
94521213
UD
303012011-04-02 Ulrich Drepper <drepper@gmail.com>
30302
30303 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30304
8cb700c0 30305 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30306
0354e355
L
303072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30308
30309 [BZ #12518]
30310 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30311 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30312 * sysdeps/x86_64/memmove.c: New file.
30313 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30314 (memcpy): Renamed to ...
30315 (__new_memcpy): This.
30316 (memcpy): Provide GLIBC_2_14 memcpy.
30317 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30318 (memcpy): Provide GLIBC_2_2_5 memcpy.
30319
8593482f
UD
303202011-04-01 Ulrich Drepper <drepper@gmail.com>
30321
30322 [BZ #12631]
30323 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30324
81a5726b
AS
303252011-03-30 Andreas Schwab <schwab@redhat.com>
30326
30327 * misc/syncfs.c: New file.
30328 * misc/Makefile (routines): Add syncfs.
30329 * posix/unistd.h: Declare syncfs.
30330 * sysdeps/unix/syscalls.list: Add syncfs.
30331
00e5419f
AS
303322011-04-01 Andreas Schwab <schwab@redhat.com>
30333
30334 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30335 open_by_handle_at.
30336 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30337 * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
30342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30343
748876bf
UD
303442011-04-01 Ulrich Drepper <drepper@gmail.com>
30345
658e451d
UD
30346 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30347 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30348 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30353
748876bf
UD
30354 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30355 sync_file_range.c with -fexceptions.
30356 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30357 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30358 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30359 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30360 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30361 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30363 sync_file_range as cancellation point
30364 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30365 now a wrapper around __call_sync_file_range with cancellation handling.
30366 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30367 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30368 function name to __call_sync_file_range.
30369 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30370 Add call_sync_file_range.
748876bf 30371
6e63d5e1
AS
303722011-04-01 Andreas Schwab <schwab@redhat.com>
30373
30374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30375 bits/timex.h.
6e63d5e1 30376
46998f74
UD
303772011-04-01 Ulrich Drepper <drepper@gmail.com>
30378
4c1423ed
UD
30379 * iconv/iconv.h: Fix typo in comment.
30380 * io/fcntl.h: Likewise.
30381 * libio/stdio.h: Likewise.
30382 * posix/spawn.h: Likewise.
30383 * posix/unistd.h: Likewise.
30384 * stdlib/stdlib.h: Likewise.
30385 * time/time.h: Likewise.
30386 * wcsmbs/wchar.h: Likewise.
30387
158648c0
UD
30388 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30389 open_by_handle): Add.
30390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30391 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30392 Augment a few comments.
30393 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30397 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30398 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30399 open_by_handle.
30400
46998f74
UD
30401 * io/fcntl.h (AT_EMPTY_PATH): Define.
30402
83fe108b
UD
304032011-03-30 Ulrich Drepper <drepper@gmail.com>
30404
30405 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30406 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30407 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30408 to...
30409 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30410 * Versions.def: Add GLIBC_2.14.
30411 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30412 Export.
83fe108b 30413
bb242059
UD
304142011-03-22 Ulrich Drepper <drepper@gmail.com>
30415
30416 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30417 round counter.
30418 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30419
c97a1282
L
304202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30421
30422 [BZ #12597]
30423 * string/test-strncmp.c (do_page_test): New function.
30424 (check2): Likewise.
30425 (test_main): Call check2.
30426 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30427
2a115601
UD
304282011-03-20 Ulrich Drepper <drepper@gmail.com>
30429
30430 [BZ #12587]
30431 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30432 Handle cache information in CPU leaf 4.
30433 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30434
8126d904
UD
304352011-03-18 Ulrich Drepper <drepper@gmail.com>
30436
042c49c6 30437 [BZ #12583]
8126d904
UD
30438 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30439 character representation.
30440 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30441
ccfe366e
RA
304422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30443
30444 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30445 END(__isnan) to END(__isnanf) to match function entry point/label
30446 EALIGN(__isnanf,...).
30447
c6e13027
JJ
304482011-03-10 Jakub Jelinek <jakub@redhat.com>
30449
30450 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30451
33f85a3f
UD
304522011-03-10 Ulrich Drepper <drepper@gmail.com>
30453
028478fa
UD
30454 [BZ #12510]
30455 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30456 copy from the symbol referenced in the relocation to initialize the
30457 used variable.
30458 Patch by Piotr Bury <pbury@goahead.com>.
30459 * elf/Makefile: Add rules to build and tst-unique3.
30460 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30461 * elf/tst-unique3.cc: New file.
30462 * elf/tst-unique3.h: New file.
30463 * elf/tst-unique3lib.cc: New file.
30464 * elf/tst-unique3lib2.cc: New file.
30465
33f85a3f
UD
30466 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30467
03592fc7
MF
304682011-03-10 Mike Frysinger <vapier@gentoo.org>
30469
30470 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30471 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30472 to _start.
03592fc7 30473
6a5ee102
UD
304742011-03-06 Ulrich Drepper <drepper@gmail.com>
30475
30476 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30477 to-be-loaded object along a path to loader is ld.so.
30478
7e4ba49c
HJ
304792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30480 Ulrich Drepper <drepper@gmail.com>
30481
30482 * sysdeps/x86_64/memset.S: After aligning destination, code
30483 branches to different locations depending on the value of
30484 misalignment, when multiarch is enabled. Fix this.
30485
304862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30487
30488 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30489 Set _x86_64_preferred_memory_instruction for AMD processsors.
30490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30491 Set bit_Prefer_SSE_for_memop for AMD processors.
30492
13a804de
UD
304932011-03-04 Ulrich Drepper <drepper@gmail.com>
30494
30495 * libio/fmemopen.c (fmemopen): Optimize a bit.
30496
9d25c392
AS
304972011-03-03 Andreas Schwab <schwab@redhat.com>
30498
30499 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30500
a5543c6a
RM
305012011-03-03 Roland McGrath <roland@redhat.com>
30502
30503 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30504
012d35f7
DM
305052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30506
7e4ba49c 30507 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30508 __bzero_ultra1 instead of __memset_ultra1.
30509
4bff6e01
AS
305102011-02-23 Andreas Schwab <schwab@redhat.com>
30511 Ulrich Drepper <drepper@gmail.com>
30512
30513 [BZ #12509]
30514 * include/link.h (struct link_map): Add l_orig_initfini.
30515 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30516 returning unsuccessfully.
30517 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30518 close of a file loaded at startup, restore the original l_initfini
30519 list.
30520 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30521 list, store the pointer.
30522 * elf/Makefile ($(objpfx)noload-mem): New rule.
30523 (noload-ENV): Define.
30524 (tests): Add $(objpfx)noload-mem.
30525 * elf/noload.c: Include <memcheck.h>.
30526 (main): Call mtrace. Close all opened handles.
30527
f2092faf
AS
305282011-02-17 Andreas Schwab <schwab@redhat.com>
30529
30530 [BZ #12454]
30531 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30532 dependencies are missing.
30533
6c8a2e88
ST
305342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30535
f2092faf 30536 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30537 Hurd needs munmap.
30538 * sysdeps/mach/hurd/ifreq.h: New file.
30539
84a42118
PB
305402011-01-27 Petr Baudis <pasky@suse.cz>
30541 Ulrich Drepper <drepper@gmail.com>
30542
071f805e 30543 [BZ 12445]#
84a42118
PB
30544 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30545 to extend_alloca().
30546 * stdio-common/bug23.c: New file.
30547 * stdio-common/Makefile (tests): Add bug23.
30548
e23fe25b
AS
305492010-09-28 Andreas Schwab <schwab@redhat.com>
30550 Ulrich Drepper <drepper@gmail.com>
30551
30552 [BZ #12489]
30553 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30554 before performing relro protection. At old place add assertion
30555 to make sure nothing changed.
30556
d3f02e10
NS
305572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30558 Glauber de Oliveira Costa <glommer@gmail.com>
30559
30560 * elf/elf.h: Add new ARM TLS relocs.
30561
d55fd7a5
RA
305622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30563
30564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30565 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30566 cast from r3.
30567 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30568 'tests' variable.
30569 * sysdeps/wordsize-64/tst-writev.c: New file.
30570
2206397e
RA
305712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30572
30573 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30574 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30575 insns in _dl_start to prevent a TOC reference before relocs are
30576 resolved.
30577
e9433893
UD
305782011-02-15 Ulrich Drepper <drepper@gmail.com>
30579
30580 [BZ #12469]
30581 * Makeconfig: Remove RANLIB definition.
30582 * Makerules: Don't use RANLIB.
30583 * aclocal.m4: Remove ranlib test.
30584 * configure.in: No need to check for ranlib.
30585 * elf/rtld-Rules: Don't use RANLIB.
30586
f75286c6
ST
305872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30588
8e31c82d
ST
30589 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30590 protection macro.
30591 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30592 inclusion protection macro.
30593
f75286c6
ST
30594 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30595 SIGRTMIN and SIGRTMAX and print information in that case only when
30596 SIGRTMIN is defined.
30597
c1d0e639
JJ
305982011-02-11 Jakub Jelinek <jakub@redhat.com>
30599
30600 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30601 arginfo fn returning -1.
30602
30603 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30604 and thousands string is zero terminated.
30605
edf9294e
AS
306062011-02-03 Andreas Schwab <schwab@redhat.com>
30607
30608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30609 sysdeps/unix/sysv/linux/bits/socket.h.
30610
2b7e92df
ST
306112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30612
edf9294e
AS
30613 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30614 (__CPU_COUNT): Remove old macros.
30615 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30616 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30617 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30618 (__sched_cpualloc, __sched_cpufree): Add declarations.
30619
a4c7ea7b
UD
306202011-02-05 Ulrich Drepper <drepper@gmail.com>
30621
30622 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30623 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30624 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30625 (readdhstai): Return value of addhstaiX call.
30626 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30627 (addgrbyX): Return value returned by cache_addgr.
30628 (readdgrbyname): Return value returned by addgrbyX.
30629 (readdgrbygid): Likewise.
30630 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30631 (addpwbyX): Return value returned by cache_addpw.
30632 (readdpwbyname): Return value returned by addhstbyX.
30633 (readdpwbyuid): Likewise.
30634 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30635 (addservbyX): Return value returned by cache_addserv.
30636 (readdservbyname): Return value returned by addservbyX:
30637 (readdservbyport): Likewise.
30638 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30639 (addhstbyX): Return value returned by cache_addhst.
30640 (readdhstbyname): Return value returned by addhstbyX.
30641 (readdhstbyaddr): Likewise.
30642 (readdhstbynamev6): Likewise.
30643 (readdhstbyaddrv6): Likewise.
30644 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30645 (readdinitgroups): Return value returned by addinitgroupsX.
30646 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30647 (prune_cache): Keep track of timeout value of re-added entries.
30648 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30649 * nscd/nscd.h: Adjust prototypes of readd* functions.
30650
a0bf67cc
RM
306512011-02-04 Roland McGrath <roland@redhat.com>
30652
30653 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30654 (nis_stats): Likewise.
30655 * nis/nis_modify.c (nis_modify): Likewise.
30656 * nis/nis_remove.c (nis_remove): Likewise.
30657 * nis/nis_add.c (nis_add): Likewise.
30658
30659 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30660
30661 * posix/fnmatch_loop.c: Add some consts.
30662
30663 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30664
435b95eb
L
306652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30666
30667 [BZ #12460]
30668 * config.make.in (config-cflags-novzeroupper): Define.
30669 * configure.in: Substitute libc_cv_cc_novzeroupper.
30670 * elf/Makefile (AVX-CFLAGS): Define.
30671 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30672 (CFLAGS-tst-auditmod4a.c): Likewise.
30673 (CFLAGS-tst-auditmod4b.c): Likewise.
30674 (CFLAGS-tst-auditmod6b.c): Likewise.
30675 (CFLAGS-tst-auditmod6c.c): Likewise.
30676 (CFLAGS-tst-auditmod7b.c): Likewise.
30677 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30678
8517b15e
UD
306792011-02-02 Ulrich Drepper <drepper@gmail.com>
30680
30681 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30682 function to the callback.
30683 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30684
10a656fe
AS
306852011-02-02 Andreas Schwab <schwab@redhat.com>
30686
30687 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30688 of errno.
30689
968dad0a
UD
306902011-01-19 Ulrich Drepper <drepper@gmail.com>
30691
9f94d2ea 30692 [BZ #11724]
968dad0a
UD
30693 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30694 of constructors.
30695 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30696 of destructors.
30697 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30698
30699 [BZ #11724]
30700 * elf/Makefile: Add rules to build and run new test.
30701 * elf/tst-initorder.c: New file.
30702 * elf/tst-initorder.exp: New file.
30703 * elf/tst-initordera1.c: New file.
30704 * elf/tst-initordera2.c: New file.
30705 * elf/tst-initordera3.c: New file.
30706 * elf/tst-initordera4.c: New file.
30707 * elf/tst-initorderb1.c: New file.
30708 * elf/tst-initorderb2.c: New file.
30709 * elf/tst-order-a1.c: New file.
30710 * elf/tst-order-a2.c: New file.
30711 * elf/tst-order-a3.c: New file.
30712 * elf/tst-order-a4.c: New file.
30713 * elf/tst-order-b1.c: New file.
30714 * elf/tst-order-b2.c: New file.
30715 * elf/tst-order-main.c: New file.
30716 New test case by George Gensure <werkt0@gmail.com>.
30717
86e92359
UD
307182010-10-01 Andreas Schwab <schwab@redhat.com>
30719
30720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30721 decoding ACE if AI_CANONIDN.
30722
5d5732b0
UD
307232011-01-18 Ulrich Drepper <drepper@gmail.com>
30724
30725 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30726
a77e8cbc
UD
307272011-01-17 Ulrich Drepper <drepper@gmail.com>
30728
6392473f
UD
30729 * version.h (RELEASE): Bump for 2.13 release.
30730 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30731
620a0529
UD
30732 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30733
18ba70a5
UD
30734 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30735 MADV_NOHUGEPAGE.
32465c3e
UD
30736 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30737 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30738 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30739 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30740 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30741 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30742
c0dafcf1
UD
30743 * posix/getconf.c: Update copyright year.
30744 * catgets/gencat.c: Likewise.
30745 * csu/version.c: Likewise.
30746 * debug/catchsegv.sh: Likewise.
30747 * debug/xtrace.sh: Likewise.
30748 * elf/ldconfig.c: Likewise.
30749 * elf/ldd.bash.in: Likewise.
30750 * elf/sprof.c (print_version): Likewise.
30751 * iconv/iconv_prog.c: Likewise.
30752 * iconv/iconvconfig.c: Likewise.
30753 * locale/programs/locale.c: Likewise.
30754 * locale/programs/localedef.c: Likewise.
30755 * malloc/memusage.sh: Likewise.
30756 * malloc/mtrace.pl: Likewise.
30757 * nscd/nscd.c (print_version): Likewise.
30758 * nss/getent.c: Likewise.
30759
a77e8cbc
UD
30760 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30761 PF_CAIF, and PF_ALG.
30762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30763
77e8bddf
AS
307642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30765
1f20b93a
AS
30766 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30767 (modules-names): Use them.
30768 (ifunc-test-modules, ifunc-pie-tests): Define.
30769 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30770 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30771 (test-extras): Likewise.
30772 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30773 $(compile-command.c).
30774 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30775 (all-built-dso): Define.
30776 (check-textrel.out, check-execstack.out): Depend on it.
30777
77e8bddf
AS
30778 * configure.in: Don't override --enable-multi-arch.
30779
bc425b33
UD
307802011-01-15 Ulrich Drepper <drepper@gmail.com>
30781
30782 [BZ #6812]
30783 * nscd/hstcache.c (tryagain): Define.
30784 (cache_addhst): Return tryagain not notfound for temporary errors.
30785 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30786 failed.
30787
794c3ad3
UD
307882011-01-14 Ulrich Drepper <drepper@gmail.com>
30789
70181fdd
UD
30790 [BZ #10563]
30791 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30792 to make the syscall.
30793 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30794
794c3ad3
UD
30795 [BZ #12378]
30796 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30797 and fall back to matching as normal character if the string ends before
30798 the matching ']' is found. This is what POSIX requires.
30799 * posix/testfnm.c: Adjust test result.
30800 * posix/globtest.sh: Adjust test result. Add new test.
30801 * posix/tst-fnmatch.input: Likewise.
30802 * posix/tst-fnmatch2.c: Add new test.
30803
68dc9497
AS
308042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30805
30806 * elf/Makefile (check-execstack): Revert last change. Depend on
30807 check-execstack.h.
30808 (check-execstack.h): New target.
30809 (generated): Add check-execstack.h.
30810 * elf/check-execstack.c: Include "check-execstack.h".
30811 (main): Revert last change.
30812 (handle_file): Return zero if GNU_STACK is absent and
30813 DEFAULT_STACK_PERMS doesn't include PF_X.
30814
451f001b
UD
308152011-01-13 Ulrich Drepper <drepper@gmail.com>
30816
cfa28e56
UD
30817 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30818 in child fails because the descriptor is already closed.
8cf8ce17
UD
30819 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30820 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30821 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30822
1086d70d
UD
30823 [BZ #12397]
30824 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30825 syscall.
30826
451f001b
UD
30827 [BZ #10484]
30828 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30829 temporary buffer used to handle multi lookups locally.
a85b5cb4 30830 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30831
08769175
UD
308322011-01-12 Ulrich Drepper <drepper@gmail.com>
30833
30834 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30835 loader is ld.so.
30836
5e49c52e
UD
308372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30838
30839 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30840 alignment for SSE2.
30841
60522a5f
UD
308422011-01-12 Ulrich Drepper <drepper@gmail.com>
30843
30844 [BZ #12394]
30845 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30846 characters. When rounding increased number of integer digits recompute
30847 number of groups.
30848 * stdio-common/tst-grouping.c: New file.
30849 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30850
f257bbd7
UD
308512011-01-09 Ulrich Drepper <drepper@gmail.com>
30852
30853 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30854 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30855
30856 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30857 void.
30858 * bits/select.h: Likewise.
30859
fa9c15cb
UD
308602011-01-08 Ulrich Drepper <drepper@gmail.com>
30861
30862 * po/ja.po: Update from translation team.
30863
16c2895f
DM
308642011-01-04 David S. Miller <davem@sunset.davemloft.net>
30865
30866 [BZ #11155]
30867 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30868 implementation just like for lxstat, fxstatat, et al.
30869
2543fef2
JM
308702010-12-27 Jim Meyering <meyering@redhat.com>
30871
30872 [BZ #12348]
30873 * posix/regexec.c (build_trtable): Return failure indication upon
30874 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30875
98727dbe
UD
308762010-12-25 Ulrich Drepper <drepper@gmail.com>
30877
5bd6dc5c
UD
30878 [BZ #12201]
30879 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30880 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30881 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30882 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30883
97983464
UD
30884 [BZ #12207]
30885 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30886
98727dbe
UD
30887 [BZ #12204]
30888 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30889 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30890
4a531bb0
L
308912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30892
30893 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30894 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30895 script has SORT_BY_INIT_PRIORITY.
30896 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30897 NO_CTORS_DTORS_SECTIONS is defined.
30898 * elf/soinit.c: Likewise.
30899 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30900 NO_CTORS_DTORS_SECTIONS is defined.
30901 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30902 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30903 * sysdeps/sh/init-first.c: Likewise.
30904 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30905
07eb4b71
UD
309062010-12-24 Ulrich Drepper <drepper@gmail.com>
30907
30908 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30909 always use the slow path.
30910
30950a5f
RA
309112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30912
30913 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30914 similar rule which adds the sysdep directories to the header search in
30915 order to pick up the correct platform stackinfo.h.
30916 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30917 perform test if it is, otherwise return successfully without testing.
30918 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30919 DEFAULT_STACK_PERMS define in stackinfo.h.
30920 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30921 defined in stackinfo.h.
30922 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30923 DEFAULT_STACK_PERMS defined in stackinfo.h.
30924 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30925 * sysdeps/ia64/stackinfo.h: Likewise.
30926 * sysdeps/s390/stackinfo.h: Likewise.
30927 * sysdeps/sh/stackinfo.h: Likewise.
30928 * sysdeps/sparc/stackinfo.h: Likewise.
30929 * sysdeps/x86_64/stackinfo.h: Likewise.
30930 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30931 PF_X for powerpc64. Retain PF_X for powerpc32.
30932
db753e2c
UD
309332010-12-19 Ulrich Drepper <drepper@gmail.com>
30934
14b697f7
UD
30935 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30936 accurately.
db753e2c
UD
30937 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30938 GETDENTS_64BIT_ALIGNED.
30939
28300719
UD
309402010-12-14 Ulrich Drepper <dreper@gmail.com>
30941
14b697f7 30942 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30943
4f197237
AS
309442010-12-10 Andreas Schwab <schwab@redhat.com>
30945
dbb0472f
AS
30946 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30947 _GNU_SOURCE.
30948
4f197237
AS
30949 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30950 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30951 Remove __restrict.
30952 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30953 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30954
fb88ac72
UD
309552010-12-09 Ulrich Drepper <drepper@gmail.com>
30956
30957 [BZ #11655]
30958 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30959 are initialized.
30960
42acbb92
JJ
309612010-12-09 Jakub Jelinek <jakub@redhat.com>
30962
30963 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30964
c038d98d
UD
309652010-12-03 Ulrich Drepper <drepper@gmail.com>
30966
30967 * po/it.po: Update from translation team.
30968
3a4a2499
L
309692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30970
30971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30972 unused codes.
30973
1e24cf6e
UD
309742010-11-30 Ulrich Drepper <drepper@gmail.com>
30975
30976 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30977
a7690819
AS
309782010-11-24 Andreas Schwab <schwab@redhat.com>
30979
30980 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30981 specially.
30982 (gaih_getanswer_slice): Likewise.
30983
3bf8d1b1
JJ
309842010-10-20 Jakub Jelinek <jakub@redhat.com>
30985
30986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30987
6db52fbb
PB
309882010-05-31 Petr Baudis <pasky@suse.cz>
30989
30990 [BZ #11149]
30991 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30992 silently even in the chroot mode.
30993
eaca7569
UD
309942010-11-22 Ulrich Drepper <drepper@gmail.com>
30995
30996 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30997 last patch a bit. Pretty printing
30998
3056dcdb
UD
309992010-05-31 Petr Baudis <pasky@suse.cz>
31000
31001 [BZ #10085]
31002 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31003 initialization of skip_initgroups_dyn.
31004
cf7c9078
UD
310052010-11-19 Ulrich Drepper <drepper@gmail.com>
31006
31007 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31008 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31009
a1fb5e3e
UD
310102010-11-16 Ulrich Drepper <drepper@gmail.com>
31011
31012 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31013
3540d66b
AS
310142010-11-11 Andreas Schwab <schwab@redhat.com>
31015
31016 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31017 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31018 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31019 ($(objpfx)tst-fnmatch-mem): New rule.
31020 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31021 * posix/tst-fnmatch.c (main): Call mtrace.
31022
13b69574
L
310232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31024
31025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31026 Support Intel processor model 6 and model 0x2c.
31027
da93d214
LM
310282010-11-10 Luis Machado <luisgpm@br.ibm.com>
31029
31030 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31031 signed comparison.
31032
8ca52c6e
L
310332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31034
31035 [BZ #12205]
31036 * string/test-strncasecmp.c (check_result): New function.
31037 (do_one_test): Use it.
31038 (check1): New function.
31039 (test_main): Use it.
31040 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31041 Support strcasecmp and strncasecmp.
31042
69da074d
UD
310432010-11-08 Ulrich Drepper <drepper@gmail.com>
31044
31045 [BZ #12194]
31046 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31047 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31048
ff02d528
L
310492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31050
31051 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31052 IFUNC support.
31053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31054 memset-x86-64.
31055 * sysdeps/x86_64/multiarch/bzero.S: New file.
31056 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31057 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31058 * sysdeps/x86_64/multiarch/memset.S: New file.
31059 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31061 Set bit_Prefer_SSE_for_memop for Intel processors.
31062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31063 Define.
31064 (index_Prefer_SSE_for_memop): Define.
31065 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31066
344d0b54
LM
310672010-11-04 Luis Machado <luisgpm@br.ibm.com>
31068
31069 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31070 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31071
c0dde15b
UD
310722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31073
31074 [BZ #12191]
31075 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31076 (__x86_64_raw_data_cache_size_half): Likewise.
31077 (__x86_64_raw_shared_cache_size): Likewise.
31078 (__x86_64_raw_shared_cache_size_half): Likewise.
31079
31080 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31081 (__x86_64_raw_data_cache_size_half): Likewise.
31082 (__x86_64_raw_shared_cache_size): Likewise.
31083 (__x86_64_raw_shared_cache_size_half): Likewise.
31084 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31085 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31086 and __x86_64_raw_shared_cache_size_half. Round
31087 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31088 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31089 to multiple of 256 bytes.
31090
0e516e0e
MS
310912010-11-03 Ulrich Drepper <drepper@gmail.com>
31092
31093 [BZ #12167]
31094 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31095 of inacessible symlinks. Verify result of symlink before returning it.
31096 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31097 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31098
0e012e87
ER
310992010-10-28 Erich Ritz <erichritz@gmail.com>
31100
31101 * math/math.h (isinf): Fix typo in comment.
31102
de0ff7bc
UD
311032010-11-01 Ulrich Drepper <drepper@gmail.com>
31104
31105 * po/da.po: Update from translation team.
31106
fa41c84d
UD
311072010-10-26 Ulrich Drepper <drepper@gmail.com>
31108
31109 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31110 is added to the list.
31111
f0967738
AK
311122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31113 Ulrich Drepper <drepper@gmail.com>
31114
31115 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31116 the global list here. Move code to...
31117 (_dl_add_to_namespace_list): ...here. New function.
31118 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31119 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31120 * elf/dl-load.c (lose): Don't remove the element from the list.
31121 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31122 (_dl_map_object): Likewise.
31123
311242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31125
31126 [BZ #12159]
31127 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31128 into all bytes of SSE register.
31129 Patch by Richard Li <richardpku@gmail.com>.
31130
f0967738 311312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31132
31133 [BZ #12140]
31134 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31135 perturbing.
31136
d0b9e94f
MB
311372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31138
31139 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31140 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31141 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31142 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31144 submachine.
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31146
8e9f92e9
AS
311472010-10-22 Andreas Schwab <schwab@redhat.com>
31148
31149 * include/dlfcn.h (__RTLD_SECURE): Define.
31150 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31151 mode & __RTLD_SECURE instead.
31152 (open_path): Rename preloaded parameter to secure.
31153 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31154 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31155 * elf/dl-deps.c (openaux): Likewise.
31156 * elf/rtld.c (struct map_args): Remove is_preloaded.
31157 (map_doit): Don't use it.
31158 (dl_main): Likewise.
31159 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31160 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31161
bc96fbda
AS
311622010-09-09 Andreas Schwab <schwab@redhat.com>
31163
31164 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31165 (sysd-rules-targets): Remove duplicates.
31166 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31167 rtld-%.$o dependency.
31168
22cd1c9b
AS
311692010-10-18 Andreas Schwab <schwab@redhat.com>
31170
31171 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31172 _dl_map_object do it.
31173
18edac48
UD
311742010-10-19 Ulrich Drepper <drepper@gmail.com>
31175
31176 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31177 fast fma builtins, define the macros in the C99 standard.
31178 (FP_FAST_FMAF): Likewise.
31179 (FP_FAST_FMAL): Likewise.
31180 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31181
31182 * bits/mathdef.h: Update copyright year.
31183 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31184
d2050124
MM
311852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31186
31187 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31188 builtins, define the macros in the C99 standard.
31189 (FP_FAST_FMAF): Likewise.
31190 (FP_FAST_FMAL): Likewise.
31191 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31192 multiply/add.
31193 (FP_FAST_FMAF): Likewise.
31194
475facd1
JJ
311952010-10-15 Jakub Jelinek <jakub@redhat.com>
31196
31197 [BZ #3268]
31198 * math/libm-test.inc (fma_test): Some new testcases.
31199 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31200 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31201 y and infinite z. Do multiplication by C already in long double.
31202 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31204 y and infinite z. Do bitwise or of inexact bit into u.d.
31205 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31206 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31207 * sysdeps/i386/fpu/s_fma.S: Removed.
31208 * sysdeps/i386/fpu/s_fmal.S: Removed.
31209
7c08a05c
JJ
312102010-10-16 Jakub Jelinek <jakub@redhat.com>
31211
31212 [BZ #3268]
31213 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31215 computation is not scheduled after fetestexcept. Fix value
31216 of minimum denormal long double.
31217
f3f7372d
JJ
312182010-10-14 Jakub Jelinek <jakub@redhat.com>
31219
31220 [BZ #3268]
31221 * math/libm-test.inc (fma_test): Add some more tests.
31222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31223 correctly.
31224
14d43591
AS
312252010-10-15 Andreas Schwab <schwab@redhat.com>
31226
31227 * scripts/data/localplt-s390-linux-gnu.data: New file.
31228 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31229
5e908464
JJ
312302010-10-13 Jakub Jelinek <jakub@redhat.com>
31231
31232 [BZ #3268]
31233 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31234 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31235 instead of dbl-64.
31236 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31237 inlines.
31238 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31240 if one of x and y is very large and the other is subnormal.
31241 * sysdeps/s390/fpu/s_fmaf.c: New file.
31242 * sysdeps/s390/fpu/s_fma.c: New file.
31243 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31244 * sysdeps/powerpc/fpu/s_fma.S: New file.
31245 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31246 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31247 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31248
312492010-10-12 Jakub Jelinek <jakub@redhat.com>
31250
31251 [BZ #3268]
31252 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31253 fma tests.
31254 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31255 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31256 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31257 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31258 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31259 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31260 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31261
b833d51f
UD
312622010-10-12 Ulrich Drepper <drepper@redhat.com>
31263
31264 [BZ #12078]
31265 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31266 * posix/bug-regex31.input: Add test case.
31267
1751705d
UD
312682010-10-11 Ulrich Drepper <drepper@gmail.com>
31269
e9b9cbf5
UD
31270 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31271 * posix/bug-regex31.input: New file.
31272
31273 [BZ #12078]
31274 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31275 (parse_sub_exp): Fix last change, use postorder.
31276
ef06edbe
UD
31277 * posix/bug-regex31.c: New file.
31278 * posix/Makefile: Add rules to build and run bug-regex31.
31279
a129c80d
UD
31280 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31281
31282 [BZ #12078]
31283 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31284
b76b818e
UD
31285 [BZ #12108]
31286 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31287 to have entries in sys_siglist.
31288
1751705d
UD
31289 [BZ #12093]
31290 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31291 be NULL.
31292
9ff8d36f
JJ
312932010-10-07 Jakub Jelinek <jakub@redhat.com>
31294
31295 [BZ #3268]
31296 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31297 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31298 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31299 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31300 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31301 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31302 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31303 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31304 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31305 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31306 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31307 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31308 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31309 * math/ftestexcept.c (fetestexcept): Likewise.
31310 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31311 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31312 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31313 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31314 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31315 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31316 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31317
af325969
UD
313182010-10-11 Ulrich Drepper <drepper@gmail.com>
31319
c579b202 31320 [BZ #12107]
af325969
UD
31321 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31322 newline.
31323
67a67b95
UD
313242010-10-06 Ulrich Drepper <drepper@gmail.com>
31325
31326 * string/bug-strstr1.c: New file.
31327 * string/Makefile: Add rules to build and run bug-strstr1.
31328
5fb308bc
EB
313292010-10-05 Eric Blake <eblake@redhat.com>
31330
31331 [BZ #12092]
31332 * string/str-two-way.h (two_way_long_needle): Always clear memory
31333 when skipping input due to the shift table.
31334
45db99c7
UD
313352010-10-03 Ulrich Drepper <drepper@gmail.com>
31336
3b111893
UD
31337 [BZ #12005]
31338 * malloc/mcheck.c: Handle large requests.
31339
45db99c7
UD
31340 [BZ #12077]
31341 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31342 for strncmp and strncasecmp.
31343 * string/stratcliff.c: Add tests for strcmp and strncmp.
31344 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31345
cf7a1eb8
NI
313462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31347
31348 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31349 __set_fpscr.
31350
6484ba5e
AJ
313512010-09-30 Andreas Jaeger <aj@suse.de>
31352
31353 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31354 (CGROUP_SUPER_MAGIC): Define.
31355 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31356 Handle btrfs and cgroup file systems.
31357 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31358 Likewise.
31359
91c42559
LM
313602010-09-27 Luis Machado <luisgpm@br.ibm.com>
31361
31362 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31363 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31364
87a97932
AK
313652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31366
31367 [BZ #12067]
31368 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31369 trying to locate the ELF header.
31370
c21cc9bc
AS
313712010-09-27 Andreas Schwab <schwab@redhat.com>
31372
31373 [BZ #11611]
31374 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31375 Mask out sign-bit copies when constructing f_fsid.
31376
315970f6
PB
313772010-09-24 Petr Baudis <pasky@suse.cz>
31378
31379 * debug/stack_chk_fail_local.c: Add missing licence exception.
31380 * debug/warning-nop.c: Likewise.
31381
1ac7a2c7
JM
313822010-09-15 Joseph Myers <joseph@codesourcery.com>
31383
31384 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31385 implementing getdents64 using getdents syscall, set d_type if
31386 __ASSUME_GETDENTS32_D_TYPE.
31387
56801c50
AS
313882010-09-16 Andreas Schwab <schwab@redhat.com>
31389
31390 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31391 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31392
dda51327
UD
313932010-09-21 Ulrich Drepper <drepper@redhat.com>
31394
31395 [BZ #12037]
31396 * posix/unistd.h: Undo change of feature selection for ftruncate from
31397 2010-01-11.
31398
8ffcee4a
UD
313992010-09-20 Ulrich Drepper <drepper@redhat.com>
31400
a545ecd9 31401 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31402 detection.
31403
e24f0a8b
AS
314042010-09-20 Andreas Schwab <schwab@redhat.com>
31405
31406 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31407 fanotify_mark.
31408 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31409
7291c56f
AS
314102010-09-14 Andreas Schwab <schwab@redhat.com>
31411
31412 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31413 variables after CHECK_SP call.
31414 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31415
bc5fb037
AS
314162010-09-13 Andreas Schwab <schwab@redhat.com>
31417 Ulrich Drepper <drepper@redhat.com>
31418
31419 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31420 re-relocationg ld.so.
31421 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31422 _dl_init_paths call.
31423 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31424 here anymore.
31425
e66e7419
UD
314262010-09-14 Ulrich Drepper <drepper@redhat.com>
31427
31428 * resolv/res_init.c (__res_vinit): Count the default server we added.
31429
c044aa75
CLT
314302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31431 Ulrich Drepper <drepper@redhat.com>
31432
31433 [BZ #11968]
31434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31435 (____longjmp_chk): Use %ebx for saving value across system call.
31436 Add unwind info.
31437
32cf4069
AS
314382010-09-06 Andreas Schwab <schwab@redhat.com>
31439
31440 * manual/Makefile: Don't mix pattern rules with normal rules.
31441
817328ee
AS
314422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31443
31444 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31445 operation.
31446 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31447 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31448 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31449 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31451 Likewise.
31452
29fddf61
UD
314532010-09-04 Ulrich Drepper <drepper@redhat.com>
31454
31455 [BZ #11979]
31456 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31457 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31458
0959ffc9
UD
314592010-09-02 Ulrich Drepper <drepper@redhat.com>
31460
31461 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31462 * sysdeps/x86_64/addmul_1.S: Likewise.
31463 * sysdeps/x86_64/lshift.S: Likewise.
31464 * sysdeps/x86_64/mul_1.S: Likewise.
31465 * sysdeps/x86_64/rshift.S: Likewise.
31466 * sysdeps/x86_64/sub_n.S: Likewise.
31467 * sysdeps/x86_64/submul_1.S: Likewise.
31468
ece29840
ST
314692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31470
0959ffc9
UD
31471 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31472 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31473 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31474 * bits/sched.h [__need_schedparam]
ece29840 31475 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31476 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31477 (__defined_schedparam): Define to 1.
ece29840
ST
31478 (__sched_param): New structure, identical to sched_param.
31479 (__need_schedparam): Undefine.
31480
e53a31fe
MF
314812010-08-31 Mike Frysinger <vapier@gentoo.org>
31482
fdc0c10d
MF
31483 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31484 (epoll_create1): Declare.
31485
e53a31fe
MF
31486 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31487
a726d796
AS
314882010-08-31 Andreas Schwab <schwab@redhat.com>
31489
31490 [BZ #7066]
31491 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31492 shifting retval into place.
31493
2f3e3dc7
UD
314942010-09-01 Ulrich Drepper <drepper@redhat.com>
31495
f2933da9
UD
31496 * nis/rpcsvc/nis.h: Update copyright notice.
31497 * nis/rpcsvc/nis.x: Likewise.
31498 * nis/rpcsvc/nis_callback.h: Likewise.
31499 * nis/rpcsvc/nis_callback.x: Likewise.
31500 * nis/rpcsvc/nis_object.x: Likewise.
31501 * nis/rpcsvc/nis_tags.h: Likewise.
31502 * nis/rpcsvc/yp.h: Likewise.
31503 * nis/rpcsvc/yp.x: Likewise.
31504 * nis/rpcsvc/ypupd.h: Likewise.
31505 * nis/yp_xdr.c: Likewise.
31506 * nis/ypupdate_xdr.c: Likewise.
31507
2f3e3dc7
UD
31508 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31509 mainly the body of pmap_getport. Add parameters to specify timeouts.
31510 (pmap_getport): Use __libc_rpc_getport.
31511 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31512 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31513 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31514
f3dcc2f9
AS
315152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31516
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31518 fanotify_mark.
31519
6d34eb5b
RM
315202010-08-27 Roland McGrath <roland@redhat.com>
31521
31522 * sysdeps/i386/i686/multiarch/Makefile
31523 (CFLAGS-varshift.c): New variable.
31524
9ea3de11
UD
315252010-08-27 Ulrich Drepper <drepper@redhat.com>
31526
c96d23fc
UD
31527 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31528 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31529
9ea3de11
UD
31530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31531
31532 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31533
623aac7f
L
315342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31535
31536 * sysdeps/x86_64/strlen.S: Unroll the loop.
31537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31538 strlen-sse2 strlen-sse2-bsf.
31539 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31540 __strlen_no_bsf if bit_Slow_BSF is set.
31541 (__strlen_sse42): Removed.
31542 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31543 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31544
8b2b7715
RM
315452010-08-25 Roland McGrath <roland@redhat.com>
31546
31547 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31548 * sysdeps/x86_64/multiarch/varshift.c: New file.
31549 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31550 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31551 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31552 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31553
e73015f2
L
315542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31555
31556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31557 strlen-sse2 strlen-sse2-bsf.
31558 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31559 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31560 (__strlen_sse2): Removed.
31561 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31562 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31564 bit_Slow_BSF for Atom.
31565 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31566 (index_Slow_BSF): Define.
31567 (HAS_SLOW_BSF): Define.
31568
df24a73e
UD
315692010-08-25 Ulrich Drepper <drepper@redhat.com>
31570
31571 [BZ #10851]
31572 * resolv/res_init.c (__res_vinit): When no server address at all
31573 is given default to loopback.
31574
f2ac4868
RM
315752010-08-24 Roland McGrath <roland@redhat.com>
31576
09055553
RM
31577 * configure.in: Remove config-name.h generation.
31578 * configure: Regenerated.
31579 * config-name.in: File removed.
31580 * scripts/config-uname.sh: New file.
31581 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31582 ($(objdir)config-name.h): New target.
31583
f2ac4868
RM
31584 * sunrpc/rpc_parse.h: Avoid nested comment.
31585
73f27d5e
RH
315862010-08-24 Richard Henderson <rth@redhat.com>
31587 Ulrich Drepper <drepper@redhat.com>
31588 H.J. Lu <hongjiu.lu@intel.com>
31589
31590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31592 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31593 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31594 _mm_alignr_epi8 with _mm_loadu_si128.
31595 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31596 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31597 (__m128i_shift_right): Removed.
31598 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31599 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31600 * sysdeps/x86_64/multiarch/varshift.h: New file.
31601 * sysdeps/x86_64/multiarch/varshift.S: New file.
31602
84b9230c
MF
316032010-08-21 Mike Frysinger <vapier@gentoo.org>
31604
31605 * configure.in: Move assembler checks to before sysdep dir checking.
31606
9bbd0ddc
PB
316072010-08-20 Petr Baudis <pasky@suse.cz>
31608
31609 * LICENSES: Sync the sunrpc license.
31610
9da4bb31
UD
316112010-08-19 Ulrich Drepper <drepper@redhat.com>
31612
a7ab6ec8
UD
31613 * sunrpc/auth_des.c: Update copyright notice once again.
31614 * sunrpc/auth_none.c: Likewise.
31615 * sunrpc/auth_unix.c: Likewise.
31616 * sunrpc/authdes_prot.c: Likewise.
31617 * sunrpc/authuxprot.c: Likewise.
31618 * sunrpc/bindrsvprt.c: Likewise.
31619 * sunrpc/clnt_gen.c: Likewise.
31620 * sunrpc/clnt_perr.c: Likewise.
31621 * sunrpc/clnt_raw.c: Likewise.
31622 * sunrpc/clnt_simp.c: Likewise.
31623 * sunrpc/clnt_tcp.c: Likewise.
31624 * sunrpc/clnt_udp.c: Likewise.
31625 * sunrpc/clnt_unix.c: Likewise.
31626 * sunrpc/des_crypt.c: Likewise.
31627 * sunrpc/des_soft.c: Likewise.
31628 * sunrpc/get_myaddr.c: Likewise.
31629 * sunrpc/getrpcport.c: Likewise.
31630 * sunrpc/key_call.c: Likewise.
31631 * sunrpc/key_prot.c: Likewise.
31632 * sunrpc/openchild.c: Likewise.
31633 * sunrpc/pm_getmaps.c: Likewise.
31634 * sunrpc/pm_getport.c: Likewise.
31635 * sunrpc/pmap_clnt.c: Likewise.
31636 * sunrpc/pmap_prot.c: Likewise.
31637 * sunrpc/pmap_prot2.c: Likewise.
31638 * sunrpc/pmap_rmt.c: Likewise.
31639 * sunrpc/rpc/auth.h: Likewise.
31640 * sunrpc/rpc/auth_unix.h: Likewise.
31641 * sunrpc/rpc/clnt.h: Likewise.
31642 * sunrpc/rpc/des_crypt.h: Likewise.
31643 * sunrpc/rpc/key_prot.h: Likewise.
31644 * sunrpc/rpc/netdb.h: Likewise.
31645 * sunrpc/rpc/pmap_clnt.h: Likewise.
31646 * sunrpc/rpc/pmap_prot.h: Likewise.
31647 * sunrpc/rpc/pmap_rmt.h: Likewise.
31648 * sunrpc/rpc/rpc.h: Likewise.
31649 * sunrpc/rpc/rpc_des.h: Likewise.
31650 * sunrpc/rpc/rpc_msg.h: Likewise.
31651 * sunrpc/rpc/svc.h: Likewise.
31652 * sunrpc/rpc/svc_auth.h: Likewise.
31653 * sunrpc/rpc/types.h: Likewise.
31654 * sunrpc/rpc/xdr.h: Likewise.
31655 * sunrpc/rpc_clntout.c: Likewise.
31656 * sunrpc/rpc_cmsg.c: Likewise.
31657 * sunrpc/rpc_common.c: Likewise.
31658 * sunrpc/rpc_cout.c: Likewise.
31659 * sunrpc/rpc_dtable.c: Likewise.
31660 * sunrpc/rpc_hout.c: Likewise.
31661 * sunrpc/rpc_main.c: Likewise.
31662 * sunrpc/rpc_parse.c: Likewise.
31663 * sunrpc/rpc_parse.h: Likewise.
31664 * sunrpc/rpc_prot.c: Likewise.
31665 * sunrpc/rpc_sample.c: Likewise.
31666 * sunrpc/rpc_scan.c: Likewise.
31667 * sunrpc/rpc_scan.h: Likewise.
31668 * sunrpc/rpc_svcout.c: Likewise.
31669 * sunrpc/rpc_tblout.c: Likewise.
31670 * sunrpc/rpc_util.c: Likewise.
31671 * sunrpc/rpc_util.h: Likewise.
31672 * sunrpc/rpcinfo.c: Likewise.
31673 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31674 * sunrpc/rpcsvc/key_prot.x: Likewise.
31675 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31676 * sunrpc/rpcsvc/mount.x: Likewise.
31677 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31678 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31679 * sunrpc/rpcsvc/rex.x: Likewise.
31680 * sunrpc/rpcsvc/rstat.x: Likewise.
31681 * sunrpc/rpcsvc/rusers.x: Likewise.
31682 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31683 * sunrpc/rpcsvc/spray.x: Likewise.
31684 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31685 * sunrpc/rtime.c: Likewise.
31686 * sunrpc/svc.c: Likewise.
31687 * sunrpc/svc_auth.c: Likewise.
31688 * sunrpc/svc_authux.c: Likewise.
31689 * sunrpc/svc_raw.c: Likewise.
31690 * sunrpc/svc_run.c: Likewise.
31691 * sunrpc/svc_simple.c: Likewise.
31692 * sunrpc/svc_tcp.c: Likewise.
31693 * sunrpc/svc_udp.c: Likewise.
31694 * sunrpc/svc_unix.c: Likewise.
31695 * sunrpc/svcauth_des.c: Likewise.
31696 * sunrpc/xcrypt.c: Likewise.
31697 * sunrpc/xdr.c: Likewise.
31698 * sunrpc/xdr_array.c: Likewise.
31699 * sunrpc/xdr_float.c: Likewise.
31700 * sunrpc/xdr_mem.c: Likewise.
31701 * sunrpc/xdr_rec.c: Likewise.
31702 * sunrpc/xdr_ref.c: Likewise.
31703 * sunrpc/xdr_sizeof.c: Likewise.
31704 * sunrpc/xdr_stdio.c: Likewise.
31705
9da4bb31
UD
31706 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31707 handling.
31708
bdaa77bc
AS
317092010-08-19 Andreas Schwab <schwab@redhat.com>
31710
31711 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31712
fe2f79db
LM
317132010-08-19 Luis Machado <luisgpm@br.ibm.com>
31714
31715 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31716 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31717 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31718 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31719 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31720 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31721 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31722 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31723 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31724 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31725 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31726 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31727 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31728 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31729
b9b42ee0
AB
317302010-07-26 Anton Blanchard <anton@samba.org>
31731
31732 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31733 * malloc/arena.c (heap_trim): Likewise.
31734
1c06ba31
UD
317352010-08-16 Ulrich Drepper <drepper@redhat.com>
31736
31737 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31738 here. Not...
31739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31740 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31741
f8392f40
L
317422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31743
31744 * sysdeps/i386/elf/Makefile: New file.
31745
3162f12e
AS
317462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31747
31748 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31749 from fanotify_init.
31750 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31751 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31752
28c90b2c
UD
317532010-08-15 Ulrich Drepper <drepper@redhat.com>
31754
31755 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31756 of strncasecmp_l.
1feccb6c 31757 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31758
ca6bb004
UD
317592010-08-14 Ulrich Drepper <drepper@redhat.com>
31760
e9f82e0d
UD
31761 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31762 strncase_l-nonascii.
31763 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31764 Add strncase_l-ssse3.
31765 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31766 * sysdeps/x86_64/strcmp.S: Likewise.
31767 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31768 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31769 * sysdeps/x86_64/strncase.S: New file.
31770 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31771 * sysdeps/x86_64/strncase_l.S: New file.
31772 * string/Makefile (strop-tests): Add strncasecmp.
31773 * string/test-strncasecmp.c: New file.
31774
31775 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31776 warning.
31777
ca6bb004
UD
31778 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31779 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31780
052fa7b3
AS
317812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31782
31783 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31784
962dba78
UD
317852010-08-12 Ulrich Drepper <drepper@redhat.com>
31786
31787 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31788 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31789 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31790
bebff237
AM
317912010-05-01 Alan Modra <amodra@gmail.com>
31792
31793 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31794 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31795 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31796 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31797 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31798 tidying. Don't tail-call __sigjmp_save for static lib.
31799 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31800 save location.
31801 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31802 (CALL_MCOUNT): Add eh info, and nop after bl.
31803 (TAIL_CALL_SYSCALL_ERROR): New macro.
31804 (PSEUDO_RET): Use it.
31805 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31806 Correct save location of integer regs and cr.
31807 (_dl_profile_resolve): Correct cr save location. Delete nops
31808 after bl when SHARED. Reduce cfi size a little by better
31809 placement of cfi directives.
31810 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31811 make a stack frame. Instead use parm save area as a temp.
31812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31813 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31815 Don't make a stack frame for parent, use parm save area.
31816 Increase child stack frame to 112 bytes. Don't save unused reg,
31817 and adjust reg usage. Set up cfi on error recovery and
31818 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31820 (__makecontext): Add dummy nop after jump to exit.
31821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31822 Use correct parm save area and cr save, reduce stack frame.
31823 Correct cfi for possible PSEUDO_RET frame setup.
31824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31825 Branch to local label emitted by PSEUDO_RET rather than
31826 __syscall_error.
31827
02637374
AS
318282010-08-12 Andreas Schwab <schwab@redhat.com>
31829
31830 [BZ #11904]
31831 * locale/programs/locale.c (print_assignment): New function.
31832 (show_locale_vars): Use it.
31833
c3e2f19b
UD
318342010-08-11 Ulrich Drepper <drepper@redhat.com>
31835
3cdaa6ad
UD
31836 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31837 field.
31838 (struct statfs64): Likewise.
31839 (_STATFS_F_FLAGS): Define.
31840 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31841 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31842 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31843 (ST_VALID): Define locally.
31844 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31845 __statvfs_getflags, use the provided value.
31846 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31847 __ASSUME_STATFS_F_FLAGS.
31848
754f7da3
UD
31849 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31850
10b3bedc
UD
31851 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31852 Add sys/fanotify.h.
31853 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31854 fanotify_mask for GLIBC_2.13.
31855 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31856 fanotify_init and fanotify_mark.
31857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31858 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31859
c08fb0d7
UD
31860 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31861 Add prlimit.
31862 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31863 prlimit64 for GLIBC_2.13.
31864 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31865 prlimit64.
31866 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31867 syscall.
31868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31869 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31870 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31871 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31872 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31873 add prlimit alias.
31874 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31875
15bac72b
UD
31876 [BZ #11903]
31877 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31878 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31879
c3e2f19b
UD
31880 * nss/Makefile: Add rules to build and run tst-nss-test1.
31881 * shlib-versions: Add entry for libnss_test1.
31882 * nss/nss_test1.c: New file.
31883 * nss/tst-nss-test1.c: New file.
31884
31885 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31886 (__nss_configure_lookup): Set appropriate entry in
31887 __nss_configure_lookup to true.
31888 * nss/nsswitch.h: Define enum with indeces of databases in
31889 databases and __nss_database_custom arrays. Declare
31890 __nss_database_custom.
31891 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31892 to avoid using nscd when custom rules are installed.
31893 * nss/getXXbyYY_r.c: Likewise.
31894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31895
31896 * nss/nss_files/files-parse.c: Whitespace fixes.
31897
f15ce4d8
UD
318982010-08-09 Ulrich Drepper <drepper@redhat.com>
31899
31900 [BZ #11883]
31901 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31902 * posix/fnmatch_loop.c: Likewise.
31903
d22e4cc9
AK
319042010-07-17 Andi Kleen <ak@linux.intel.com>
31905
31906 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31907 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31908 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31909 * Versions.def [GLIBC_2.13]: Add.
31910
805bc17d
UD
319112010-08-06 Ulrich Drepper <drepper@redhat.com>
31912
31913 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31914 Also fail if tpwd after pwuid call is NULL.
31915
5a42321d
ST
319162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31917
31918 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31919 when converting to ms.
31920
fd3ebeda
ST
319212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31922
31923 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31924 EOPNOTSUPP errors with ENOTTY.
31925 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31926 EOPNOTSUPP errors with ENOTTY.
31927
73507d3a
UD
319282010-07-31 Ulrich Drepper <drepper@redhat.com>
31929
31930 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31931 Add strcasecmp_l-ssse3.
31932 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31933 strcasecmp.
31934 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31935 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31936 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31937
fe36dd02
UD
319382010-07-30 Ulrich Drepper <drepper@redhat.com>
31939
66f6765a
UD
31940 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31941
42e08a54
UD
31942 * string/Makefile (strop-tests): Add strcasecmp.
31943 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31944 strcasecmp_l-nonascii.
31945 (gen-as-const-headers): Add locale-defines.sym.
31946 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31947 * sysdeps/x86_64/strcasecmp.S: New file.
31948 * sysdeps/x86_64/strcasecmp_l.S: New file.
31949 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31950 * sysdeps/x86_64/locale-defines.sym: New file.
31951 * string/test-strcasecmp.c: New file.
31952
fe36dd02
UD
31953 * string/test-strcasestr.c: Test both ends of the range of characters.
31954 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31955
48cbc0d6
RM
319562010-07-29 Roland McGrath <roland@redhat.com>
31957
76e6d6bc 31958 [BZ #11856]
48cbc0d6
RM
31959 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31960
880113d9
UD
319612010-07-27 Ulrich Drepper <drepper@redhat.com>
31962
31963 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31964 for ld.so.
31965
deb9cabb
AS
319662010-07-27 Andreas Schwab <schwab@redhat.com>
31967
31968 * manual/memory.texi (Malloc Tunable Parameters): Document
31969 M_PERTURB.
31970
1c7570ff
RM
319712010-07-26 Roland McGrath <roland@redhat.com>
31972
31973 [BZ #11840]
31974 * configure.in (-fgnu89-inline check): Set and substitute
31975 gnu89_inline, not libc_cv_gnu89_inline.
31976 * configure: Regenerated.
31977 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31978
24fb0f88
UD
319792010-07-26 Ulrich Drepper <drepper@redhat.com>
31980
31981 * string/test-strnlen.c: New file.
31982 * string/Makefile (strop-tests): Add strnlen.
31983 * string/tester.c (test_strnlen): Add a few more test cases.
31984 * string/tst-strlen.c: Better error reporting.
31985
31986 * sysdeps/x86_64/strnlen.S: New file.
31987
8e96b93a
UD
319882010-07-24 Ulrich Drepper <drepper@redhat.com>
31989
31990 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31991 lower-latency instructions.
31992
dbc676d4
UD
319932010-07-23 Ulrich Drepper <drepper@redhat.com>
31994
31995 * string/test-strcasestr.c: New file.
31996 * string/test-strstr.c: New file.
31997 * string/Makefile (strop-tests): Add strstr and strcasestr.
31998 * string/str-two-way.h: Don't undefine MAX.
31999 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32000
f6a31e0e
AS
320012010-07-21 Andreas Schwab <schwab@redhat.com>
32002
32003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32004 strcasestr-nonascii.
32005 (CFLAGS-strcasestr-nonascii.c): Define.
32006 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32007 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32008 Remove unused attribute.
32009
5dbc3b6c
RM
320102010-07-20 Roland McGrath <roland@redhat.com>
32011
32012 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32013 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32014 ld.so.cache was broken. With it, there is no way to disable dsocaps
32015 like LD_HWCAP_MASK can disable hwcaps.
32016
23d101d8
EPM
320172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32018
32019 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32020
cc9f2e47
UD
320212010-07-16 Ulrich Drepper <drepper@redhat.com>
32022
32023 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32024 call in strcasestr.
32025 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32026 __strcasestr_sse42_nonascii.
32027 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32028 strcasestr-nonascii.c.
32029 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32030
77c1b069
LM
320312010-06-15 Luis Machado <luisgpm@br.ibm.com>
32032
32033 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32034 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32035 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32036 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32037
440566c3
UD
320382010-07-09 Ulrich Drepper <drepper@redhat.com>
32039
32040 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32041 fcntl.
32042
5be9d05d
AS
320432010-07-06 Andreas Schwab <schwab@redhat.com>
32044
c30b7ee2 32045 [BZ #11577]
5be9d05d
AS
32046 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32047 dl_signal_cerror.
32048
8a492a67
UD
320492010-07-06 Ulrich Drepper <drepper@redhat.com>
32050
32051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32052 _PC_PIPE_BUF using F_GETPIPE_SZ.
32053
713df3d5
RM
320542010-07-05 Roland McGrath <roland@redhat.com>
32055
32056 * manual/arith.texi (Rounding Functions): Fix rint description
32057 implicit in round description.
32058
702e8f14
UD
320592010-07-02 Ulrich Drepper <drepper@redhat.com>
32060
32061 * elf/Makefile: Fix linking for a few tests to make recent linker
32062 happy.
32063
52ed8be9
AS
320642010-06-30 Andreas Schwab <schwab@redhat.com>
32065
32066 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32067 $(common-objpfx)libc_nonshared.a.
32068
f47c9a11
LM
320692010-06-21 Luis Machado <luisgpm@br.ibm.com>
32070
32071 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32072 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32073 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32074 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32075 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32076 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32077 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32078 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32093 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32094 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32095 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32096 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32097 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32098 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32099 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32100 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32101 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32102 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32103 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32104 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32119
6fb8cbcb
L
321202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32121
32122 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32123 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32124 * string/memmove.c (memmove): Renamed to ...
32125 (MEMMOVE): ...this. Default to memmove.
32126 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32127 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32128 (END_CHK): Define.
32129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32130 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32131 mempcpy-ssse3-back memmove-ssse3-back.
32132 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32134 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32135 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32136 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32137 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32138 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32139 * sysdeps/x86_64/multiarch/memmove.c: New file.
32140 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32141 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32142 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32143 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32144 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32145 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32146 Define.
32147 (index_Fast_Copy_Backward): Define.
32148 (HAS_ARCH_FEATURE): Define.
32149 (HAS_FAST_REP_STRING): Define.
32150 (HAS_FAST_COPY_BACKWARD): Define.
32151
4e733bac 321522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32153
32154 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32155 Restore proper fallback handling.
32156
63c4ed22
UD
321572010-06-19 Ulrich Drepper <drepper@redhat.com>
32158
ac2b484c
UD
32159 [BZ #11701]
32160 * posix/group_member.c (__group_member): Correct checking loop.
32161
63c4ed22
UD
32162 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32163 OOM in getpwuid_r correctly. Return error number when the caller
32164 should return, otherwise -1.
32165 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32166 call returning > 0 value.
32167 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32168
765ade4b
AS
321692010-06-07 Andreas Schwab <schwab@redhat.com>
32170
32171 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32172 libc_nonshared.a from targets in modules-names.
32173
80da2e09
KS
321742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32175
32176 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32177 requires it.
32178
158db122
LM
321792010-06-10 Luis Machado <luisgpm@br.ibm.com>
32180
32181 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32182 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32183 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32184 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32185
caa78cf8
AS
321862010-06-02 Andreas Schwab <schwab@redhat.com>
32187
32188 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32189
b2ef2c01
UD
321902010-06-14 Ulrich Drepper <drepper@redhat.com>
32191
32192 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32193 and F_GETPIPE_SZ.
32194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32198 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32200
fbd643b6
RM
322012010-06-14 Roland McGrath <roland@redhat.com>
32202
32203 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32204
f32f2869
JJ
322052010-06-07 Jakub Jelinek <jakub@redhat.com>
32206
32207 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32208 __REDIRECT followed by __THROW.
32209 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32210 * posix/getopt.h (getopt): Likewise.
32211
2a50c078
EPM
322122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32213
32214 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32215 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32216 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32217 in AT_FLAGS.
32218 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32219 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32220
eb5ad2eb
LM
322212010-05-28 Luis Machado <luisgpm@br.ibm.com>
32222
32223 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32224
3c88fe1e
L
322252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32226
32227 [BZ #11640]
32228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32229 Properly check family and model.
32230
d2f73151
TY
322312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32232
32233 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32234
ebd2e13d
LM
322352010-05-24 Luis Machado <luisgpm@br.ibm.com>
32236
32237 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32238
b32b8b45
UD
322392010-05-21 Ulrich Drepper <drepper@redhat.com>
32240
32241 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32242 symbol reference.
32243
9acbe24d
AS
322442010-05-19 Andreas Schwab <schwab@redhat.com>
32245
32246 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32247 symbol reference.
32248
f0ccf6ea
AS
322492010-05-21 Andreas Schwab <schwab@redhat.com>
32250
3d04ff3a
AS
32251 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32252 and internal_recvmmsg.
32253 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32254 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32255 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32256 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32257
f0ccf6ea
AS
32258 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32259 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32260 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32261
5b08ac57
AS
322622010-05-20 Andreas Schwab <schwab@redhat.com>
32263
32264 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32265
4828935d
LM
322662010-05-17 Luis Machado <luisgpm@br.ibm.com>
32267
32268 POWER7 optimizations.
32269 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32270 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32271
373d545e
UD
322722010-05-19 Ulrich Drepper <drepper@redhat.com>
32273
32274 * version.h: Update for 2.13 development version.
32275
21a2b1ae
AS
322762010-05-12 Andrew Stubbs <ams@codesourcery.com>
32277
32278 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32279 exceptions. Return 0.
32280
3f7dcb2b
RM
322812010-05-07 Roland McGrath <roland@redhat.com>
32282
32283 * elf/ldconfig.c (main): Add a const.
32284
5f24d53a 322852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32286
a160f8d8
UD
32287 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32288 (args_options): Add no-idn option.
32289 (ahosts_keys_int): Add idn_flags to ai_flags.
32290 (parse_option): Handle 'i' option to clear idn_flags.
32291
5f24d53a
UD
32292 * malloc/malloc.c (_int_free): Possible race in the most recently
32293 added check. Only act on the data if no current modification
32294 happened.
265bb1ce
UD
32295
32296See ChangeLog.17 for earlier changes.
This page took 3.842787 seconds and 5 git commands to generate.