]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix dependencies for stdlib/tst-tls-atexit
[glibc.git] / ChangeLog
CommitLineData
ffabd393
AS
12013-08-26 Andreas Schwab <schwab@suse.de>
2
3 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5
e0a69f5c
SP
62013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7
8 * nscd/aicache.c (addhstaiX): Fix indentation.
9
8c12f01d
MF
102013-08-25 Mike Frysinger <vapier@gentoo.org>
11
12 * configure.ac: Quote $build_pt_chown test.
13 * configure: Regenerated.
14
8fe89494
JM
152013-08-23 Joseph Myers <joseph@codesourcery.com>
16
17 [BZ #15532]
18 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19 * math/s_cexpf.c (__cexpf): Likewise.
20 * math/s_cexpl.c (__cexpl): Likewise.
21 * math/libm-test.inc (cexp_test_data): Correct expected return
22 value for NaN + i0. Add another test.
23
75b181d6
DM
242013-08-22 David S. Miller <davem@davemloft.net>
25
26 * po/ca.po: Update Catalan translation from translation project.
936241e4 27 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 28
acd06bb1
JM
292013-08-21 Joseph Myers <joseph@codesourcery.com>
30
31 [BZ #15797]
32 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33 is infinite, not alongside NaN test.
34 * math/s_fdimf.c (__fdimf): Likewise.
35 * math/s_fdiml.c (__fdiml): Likewise.
36 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
37 errno is unchanged.
38
c0c3f78a
OB
392013-08-21 Ondřej Bílka <neleai@seznam.cz>
40
41 * argp/argp-help.c: Fix typos.
42 * crypt/speeds.c: Likewise.
43 * csu/check_fds.c: Likewise.
44 * elf/dl-load.c: Likewise.
45 * elf/dl-open.c: Likewise.
46 * elf/reldep3.c: Likewise.
47 * elf/reldep.c: Likewise.
48 * elf/sprof.c: Likewise.
49 * iconv/iconv_charmap.c: Likewise.
50 * iconv/skeleton.c: Likewise.
51 * iconv/strtab.c: Likewise.
52 * io/lockf64.c: Likewise.
53 * libio/libioP.h: Likewise.
54 * resolv/gai_notify.c: Likewise.
55 * resolv/ns_name.c: Likewise.
56 * resolv/ns_samedomain.c: Likewise.
57 * resolv/res_send.c: Likewise.
58 * stdlib/random.c: Likewise.
59 * sunrpc/rpc/xdr.h: Likewise.
60 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
61 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
66 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68 * sysdeps/mach/hurd/check_fds.c: Likewise.
69 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
70 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
71 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
73 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
74 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
75 * sysdeps/pthread/aio_notify.c: Likewise.
76 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
77 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
78 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
79 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
81
46ed1038
LD
822013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
83
84 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
85 version if bit_Slow_SSE4_2 is set.
86 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88
d400dcac
AZ
892013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90
91 [BZ #15867]
92 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
93 trampoline stack frame information.
94 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
95 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
96 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
97 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
98 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
99 * sysdeps/unix/sysv/linux/powerpc/init-first.c
100 (_libc_vdso_platform_setup): Initialize the signal trampolines.
101 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
102 sa_flags value.
103 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
104 interrupting a syscall and set with option SA_SIGINFO.
105
42c8fdd8
JM
1062013-08-20 Joseph Myers <joseph@codesourcery.com>
107
c980f2f4
JM
108 [BZ #15531]
109 * math/s_cproj.c (__cproj): Only return an infinity if one part of
110 argument is infinite.
111 * math/s_cprojf.c (__cprojf): Likewise.
112 * math/s_cprojl.c (__cprojl): Likewise.
113 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
114 * math/libm-test.inc (cproj_test_data): Add more tests.
115
0716c4fc
JM
116 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
117
42c8fdd8
JM
118 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
119 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
120 size. Use __ffs to determine corresponding shift.
121
b31469d0
JM
1222013-08-20 Joseph Myers <joseph@codesourcery.com>
123 Roland McGrath <roland@hack.frob.com>
124
125 * Makefile (INSTALL): Remove trailing blank lines from output of
126 makeinfo.
127
4e39af6e
AK
1282013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
129
130 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
131 Align 32 bit compat elf_greg to 8 bytes.
132
f315524e
AA
1332013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
134
135 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
136
1326ba1a
SP
1372013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
138
139 * string/strcoll_l.c (coll_seq): New structure.
140 (get_next_seq_cached): New function.
141 (get_next_seq): New function.
142 (do_compare): New function.
143 (STRCOLL): Use GNU style definition. Simplify implementation
144 by using get_next_seq, get_next_seq_cached and do_compare.
145
91ce4085
FW
1462013-08-16 Florian Weimer <fweimer@redhat.com>
147
148 [BZ #14699]
149 CVE-2013-4237
150 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
151 member.
152 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
153 member.
154 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
155 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
156 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
157 conditional.
158 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
159 GETDENTS_64BIT_ALIGNED.
160 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
161 * manual/filesys.texi (Reading/Closing Directory): Document
162 ENAMETOOLONG return value of readdir_r. Recommend readdir more
163 strongly.
164 * manual/conf.texi (Limits for Files): Add portability note to
165 NAME_MAX, PATH_MAX.
166 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
167
ca0a6bc4
AS
1682013-08-13 Andreas Schwab <schwab@suse.de>
169
170 [BZ #15749]
171 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
172 of fabs.
173 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
174 LDBL_MAX_EXP >= 16384]: Add tests for it.
175
6c1fd795
DM
1762013-08-12 David S. Miller <davem@davemloft.net>
177
178 * version.h (RELEASE): Set to "development".
179 (VERSION): Set to "2.18.90".
180 * NEWS: Add 2.19 section.
181
31ad488d
DM
1822013-08-03 David S. Miller <davem@davemloft.net>
183
184 * po/ko.po: Update Korean translation from translation project.
185
db24e684
DM
1862013-08-01 David S. Miller <davem@davemloft.net>
187
188 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
189 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
190 Bilka.
191
f723285b
DM
1922013-07-30 David S. Miller <davem@davemloft.net>
193
194 * po/fr.po: Update French translation from translation project.
195
3cbc52db
DM
1962013-07-28 David S. Miller <davem@davemloft.net>
197
30bbc0cc
DM
198 * po/cs.po: Update Czech translation from translation project.
199
3cbc52db
DM
200 * po/sv.po: Update Swedish translation from translation project.
201
d492e6d0
DM
2022013-07-27 David S. Miller <davem@davemloft.net>
203
f1a7f492
DM
204 * po/eo.po: Update Esperanto translation from translation project.
205
90e62a4a
DM
206 * po/vi.po: Update Vietnamese translation from translation project.
207
d492e6d0
DM
208 * po/de.po: Update German translation from translation project.
209
d4baa62d
DM
2102013-07-26 David S. Miller <davem@davemloft.net>
211
641aa7b4
DM
212 * po/bg.po: Update Bulgarian translation from translation project.
213
d4baa62d
DM
214 * po/nl.po: Update Dutch translation from translation project.
215 * po/pl.po: Update Polish translation from translation project.
216 * po/ru.po: Update Russian translation from translation project.
217
61a9dcb9
DM
2182013-07-24 David S. Miller <davem@davemloft.net>
219
220 * po/libc.pot: Update.
221
7b1f8b58
AZ
2222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
223
224 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
225 variable page size.
226 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
227 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
228 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
229
a8fc7a03
AK
2302013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
231
232 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
233
e4608715
CD
2342013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
235 Andreas Schwab <schwab@suse.de>
236 Roland McGrath <roland@hack.frob.com>
237 Joseph Myers <joseph@codesourcery.com>
238 Carlos O'Donell <carlos@redhat.com>
239
240 [BZ #15755]
241 * config.h.in: Define HAVE_PT_CHOWN.
242 * config.make.in (build-pt-chown): New variable.
243 * configure.in (--enable-pt_chown): New configure option.
244 * configure: Regenerate.
245 * login/Makefile: Include Makeconfig. Build pt_chown only if
246 build-pt-chown is enabled.
247 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
248 pt_chown to fix pty ownership.
249 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
250 CLOSE_ALL_FDS.
251 * manual/install.texi (Configuring and compiling): Mention
252 --enable-pt_chown. Add @findex for grantpt.
253 * INSTALL: Regenerate.
254
da2d62df
DM
2552013-07-20 David S. Miller <davem@davemloft.net>
256
257 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
258 difference between 32-bit and 64-bit.
259
d7e06450
CD
2602013-07-15 Carlos O'Donell <carlos@redhat.com>
261
262 [BZ #15711]
263 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
264 Avoid system header dependency with -ffreestanding.
265 ($(objpfx)bits/syscall%d): Likewise.
266
f959cfd7
DM
2672013-07-13 David S. Miller <davem@davemloft.net>
268
269 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
270 underflows from atanl/atan2l due to bug 15319.
271 (casinh_test_data): Likewise.
272
c61f8513
DM
2732013-07-07 David S. Miller <davem@davemloft.net>
274
275 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
276
72c90ed0
JA
2772013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
278
279 * sysdeps/i386/fpu/libm-test-ulps: Update.
280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
281
52dfbe13
SP
2822013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
283
284 * configure.in (--enable-lock-elision): Fix message text.
285 * INSTALL: Regenerate.
286 * configure: Regenerate.
287
3f169543
AZ
2882013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
289
290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
291
521c6785
AJ
2922013-07-03 Andreas Jaeger <aj@suse.de>
293
294 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
295 define.
296 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
297 (ptrace_peeksiginfo_args): Add.
298 (__ptrace_peeksiginfo_flags): Add.
299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
300 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
302
d2cc15cb
AM
3032013-07-03 Allan McRae <allan@archlinux.org>
304
305 * sysdeps/i386/fpu/libm-test-ulps: Update.
306
3aaeeca7
DM
3072013-07-02 David S. Miller <davem@davemloft.net>
308
309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
310
5314ed1a
MT
3112013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
312
313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
314
67338156
JM
3152013-07-02 Joseph Myers <joseph@codesourcery.com>
316
317 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
319
1717da59
AK
3202013-07-02 Andi Kleen <ak@linux.intel.com>
321
322 * config.h.in (ENABLE_LOCK_ELISION): Add.
323 * configure.in (--enable-lock-elision): Add option.
324 * manual/install.texi: Document --enable lock elision.
325 * configure: Regenerate
326 * INSTALL: Regenerate.
327
1c81621c
L
3282013-07-02 H.J. Lu <hongjiu.lu@intel.com>
329
330 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
331 SSE4.2 strcasecmp for libc.a.
332 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
333
77f01ab5
JM
3342013-07-02 Joseph Myers <joseph@codesourcery.com>
335
336 [BZ #13304]
337 * soft-fp/op-common.h (_FP_FMA): New macro.
338 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
339 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
340 (_FP_MUL_MEAT_1_imm): ... here.
341 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
342 (_FP_MUL_MEAT_1_wide): ... here.
343 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
344 (_FP_MUL_MEAT_1_hard): ... here.
345 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
346 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
347 (_FP_MUL_MEAT_2_wide): ... here.
348 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
349 (_FP_MUL_MEAT_2_wide_3mul): ... here.
350 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
351 (_FP_MUL_MEAT_2_gmp): ... here.
352 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
353 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
354 (_FP_MUL_MEAT_4_wide): ... here.
355 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
356 (_FP_MUL_MEAT_4_gmp): ... here.
357 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
358 (_FP_WFRACBITS_DW_S): Likewise.
359 (_FP_WFRACXBITS_DW_S): Likewise.
360 (_FP_HIGHBIT_DW_S): Likewise.
361 (FP_FMA_S): Likewise.
362 (_FP_FRAC_HIGH_DW_S): Likewise.
363 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
364 (_FP_WFRACBITS_DW_D): Likewise.
365 (_FP_WFRACXBITS_DW_D): Likewise.
366 (_FP_HIGHBIT_DW_D): Likewise.
367 (FP_FMA_D): Likewise.
368 (_FP_FRAC_HIGH_DW_D): Likewise.
369 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
370 (_FP_WFRACBITS_DW_E): Likewise.
371 (_FP_WFRACXBITS_DW_E): Likewise.
372 (_FP_HIGHBIT_DW_E): Likewise.
373 (FP_FMA_E): Likewise.
374 (_FP_FRAC_HIGH_DW_E): Likewise.
375 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
376 (_FP_WFRACBITS_DW_Q): Likewise.
377 (_FP_WFRACXBITS_DW_Q): Likewise.
378 (_FP_HIGHBIT_DW_Q): Likewise.
379 (FP_FMA_Q): Likewise.
380 (_FP_FRAC_HIGH_DW_Q): Likewise.
381 * soft-fp/fmasf4.c: New file.
382 * soft-fp/fmadf4.c: Likewise.
383 * soft-fp/fmatf4.c: Likewise.
384
6308fd9a
LD
3852013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
386
387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
388 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
389 Silvermont.
390 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
391 macro.
392 (index_Slow_SSE4_2): Likewise.
393 (index_Prefer_PMINUB_for_stringop): Likewise.
394 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
395 bit_Slow_SSE4_2 is set.
396 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
397 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
398
89cd9569
RA
3992013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
400
401 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
402 rtld_global._dl_hwcap2.
403 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
404 POWER8.
405 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
406 POWER8 feature descriptions defined in _dl_hwcap2.
407 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
408 string handling for POWER8 feature bits.
409 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
410 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
411 _dl_powerpc_cap_flags.
412 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
413 * sysdeps/powerpc/rtld-global-offsets.sym
414 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
415 _dl_hwcap2 in the rtld_global_ro structure.
416
1ae8bfe0
RA
4172013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
418
419 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
420 hardware capabilities in support of AT_HWCAP2.
421 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
422 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
423 GLRO(dl_hwcap2).
424 (_dl_show_auxv): Add support for calling _dl_procinfo to display
425 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
426 explicitly the unknown a_type display mechanism is used.
427 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
428 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
429 struct member.
430 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
431 to macro prototype for AT_HWCAP2 support.
432 * sysdeps/i386/dl-procinfo.h: Likewise.
433 * sysdeps/s390/dl-procinfo.h: Likewise.
434 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
435 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
436 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
437 return -1 for unknown a_type display fallback.
438 * sysdeps/sparc/dl-procinfo.h: Likewise.
439 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
440 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
441
8fbec010
JM
4422013-06-28 Joseph Myers <joseph@codesourcery.com>
443
444 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
445 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
446
0432680e
PY
4472013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
448
449 [BZ #12492]
450 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
451 mprotect making __stack_prot writable.
452
ce61a2ad
NF
4532013-06-28 Nathan Froyd <froydnj@codesourcery.com>
454 Joseph Myers <joseph@codesourcery.com>
455
456 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
457 as being properly aligned.
458
f91f1c0f
MR
4592013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
460
3d0f5d0c
MR
461 * dlfcn/modstatic5.c: New file.
462 * dlfcn/tststatic5.c: New file.
463 * dlfcn/Makefile (tests): Add tststatic5.
464 (tests-static): Likewise.
465 (modules-names): Add modstatic5.
466 (tststatic5-ENV): New variable.
467 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
468
f91f1c0f
MR
469 [BZ #15022]
470 * elf/dl-support.c (_dl_main_map): New variable.
471 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
472 (_dl_nns, _dl_load_adds): Set to 1.
473 (_dl_initial_searchlist): Refer to _dl_main_map.
474 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
475 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
476 call to _dl_get_origin.
477 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
478 around call_map.
479 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
480 * dlfcn/modstatic3.c: New file.
481 * dlfcn/tststatic3.c: New file.
482 * dlfcn/tststatic4.c: New file.
483 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
484 (tests-static): Likewise.
485 (modules-names): Add modstatic3.
486 (tststatic3-ENV, tststatic4-ENV): New variables.
487 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
488 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
489
cbe7d24b
JM
4902013-06-26 Joseph Myers <joseph@codesourcery.com>
491
492 * configure.in (CC): Require GCC version 4.4 or later.
493 * configure: Regenerated.
494 * manual/install.texi (Tools for Compilation): Update GCC version
495 requirement.
496 * INSTALL: Regenerated.
497
11b8a0e1
LD
4982013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
499
500 [BZ #15674]
bb5bb87c
L
501 * string/test-memcmp.c (check2): New.
502 (main): Call check2.
503
11b8a0e1
LD
504 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
505
b0037103
MR
5062013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
507
508 [BZ #15022]
509 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
510 over to...
511 (dl_open_worker) [!SHARED]: ... here.
512
c18c701d
RA
5132013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
514
515 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
516
1d17fa5f
RH
5172013-06-25 Richard Henderson <rth@redhat.com>
518
519 * locale/programs/locarchive.c: Include <libc-internal.h>
520
8fcb833a
JM
5212013-06-25 Joseph Myers <joseph@codesourcery.com>
522
523 * manual/texinfo.tex: Update to version 2013-06-21.17, with
524 trailing whitespace removed.
525
17db6e8d
MF
5262013-06-24 Mike Frysinger <vapier@gentoo.org>
527
528 [BZ #10283]
17db6e8d
MF
529 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
530 * locale/programs/locarchive.c: Include libc-mmap.h.
531 (prepare_address_space): Take two new outputs (the mmap base and len).
532 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
533 values.
534 (create_archive): Declare new mmap base and len values for
535 prepare_address_space, and store the result in ah.
536 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
537 (enlarge_archive): If ah->mmap_base is not NULL, use that and
538 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
539 Declare new mmap base and len values for
540 prepare_address_space, and store the result in new_ah.
541 (open_archive): Declare new mmap base and len values for
542 prepare_address_space, and store the result in ah.
543 (close_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 * sysdeps/generic/libc-mmap.h: New file.
546
d605071e
MF
5472013-06-24 Mike Frysinger <vapier@gentoo.org>
548
549 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
550 (ALIGN_UP): Likewise.
551 (PTR_ALIGN_DOWN): Likewise.
552 (PTR_ALIGN_UP): Likewise.
553
2f063a6e
RA
5542013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
555
556 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
557 entry mapped to PPC_PLATFORM_POWER8.
558 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
559 POWER8.
560 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
561 (_dl_string_platform): Add case for exporting platform position for
562 POWER8.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
564 search path to sysdeps/powerpc/powerpc32/power8 directory.
565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
566 search path to sysdeps/powerpc/powerpc64/power8 directory.
567 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
568 power7 directories.
569 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
570 power7 directories.
571
a31ee4b3
SP
5722013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
573
a74ca98f
SP
574 * INSTALL: Regenerate.
575
a31ee4b3
SP
576 * nscd/connections.c (nscd_init): Fix comment.
577
695c378f
JM
5782013-06-22 Joseph Myers <joseph@codesourcery.com>
579
d8412221
JM
580 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
581
695c378f
JM
582 [BZ #15667]
583 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
584 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
585
d1d54715
MR
5862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
587
588 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
589 DL_DST_REQ_STATIC.
590 (DL_DST_REQ_STATIC): Remove macro.
591
8fdda7af
JM
5922013-06-21 Joseph Myers <joseph@codesourcery.com>
593
594 [BZ #7006]
595 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
596 with a shift of 0 bits.
597
f3bc5e5a
MR
5982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
599
600 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
601 $(tststatic-ENV).
602
be09e8c9
KK
6032013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
604
605 [BZ #15655]
606 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
607
85c2e611
AZ
6082013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
609
610 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
611 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
612 accepts -fno-tree-loop-distribute-patterns.
613 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
614 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
615 recursive call.
616 * string/memset.c (memset): Likewise.
617 * string/test-memmove.c (simple_memmove): Disable loop transformation
618 to library calls.
619 * string/test-memset.c (simple_memset): Likewise.
620 * benchtests/bench-memmove.c (simple_memmove): Likewise.
621 * benchtests/bench-memset.c (simple_memset): Likewise.
622 * configure: Regenerated.
623
c91e0825
JM
6242013-06-20 Joseph Myers <joseph@codesourcery.com>
625
b8c792af
JM
626 * math/test-misc.c (main): Ignore fesetround failure when failures
627 of subsequent rounding tests would be ignored.
628
c91e0825
JM
629 [BZ #15654]
630 * math/fedisblxcpt.c (fedisableexcept): Return 0.
631 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
632 * math/fegetenv.c (__fegetenv): Return 0.
633 * math/fegetexcept.c (fegetexcept): Return 0.
634 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
635 FE_TONEAREST.
636 * math/feholdexcpt.c (feholdexcept): Return 0.
637 * math/fesetenv.c (__fesetenv): Return 0.
638 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
639 argument FE_TONEAREST.
640 * math/feupdateenv.c (__feupdateenv): Return 0.
641 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
642
bfcacbde
RM
6432013-06-18 Roland McGrath <roland@hack.frob.com>
644
645 * elf/rtld-Rules (rtld-compile-command.S): New variable.
646 (rtld-compile-command.s, rtld-compile-command.c): New variables.
647 ($(objpfx)rtld-%.os rules): Use them.
648
e55a9b25
AZ
6492013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
650
651 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
652 fields.
653
346d65b3
RM
6542013-06-17 Roland McGrath <roland@hack.frob.com>
655
12086fb4
RM
656 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
657 length of target pattern, then descending length of dependency pattern.
658 * configure.in (AWK): Require gawk 3.1.2 or newer.
659 * manual/install.texi (Tools for Compilation): Say that we do.
660 * configure: Regenerated.
661
346d65b3
RM
662 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
663 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
664 * scripts/sysd-rules.awk: ... this new script.
665 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
666 than a glob-style pattern.
667
1a846317
JM
6682013-06-17 Joseph Myers <joseph@codesourcery.com>
669
670 * math/test-misc.c (main): Do not treat incorrectly rounded
671 conversions as failure unless ROUNDING_TESTS passes.
672
8fc75e6f
JM
6732013-06-15 Joseph Myers <joseph@codesourcery.com>
674
3711a167
JM
675 [BZ #15631]
676 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
677 restore exception state around main square root computation, then
678 check for inexactness explicitly.
679
8fc75e6f
JM
680 * math/libm-test.inc (fma_test_data): Add another test.
681
61dd6208
SP
6822013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
683
adf23d2c
SP
684 * manual/threads.texi (Non-POSIX Extensions): New document
685 node. Document pthread_getattr_default_np and
686 pthread_setattr_default_np.
687
61dd6208
SP
688 * Versions.def (libpthread): Add GLIBC_2.18.
689 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
691 Likewise.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
693 Likewise.
694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
695 Likewise.
696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
697 Likewise.
698 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
699 Likewise.
700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
701 Likewise.
702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
703 Likewise.
704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
705 Likewise.
706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
707 Likewise.
708
d086fc7b
LD
7092013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
710
711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
712 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
713
747ef469
SP
7142013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
715 H.J. Lu <hjl.tools@gmail.com>
716
717 [BZ #15627]
718 * sysdeps/x86_64/rtld-memset.c: Remove file.
719 * sysdeps/x86_64/rtld-memset.S: New file.
720
1b2feed2
JM
7212013-06-14 Joseph Myers <joseph@codesourcery.com>
722
723 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
724 (test_in_one_mode): Take arguments for whether the rounding mode
725 is supported for each floating-point type.
726 (do_test): Pass new arguments to test_in_one_mode using
727 ROUNDING_TESTS.
728
a58ad3f8
RM
7292013-06-13 Roland McGrath <roland@hack.frob.com>
730
731 * posix/tst-waitid.c (do_test): Distinguish different instances of
732 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
733 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
734 before entering the kernel for waitpid.
735
c204ab28
SP
7362013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
737
738 * NEWS: Fix note on clock function precision. Text by Roland
739 McGrath.
740
f4a29fba
RM
7412013-06-13 Roland McGrath <roland@hack.frob.com>
742
743 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
744 it into place only when and if the sanity check passes.
745
1f24b9ad
JM
7462013-06-13 Joseph Myers <joseph@codesourcery.com>
747
748 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
749 output for whether conversion result is exact. Take argument
750 indicating whether type is IBM long double.
751 (round_for_all): Change need_exact field to ibm_ld.
752 * stdlib/tst-strtod-round.c (struct exactness): New type.
753 (struct test): Change bool ld_ok field to struct exactness exact.
754 (TEST): Update all definitions for change to field.
755 (tests): Regenerate array contents.
756 (test_in_one_mode): Take pointer to new field instead of old ld_ok
757 field value. Check for IBM long double here.
758 (do_test): Update calls to test_in_one_mode.
759
58206c68
SP
7602013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
761
762 [BZ #12515]
763 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
764 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
765
2d6f4c5b 7662013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
767
768 [BZ #15605]
769 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
770 generated by the compiler on loop optimizations.
771 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
772 general definitions.
773
94f2c076
JM
7742013-06-12 Joseph Myers <joseph@codesourcery.com>
775
776 * math/bug-nextafter.c: Include <math-tests.h>.
777 (main): Only test for exceptions if EXCEPTION_TESTS is true for
778 the relevant type.
779 * math/bug-nexttoward.c: Include <math-tests.h>.
780 (main): Only test for exceptions if EXCEPTION_TESTS is true for
781 the relevant type.
782 * math/test-misc.c: Include <math-tests.h>.
783 (main): Only test for exceptions if EXCEPTION_TESTS is true for
784 the relevant type.
785
e0e50a0a
AJ
7862013-06-12 Andreas Jaeger <aj@suse.de>
787
788 * po/ia.po: Update Interlingua translation from translation
789 project.
790
25061094
SP
7912013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
792
793 * include/fenv.h: Include stdbool.h.
794 (struct rm_ctx): New structure.
795 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
796 Define macro.
797 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
798 (SET_RESTORE_ROUNDF): Likewise.
799 (SET_RESTORE_ROUNDL): Likewise.
800 (SET_RESTORE_ROUND_NOEX): Likewise.
801 (SET_RESTORE_ROUND_NOEXF): Likewise.
802 (SET_RESTORE_ROUND_NOEXL): Likewise.
803 (SET_RESTORE_ROUND_53BIT): Likewise.
804 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
805 (libc_feresetround_noexf_ctx): Likewise.
806 (libc_feresetround_noexl_ctx): Likewise.
807 (libc_feholdsetround_53bit_ctx): Likewise.
808 (libc_feresetround_53bit_ctx): Likewise.
809 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
810 (libc_feholdexcept_setround_sse_ctx): New function.
811 (libc_fesetenv_sse_ctx): Likewise.
812 (libc_feupdateenv_sse_ctx): Likewise.
813 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
814 (libc_feholdexcept_setround_387_ctx): Likewise.
815 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
816 (libc_feholdsetround_387_prec_ctx): Likewise.
817 (libc_feholdsetround_387_ctx): Likewise.
818 (libc_feholdsetround_387_53bit_ctx): Likewise.
819 (libc_feholdsetround_sse_ctx): Likewise.
820 (libc_feresetround_sse_ctx): Likewise.
821 (libc_feresetround_387_ctx): Likewise.
822 (libc_feupdateenv_387_ctx): Likewise.
823 (libc_feholdexcept_setroundf_ctx): Define macro.
824 (libc_fesetenvf_ctx): Likewise.
825 (libc_feupdateenvf_ctx): Likewise.
826 (libc_feholdsetroundf_ctx): Likewise.
827 (libc_feresetroundf_ctx): Likewise.
828 (libc_feholdexcept_setround_ctx): Likewise.
829 (libc_fesetenv_ctx): Likewise.
830 (libc_feupdateenv_ctx): Likewise.
831 (libc_feholdsetround_ctx): Likewise.
832 (libc_feresetround_ctx): Likewise.
833 (libc_feholdexcept_setroundl_ctx): Likewise.
834 (libc_feupdateenvl_ctx): Likewise.
835 (libc_feholdsetroundl_ctx): Likewise.
836 (libc_feresetroundl_ctx): Likewise.
837 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
838 (libc_feresetround_53bit_ctx): Likewise.
839
59b30555
SP
8402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
841
842 * locale/iso-639.def: Convert to UTF-8.
843
f1d73d30
JM
8442013-06-11 Joseph Myers <joseph@codesourcery.com>
845
846 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
847 (EXCEPTION_TESTS_double): Likewise.
848 (EXCEPTION_TESTS_long_double): Likewise.
849 (EXCEPTION_TESTS): Likewise.
850 * math/libm-test.inc (test_exceptions): Only test exceptions if
851 EXCEPTION_TESTS (FLOAT).
852
94aca5e7
SP
8532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
854
855 * benchtests/Makefile (string-bench): Add strcpy_chk and
856 stpcpy_chk.
857 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
858 * benchtests/bench-stpcpy_chk.c: New file.
859 * benchtests/bench-strcpy_chk-ifunc.c: New file.
860 * benchtests/bench-strcpy_chk.c: New file.
861 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
862 code.
863 (do_test): Likewise.
864
fac0c5f2
RA
8652013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
866
867 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
868 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
869 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
870 with tabs where appropriate.
871 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
872 dl-procinfo.h.
873 [PPC_PLATFORM_PPC440]: Likewise.
874 [PPC_PLATFORM_PPC464]: Likewise.
875 [PPC_PLATFORM_PPC476]: Likewise.
876 (_dl_string_platform): Add support for detecting ppc405, ppc440,
877 ppc464, and ppc476 platform strings merging from ports/
878 dl-procinfo.h.
879
f22bc486
AS
8802013-06-11 Andreas Schwab <schwab@suse.de>
881
882 [BZ #14991]
883 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
884 (from_ucs4_idx): Regenerate.
885 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
886 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
887 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
888 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
889 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
890 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
891 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
892 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
893 from FROM_LOOP and TO_LOOP specific macros.
894 (BODY): Handle combining characters.
895 * iconvdata/BIG5HKSCS.irreversible: Update.
896 * iconvdata/BIG5HKSCS.precomposed: New file.
897 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
898 characters.
899 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
900
c1f75dc3
SP
9012013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
902
4eacded2
SP
903 * include/sys/time.h: Fix indentation and add copyright header.
904
fec799f8
SP
905 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
906 (do_test): Likewise.
907 * string/test-memchr.c (do_one_test): Likewise.
908 (do_test): Likewise.
909 * string/test-memcmp.c (do_one_test): Likewise.
910 (do_test): Likewise.
911 * string/test-memcpy.c (do_one_test): Likewise.
912 (do_test): Likewise.
913 * string/test-memmem.c (do_one_test): Likewise.
914 (do_test): Likewise.
915 (do_random_tests): Likewise.
916 * string/test-memmove.c (do_one_test): Likewise.
917 (do_test): Likewise.
918 * string/test-memset.c (do_one_test): Likewise.
919 (do_test): Likewise.
920 * string/test-rawmemchr.c (do_one_test): Likewise.
921 (do_test): Likewise.
922 * string/test-strcasecmp.c (do_one_test): Likewise.
923 (do_test): Likewise.
924 * string/test-strcasestr.c (do_one_test): Likewise.
925 (do_test): Likewise.
926 * string/test-strcat.c (do_one_test): Likewise.
927 (do_test): Likewise.
928 * string/test-strchr.c (do_one_test): Likewise.
929 (do_test): Likewise.
930 * string/test-strcmp.c (do_one_test): Likewise.
931 (do_test): Likewise.
932 * string/test-strcpy.c (do_one_test): Likewise.
933 (do_test): Likewise.
934 * string/test-string.h: Likewise.
935 (test_init): Likewise.
936 * string/test-strlen.c (do_one_test): Likewise.
937 (do_test): Likewise.
938 * string/test-strncasecmp.c (do_one_test): Likewise.
939 (do_test): Likewise.
940 * string/test-strncat.c (do_one_test): Likewise.
941 (do_test): Likewise.
942 * string/test-strncmp.c (do_one_test): Likewise.
943 (do_test_limit): Likewise.
944 (do_test): Likewise.
945 * string/test-strncpy.c (do_one_test): Likewise.
946 (do_test): Likewise.
947 * string/test-strnlen.c (do_one_test): Likewise.
948 (do_test): Likewise.
949 * string/test-strpbrk.c (do_one_test): Likewise.
950 (do_test): Likewise.
951 * string/test-strrchr.c (do_one_test): Likewise.
952 (do_test): Likewise.
953 * string/test-strspn.c (do_one_test): Likewise.
954 (do_test): Likewise.
955 * string/test-strstr.c (do_one_test): Likewise.
956 (do_test): Likewise.
957
97020474
SP
958 * benchtests/Makefile (string-bench): Add string benchmarks.
959 * benchtests/bench-bcopy-ifunc.c: New file.
960 * benchtests/bench-bcopy.c: New file.
961 * benchtests/bench-bzero-ifunc.c: New file.
962 * benchtests/bench-bzero.c: New file.
963 * benchtests/bench-memccpy-ifunc.c: New file.
964 * benchtests/bench-memccpy.c: New file.
965 * benchtests/bench-memchr-ifunc.c: New file.
966 * benchtests/bench-memchr.c: New file.
967 * benchtests/bench-memcmp-ifunc.c: New file.
968 * benchtests/bench-memcmp.c: New file.
969 * benchtests/bench-memmem-ifunc.c: New file.
970 * benchtests/bench-memmem.c: New file.
971 * benchtests/bench-memmove-ifunc.c: New file.
972 * benchtests/bench-memmove.c: New file.
973 * benchtests/bench-mempcpy-ifunc.c: New file.
974 * benchtests/bench-mempcpy.c: New file.
975 * benchtests/bench-memset-ifunc.c: New file.
976 * benchtests/bench-memset.c: New file.
977 * benchtests/bench-rawmemchr-ifunc.c: New file.
978 * benchtests/bench-rawmemchr.c: New file.
979 * benchtests/bench-stpcpy-ifunc.c: New file.
980 * benchtests/bench-stpcpy.c: New file.
981 * benchtests/bench-stpncpy-ifunc.c: New file.
982 * benchtests/bench-stpncpy.c: New file.
983 * benchtests/bench-strcasecmp-ifunc.c: New file.
984 * benchtests/bench-strcasecmp.c: New file.
985 * benchtests/bench-strcasestr-ifunc.c: New file.
986 * benchtests/bench-strcasestr.c: New file.
987 * benchtests/bench-strcat-ifunc.c: New file.
988 * benchtests/bench-strcat.c: New file.
989 * benchtests/bench-strchr-ifunc.c: New file.
990 * benchtests/bench-strchr.c: New file.
991 * benchtests/bench-strchrnul-ifunc.c: New file.
992 * benchtests/bench-strchrnul.c: New file.
993 * benchtests/bench-strcmp-ifunc.c: New file.
994 * benchtests/bench-strcmp.c: New file.
995 * benchtests/bench-strcpy-ifunc.c: New file.
996 * benchtests/bench-strcpy.c: New file.
997 * benchtests/bench-strcspn-ifunc.c: New file.
998 * benchtests/bench-strcspn.c: New file.
999 * benchtests/bench-strlen-ifunc.c: New file.
1000 * benchtests/bench-strlen.c: New file.
1001 * benchtests/bench-strncasecmp-ifunc.c: New file.
1002 * benchtests/bench-strncasecmp.c: New file.
1003 * benchtests/bench-strncat-ifunc.c: New file.
1004 * benchtests/bench-strncat.c: New file.
1005 * benchtests/bench-strncmp-ifunc.c: New file.
1006 * benchtests/bench-strncmp.c: New file.
1007 * benchtests/bench-strncpy-ifunc.c: New file.
1008 * benchtests/bench-strncpy.c: New file.
1009 * benchtests/bench-strnlen-ifunc.c: New file.
1010 * benchtests/bench-strnlen.c: New file.
1011 * benchtests/bench-strpbrk-ifunc.c: New file.
1012 * benchtests/bench-strpbrk.c: New file.
1013 * benchtests/bench-strrchr-ifunc.c: New file.
1014 * benchtests/bench-strrchr.c: New file.
1015 * benchtests/bench-strspn-ifunc.c: New file.
1016 * benchtests/bench-strspn.c: New file.
1017 * benchtests/bench-strstr-ifunc.c: New file.
1018 * benchtests/bench-strstr.c: New file.
1019
c1f75dc3
SP
1020 * benchtests/Makefile: Disable parallel execution of targets.
1021 (string-bench): Add memcpy.
1022 (benchset): New variable to store a list of benchmark sets.
1023 (bench-func): Renamed from bench.
1024 (bench-set): New target.
1025 (bench): Depend on bench-func and bench-set.
1026 * benchtests/README: Add section on benchmark sets.
1027 * benchtests/bench-memcpy-ifunc.c: New file.
1028 * benchtests/bench-memcpy.c: New file.
1029 * benchtests/bench-string.h: New file.
1030
50fd745b
AS
10312013-06-11 Andreas Schwab <schwab@suse.de>
1032
1033 [BZ #15577]
1034 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1035 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1036 values in the triple.
1037 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1038 terminator in the group key.
1039
3ee7e9fe
AJ
10402013-06-11 Andreas Jaeger <aj@suse.de>
1041
1042 * po/zh_TW.po: Update Chinese (traditional) translation from
1043 translation project.
1044
89fb6835
SP
10452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1046
1047 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1048 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1049 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1050 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1051 (clock_getcpuclockid): Likewise.
1052 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1053 Add weak_alias and libc_hidden_def.
1054 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1055 * rt/clock_gettime.c (clock_gettime): Rename to
1056 __clock_gettime. Add weak_alias and libc_hidden_def.
1057 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1058 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1059 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1060 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1061 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1062 Likewise.
1063 * rt/clock_settime.c (clock_settime): Rename to
1064 __clock_settime. Add weak_alias and libc_hidden_def.
1065 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1066
0efa6f8b
JM
10672013-06-10 Joseph Myers <joseph@codesourcery.com>
1068
b8c61b4b
JM
1069 * mach/err_boot.sub: Remove trailing whitespace.
1070 * mach/err_ipc.sub: Likewise.
1071 * mach/err_mach.sub: Likewise.
1072
0efa6f8b
JM
1073 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1074 (ROUNDING_TESTS_double): Likewise.
1075 (ROUNDING_TESTS_long_double): Likewise.
1076 (ROUNDING_TESTS): Likewise.
1077 * math/libm-test.inc: Include <math-tests.h>.
1078 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1079 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1080 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1081 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1082
50b818bf
SP
10832013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1084
1085 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1086 of assigning.
1087
60d2f8f3
JM
10882013-06-08 Joseph Myers <joseph@codesourcery.com>
1089
4902d2c3
JM
1090 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1091 otherwise empty TRANS lines.
1092 * sysdeps/gnu/errlist.c: Regenerated.
1093
60d2f8f3
JM
1094 * catgets/gencat.c (error_print): Use (void) in function
1095 definition.
1096 * crypt/crypt_util.c (__init_des): Likewise.
1097 * crypt/speeds.c (Stop): Likewise.
1098 (main): Likewise.
1099 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1100 * inet/ruserpass.c (token): Likewise.
1101 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1102 * intl/localealias.c (extend_alias_table): Likewise.
1103 * intl/plural-exp.c (init_germanic_plural): Likewise.
1104 * libio/fcloseall.c (__fcloseall): Likewise.
1105 * libio/genops.c (_IO_flush_all): Likewise.
1106 (_IO_flush_all_linebuffered): Likewise.
1107 (_IO_cleanup): Likewise.
1108 (_IO_iter_begin): Likewise.
1109 (_IO_iter_end): Likewise.
1110 (_IO_list_lock): Likewise.
1111 (_IO_list_unlock): Likewise.
1112 (_IO_list_resetlock): Likewise.
1113 * libio/getchar.c (getchar): Likewise.
1114 * libio/getchar_u.c (getchar_unlocked): Likewise.
1115 * libio/getwchar.c (getwchar): Likewise.
1116 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1117 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1118 * login/getpt.c (__getpt): Likewise.
1119 * login/tst-utmp.c (main): Likewise.
1120 * malloc/hooks.c (__malloc_check_init): Likewise.
1121 * malloc/malloc.c (__malloc_stats): Likewise.
1122 * malloc/mtrace.c (tr_break): Likewise.
1123 (mtrace): Likewise.
1124 (muntrace): Likewise.
1125 * misc/fstab.c (endfsent): Likewise.
1126 * misc/getclktck.c (__getclktck): Likewise.
1127 * misc/getdtsz.c (__getdtablesize): Likewise.
1128 * misc/gethostid.c (gethostid): Likewise.
1129 * misc/getpagesize.c (__getpagesize): Likewise.
1130 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1131 (__get_nprocs): Likewise.
1132 (__get_phys_pages): Likewise.
1133 (__get_avphys_pages): Likewise.
1134 * misc/getttyent.c (getttyent): Likewise.
1135 (setttyent): Likewise.
1136 (endttyent): Likewise.
1137 * misc/getusershell.c (getusershell): Likewise.
1138 (endusershell): Likewise.
1139 (setusershell): Likewise.
1140 (initshells): Likewise.
1141 * misc/hsearch.c (__hdestroy): Likewise.
1142 * misc/sync.c (sync): Likewise.
1143 * misc/syslog.c (closelog_internal): Likewise.
1144 (closelog): Likewise.
1145 * misc/ttyslot.c (ttyslot): Likewise.
1146 * misc/vhangup.c (vhangup): Likewise.
1147 * posix/fork.c (__fork): Likewise.
1148 * posix/getegid.c (__getegid): Likewise.
1149 * posix/geteuid.c (__geteuid): Likewise.
1150 * posix/getgid.c (__getgid): Likewise.
1151 * posix/getpid.c (__getpid): Likewise.
1152 * posix/getppid.c (__getppid): Likewise.
1153 * posix/getuid.c (__getuid): Likewise.
1154 * posix/pause.c (pause): Likewise.
1155 * posix/setpgrp.c (setpgrp): Likewise.
1156 * posix/setsid.c (__setsid): Likewise.
1157 * posix/test-vfork.c (noop): Likewise.
1158 * resolv/gethnamaddr.c (_endhtent): Likewise.
1159 (_gethtent): Likewise.
1160 (ht_endhostent): Likewise.
1161 (gethostent): Likewise.
1162 (dns_service): Likewise.
1163 * stdlib/drand48.c (drand48): Likewise.
1164 * stdlib/lrand48.c (lrand48): Likewise.
1165 * stdlib/mrand48.c (mrand48): Likewise.
1166 * stdlib/rand.c (rand): Likewise.
1167 * stdlib/random.c (__random): Likewise.
1168 * stdlib/setenv.c (clearenv): Likewise.
1169 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1170 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1171 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1172 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1173 (__get_nprocs): Likewise.
1174 (__get_phys_pages): Likewise.
1175 (__get_avphys_pages): Likewise.
1176 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1177 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1178 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1179 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1180 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1181 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1182 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1183 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1184 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1185 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1186 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1187 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1188 * sysdeps/posix/clock.c (clock): Likewise.
1189 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1190 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1191 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1192 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1193 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1195 (__get_nprocs_conf): Likewise.
1196 (__get_phys_pages): Likewise.
1197 (__get_avphys_pages): Likewise.
1198 * time/clock.c (clock): Likewise.
1199 * time/tzset.c (__tzname_max): Likewise.
1200
2e09a79a
JM
12012013-06-07 Joseph Myers <joseph@codesourcery.com>
1202
1203 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1204 (__bswap_32): Do not use "register".
1205 * crypt/crypt.c (_ufc_doit_r): Likewise.
1206 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1207 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1208 * gmon/gmon.c (__monstartup): Likewise.
1209 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1210 * hurd/hurdmalloc.c (more_memory): Likewise.
1211 (malloc): Likewise.
1212 (free): Likewise.
1213 (realloc): Likewise.
1214 (malloc_fork_prepare): Likewise.
1215 (malloc_fork_parent): Likewise.
1216 (malloc_fork_child): Likewise.
1217 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1218 (_svcauth_des): Likewise.
1219 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1220 * inet/inet_net.c (inet_network): Likewise.
1221 * inet/inet_netof.c (inet_netof): Likewise.
1222 * inet/rcmd.c (__validuser2_sa): Likewise.
1223 * io/fts.c (fts_open): Likewise.
1224 (fts_load): Likewise.
1225 (fts_close): Likewise.
1226 (fts_read): Likewise.
1227 (fts_children): Likewise.
1228 (fts_build): Likewise.
1229 (fts_stat): Likewise.
1230 (fts_sort): Likewise.
1231 (fts_alloc): Likewise.
1232 (fts_lfree): Likewise.
1233 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1234 (_IO_file_xsgetn): Likewise.
1235 (_IO_file_xsgetn_mmap): Likewise.
1236 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1237 (_IO_cookie_write): Likewise.
1238 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1239 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1240 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1241 * malloc/obstack.c (_obstack_begin): Likewise.
1242 (_obstack_begin_1): Likewise.
1243 (_obstack_newchunk): Likewise.
1244 (_obstack_allocated_p): Likewise.
1245 (obstack_free): Likewise.
1246 (_obstack_memory_used): Likewise.
1247 * misc/getttyent.c (getttynam): Likewise.
1248 (getttyent): Likewise.
1249 (skip): Likewise.
1250 (value): Likewise.
1251 * misc/getusershell.c (initshells): Likewise.
1252 * misc/syslog.c (__vsyslog_chk): Likewise.
1253 * misc/ttyslot.c (ttyslot): Likewise.
1254 * nis/nis_hash.c (__nis_hash): Likewise.
1255 * posix/fnmatch_loop.c (FCT): Likewise.
1256 * posix/getconf.c (print_all): Likewise.
1257 (main): Likewise.
1258 * posix/getopt.c (exchange): Likewise.
1259 * posix/glob.c (globfree): Likewise.
1260 (prefix_array): Likewise.
1261 (__glob_pattern_type): Likewise.
1262 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1263 (NS_GET32): Likewise.
1264 (NS_PUT16): Likewise.
1265 (NS_PUT32): Likewise.
1266 * resolv/gethnamaddr.c (getanswer): Likewise.
1267 (gethostbyname2): Likewise.
1268 (gethostbyaddr): Likewise.
1269 (_gethtent): Likewise.
1270 (_gethtbyname2): Likewise.
1271 (_gethtbyaddr): Likewise.
1272 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1273 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1274 * resolv/res_init.c (__res_vinit): Likewise.
1275 (net_mask): Likewise.
1276 * resolv/res_mkquery.c (outchar): Likewise.
1277 (PRINT): Likewise.
1278 * stdio-common/printf_fp.c (outchar): Likewise.
1279 (PRINT): Likewise.
1280 * stdio-common/printf_fphex.c (outchar): Likewise.
1281 (PRINT): Likewise.
1282 * stdio-common/printf_size.c (outchar): Likewise.
1283 (PRINT): Likewise.
1284 * stdio-common/test_rdwr.c (main): Likewise.
1285 * stdio-common/tfformat.c (matches): Likewise.
1286 * stdio-common/vfprintf.c (outchar): Likewise.
1287 (printf_unknown): Likewise.
1288 (buffered_vfprintf): Likewise.
1289 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1290 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1291 (ReadFile): Likewise.
1292 * stdlib/qsort.c (SWAP): Likewise.
1293 (_quicksort): Likewise.
1294 * stdlib/setenv.c (__add_to_environ): Likewise.
1295 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1296 * stdlib/strtol_l.c (__strtol_l): Likewise.
1297 * stdlib/tst-strtod.c (main): Likewise.
1298 * stdlib/tst-strtol.c (main): Likewise.
1299 * stdlib/tst-strtoll.c (main): Likewise.
1300 * string/bits/string2.h (__strcmp_cc): Likewise.
1301 (__strcmp_cg): Likewise.
1302 (__strcspn_c1): Likewise.
1303 (__strcspn_c2): Likewise.
1304 (__strcspn_c3): Likewise.
1305 (__strspn_c1): Likewise.
1306 (__strspn_c2): Likewise.
1307 (__strspn_c3): Likewise.
1308 (__strsep_1c): Likewise.
1309 (__strsep_2c): Likewise.
1310 (__strsep_3c): Likewise.
1311 * string/memccpy.c (__memccpy): Likewise.
1312 * string/stpcpy.c (__stpcpy): Likewise.
1313 * string/strcmp.c (strcmp): Likewise.
1314 * string/strrchr.c (strrchr): Likewise.
1315 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1316 Likewise.
1317 * sysdeps/mach/hurd/getcwd.c
1318 (_hurd_canonicalize_directory_name_internal): Likewise.
1319 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1320 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1321 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1322 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1323 Likewise, in both definitions.
1324 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1325 definitions.
1326 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1327 64] (__bswap_64): Likewise.
1328 * time/test_time.c (main): Likewise.
1329 * time/tzfile.c (__tzfile_read): Likewise.
1330 (__tzfile_compute): Likewise.
1331 * time/tzset.c (__tzset_parse_tz): Likewise.
1332 (tzset_internal): Likewise.
1333 (compute_change): Likewise.
1334 * wcsmbs/wcscat.c (__wcscat): Likewise.
1335 * wcsmbs/wcschr.c (wcschr): Likewise.
1336 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1337 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1338 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1339 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1340 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1341 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1342 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1343 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1344 * wcsmbs/wmemset.c (wmemset): Likewise.
1345
9e54314b
JM
13462013-06-06 Joseph Myers <joseph@codesourcery.com>
1347
1348 * scripts/config.guess: Update to version 2013-05-16.
1349 * scripts/config.sub: Update to version 2013-04-24.
1350 * scripts/install-sh: Update to version 2011-11-20.07.
1351 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1352 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1353
350635a5
OB
13542013-06-06 Ondřej Bílka <neleai@seznam.cz>
1355
1356 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1357 * elf/sln.c: Likewise.
1358 * hurd/hurd/ioctl.h: Likewise.
1359 * hurd/hurdmalloc.c: Likewise.
1360 * hurd/xattr.c: Likewise.
1361 * include/shlib-compat.h: Likewise.
1362 * inet/ruserpass.c: Likewise.
1363 * libio/iofgets_u.c: Likewise.
1364 * libio/iofgetws_u.c: Likewise.
1365 * locale/programs/ld-identification.c: Likewise.
1366 * locale/programs/ld-time.c: Likewise.
1367 * mach/msg-destroy.c: Likewise.
1368 * nss/nss_files/files-netgrp.c: Likewise.
1369 * resolv/res_data.c: Likewise.
1370 * soft-fp/op-1.h: Likewise.
1371 * soft-fp/op-2.h: Likewise.
1372 * soft-fp/op-4.h: Likewise.
1373 * soft-fp/op-common.h: Likewise.
1374 * stdio-common/printf_fphex.c: Likewise.
1375 * stdlib/strtod_l.c: Likewise.
1376 * sunrpc/rpc/clnt.h: Likewise.
1377 * sysdeps/generic/framestate.c: Likewise.
1378 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1379 * sysdeps/i386/bsd-setjmp.S: Likewise.
1380 * sysdeps/i386/__longjmp.S: Likewise.
1381 * sysdeps/i386/setjmp.S: Likewise.
1382 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1383 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1385 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1389 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1400 * sysdeps/ieee754/support.c: Likewise.
1401 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1402 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1403 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1404 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1405 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1406 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1407 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1408 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1409 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1410 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1411 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1412 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1413 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1414 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1415 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1416 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1417 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1419
44a988af
OB
14202013-06-05 Ondřej Bílka <neleai@seznam.cz>
1421
25506f09 1422 * posix/transbug.c: Remove executable mode.
44a988af 1423
9c84384c
JM
14242013-06-05 Joseph Myers <joseph@codesourcery.com>
1425
1426 * crypt/speeds.c: Remove trailing whitespace.
1427 * dlfcn/default.c: Likewise.
1428 * elf/ifuncdep2.c: Likewise.
1429 * elf/ifuncmain1.c: Likewise.
1430 * elf/ifuncmain1vis.c: Likewise.
1431 * elf/testobj.h: Likewise.
1432 * elf/tst-stackguard1.c: Likewise.
1433 * gmon/sys/gmon.h: Likewise.
1434 * hurd/hurdmsg.c: Likewise.
1435 * hurd/new-fd.c: Likewise.
1436 * hurd/ports-get.c: Likewise.
1437 * iconvdata/ibm1008_420.c: Likewise.
1438 * inet/tst-getni1.c: Likewise.
1439 * inet/tst-getni2.c: Likewise.
1440 * libio/ioungetc.c: Likewise.
1441 * libio/wfiledoalloc.c: Likewise.
1442 * manual/libm-err-tab.pl: Likewise.
1443 * math/w_dremf.c: Likewise.
1444 * misc/ftruncate.c: Likewise.
1445 * posix/bug-glob2.c: Likewise.
1446 * posix/tst-pcre.c: Likewise.
1447 * posix/wait4.c: Likewise.
1448 * resolv/README: Likewise.
1449 * resolv/res_debug.h: Likewise.
1450 * resolv/tst-inet_ntop.c: Likewise.
1451 * setjmp/bug269-setjmp.c: Likewise.
1452 * soft-fp/extended.h: Likewise.
1453 * soft-fp/op-1.h: Likewise.
1454 * soft-fp/op-2.h: Likewise.
1455 * soft-fp/op-4.h: Likewise.
1456 * soft-fp/op-8.h: Likewise.
1457 * soft-fp/testit.c: Likewise.
1458 * stdio-common/bug16.c: Likewise.
1459 * stdlib/random.c: Likewise.
1460 * sunrpc/rpcsvc/rquota.x: Likewise.
1461 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1462 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1463 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1464 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1465 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1466 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1467 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1468 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1469 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1470 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1471 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1472 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1473 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1474 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1475 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1476 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1477 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1479 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1480 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1482 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1483 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1484 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1485 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1486 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1487 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1488 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1490 * sysdeps/ieee754/s_lib_version.c: Likewise.
1491 * sysdeps/mach/hurd/check_fds.c: Likewise.
1492 * sysdeps/mach/hurd/getsockname.c: Likewise.
1493 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1494 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1495 * sysdeps/powerpc/bits/link.h: Likewise.
1496 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1497 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1498 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1499 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1500 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1501 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1502 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1503 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1504 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1505 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1506 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1507 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1508 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1509 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1510 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1511 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1513 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1514 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1515 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1516 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1517 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1518 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1519 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1520 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1521 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1522 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1523 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1524 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1526 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1527 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1529 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1530 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1532 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1533 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1536 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1537 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1538 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1539 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1540 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1541 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1543 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1544 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1546 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1548 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1549 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1550 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1551 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1552 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1553 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1554 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1555 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1556 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1560 * sysdeps/powerpc/sysdep.h: Likewise.
1561 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1562 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1563 * sysdeps/sh/dl-trampoline.S: Likewise.
1564 * sysdeps/sh/memset.S: Likewise.
1565 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1566 * sysdeps/sh/strlen.S: Likewise.
1567 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1568 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1569 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1570 * sysdeps/sparc/sparc32/rem.S: Likewise.
1571 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1572 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1573 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1574 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1575 * sysdeps/sparc/sparc32/urem.S: Likewise.
1576 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1577 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1578 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1579 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1581 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1582 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1583 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1584 * sysdeps/unix/bsd/times.c: Likewise.
1585 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1586 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1590 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1591 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1592 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1593 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1594 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1595 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1596 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1597 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1598 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1599 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1600 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1601 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1602 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1603 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1604 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1605 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1606 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1607 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1608 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1609 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1610 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1611 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1613 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1614 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1615 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1616 * sysdeps/x86_64/strcspn.S: Likewise.
1617
869378a5
RA
16182013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1619
1620 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1621 generated file. Regenerate properly from gen-translit.pl.
1622 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1623 locale/C-translit.h.
1624
840e2943
AS
16252013-06-05 Andreas Schwab <schwab@suse.de>
1626
1627 [BZ #15100]
1628 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1629 week as 6 instead of -1.
1630 * time/tst-strptime.c (day_tests): Add test case.
1631
4c60cb0c
SP
16322013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1633
1634 * sysdeps/generic/math_private.h
1635 (libc_feholdexcept_setround_53bit): Replace with
1636 libc_feholdsetround_53bit.
1637 (libc_feupdateenv_53bit): Replace with
1638 libc_feresetround_53bit.
1639 (SET_RESTORE_ROUND_53BIT): Adjust.
1640
d180203e
SP
16412013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1642
96df079a
SP
1643 * string/test-strchrnul.c: Add copyright header.
1644
d180203e
SP
1645 * posix/tst-getaddrinfo4.c: Increase test timeout.
1646
8b0ccb2d
CD
16472013-06-03 Carlos O'Donell <carlos@redhat.com>
1648
1649 [BZ #15536]
1650 * math/libm-test.inc (MAX_EXP): Remove
1651 (MIN_EXP): Define.
1652 (ulp): Use MIN_EXP - MANT_DIG.
1653 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1654
3b3c4d40
CD
16552013-05-31 Carlos O'Donell <carlos@redhat.com>
1656
1657 * po/be.po: Revert last change.
1658 * po/zh_CN.po: Likewise.
1659 * po/header.pot: Likewise.
1660
fab7ce3f
JM
16612013-05-31 Joseph Myers <joseph@codesourcery.com>
1662
1663 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1664 link-libc-deps to empty as target-specific variable.
1665 * Makerules (link-libc-args): New variable.
1666 (libc-for-link): Likewise.
1667 (link-libc-deps): Likewise.
1668 (lib%.so): Depend on $(link-libc-deps). Link with
1669 $(link-libc-args).
1670 (build-module): Link with $(link-libc-args).
1671 (build-module-asneeded): Likewise.
1672 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1673 list of objects.
1674 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1675 target-specific variable.
1676 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1677 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1678 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1679 libc.
1680 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1681 libc and ld.so.
1682 ($(objpfx)libpcprofile.so): Likewise.
1683 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1684 libc_nonshared.a.
1685 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1686 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1687 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1688 $(link-libc-deps).
1689 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1690 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1691 * login/Makefile ($(objpfx)libutil.so): Likewise.
1692 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1693 * math/Makefile ($(objpfx)libm.so): Likewise.
1694 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1695 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1696 variable instead of depending directly on libc.
1697 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1698 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1699 $(link-libc-deps).
1700 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1701 libc.
1702 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1703 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1704 ($(objpfx)libanl.so): Likewise.
1705 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1706 ld.so.
1707 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1708 $(link-libc-deps).
1709 * sysdeps/i386/fpu/Makefile: Remove file.
1710 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1711 ($(objpfx)libm.so): Remove dependency on ld.so.
1712
eca5920c
PF
17132013-05-30 Patsy Franklin <pfrankli@redhat.com>
1714
1715 [BZ # 15553]
1716 * nis/yp_xdr.c (XDRMAXNAME): Define.
1717 (XDRMAXRECORD): Define.
1718 (xdr_domainname): Use XDRMAXNAME.
1719 (xdr_mapname): Likewise.
1720 (xdr_peername): Likewise.
1721 (xdr_keydat): Use XDRMAXRECORD.
1722 (xdr_valdat): Likewise.
1723
17242013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1725
1726 [BZ #14256]
1727 * manual/errno.texi (ESTALE): Update to account for more than
1728 just NFS file systems.
1729 * sysdeps/gnu/errlist.c: Regenerated.
1730
b9375348
SP
17312013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1732
1733 [BZ #15465]
1734 * elf/Makefile (tests): Add tst-null-argv.
1735 (modules-names): Add tst-null-argv-lib.
1736 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1737 (tst-null-argv-ENV): Set environment for tst-null-argv.
1738 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1739 (RTLD_PROGNAME): New macro.
1740 * elf/tst-null-argv.c: New test case.
1741 * elf/tst-null-argv-lib.c: Library for test case.
1742 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1743 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1744 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1745 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1746 * elf/dl-init.c (call_init): Likewise.
1747 (_dl_init): Likewise.
1748 * elf/dl-load.c (print_search_path): Likewise.
1749 (_dl_map_object): Likewise.
1750 * elf/dl-lookup.c (do_lookup_x): Likewise.
1751 (add_dependency): Likewise.
1752 (_dl_lookup_symbol_x): Likewise.
1753 (_dl_debug_bindings): Likewise.
1754 * elf/dl-open.c (_dl_show_scope): Likewise.
1755 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1756 * elf/dl-version.c (match_symbol): Likewise.
1757 (_dl_check_map_versions): Likewise.
1758 * elf/rtld.c (dl_main): Likewise.
1759 (print_unresolved): Use RTLD_PROGNAME.
1760 (print_missing_version): Likewise.
1761 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1762 (elf_machine_rela): Likewise.
1763 * sysdeps/powerpc/powerpc32/dl-machine.c
1764 (__process_machine_rela): Likewise.
1765 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1766 Likewise.
1767 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1768 Likewise.
1769 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1770 Likewise.
1771 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1773 Likewise.
1774 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1775 Likewise.
1776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1777
8a9f20c8
CD
17782013-05-28 Carlos O'Donell <carlos@redhat.com>
1779
1780 * po/be.po: Add descriptive title.
1781 * po/zh_CN.po: Likewise.
1782 * po/header.pot: Likewise.
1783
0e60d68e
MF
17842013-05-28 Mike Frysinger <vapier@gentoo.org>
1785
1786 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1787 error message.
1788 (enlarge_archive): Likewise.
1789
56b672e9
BN
17902013-05-28 Ben North <ben@redfrontdoor.org>
1791
1792 * manual/arith.texi (frexp): It is the magnitude of the return
1793 value which lies in [0.5, 1), not the return value itself.
1794
5e056687
AZ
17952013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1796
1797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1798
2b66ef5d
TS
17992013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1800
528c2405
TS
1801 * stdio-common/bug26.c (main): Correct fscanf template.
1802
07b4c13d
TS
1803 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1804 declare _dl_skip_args.
1805
ec9dd97c
TS
1806 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1807 Don't declare.
1808
2b66ef5d
TS
1809 * manual/platform.texi: Add missing @end deftypefun.
1810
4f8dfe27
JM
18112013-05-24 Joseph Myers <joseph@codesourcery.com>
1812
0323d086
JM
1813 [BZ #15529]
1814 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1815 bit of mantissa of 2^16382.
1816 * math/libm-test.inc (hypot_test_data): Add more tests.
1817
dd4259b9
JM
1818 * math/libm-test.inc: Add drem and pow10 to list of tested
1819 functions.
1820 (pow10_test): New function.
1821 (drem_test): Likewise.
1822 (drem_test_tonearest): Likewise.
1823 (drem_test_towardzero): Likewise.
1824 (drem_test_downward): Likewise.
1825 (drem_test_upward): Likewise.
1826 (main): Call the new functions.
1827
4f8dfe27
JM
1828 * math/libm-test.inc (finite_test_data): Remove.
1829 (finite_test): Run tests from isfinite_test_data.
1830 (gamma_test_data): Remove.
1831 (gamma_test): Run tests from lgamma_test_data.
1832 * sysdeps/i386/fpu/libm-test-ulps: Update.
1833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1834
d116b7c4
AZ
18352013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836
1837 * manual/platform.texi: Add PowerPC PPR function set documentation.
1838 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1839 implementation.
1840
e96e3767
CD
18412013-05-24 Carlos O'Donell <carlos@redhat.com>
1842
1843 * math/libm-test.inc (MAX_EXP): Define.
1844 (ULPDIFF): Define.
1845 (ulp): New function.
1846 (check_float_internal): Use ULPDIFF.
1847 (cpow_test): Disable failing test.
1848 (check_ulp): Test ulp() implemetnation.
1849 (main): Call check_ulp before starting tests.
1850
b679a606
JM
18512013-05-24 Joseph Myers <joseph@codesourcery.com>
1852
e8bdba36
JM
1853 * math/gen-libm-test.pl (generate_testfile): Do not handle
1854 START_DATA and END_DATA.
1855 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1856 END_DATA.
1857 (acos_tonearest_test_data): Likewise.
1858 (acos_towardzero_test_data): Likewise.
1859 (acos_downward_test_data): Likewise.
1860 (acos_upward_test_data): Likewise.
1861 (acosh_test_data): Likewise.
1862 (asin_test_data): Likewise.
1863 (asin_tonearest_test_data): Likewise.
1864 (asin_towardzero_test_data): Likewise.
1865 (asin_downward_test_data): Likewise.
1866 (asin_upward_test_data): Likewise.
1867 (asinh_test_data): Likewise.
1868 (atan_test_data): Likewise.
1869 (atanh_test_data): Likewise.
1870 (atan2_test_data): Likewise.
1871 (cabs_test_data): Likewise.
1872 (cacos_test_data): Likewise.
1873 (cacosh_test_data): Likewise.
1874 (carg_test_data): Likewise.
1875 (casin_test_data): Likewise.
1876 (casinh_test_data): Likewise.
1877 (catan_test_data): Likewise.
1878 (catanh_test_data): Likewise.
1879 (cbrt_test_data): Likewise.
1880 (ccos_test_data): Likewise.
1881 (ccosh_test_data): Likewise.
1882 (ceil_test_data): Likewise.
1883 (cexp_test_data): Likewise.
1884 (cimag_test_data): Likewise.
1885 (clog_test_data): Likewise.
1886 (clog10_test_data): Likewise.
1887 (conj_test_data): Likewise.
1888 (copysign_test_data): Likewise.
1889 (cos_test_data): Likewise.
1890 (cos_tonearest_test_data): Likewise.
1891 (cos_towardzero_test_data): Likewise.
1892 (cos_downward_test_data): Likewise.
1893 (cos_upward_test_data): Likewise.
1894 (cosh_test_data): Likewise.
1895 (cosh_tonearest_test_data): Likewise.
1896 (cosh_towardzero_test_data): Likewise.
1897 (cosh_downward_test_data): Likewise.
1898 (cosh_upward_test_data): Likewise.
1899 (cpow_test_data): Likewise.
1900 (cproj_test_data): Likewise.
1901 (creal_test_data): Likewise.
1902 (csin_test_data): Likewise.
1903 (csinh_test_data): Likewise.
1904 (csqrt_test_data): Likewise.
1905 (ctan_test_data): Likewise.
1906 (ctan_tonearest_test_data): Likewise.
1907 (ctan_towardzero_test_data): Likewise.
1908 (ctan_downward_test_data): Likewise.
1909 (ctan_upward_test_data): Likewise.
1910 (ctanh_test_data): Likewise.
1911 (ctanh_tonearest_test_data): Likewise.
1912 (ctanh_towardzero_test_data): Likewise.
1913 (ctanh_downward_test_data): Likewise.
1914 (ctanh_upward_test_data): Likewise.
1915 (erf_test_data): Likewise.
1916 (erfc_test_data): Likewise.
1917 (exp_test_data): Likewise.
1918 (exp_tonearest_test_data): Likewise.
1919 (exp_towardzero_test_data): Likewise.
1920 (exp_downward_test_data): Likewise.
1921 (exp_upward_test_data): Likewise.
1922 (exp10_test_data): Likewise.
1923 (exp2_test_data): Likewise.
1924 (expm1_test_data): Likewise.
1925 (fabs_test_data): Likewise.
1926 (fdim_test_data): Likewise.
1927 (finite_test_data): Likewise.
1928 (floor_test_data): Likewise.
1929 (fma_test_data): Likewise.
1930 (fma_towardzero_test_data): Likewise.
1931 (fma_downward_test_data): Likewise.
1932 (fma_upward_test_data): Likewise.
1933 (fmax_test_data): Likewise.
1934 (fmin_test_data): Likewise.
1935 (fmod_test_data): Likewise.
1936 (fpclassify_test_data): Likewise.
1937 (frexp_test_data): Likewise.
1938 (gamma_test_data): Likewise.
1939 (hypot_test_data): Likewise.
1940 (ilogb_test_data): Likewise.
1941 (isfinite_test_data): Likewise.
1942 (isgreater_test_data): Likewise.
1943 (isgreaterequal_test_data): Likewise.
1944 (isinf_test_data): Likewise.
1945 (isless_test_data): Likewise.
1946 (islessequal_test_data): Likewise.
1947 (islessgreater_test_data): Likewise.
1948 (isnan_test_data): Likewise.
1949 (isnormal_test_data): Likewise.
1950 (issignaling_test_data): Likewise.
1951 (isunordered_test_data): Likewise.
1952 (j0_test_data): Likewise.
1953 (j1_test_data): Likewise.
1954 (jn_test_data): Likewise.
1955 (ldexp_test_data): Likewise.
1956 (lgamma_test_data): Likewise.
1957 (lrint_test_data): Likewise.
1958 (lrint_tonearest_test_data): Likewise.
1959 (lrint_towardzero_test_data): Likewise.
1960 (lrint_downward_test_data): Likewise.
1961 (lrint_upward_test_data): Likewise.
1962 (llrint_test_data): Likewise.
1963 (llrint_tonearest_test_data): Likewise.
1964 (llrint_towardzero_test_data): Likewise.
1965 (llrint_downward_test_data): Likewise.
1966 (llrint_upward_test_data): Likewise.
1967 (log_test_data): Likewise.
1968 (log10_test_data): Likewise.
1969 (log1p_test_data): Likewise.
1970 (log2_test_data): Likewise.
1971 (logb_test_data): Likewise.
1972 (logb_downward_test_data): Likewise.
1973 (lround_test_data): Likewise.
1974 (llround_test_data): Likewise.
1975 (modf_test_data): Likewise.
1976 (nearbyint_test_data): Likewise.
1977 (nextafter_test_data): Likewise.
1978 (nexttoward_test_data): Likewise.
1979 (pow_test_data): Likewise.
1980 (pow_tonearest_test_data): Likewise.
1981 (pow_towardzero_test_data): Likewise.
1982 (pow_downward_test_data): Likewise.
1983 (pow_upward_test_data): Likewise.
1984 (remainder_test_data): Likewise.
1985 (remainder_tonearest_test_data): Likewise.
1986 (remainder_towardzero_test_data): Likewise.
1987 (remainder_downward_test_data): Likewise.
1988 (remainder_upward_test_data): Likewise.
1989 (remquo_test_data): Likewise.
1990 (rint_test_data): Likewise.
1991 (rint_tonearest_test_data): Likewise.
1992 (rint_towardzero_test_data): Likewise.
1993 (rint_downward_test_data): Likewise.
1994 (rint_upward_test_data): Likewise.
1995 (round_test_data): Likewise.
1996 (scalb_test_data): Likewise.
1997 (scalbn_test_data): Likewise.
1998 (scalbln_test_data): Likewise.
1999 (signbit_test_data): Likewise.
2000 (sin_test_data): Likewise.
2001 (sin_tonearest_test_data): Likewise.
2002 (sin_towardzero_test_data): Likewise.
2003 (sin_downward_test_data): Likewise.
2004 (sin_upward_test_data): Likewise.
2005 (sincos_test_data): Likewise.
2006 (sinh_test_data): Likewise.
2007 (sinh_tonearest_test_data): Likewise.
2008 (sinh_towardzero_test_data): Likewise.
2009 (sinh_downward_test_data): Likewise.
2010 (sinh_upward_test_data): Likewise.
2011 (sqrt_test_data): Likewise.
2012 (tan_test_data): Likewise.
2013 (tan_tonearest_test_data): Likewise.
2014 (tan_towardzero_test_data): Likewise.
2015 (tan_downward_test_data): Likewise.
2016 (tan_upward_test_data): Likewise.
2017 (tanh_test_data): Likewise.
2018 (tgamma_test_data): Likewise.
2019 (trunc_test_data): Likewise.
2020 (y0_test_data): Likewise.
2021 (y1_test_data): Likewise.
2022 (yn_test_data): Likewise.
2023 (significand_test_data): Likewise.
2024
b679a606
JM
2025 * math/gen-libm-test.pl (@functions): Remove variable.
2026 (generate_testfile): Don't handle START and END lines.
2027 * math/libm-test.inc (START): New macro.
2028 (END): Likewise.
2029 (END_COMPLEX): Likewise.
2030 (acos_test): Use END macro without arguments.
2031 (acos_test_tonearest): Likewise.
2032 (acos_test_towardzero): Likewise.
2033 (acos_test_downward): Likewise.
2034 (acos_test_upward): Likewise.
2035 (acosh_test): Likewise.
2036 (asin_test): Likewise.
2037 (asin_test_tonearest): Likewise.
2038 (asin_test_towardzero): Likewise.
2039 (asin_test_downward): Likewise.
2040 (asin_test_upward): Likewise.
2041 (asinh_test): Likewise.
2042 (atan_test): Likewise.
2043 (atanh_test): Likewise.
2044 (atan2_test): Likewise.
2045 (cabs_test): Likewise.
2046 (cacos_test): Use END_COMPLEX macro without arguments.
2047 (cacosh_test): Likewise.
2048 (carg_test): Use END macro without arguments.
2049 (casin_test): Use END_COMPLEX macro without arguments.
2050 (casinh_test): Likewise.
2051 (catan_test): Likewise.
2052 (catanh_test): Likewise.
2053 (cbrt_test): Use END macro without arguments.
2054 (ccos_test): Use END_COMPLEX macro without arguments.
2055 (ccosh_test): Likewise.
2056 (ceil_test): Use END macro without arguments.
2057 (cexp_test): Use END_COMPLEX macro without arguments.
2058 (cimag_test): Use END macro without arguments.
2059 (clog_test): Use END_COMPLEX macro without arguments.
2060 (clog10_test): Likewise.
2061 (conj_test): Likewise.
2062 (copysign_test): Use END macro without arguments.
2063 (cos_test): Likewise.
2064 (cos_test_tonearest): Likewise.
2065 (cos_test_towardzero): Likewise.
2066 (cos_test_downward): Likewise.
2067 (cos_test_upward): Likewise.
2068 (cosh_test): Likewise.
2069 (cosh_test_tonearest): Likewise.
2070 (cosh_test_towardzero): Likewise.
2071 (cosh_test_downward): Likewise.
2072 (cosh_test_upward): Likewise.
2073 (cpow_test): Use END_COMPLEX macro without arguments.
2074 (cproj_test): Likewise.
2075 (creal_test): Use END macro without arguments.
2076 (csin_test): Use END_COMPLEX macro without arguments.
2077 (csinh_test): Likewise.
2078 (csqrt_test): Likewise.
2079 (ctan_test): Likewise.
2080 (ctan_test_tonearest): Likewise.
2081 (ctan_test_towardzero): Likewise.
2082 (ctan_test_downward): Likewise.
2083 (ctan_test_upward): Likewise.
2084 (ctanh_test): Likewise.
2085 (ctanh_test_tonearest): Likewise.
2086 (ctanh_test_towardzero): Likewise.
2087 (ctanh_test_downward): Likewise.
2088 (ctanh_test_upward): Likewise.
2089 (erf_test): Use END macro without arguments.
2090 (erfc_test): Likewise.
2091 (exp_test): Likewise.
2092 (exp_test_tonearest): Likewise.
2093 (exp_test_towardzero): Likewise.
2094 (exp_test_downward): Likewise.
2095 (exp_test_upward): Likewise.
2096 (exp10_test): Likewise.
2097 (exp2_test): Likewise.
2098 (expm1_test): Likewise.
2099 (fabs_test): Likewise.
2100 (fdim_test): Likewise.
2101 (finite_test): Likewise.
2102 (floor_test): Likewise.
2103 (fma_test): Likewise.
2104 (fma_test_towardzero): Likewise.
2105 (fma_test_downward): Likewise.
2106 (fma_test_upward): Likewise.
2107 (fmax_test): Likewise.
2108 (fmin_test): Likewise.
2109 (fmod_test): Likewise.
2110 (fpclassify_test): Likewise.
2111 (frexp_test): Likewise.
2112 (gamma_test): Likewise.
2113 (hypot_test): Likewise.
2114 (ilogb_test): Likewise.
2115 (isfinite_test): Likewise.
2116 (isgreater_test): Likewise.
2117 (isgreaterequal_test): Likewise.
2118 (isinf_test): Likewise.
2119 (isless_test): Likewise.
2120 (islessequal_test): Likewise.
2121 (islessgreater_test): Likewise.
2122 (isnan_test): Likewise.
2123 (isnormal_test): Likewise.
2124 (issignaling_test): Likewise.
2125 (isunordered_test): Likewise.
2126 (j0_test): Likewise.
2127 (j1_test): Likewise.
2128 (jn_test): Likewise.
2129 (ldexp_test): Likewise.
2130 (lgamma_test): Likewise.
2131 (lrint_test): Likewise.
2132 (lrint_test_tonearest): Likewise.
2133 (lrint_test_towardzero): Likewise.
2134 (lrint_test_downward): Likewise.
2135 (lrint_test_upward): Likewise.
2136 (llrint_test): Likewise.
2137 (llrint_test_tonearest): Likewise.
2138 (llrint_test_towardzero): Likewise.
2139 (llrint_test_downward): Likewise.
2140 (llrint_test_upward): Likewise.
2141 (log_test): Likewise.
2142 (log10_test): Likewise.
2143 (log1p_test): Likewise.
2144 (log2_test): Likewise.
2145 (logb_test): Likewise.
2146 (logb_test_downward): Likewise.
2147 (lround_test): Likewise.
2148 (llround_test): Likewise.
2149 (modf_test): Likewise.
2150 (nearbyint_test): Likewise.
2151 (nextafter_test): Likewise.
2152 (nexttoward_test): Likewise.
2153 (pow_test): Likewise.
2154 (pow_test_tonearest): Likewise.
2155 (pow_test_towardzero): Likewise.
2156 (pow_test_downward): Likewise.
2157 (pow_test_upward): Likewise.
2158 (remainder_test): Likewise.
2159 (remainder_test_tonearest): Likewise.
2160 (remainder_test_towardzero): Likewise.
2161 (remainder_test_downward): Likewise.
2162 (remainder_test_upward): Likewise.
2163 (remquo_test): Likewise.
2164 (rint_test): Likewise.
2165 (rint_test_tonearest): Likewise.
2166 (rint_test_towardzero): Likewise.
2167 (rint_test_downward): Likewise.
2168 (rint_test_upward): Likewise.
2169 (round_test): Likewise.
2170 (scalb_test): Likewise.
2171 (scalbn_test): Likewise.
2172 (scalbln_test): Likewise.
2173 (signbit_test): Likewise.
2174 (sin_test): Likewise.
2175 (sin_test_tonearest): Likewise.
2176 (sin_test_towardzero): Likewise.
2177 (sin_test_downward): Likewise.
2178 (sin_test_upward): Likewise.
2179 (sincos_test): Likewise.
2180 (sinh_test): Likewise.
2181 (sinh_test_tonearest): Likewise.
2182 (sinh_test_towardzero): Likewise.
2183 (sinh_test_downward): Likewise.
2184 (sinh_test_upward): Likewise.
2185 (sqrt_test): Likewise.
2186 (tan_test): Likewise.
2187 (tan_test_tonearest): Likewise.
2188 (tan_test_towardzero): Likewise.
2189 (tan_test_downward): Likewise.
2190 (tan_test_upward): Likewise.
2191 (tanh_test): Likewise.
2192 (tgamma_test): Likewise.
2193 (trunc_test): Likewise.
2194 (y0_test): Likewise.
2195 (y1_test): Likewise.
2196 (yn_test): Likewise.
2197 (significand_test): Likewise.
2198
bae143d2
OB
21992013-05-24 Ondřej Bílka <neleai@seznam.cz>
2200
2201 [BZ #15381]
2202 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2203
9323d39b
EM
22042013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2205
d4ea44a0 2206 [BZ #14894]
9323d39b
EM
2207 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2208 __ppc_mdoio and __ppc_mdoom.
2209 * manual/platform.texi: Document new functions __ppc_yield,
2210 __ppc_mdoio and __ppc_mdoom.
2211
13e23af7
CD
22122013-05-22 Carlos O'Donell <carlos@redhat.com>
2213
2214 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2215 (main): Mention "tls" pseudo-hwcap is legacy.
2216 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2217
351fe550
JM
22182013-05-22 Joseph Myers <joseph@codesourcery.com>
2219
2220 * math/gen-libm-test.pl (parse_args): Output only string of
2221 arguments as text for test name, not full call or descriptions of
2222 tests for extra outputs.
2223 (generate_testfile): Do not pass function name to parse_args.
2224 Generate this_func variable from START.
2225 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2226 field to arg_str.
2227 (struct test_ff_f_data): Likewise.
2228 (test_ff_f_data_nexttoward): Likewise.
2229 (struct test_fi_f_data): Likewise.
2230 (struct test_fl_f_data): Likewise.
2231 (struct test_if_f_data): Likewise.
2232 (struct test_fff_f_data): Likewise.
2233 (struct test_c_f_data): Likewise.
2234 (struct test_f_f1_data): Likewise. Remove field extra_name.
2235 (struct test_fF_f1_data): Likewise.
2236 (struct test_ffI_f1_data): Likewise.
2237 (struct test_c_c_data): Rename test_name field to arg_str.
2238 (struct test_cc_c_data): Likewise.
2239 (struct test_f_i_data): Likewise.
2240 (struct test_ff_i_data): Likewise.
2241 (struct test_f_l_data): Likewise.
2242 (struct test_f_L_data): Likewise.
2243 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2244 and extra2_name.
2245 (COMMON_TEST_SETUP): New macro.
2246 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2247 (COMMON_TEST_CLEANUP): Likewise.
2248 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2249 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2250 macros.
2251 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2252 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2253 macros.
2254 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2255 (RUN_TEST_fff_f): Take argument string. Call new setup and
2256 cleanup macros.
2257 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2258 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2259 macros.
2260 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2261 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2262 macros.
2263 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2264 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2265 cleanup macros.
2266 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2267 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2268 cleanup macros.
2269 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2270 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2271 cleanup macros.
2272 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2273 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2274 macros.
2275 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2276 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2277 macros.
2278 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2279 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2280 macros.
2281 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2282 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2283 cleanup macros.
2284 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2285 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2286 cleanup macros.
2287 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2288 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2289 macros.
2290 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2291 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2292 cleanup macros.
2293 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2294 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2295 macros.
2296 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2297 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2298 macros.
2299 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2300 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2301 cleanup macros.
2302 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2303
85118d4d
EBM
23042013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2305
2306 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2307 to _sifields.sigfault.
2308 (si_addr_lsb): Define new macro.
2309 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2310 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2311 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2312
7a44c18f
CD
23132013-05-03 Carlos O'Donell <carlos at redhat.com>
2314
2315 [BZ #15441]
2316 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2317 returns -1.
2318 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2319 null return -1.
2320 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2321 loading the domain.
2322
b50a7181
JM
23232013-05-22 Joseph Myers <joseph@codesourcery.com>
2324
2325 * math/gen-libm-test.pl (parse_args): Do not include expected
2326 result in test name.
2327 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2328 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2329 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2330 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2331 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2333
051063c8
SP
23342013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2335
3ce9e010
SP
2336 * benchtests/Makefile: Sort function entries.
2337
051063c8
SP
2338 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2339 tanh, asinh, acosh, atanh.
2340 * benchtests/acos-inputs: New file.
2341 * benchtests/acosh-inputs: New file.
2342 * benchtests/asin-inputs: New file.
2343 * benchtests/asinh-inputs: New file.
2344 * benchtests/atanh-inputs: New file.
2345 * benchtests/cosh-inputs: New file.
2346 * benchtests/log-inputs: New file.
2347 * benchtests/sinh-inputs: New file.
2348 * benchtests/tanh-inputs: New file.
2349
47c22455
DL
23502013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2351
2352 [BZ #15339]
2353 * posix/tst-getaddrinfo4.c: New test.
2354 * posix/Makefile (tests): Add it.
2355
3d04f5db
SP
23562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2357
2358 [BZ #15339]
2359 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2360 when no services were used.
2361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2362 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2363
d5dd6189
AS
23642013-05-21 Andreas Schwab <schwab@suse.de>
2365
2366 [BZ #15014]
2367 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2368 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2369 successful.
2370 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2371 redundant variable declarations and reallocation of buffer when
2372 parsing as IPv6 address. Always set NSS status when called from
2373 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2374 buffer too small. Correct computation of needed size.
2375 * nss/Makefile (tests): Add test-digits-dots.
2376 * nss/test-digits-dots.c: New test.
2377
fef94eab
SP
23782013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2379
2380 * benchtests/Makefile: Remove instructions for adding
2381 benchmark tests.
2382 * benchtests/README: New file to explain how to execute and
2383 enhance the benchmark tests.
2384
e39adf43
AS
23852013-05-21 Andreas Schwab <schwab@suse.de>
2386
2387 [BZ #15493]
2388 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2389 * setjmp/tst-sigsetjmp.c: New test.
2390
b2b671b6
OB
23912013-05-20 Ondřej Bílka <neleai@seznam.cz>
2392
2393 * sysdeps/x86_64/memset.S (memset): New implementation.
2394 (__bzero): Likewise.
2395 (__memset_tail): New function.
2396
2d48b41c
OB
23972013-05-20 Ondřej Bílka <neleai@seznam.cz>
2398
2399 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2400 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2401 __memcpy_sse2_unaligned ifunc selection.
2402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2403 Add memcpy-sse2-unaligned.S.
2404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2405 Add: __memcpy_sse2_unaligned.
2406
f16cc3eb
JM
24072013-05-19 Joseph Myers <joseph@codesourcery.com>
2408
3e694268
JM
2409 [BZ #15490]
2410 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2411 math_force_eval before restoring floating-point envrionment.
2412 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2414 Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2416 <math_private.h>.
2417 (__nearbyintl): Use math_force_eval before restoring
2418 floating-point environment.
2419 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2420
db62a907
JM
2421 * math/gen-libm-test.pl (special_functions): Remove.
2422 (parse_args): Don't handle TEST_extra. Handle functions with no
2423 return value.
2424 * math/libm-test.inc (struct test_sincos_data): Replace with
2425 struct test_fFF_11_data.
2426 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2427 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2428 (sincos_test_data): Change element type to struct
2429 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2430 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2431 RUN_TEST_LOOP_sincos.
2432 * math/README.libm-test: Don't mention special handling of
2433 individual functions.
2434 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2436 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2437 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2438 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2440
f16cc3eb
JM
2441 * math/gen-libm-test.pl (get_variable): Remove function.
2442 (parse_args): Don't show pointer parameters to call in test
2443 names. Use "extra output N" in test names for extra outputs
2444 rather than naming variables.
2445
3779b5b6
JM
24462013-05-18 Joseph Myers <joseph@codesourcery.com>
2447
2ee094ff
JM
2448 [BZ #15488]
2449 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2450 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2451 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2452 double tests.
2453 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2454 disable.
2455 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2456 check_long_double.
2457
3779b5b6
JM
2458 * math/gen-libm-test.pl (@tests): Remove variable.
2459 ($count): Likewise.
2460 (new_test): Remove function.
2461 (show_exceptions): New function.
2462 (special_functions): Use show_exceptions instead of new_test.
2463 (parse_args): Likewise.
2464 (generate_testfile): Pass only function name in generated call to
2465 print_max_error or print_complex_max_error.
2466 (get_ulps): Do not handle complex tests specially.
2467 (output_test): Rename to ...
2468 (get_all_ulps_for_test): ... this. Return a string rather than
2469 printing to a file. Require ulps to be present.
2470 (output_ulps): Generate arrays rather than #defines.
2471 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2472 (struct ulp_data): New type.
2473 (BUILD_COMPLEX_ULP): Remove macro.
2474 (compare_ulp_data): New function.
2475 (find_ulps): Likewise.
2476 (find_test_ulps): Likewise.
2477 (find_function_ulps): Likewise.
2478 (find_complex_function_ulps): Likewise.
2479 (print_max_error): Determine allowed ulps using
2480 find_function_ulps.
2481 (print_complex_max_error): Determine allowed ulps using
2482 find_complex_function_ulps.
2483 (check_float_internal): Determine max ulps using find_test_ulps.
2484 (check_float): Do not take max_ulp parameter. Update call to
2485 check_float_internal.
2486 (check_complex): Likewise.
2487 (check_int): Do not take max_ulp parameter.
2488 (check_long): Likewise.
2489 (check_bool): Likewise.
2490 (check_longlong): Likewise.
2491 (struct test_f_f_data): Remove max_ulp field.
2492 (struct test_ff_f_data): Likewise.
2493 (struct test_ff_f_data_nexttoward): Likewise.
2494 (struct test_fi_f_data): Likewise.
2495 (struct test_fl_f_data): Likewise.
2496 (struct test_if_f_data): Likewise.
2497 (struct test_fff_f_data): Likewise.
2498 (struct test_c_f_data): Likewise.
2499 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2500 (struct test_fF_f1_data): Likewise.
2501 (struct test_ffI_f1_data): Likewise.
2502 (struct test_c_c_data): Remove max_ulp field.
2503 (struct test_cc_c_data): Likewise.
2504 (struct test_f_i_data): Likewise.
2505 (struct test_ff_i_data): Likewise.
2506 (struct test_f_l_data): Likewise.
2507 (struct test_f_L_data): Likewise.
2508 (struct test_sincos_data): Likewise.
2509 (RUN_TEST_f_f): Do not handle ulps.
2510 (RUN_TEST_LOOP_f_f): Likewise.
2511 (RUN_TEST_2_f): Likewise.
2512 (RUN_TEST_LOOP_2_f): Likewise.
2513 (RUN_TEST_fff_f): Likewise.
2514 (RUN_TEST_LOOP_fff_f): Likewise.
2515 (RUN_TEST_c_f): Likewise.
2516 (RUN_TEST_LOOP_c_f): Likewise.
2517 (RUN_TEST_f_f1): Likewise.
2518 (RUN_TEST_LOOP_f_f1): Likewise.
2519 (RUN_TEST_fF_f1): Likewise.
2520 (RUN_TEST_LOOP_fF_f1): Likewise.
2521 (RUN_TEST_fI_f1): Likewise.
2522 (RUN_TEST_LOOP_fI_f1): Likewise.
2523 (RUN_TEST_ffI_f1): Likewise.
2524 (RUN_TEST_LOOP_ffI_f1): Likewise.
2525 (RUN_TEST_c_c): Likewise.
2526 (RUN_TEST_LOOP_c_c): Likewise.
2527 (RUN_TEST_cc_c): Likewise.
2528 (RUN_TEST_LOOP_cc_c): Likewise.
2529 (RUN_TEST_f_i): Likewise.
2530 (RUN_TEST_LOOP_f_i): Likewise.
2531 (RUN_TEST_f_i_tg): Likewise.
2532 (RUN_TEST_LOOP_f_i_tg): Likewise.
2533 (RUN_TEST_ff_i_tg): Likewise.
2534 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2535 (RUN_TEST_f_b): Likewise.
2536 (RUN_TEST_LOOP_f_b): Likewise.
2537 (RUN_TEST_f_b_tg): Likewise.
2538 (RUN_TEST_LOOP_f_b_tg): Likewise.
2539 (RUN_TEST_f_l): Likewise.
2540 (RUN_TEST_LOOP_f_l): Likewise.
2541 (RUN_TEST_f_L): Likewise.
2542 (RUN_TEST_LOOP_f_L): Likewise.
2543 (RUN_TEST_sincos): Likewise.
2544 (RUN_TEST_LOOP_sincos): Likewise.
2545
8269107f
JM
25462013-05-17 Joseph Myers <joseph@codesourcery.com>
2547
bb38759d
JM
2548 [BZ #15480]
2549 [BZ #15485]
2550 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2551 main case of finite arguments, set rounding mode to FE_TONEAREST
2552 and discard exceptions.
2553 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2554 exceptions.
2555 (remainder_tonearest_test_data): New variable.
2556 (remainder_test_tonearest): New function.
2557 (remainder_towardzero_test_data): New variable.
2558 (remainder_test_towardzero): New function.
2559 (remainder_downward_test_data): New variable.
2560 (remainder_test_downward): New function.
2561 (remainder_upward_test_data): New variable.
2562 (remainder_test_upward): New function.
2563 (main): Call the new test functions.
2564
a00bdcf0
JM
2565 * math/libm-test.inc (struct test_f_f1_data): Remove field
2566 extra_init.
2567 (struct test_fF_f1_data): Likewise.
2568 (struct test_ffI_f1_data): Likewise.
2569 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2570 based on value of EXTRA_EXPECTED.
2571 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2572 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2573 EXTRA_VAR based on value of EXTRA_EXPECTED.
2574 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2575 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2576 EXTRA_VAR based on value of EXTRA_EXPECTED.
2577 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2578 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2579 EXTRA_VAR based on value of EXTRA_EXPECTED.
2580 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2581 * math/gen-libm-test.pl (parse_args): Don't output initializers
2582 for extra output values.
2583
de407f79
JM
2584 * math/libm-test.inc (check_int): Expect result to be exactly
2585 equal to expected value and do not handle ulps.
2586 (check_long): Likewise.
2587 (check_longlong): Likewise.
2588
8269107f
JM
2589 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2590 exceptions.
2591 (cimag_test_data): Likewise.
2592 (conj_test_data): Likewise.
2593 (copysign_test_data): Likewise.
2594 (cproj_test_data): Likewise.
2595 (creal_test_data): Likewise.
2596 (fabs_test_data): Likewise.
2597 (fdim_test_data): Likewise.
2598 (finite_test_data): Likewise.
2599 (floor_test_data): Likewise.
2600 (fmax_test_data): Likewise.
2601 (fmin_test_data): Likewise.
2602 (fmod_test_data): Likewise.
2603 (fpclassify_test_data): Likewise.
2604 (frexp_test_data): Likewise.
2605 (ilogb_test_data): Likewise.
2606 (isfinite_test_data): Likewise.
2607 (isgreater_test_data): Likewise.
2608 (isgreaterequal_test_data): Likewise.
2609 (isinf_test_data): Likewise.
2610 (isless_test_data): Likewise.
2611 (islessequal_test_data): Likewise.
2612 (islessgreater_test_data): Likewise.
2613 (isnan_test_data): Likewise.
2614 (isnormal_test_data): Likewise.
2615 (issignaling_test_data): Likewise.
2616 (isunordered_test_data): Likewise.
2617 (ldexp_test_data): Likewise.
2618 (lrint_test_data): Likewise.
2619 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2620 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2621 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2622 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2623 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2624 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2625 test input.
2626 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2627 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2628 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2629 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2630 that test input.
2631 (lrint_downward_test_data): Test for "inexact" exceptions.
2632 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2633 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2634 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2635 test input.
2636 (lrint_upward_test_data): Test for "inexact" exceptions.
2637 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2638 test input.
2639 (llrint_test_data): Test for "inexact" exceptions.
2640 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2641 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2642 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2643 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2644 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2645 (llrint_downward_test_data): Test for "inexact" exceptions.
2646 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2647 (llrint_upward_test_data): Test for "inexact" exceptions.
2648 (logb_test_data): Likewise.
2649 (logb_downward_test_data): Likewise.
2650 (nextafter_test_data): Likewise.
2651 (nexttoward_test_data): Likewise.
2652 (remainder_test_data): Likewise.
2653 (remquo_test_data): Likewise.
2654 (scalbn_test_data): Likewise.
2655 (scalbln_test_data): Likewise.
2656 (signbit_test_data): Likewise.
2657 (sqrt_test_data): Likewise.
2658 (significand_test_data): Likewise.
2659
48a18de1
SP
26602013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2661
2662 [BZ #15424]
2663 * benchtests/bench-modf.c (struct args): Mark arg0 as
2664 volatile.
2665 * scripts/bench.pl: Mark members of struct args as volatile.
2666
13d3b41a
AZ
26672013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2668
68191c1d 2669 [BZ # 15497]
13d3b41a
AZ
2670 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2671 negative infinity on POWER6 or lower.
2672 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2673
2848b105
MR
26742013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2675
2676 [BZ #15442]
2677 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2678 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2679 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2680 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2681 (_FP_SETQNAN): New macro.
2682 (_FP_SETQNAN_SEMIRAW): Likewise.
2683 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2684 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2685 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2686 (FP_EXTEND): Use _FP_FRAC_SNANP.
2687 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2688 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2689 into account.
2690 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2691 New macro.
2692 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2693 Likewise.
2694
323e5cb7
JM
26952013-05-16 Joseph Myers <joseph@codesourcery.com>
2696
c58b274f
JM
2697 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2698 with DIVIDE_BY_ZERO_EXCEPTION.
2699 (gamma_test_data): Likewise.
2700 (lgamma_test_data): Likewise.
2701 (log_test_data): Likewise.
2702 (log10_test_data): Likewise.
2703 (log2_test_data): Likewise.
2704 (tgamma_test_data): Likewise.
2705
0ab34904
JM
2706 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2707 (acos_test_tonearest): Likewise.
2708 (acos_test_towardzero): Likewise.
2709 (acos_test_downward): Likewise.
2710 (acos_test_upward): Likewise.
2711 (acosh_test): Likewise.
2712 (asin_test): Likewise.
2713 (asin_test_tonearest): Likewise.
2714 (asin_test_towardzero): Likewise.
2715 (asin_test_downward): Likewise.
2716 (asin_test_upward): Likewise.
2717 (asinh_test): Likewise.
2718 (atan_test): Likewise.
2719 (atanh_test): Likewise.
2720 (atan2_test): Likewise.
2721 (cabs_test): Likewise.
2722 (cacos_test): Likewise.
2723 (cacosh_test): Likewise.
2724 (casin_test): Likewise.
2725 (casinh_test): Likewise.
2726 (catan_test): Likewise.
2727 (catanh_test): Likewise.
2728 (cbrt_test): Likewise.
2729 (ccos_test): Likewise.
2730 (ccosh_test): Likewise.
2731 (cexp_test): Likewise.
2732 (clog_test): Likewise.
2733 (clog10_test): Likewise.
2734 (cos_test): Likewise.
2735 (cos_test_tonearest): Likewise.
2736 (cos_test_towardzero): Likewise.
2737 (cos_test_downward): Likewise.
2738 (cos_test_upward): Likewise.
2739 (cosh_test): Likewise.
2740 (cosh_test_tonearest): Likewise.
2741 (cosh_test_towardzero): Likewise.
2742 (cosh_test_downward): Likewise.
2743 (cosh_test_upward): Likewise.
2744 (cpow_test): Likewise.
2745 (csin_test): Likewise.
2746 (csinh_test): Likewise.
2747 (csqrt_test): Likewise.
2748 (ctan_test): Likewise.
2749 (ctan_test_tonearest): Likewise.
2750 (ctan_test_towardzero): Likewise.
2751 (ctan_test_downward): Likewise.
2752 (ctan_test_upward): Likewise.
2753 (ctanh_test): Likewise.
2754 (ctanh_test_tonearest): Likewise.
2755 (ctanh_test_towardzero): Likewise.
2756 (ctanh_test_downward): Likewise.
2757 (ctanh_test_upward): Likewise.
2758 (erf_test): Likewise.
2759 (erfc_test): Likewise.
2760 (exp_test): Likewise.
2761 (exp_test_tonearest): Likewise.
2762 (exp_test_towardzero): Likewise.
2763 (exp_test_downward): Likewise.
2764 (exp_test_upward): Likewise.
2765 (exp10_test): Likewise.
2766 (exp2_test): Likewise.
2767 (expm1_test): Likewise.
2768 (fmod_test): Likewise.
2769 (gamma_test): Likewise.
2770 (hypot_test): Likewise.
2771 (j0_test): Likewise.
2772 (j1_test): Likewise.
2773 (jn_test): Likewise.
2774 (lgamma_test): Likewise.
2775 (log_test): Likewise.
2776 (log10_test): Likewise.
2777 (log1p_test): Likewise.
2778 (log2_test): Likewise.
2779 (logb_test_downward): Likewise.
2780 (pow_test): Likewise.
2781 (pow_test_tonearest): Likewise.
2782 (pow_test_towardzero): Likewise.
2783 (pow_test_downward): Likewise.
2784 (pow_test_upward): Likewise.
2785 (remainder_test): Likewise.
2786 (remquo_test): Likewise.
2787 (sin_test): Likewise.
2788 (sin_test_tonearest): Likewise.
2789 (sin_test_towardzero): Likewise.
2790 (sin_test_downward): Likewise.
2791 (sin_test_upward): Likewise.
2792 (sincos_test): Likewise.
2793 (sinh_test): Likewise.
2794 (sinh_test_tonearest): Likewise.
2795 (sinh_test_towardzero): Likewise.
2796 (sinh_test_downward): Likewise.
2797 (sinh_test_upward): Likewise.
2798 (sqrt_test): Likewise.
2799 (tan_test): Likewise.
2800 (tan_test_tonearest): Likewise.
2801 (tan_test_towardzero): Likewise.
2802 (tan_test_downward): Likewise.
2803 (tan_test_upward): Likewise.
2804 (tanh_test): Likewise.
2805 (tgamma_test): Likewise.
2806 (y0_test): Likewise.
2807 (y1_test): Likewise.
2808 (yn_test): Likewise.
2809
323e5cb7
JM
2810 * math/gen-libm-test.pl (adjust_arg): Remove function.
2811 (special_function): Remove argument $in_func. Only handle
2812 generating output for tables of tests, not inside functions.
2813 (parse_args): Likewise.
2814 (generate_testfile): Remove variable $in_func. Update call to
2815 parse_args.
2816 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2817 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2818 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2819 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2820 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2821 (MAX_VALUE_INIT): Rename macro to max_value.
2822 (MIN_VALUE_INIT): Rename macro to min_value.
2823 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2824 (plus_zero): Remove variable.
2825 (minus_zero): Likewise.
2826 (plus_infty): Likewise.
2827 (minus_infty): Likewise.
2828 (qnan_value): Likewise.
2829 (max_value): Likewise.
2830 (min_value): Likewise.
2831 (min_subnorm_value): Likewise.
2832
e054f494
RA
28332013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2834
2835 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2836 uint64_t or uint32_t usage.
2837 * crypt/sha256-block.c: Likewise.
2838 * crypt/sha256-crypt.c: Likewise.
2839 * crypt/sha256.c: Likewise.
2840 * crypt/sha512-block.c: Likewise.
2841 * crypt/sha512-crypt.c: Likewise.
2842 * crypt/sha512.c: Likewise.
2843 * debug/backtrace-tst.c: Likewise.
2844 * debug/pcprofiledump.c: Likewise.
2845 * elf/cache.c: Likewise.
2846 * elf/dl-cache.c: Likewise.
2847 * elf/dl-misc.c: Likewise.
2848 * elf/dl-profile.c: Likewise.
2849 * elf/dl-support.c: Likewise.
2850 * elf/ldconfig.c: Likewise.
2851 * elf/sprof.c: Likewise.
2852 * iconv/dummy-repertoire.c: Likewise.
2853 * iconv/iconv_charmap.c: Likewise.
2854 * iconv/skeleton.c: Likewise.
2855 * iconvdata/8bit-generic.c: Likewise.
2856 * iconvdata/cp737.h: Likewise.
2857 * iconvdata/cp775.h: Likewise.
2858 * iconvdata/ibm1008.h: Likewise.
2859 * iconvdata/ibm1025.h: Likewise.
2860 * iconvdata/ibm1046.h: Likewise.
2861 * iconvdata/ibm1097.h: Likewise.
2862 * iconvdata/ibm1112.h: Likewise.
2863 * iconvdata/ibm1122.h: Likewise.
2864 * iconvdata/ibm1123.h: Likewise.
2865 * iconvdata/ibm1124.h: Likewise.
2866 * iconvdata/ibm1129.h: Likewise.
2867 * iconvdata/ibm1130.h: Likewise.
2868 * iconvdata/ibm1132.h: Likewise.
2869 * iconvdata/ibm1133.h: Likewise.
2870 * iconvdata/ibm1137.h: Likewise.
2871 * iconvdata/ibm1140.h: Likewise.
2872 * iconvdata/ibm1141.h: Likewise.
2873 * iconvdata/ibm1142.h: Likewise.
2874 * iconvdata/ibm1143.h: Likewise.
2875 * iconvdata/ibm1144.h: Likewise.
2876 * iconvdata/ibm1145.h: Likewise.
2877 * iconvdata/ibm1146.h: Likewise.
2878 * iconvdata/ibm1147.h: Likewise.
2879 * iconvdata/ibm1148.h: Likewise.
2880 * iconvdata/ibm1149.h: Likewise.
2881 * iconvdata/ibm1153.h: Likewise.
2882 * iconvdata/ibm1154.h: Likewise.
2883 * iconvdata/ibm1155.h: Likewise.
2884 * iconvdata/ibm1156.h: Likewise.
2885 * iconvdata/ibm1157.h: Likewise.
2886 * iconvdata/ibm1158.h: Likewise.
2887 * iconvdata/ibm1160.h: Likewise.
2888 * iconvdata/ibm1161.h: Likewise.
2889 * iconvdata/ibm1162.h: Likewise.
2890 * iconvdata/ibm1163.h: Likewise.
2891 * iconvdata/ibm1164.h: Likewise.
2892 * iconvdata/ibm1166.h: Likewise.
2893 * iconvdata/ibm1167.h: Likewise.
2894 * iconvdata/ibm12712.h: Likewise.
2895 * iconvdata/ibm1390.h: Likewise.
2896 * iconvdata/ibm1399.h: Likewise.
2897 * iconvdata/ibm16804.h: Likewise.
2898 * iconvdata/ibm4517.h: Likewise.
2899 * iconvdata/ibm4899.h: Likewise.
2900 * iconvdata/ibm4909.h: Likewise.
2901 * iconvdata/ibm4971.h: Likewise.
2902 * iconvdata/ibm5347.h: Likewise.
2903 * iconvdata/ibm803.h: Likewise.
2904 * iconvdata/ibm856.h: Likewise.
2905 * iconvdata/ibm901.h: Likewise.
2906 * iconvdata/ibm902.h: Likewise.
2907 * iconvdata/ibm9030.h: Likewise.
2908 * iconvdata/ibm9066.h: Likewise.
2909 * iconvdata/ibm921.h: Likewise.
2910 * iconvdata/ibm922.h: Likewise.
2911 * iconvdata/ibm9448.h: Likewise.
2912 * iconvdata/isiri-3342.h: Likewise.
2913 * iconvdata/jis0201.h: Likewise.
2914 * include/link.h: Likewise.
2915 * include/netdb.h: Likewise.
2916 * inet/check_native.c: Likewise.
2917 * inet/check_pf.c: Likewise.
2918 * inet/getipv4sourcefilter.c: Likewise.
2919 * inet/getnameinfo.c: Likewise.
2920 * inet/getsourcefilter.c: Likewise.
2921 * inet/htonl.c: Likewise.
2922 * inet/setipv4sourcefilter.c: Likewise.
2923 * inet/setsourcefilter.c: Likewise.
2924 * inet/test-inet6_opt.c: Likewise.
2925 * inet/tst-network.c: Likewise.
2926 * locale/C-collate.c: Likewise.
2927 * locale/C-ctype.c: Likewise.
2928 * locale/C-time.c: Likewise.
2929 * locale/C-translit.h: Likewise.
2930 * locale/loadarchive.c: Likewise.
2931 * locale/programs/3level.h: Likewise.
2932 * locale/programs/charmap.c: Likewise.
2933 * locale/programs/charmap.h: Likewise.
2934 * locale/programs/ld-address.c: Likewise.
2935 * locale/programs/ld-collate.c: Likewise.
2936 * locale/programs/ld-ctype.c: Likewise.
2937 * locale/programs/ld-identification.c: Likewise.
2938 * locale/programs/ld-measurement.c: Likewise.
2939 * locale/programs/ld-messages.c: Likewise.
2940 * locale/programs/ld-monetary.c: Likewise.
2941 * locale/programs/ld-name.c: Likewise.
2942 * locale/programs/ld-numeric.c: Likewise.
2943 * locale/programs/ld-paper.c: Likewise.
2944 * locale/programs/ld-telephone.c: Likewise.
2945 * locale/programs/ld-time.c: Likewise.
2946 * locale/programs/linereader.c: Likewise.
2947 * locale/programs/locale.c: Likewise.
2948 * locale/programs/locarchive.c: Likewise.
2949 * locale/programs/locfile.h: Likewise.
2950 * locale/programs/repertoire.c: Likewise.
2951 * locale/programs/simple-hash.c: Likewise.
2952 * locale/programs/simple-hash.h: Likewise.
2953 * malloc/memusage.c: Likewise.
2954 * malloc/memusagestat.c: Likewise.
2955 * nis/nis_defaults.c: Likewise.
2956 * nis/nis_hash.c: Likewise.
2957 * nis/nis_print.c: Likewise.
2958 * nis/nis_xdr.c: Likewise.
2959 * nscd/connections.c: Likewise.
2960 * nscd/hstcache.c: Likewise.
2961 * nscd/nscd_gethst_r.c: Likewise.
2962 * nscd/nscd_getserv_r.c: Likewise.
2963 * nscd/nscd_helper.c: Likewise.
2964 * nscd/servicescache.c: Likewise.
2965 * nss/makedb.c: Likewise.
2966 * nss/nss_db/db-XXX.c: Likewise.
2967 * nss/nss_db/db-initgroups.c: Likewise.
2968 * nss/nss_db/db-netgrp.c: Likewise.
2969 * nss/nss_files/files-network.c: Likewise.
2970 * nss/nss_files/files-parse.c: Likewise.
2971 * posix/bug-regex5.c: Likewise.
2972 * posix/fnmatch_loop.c: Likewise.
2973 * posix/regcomp.c: Likewise.
2974 * posix/regexec.c: Likewise.
2975 * posix/tst-rfc3484-2.c: Likewise.
2976 * posix/tst-rfc3484-3.c: Likewise.
2977 * posix/tst-rfc3484.c: Likewise.
2978 * resolv/nss_dns/dns-canon.c: Likewise.
2979 * resolv/nss_dns/dns-network.c: Likewise.
2980 * resolv/res_init.c: Likewise.
2981 * resolv/res_mkquery.c: Likewise.
2982 * resolv/tst-aton.c: Likewise.
2983 * stdlib/cxa_atexit.c: Likewise.
2984 * stdlib/cxa_finalize.c: Likewise.
2985 * stdlib/gen-fpioconst.c: Likewise.
2986 * stdlib/strtol_l.c: Likewise.
2987 * string/tst-endian.c: Likewise.
2988 * sunrpc/auth_des.c: Likewise.
2989 * sunrpc/clnt_udp.c: Likewise.
2990 * sunrpc/rtime.c: Likewise.
2991 * sunrpc/svcauth_des.c: Likewise.
2992 * sunrpc/xdr.c: Likewise.
2993 * sunrpc/xdr_intXX_t.c: Likewise.
2994 * sunrpc/xdr_rec.c: Likewise.
2995 * sysdeps/generic/ldconfig.h: Likewise.
2996 * sysdeps/generic/ldsodefs.h: Likewise.
2997 * sysdeps/generic/memusage.h: Likewise.
2998 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3001 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3007 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3008 * sysdeps/posix/getaddrinfo.c: Likewise.
3009 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3010 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3011 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3012 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3013 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3014 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3015 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3016 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3017 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3018 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3019 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3020 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3021 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3022 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3023 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3024 * sysdeps/x86_64/dl-tls.h: Likewise.
3025 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3026 * time/alt_digit.c: Likewise.
3027 * time/era.c: Likewise.
3028 * wcsmbs/tst-c16c32-1.c: Likewise.
3029
8c75f674
JM
30302013-05-16 Joseph Myers <joseph@codesourcery.com>
3031
3032 * math/libm-test.inc (struct test_sincos_data): New type.
3033 (RUN_TEST_LOOP_sincos): New macro.
3034 (sincos_test_data): New variable.
3035 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3036
e6e49e59
RH
30372013-05-16 Richard Henderson <rth@redhat.com>
3038
3039 * math/atest-exp2.c (LIMB64): New macro.
3040 (CONSTSZ): New macro.
3041 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3042 (hexdig): Move ...
3043 (print_mpn_fp): ... to function scope.
3044 (read_mpn_hex): Remove.
3045 (get_log2): Remove.
3046 (exp2_mpn): Use mp_log2.
3047 (main): Use mp_exp1.
3048
15c7c18d
JM
30492013-05-16 Joseph Myers <joseph@codesourcery.com>
3050
105a07df
JM
3051 * math/libm-test.inc: Remove comment about not testing "inexact"
3052 exceptions.
3053 (INEXACT_EXCEPTION): New macro.
3054 (NO_INEXACT_EXCEPTION): Likewise.
3055 (INVALID_EXCEPTION_OK): Update value.
3056 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3057 (OVERFLOW_EXCEPTION_OK): Likewise.
3058 (UNDERFLOW_EXCEPTION_OK): Likewise.
3059 (IGNORE_ZERO_INF_SIGN): Likewise.
3060 (ERRNO_UNCHANGED): Likewise.
3061 (ERRNO_EDOM): Likewise.
3062 (ERRNO_ERANGE): Likewise.
3063 (test_exceptions): Handle testing "inexact" exceptions.
3064 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3065 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3066 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3067 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3068 INEXACT_EXCEPTION.
3069 (rint_towardzero_test_data): Likewise.
3070 (rint_downward_test_data): Likewise.
3071 (rint_upward_test_data): Likewise.
3072
e9eee333
JM
3073 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3074 with OVERFLOW_EXCEPTION.
3075 (exp10_test_data): Likewise.
3076 (exp2_test_data): Likewise.
3077 (expm1_test_data): Likewise.
3078 (lgamma_test_data): Likewise.
3079 (pow_test_data): Likewise.
3080 (tgamma_test_data): Likewise.
3081 (yn_test_data): Remove duplicate test of overflow.
3082
1c38ff73
JM
3083 * math/libm-test.inc (struct test_cc_c_data): New type.
3084 (RUN_TEST_LOOP_cc_c): New macro.
3085 (cpow_test_data): New variable.
3086 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3087
15c7c18d
JM
3088 * math/libm-test.inc (struct test_f_L_data): New type.
3089 (RUN_TEST_LOOP_f_L): New macro.
3090 (llrint_test_data): New variable.
3091 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3092 (llrint_tonearest_test_data): New variable.
3093 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3094 (llrint_towardzero_test_data): New variable.
3095 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3096 (llrint_downward_test_data): New variable.
3097 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3098 (llrint_upward_test_data): New variable.
3099 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3100 (llround_test_data): New variable.
3101 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3102
f137ff13
PC
31032013-05-13 Peter Collingbourne <pcc@google.com>
3104
3105 * math/atest-exp2.c (get_log2): Remove const attribute.
3106
3608cb24
JM
31072013-05-15 Joseph Myers <joseph@codesourcery.com>
3108
3109 * math/libm-test.inc (struct test_f_l_data): New type.
3110 (RUN_TEST_LOOP_f_l): New macro.
3111 (lrint_test_data): New variable.
3112 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3113 (lrint_tonearest_test_data): New variable.
3114 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3115 (lrint_towardzero_test_data): New variable.
3116 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3117 (lrint_downward_test_data): New variable.
3118 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3119 (lrint_upward_test_data): New variable.
3120 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3121 (lround_test_data): New variable.
3122 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3123
39b1f617
PC
31242013-05-15 Peter Collingbourne <pcc@google.com>
3125
1deff3dc
PC
3126 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3127 (EXTRACT_WORDS64) Use where appropriate.
3128 (INSERT_WORDS64) Likewise.
3129
791f3ba0
PC
3130 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3131 constraints with x constraints.
3132 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3133
39b1f617
PC
3134 * malloc/obstack.c (_obstack_compat): Add initializer.
3135
12fba011
EM
31362013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3137
3138 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3139 si_trapno and add si_addr_lsb to _sifields.sigfault.
3140 (si_trapno): Remove macro.
3141 (si_addr_lsb): Define new macro.
3142 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3143
d369f531
JM
31442013-05-15 Joseph Myers <joseph@codesourcery.com>
3145
b861c6c4
JM
3146 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3147 instead of TEST_f_l.
3148 (llrint_test_tonearest): Likewise.
3149 (llrint_test_towardzero): Likewise.
3150 (llrint_test_downward): Likewise.
3151 (llrint_test_upward): Likewise.
3152 (llround_test): Likewise.
3153
7abeee12
JM
3154 * math/libm-test.inc (struct test_f_i_data): Add comment.
3155 (RUN_TEST_LOOP_f_b): New macro.
3156 (RUN_TEST_LOOP_f_b_tg): Likewise.
3157 (finite_test_data): New variable.
3158 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3159 (isfinite_test_data): New variable.
3160 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3161 (isinf_test_data): New variable.
3162 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3163 (isnan_test_data): New variable.
3164 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3165 (isnormal_test_data): New variable.
3166 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3167 (issignaling_test_data): New variable.
3168 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3169 (signbit_test_data): New variable.
3170 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3171
cbe8c4d3
JM
3172 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3173 with INVALID_EXCEPTION.
3174 (acosh_test_data): Likewise.
3175 (asin_test_data): Likewise.
3176 (atanh_test_data): Likewise.
3177 (fmod_test_data): Likewise.
3178 (log_test_data): Likewise.
3179 (log10_test_data): Likewise.
3180 (log2_test_data): Likewise.
3181 (pow_test_data): Likewise.
3182 (sqrt_test_data): Likewise.
3183 (y0_test_data): Likewise.
3184 (y1_test_data): Likewise.
3185 (yn_test_data): Likewise.
3186
5575c0e5
JM
3187 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3188 function contents.
3189
d369f531
JM
3190 * math/libm-test.inc (struct test_ff_i_data): New type.
3191 (RUN_TEST_LOOP_ff_i_tg): New macro.
3192 (isgreater_test_data): New variable.
3193 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3194 (isgreaterequal_test_data): New variable.
3195 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3196 (isless_test_data): New variable.
3197 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3198 (islessequal_test_data): New variable.
3199 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3200 (islessgreater_test_data): New variable.
3201 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3202 (isunordered_test_data): New variable.
3203 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3204
781fd748
DM
32052013-05-14 David S. Miller <davem@davemloft.net>
3206
3207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3208
87aa21df
JM
32092013-05-14 Joseph Myers <joseph@codesourcery.com>
3210
5e908270
JM
3211 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3212
f71172e5
JM
3213 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3214 extra_test to int.
3215 (struct test_f_i_data): Change type of max_ulp to int.
3216
8cfa635a
JM
3217 * math/libm-test.inc (test_ffI_f1_data): New type.
3218 (RUN_TEST_LOOP_ffI_f1): New macro.
3219 (remquo_test_data): New variable.
3220 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3221
2bcb36b2
JM
3222 * setjmp/tst-setjmp-fp.c: New file.
3223 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3224 (link-libm): New variable.
3225 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3226
acbd839a
JM
3227 * math/libm-test.inc (struct test_f_i_data): New type.
3228 (RUN_TEST_LOOP_f_i): New macro.
3229 (RUN_TEST_LOOP_f_i_tg): Likewise.
3230 (fpclassify_test_data): New variable.
3231 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3232 (ilogb_test_data): New variable.
3233 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3234
e414d745
JM
3235 * math/libm-test.inc (scalbln_test): Correct function name in END
3236 call.
3237
d9c2a0fd
JM
3238 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3239 (RUN_TEST_LOOP_fI_f1): New macro.
3240 (frexp_test_data): New variable.
3241 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3242
9dc9095d
JM
3243 * math/libm-test.inc (struct test_fF_f1_data): New type.
3244 (RUN_TEST_LOOP_fF_f1): New macro.
3245 (modf_test_data): New variable.
3246 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3247
87aa21df
JM
3248 * math/libm-test.inc (struct test_f_f1_data): New type.
3249 (RUN_TEST_LOOP_f_f1): New macro.
3250 (gamma_test_data): New variable.
3251 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3252 (lgamma_test_data): New variable.
3253 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3254
141af660
CD
32552013-05-13 Carlos O'Donell <carlos@redhat.com>
3256
3257 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3258 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3259 (main): Comment "tls" pseudo-hwcap.
3260
6d33265c
JM
32612013-05-13 Joseph Myers <joseph@codesourcery.com>
3262
68fc074c
JM
3263 * math/libm-test.inc (struct test_fl_f_data): New type.
3264 (RUN_TEST_LOOP_fl_f): New variable.
3265 (scalbln_test_data): New variable.
3266 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3267
243216e1
JM
3268 * math/libm-test.inc (struct test_fi_f_data): New type.
3269 (RUN_TEST_LOOP_fi_f): New macro.
3270 (ldexp_test_data): New variable.
3271 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3272 (scalbn_test_data): New variable.
3273 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3274
6a1992e2
JM
3275 * math/libm-test.inc (struct test_c_f_data): New type.
3276 (RUN_TEST_LOOP_c_f): New macro.
3277 (cabs_test_data): New variable.
3278 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3279 (carg_test_data): New variable.
3280 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3281 (cimag_test_data): New variable.
3282 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3283 (creal_test_data): New variable.
3284 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3285
0e400df5
JM
3286 * math/libm-test.inc (struct test_if_f_data): New type.
3287 (RUN_TEST_LOOP_if_f): New macro.
3288 (jn_test_data): New variable.
3289 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3290 (yn_test_data): New variable.
3291 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3292
6d33265c
JM
3293 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3294
f98ece5f
AZ
32952013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296
3297 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3298 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3299
0f7d347b
SP
33002013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3301
43fe811b
SP
3302 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3303 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3304 (bench-deps): Add bench-timing.h.
3305 * benchtests-bench-skeleton.c: Include bench-timing.h.
3306 (main): Use TIMING_* macros instead of clock_gettime.
3307 * benchtests/bench-timing.h: New file.
3308
0f7d347b
SP
3309 [BZ #14582]
3310 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3311 Renamed from _LIB_VERSION.
3312 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3313
601a3a5f
JM
33142013-05-12 Joseph Myers <joseph@codesourcery.com>
3315
4f184d30
JM
3316 * math/libm-test.inc (struct test_fff_f_data): New type.
3317 (RUN_TEST_LOOP_fff_f): New macro.
3318 (fma_test_data): New variable.
3319 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3320 (fma_towardzero_test_data): New variable.
3321 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3322 (fma_downward_test_data): New variable.
3323 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3324 (fma_upward_test_data): New variable.
3325 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3326
08198877
JM
3327 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3328 (struct test_c_c_data): New type.
3329 (RUN_TEST_LOOP_c_c): New macro.
3330 (cacos_test_data): New variable.
3331 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3332 (cacosh_test_data): New variable.
3333 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3334 (casin_test_data): New variable.
3335 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3336 (casinh_test_data): New variable.
3337 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3338 (catan_test_data): New variable.
3339 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3340 (catanh_test_data): New variable.
3341 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3342 (ccos_test_data): New variable.
3343 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3344 (ccosh_test_data): New variable.
3345 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3346 (cexp_test_data): New variable.
3347 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3348 (clog_test_data): New variable.
3349 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3350 (clog10_test_data): New variable.
3351 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3352 (conj_test_data): New variable.
3353 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3354 (cproj_test_data): New variable.
3355 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3356 (csin_test_data): New variable.
3357 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3358 (csinh_test_data): New variable.
3359 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3360 (csqrt_test_data): New variable.
3361 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3362 (ctan_test_data): New variable.
3363 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3364 (ctan_tonearest_test_data): New variable.
3365 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3366 (ctan_towardzero_test_data): New variable.
3367 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3368 (ctan_downward_test_data): New variable.
3369 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3370 (ctan_upward_test_data): New variable.
3371 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3372 (ctanh_test_data): New variable.
3373 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3374 (ctanh_tonearest_test_data): New variable.
3375 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3376 (ctanh_towardzero_test_data): New variable.
3377 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3378 (ctanh_downward_test_data): New variable.
3379 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3380 (ctanh_upward_test_data): New variable.
3381 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3382 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3383 of BUILD_COMPLEX.
3384
601a3a5f
JM
3385 * math/libm-test.inc (struct test_ff_f_data): New type.
3386 (struct test_ff_f_data_nexttoward): Likewise.
3387 (RUN_TEST_LOOP_2_f): New macro.
3388 (RUN_TEST_LOOP_ff_f): Likewise.
3389 (atan2_test_data): New variable.
3390 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3391 (copysign_test_data): New variable.
3392 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3393 (fdim_test_data): New variable.
3394 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3395 (fmax_test_data): New variable.
3396 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3397 (fmin_test_data): New variable.
3398 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3399 (fmod_test_data): New variable.
3400 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3401 (hypot_test_data): New variable.
3402 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3403 (nextafter_test_data): New variable.
3404 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3405 (nexttoward_test_data): New variable.
3406 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3407 (pow_test_data): New variable.
3408 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3409 (pow_tonearest_test_data): New variable.
3410 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3411 (pow_towardzero_test_data): New variable.
3412 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3413 (pow_downward_test_data): New variable.
3414 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3415 (pow_upward_test_data): New variable.
3416 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3417 (remainder_test_data): New variable.
3418 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3419 (scalb_test_data): New variable.
3420 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3421 * sysdeps/i386/fpu/libm-test-ulps: Update.
3422
74c57478
JM
34232013-05-11 Joseph Myers <joseph@codesourcery.com>
3424
8329e4da
JM
3425 * math/libm-test.inc (fma_test): Use max_value instead of local
3426 variable fltmax.
3427 (nextafter_test): Likewise.
3428
74c57478
JM
3429 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3430 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3431 (acos_downward_test_data): New variable.
3432 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3433 (acos_upward_test_data): New variable.
3434 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3435 (acosh_test_data): New variable.
3436 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3437 (asin_test_data): New variable.
3438 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3439 (asin_tonearest_test_data): New variable.
3440 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3441 (asin_towardzero_test_data): New variable.
3442 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3443 (asin_downward_test_data): New variable.
3444 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3445 (asin_upward_test_data): New variable.
3446 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3447 (asinh_test_data): New variable.
3448 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3449 (atan_test_data): New variable.
3450 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3451 (atanh_test_data): New variable.
3452 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3453 (cbrt_test_data): New variable.
3454 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3455 (ceil_test_data): New variable.
3456 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3457 (cos_test_data): New variable.
3458 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3459 (cos_tonearest_test_data): New variable.
3460 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3461 (cos_towardzero_test_data): New variable.
3462 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3463 (cos_downward_test_data): New variable.
3464 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3465 (cos_upward_test_data): New variable.
3466 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3467 (cosh_test_data): New variable.
3468 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3469 (cosh_tonearest_test_data): New variable.
3470 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3471 (cosh_towardzero_test_data): New variable.
3472 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3473 (cosh_downward_test_data): New variable.
3474 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3475 (cosh_upward_test_data): New variable.
3476 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3477 (erf_test_data): New variable.
3478 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3479 (erfc_test_data): New variable.
3480 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3481 (exp_test_data): New variable.
3482 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3483 (exp_tonearest_test_data): New variable.
3484 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3485 (exp_towardzero_test_data): New variable.
3486 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3487 (exp_downward_test_data): New variable.
3488 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3489 (exp_upward_test_data): New variable.
3490 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3491 (exp10_test_data): New variable.
3492 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3493 (exp2_test_data): New variable.
3494 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3495 (expm1_test_data): New variable.
3496 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3497 (fabs_test_data): New variable.
3498 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3499 (floor_test_data): New variable.
3500 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3501 (j0_test_data): New variable.
3502 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3503 (j1_test_data): New variable.
3504 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3505 (log_test_data): New variable.
3506 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3507 (log10_test_data): New variable.
3508 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3509 (log1p_test_data): New variable.
3510 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3511 (log2_test_data): New variable.
3512 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3513 (logb_test_data): New variable.
3514 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3515 (logb_downward_test_data): New variable.
3516 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3517 (nearbyint_test_data): New variable.
3518 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3519 (rint_test_data): New variable.
3520 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3521 (rint_tonearest_test_data): New variable.
3522 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3523 (rint_towardzero_test_data): New variable.
3524 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3525 (rint_downward_test_data): New variable.
3526 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3527 (rint_upward_test_data): New variable.
3528 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3529 (round_test_data): New variable.
3530 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3531 (sin_test_data): New variable.
3532 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3533 (sin_tonearest_test_data): New variable.
3534 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3535 (sin_towardzero_test_data): New variable.
3536 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3537 (sin_downward_test_data): New variable.
3538 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3539 (sin_upward_test_data): New variable.
3540 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3541 (sinh_test_data): New variable.
3542 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3543 (sinh_tonearest_test_data): New variable.
3544 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3545 (sinh_towardzero_test_data): New variable.
3546 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3547 (sinh_downward_test_data): New variable.
3548 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3549 (sinh_upward_test_data): New variable.
3550 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3551 (sqrt_test_data): New variable.
3552 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3553 (tan_test_data): New variable.
3554 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3555 (tan_tonearest_test_data): New variable.
3556 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3557 (tan_towardzero_test_data): New variable.
3558 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3559 (tan_downward_test_data): New variable.
3560 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3561 (tan_upward_test_data): New variable.
3562 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3563 (tanh_test_data): New variable.
3564 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3565 (tgamma_test_data): New variable.
3566 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3567 (trunc_test_data): New variable.
3568 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3569 (y0_test_data): New variable.
3570 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3571 (y1_test_data): New variable.
3572 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3573 (significand_test_data): New variable.
3574 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3575
7187d844
CG
35762013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3577
3578 [BZ #12387]
3579 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3580
f63fae73
PT
35812013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3582
3583 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3584
8a67a4b3
AJ
35852013-05-10 Andreas Jaeger <aj@suse.de>
3586
3587 [BZ #15448]
3588 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3589 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3590
51df539d
JM
35912013-05-10 Joseph Myers <joseph@codesourcery.com>
3592
3593 * math/gen-libm-test.pl (adjust_arg): New function.
3594 (special_functions): Handle generating output in both functions
3595 and arrays.
3596 (parse_args): Likewise.
3597 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3598 $in_func argument to parse_args.
3599 * math/libm-test.inc (struct test_f_f_data): New type.
3600 (IF_ROUND_INIT_): New macro.
3601 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3602 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3603 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3604 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3605 (ROUND_RESTORE_): Likewise.
3606 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3607 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3608 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3609 (ROUND_RESTORE_FE_UPWARD): Likewise.
3610 (RUN_TEST_LOOP_f_f): New macro.
3611 (acos_test_data): New variable.
3612 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3613 (acos_tonearest_test_data): New variable.
3614 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3615
5c637fe5
SP
36162013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3617
3618 * benchtests/bench-skeleton.c (startup): Fix coding style.
3619
ab2b9461
JM
36202013-05-10 Joseph Myers <joseph@codesourcery.com>
3621
3622 [BZ #6809]
3623 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3624 negative infinity argument.
3625 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3626 negative infinity argument.
3627 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3628 negative infinity argument.
3629 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3630 domain errors.
3631
4c0fe6fe
FW
36322013-05-10 Florian Weimer <fweimer@redhat.com>
3633
3634 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3635 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3636 * iconv/iconv_prog.c (main): Likewise.
3637 * locale/programs/charmap-dir.c (charmap_readdir)
3638 (fopen_uncompressed): Likewise.
3639 * locale/programs/locfile.c (siblings_uncached)
3640 (write_locale_data): Use lstat64 instead of lstat.
3641 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3642 stat.
3643
a3375d29
AJ
36442013-05-10 Andreas Jaeger <aj@suse.de>
3645
3646 [BZ #15395]
3647 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3648 localization.
3649 Include <locale.h>.
3650
36129722
CD
36512013-05-09 Carlos O'Donell <carlos@redhat.com>
3652
3653 * elf/dl-close.c (_dl_close_worker): Add comments.
3654
faa7f811
JM
36552013-05-09 Joseph Myers <joseph@codesourcery.com>
3656
ed41ffef
JM
3657 [BZ #15359]
3658 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3659 high part of pi/2.
3660 (__ieee754_rem_pio2l): Update comments.
3661
d0213cd0
JM
3662 [BZ #15429]
3663 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3664 high part of pi/2.
3665 (__ieee754_rem_pio2l): Update comments.
3666
0d3e777a
JM
3667 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3668 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3669
24f56066
JM
3670 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3671 M_PI_4l.
3672
faa7f811
JM
3673 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3674 (M_PI_34_LOG10El): Likewise.
3675 (M_PI2_LOG10El): Likewise.
3676 (M_PI4_LOG10El): Likewise.
3677 (M_PI_LOG10El): Likewise.
3678
e9a5e0fd
AZ
36792013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680
3681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3682
d8cd06db
JM
36832013-05-08 Joseph Myers <joseph@codesourcery.com>
3684
a0d9f9d7
JM
3685 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3686 (MINUS_ZERO_INIT): Likewise.
3687 (PLUS_INFTY_INIT): Likewise.
3688 (MINUS_INFTY_INIT): Likewise.
3689 (QNAN_VALUE_INIT): Likewise.
3690 (MAX_VALUE_INIT): Likewise.
3691 (MIN_VALUE_INIT): Likewise.
3692 (MIN_SUBNORM_VALUE_INIT): Likewise.
3693 (plus_zero): Initialize with PLUS_ZERO_INIT.
3694 (minus_zero): Initialize with MINUS_ZERO_INIT.
3695 (plus_infty): Initialize with PLUS_INFTY_INIT.
3696 (minus_infty): Initialize with MINUS_INFTY_INIT.
3697 (qnan_value): Initialize with QNAN_VALUE_INIT.
3698 (max_value): Initialize with MAX_VALUE_INIT.
3699 (min_value): Initialize with MIN_VALUE_INIT.
3700 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3701
ae08db3b
JM
3702 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3703 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3704 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3705 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3706
f44bf14a
JM
3707 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3708 (RUN_TEST_2_f): Likewise.
3709 (RUN_TEST_ff_f): Likewise.
3710 (RUN_TEST_fi_f): Likewise.
3711 (RUN_TEST_fl_f): Likewise.
3712 (RUN_TEST_fff_f): Likewise.
3713 (RUN_TEST_c_f): Likewise.
3714 (RUN_TEST_f_f1): Likewise.
3715 (RUN_TEST_fF_f1): Likewise.
3716 (RUN_TEST_fI_f1): Likewise.
3717 (RUN_TEST_ffI_f1): Likewise.
3718 (RUN_TEST_c_c): Likewise.
3719 (RUN_TEST_cc_c): Likewise.
3720 (RUN_TEST_f_i): Likewise.
3721 (RUN_TEST_f_i_tg): Likewise.
3722 (RUN_TEST_ff_i_tg): Likewise.
3723 (RUN_TEST_f_b): Likewise.
3724 (RUN_TEST_f_b_tg): Likewise.
3725 (RUN_TEST_f_l): Likewise.
3726 (RUN_TEST_f_L): Likewise.
3727 (RUN_TEST_sincos): Likewise.
3728 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3729 whether to show exceptions. Do not include ");\n" in return
3730 value.
3731 (special_functions): Output call to RUN_TEST_sincos instead of
3732 check_float calls. Update calls to new_test.
3733 (parse_args): Output call to single RUN_TEST_* macro instead of
3734 check_* calls and other assignments. Update calls to new_test.
3735
d8cd06db
JM
3736 [BZ #2546]
3737 [BZ #2560]
3738 [BZ #5159]
3739 [BZ #15426]
3740 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3741 input to result for tgamma overflow.
3742 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3743 (gamma_coeff): New variable.
3744 (NCOEFF): New macro.
3745 (gamma_positive): New function.
3746 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3747 underflow here. Use gamma_positive instead of exp (lgamma) for
3748 other arguments.
3749 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3750 (gamma_coeff): New variable.
3751 (NCOEFF): New macro.
3752 (gammaf_positive): New function.
3753 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3754 underflow here. Use gamma_positive instead of exp (lgamma) for
3755 other arguments.
3756 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3757 (gamma_coeff): New variable.
3758 (NCOEFF): New macro.
3759 (gammal_positive): New function.
3760 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3761 underflow here. Use gamma_positive instead of exp (lgamma) for
3762 other arguments.
3763 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3764 (gamma_coeff): New variable.
3765 (NCOEFF): New macro.
3766 (gammal_positive): New function.
3767 (__ieee754_gammal_r): Handle positive infinity, overflow and
3768 underflow here. Handle NaN the same as positive infinity. Remove
3769 check x < 0xffffffff for negative integers. Use gamma_positive
3770 instead of exp (lgamma) for other arguments.
3771 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3772 (gamma_coeff): New variable.
3773 (NCOEFF): New macro.
3774 (gammal_positive): New function.
3775 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3776 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3780 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3781 * sysdeps/generic/math_private.h (__gamma_productf): New
3782 prototype.
3783 (__gamma_product): Likewise.
3784 (__gamma_productl): Likewise.
3785 * math/Makefile (libm-calls): Add gamma_product.
3786 * math/libm-test.inc (tgamma_test): Add more tests.
3787 * sysdeps/i386/fpu/libm-test-ulps: Update.
3788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3789
bb7cf681
OB
37902013-05-08 Ondřej Bílka <neleai@seznam.cz>
3791
3792 * benchtests/bench-skeleton.c (main): Preheat CPU.
3793
ba853947
AJ
37942013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3795
3796 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3797
8347c74c
RM
37982013-05-07 Roland McGrath <roland@hack.frob.com>
3799
3800 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3801 and _dl_skip_args_internal.
3802
e8dd4791
CD
38032013-05-07 Carlos O'Donell <carlos@redhat.com>
3804
3805 * manual/message.texi (Message Translation): Talk about users.
3806 Message to key mapping impacts design.
3807
c7405830
RM
38082013-05-06 Roland McGrath <roland@hack.frob.com>
3809
a9173057
RM
3810 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3811
976e2f03
RM
3812 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3813
9723ffc5
RM
3814 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3815 * sysdeps/wordsize-64/glob64.c: ... here.
3816
962e6658
RM
3817 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3818 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3819 New macros.
3820
ee586a6d
RM
3821 * debug/getlogin_r_chk.c: Moved to ...
3822 * login/getlogin_r_chk.c: ... here.
3823 * debug/Makefile (routines): Move getlogin_r_chk to ...
3824 * login/Makefile (routines): ... here.
3825 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3826 * login/Versions (libc: GLIBC_2.4): ... here.
3827
355f9165
RM
3828 * io/poll.c (__poll): Renamed from poll.
3829 Add libc_hidden_def.
3830 (poll): Define as weak alias.
3831
bd9ffde6
RM
3832 * debug/ptsname_r_chk.c: Moved to ...
3833 * login/ptsname_r_chk.c: ... here.
3834 * debug/Makefile (routines): Move ptsname_r_chk to ...
3835 * login/Makefile (routines): ... here.
3836 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3837 * login/Versions (libc: GLIBC_2.4): ... here.
3838
8fb16a04
RM
3839 * posix/getlogin.c: Moved to ...
3840 * login/getlogin.c: ... here.
3841 * posix/getlogin_r.c: Moved to ...
3842 * login/getlogin_r.c: ... here.
3843 * posix/getlogin_r.c: Moved to ...
3844 * login/getlogin_r.c: ... here.
3845 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3846 * login/Makefile (routines): ... here.
3847 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3848 * login/Versions (libc: GLIBC_2.0): ... here.
3849
b99b892f
RM
3850 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3851 (setrlimit): Define as weak alias.
3852
c7405830
RM
3853 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3854 Call __ names for open, ftruncate, and close.
3855 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3856 (truncate): Define as weak alias.
3857
5bf96de5
JM
38582013-05-06 Joseph Myers <joseph@codesourcery.com>
3859
9ea3513c
JM
3860 * math/gen-libm-test.pl (parse_args): Initialize x before each
3861 test of frexp, modf and remquo.
3862
5bf96de5
JM
3863 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3864 test signgam value.
3865
16e616a7
AZ
38662013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3867
3868 [BZ #15418]
3869 [BZ #15419]
3870 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3871 internal tests.
3872 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3873
d5e82754
RM
38742013-05-06 Roland McGrath <roland@hack.frob.com>
3875
3876 * elf/dl-writev.h: New file.
3877 * elf/dl-misc.c: Include it.
3878 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3879 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3880
a7548d41
JM
38812013-05-04 Joseph Myers <joseph@codesourcery.com>
3882
b7dab1e4
JM
3883 * math/libm-test.inc (noXFails): Remove variable.
3884 (noXPasses): Likewise.
3885 (BUILD_COMPLEX_INT): Remove macro.
3886 (print_screen): Remove xfail argument.
3887 (print_screen_max_error): Likewise.
3888 (update_stats): Likewise.
3889 (print_max_error): Likewise. Update calls to other affected
3890 functions.
3891 (print_complex_max_error): Likewise.
3892 (test_single_exception): Update calls to print_screen.
3893 (test_single_errno): Likewise.
3894 (check_float_internal): Remove xfail argument. Update calls to
3895 other affected functions.
3896 (check_float): Likewise.
3897 (check_complex): Likewise.
3898 (check_int): Likewise.
3899 (check_long): Likewise.
3900 (check_bool): Likewise.
3901 (check_longlong): Likewise.
3902 (main): Don't print noXFails and noXPasses.
3903 * math/gen-libm-test.pl (top level): Don't mention expected
3904 failure handling in comment.
3905 (new_test): Don't handle expected failures.
3906 (parse_args): Don't mention expected failure handling in comment.
3907 (generate_testfile): Don't handle expected failures.
3908 (parse_ulps): Likewise.
3909 (print_ulps_file): Likewise.
3910 (get_failure): Remove function.
3911 (output_test): Don't handle expected failures.
3912 * make/README.libm-test: Don't mention expected failure handling.
3913
a7548d41
JM
3914 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3915 (minus_zero): Likewise.
3916 (plus_infty): Likewise.
3917 (minus_infty): Likewise.
3918 (qnan_value): Likewise.
3919 (max_value): Likewise.
3920 (min_value): Likewise.
3921 (min_subnorm_value): Likewise.
3922 (initialize): Do not initialize those variables dynamically.
3923
60bfd54c
RM
39242013-05-03 Roland McGrath <roland@hack.frob.com>
3925
cc0e6ed8
RM
3926 * io/open.c (__open_2): Moved to ...
3927 * io/open_2.c: ... this new file.
3928 * io/open64.c (__open64_2): Moved to ...
3929 * io/open64_2.c: ... this new file.
3930 * io/openat.c (__openat_2): Moved to ...
3931 * io/openat_2.c: ... this new file.
3932 * io/openat64.c (__openat64_2): Moved to ...
3933 * io/openat64_2.c: ... this new file.
3934 * io/Makefile (routines): Add them.
3935 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3936 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3937 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3938 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3939 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3940 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3941 (__openat64): Add hidden_ver.
3942 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3943 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3944
60bfd54c
RM
3945 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3946 Separately conditionalize setting of GLRO(dl_sysinfo) so
3947 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3948 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3949
83e7640f
AZ
39502013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3951
3952 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3953 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3954 definition.
3955 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3956 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3957 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3958 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3959 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3960
d5dc2af3
JM
39612013-05-03 Joseph Myers <joseph@codesourcery.com>
3962
c31a5b1e
JM
3963 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3964 test signgam value.
3965
d5dc2af3
JM
3966 * math/libm-test.inc (hypot_test): Do not use
3967 IGNORE_ZERO_INF_SIGN.
3968
164fd39d
AJ
39692013-05-03 Andreas Jaeger <aj@suse.de>
3970
3971 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3972 Linux 3.9.
3973 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3974 (PF_MAX): Adjust for VSOCK change.
3975
8237f48c
AZ
39762013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3977
3978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3979
9df02941
CD
39802013-05-02 Carlos O'Donell <carlos@redhat.com>
3981
3982 [BZ #15264]
3983 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3984 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3985 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3986
d422395e
DM
39872013-05-02 David S. Miller <davem@davemloft.net>
3988
3989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3990
a07c5731
OB
39912013-05-01 Ondřej Bílka <neleai@seznam.cz>
3992
3993 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3994
1324e37f
RM
39952013-05-01 Roland McGrath <roland@hack.frob.com>
3996
3997 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3998
0695940b
RS
39992013-05-01 Richard Smith <richard@metafoo.co.uk>
4000
bb5f27ad 4001 [BZ #14952]
0695940b
RS
4002 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4003 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4004 Use __attribute__ ((__gnu_inline__)).
4005 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4006 Don't use __attribute__ ((__gnu_inline__)).
4007
10de07f5
JM
40082013-05-01 Joseph Myers <joseph@codesourcery.com>
4009
4010 [BZ #15423]
4011 * math/s_catan.c (__catan): Handle small real or imaginary part of
4012 input specially to avoid spurious underflow.
4013 * math/s_catanf.c (__catanf): Likewise.
4014 * math/s_catanh.c (__catanh): Likewise.
4015 * math/s_catanhf.c (__catanhf): Likewise.
4016 * math/s_catanhl.c (__catanhl): Likewise.
4017 * math/s_catanl.c (__catanl): Likewise.
4018 * math/libm-test.inc (catan_test): Add more tests.
4019 (catanh_test): Likewise.
4020 * sysdeps/i386/fpu/libm-test-ulps: Update.
4021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4022
cb4d5414
AZ
40232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4024
4025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4026
caf84319
JM
40272013-04-30 Joseph Myers <joseph@codesourcery.com>
4028
4029 [BZ #15416]
4030 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4031 accurately for denominator in atan2.
4032 * math/s_catanf.c (__catanf): Likewise.
4033 * math/s_catanh.c (__catanh): Likewise.
4034 * math/s_catanhf.c (__catanhf): Likewise.
4035 * math/s_catanhl.c (__catanhl): Likewise.
4036 * math/s_catanl.c (__catanl): Likewise.
4037 * math/libm-test.inc (catan_test): Add more tests.
4038 (catanh_test): Likewise.
4039 * sysdeps/i386/fpu/libm-test-ulps: Update.
4040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4041
d569c6ee
SP
40422013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4043
6dbe713d
SP
4044 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4045
f0ee064b
SP
4046 * benchtests/Makefile (bench): Remove slow benchmarks.
4047 * benchtests/atan-inputs: Add slow benchmark inputs.
4048 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4049 (BENCH_FUNC): Accept variant offset.
4050 (VARIANT): Define.
4051 * benchtests/bench-skeleton.c (main): Run benchmark for each
4052 variant.
4053 * benchtests/cos-inputs: Add slow benchmark inputs.
4054 * benchtests/exp-inputs: Likewise.
4055 * benchtests/pow-inputs: Likewise.
4056 * benchtests/sin-inputs: Likewise.
4057 * benchtests/slowatan-inputs: Remove.
4058 * benchtests/slowatan.c: Remove.
4059 * benchtests/slowcos-inputs: Remove.
4060 * benchtests/slowcos.c: Remove.
4061 * benchtests/slowexp-inputs: Remove.
4062 * benchtests/slowexp.c: Remove.
4063 * benchtests/slowpow-inputs: Remove.
4064 * benchtests/slowpow.c: Remove.
4065 * benchtests/slowsin-inputs: Remove.
4066 * benchtests/slowsin.c: Remove.
4067 * benchtests/slowtan-inputs: Remove.
4068 * benchtests/slowtan.c: Remove.
4069 * benchtests/tan-inputs: Add slow benchmark inputs.
4070 * scripts/bench.pl: Parse comments and directives.
4071
d569c6ee
SP
4072 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4073 in CPPFLAGS.
4074 ($(objpfx)bench-%.c): Remove *-ITER.
4075 * benchtests/bench-modf.c: Remove definition of ITER.
4076 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4077 (main): Loop for DURATION seconds instead of fixed number of
4078 iterations.
4079 * scripts/bench.pl: Don't expect iterations in parameters.
4080
a6a242fe
RM
40812013-04-29 Roland McGrath <roland@hack.frob.com>
4082
4083 * io/fchdir.c (__fchdir): Renamed from fchdir.
4084 (fchdir): Define as weak alias.
4085
f2da7793
JM
40862013-04-29 Joseph Myers <joseph@codesourcery.com>
4087
4088 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4089 (ERRNO_EDOM): Likewise.
4090 (ERRNO_ERANGE): Likewise.
4091 (noErrnoTests): New variable.
4092 (init_max_error): Set errno to 0.
4093 (test_single_errno): New function.
4094 (test_errno): Likewise.
4095 (check_float_internal): Call test_errno. Set errno to 0.
4096 (check_complex): Refer to errno tests in comment.
4097 (check_int): Call test_errno. Set errno to 0.
4098 (check_long): Likewise.
4099 (check_bool): Likewise.
4100 (check_longlong): Likewise.
4101 (cos_test): Use ERRNO_* flags for errno tests instead of
4102 check_int.
4103 (expm1_test): Likewise.
4104 (fmod_test): Likewise.
4105 (ilogb_test): Likewise.
4106 (lgamma_test): Likewise.
4107 (pow_test): Likewise.
4108 (remainder_test): Likewise.
4109 (sin_test): Likewise.
4110 (tan_test): Likewise.
4111 (yn_test): Likewise.
4112 (initialize): Set errno to 0.
4113 (main): Print number of errno tests.
4114 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4115
b1a36ceb
AJ
41162013-04-29 Andreas Jaeger <aj@suse.de>
4117
c3ed8088
AJ
4118 [BZ #15084]
4119 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4120 and RES_USEVC.
4121
f1a24198
AJ
4122 [BZ #15085]
4123 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4124 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4125 unimplemented.
4126
9ce3b2cb
AJ
4127 [BZ #15380]
4128 * stdlib/random.c (__initstate): Return NULL if
4129 __initstate fails.
4130
f1a24198 4131 [BZ #15086]
b1a36ceb
AJ
4132 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4133 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4134 RES_SNGLKUPREOP.
4135
7e7b6f36
AZ
41362013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4137
4138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4139
4d14f449
JM
41402013-04-29 Joseph Myers <joseph@codesourcery.com>
4141
4142 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4143 of individual tests.
4144 (casin_test): Likewise.
4145 (casinh_test): Likewise.
4146
5b4217d7
JM
41472013-04-27 Joseph Myers <joseph@codesourcery.com>
4148
4149 [BZ #15409]
4150 * math/s_catan.c (__catan): Handle arguments with large real or
4151 imaginary part separately without squaring.
4152 * math/s_catanf.c (__catanf): Likewise.
4153 * math/s_catanh.c (__catanh): Likewise.
4154 * math/s_catanhf.c (__catanhf): Likewise.
4155 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4156 and redefine.
4157 (__catanhl): Handle arguments with large real or imaginary part
4158 separately without squaring.
4159 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4160 and redefine.
4161 (__catanl): Handle arguments with large real or imaginary part
4162 separately without squaring.
4163 * math/libm-test.inc (catan_test): Add more tests.
4164 (catanh_test): Likewise.
4165 * sysdeps/i386/fpu/libm-test-ulps: Update.
4166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4167
4220c3ef
AJ
41682013-04-27 Andreas Jaeger <aj@suse.de>
4169
4170 [BZ #15007]
4171 * stdlib/stdlib.h: Update guards for qecvt.
4172 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4173 <stdlib.h>.
4174
4721b2d1
AM
41752013-04-27 Allan McRae <allan@archlinux.org>
4176
4177 * sysdeps/i386/fpu/libm-test-ulps: Update.
4178
f0302940
JM
41792013-04-26 Joseph Myers <joseph@codesourcery.com>
4180
9457fd95
JM
4181 [BZ #15406]
4182 * math/s_catan.c: Include <float.h>.
4183 (__catan): Ensure underflow exception occurs for underflowed
4184 result.
4185 * math/s_catanf.c: Include <float.h>.
4186 (__catanf): Ensure underflow exception occurs for underflowed
4187 result.
4188 * math/s_catanh.c: Include <float.h>.
4189 (__catanh): Ensure underflow exception occurs for underflowed
4190 result.
4191 * math/s_catanhf.c: Include <float.h>.
4192 (__catanhf): Ensure underflow exception occurs for underflowed
4193 result.
4194 * math/s_catanhl.c: Include <float.h>.
4195 (__catanhl): Ensure underflow exception occurs for underflowed
4196 result.
4197 * math/s_catanl.c: Include <float.h>.
4198 (__catanl): Ensure underflow exception occurs for underflowed
4199 result.
4200 * math/libm-test.inc (catan_test): Add more tests.
4201 (catanh_test): Likewise.
4202
f0302940
JM
4203 [BZ #15405]
4204 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4205 underflowed result.
4206 * math/s_ccoshf.c (__ccoshf): Likewise.
4207 * math/s_ccoshl.c (__ccoshl): Likewise.
4208 * math/s_csin.c (__csin): Likewise.
4209 * math/s_csinf.c (__csinf): Likewise.
4210 * math/s_csinh.c (__csinh): Likewise.
4211 * math/s_csinhf.c (__csinhf): Likewise.
4212 * math/s_csinhl.c (__csinhl): Likewise.
4213 * math/s_csinl.c (__csinl): Likewise.
4214 * math/libm-test.inc (ccos_test): Add more tests.
4215 (ccosh_test): Likewise.
4216 (csin_test): Likewise.
4217 (csinh_test): Likewise.
4218
aa630f59
AZ
42192013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4220
4221 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4222 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4223 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4224 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4225 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4226 powerpc/power5+/fpu folders.
4227 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4228
4229
1b835983
MT
42302013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4231
4232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4233
73709b26
JM
42342013-04-25 Joseph Myers <joseph@codesourcery.com>
4235
4236 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4237 additions to variable.
4238 [$(config-machine) = x86_64] (modules-names): Likewise.
4239 ($(objpfx)tst-audit3): Remove dependency.
4240 ($(objpfx)tst-audit3.out): Likewise.
4241 ($(objpfx)tst-audit4): Likewise.
4242 ($(objpfx)tst-audit4.out): Likewise.
4243 ($(objpfx)tst-audit5): Likewise.
4244 ($(objpfx)tst-audit5.out): Likewise.
4245 ($(objpfx)tst-audit6): Likewise.
4246 ($(objpfx)tst-audit6.out): Likewise.
4247 ($(objpfx)tst-audit7): Likewise.
4248 ($(objpfx)tst-audit7.out): Likewise.
4249 (tst-audit3-ENV): Remove variable.
4250 (tst-audit4-ENV): Likewise.
4251 (tst-audit5-ENV): Likewise.
4252 (tst-audit6-ENV): Likewise.
4253 (tst-audit7-ENV): Likewise.
4254 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4255 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4256 addition to variable.
4257 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4258 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4259 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4260 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4261 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4262 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4263 tst-audit3, tst-audit4 and tst-audit5.
4264 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4265 tst-audit6 and tst-audit7.
4266 [$(subdir) = elf] (modules-names): Add audit modules for those
4267 tests.
4268 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4269 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4270 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4271 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4272 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4273 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4274 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4275 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4276 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4277 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4278 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4279 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4280 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4281 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4282 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4283 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4284 Likewise.
4285 [$(subdir) = elf && $(config-cflags-avx) = yes]
4286 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4287 [$(subdir) = elf && $(config-cflags-avx) = yes]
4288 (CFLAGS-tst-auditmod4a.c): Likewise.
4289 [$(subdir) = elf && $(config-cflags-avx) = yes]
4290 (CFLAGS-tst-auditmod4b.c): Likewise.
4291 [$(subdir) = elf && $(config-cflags-avx) = yes]
4292 (CFLAGS-tst-auditmod6b.c): Likewise.
4293 [$(subdir) = elf && $(config-cflags-avx) = yes]
4294 (CFLAGS-tst-auditmod6c.c): Likewise.
4295 [$(subdir) = elf && $(config-cflags-avx) = yes]
4296 (CFLAGS-tst-auditmod7b.c): Likewise.
4297 * elf/tst-audit3.c: Move to ...
4298 * sysdeps/x86_64/tst-audit3.c: ... here.
4299 * elf/tst-audit4.c: Move to ...
4300 * sysdeps/x86_64/tst-audit4.c: ... here.
4301 * elf/tst-audit5.c: Move to ...
4302 * sysdeps/x86_64/tst-audit5.c: ... here.
4303 * elf/tst-audit6.c: Move to ...
4304 * sysdeps/x86_64/tst-audit6.c: ... here.
4305 * elf/tst-audit7.c: Move to ...
4306 * sysdeps/x86_64/tst-audit7.c: ... here.
4307 * elf/tst-auditmod3a.c: Move to ...
4308 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4309 * elf/tst-auditmod3b.c: Move to ...
4310 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4311 * elf/tst-auditmod4a.c: Move to ...
4312 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4313 * elf/tst-auditmod4b.c: Move to ...
4314 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4315 * elf/tst-auditmod5a.c: Move to ...
4316 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4317 * elf/tst-auditmod5b.c: Move to ...
4318 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4319 * elf/tst-auditmod6a.c: Move to ...
4320 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4321 * elf/tst-auditmod6b.c: Move to ...
4322 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4323 * elf/tst-auditmod6c.c: Move to ...
4324 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4325 * elf/tst-auditmod7a.c: Move to ...
4326 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4327 * elf/tst-auditmod7b.c: Move to ...
4328 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4329
1ef74943
PP
43302013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4331
4332 [BZ #15366]
4333 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4334 define unconditionally.
4335 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4336 define unconditionally.
4337 (INT8_C, INT16_C, etc.): Likewise.
4338
93fd48c5
MR
43392013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4340
ae9552cf
MR
4341 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4342 __ehdr_start with hidden visibility.
4343
93fd48c5
MR
4344 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4345
418601aa
CD
43462013-04-24 Carlos O'Donell <carlos@redhat.com>
4347
4348 * math/libm-test.inc (cos_test): Use accurate hex constants.
4349 (sincost_test): Likewise.
4350
2f38fbfe
JM
43512013-04-24 Joseph Myers <joseph@codesourcery.com>
4352
5e221800
JM
4353 * math/libm-test.inc (catan_test): Add more tests.
4354 (catanh_test): Likewise.
4355
77f143fd
JM
4356 * math/s_catanf.c (__catanf): Use suffixed floating-point
4357 constants.
4358 * math/s_catanhf.c (__catanhf): Likewise.
4359 * math/s_catanhl.c (__catanhl): Likewise.
4360 * math/s_catanl.c (__catanl): Likewise.
4361
2f38fbfe
JM
4362 [BZ #15394]
4363 * math/s_catan.c (__catan): Calculate imaginary part of result
4364 with log1p not log unless computing log of number close to 0.
4365 * math/s_catanf.c (__catanf): Likewise.
4366 * math/s_catanl.c (__catanl): Likewise.
4367 * math/s_catanh.c (__catanh): Calculate real part of result with
4368 log1p not log unless computing log of number close to 0.
4369 * math/s_catanhf.c (__catanhf): Likewise.
4370 * math/s_catanhl.c (__catanhl): Likewise.
4371 * math/libm-test.inc (catan_test): Add more tests.
4372 (catanh_test): Likewise.
4373 * sysdeps/i386/fpu/libm-test-ulps: Update.
4374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4375
45d69176
SP
43762013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4377
4378 * benchtests/Makefile: Mention files in which fast and slow
4379 paths of math functions are implemented.
4380
87f51853
RM
43812013-04-23 Roland McGrath <roland@hack.frob.com>
4382
4383 * sysdeps/posix/timespec_get.c: New file.
4384
3c026539
AZ
43852013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386
4387 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4388 POWER.
4389 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4390 for POWER.
4391 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4392 powerpc/power5/fpu folders.
4393 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4394 * benchtests/Makefile: Add modf testcase.
4395 * benchtests/bench-modf.c: New file: Benchmark test for mo
4396
ff491d14
SP
43972013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4398
4399 [BZ #14888]
4400 * time/Makefile (tests): Add tst-strptime-whitespace.
4401 * time/strptime_l.c (get_number): Use ISSPACE.
4402 (__strptime_internal): Likewise.
4403 * time/tst-strptime-whitespace.c: New test case.
4404
7ed3f4e8
AS
44052013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4406
4407 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4408 member.
4409 (_nss_files_init): Set it here.
4410
5c95f7b6
HC
44112013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4412
4413 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4414 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4415 unsigned.
4416
d34c9158
JBG
44172013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4418
4419 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4420
2169712d
SP
44212013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
4423 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4424 size just once.
4425
29c5de99
DM
44262013-04-21 David S. Miller <davem@davemloft.net>
4427
4428 * po/ru.po: Update Russion translation from translation project.
4429
ccdad15d
AC
44302013-04-17 Adam Conrad <adconrad@0c3.net>
4431
4432 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4433 and setfsgid.
4434
0f122b8d
CD
44352013-04-17 Carlos O'Donell <carlos@redhat.com>
4436
5c5b07da 4437 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4438 * configure: Regenerate.
5c5b07da 4439 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4440 Add example to error message.
4441 * sysdeps/i386/configure: Regenerate.
4442
037714dd
SP
44432013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4444
4445 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4446 slowtan.
4447 * benchtests/cos-inputs: New file.
4448 * benchtests/slowcos-inputs: New file.
4449 * benchtests/slowcos.c: New file.
4450 * benchtests/slowtan-inputs: New file.
4451 * benchtests/slowtan.c: New file.
4452 * benchtests/tan-inputs: New file.
4453
e913141d
RM
44542013-04-16 Roland McGrath <roland@hack.frob.com>
4455
4456 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4457 considered kosher.
4458
a2964074
SP
44592013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4460
4856bcd2
SP
4461 * benchtests/Makefile: Include cppflags-iterator.mk to add
4462 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4463
a2964074
SP
4464 * Makefile.in (bench-clean): New target.
4465 * benchtests/Makefile (bench-clean): Likewise.
4466
9fbf9aca
DH
44672013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4468
4469 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4470
207d1e2a
TS
44712013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4472
4473 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4474
306dfba9
AS
44752013-04-15 Andreas Schwab <schwab@suse.de>
4476
4477 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4478 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4479 * nscd/pwdcache.c (cache_addpw): Likewise.
4480 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4481 more than recsize.
4482
206a6699
SP
44832013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4484
4485 * benchtests/Makefile (bench): Write all output to
4486 bench-out.tmp together.
4487
0582f6b3
AS
44882013-04-15 Andreas Schwab <schwab@suse.de>
4489
4490 * nscd/nscd.c (main): Don't fork again after closing files.
4491
acb4325f
SP
44922013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4493
5cb26d0a
SP
4494 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4495
acb4325f
SP
4496 * benchtests/Rules (bench-deps): Collect dependencies into a
4497 single variable. Add Makefile to dependencies.
4498 ($(objpfx)bench-%.c): Depend on bench-deps.
4499
47792506
RM
45002013-04-12 Roland McGrath <roland@hack.frob.com>
4501 Xavier Roche <roche+kml2@exalead.com>
4502
4503 [BZ #15361]
4504 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4505 just that it's a file descriptor.
4506 * manual/llio.texi (Synchronizing AIO Operations): Update description
4507 for EBADF error from aio_fsync.
4508
8fc1bee5
SP
45092013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4510
4511 * Rules (bench): Move target definition...
4512 * benchtests/Makefile: ... here.
4513
aba5e333
CD
45142013-04-11 Carlos O'Donell <carlos@redhat.com>
4515
4516 * math/libm-test.inc (cos_test): Fix PI/2 test.
4517 (sincos_test): Likewise.
4518 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4519 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4520
273cdee8
AS
45212013-04-11 Andreas Schwab <schwab@suse.de>
4522
6ecec3b6
AS
4523 [BZ #13988]
4524 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4525 accept exponent character only when digits were seen.
4526 * stdio-common/Makefile (tests): Add bug26.
4527 * stdio-common/bug26.c: New file.
4528
273cdee8
AS
4529 [BZ #14293]
4530 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4531 non-freeable.
4532
8da491f5
SP
45332013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4534
01dc6df9
SP
4535 * Makeconfig (rtld-prefix): Define built linker prefix.
4536 * Rules (run-bench): Use it.
4537 * math/Makefile (run-regen-ulps): Likewise.
4538
8da491f5
SP
4539 * Rules (bench): Remove eval.
4540
abe7f530
SP
45412013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4542 Roland McGrath <roland@hack.frob.com>
4543 Ondrej Bilka <neleai@seznam.cz>
4544
4545 [BZ #15346]
4546 * time/getdate.c: Include ctype.h and alloca.h.
4547 (__getdate_r): Trim leading and trailing spaces of input.
4548 * time/tst-getdate.c (tests): Add tests with leading and
4549 trailing spaces.
4550
61c23e62
RM
45512013-04-08 Roland McGrath <roland@hack.frob.com>
4552
4553 [BZ #14280]
4554 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4555 when computing value.
4556
7208a313
CD
45572013-04-06 Carlos O'Donell <carlos@redhat.com>
4558
085b2d41
CD
4559 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4560 Use testrun.sh to run libm tests.
4561
7208a313
CD
4562 [BZ #15309]
4563 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4564
872c0acd
MM
45652013-04-06 Marko Myllynen <myllynen@redhat.com>
4566
4567 [BZ #15264]
4568 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4569
26510bdd
CD
45702013-04-06 Carlos O'Donell <carlos@redhat.com>
4571
4572 * Makefile.in (regen-ulps): New target.
4573 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4574 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4575 [ifneq (no,$(PERL)] (regen-ulps): New target.
4576 [ifeq (no,$(PERL)] (regen-ulps): New target.
4577 * math/libm-test.inc (ulps_file_name): Define.
4578 (output_dir): New variable.
4579 (options): Add "output-dir" option.
4580 (parse_opt): Handle 'o' case.
4581 (main): If output_dir is non-NULL use it as a prefix
4582 otherwise use "".
4583 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4584
a01f19c8
CD
45852013-04-06 Carlos O'Donell <carlos@redhat.com>
4586
4587 [BZ #10060, #10062]
4588 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4589 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4590 fail configure if __sync_val_compare_and_swap is not inlined.
4591 * sysdeps/i386/configure: Regenerate.
4592 * configure.in: Build for i686 when configured for i386.
4593 * configure: Regenerate.
4594 * README: Remove i386 reference.
4595
b7a329a5
CD
45962013-04-06 Carlos O'Donell <carlos@redhat.com>
4597
4598 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4599 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4600
bf0f50df
TS
46012013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4602
ee091edf
TS
4603 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4604 (lmsnanval): New variables.
4605 (F): Add conversion tests.
4606 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4607 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4608
a8b792d6
TS
4609 * stdio-common/tstdiomisc.c (F): Properly collect individual
4610 tests' results.
4611
a1cbf437
TS
4612 [BZ #14686, #15336]
4613 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4614 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4615 Instead, use input NaN values or generate a qNaN by arithmetic
4616 operation. Also fix bugs to comply with the standard.
4617 * math/libm-test.inc (remainder_test): Add more tests.
4618
8b43a0c9
TS
4619 [BZ #15335, #15342]
4620 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4622 input NaN values or generate a qNaN by arithmetic operation.
4623
d91da4ce
TS
4624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4625 unreachable code.
4626
bf0f50df
TS
4627 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4628 definitions.
4629
05e166c8
JM
46302013-04-03 Joseph Myers <joseph@codesourcery.com>
4631
4632 [BZ #14478]
4633 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4634 underflowed result.
4635 * math/s_cexpf.c (__cexpf): Likewise.
4636 * math/s_cexpl.c (__cexpl): Likewise.
4637 * math/libm-test.inc (cexp_test): Add more tests.
4638
1cef1b19
AS
46392013-04-03 Andreas Schwab <schwab@suse.de>
4640
4641 [BZ #15330]
4642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4643 order arrays from heap if bigger than alloca cutoff.
4644
74d87055
TS
46452013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4646
4647 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4648 (SNAN_TESTS_double): Refer to GCC PR56831.
4649 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4650 GCC PR56828.
4651
d755bba4
SP
46522013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4653
90d5d5bb
SP
4654 * Rules (bench): Move bench.out after the run is complete.
4655
73e0cd5d
SP
4656 * Rules (bench): Echo currently running benchmark.
4657
64aabd4b
SP
4658 * benchtests/Makefile (bench): Add atan and slowatan.
4659 * benchtests/atan-inputs: New file.
4660 * benchtests/slowatan-inputs: New file.
4661 * benchtests/slowatan.c: New file.
4662
c871eccd
SP
4663 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4664 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4665 its value.
4666
d755bba4
SP
4667 [BZ #15305]
4668 * sysdeps/unix/sysv/linux/kernel-features.h
4669 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4670 __ASSUME_XFS_RESTRICTED_CHOWN.
4671 * sysdeps/unix/sysv/linux/pathconf.c
4672 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4673 Save and restore errno.
4674
52ce4860
JM
46752013-04-02 Joseph Myers <joseph@codesourcery.com>
4676
4677 [BZ #15327]
4678 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4679 arguments using __kernel_casinh.
4680 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4681 arguments using __kernel_casinhf.
4682 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4683 arguments using __kernel_casinhl.
4684 * math/libm-test.inc (cacosh_test): Add more tests.
4685 * sysdeps/i386/fpu/libm-test-ulps: Update.
4686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4687
81f311c2
SP
46882013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4689
e7906a47
SP
4690 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4692
92e3664b
SP
4693 * bench/Makefile (bench): Add sin and slowsin.
4694 * benchtests/sin-inputs: New file.
4695 * benchtests/slowsin-inputs: New file.
4696 * benchtests/slowsin.c: New file.
4697
81f311c2
SP
4698 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4699 (bench): Add slowexp and slowpow.
4700 (exp-ITER): Increase iterations.
4701 (pow-ITER): Likewise.
4702 * benchtests/exp-inputs: Change input.
4703 * benchtests/pow-inputs: Likewise.
4704 * benchtests/slowexp-inputs: New file.
4705 * benchtests/slowexp.c: New file.
4706 * benchtests/slowpow-inputs: New file.
4707 * benchtests/slowpow.c: New file.
4708
ab0f1aa9
AZ
47092013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4710
4711 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4712 instructions.
4713 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4714 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4716 * benchtests/Makefile: Add rint benchtest.
4717 * benchtests/rint-inputs: Input for rint benchtest.
4718
57267616
TS
47192013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4720
4721 * Versions.def (libm): Add GLIBC_2.18.
4722 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4723 hidden libm prototypes.
4724 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4725 * math/Makefile (libm-calls): Add s_issignaling.
4726 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4727 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4728 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4729 declaration.
4730 * math/math.h [__USE_GNU] (issignaling): New macro.
4731 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4732 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4734 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4737 * manual/arith.texi (issignaling): New section.
4738 * manual/libm-err-tab.pl (@all_functions): Update comment.
4739 * math/gen-libm-test.pl (parse_args): Apply special handling for
4740 issignaling.
4741 * math/libm-test.inc (print_float, issignaling_test): New
4742 functions.
4743 (check_float_internal): Add issignaling checks.
4744 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4745 default definition.
4746 * sysdeps/powerpc/math-tests.h: New file.
4747 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4748 tests.
4749 * math/test-snan.c (TEST_FUNC): Likewise.
4750
6142896d
DM
47512013-03-30 David S. Miller <davem@davemloft.net>
4752
4753 * po/de.po: Update from translation team.
4754
ccc8cadf
JM
47552013-03-30 Joseph Myers <joseph@codesourcery.com>
4756
4757 [BZ #10357]
4758 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4759 imaginary part less than 1.0 and real part less than 0.5
4760 specially.
4761 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4762 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4763 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4764 (cacos_test): Add more tests.
4765 (casin_test): Likewise.
4766 (casinh_test): Likewise.
4767 * sysdeps/i386/fpu/libm-test-ulps: Update.
4768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4769
0f6a8d4b
SP
47702013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4771
0d1029de
SP
4772 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4773 ONE with its value.
4774
c2d94018
SP
4775 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4776 (__pow_mp): Replace ONE and MONE with their values.
4777 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4778 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4780 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4781 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4782 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4783
27ec37f1
SP
4784 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4785
a64d7e0e
SP
4786 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4787 (__pow_mp): Replace ZERO and MZERO with their values.
4788 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4789 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4790 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4792 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4793 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4794 (__sqr): Likewise.
4795
d26dd3eb
SP
4796 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4797
0f6a8d4b
SP
4798 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4799
e57b0c61
RM
48002013-03-28 Roland McGrath <roland@hack.frob.com>
4801
4802 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4803 Declare with __attribute__ ((weak)).
4804 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4805 Call __call_tls_dtors only if it's not NULL.
4806
356b3480
RM
48072013-03-28 Roland McGrath <roland@hack.frob.com>
4808
288f7d79
RM
4809 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4810 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4811 magic __ehdr_start linker symbol if it's defined.
4812 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4813 them up here if it was already done.
4814
dc0a0263
RM
4815 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4816 (_dl_aux_init): Use const in cast when setting it.
4817 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4818 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4819 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4820
3d3436ae
RM
4821 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4822 Declare them here.
4823 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4824 * csu/libc-tls.c: Nor here.
4825 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4826
356b3480
RM
4827 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4828 (__libc_message): Never call vsyslog.
4829
b0f1246a
AM
48302013-03-28 Alan Modra <amodra@gmail.com>
4831
4832 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4833 Define as empty.
4834 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4835 Likewise.
4836
fbbe2b9a
AZ
48372013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4838
4839 [BZ #15214]
4840 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4841 underflow.
4842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4843
1728ab37
SP
48442013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4845
7a86be6e
SP
4846 [BZ #15304]
4847 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4848 Don't add gid passed as argument.
4849
1728ab37
SP
4850 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4851
3a7182a1
JM
48522013-03-27 Joseph Myers <joseph@codesourcery.com>
4853
4854 [BZ #15307]
4855 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4856 imaginary part between 1.0 and 1.5 and real part less than 0.5
4857 specially.
4858 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4859 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4860 * math/libm-test.inc (cacos_test): Add more tests.
4861 (casin_test): Likewise.
4862 (casinh_test): Likewise.
4863 * sysdeps/i386/fpu/libm-test-ulps: Update.
4864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4865
6f2e90e7
SP
48662013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4867
5739f705
SP
4868 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4869 constants.
4870 (norm): Likewise.
4871 (denorm): Likewise.
4872 (__dbl_mp): Likewise.
4873 (add_magnitudes): Likewise.
4874 (sub_magnitudes): Likewise.
4875 (__add): Likewise.
4876 (__sub): Likewise.
4877 (__mul): Likewise.
4878 (__sqr): Likewise.
4879 (__inv): Likewise.
4880 (__dvd): Likewise.
4881
e375e83d
SP
4882 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4883 commented code.
4884 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4885 (__dubcos): Likewise.
4886 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4887 (__ieee754_acos): Likewise.
4888 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4889 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4890 (__exp1): Likewise.
4891 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4893 (log1): Likewise.
4894 (my_log2): Likewise.
4895 (checkint): Likewise.
4896 * sysdeps/ieee754/dbl-64/e_remainder.c
4897 (__ieee754_remainder): Likewise.
4898 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4899 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4900 (bsloww): Likewise.
4901 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4902
6f2e90e7
SP
4903 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4904 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4905 MANTISSA_STORE_T to store computations on mantissa. Use
4906 macros for rounding and division.
4907 (denorm): Likewise.
4908 (__dbl_mp): Likewise.
4909 (add_magnitudes): Likewise.
4910 (sub_magnitudes): Likewise.
4911 (__mul): Likewise.
4912 (__sqr): Likewise.
4913 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4914 powers of two in terms of TWOPOW macro.
4915 (mp_no): Make type of mantissa as MANTISSA_T.
4916 [!RADIXI]: Define RADIXI.
4917 [!TWO52]: Define TWO52.
4918 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4919
fce14d4e
AZ
49202013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4921
4922 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4923 llroundl symbol when building for PPC32.
4924
9ad027fb
MW
49252013-03-24 Mark H Weaver <mhw@netris.org>
4926
4927 * manual/arith.texi (Normalization Functions): Fix prototypes for
4928 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4929
e42a38dd
AZ
49302013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4931
4932 [BZ #13889]
4933 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4934 high value to check if expl overflow.
4935 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4936 to check for underflow and overflow.
4937 * math/libm-test.inc: Add exp test.
4938
2e0fb521
DL
49392013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4940
4941 [BZ #11120]
4942 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4943 with NOT_IN_libc.
4944
b5784d95
AZ
49452013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4946
4947 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4948 symbol.
4949
5aa4a1a1
TS
49502013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4951
bdef0be7
TS
4952 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4953 wrap blocks consisting of several statements.
4954
5aa4a1a1
TS
4955 * sysdeps/generic/math-tests.h: New file.
4956 * sysdeps/i386/fpu/math-tests.h: Likewise.
4957 * math/test-snan.c: Include it.
4958 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4959
98c48fe5
JM
49602013-03-21 Joseph Myers <joseph@codesourcery.com>
4961
4962 [BZ #15285]
4963 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4964 (__ieee754_j0l): Do not improve calculations using cos of twice
4965 input for inputs above LDBL_MAX / 2.0L.
4966 (__ieee754_y0l): Likewise.
4967 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4968 (__ieee754_j1l): Do not improve calculations using cos of twice
4969 input for inputs above LDBL_MAX / 2.0L.
4970 (__ieee754_y1l): Likewise.
4971 * math/libm-test.inc (j0_test): Add another test.
4972 (j1_test): Likewise.
4973 (y0_test): Likewise.
4974 (y1_test): Likewise.
4975 * sysdeps/i386/fpu/libm-test-ulps: Update.
4976
3775a8bc
SP
49772013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4978
4979 * Rules ($(objpfx)bench-%.c): Include code from a C source
4980 file.
4981
0a1b2ae6
JM
49822013-03-21 Joseph Myers <joseph@codesourcery.com>
4983
4984 [BZ #15287]
4985 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4986 imaginary part 1.0 and real part less than 0.5 specially.
4987 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4988 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4989 * math/libm-test.inc (cacos_test): Add more tests.
4990 (casin_test): Likewise.
4991 (casinh_test): Likewise.
4992 * sysdeps/i386/fpu/libm-test-ulps: Update.
4993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4994
b33d4ce4
SP
49952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4996
4997 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4998 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4999
bef0b507
JM
50002013-03-20 Joseph Myers <joseph@codesourcery.com>
5001
5002 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5003 * config.make.in (config-cflags-sse4): Remove variable.
5004 (config-cflags-avx): Likewise.
5005 (config-cflags-sse2avx): Likewise.
5006 (config-cflags-novzeroupper): Likewise.
5007 (config-asflags-i686): Likewise.
5008 (have-mfma4): Likewise.
5009 (have-as-vis3): Likewise.
5010 (MIG): Likewise.
5011 * configure.in (MIG): Do not AC_SUBST.
5012 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5013 (libc_cv_cc_sse4): Do not AC_SUBST.
5014 (libc_cv_cc_avx): Likewise.
5015 (libc_cv_cc_sse2avx): Likewise.
5016 (libc_cv_cc_novzeroupper): Likewise.
5017 (libc_cv_cc_fma4): Likewise.
5018 (libc_cv_as_i686): Likewise.
5019 (libc_cv_sparc_as_vis3): Likewise.
5020 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5021 LIBC_CONFIG_VAR.
5022 (config-asflags-i686): Likewise.
5023 (config-cflags-avx): Likewise.
5024 (config-cflags-sse2avx): Likewise.
5025 (have-mfma4): Likewise.
5026 (config-cflags-novzeroupper): Likewise.
5027 * sysdeps/mach/configure.in (MIG): Likewise.
5028 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5029 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5030 LIBC_CONFIG_VAR.
5031 (config-cflags-avx): Likewise.
5032 (config-cflags-sse2avx): Likewise.
5033 (have-mfma4): Likewise.
5034 (config-cflags-novzeroupper): Likewise.
5035 * configure: Regenerated.
5036 * sysdeps/i386/configure: Likewise.
5037 * sysdeps/mach/configure: Likewise.
5038 * sysdeps/sparc/configure: Likewise.
5039 * sysdeps/x86_64/configure: Likewise.
5040
912cc4b3
RM
50412013-03-20 Roland McGrath <roland@hack.frob.com>
5042
5043 [BZ #14812]
5044 * locale/programs/localedef.c (options): Put N_ translation marker
5045 on argument names, not just descriptions.
5046
04eed2b0
MS
50472013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5048
5049 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5050
a065ceff
OB
50512013-03-20 Ondřej Bílka <neleai@seznam.cz>
5052
9bb2a810 5053 [BZ #14176]
a065ceff
OB
5054 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5055
a600e5ce
RM
50562013-03-19 Roland McGrath <roland@hack.frob.com>
5057
5058 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5059 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5060 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5061 [!BEFORE_ABORT] (before_abort): New function.
5062 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5063 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5064 (writev_for_fatal): New function.
5065 (WRITEV_FOR_FATAL): New macro; call that.
5066 (backtrace_and_maps): New function.
5067 (BEFORE_ABORT): New macro; call that.
5068 (struct str_list): Type removed.
5069 (__libc_message, __libc_fatal): Functions removed.
5070 Include <sysdeps/posix/libc_fatal.c> instead.
5071
6b18bea6
JM
50722013-03-19 Joseph Myers <joseph@codesourcery.com>
5073
5074 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5075 constants.
5076 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5077 double constants.
5078
aaa8cb4b
AS
50792013-03-19 Andreas Schwab <schwab@suse.de>
5080
44673770
AS
5081 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5082 * sysdeps/gnu/configure: Regenerate.
5083
aaa8cb4b
AS
5084 * configure.in: Substitute libc_cv_rtlddir.
5085 * configure: Regenerate.
5086 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5087 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5088 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5089 * elf/Makefile (install-others, CFLAGS-interp.c)
5090 (ldso_install, common-ldd-rewrite): Likewise.
5091 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5092 $(inst_slibdir)/$(rtld-installed-name).
5093 * scripts/rellns-sh: Add -p option.
5094 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5095 for source.
5096
d3cfc668
SP
50972013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5098
5099 * manual/nptl.texi: Renamed to ...
5100 * manual/threads.texi: ... this.
5101 * manual/Makefile (chapters): Update.
5102
0e2b9cdd
RM
51032013-03-18 Roland McGrath <roland@hack.frob.com>
5104
5105 [BZ #14812]
5106 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5107 on argument names, not just descriptions.
0e2b9cdd
RM
5108 * malloc/memusagestat.c (options): Likewise.
5109 * nss/getent.c (options): Likewise.
63270c24
RM
5110
51112013-03-18 Benno Schulenberg <bensberg@justemail.net>
5112
5113 [BZ #14812]
5114 * iconv/iconv_prog.c (options): Put N_ translation marker
5115 on argument names, not just descriptions.
5116 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5117
b2e1393c
OB
51182013-03-18 Ondrej Bilka <neleai@seznam.cz>
5119
5120 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5121 implementation which is faster on all x86_64 architectures.
5122 Tested on AMD, Intel Nehalem, SNB, IVB.
5123 * sysdeps/x86_64/strnlen.S: Likewise.
5124
5125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5126 Remove all multiarch strlen and strnlen versions.
5127 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5128 Remove strlen and strnlen related parts.
5129
5130 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5131 Inline strlen part.
5132 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5133
5134 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5135 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5136 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5137 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5138 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5139 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5140
ec4ff04d
CD
51412013-03-17 Carlos O'Donell <carlos@redhat.com>
5142
5143 * manual/memory.texi (Malloc Tunable Parameters):
5144 Sort parameters alphabetically. Add comments for missing entries.
5145
cd18e90a
DM
51462013-03-17 David S. Miller <davem@davemloft.net>
5147
5148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5149
2a185d32
JM
51502013-03-16 Joseph Myers <joseph@codesourcery.com>
5151
d2f9799e
JM
5152 [BZ #15283]
5153 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5154 for arguments at most half maximum finite value.
5155 * math/libm-test.inc (j0_test): Add more tests.
5156 (j1_test): Likewise.
5157 (y0_test): Likewise.
5158 (y1_test): Likewise.
5159 * sysdeps/i386/fpu/libm-test-ulps: Update.
5160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5161
2a185d32
JM
5162 [BZ #14155]
5163 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5164 1 / x and functions P and Q for arguments above 0x1p256L.
5165 (__ieee754_y0l): Likewise.
5166 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5167 (__ieee754_y1l): Likewise.
5168 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5169 (j1_test): Likewise.
5170 (y0_test): Likewise.
5171 (y1_test): Likewise.
5172
6cbec759
TS
51732013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5174
5175 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5176 variable.
5177
bc16e260
RM
51782013-03-15 Roland McGrath <roland@hack.frob.com>
5179
aefc9b8c
RM
5180 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5181 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5182 zero since it's initialized to EXEC_PAGESIZE.
5183
bc16e260
RM
5184 * sysdeps/unix/sysv/linux/ldsodefs.h
5185 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5186 * sysdeps/generic/ldsodefs.h: ... here.
5187
a57da955
TS
51882013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5189
af00a34d
TS
5190 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5191
495ded2c
TS
5192 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5193 math/test-snan.c.
5194 * math/test-snan.c: Renamed from
5195 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5196 * math/Makefile (tests): Add test-snan.
5197 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5198 test-powerpc-snan.
5199
777b0332
TS
5200 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5201 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5202 functions.
5203 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5204 __builtin_nan family of functions.
5205 * math/libm-test.inc (initialize): Initialize qnan_value with
5206 __builtin_nan family of functions.
5207 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5208 Remove variables.
5209 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5210 Remove functions.
5211 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5212 storage class. Initialize qNaN_var and sNaN_var with
5213 __builtin_nan and __builtin_nans families of functions,
5214 respectively.
5215
64d063b8
TS
5216 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5217 (sqrt_test): Remove duplicate test with qNaN input.
5218 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5219 (round_test, signbit_test, significand_test): Note missing +/-Inf
5220 as well as qNaN tests.
5221
67e971f1
TS
5222 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5223 qNaN_var. Fix a few strings, too.
5224 * math/libm-test.inc (nan_value): Rename to qnan_value.
5225 * math/gen-libm-test.pl (%beautify): Adjust to that.
5226 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5227 * math/test-misc.c (main): Likewise.
5228 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5229 to __qnan_bytes, and __qnan_union, respectively.
5230 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5231 Likewise.
5232 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5233 and lqnanval, respectively.
5234 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5235 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5236 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5237 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5238
64487e12
TS
5239 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5240 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5241 doubles.
5242
e015e27b
TS
5243 * math/test-misc.c (main): Fix copy'n'pastos.
5244 * misc/tst-efgcvt.c (special): Likewise.
5245
a57da955
TS
5246 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5247 Remove declarations.
5248
1e380345
SP
52492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5250
5251 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5252 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5253 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5254 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5255
ef26eece
AZ
52562013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5257
5258 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5259 macro to return vdso values correctly in IFUNC implementations.
5260 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5261 Optimization by using IFUNC.
5262
8cfdb7e0
SP
52632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5264 Richard Henderson <rth@redhat.com>
5265 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5266
5267 * Makefile.in (bench): New target.
5268 * NEWS: Mention the benchmark framework.
5269 * Rules (bench): Likewise.
5270 (binaries-bench): Generate binaries for functions to
5271 benchmark.
5272 * benchtests/Makefile: New makefile for benchmark tests.
5273 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5274 programs.
5275 * benchtests/exp-inputs: New input file for EXP function.
5276 * benchtests/pow-inputs: New input file for POW function.
5277 * scripts/bench.pl: New script to generate source files for
5278 benchmark programs.
5279
bcda9880
SP
52802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5281
d22ca8cd
SP
5282 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5283 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5284 computations on mantissa. Use macros for rounding and
5285 division.
5286 (denorm): Likewise.
5287 (__dbl_mp): Likewise.
5288 (add_magnitudes): Likewise.
5289 (sub_magnitudes): Likewise.
5290 (__mul): Likewise.
5291 (__sqr): Likewise.
5292 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5293 powers of two in terms of TWOPOW macro.
5294 (mp_no): Make type of mantissa as MANTISSA_T.
5295 [!RADIXI]: Define RADIXI.
5296 [!TWO52]: Define TWO52.
5297 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5298
bcda9880
SP
5299 * manual/nptl.texi (cindex): Modify threads to pthreads.
5300
06d5adfb
JM
53012013-03-15 Joseph Myers <joseph@codesourcery.com>
5302
5303 * sysdeps/x86_64/preconfigure: Regenerated.
5304
41c7328e
JM
53052013-03-14 Joseph Myers <joseph@codesourcery.com>
5306
5307 [BZ #14155]
5308 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5309 0x1p28 and above.
5310 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5311 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5312 0x1p28 and above.
5313 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5314 * math/libm-test.inc (j0_test): Do not allow one spurious
5315 underflow exception.
5316 (y1_test): Likewise.
5317
e25cfa60
SP
53182013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5319
0409959c
SP
5320 * manual/Makefile (chapters): Add nptl.
5321 * manual/debug.texi (Debugging Support): Add link to Threads
5322 chapter.
5323 * manual/nptl.texi: New file.
5324
e25cfa60
SP
5325 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5326
58a1335e
PB
53272013-03-14 Petr Baudis <pasky@ucw.cz>
5328
5329 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5330 for non-NULL pointer before the memory validity test. Pointed
5331 out by Holger Brunck <holger.brunck@keymile.com>.
5332
9dc7c64f
AS
53332013-03-13 Andreas Schwab <schwab@suse.de>
5334
5335 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5336 instead of .os.
5337
54206aa6
JM
53382013-03-13 Joseph Myers <joseph@codesourcery.com>
5339
5340 * timezone/zic.c: Update from tzcode 2013b.
5341
e98cdb38
CD
53422013-03-12 Carlos O'Donell <carlos@redhat.com>
5343
5344 * manual/install.texi (Configuring and compiling):
5345 Mention i686 and i586.
5346 * INSTALL: Regenerate.
5347
9967e003
RM
53482013-03-12 Roland McGrath <roland@hack.frob.com>
5349
5350 * sysdeps/init_array/elf-init.c: New file.
5351 * csu/elf-init.c
5352 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5353 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5354
5355 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5356 __gmon_start__ as global, but as static with a .preinit_array pointer.
5357 * sysdeps/init_array/gmon-start.c: New file. Use that.
5358 * sysdeps/init_array/crti.S: New file, empty except for comments.
5359 * sysdeps/init_array/crtn.S: Likewise.
5360
e6b5a293 53612013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5362
5363 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5364 definining bcopy.
80f844c9
OB
5365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5366 Remove Prefer_SSE_for_memop.
5367 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5368 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5369 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5371 memset-x86-64.
80f844c9 5372 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5373 Remove bzero, memset ifunc support.
80f844c9
OB
5374 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5375 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5376 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5377 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5378
fb6b0fcb
AS
53792013-03-11 Andreas Schwab <schwab@suse.de>
5380
5381 [BZ #15234]
5382 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5383 by SHLIB_COMPAT.
5384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5385 (GLIBC_2.16): Remove pthread_atfork.
5386
3e6bd4b1
PP
53872013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5388
5389 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5390 (ptestcases.h): Likewise.
5391
222d7f00
RM
53922013-03-08 Roland McGrath <roland@hack.frob.com>
5393
5394 * Makeconfig ($(common-objpfx)config.status): Depend on
5395 sysdeps/*/preconfigure{,.in} too.
5396
1ba4f030
JM
53972013-03-08 Joseph Myers <joseph@codesourcery.com>
5398
a222d91a
JM
5399 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5400 (__free_hook): Use void * instead of __malloc_ptr_t.
5401 (__malloc_hook): Likewise.
5402 (__realloc_hook): Likewise.
5403 (__memalign_hook): Likewise.
5404 (__after_morecore_hook): Likewise.
5405 * malloc/arena.c (save_malloc_hook): Likewise.
5406 (save_free_hook): Likewise.
5407 * malloc/hooks.c (malloc_hook_ini): Likewise.
5408 (realloc_hook_ini): Likewise.
5409 (memalign_hook_ini): Likewise.
5410 * malloc/malloc.c (malloc_hook_ini): Likewise.
5411 (realloc_hook_ini): Likewise.
5412 (memalign_hook_ini): Likewise.
5413 (__free_hook): Likewise.
5414 (__malloc_hook): Likewise.
5415 (__realloc_hook): Likewise.
5416 (__memalign_hook): Likewise.
5417 (__libc_malloc): Likewise.
5418 (__libc_free): Likewise.
5419 (__libc_realloc): Likewise.
5420 (__libc_memalign): Likewise.
5421 (__libc_valloc): Likewise.
5422 (__libc_pvalloc): Likewise.
5423 (__libc_calloc): Likewise.
5424 (__posix_memalign): Likewise.
5425 * malloc/morecore.c (__sbrk): Likewise.
5426 (__default_morecore): Likewise.
5427
5cc45e10
JM
5428 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5429
dd54b864
JM
5430 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5431 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5432 __malloc_ptrdiff_t.
5433
1ba4f030
JM
5434 * malloc/malloc.h (__malloc_size_t): Remove macro.
5435 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5436 __malloc_size_t.
5437 (old_memalign_hook): Likewise.
5438 (old_realloc_hook): Likewise.
5439 (struct hdr): Likewise.
5440 (flood): Likewise.
5441 (mallochook): Likewise.
5442 (memalignhook): Likewise.
5443 (reallochook): Likewise.
5444 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5445 (tr_old_realloc_hook): Likewise.
5446 (tr_old_memalign_hook): Likewise.
5447 (tr_mallochook): Likewise.
5448 (tr_reallochook): Likewise.
5449 (tr_memalignhook): Likewise.
5450
edf66e57
AZ
54512013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5452
5453 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5454 default_ldbl_pack and using as default implementation.
5455 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5456 implementation.
5457 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5458 redundant definition.
5459 (ldbl_insert_mantissa): Likewise.
5460 (ldbl_canonicalize): Likewise.
5461 (ldbl_nearbyint): Likewise.
5462 (ldbl_pack): Rename to ldbl_pack_ppc.
5463 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5464 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5465 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5466
6d9145d8
SP
54672013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5468
5469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5470 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5471 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5472 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5474 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5475 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5476 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5477
4dd4e157
AJ
54782013-03-07 Andreas Jaeger <aj@suse.de>
5479
5480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5481 bits/mman-linux.h.
5482
adbb8027
SP
54832013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5484
ce544b5b
SP
5485 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5486 Include mpa.h and declare __MPEXP.
5487 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5488 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5489 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5490 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5491 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5492 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5493 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5494
4cc149fd
SP
5495 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5496 (__slowpow): Use long double EXPL and LOGL functions to
5497 compute POW.
5498 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5499 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5500 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5501 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5502 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5503 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5504
e6ebd4a7
SP
5505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5506 intermediate variable to calculate exponent.
5507 (__sqr): Likewise.
5508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5509 Likewise.
5510 (__sqr): Likewise.
5511
82a9811d
SP
5512 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5513 [!NO__SQR]: Define __sqr.
5514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5515 and NO__SQR. Remove all code except __mul and __sqr. Include
5516 sysdeps/ieee754/dbl-64/mpa.c.
5517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5518
adbb8027
SP
5519 [BZ #12723]
5520 * posix/Makefile (tests): Add tst-pathconf.
5521 * posix/tst-pathconf.c: New test case.
5522 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5523 _PC_PIPE_BUF.
5524 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5525
39120df9
PF
55262013-03-06 Patsy Franklin <pfrankli@redhat.com>
5527
5528 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5529
67525cb8
AJ
55302013-03-06 Andreas Jaeger <aj@suse.de>
5531
664a9ce4
AJ
5532 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5533 definition via __MAP_ANONYMOUS.
5534
8e39047d
AJ
5535 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5536 it's not part of Linux headers.
5537
67525cb8
AJ
5538 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5539 (MAP_HUGE_MASK): Define.
5540
5541 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5542 Define.
5543 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5544 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5545 Define.
5546 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5547 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5548 Define.
5549 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5550 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5551 Define.
5552 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5553
5554 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5555 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5556 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5557 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5558 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5559 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5560
5561 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5562 Handle f2fs.
5563
5564 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5565 Handle f2fs and efivarfs.
5566
5567 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5568 f2fs.
5569
5570 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5571 (EFIVARFS_MAGIC): Add.
5572 (F2FS_LINK_MAX): Add.
5573
e1b42695
PP
55742013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5575
5576 * stdio-common/vfprintf.c: Replace __builtin_expect with
5577 __glibc_unlikely.
5578
2d67d91a
JM
55792013-03-06 Joseph Myers <joseph@codesourcery.com>
5580
5581 [BZ #13550]
5582 * sysdeps/generic/bp-sym.h: Remove file.
5583 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5584 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5585 <bp-sym.h> and <bp-asm.h>.
5586 (__longjmp): Don't use BP_SYM.
5587 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5588 and <bp-asm.h>.
5589 (memcpy): Don't use BP_SYM.
5590 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5591 <bp-sym.h> and <bp-asm.h>.
5592 (memcpy): Don't use BP_SYM.
5593 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5594 <bp-asm.h>.
5595 (memcpy): Don't use BP_SYM.
5596 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5597 <bp-asm.h>.
5598 (memset): Don't use BP_SYM.
5599 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5600 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5601 (__bzero): Don't use BP_SYM.
5602 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5603 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5604 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5605 <bp-sym.h> and <bp-asm.h>.
5606 (memcmp): Don't use BP_SYM. Remove comment about bounded
5607 pointers.
5608 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5609 <bp-sym.h> and <bp-asm.h>.
5610 (memcpy): Don't use BP_SYM.
5611 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5612 <bp-sym.h> and <bp-asm.h>.
5613 (memset): Don't use BP_SYM.
5614 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5615 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5616 (__bzero): Don't use BP_SYM.
5617 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5618 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5619 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5620 <bp-sym.h> and <bp-asm.h>.
5621 (strncmp): Don't use BP_SYM. Remove comment about bounded
5622 pointers.
5623 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5624 <bp-sym.h> and <bp-asm.h>.
5625 (memcpy): Don't use BP_SYM.
5626 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5627 <bp-sym.h> and <bp-asm.h>.
5628 (memset): Don't use BP_SYM.
5629 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5630 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5631 (__bzero): Don't use BP_SYM.
5632 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5633 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5635 <bp-sym.h> and <bp-asm.h>.
5636 (__memchr): Don't use BP_SYM.
5637 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5638 <bp-sym.h> and <bp-asm.h>.
5639 (memcmp): Don't use BP_SYM. Remove comment about bounded
5640 pointers.
5641 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5642 <bp-sym.h> and <bp-asm.h>.
5643 (memcpy): Don't use BP_SYM.
5644 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5645 <bp-sym.h> and <bp-asm.h>.
5646 (__mempcpy): Don't use BP_SYM.
5647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5648 <bp-sym.h> and <bp-asm.h>.
5649 (__memrchr): Don't use BP_SYM.
5650 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5651 <bp-sym.h> and <bp-asm.h>.
5652 (memset): Don't use BP_SYM.
5653 (__bzero): Likewise.
5654 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5655 <bp-sym.h> and <bp-asm.h>.
5656 (__rawmemchr): Don't use BP_SYM.
5657 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5658 <bp-sym.h> and <bp-asm.h>.
5659 (__STRCMP): Don't use BP_SYM.
5660 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5661 <bp-sym.h> and <bp-asm.h>.
5662 (strchr): Don't use BP_SYM.
5663 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5664 <bp-sym.h> and <bp-asm.h>.
5665 (__strchrnul): Don't use BP_SYM.
5666 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5667 <bp-sym.h> and <bp-asm.h>.
5668 (strlen): Don't use BP_SYM.
5669 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5670 <bp-sym.h> and <bp-asm.h>.
5671 (strncmp): Don't use BP_SYM. Remove comment about bounded
5672 pointers.
5673 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5674 <bp-sym.h> and <bp-asm.h>.
5675 (__strnlen): Don't use BP_SYM.
5676 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5677 <bp-sym.h> and <bp-asm.h>.
5678 (__GI__setjmp): Don't use BP_SYM.
5679 (_setjmp): Likewise.
5680 (__sigsetjmp): Likewise.
5681 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5682 (L(start_addresses)): Don't use BP_SYM.
5683 (_start): Likewise.
5684 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5685 <bp-asm.h>.
5686 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5687 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5688 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5689 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5690 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5691 <bp-asm.h>.
5692 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5693 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5694 about bounded pointers.
5695 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5696 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5697 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5698 <bp-asm.h>.
5699 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5700 about bounded pointers. Remove GKM FIXME comments.
5701 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5702 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5703 <bp-asm.h>.
5704 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5705 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5706 Remove GKM FIXME comments.
5707 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5708 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5709 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5710 <bp-asm.h>.
5711 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5712 about bounded pointers. Remove GKM FIXME comment.
5713 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5714 and <bp-asm.h>.
5715 (strncmp): Don't use BP_SYM. Remove comment about bounded
5716 pointers.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5718 <bp-sym.h> and <bp-asm.h>.
5719 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5721 <bp-sym.h> and <bp-asm.h>.
5722 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5723 comment.
5724
cdcf361f
PP
57252013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5726
5727 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5728 call free(NULL).
5729
3c4a2b15
DM
57302013-03-05 David S. Miller <davem@davemloft.net>
5731
5732 * po/es.po: Update from translation team.
5733
cdcf361f 57342013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5735
5736 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5737 <bits/mman-linux.h>.
5738 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5739 is fine.
5740 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5741 <bits/mman-linux.h> to end of file.
5742 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5743 is fine.
5744 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5745 <bits/mman-linux.h> to end of file.
5746 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5747 is fine.
5748 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5749 <bits/mman-linux.h> to end of file.
5750
5751 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5752 (MCL_CURRENT, MCL_FUTURE): Define here.
5753
5f67c04f
AK
57542013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5755
8a4473cc 5756 [BZ #15232]
5f67c04f
AK
5757 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5758 attribute_hidden.
5759 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5760
c3e94a95
AK
57612013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5762
5763 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5764 fourth parameter needed for rt_sigprocmask syscall.
5765 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5766 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5767 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5768 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5769 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5770 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5771
cfb6382a
JM
57722013-03-04 Joseph Myers <joseph@codesourcery.com>
5773
5774 [BZ #13550]
5775 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5776 comment about bounded pointers.
5777 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5778 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5779
539d8e01
AJ
57802013-03-04 Andreas Jaeger <aj@suse.de>
5781
5782 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5783 common definitions.
5784
5785 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5786 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5787 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5788 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5789 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5790 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5791
2e167a70 57922013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5793
5794 [BZ #15055]
5795 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5796 __ieee754_sqrl instead of __sqrl.
5797
68508633
JM
57982013-03-01 Joseph Myers <joseph@codesourcery.com>
5799
5800 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5801 * sysdeps/powerpc/fpu_control.h: ... here.
5802 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5803 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5804 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5805 * sysdeps/powerpc/bits/mathinline.h: ... here.
5806
7775448e
RM
58072013-03-01 Roland McGrath <roland@hack.frob.com>
5808
5809 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5810 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5811 to just [NEED_DL_SYSINFO_DSO].
5812 * elf/dl-support.c: Likewise.
5813 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5814 * elf/rtld.c (dl_main): Likewise.
5815 * elf/setup-vdso.h (setup_vdso): Likewise.
5816 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5817 * sysdeps/unix/sysv/linux/dl-sysdep.c
5818 (_dl_discover_osversion): Likewise.
5819
4e9b5995
CD
58202013-03-01 Carlos O'Donell <carlos@redhat.com>
5821
5822 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5823 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5824
e23872c8
SP
58252013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5826
e5c74c63
SP
5827 * NEWS: Mention libm performance improvements and non-x86 PI
5828 futex support.
5829
e23872c8
SP
5830 * csu/libc-start.c (__pthread_initialize_minimal): Change
5831 function arguments.
5832 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5833
b5510883
JM
58342013-02-28 Joseph Myers <joseph@codesourcery.com>
5835
5836 [BZ #13550]
5837 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5838 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5839 <bp-sym.h> and <bp-asm.h>.
5840 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5841 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5842 and <bp-asm.h>.
5843 (memcpy): Don't use BP_SYM.
5844 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5845 <bp-asm.h>.
5846 (__mpn_add_n): Don't use BP_SYM.
5847 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5848 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5849 and <bp-asm.h>.
5850 (__mpn_addmul_1): Don't use BP_SYM.
5851 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5852 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5853 <bp-sym.h>.
5854 (_setjmp): Don't use BP_SYM.
5855 (__novmx_setjmp): Likewise.
5856 (__GI__setjmp): Likewise.
5857 (__vmx_setjmp): Likewise.
5858 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5859 <bp-sym.h>.
5860 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5861 (__bzero): Don't use BP_SYM.
5862 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5863 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5864 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5865 <bp-sym.h> and <bp-asm.h>.
5866 (memcpy): Don't use BP_SYM.
5867 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5868 <bp-sym.h> and <bp-asm.h>.
5869 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5870 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5871 <bp-sym.h> and <bp-asm.h>.
5872 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5873 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5874 <bp-asm.h>.
5875 (__mpn_lshift): Don't use BP_SYM.
5876 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5877 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5878 <bp-asm.h>.
5879 (memset): Don't use BP_SYM.
5880 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5881 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5882 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5883 <bp-asm.h>.
5884 (__mpn_mul_1): Don't use BP_SYM.
5885 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5887 <bp-sym.h> and <bp-asm.h>.
5888 (memcmp): Don't use BP_SYM.
5889 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5890 <bp-sym.h> and <bp-asm.h>.
5891 (memcpy): Don't use BP_SYM.
5892 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5893 <bp-sym.h> and <bp-asm.h>.
5894 (memset): Don't use BP_SYM.
5895 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5896 <bp-sym.h> and <bp-asm.h>.
5897 (strncmp): Don't use BP_SYM.
5898 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5899 <bp-sym.h> and <bp-asm.h>.
5900 (memcpy): Don't use BP_SYM.
5901 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5902 <bp-sym.h> and <bp-asm.h>.
5903 (memset): Don't use BP_SYM.
5904 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5905 <bp-sym.h> and <bp-asm.h>.
5906 (__memchr): Don't use BP_SYM.
5907 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5908 <bp-sym.h> and <bp-asm.h>.
5909 (memcmp): Don't use BP_SYM.
5910 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5911 <bp-sym.h> and <bp-asm.h>.
5912 (memcpy): Don't use BP_SYM.
5913 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5914 <bp-sym.h> and <bp-asm.h>.
5915 (__mempcpy): Don't use BP_SYM.
5916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5917 <bp-sym.h> and <bp-asm.h>.
5918 (__memrchr): Don't use BP_SYM.
5919 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5920 <bp-sym.h> and <bp-asm.h>.
5921 (memset): Don't use BP_SYM.
5922 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5923 <bp-sym.h> and <bp-asm.h>.
5924 (__rawmemchr): Don't use BP_SYM.
5925 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5926 <bp-sym.h> and <bp-asm.h>.
5927 (__STRCMP): Don't use BP_SYM.
5928 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5929 <bp-sym.h> and <bp-asm.h>.
5930 (strchr): Don't use BP_SYM.
5931 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5932 <bp-sym.h> and <bp-asm.h>.
5933 (__strchrnul): Don't use BP_SYM.
5934 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5935 <bp-sym.h> and <bp-asm.h>.
5936 (strlen): Don't use BP_SYM.
5937 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5938 <bp-sym.h> and <bp-asm.h>.
5939 (strncmp): Don't use BP_SYM.
5940 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5941 <bp-sym.h> and <bp-asm.h>.
5942 (__strnlen): Don't use BP_SYM.
5943 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5944 <bp-asm.h>.
5945 (__mpn_rshift): Don't use BP_SYM.
5946 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5947 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5948 <bp-sym.h> and <bp-asm.h>.
5949 (__sigsetjmp): Don't use BP_SYM.
5950 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5951 (L(start_addresses)): Don't use BP_SYM.
5952 (_start): Likewise.
5953 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5954 <bp-asm.h>.
5955 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5956 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5957 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5958 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5959 <bp-asm.h>.
5960 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5961 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5962 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5963 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5964 <bp-asm.h>.
5965 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5966 comments.
5967 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5968 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5969 <bp-asm.h>.
5970 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5971 FIXME comments.
5972 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5973 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5974 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5975 <bp-asm.h>.
5976 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5977 comment.
5978 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5979 and <bp-asm.h>.
5980 (strncmp): Don't use BP_SYM,
5981 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5982 <bp-asm.h>.
5983 (__mpn_sub_n): Don't use BP_SYM.
5984 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5985 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5986 and <bp-asm.h>.
5987 (__mpn_submul_1): Don't use BP_SYM.
5988 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5990 <bp-sym.h> and <bp-asm.h>.
5991 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5993 <bp-sym.h> and <bp-asm.h>.
5994 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5995 comment.
5996
8d19fe64
SP
59972013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5998
5999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6000 Use ZK to minimize writes to Z.
6001 (sub_magnitudes): Simplify code a bit.
6002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6003 Use ZK to minimize writes to Z.
6004 (sub_magnitudes): Simplify code a bit.
6005
85bd816a
RM
60062013-02-27 Roland McGrath <roland@hack.frob.com>
6007
6008 * csu/gmon-start.c: Add special exception to license text.
6009
b5977bf2
RH
60102013-02-27 Richard Henderson <rth@redhat.com>
6011
6012 * scripts/config.guess: Update from config.git.
6013 * scripts/config.sub: Likewise.
6014
11d6e2f2
SP
60152013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6016
09c14ed2
SP
6017 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6018
a688864e
SP
6019 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6020
6295157a
SP
6021 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6022
b8de2202
SP
6023 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6024
11d6e2f2
SP
6025 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6026
7e80ddb8
RM
60272013-02-26 Roland McGrath <roland@hack.frob.com>
6028
6029 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6030 [$(build-shared = yes].
7e80ddb8 6031
7da6d9ed
SP
60322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6033
45f05884
SP
6034 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6035 (__mul): Reduce iterations for calculating mantissa.
6036
2236d359
SP
6037 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6038 MPTWO.
6039 (__mpranred): Likewise.
6040
7da6d9ed
SP
6041 [BZ #15160]
6042 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6043 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6044
b7688c42
PE
60452013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6046
6047 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6048 Define __attribute__.
6049
53a5c423
SP
60502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6051
6052 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6053 unused.
6054 * posix/regex_internal.h (__attribute): Remove.
6055 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6056 (re_string_context_at): Likewise.
6057 (bitset_not): Use __attribute__ and mark function as possibly
6058 unused.
6059 (bitset_merge): Likewise.
6060 (bitset_mask): Likewise.
6061 (re_string_char_size_at): Likewise.
6062 (re_string_wchar_at): Likewise.
6063 (re_string_elem_size_at): Likewise.
6064
60f5a8b5
SP
60652013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6066
2a983a2e
SP
6067 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6068 code.
6069 (cc32): Likewise.
6070
e69804d1
SP
6071 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6072 (__acr): Likewise.
6073 (__cpy): Likewise.
6074 (norm): Likewise.
6075 (denorm): Likewise.
6076 (__dbl_mp): Likewise.
6077 (add_magnitudes): Likewise.
6078 (sub_magnitudes): Likewise.
6079 (__mul): Likewise.
6080 (__inv): Likewise.
6081
2f22a1e8
SP
6082 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6083 style.
6084
8930ddc7
SP
6085 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6086 style.
6087
dc60cb11
SP
6088 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6089 code.
6090
60f5a8b5
SP
6091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6092 up changes with default code.
6093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6094 Likewise.
6095
b4d1fd33
AM
60962013-02-24 Allan McRae <allan@archlinux.org>
6097
faf6f8bc
AM
6098 * manual/socket.texi (The Internet Namespace): Order menu items
6099 to match that in the file.
6100
b4d1fd33
AM
6101 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6102 node listing of the info page menu.
6103
2366713d
JM
61042013-02-21 Joseph Myers <joseph@codesourcery.com>
6105
6106 [BZ #13550]
6107 * sysdeps/i386/bp-asm.h: Remove file.
6108 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6109 (PARMS): Do not use macros from bp-asm.h.
6110 (S1): Likewise.
6111 (S2): Likewise.
6112 (SIZE): Likewise.
6113 (__mpn_add_n): Do not use BP_SYM
6114 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6115 "bp-asm.h".
6116 (PARMS): Do not use macros from bp-asm.h.
6117 (S1): Likewise.
6118 (SIZE): Likewise.
6119 (__mpn_addmul_1): Do not use BP_SYM
6120 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6121 "bp-asm.h".
6122 (PARMS): Do not use macros from bp-asm.h.
6123 (SIGMSK): Likewise.
6124 (_setjmp): Likewise. Do not use BP_SYM.
6125 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6126 "bp-asm.h".
6127 (PARMS): Do not use macros from bp-asm.h.
6128 (SIGMSK): Likewise.
6129 (setjmp): Likewise. Do not use BP_SYM.
6130 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6131 "bp-asm.h".
6132 (PARMS): Do not use macros from bp-asm.h.
6133 (__frexp): Do not use BP_SYM.
6134 (frexp): Likewise.
6135 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6136 "bp-asm.h".
6137 (PARMS): Do not use macros from bp-asm.h.
6138 (__frexpf): Do not use BP_SYM.
6139 (frexpf): Likewise.
6140 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6141 "bp-asm.h".
6142 (PARMS): Do not use macros from bp-asm.h.
6143 (__frexpl): Do not use BP_SYM.
6144 (frexpl): Likewise.
6145 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6146 "bp-asm.h".
6147 (PARMS): Do not use macros from bp-asm.h.
6148 (__remquo): Do not use BP_SYM.
6149 (remquo): Likewise.
6150 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6151 "bp-asm.h".
6152 (PARMS): Do not use macros from bp-asm.h.
6153 (__remquof): Do not use BP_SYM.
6154 (remquof): Likewise.
6155 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6156 "bp-asm.h".
6157 (PARMS): Do not use macros from bp-asm.h.
6158 (__remquol): Do not use BP_SYM.
6159 (remquol): Likewise.
6160 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6161 "bp-asm.h".
6162 (PARMS): Do not use macros from bp-asm.h.
6163 (DEST): Likewise.
6164 (SRC): Likewise.
6165 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6166 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6167 "bp-asm.h".
6168 (PARMS): Do not use macros from bp-asm.h.
6169 (strlen): Do not use BP_SYM.
6170 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6171 "bp-asm.h".
6172 (PARMS): Do not use macros from bp-asm.h.
6173 (S1): Likewise.
6174 (S2): Likewise.
6175 (SIZE): Likewise.
6176 (__mpn_add_n): Do not use BP_SYM.
6177 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6178 "bp-asm.h".
6179 (PARMS): Do not use macros from bp-asm.h.
6180 (S1): Likewise.
6181 (SIZE): Likewise.
6182 (__mpn_addmul_1): Do not use BP_SYM.
6183 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6184 weak_alias.
6185 (bzero): Likewise.
6186 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6187 "bp-asm.h".
6188 (PARMS): Do not use macros from bp-asm.h.
6189 (S): Likewise.
6190 (SIZE): Likewise.
6191 (__mpn_lshift): Do not use BP_SYM.
6192 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6193 "bp-asm.h".
6194 (PARMS): Do not use macros from bp-asm.h.
6195 (DEST): Likewise.
6196 (SRC): Likewise.
6197 (LEN): Likewise.
6198 (memcpy): Likewise. Do not use BP_SYM.
6199 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6200 libc_hidden_def and weak_alias.
6201 (mempcpy): Do not use BP_SYM in weak_alias.
6202 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6203 "bp-asm.h".
6204 (PARMS): Do not use macros from bp-asm.h.
6205 (DEST): Likewise.
6206 (LEN): Likewise.
6207 [!BZERO_P] (CHR): Likewise.
6208 (memset): Likewise. Do not use BP_SYM.
6209 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6210 "bp-asm.h".
6211 (PARMS): Do not use macros from bp-asm.h.
6212 (S1): Likewise.
6213 (SIZE): Likewise.
6214 (__mpn_mul_1): Do not use BP_SYM.
6215 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6216 "bp-asm.h".
6217 (PARMS): Do not use macros from bp-asm.h.
6218 (S): Likewise.
6219 (SIZE): Likewise.
6220 (__mpn_rshift): Do not use BP_SYM.
6221 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6222 "bp-asm.h".
6223 (PARMS): Do not use macros from bp-asm.h.
6224 (STR): Likewise.
6225 (CHR): Likewise.
6226 (strchr): Likewise. Do not use BP_SYM.
6227 (index): Do not use BP_SYM in weak_alias.
6228 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6229 "bp-asm.h".
6230 (PARMS): Do not use macros from bp-asm.h.
6231 (DEST): Likewise.
6232 (SRC): Likewise.
6233 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6234 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6235 "bp-asm.h".
6236 (PARMS): Do not use macros from bp-asm.h.
6237 (strlen): Do not use BP_SYM.
6238 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6239 "bp-asm.h".
6240 (PARMS): Do not use macros from bp-asm.h.
6241 (S1): Likewise.
6242 (S2): Likewise.
6243 (SIZE): Likewise.
6244 (__mpn_sub_n): Do not use BP_SYM.
6245 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6246 "bp-asm.h".
6247 (PARMS): Do not use macros from bp-asm.h.
6248 (S1): Likewise.
6249 (SIZE): Likewise.
6250 (__mpn_submul_1): Do not use BP_SYM.
6251 * sysdeps/i386/i686/add_n.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 (S2): Likewise.
6256 (SIZE): Likewise.
6257 (__mpn_add_n): Do not use BP_SYM.
6258 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6259 weak_alias.
6260 (bzero): Likewise.
6261 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6262 "bp-asm.h".
6263 (PARMS): Do not use macros from bp-asm.h.
6264 (BLK2): Likewise.
6265 (LEN): Likewise.
6266 (memcmp): Do not use BP_SYM.
6267 (bcmp): Do not use BP_SYM in weak_alias.
6268 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6269 "bp-asm.h".
6270 (PARMS): Do not use macros from bp-asm.h.
6271 (DEST): Likewise.
6272 (SRC): Likewise.
6273 (LEN): Likewise.
6274 (memcpy): Likewise. Do not use BP_SYM.
6275 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6276 "bp-asm.h".
6277 (PARMS): Do not use macros from bp-asm.h.
6278 (DEST): Likewise.
6279 (SRC): Likewise.
6280 (LEN): Likewise.
6281 (memmove): Likewise. Do not use BP_SYM.
6282 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6283 "bp-asm.h".
6284 (PARMS): Do not use macros from bp-asm.h.
6285 (DEST): Likewise.
6286 (SRC): Likewise.
6287 (LEN): Likewise.
6288 (__mempcpy): Likewise. Do not use BP_SYM.
6289 (mempcpy): Do not use BP_SYM in weak_alias.
6290 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6291 "bp-asm.h".
6292 (PARMS): Do not use macros from bp-asm.h.
6293 (DEST): Likewise.
6294 (LEN): Likewise.
6295 [!BZERO_P] (CHR): Likewise.
6296 (memset): Likewise. Do not use BP_SYM.
6297 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6298 "bp-asm.h".
6299 (PARMS): Do not use macros from bp-asm.h.
6300 (STR2): Likewise.
6301 (strcmp): Do not use BP_SYM.
6302 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6303 "bp-asm.h".
6304 (PARMS): Do not use macros from bp-asm.h.
6305 (STR): Likewise.
6306 (DELIM): Likewise.
6307 [USE_AS_STRTOK_R] (SAVE): Likewise.
6308 (FUNCTION): Likewise. Do not use BP_SYM.
6309 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6310 aliases.
6311 (strtok_r): Likewise.
6312 (__GI___strtok_r): Likewise.
6313 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6314 (PARMS): Do not use macros from bp-asm.h.
6315 (S): Likewise.
6316 (SIZE): Likewise.
6317 (__mpn_lshift): Do not use BP_SYM.
6318 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6319 (PARMS): Do not use macros from bp-asm.h.
6320 (STR): Likewise.
6321 (CHR): Likewise.
6322 (__memchr): Do not use BP_SYM.
6323 (memchr): Do not use BP_SYM in weak_alias.
6324 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6325 (PARMS): Do not use macros from bp-asm.h.
6326 (BLK2): Likewise.
6327 (LEN): Likewise.
6328 (memcmp): Do not use BP_SYM.
6329 (bcmp): Do not use BP_SYM in weak_alias.
6330 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6331 (PARMS): Do not use macros from bp-asm.h.
6332 (S1): Likewise.
6333 (SIZE): Likewise.
6334 (__mpn_mul_1): Do not use BP_SYM.
6335 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6336 "bp-asm.h".
6337 (PARMS): Do not use macros from bp-asm.h.
6338 (STR): Likewise.
6339 (CHR): Likewise.
6340 (__rawmemchr): Do not use BP_SYM.
6341 (rawmemchr): Do not use BP_SYM in weak_alias.
6342 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6343 (PARMS): Do not use macros from bp-asm.h.
6344 (S): Likewise.
6345 (SIZE): Likewise.
6346 (__mpn_rshift): Do not use BP_SYM.
6347 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6348 (PARMS): Do not use macros from bp-asm.h.
6349 (SIGMSK): Likewise.
6350 (__sigsetjmp): Likewise. Do not use BP_SYM.
6351 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6352 (_start): Do not use BP_SYM.
6353 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6354 (PARMS): Do not use macros from bp-asm.h.
6355 (DEST): Likewise.
6356 (SRC): Likewise.
6357 (__stpcpy): Likewise. Do not use BP_SYM.
6358 (stpcpy): Do not use BP_SYM in weak_alias.
6359 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6360 "bp-asm.h".
6361 (PARMS): Do not use macros from bp-asm.h.
6362 (DEST): Likewise.
6363 (SRC): Likewise.
6364 (LEN): Likewise.
6365 (__stpncpy): Likewise. Do not use BP_SYM.
6366 (stpncpy): Do not use BP_SYM in weak_alias.
6367 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6368 (PARMS): Do not use macros from bp-asm.h.
6369 (STR): Likewise.
6370 (CHR): Likewise.
6371 (strchr): Likewise. Do not use BP_SYM.
6372 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6373 "bp-asm.h".
6374 (PARMS): Do not use macros from bp-asm.h.
6375 (STR): Likewise.
6376 (CHR): Likewise.
6377 (__strchrnul): Likewise. Do not use BP_SYM.
6378 (strchrnul): Do not use BP_SYM in weak_alias.
6379 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6380 "bp-asm.h".
6381 (PARMS): Do not use macros from bp-asm.h.
6382 (STOP): Likewise.
6383 (strcspn): Do not use BP_SYM.
6384 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6385 "bp-asm.h".
6386 (PARMS): Do not use macros from bp-asm.h.
6387 (STR): Likewise.
6388 (STOP): Likewise.
6389 (strpbrk): Likewise. Do not use BP_SYM.
6390 * sysdeps/i386/strrchr.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 (CHR): Likewise.
6395 (strrchr): Likewise. Do not use BP_SYM.
6396 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6397 (PARMS): Do not use macros from bp-asm.h.
6398 (SKIP): Likewise.
6399 (strspn): Do not use BP_SYM.
6400 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6401 (PARMS): Do not use macros from bp-asm.h.
6402 (STR): Likewise.
6403 (DELIM): Likewise.
6404 (SAVE): Likewise.
6405 (FUNCTION): Likewise. Do not use BP_SYM.
6406 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6407 aliases.
6408 (strtok_r): Likewise.
6409 (__GI___strtok_r): Likewise.
6410 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6411 (PARMS): Do not use macros from bp-asm.h.
6412 (S1): Likewise.
6413 (S2): Likewise.
6414 (SIZE): Likewise.
6415 (__mpn_sub_n): Do not use BP_SYM.
6416 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6417 "bp-asm.h".
6418 (PARMS): Do not use macros from bp-asm.h.
6419 (S1): Likewise.
6420 (SIZE): Likewise.
6421 (__mpn_submul_1): Do not use BP_SYM.
6422 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6423 <bp-sym.h>.
6424 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6425 and <bp-asm.h>.
6426 (PARMS): Do not use macros from bp-asm.h.
6427 (FLAGS): Likewise.
6428 (PTID): Likewise.
6429 (TLS): Likewise.
6430 (CTID): Likewise.
6431 (__clone): Do not use BP_SYM.
6432 (clone): Do not use BP_SYM in weak_alias.
6433 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6434 and <bp-asm.h>.
6435 (PARMS): Do not use macros from bp-asm.h.
6436 (LEN): Likewise.
6437 (__mmap64): Do not use BP_SYM.
6438 (mmap64): Do not use BP_SYM in weak_alias.
6439 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6440 <bp-sym.h> and <bp-asm.h>.
6441 (PARMS): Do not use macros from bp-asm.h.
6442 (__posix_fadvise64_l64): Do not use BP_SYM.
6443 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6444 (PARMS): Do not use macros from bp-asm.h.
6445 (NSOPS): Likewise.
6446 (semtimedop): Do not use BP_SYM.
6447 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6448 and <bp-asm.h>.
6449
582a3cff
AM
64502013-02-21 Allan McRae <allan@archlinux.org>
6451
6452 * manual/message.texi (Charset conversion in gettext):
6453 Move @end statement to beginning of line.
6454
bab8a695
SP
64552013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6456
80945231
SP
6457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6458 static.
6459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6460 Likewise.
6461
bab8a695
SP
6462 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6463 (denorm): Likewise.
6464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6466
e21d7aa7
AK
64672013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6468
6469 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6470 tail-call to the resolved function if pltexit isn't needed.
6471
4c7a4263
SP
64722013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6473
6474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6475 or Y being zero as being unlikely.
6476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6477 Likewise.
6478
41f49342
CD
64792013-02-20 Carlos O'Donell <carlos@redhat.com>
6480
6481 * manual/nss.texi (System Databases and Name Service Switch):
6482 Remove frobnicate @pxref.
6483
50022a93
TS
64842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6485
6486 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6487 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6488
08cbd996
PM
64892013-02-20 Petr Machata <pmachata@redhat.com>
6490
6491 * elf/elf.h (R_ARM_TARGET1): New macro.
6492 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6493 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6494 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6495 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6496 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6497 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6498 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6499 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6500 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6501 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6502 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6503 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6504 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6505 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6506 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6507 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6508 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6509 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6510 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6511 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6512 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6513 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6514 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6515 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6516 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6517 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6518 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6519 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6520 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6521 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6522 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6523 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6524 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6525 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6526 (R_ARM_THM_GOT_BREL12): Likewise.
6527 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6528 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6529 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6530 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6531 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6532 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6533 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6534 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6535 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6536
c7b275d6
TS
65372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6538
6539 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6540 __attribute_used__ to __attribute__ ((unused)).
6541
20cd7fb3
SP
65422013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6543
6544 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6545 powerpc mpa.c.
6546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6547 comment formatting.
6548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6549
92945b52
JM
65502013-02-19 Joseph Myers <joseph@codesourcery.com>
6551
6552 [BZ #13550]
6553 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6554 Remove macro.
6555 (ENTER): Remove both macro definitions.
6556 (LEAVE): Likewise.
6557 (CHECK_BOUNDS_LOW): Likewise.
6558 (CHECK_BOUNDS_HIGH): Likewise.
6559 (CHECK_BOUNDS_BOTH): Likewise.
6560 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6561 (RETURN_BOUNDED_POINTER): Likewise.
6562 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6563 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6564 (POP_ERRNO_LOCATION_RETURN): Likewise.
6565 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6566 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6567 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6568 macros.
6569 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6570 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6571 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6572 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6573 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6574 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6575 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6576 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6577 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6578 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6579 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6580 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6581 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6582 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6583 removed macros.
6584 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6585 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6586 macros.
6587 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6588 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6589 * sysdeps/i386/i586/memset.S (memset): Likewise.
6590 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6591 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6592 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6593 macros.
6594 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6595 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6596 Change uses of L(2) to L(out).
6597 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6598 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6599 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6600 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6601 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6602 removed macros.
6603 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6604 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6605 macros.
6606 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6607 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6608 (RETURN): Do not use macro LEAVE.
6609 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6610 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6611 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6612 * sysdeps/i386/i686/memset.S (memset): Likewise.
6613 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6614 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6615 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6616 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6617 Likewise.
6618 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6619 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6620 L(1_2) and L(1_3) into L(1).
6621 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6622 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6623 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6624 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6625 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6626 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6627 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6628 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6629 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6630 macros.
6631 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6632 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6633 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6634 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6635 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6636 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6637 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6638 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6639 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6640 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6641 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6642 * sysdeps/i386/strspn.S (strspn): Likewise.
6643 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6644 conditional code.
6645 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6646 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6647 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6648 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6649 L(1_3) into L(1_1).
6650 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6651 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6652 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6653 macros.
6654 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6655
2389741a
JJ
66562013-02-19 Jakub Jelinek <jakub@redhat.com>
6657
6658 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6659 macro.
6660
2016b3cd
SP
66612013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6662
e4f22324
SP
6663 * math/atest-exp.c (exp_mpn): Remove ROUND.
6664 * math/atest-exp2.c (exp_mpn): Likewise.
6665 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6666
2016b3cd
SP
6667 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6668 * stdlib/tst-tls-atexit-lib.c: Likewise.
6669 * stdlib/tst-tls-atexit.c: Likewise.
6670
4be9b544
MF
66712013-02-18 Mike Frysinger <vapier@gentoo.org>
6672
6673 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6674 and __attribute_alloc_size__.
6675
2f62b9ee
MF
66762013-02-18 Mike Frysinger <vapier@gentoo.org>
6677
6678 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6679 __attribute_alloc_size__.
6680 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6681 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6682
6ff444c4
MF
66832013-02-18 Mike Frysinger <vapier@gentoo.org>
6684
6685 * include/programs/xmalloc.h: New file.
6686 * catgets/gencat.c: Include it.
6687 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6688 * elf/pldd.c: Likewise.
6689 * iconv/iconv_charmap.c: Likewise.
6690 * iconv/iconvconfig.c: Likewise.
6691 * iconv/strtab.c: Likewise.
6692 * locale/programs/locale.c: Likewise.
6693 * locale/programs/localedef.h: Likewise.
6694 * locale/programs/simple-hash.c: Likewise.
6695 * nscd/nscd.h: Likewise.
6696 * nss/makedb.c: Likewise.
6697 * sysdeps/generic/ldconfig.h: Likewise.
6698
be179c8a
SP
66992013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6700
ba384f6e
SP
6701 * Versions.def: Add GLIBC_2.18.
6702 * include/link.h (struct link_map): New member l_tls_dtor_count.
6703 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6704 (__call_tls_dtors): Likewise.
6705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6706 __cxa_thread_atexit_impl.
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6708 Likewise.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6710 Likewise.
6711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6712 Likewise.
6713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6714 Likewise.
6715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6717 Likewise.
6718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6719 Likewise.
6720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6722 Likewise.
6723 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6724 (tests): Add test case tst-tls-atexit.
6725 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6726 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6727 (GLIBC_PRIVATE): Add __call_tls_dtors.
6728 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6729 for libstdc++.
6730 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6731 * stdlib/tst-tls-atexit.c: New test case.
6732 * stdlib/tst-tls-atexit-lib.c: New test case.
6733
ffaa74cf 6734 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6735
be179c8a
SP
6736 * elf/Versions (ld): Add _dl_find_dso_for_object.
6737 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6738 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6739 (dl_open_worker): Use _dl_find_dso_for_object.
6740 * elf/dl-sym.c (do_sym): Likewise.
6741 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6742
f78b5caa
AK
67432013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6744
6745 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6746 Syntactic changes only.
6747 (_dl_runtime_profile): Do a tail-call to the resolved function.
6748
29691210
JM
67492013-02-17 Joseph Myers <joseph@codesourcery.com>
6750
6751 [BZ #13550]
6752 * sysdeps/x86_64/bp-asm.h: Remove file.
6753 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6754 <bp-sym.h> and <bp-asm.h>.
6755 (__clone): Do not use BP_SYM.
6756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6757 <bp-sym.h> and <bp-asm.h>.
6758 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6759 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6760 "bp-asm.h".
6761 (_setjmp): Do not use BP_SYM.
6762 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6763 "bp-asm.h".
6764 (setjmp): Do not use BP_SYM.
6765 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6766 libc_hidden_def.
6767 (mempcpy): Do not use BP_SYM in weak_alias.
6768 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6769 "bp-asm.h".
6770 (strchr): Do not use BP_SYM.
6771 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6772 "bp-asm.h".
6773 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6774 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6775 (_start): Do not use BP_SYM.
6776 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6777 "bp-asm.h".
6778 (strcat): Do not use BP_SYM.
6779 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6780 "bp-asm.h".
6781 (STRCMP): Do not use BP_SYM.
6782 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6783 "bp-asm.h".
6784 (STRCPY): Do not use BP_SYM.
6785 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6786 "bp-asm.h".
6787 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6788 "bp-asm.h".
6789 (FUNCTION): Do not use BP_SYM.
6790 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6791 weak_alias.
6792 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6793
f238fd19
AJ
67942013-02-17 Andreas Jaeger <aj@suse.de>
6795
6796 * time/Versions: Sort entries.
6797 * string/Versions: Likewise.
6798 * resolv/Versions: Likewise.
6799 * posix/Versions: Likewise.
6800 * iconv/Versions: Likewise.
6801 * elf/Versions: Likewise.
6802 * wcsmbs/Versions: Likewise.
6803
bd07f23c 68042013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6805
22af19f9
SP
6806 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6807 loop termination condition.
6808
4709fe76
SP
6809 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6810 variable to calculate EZ.
6811 (__sqr): Likewise.
2d0e0f29
SP
6812
6813 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6814 the lower precision input.
6815
daaa7713
JM
68162013-02-15 Joseph Myers <joseph@codesourcery.com>
6817
6818 [BZ #13550]
6819 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6820 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6821 (run-via-rtld-prefix): Do not handle %-bp tests.
6822 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6823 (all-object-suffixes): Remove .ob.
6824 (bppfx): Remove variable.
6825 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6826 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6827 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6828 [$(build-bounded) = yes] (libtype.ob): Likewise.
6829 * Makerules (elide-routines.ob): Remove variable.
6830 (do-tests-clean): Do not handle *-bp.out.
6831 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6832 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6833 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6834 (tests): Do not include $(tests-bp.out).
6835 (xtests): Do not include $(xtests-bp.out).
6836 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6837 [$(build-bounded) = yes] ($(addprefix
6838 $(objpfx),$(binaries-bounded))): Remove rule.
6839 ($(objpfx)%-bp.out): Remove rule.
6840 * config.make.in (build-bounded): Remove variable.
6841 * crypt/Makefile [$(build-bounded) = yes]
6842 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6843 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6844 append to variable.
6845 [$(build-bounded) = yes] (install-lib): Likewise.
6846 [$(build-bounded) = yes] (generated): Likewise.
6847 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6848 Remove rule.
6849 * intl/Makefile [$(build-bounded) = yes]
6850 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6851 * math/Makefile [$(build-bounded) = yes]
6852 ($(tests:%=$(objpfx)%-bp): Likewise.
6853 * misc/Makefile [$(build-bounded) = yes]
6854 ($(objpfx)tst-tsearch-bp): Likewise.
6855 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6856 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6857 Remove dependency.
6858 * string/Makefile (o-objects.ob): Remove variable.
6859 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6860 (CFLAGS-.ob): Remove variable.
6861 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6862 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6863 both definitions of variable.
6864 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6865 (ASFLAGS-.ob): Remove variable.
6866
e97ed6dd
JM
68672013-02-14 Joseph Myers <joseph@codesourcery.com>
6868
2bdd4ca6
JM
6869 [BZ #13550]
6870 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6871 Remove __BOUNDED_POINTERS__ from condition.
6872 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6873 * string/bits/string2.h [!__NO_STRING_INLINES &&
6874 !__BOUNDED_POINTERS__]: Likewise.
6875 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6876 Likewise.
6877 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6878 Remove conditional code.
6879 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6880 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6881 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6882 condition.
6883
e97ed6dd
JM
6884 [BZ #13550]
6885 * csu/libc-start.c: Do not include <bp-sym.h>.
6886 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6887 * elf/dl-open.c: Do not include <bp-sym.h>.
6888 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6889 * math/fegetenv.c: Do not include <bp-sym.h>.
6890 (fegetenv): Do not use BP_SYM in versioned symbols.
6891 * nptl/sysdeps/pthread/bits/libc-lockP.h
6892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6893 <bp-sym.h>.
6894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6895 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6897 (__pthread_mutex_destroy): Likewise.
6898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6899 (__pthread_mutex_lock): Likewise.
6900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6901 (__pthread_mutex_trylock): Likewise.
6902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6903 (__pthread_mutex_unlock): Likewise.
6904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6905 (__pthread_mutexattr_init): Likewise.
6906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6907 (__pthread_mutexattr_destroy): Likewise.
6908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6909 (__pthread_mutexattr_settype): Likewise.
6910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6911 (__pthread_rwlock_init): Likewise.
6912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6913 (__pthread_rwlock_destroy): Likewise.
6914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6915 (__pthread_rwlock_rdlock): Likewise.
6916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6917 (__pthread_rwlock_tryrdlock): Likewise.
6918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6919 (__pthread_rwlock_wrlock): Likewise.
6920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6921 (__pthread_rwlock_trywrlock): Likewise.
6922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6923 (__pthread_rwlock_unlock): Likewise.
6924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6925 (__pthread_key_create): Likewise.
6926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6927 (__pthread_setspecific): Likewise.
6928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6929 (__pthread_getspecific): Likewise.
6930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6931 Likewise.
6932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6933 (_pthread_cleanup_push_defer): Likewise.
6934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6935 (_pthread_cleanup_pop_restore): Likewise.
6936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6937 (pthread_setcancelstate): Likewise.
6938 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6939 <bp-sym.h>.
6940 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6941 (memchr): Do not use BP_SYM in weak_alias.
6942 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6943 (fegetenv): Do not use BP_SYM in versioned symbols.
6944 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6945 (fesetenv): Do not use BP_SYM in versioned symbols.
6946 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6947 (feupdateenv): Do not use BP_SYM in versioned symbols.
6948 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6949 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6950 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6951 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6952 (open64): Do not use BP_SYM in weak_alias.
6953 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6954 (fegetenv): Do not use BP_SYM in versioned symbols.
6955 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6956 (fesetenv): Do not use BP_SYM in versioned symbols.
6957 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6958 (feupdateenv): Do not use BP_SYM in versioned symbols.
6959 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6960 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6961 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6962 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6963 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6964 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6965 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6966 <bp-sym.h>.
6967 (__libc_start_main): Do not use BP_SYM.
6968
d6752ccd
SP
69692013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6970
cb57ce60
SP
6971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6972 redundant return line.
6973 (norm): Likewise.
6974 (denorm): Likewise.
6975 (dbl_mp): Likewise.
6976 (sub_magnitudes): Likewise.
6977 (__add): Likewise.
6978 (__sub): Likewise.
6979 (__mul): Likewise.
6980 (__inv): Likewise.
6981 (__dvd): Likewise.
6982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6983 (norm): Likewise.
6984 (denorm): Likewise.
6985 (dbl_mp): Likewise.
6986 (sub_magnitudes): Likewise.
6987 (__add): Likewise.
6988 (__sub): Likewise.
6989 (__mul): Likewise.
6990 (__inv): Likewise.
6991 (__dvd): Likewise.
6992
f414520d
SP
6993 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6994 instead of __mul.
6995 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6996 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6997 (cc32): Likewise.
6998
d6752ccd
SP
6999 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7000 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7002 of __mul for squares.
7003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7004 function
7005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7006 Likewise.
7007 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7008 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7009
70d9946a
JM
70102013-02-13 Joseph Myers <joseph@codesourcery.com>
7011
7012 [BZ #13550]
7013 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7014 code.
7015 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7016 prototype or function definition. Rename ubp_* variables and
7017 parameters. Remove argv definitions conditional on
7018 [__BOUNDED_POINTERS__].
7019 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7020 * elf/dl-runtime.c (_dl_fixup): Likewise.
7021 * include/set-hooks.h (RUN_HOOK): Likewise.
7022 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7023 definition.
7024 * string/strcpy.c (strcpy): Do not use __unbounded.
7025 * sysdeps/generic/frame.h (struct layout): Likewise.
7026 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7027 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7028 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7029 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7030 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7031 (__backtrace): Likewise.
7032 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7033 use __ptrvalue.
7034 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7035 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7036 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7037 Likewise.
7038 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7039 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7040 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7041 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7042 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7043 Do not use __unbounded.
7044 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7045 Rename __unboundedrlimits parameter to rlimits in prototype.
7046 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7047 Do not use __unbounded.
7048 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7049 not use __ptrvalue.
7050 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7051 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7052 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7053 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7054 __ptrvalue or __unbounded.
7055 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7056 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7057 use __unbounded.
7058 (__new_msgctl): Do not use __ptrvalue.
7059 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7060 __unbounded.
7061 (__libc_msgrcv): Do not use __ptrvalue.
7062 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7063 startup_info): Do not use __unbounded.
7064 (__libc_start_main): Likewise. Rename ubp_* variables and
7065 parameters. Remove argv definitions conditional on
7066 [__BOUNDED_POINTERS__].
7067 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7068 __ptrvalue.
7069 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7070 use __unbounded.
7071 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7072 or __ptrvalue.
7073 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7074 use __unbounded.
7075 (__new_shmctl): Do not use __ptrvalue.
7076 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7077 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7078 Likewise.
7079 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7080 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7081 (__libc_sigaction): Likewise.
7082 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7083 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7084 Likewise.
7085 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7086
cc7834d6
OB
70872013-02-13 Ondřej Bílka <neleai@seznam.cz>
7088
ffb1ec7b 7089 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7090
7091 * string/mempcpy.c: Implement by calling memcpy.
7092
bdf02814
SP
70932013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7094
c2af38aa
SP
7095 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7096
4e92d59e
SP
7097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7098 evaluation.
7099
909279a5
SP
7100 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7101 values in the mantissa.
7102
bdf02814
SP
7103 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7104 minimize writes to Z.
7105 (sub_magnitudes): Simplify code a bit.
7106
cd525923
RM
71072013-02-12 Roland McGrath <roland@hack.frob.com>
7108
7109 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7110 from the message. The linker prefixes all warnings with that already.
7111
7e2f0d2d
AS
71122013-02-12 Andreas Schwab <schwab@suse.de>
7113
a445af0b
AS
7114 [BZ #15078]
7115 * posix/regexec.c (extend_buffers): Add parameter min_len.
7116 (check_matching): Pass minimum needed length.
7117 (clean_state_log_if_needed): Likewise.
7118 (get_subexp): Likewise.
7119 * posix/Makefile (tests): Add bug-regex34.
7120 (bug-regex34-ENV): Define.
7121 * posix/bug-regex34.c: New file.
7122
7e2f0d2d
AS
7123 [BZ #11561]
7124 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7125 elements compare against the byte sequence of it, not its name.
7126 * posix/Makefile (tests): Add bug-regex35.
7127 (bug-regex35-ENV): Define.
7128 * posix/bug-regex35.c: New file.
7129
a175b684
TV
71302013-02-11 Tom de Vries <tom@codesourcery.com>
7131
7132 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7133 comment.
7134 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7135 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7136 (CHECK_EOL): Add undef.
7137
310998fe 71382013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7139
7140 * bits/stdlib-bsearch.h: New file.
7141 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7142 * stdlib/stdlib.h: Likewise.
41eda41d 7143
8ded91fb
RM
71442013-02-11 Roland McGrath <roland@hack.frob.com>
7145
7146 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7147 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7148 declaration.
7149 * manual/search.texi (Array Search Function): Add missing const in
7150 lfind prototype.
7151 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7152 declaration to use rlim_t.
7153 (Basic Scheduling Functions): Remove erroneous const from
7154 sched_getparam prototype. Remove erroneous * from
7155 sched_get_priority_max and sched_get_priority_min prototypes.
7156 (Resource Usage): Fix summary @comment on vtimes to refer to
7157 sys/vtimes.h rather than vtimes.h.
7158 Add missing *s in vtimes prototype.
7159 (Limits on Resources): Fix ulimit prototype to return long int.
7160 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7161 prototypes to use long int rather than double.
7162 (BSD Random): Fix initstate and setstate to use char *, not void *.
7163 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7164 prototype to make second argument 'struct aiocb64 *const[]'.
7165 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7166 (Status of AIO Operations): Remove erroneous const in aio_return and
7167 aio_return64 prototypes.
7168 (Synchronizing I/O): Fix sync prototype to return void.
7169 * manual/startup.texi (Suboptions): Remove an erroneous const in
7170 getsubopt prototype.
7171 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7172 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7173 use size_t rather than int.
7174 (Scanning All Users): Likewise for getpwent_r.
7175 (Setting Groups): Add missing const to setgroups prototype.
7176 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7177 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7178 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7179 'const void *' rather than 'const char *'.
7180 (Host Address Functions): Likewise for inet_ntop.
7181 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7182 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7183 ssize_t for return value.
7184 (Sending Data): Likewise for send, sendto, sendmsg.
7185 (Socket Option Functions): Add a missing const in setsockopt prototype.
7186 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7187 use wchar_t for the argument.
7188 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7189 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7190 take no arguments.
7191 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7192 double/float/long double for second argument.
7193 Fix return types of significand, significandf, significandl.
7194 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7195 argument in fchmod prototype.
7196 (File Owner): Use uid_t and gid_t in fchown prototype.
7197 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7198 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7199 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7200 use 'const struct dirent **' as argument types to CMP function pointer
7201 argument.
7202 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7203 (File Times): Fix summary magic @comment for struct utimbuf and utime
7204 to refer to utime.h, not time.h.
7205 * manual/string.texi (Argz Functions): Add missing const in
7206 argz_extract and argz_next prototypes.
7207 (Finding Tokens in a String): Likewise for basename.
7208 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7209 (Copying and Concatenation): Fix typo in wmemmove prototype.
7210 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7211 (Signal Stack): Remove erroneous const in sigstack prototype.
7212 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7213 prototype.
7214 (Simple Calendar Time): Likewise for stime.
7215 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7216 prototype.
7217 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7218 say sys/sysctl.h instead.
7219 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7220 and vsyslog prototypes.
7221
fe77fe6d
TV
72222013-02-11 Tom de Vries <tom@codesourcery.com>
7223
7224 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7225 Remove.
7226
3a09b620
RM
72272013-02-11 Roland McGrath <roland@hack.frob.com>
7228
7229 * misc/sys/mman.h: Fix typo in mremap comment.
7230
550a0b89
RM
72312013-02-08 Roland McGrath <roland@hack.frob.com>
7232
7233 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7234 the '\0' terminator.
7235
a2da1673
JM
72362013-02-08 Joseph Myers <joseph@codesourcery.com>
7237
7238 [BZ #13550]
7239 * debug/segfault.c: Don't include <bp-checks.h>.
7240 * sysdeps/generic/bp-checks.h: Remove file.
7241 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7242 (__GETDENTS): Don't use CHECK_N.
7243 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7244 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7245 (__getgroups): Don't use CHECK_N.
7246 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7247 (setgroups): Don't use CHECK_N.
7248 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7249 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7250 (__libc_msgrcv): Don't use CHECK_N.
7251 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7252 (__libc_msgsnd): Don't use CHECK_N.
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7254 <bp-checks.h>.
7255 (__libc_pread): Don't use CHECK_N.
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7257 include <bp-checks.h>.
7258 (__libc_pread64): Don't use CHECK_N.
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7260 include <bp-checks.h>.
7261 (__libc_pwrite): Don't use CHECK_N.
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7263 include <bp-checks.h>.
7264 (__libc_pwrite64): Don't use CHECK_N.
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7266 <bp-checks.h>.
7267 (__libc_pread): Don't use CHECK_N.
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7269 include <bp-checks.h>.
7270 (__libc_pread64): Don't use CHECK_N.
7271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7272 include <bp-checks.h>.
7273 (__libc_pwrite): Don't use CHECK_N.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7275 include <bp-checks.h>.
7276 (__libc_pwrite64): Don't use CHECK_N.
7277 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7278 (do_pread): Don't use CHECK_N.
7279 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7280 (do_pread64): Don't use CHECK_N.
7281 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7282 (do_pwrite): Don't use CHECK_N.
7283 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7284 (do_pwrite64): Don't use CHECK_N.
7285 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7286 (__libc_readv): Don't use CHECK_N.
7287 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7288 (semop): Don't use CHECK_N.
7289 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7290 <bp-checks.h>.
7291 (semtimedop): Don't use CHECK_N.
7292 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7293 (__libc_pread): Don't use CHECK_N.
7294 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7295 <bp-checks.h>.
7296 (__libc_pread64): Don't use CHECK_N.
7297 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7298 <bp-checks.h>.
7299 (__libc_pwrite): Don't use CHECK_N.
7300 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7301 <bp-checks.h>.
7302 (__libc_pwrite64): Don't use CHECK_N.
7303 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7304 <bp-checks.h>.
7305 (__libc_msgrcv): Don't use CHECK_N.
7306 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7307 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7308 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7309 (__libc_writev): Don't use CHECK_N.
7310
b84660a8
RM
73112013-02-08 Roland McGrath <roland@hack.frob.com>
7312
7f3e75f8
RM
7313 * string/strcpy.c: Removed unused variable.
7314
b84660a8
RM
7315 * Makeconfig (+sysdep-includes): Define with := rather than =.
7316 Use an existing include/ subdir of each sysdeps dir before it.
7317
471514d3
CD
73182013-02-08 Carlos O'Donell <carlos@redhat.com>
7319
7320 * nscd/connection.c (register_traced_file): Comment function.
7321 [HAVE_INOTIFY] (union __inev): Define.
7322 [HAVE_INOTIFY] (inotify_check_files): New function.
7323 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7324 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7325 clear_db_cache.
7326 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7327
b2d3c3be
CD
73282013-02-08 Carlos O'Donell <carlos@redhat.com>
7329
7330 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7331 loaded if not already and that a failure is permanent.
7332
b39949d2
CD
73332013-02-08 Carlos O'Donell <carlos@redhat.com>
7334
ddacd1db 7335 [BZ #15006]
b39949d2
CD
7336 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7337 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7338
b2c9eff4
JM
73392013-02-08 Joseph Myers <joseph@codesourcery.com>
7340
f3aae3f3
JM
7341 [BZ #13550]
7342 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7343 (CHECK_1_NULL_OK): Likewise.
7344 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7345 (__fxstat): Do not use CHECK_1.
7346 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7347 <bp-checks.h>.
7348 (___fxstat64): Do not use CHECK_1.
7349 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7350 <bp-checks.h>.
7351 (__fxstatat): Do not use CHECK_1.
7352 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7353 <bp-checks.h>.
7354 (__fxstatat64): Do not use CHECK_1.
7355 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7356 <bp-checks.h>.
7357 (__fxstat): Do not use CHECK_1.
7358 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7359 <bp-checks.h>.
7360 (__fxstatat): Do not use CHECK_1.
7361 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7362 <bp-checks.h>.
7363 (__getresgid): Do not use CHECK_1.
7364 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7365 <bp-checks.h>.
7366 (__getresuid): Do not use CHECK_1.
7367 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7368 <bp-checks.h>.
7369 (__lxstat): Do not use CHECK_1.
7370 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7371 <bp-checks.h>.
7372 (__old_msgctl): Do not use CHECK_1.
7373 (__new_msgctl): Likewise.
7374 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7375 <bp-checks.h>.
7376 (__new_setrlimit): Do not use CHECK_1.
7377 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7378 <bp-checks.h>.
7379 (__old_shmctl): Do not use CHECK_1.
7380 (__new_shmctl): Likewise.
7381 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7382 <bp-checks.h>.
7383 (__xstat): Do not use CHECK_1.
7384 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7385 (__lxstat): Do not use CHECK_1.
7386 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7387 <bp-checks.h>.
7388 (___lxstat64): Do not use CHECK_1.
7389 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7390 (__old_msgctl): Do not use CHECK_1.
7391 (__new_msgctl): Likewise.
7392 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7393 <bp-checks.h>.
7394 (__gettimeofday): Do not use CHECK_1.
7395 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7396 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7397 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7398 <bp-checks.h>.
7399 (__gettimeofday): Do not use CHECK_1.
7400 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7401 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7402 (__new_shmctl): Do not use CHECK_1.
7403 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7404 <bp-checks.h>.
7405 (do_sigtimedwait): Do not use CHECK_1.
7406 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7407 <bp-checks.h>.
7408 (do_sigwaitinfo): Do not use CHECK_1.
7409 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7410 <bp-checks.h>.
7411 (msgctl): Do not use CHECK_1.
7412 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7413 <bp-checks.h>.
7414 (shmctl): Do not use CHECK_1.
7415 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7416 (ustat): Do not use CHECK_1.
7417 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7418 <bp-checks.h>.
7419 (__fxstat): Do not use CHECK_1.
7420 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7421 <bp-checks.h>.
7422 (__fxstatat): Do not use CHECK_1.
7423 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7424 <bp-checks.h>.
7425 (__lxstat): Do not use CHECK_1.
7426 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7427 <bp-checks.h>.
7428 (__xstat): Do not use CHECK_1.
7429 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7430 (__xstat): Do not use CHECK_1.
7431 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7432 (___xstat64): Do not use CHECK_1.
7433
b2c9eff4
JM
7434 [BZ #13550]
7435 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7436 definitions.
7437 (CHECK_BOUNDS_HIGH): Likewise.
7438 * string/strcpy.c: Do not include <bp-checks.h>.
7439 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7440
f1d70dad
RM
74412013-02-07 Roland McGrath <roland@hack.frob.com>
7442
7443 * nscd/nscd-client.h (__nscd_drop_map_ref):
7444 Add __attribute__ ((unused)).
7445 * nis/nss-nisplus.h (niserr2nss): Likewise.
7446
7447 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7448 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7449
7450 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7451 Remove inline keyword.
7452 * include/rounding-mode.h (round_away): Likewise.
7453 * libio/wfileops.c (adjust_wide_data): Likewise.
7454 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7455 (__m128i_strloadu_tolower): Likewise.
7456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7457 (__m128i_strloadu_tolower): Likewise.
7458 * time/mktime.c (ydhms_diff): Likewise.
7459 * locale/elem-hash.h (elem_hash): Likewise.
7460 * locale/setlocale.c (setdata): Likewise.
7461 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7462 (re_string_wchar_at): Likewise.
7463 (bitset_not, bitset_merge, bitset_mask): Likewise.
7464 [!(__GNUC__ > 3)] (inline): Remove macro.
7465 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7466 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7467 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7468 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7469 * string/memcmp.c (memcmp_bytes): Likewise.
7470 * locale/programs/locarchive.c (compute_hashval): Likewise.
7471 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7472 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7473 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7474 * nss/getent.c (print_rpc, print_protocols): Likewise.
7475 (print_passwd, print_group, print_aliases): Likewise.
7476 * nis/nss-nisplus.h (niserr2nss): Likewise.
7477 * nscd/connections.c (restart_p): Likewise.
7478 Change return type to bool.
7479
eab55bfb
RM
74802013-02-05 Roland McGrath <roland@hack.frob.com>
7481
7bd642f5
RM
7482 * Makeconfig (all-Depend-files): Add existing
7483 $(sorted-subdirs:=/Depend) files.
7484 (all-subdirs): Remove nss.
7485 * sysdeps/unix/inet/Subdirs: Add it here instead.
7486 * hesiod/Depend: New file.
7487
573c29b2
RM
7488 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7489 instead of calling alloca.
7490
b2e25af0
RM
7491 * io/lseek.c (__lseek): Rename to __libc_lseek.
7492 Define __lseek as an alias.
7493
eab55bfb
RM
7494 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7495
9a0d1941
CD
74962013-02-04 Carlos O'Donell <carlos@redhat.com>
7497
7498 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7499 else clause and remove check for non-standard endianness.
7500
b83bbec4
DM
75012013-02-04 David S. Miller <davem@davemloft.net>
7502
7503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7504
6277fdab
JM
75052013-02-04 Joseph Myers <joseph@codesourcery.com>
7506
7507 [BZ #13550]
7508 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7509 (__ubp_memchr): Remove prototype.
7510 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7511 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7512 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7513 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7514 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7515 Remove alias.
7516 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7517 (__ubp_memchr): Likewise.
7518 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7519 (__ubp_memchr): Likewise.
7520 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7521 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7522 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7523 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7524 CHECK_STRING.
7525 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7526 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7527 (__getcwd): Do not use CHECK_STRING.
7528 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7529 <bp-checks.h>.
7530 (__real_chown): Do not use CHECK_STRING.
7531 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7532 <bp-checks.h>.
7533 (fchownat): Do not use CHECK_STRING.
7534 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7535 CHECK_STRING.
7536 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7537 <bp-checks.h>.
7538 (__lchown): Do not use CHECK_STRING.
7539 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7540 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7541 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7542 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7544 include <bp-checks.h>.
7545 (truncate64): Do not use CHECK_STRING.
7546 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7547 <bp-checks.h>.
7548 (__real_chown): Do not use CHECK_STRING.
7549 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7550 <bp-checks.h>.
7551 (__lchown): Do not use CHECK_STRING.
7552 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7553 <bp-checks.h>.
7554 (__chown): Do not use CHECK_STRING.
7555 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7556 <bp-checks.h>.
7557 (truncate64): Do not use CHECK_STRING.
7558 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7559 Likewise.
7560 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7561 (__xmknod): Do not use CHECK_STRING.
7562 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7563 <bp-checks.h>.
7564 (__xmknodat): Do not use CHECK_STRING.
7565 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7566 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7567
903ae060
AS
75682013-02-04 Andreas Schwab <schwab@suse.de>
7569
7570 [BZ #14142]
7571 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7572 * include/netdb.h: Likewise for h_errno.
7573 * elf/tst-stackguard1.c: Include <tls.h>.
7574
542f9466
JK
75752013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7576
7577 * elf/link.h (struct link_map): Extend the l_addr comment.
7578 * include/link.h (struct link_map): Likewise.
7579
e782a927
JM
75802013-02-01 Joseph Myers <joseph@codesourcery.com>
7581
7582 [BZ #13550]
7583 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7584 (BOUNDED_1): Remove macro.
7585 * debug/backtrace.c: Don't include <bp-checks.h>.
7586 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7587 (__backtrace): Likewise.
7588 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7589 <bp-checks.h>.
7590 (__backtrace): Don't use BOUNDED_1.
7591 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7592 <bp-checks.h>.
7593 (__backtrace): Don't use BOUNDED_1.
7594 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7595 (__backtrace): Don't use BOUNDED_1.
7596 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7597 (shmat): Don't use BOUNDED_N.
7598
8cf28c5e
JM
75992013-01-31 Joseph Myers <joseph@codesourcery.com>
7600
3a7ac8a0
JM
7601 [BZ #13550]
7602 * sysdeps/generic/bp-start.h: Remove file.
7603 * csu/libc-start.c: Don't include <bp-start.h>.
7604 (LIBC_START_MAIN): Set up __environ directly instead of using
7605 INIT_ARGV_and_ENVIRON.
7606 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7607 <bp-start.h>.
7608
f3499f95
JM
7609 [BZ #13550]
7610 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7611 definitions.
7612 (CHECK_FCNTL): Likewise.
7613 (CHECK_N_PAGES): Likewise.
7614
32a45bea
JM
7615 [BZ #13550]
7616 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7617 definitions.
7618 (CHECK_SIGSET_NULL_OK): Likewise.
7619 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7620 <bp-checks.h>.
7621 (sigpending): Don't use CHECK_SIGSET.
7622 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7623 <bp-checks.h>.
7624 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7625 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7626 <bp-checks.h>.
7627 (do_sigsuspend): Don't use CHECK_SIGSET.
7628 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7629 use CHECK_SIGSET.
7630 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7631 (do_sigwait): Don't use CHECK_SIGSET.
7632 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7633 use CHECK_SIGSET.
7634 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7635 include <bp-checks.h>.
7636 (sigpending): Don't use CHECK_SIGSET.
7637 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7638 include <bp-checks.h>.
7639 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7640 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7641 <bp-checks.h>.
7642 (sigpending): Don't use CHECK_SIGSET.
7643 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7644 <bp-checks.h>.
7645 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7646
2e8a5c8c
JM
7647 [BZ #13550]
7648 * sysdeps/generic/bp-semctl.h: Remove file.
7649 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7650 <bp-checks.h> and <bp-semctl.h>.
7651 (__old_semctl): Don't use CHECK_SEMCTL.
7652 (__new_semctl): Likewise.
7653 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7654 and <bp-semctl.h>.
7655 (__old_semctl): Don't use CHECK_SEMCTL.
7656 (__new_semctl): Likewise.
7657 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7658 <bp-checks.h> and <bp-semctl.h>.
7659 (__old_semctl): Don't use CHECK_SEMCTL.
7660 (__new_semctl): Likewise.
7661 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7662 <bp-checks.h> and <bp-semctl.h>.
7663 (semctl): Don't use CHECK_SEMCTL.
7664
c2d54929
JM
7665 [BZ #13550]
7666 * Makerules (elide-bp-thunks): Remove variable.
7667 (elide-routines.oS): Don't use $(elide-bp-thunks).
7668 (elide-routines.os): Likewise.
7669 (elide-routines.o): Likewise.
7670 (elide-routines.op): Likewise.
7671 (elide-routines.og): Likewise.
7672 (objects): Don't use $(bp-thunks).
7673 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7674 include.
7675 (common-generated): Do not add s-proto-bp.d.
7676 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7677 (int): Likewise.
7678 (typ): Likewise.
7679 Do not generate makefile rules for bounded-pointer thunks.
7680 * sysdeps/generic/bp-thunks.h: Remove file.
7681 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7682 * sysdeps/unix/s-proto-bp.S: Likewise.
7683
8cf28c5e
JM
7684 [BZ #15062]
7685 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7686 parts of result separately when argument is not close to line from
7687 -i to i and one part of argument is small.
7688 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7689 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7690 * math/libm-test.inc (cacos_test): Add more tests.
7691 (casin_test): Likewise.
7692 (casinh_test): Likewise.
7693 * sysdeps/i386/fpu/libm-test-ulps: Update.
7694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7695
c4e33b8d
DM
76962013-01-31 David S. Miller <davem@davemloft.net>
7697
7698 * po/de.po: Update from translation team.
7699
3b60b421
MK
77002013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7701
7702 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7703
bb931195
TS
77042013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7705
b5a5da23
TS
7706 * configure.in (_AC_PROG_CC_C89): New definition.
7707 * configure: Regenerate.
7708
bb931195
TS
7709 * configure.in (AC_PROG_CPP): New definition.
7710 * configure: Regenerate.
7711
8c53a12c
JM
77122013-01-23 Joseph Myers <joseph@codesourcery.com>
7713
7714 * debug/tst-backtrace.h: New file.
7715 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7716 (ret): Remove variable.
7717 (x): Likewise.
7718 (FAIL): Remove macro.
7719 (NO_INLINE): Likewise.
7720 (fn1): Use match function instead of strstr.
7721 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7722 (ret): Remove variable.
7723 (x): Likewise.
7724 (FAIL): Remove macro.
7725 (NO_INLINE): Likewise.
7726 (fn): Use match function instead of strstr.
7727 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7728 (ret): Remove variable.
7729 (x): Likewise.
7730 (FAIL): Remove macro.
7731 (NO_INLINE): Likewise.
7732 (handle_signal): Use match function instead of strstr.
7733 * debug/tst-backtrace5.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
4858fa2a
RM
77402013-01-23 Roland McGrath <roland@hack.frob.com>
7741
7742 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7743
bae8e7f5
DM
77442013-01-23 David S. Miller <davem@davemloft.net>
7745
7746 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7747 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7748 argument of CAS if possible.
7749 * sysdeps/sparc/sparc64/bits/atomic.h
7750 (__arch_compare_and_exchange_val_32_acq): Likewise.
7751 (__arch_compare_and_exchange_val_64_acq): Likewise.
7752
9cbbc4ae
PT
77532013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7754
7755 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7756 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7757 Include <limits.h>.
67b3f58c 7758 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7759
5655a0b5
AC
77602013-01-23 Adam Conrad <adconrad@0c3.net>
7761
7762 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7763 (LDFLAGS-tst-array5): Likewise.
7764
052aff95
JM
77652013-01-23 Joseph Myers <joseph@codesourcery.com>
7766
7767 [BZ #15036]
7768 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7769 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7770 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7771 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7772
7c1e01aa
DM
77732013-01-21 David S. Miller <davem@davemloft.net>
7774
7775 * sysdeps/sparc/backtrace.c: New file.
7776 * sysdeps/sparc/sparc32/backtrace.h: New file.
7777 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7778 * sysdeps/sparc/sparc64/backtrace.h: New file.
7779 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7780 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7781 -funwind-tables.
7782
ab087e0a
AS
77832013-01-21 Andreas Schwab <schwab@suse.de>
7784
7785 [BZ #15020]
7786 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7787 closed its stdout.
7788
ed689c2f
AS
77892013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7790
7791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7792 "mpa2.h".
7793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7794
31d470ac
JM
77952013-01-18 Joseph Myers <joseph@codesourcery.com>
7796 Mark Mitchell <mark@codesourcery.com>
7797 Tom de Vries <tom@codesourcery.com>
7798 Paul Pluzhnikov <ppluzhnikov@google.com>
7799
7800 * debug/tst-backtrace2.c: New file.
7801 * debug/tst-backtrace3.c: Likewise.
7802 * debug/tst-backtrace4.c: Likewise.
7803 * debug/tst-backtrace5.c: Likewise.
7804 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7805 (CFLAGS-tst-backtrace3.c): Likewise.
7806 (CFLAGS-tst-backtrace4.c): Likewise.
7807 (CFLAGS-tst-backtrace5.c): Likewise.
7808 (LDFLAGS-tst-backtrace2): Likewise.
7809 (LDFLAGS-tst-backtrace3): Likewise.
7810 (LDFLAGS-tst-backtrace4): Likewise.
7811 (LDFLAGS-tst-backtrace5): Likewise.
7812 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7813 tst-backtrace4 and tst-backtrace5.
7814
90567f30 78152013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7816 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7817
7818 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7819 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7820 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7821 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7823 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7824 "+r" and remove output regs list as redundant. Add explicit inline
7825 asm to specify register of return val to work around compiler codegen
7826 bug. Remove (int) cast on return value. Add return type parameter to
7827 use in macro so that this macro does not truncate return value for
7828 64-bit values.
7829 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7830 pass to INTERNAL_VSYSCALL_NCS.
7831 (INLINE_VSYSCALL): Add 'long int' as return type to
7832 INTERNAL_VSYSCALL_NCS macro invocation.
7833 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7834 INTERNAL_VSYSCALL_NCS macro invocation.
7835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7836
d3b9ea61
SP
78372013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7838
0b57daeb
SP
7839 [BZ #14496]
7840 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7841 Fix application of SIMD FP exception mask.
7842
caa99d06
SP
7843 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7844 mp_no from a power of two.
7845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7846 __mpexp_twomm1. Use __pow_mp.
7847
d3b9ea61
SP
7848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7849 multiplication.
7850
1dbaee3c
DM
78512013-01-17 David S. Miller <davem@davemloft.net>
7852
7853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7854
728d7b43
JM
78552013-01-17 Joseph Myers <joseph@codesourcery.com>
7856
7857 [BZ #15023]
7858 * include/complex.h: Condition contents on [!_COMPLEX_H].
7859 (__kernel_casinhf): New prototype.
7860 (__kernel_casinh): Likewise.
7861 (__kernel_casinhl): Likewise.
7862 * math/Makefile (libm_calls): Add k_casinh.
7863 * math/k_casinh.c: New file.
7864 * math/k_casinhf.c: Likewise.
7865 * math/k_casinhl.c: Likewise.
7866 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7867 finite nonzero arguments.
7868 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7869 finite nonzero arguments.
7870 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7871 finite nonzero arguments.
7872 * math/s_casinh.c: Do not include <float.h>.
7873 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7874 * math/s_casinhf.c: Do not include <float.h>.
7875 (__casinhf): Move code for finite nonzero arguments to
7876 k_casinhf.c.
7877 * math/s_casinhl.c: Do not include <float.h>.
7878 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7879 redefine.
7880 (__casinhl): Move code for finite nonzero arguments to
7881 k_casinhl.c.
7882 * math/libm-test.inc (cacos_test): Add more tests.
7883 * sysdeps/i386/fpu/libm-test-ulps: Update.
7884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7885
2a26ef3a
PT
78862013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7887
7888 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7889 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7890 [!HAVE_MREMAP]: Remove [defined linux] case.
7891 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7892
a897655d
SP
78932013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7894
7895 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7896
881ebe89 78972013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7898
7899 * elf/elf.h (R_386_SIZE32): New relocation.
7900 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7901 R_386_SIZE32.
7902 (elf_machine_rela): Likewise.
7903 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7904 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7905
59981e9b
JM
79062013-01-17 Joseph Myers <joseph@codesourcery.com>
7907
7908 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7909 (FP_FAST_FMA): Do not define.
7910 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7911 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7912 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7913 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7914 !_SOFT_FLOAT]: Likewise.
7915 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7916 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7917 value.
7918 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7919 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7920 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7921 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7922 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7923 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7924 file.
7925
cfa8054f
AS
79262013-01-16 Andreas Schwab <schwab@suse.de>
7927
7928 [BZ #14327]
7929 * include/stdlib.h (__mktemp): Add declaration.
7930 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7931 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7932
dd930cc5
SP
79332013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7934
881ebe89
SP
7935 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7936 definitions.
7937 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7938 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7939 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7940 definitions here.
7941 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7942 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7943 definitions.
7944 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7945 and ONE.
7946 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7947 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7948 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7949 definitions.
7950 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7951 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7952 definitions.
7953 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7954
dd930cc5
SP
7955 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7956
c19a9f89
DM
79572013-01-15 David S. Miller <davem@davemloft.net>
7958
1aa61767
DM
7959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7960 trunc{,f} to libm-sysdep_routes.
7961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7963 file.
7964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7966 file.
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7968 file.
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7971 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7972 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7973 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7974 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7975 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7976 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7977
c42d5e98
DM
7978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7979 nearbyint{,f} to libm-sysdep_routes.
7980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7982 New file.
7983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7984 file.
7985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7986 New file.
7987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7988 file.
7989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7992 file.
7993 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7994 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7995 file.
7996 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7997 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7998 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7999
c19a9f89
DM
8000 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8001 libc_feholdexcept and libc_fesetenv.
8002
357679d2
MF
80032013-01-15 Mike Frysinger <vapier@gentoo.org>
8004
8005 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8006
65a82e3d
DM
80072013-01-14 David S. Miller <davem@davemloft.net>
8008
8b954ab9
DM
8009 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8010 (SPARC_ASM_VIS2_IFUNC): Likewise.
8011 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8013 use of 'siam' instruction.
8014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8015 Likewise.
8016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8017 Likewise.
8018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8019 Likewise.
8020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8025 file.
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8027 file.
8028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8029 file.
8030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8031 file.
8032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8037 new VIS2 routines.
8038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8041 Likewise.
8042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8047 routines to libm-sysdep_routines.
8048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8049
65a82e3d
DM
8050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8051 fdim/fdimf to libm-sysdep_routines.
8052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8053 file.
8054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8056 file.
8057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8060 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8061 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8062 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8063 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8064
e34ab705
SP
80652013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8066
2a91b573
SP
8067 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8068 to optimize copies.
8069
1066a534
SP
8070 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8073
e34ab705
SP
8074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8075 local variable MPTWO.
8076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8077 Likewise.
8078
aba5e596
MF
80792013-01-13 Mike Frysinger <vapier@gentoo.org>
8080
8081 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8082 GLOB_NOESCAPE.
8083
e557e9e5
MF
80842013-01-13 Mike Frysinger <vapier@gentoo.org>
8085
8086 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8087
0428cec9
MF
80882013-01-13 Mike Frysinger <vapier@gentoo.org>
8089
8090 * manual/pattern.texi (glob_t): Document gl_flags.
8091 (glob64_t): Likewise.
8092
8794a964
DM
80932013-01-11 David S. Miller <davem@davemloft.net>
8094
66438c3f
RM
8095 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8096 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8097 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8098 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8099 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8100 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8101 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8102 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8103 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8104 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8105 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8106 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8107 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8108
4ae4244d
DM
8109 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8110 sparc V9 rather than using V8 code.
8111 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8112 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8113
8794a964
DM
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8115 Move to...
8116 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8117 Here.
8118
6270516e
RM
81192013-01-11 Roland McGrath <roland@hack.frob.com>
8120
8121 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8122 not in the main loop.
8123 * configure: Regenerated.
8124
6a57d931
JM
81252013-01-11 Joseph Myers <joseph@codesourcery.com>
8126
8127 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8128 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8129 to just #else.
8130 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8131 [!__GLIBC_HAVE_LONG_LONG] case.
8132 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8133 condition to just #else.
8134 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8135 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8136 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8137 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8138 unconditional.
8139 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8140 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8141 #elif condition to just #else.
8142 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8143 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8144 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8145 #elif condition to just #else.
8146
0e8529e9
SE
81472013-01-11 Steve Ellcey <sellcey@mips.com>
8148
8149 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8150 (EF_MIPS_ARCH_64): Fix value.
8151 (EF_MIPS_ARCH_32R2): New.
8152 (EF_MIPS_ARCH_64R2): New.
8153
740b3dbe
L
81542013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8155
8156 * Makeconfig (+link-pie-before-libc): New.
8157 (+link-pie-after-libc): Likewise.
8158 (+link-pie-tests): Likewise.
8159 (+link-pie): Rewritten.
8160 (link-before-libc): Remove $(config-LDFLAGS).
8161 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8162 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8163 (config-LDFLAGS): Renamed to ...
8164 (rtld-LDFLAGS): This.
8165 (rtld-tests-LDFLAGS): New macro.
8166 (link-libc-rpath-link): Likewise.
8167 (link-libc-tests-rpath-link): Likewise.
8168 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8169 (link-libc): Prepand $(link-libc-rpath-link).
8170 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8171 (test-program-prefix): New macro.
8172 (test-via-rtld-prefix): Likewise.
8173 (test-program-cmd): Likewise.
8174 (host-test-program-cmd): Likewise.
8175 * Makefile ($(common-objpfx)testrun.sh): Replace
8176 $(run-program-prefix) with $(test-program-prefix).
8177 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8178 $(rtld-LDFLAGS).
8179 ($(common-objpfx)shlib.lds): Likewise.
8180 (build-module-helper): Likewise.
8181 ($(common-objpfx)format.lds): Likewise.
8182 * Rules (binaries-pie-tests): New.
8183 (binaries-pie-notests): Likewise.
8184 (binaries-pie): Rewritten.
8185 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8186 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8187 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8188 (make-test-out): Replace $(host-built-program-cmd) with
8189 $(host-test-program-cmd).
8190 * config.make.in (build-hardcoded-path-in-tests): New variable.
8191 * configure.in (--enable-hardcoded-path-in-tests): New configure
8192 option.
8193 (hardcoded_path_in_tests): New AC_SUBST.
8194 * configure: Regenerated.
8195 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8196 $(built-program-cmd) with $(test-program-cmd).
8197 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8198 (test_program_cmd): This.
8199 * elf/Makefile ($(objpfx)order.out): Run test with
8200 $(test-program-prefix).
8201 ($(objpfx)order2.out): Likewise.
8202 ($(objpfx)tst-initorder.out): Likewise.
8203 ($(objpfx)tst-initorder2.out): Likewise.
8204 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8205 $(test-program-cmd).
8206 ($(objpfx)tst-array1-static.out): Likewise.
8207 ($(objpfx)tst-array2.out): Likewise.
8208 ($(objpfx)tst-array3.out): Likewise.
8209 ($(objpfx)tst-array4.out): Likewise.
8210 ($(objpfx)tst-array5.out): Likewise.
8211 ($(objpfx)tst-array5-static.out): Likewise.
8212 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8213 $(test-program-cmd).
8214 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8215 $(run-program-prefix) with $(test-program-prefix).
8216 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8217 (test_program_prefix): This.
8218 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8219 $(run-program-prefix) with $(test-program-prefix).
8220 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8221 (test_program_prefix): This.
8222 * iconvdata/tst-tables.sh: Likewise.
8223 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8224 $(run-program-prefix) with $(test-program-prefix).
8225 ($(objpfx)tst-translit.out): Likewise.
8226 ($(objpfx)tst-gettext2.out): Likewise.
8227 ($(objpfx)tst-gettext4.out): Likewise.
8228 ($(objpfx)tst-gettext6.out): Likewise.
8229 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8230 (test_program_prefix): This.
8231 * intl/tst-gettext2.sh: Likewise.
8232 * intl/tst-gettext4.sh Likewise.
8233 * intl/tst-gettext6.sh: Likewise.
8234 * intl/tst-translit.sh: Likewise.
8235 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8236 with $(test-program-cmd).
8237 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8238 $(run-program-prefix) with $(test-program-prefix).
8239 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8240 (test_program_prefix): This.
8241 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8242 $(run-program-prefix) with $(test-program-prefix).
8243 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8244 (test_program_prefix): This.
8245 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8246 * posix/Makefile ($(objpfx)globtest.out): Replace
8247 $(run-via-rtld-prefix) and $(test-wrapper) with
8248 $(test-program-prefix) and $(test-via-rtld-prefix).
8249 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8250 $(test-program-prefix).
8251 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8252 $(host-test-program-cmd).
8253 (tst-spawn-ARGS): Likewise.
8254 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8255 $(test-program-prefix).
8256 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8257 (test_via_rtld_prefix): This.
8258 (test_wrapper): Renamed to ...
8259 (test_program_prefix): This.
8260 (run_program_prefix): Replaced by test_program_prefix.
8261 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8262 (test_program_prefix): This.
8263 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8264 with $(host-test-program-cmd).
8265 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8266 $(run-program-prefix) with $(test-program-prefix).
8267 ($(objpfx)tst-printf.out): Likewise.
8268 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8269 $(test-program-cmd).
8270 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8271 (test_program_prefix): This.
8272 * stdio-common/tst-unbputc.sh: Likewise.
8273 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8274 $(run-program-prefix) with $(test-program-prefix).
8275 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8276 (test_program_prefix): This.
8277 * string/Makefile ($(objpfx)tst-svc.out): Replace
8278 $(built-program-cmd) with $(test-program-cmd).
8279
c6fe55cf
AJ
82802013-01-11 Andreas Jaeger <aj@suse.de>
8281
8282 [BZ #15003]
8283 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8284 value. Sync with Linux 3.7.
8285
9e6919c8
DM
82862013-01-10 David S. Miller <davem@davemloft.net>
8287
8288 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8289 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8290 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8291
1c9f1a02
RM
82922013-01-10 Roland McGrath <roland@hack.frob.com>
8293
8294 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8295 never set.
8296 * configure: Regenerated.
8297
b9de2dde
DM
82982013-01-10 David S. Miller <davem@davemloft.net>
8299
8300 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8301 sparc V9 rather than using V8 code.
8302 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8303 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8304
e7f68ef4
RM
83052013-01-10 Roland McGrath <roland@hack.frob.com>
8306
8307 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8308 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8309 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8310 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8311 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8312 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8313 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8314 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8315 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8316 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8317 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8318 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8319 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8320 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8321 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8322 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8323 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8324 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8325 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8326 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8327 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8328 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8329 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8330 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8331 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8332 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8333 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8334
5a47cc9c
DM
83352013-01-10 David S. Miller <davem@davemloft.net>
8336
8337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8338
4cf8f209
L
83392013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8340
8341 * posix/Makefile (tests-static): New variable.
8342 (tests): Add $(tests-static).
8343 (tst-exec-static-ARGS): New variable.
8344 (tst-spawn-static-ARGS): Likewise.
8345 * posix/tst-exec-static.c: New file.
8346 * posix/tst-spawn-static.c: Likewise.
8347 * posix/tst-exec.c: Support run directly.
8348 * posix/tst-spawn.c: Likewise.
8349
fed0faa1
JM
83502013-01-10 Joseph Myers <joseph@codesourcery.com>
8351
828beb13
JM
8352 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8353 long.
8354 * math/bits/mathcalls.h (llrint): Likewise.
8355 (llround): Likewise.
8356 * stdlib/stdlib.h (struct drand48_data): Likewise.
8357 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8358 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8359 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8360 Likewise.
8361 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8362 Likewise.
8363 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8364 (elf_greg_t): Likewise.
8365 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8366 (__jmp_buf): Likewise.
8367 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8368 definitions.
8369 (llrint): Likewise, for all definitions.
8370 (llrintl): Likewise.
8371
fed0faa1
JM
8372 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8373 Remove [__GNUC__] condition.
8374 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8375 condition to just [__USE_ISOC99].
8376 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8377
1a20cb20
L
83782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8379
8380 [BZ #14200]
8381 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8382 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8383 defined.
8384 (_POSIX_V6_ILP32_OFF32): Likewise.
8385 (_XBS5_ILP32_OFF32): Likewise.
8386 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8387 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8388
751b85f7
SP
83892013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8390
7490eb81
SP
8391 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8392
751b85f7
SP
8393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8394 doubles __mpexp_twomm1. Adjust usage.
8395 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8396 Remove.
8397
988197f0
AS
83982013-01-10 Andreas Schwab <schwab@suse.de>
8399
8400 [BZ #14964]
8401 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8402 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8403
e83d7298
DM
84042013-01-09 David S. Miller <davem@davemloft.net>
8405
034ed64b 8406 [BZ #15003]
e83d7298
DM
8407 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8408 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8409 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8410 TCP_FASTOPEN): Define.
8411 (tcp_repair_opt): New structure.
8412 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8413 enum values.
8414 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8415 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8416 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8417 (tcp_cookie_transactions): New structure.
8418
d5e0b9bd
AB
84192013-01-09 Anton Blanchard <anton@samba.org>
8420
8421 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8422 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8423 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8424 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8425
0c07e3ea
JM
84262013-01-09 Joseph Myers <joseph@codesourcery.com>
8427
8428 * include/features.h (__USE_ANSI): Remove.
8429
232f7002
RM
84302013-01-09 Roland McGrath <roland@hack.frob.com>
8431
ad98e30c
RM
8432 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8433
232f7002
RM
8434 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8435
950c99ca
SP
84362013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8437
b5792741
SP
8438 * sysdeps/s390/fpu/libm-test-ulps: Update.
8439
47cf2278
SP
8440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8441
950c99ca
SP
8442 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8443 (__acr): Likewise.
8444 (__cpy): Likewise.
8445 (norm): Likewise.
8446 (denorm): Likewise.
8447 (__mp_dbl): Likewise.
8448 (__dbl_mp): Likewise.
8449 (add_magnitudes): Likewise.
8450 (sub_magnitudes): Likewise.
8451 (__add): Likewise.
8452 (__sub): Likewise.
8453 (__mul): Likewise.
8454 (__inv): Likewise.
8455 (__dvd): Likewise.
8456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8457 (__acr): Likewise.
8458 (__cpy): Likewise.
8459 (norm): Likewise.
8460 (denorm): Likewise.
8461 (__mp_dbl): Likewise.
8462 (__dbl_mp): Likewise.
8463 (add_magnitudes): Likewise.
8464 (sub_magnitudes): Likewise.
8465 (__add): Likewise.
8466 (__sub): Likewise.
8467 (__mul): Likewise.
8468 (__inv): Likewise.
8469 (__dvd): Likewise.
8470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8471 (__acr): Likewise.
8472 (__cpy): Likewise.
8473 (norm): Likewise.
8474 (denorm): Likewise.
8475 (__mp_dbl): Likewise.
8476 (__dbl_mp): Likewise.
8477 (add_magnitudes): Likewise.
8478 (sub_magnitudes): Likewise.
8479 (__add): Likewise.
8480 (__sub): Likewise.
8481 (__mul): Likewise.
8482 (__inv): Likewise.
8483 (__dvd): Likewise.
8484
eede9df9
JM
84852013-01-08 Joseph Myers <joseph@codesourcery.com>
8486
8487 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8488 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8489 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8490 2 && __USE_EXTERN_INLINES]: Likewise.
8491
c40ea3d9
AJ
84922013-01-08 Andreas Jaeger <aj@suse.de>
8493
8494 [BZ# 14985]
8495 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8496 Remove.
8497 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8498 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8499
2ccdea26
AB
85002013-01-07 Anton Blanchard <anton@samba.org>
8501
8502 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8503 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8504 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8505 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8506 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8507 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8508 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8509 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8511 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8512 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8513 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8514 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8515 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8516 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8517 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8518 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8519 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8520 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8521 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8522 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8523 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8524 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8525 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8526 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8527 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8528 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8529 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8530 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8531 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8532 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8534 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8535 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8537 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8538 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8539 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8540 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8541 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8542 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8544 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8545
a9708fed
JM
85462013-01-07 Joseph Myers <joseph@codesourcery.com>
8547
375607b9
JM
8548 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8549 (__MALLOC_PMT): Likewise.
8550 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8551 [__GNUC__], only on [_LIBC].
8552 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8553 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8554 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8555 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8556 forward declaration.
8557 (realloc_hook_ini): Likewise.
8558 (memalign_hook_ini): Likewise.
8559 (__libc_memalign): Do not use __MALLOC_PMT in variable
8560 declaration.
8561 (__libc_valloc): Likewise.
8562 (__libc_pvalloc): Likewise.
8563 (__libc_calloc): Likewise.
8564 (__posix_memalign): Likewise.
8565
a9708fed
JM
8566 [BZ #14996]
8567 * math/s_casinh.c: Include <float.h>.
8568 (__casinh): Do not do computation with squaring and square root
8569 for large arguments.
8570 * math/s_casinhf.c: Include <float.h>.
8571 (__casinhf): Do not do computation with squaring and square root
8572 for large arguments.
8573 * math/s_casinhl.c: Include <float.h>.
8574 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8575 (__casinhl): Do not do computation with squaring and square root
8576 for large arguments.
8577 * math/libm-test.inc (casin_test): Add more tests.
8578 (casinh_test): Likewise.
8579 * sysdeps/i386/fpu/libm-test-ulps: Update.
8580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8581
afec409a
L
85822013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8583
8584 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8585 (__x86_64_raw_data_cache_size): Likewise.
8586 (__x86_64_data_cache_size_half): Likewise.
8587 (__x86_64_raw_data_cache_size_half): Likewise.
8588 (__x86_64_shared_cache_size): Likewise.
8589 (__x86_64_raw_shared_cache_size): Likewise.
8590 (__x86_64_shared_cache_size_half): Likewise.
8591 (__x86_64_raw_shared_cache_size_half): Likewise.
8592 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8593 to ...
8594 (__x86_data_cache_size): This.
8595 (__x86_64_raw_data_cache_size): Renamed to ...
8596 (__x86_raw_data_cache_size): This.
8597 (__x86_64_data_cache_size_half): Renamed to ...
8598 (__x86_data_cache_size_half): This.
8599 (__x86_64_raw_data_cache_size_half): Renamed to ...
8600 (__x86_raw_data_cache_size_half): This.
8601 (__x86_64_shared_cache_size): Renamed to ...
8602 (__x86_shared_cache_size): This.
8603 (__x86_64_raw_shared_cache_size): Renamed to ...
8604 (__x86_raw_shared_cache_size): This.
8605 (__x86_64_shared_cache_size_half): Renamed to ...
8606 (__x86_shared_cache_size_half): This.
8607 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8608 (__x86_raw_shared_cache_size_half): This.
8609 * sysdeps/x86_64/memcpy.S: Updated.
8610 * sysdeps/x86_64/memset.S: Likewise.
8611 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8612 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8613 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8614
0b3986d0
DM
86152013-01-04 David S. Miller <davem@davemloft.net>
8616
8617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8618
e47686e9
AS
86192013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8620
d643bac1
AS
8621 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8622 1 to avoid redefinition warning.
8623 (__USE_GNU): Don't define.
8624 (init_signaling_nan): Protoize.
8625
e47686e9
AS
8626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8627
b18decba
SP
86282013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8629
fffb407f
SP
8630 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8632 (__cpymn): Likewise.
8633 (norm): Remove commented code.
8634 (denorm): Likewise.
8635 (__mp_dbl): Likewise.
8636 (__inv): Likewise.
8637 * sysdeps/powerpc/powerpc64/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
b18decba
SP
8644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8645 mp_no value for 1.0 and 2.0.
8646 (norm): Use RADIXI instead of radixi.d.
8647 (denorm): Likewise.
8648 (__mul): Use 0.0 instead of zero.d.
8649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8650 mp_no value for 1.0 and 2.0.
8651 (norm): Use RADIXI instead of radixi.d.
8652 (denorm): Likewise.
8653 (__mul): Use 0.0 instead of zero.d.
8654
cdc1c96f
JM
86552013-01-04 Joseph Myers <joseph@codesourcery.com>
8656
8657 [BZ #14994]
8658 * math/s_casinh.c (__casinh): Reduce finite argument to first
8659 quadrant then set signs of results at the end.
8660 * math/s_casinhf.c (__casinhf): Likewise.
8661 * math/s_casinhl.c (__casinhl): Likewise.
8662 * math/libm-test.inc (casin_test): Add more tests.
8663 (casinh_test): Likewise.
8664 * sysdeps/i386/fpu/libm-test-ulps: Update.
8665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8666
302913e1
SP
86672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8668
6420d207
SP
8669 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8670
a9e48ab4
SP
8671 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8672
b7837264
SP
8673 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8674 declarations.
8675 (denorm): Likewise.
8676 (__mp_dbl): Likewise.
8677 (__inv): Likewise.
8678
f8af25d2
SP
8679 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8680 and adjust the header comment.
8681
302913e1
SP
8682 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8683 variable name from declaration.
8684
5d7dd1ca
L
86852013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8686
8687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8688 Initialize COMMON_CPUID_INDEX_7 element.
8689 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8690 (CPUID_RTM): Likewise.
8691 (HAS_RTM): Likewise.
8692 (COMMON_CPUID_INDEX_7): New enum.
8693
2f5f40f4
AS
86942013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8695
8696 [BZ #14981]
8697 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8698 size is zero, record memory as freed.
8699
4056f4a0
AJ
87002013-01-03 Andreas Jaeger <aj@suse.de>
8701
8702 * po/ia.po: Add new Interlingua translation.
8703
ab15736f 87042012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8705
8706 * locale/programs/localedef.c: Fix description of '--posix' flag.
8707
568035b7
JM
87082013-01-02 Joseph Myers <joseph@codesourcery.com>
8709
e6898b8d
JM
8710 * NEWS: Update dates in second copyright notice.
8711 * README: Update copyright dates in example.
8712 * manual/libc.texinfo: Update copyright dates.
8713 * scripts/test-installation.pl: Update copyright date in --version
8714 output.
8715
0e2f9562
JM
8716 * hurd/ctty-input.c: Fix copyright notice formatting.
8717 * hurd/ctty-output.c: Likewise.
8718 * hurd/dtable.c: Likewise.
8719 * hurd/hurd-raise.c: Likewise.
8720 * hurd/hurdprio.c: Likewise.
8721 * hurd/msgportdemux.c: Likewise.
8722 * misc/sys/file.h: Likewise.
8723 * misc/sys/ioctl.h: Likewise.
8724 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8725 * sysdeps/mach/hurd/chdir.c: Likewise.
8726 * sysdeps/mach/hurd/fchdir.c: Likewise.
8727 * sysdeps/mach/hurd/rename.c: Likewise.
8728 * sysdeps/mach/hurd/rmdir.c: Likewise.
8729 * sysdeps/mach/hurd/seekdir.c: Likewise.
8730 * sysdeps/mach/hurd/setsid.c: Likewise.
8731 * sysdeps/posix/wait3.c: Likewise.
8732
568035b7
JM
8733 * All files with FSF copyright notices: Update copyright dates
8734 using scripts/update-copyrights.
8735 * intl/plural.c: Regenerated.
8736 * locale/programs/charmap-kw.h: Likewise.
8737 * locale/programs/locfile-kw.h: Likewise.
8738
da08f647
SP
87392013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8740
0f5477af
SP
8741 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8742 four values.
8743
44e0d4c2
SP
8744 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8745 calculation loop and add branch prediction.
8746
4d55b4e5
SP
8747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8748 check access beyond bounds of m1np.
8749
da08f647
SP
8750 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8751 MPTWO.
8752 (__inv): Remove local variable MPTWO to use the global
8753 constant.
8754 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8755 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8756 variable MPTWO.
8757 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8758 MP3HALFS static const.
8759
8e051029
DM
87602013-01-01 David S. Miller <davem@davemloft.net>
8761
8762 * po/ca.po: Update from translation team.
8763
f4cf5f2d
JM
87642013-01-01 Joseph Myers <joseph@codesourcery.com>
8765
8766 * scripts/update-copyrights: New file.
8767 * Makeconfig: Reformat copyright notice.
8768 * ctype/ctype.h: Likewise.
8769 * debug/swprintf_chk.c: Likewise.
8770 * elf/dl-cache.c: Likewise.
8771 * elf/dl-debug.c: Likewise.
8772 * elf/dl-object.c: Likewise.
8773 * grp/initgroups.c: Likewise.
8774 * hurd/Makefile: Likewise.
8775 * hurd/hurd/signal.h: Likewise.
8776 * hurd/hurdfault.c: Likewise.
8777 * hurd/hurdioctl.c: Likewise.
8778 * hurd/hurdlookup.c: Likewise.
8779 * hurd/intr-msg.c: Likewise.
8780 * iconv/gconv_open.c: Likewise.
8781 * libio/swprintf.c: Likewise.
8782 * locale/lc-ctype.c: Likewise.
8783 * locale/nl_langinfo.c: Likewise.
8784 * mach/Machrules: Likewise.
8785 * mach/Makefile: Likewise.
8786 * malloc/obstack.h: Likewise.
8787 * manual/Makefile: Likewise.
8788 * manual/tsort.awk: Likewise.
8789 * misc/bits/stab.def: Likewise.
8790 * nis/nis_print_group_entry.c: Likewise.
8791 * nis/nis_table.c: Likewise.
8792 * nis/nss_compat/compat-pwd.c: Likewise.
8793 * nis/nss_compat/compat-spwd.c: Likewise.
8794 * po/Makefile: Likewise.
8795 * posix/fnmatch.c: Likewise.
8796 * posix/regex.h: Likewise.
8797 * resolv/Makefile: Likewise.
8798 * resolv/nss_dns/dns-network.c: Likewise.
8799 * resolv/res_hconf.c: Likewise.
8800 * scripts/gen-sorted.awk: Likewise.
8801 * soft-fp/soft-fp.h: Likewise.
8802 * stdio-common/printf.h: Likewise.
8803 * stdlib/monetary.h: Likewise.
8804 * stdlib/random.c: Likewise.
8805 * stdlib/random_r.c: Likewise.
8806 * sysdeps/generic/Makefile: Likewise.
8807 * sysdeps/gnu/Makefile: Likewise.
8808 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8836 * sysdeps/mach/hurd/errnos.awk: Likewise.
8837 * sysdeps/mach/hurd/fork.c: Likewise.
8838 * sysdeps/mach/hurd/getcwd.c: Likewise.
8839 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8840 * sysdeps/mach/hurd/mmap.c: Likewise.
8841 * sysdeps/mach/hurd/utimes.c: Likewise.
8842 * sysdeps/mach/hurd/xmknod.c: Likewise.
8843 * sysdeps/posix/profil.c: Likewise.
8844 * sysdeps/posix/readdir_r.c: Likewise.
8845 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8846 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8847 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8848 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8850 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8852 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8854 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8855 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8856 * sysdeps/pthread/lio_listio.c: Likewise.
8857 * sysdeps/sparc/dl-procinfo.h: Likewise.
8858 * sysdeps/unix/i386/sysdep.S: Likewise.
8859 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8860 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8861 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8862 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8864 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8865 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8866 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8867 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8868 * sysdeps/wordsize-32/divdi3.c: Likewise.
8869 * time/sys/time.h: Likewise.
8870 * wcsmbs/Makefile: Likewise.
8871
0549fbba
DM
88722013-01-01 David S. Miller <davem@davemloft.net>
8873
a141f1a7
DM
8874 * po/fr.po: Update from translation team.
8875
0549fbba
DM
8876 * catgets/gencat.c: Update copyright year.
8877 * csu/version.c: Likewise.
8878 * debug/catchsegv.sh: Likewise.
8879 * debug/pcprofiledump.c: Likewise.
8880 * debug/xtrace.sh: Likewise.
8881 * elf/ldconfig.c: Likewise.
8882 * elf/ldd.bash.in: Likewise.
8883 * elf/pldd.c: Likewise.
8884 * elf/sotruss.ksh: Likewise.
8885 * elf/sprof.c: Likewise.
8886 * iconv/iconv_prog.c: Likewise.
8887 * iconv/iconvconfig.c: Likewise.
8888 * locale/programs/locale.c: Likewise.
8889 * locale/programs/localedef.c: Likewise.
8890 * login/programs/pt_chown.c: Likewise.
8891 * malloc/memusage.sh: Likewise.
8892 * malloc/memusagestat.c: Likewise.
8893 * malloc/mtrace.pl: Likewise.
8894 * nscd/nscd.c: Likewise.
8895 * nss/getent.c: Likewise.
8896 * nss/makedb.c: Likewise.
8897 * posix/getconf.c: Likewise.
8898
18ea052c
SP
88992012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8900
8901 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8902 numbers.
8903
9c89fca6
MF
89042012-12-30 Mike Frysinger <vapier@gentoo.org>
8905
8906 * math/bits/mathcalls.h (modf): Use __nonnull.
8907
085ec079
SP
89082012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8909
8910 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8911 (split): Use macro CN instead of the bare value.
8912 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8913 could be used.
8914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8915 instead of the bare value.
8916 (power1): Likewise.
8917
6d9f97e1
SP
89182012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8919
d63f73be
SP
8920 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8921 __ATAN_TWOM.
8922 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8923
6d9f97e1
SP
8924 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8925 their values.
8926 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8927 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8928 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8929 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8930
4c4febf5
AJ
89312012-12-28 Andreas Jaeger <aj@suse.de>
8932
af5843ef
AJ
8933 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8934 values are from Linux 3.7.
8935
4c4febf5
AJ
8936 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8937 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8938
99136f82
SP
89392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8940
2f216c3c 8941 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8942 TRUE case.
8943
99136f82
SP
8944 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8945 (norm): Likewise.
8946 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8947 variables with preprocessor constants.
8948 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8949 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8950 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8951
7fffbdff
BH
89522012-12-27 Bruno Haible <bruno@clisp.org>
8953
8954 [BZ #14317]
8955 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8956 only if needed.
8957
b76eb5f0
SP
89582012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8959
31a7fe5c
SP
8960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8961 and use variable directly.
8962 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8963
b76eb5f0
SP
8964 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8965 MPONE.
8966 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8968 variable MPONE.
8969 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8971 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8972 include directive. Remove local variable MPONE.
8973 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8974 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8975 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8976
2c8bfe7d
DM
89772012-12-25 David S. Miller <davem@davemloft.net>
8978
8979 * version.h (RELEASE): Set to "development".
8980 (VERSION): Set to "2.17.90".
8981 * NEWS: Add 2.18 section.
8982
147d03b0
DM
89832012-12-21 David S. Miller <davem@davemloft.net>
8984
8985 * po/hr.po: Update from translation team.
8986
a8ebb2b9
AK
89872012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8988
8989 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8990
95b4f1b6
SE
89912012-12-19 Steve Ellcey <sellcey@mips.com>
8992
b2d94007 8993 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8994
cedb2a90
MS
89952012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8996
8997 * manual/contrib.texi (Contributors): Spelling correction.
8998
bbf527d6
DM
89992012-12-15 David S. Miller <davem@davemloft.net>
9000
9001 * po/ru.po: Update from translation team.
9002
bc38c906
DM
90032012-12-13 David S. Miller <davem@davemloft.net>
9004
85429b1a
DM
9005 * NEWS: Mention IFUNC testsuite enhancements.
9006
d283e353
DM
9007 * po/pl.po: Update from translation team.
9008 * po/bg.po: Likewise.
9009
bc38c906
DM
9010 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9011 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9012
a181b0d7
DM
90132012-12-11 David S. Miller <davem@davemloft.net>
9014
4641d57e
DM
9015 * po/sv.po: Update from translation team.
9016
f7bc6495
DM
9017 * po/vi.po: Update from translation team.
9018
6fc9048f
DM
9019 * po/cs.po: Update from translation team.
9020
a181b0d7
DM
9021 * po/de.po: Update from translation team.
9022 * po/eo.po: Likewise.
9023 * po/nl.po: Likewise.
9024
f70bfe80
SP
90252012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9026
3c8b4190
SP
9027 [BZ #14246]
9028 * manual/argp.texi (Argp Helper Functions): Move node to follow
9029 Argp Parsing State.
9030
f70bfe80
SP
9031 [BZ #14872]
9032 * manual/conf.texi (Limits on File System Capacity): Mention if
9033 terminating null is included in the max size.
9034
188f0adf
AJ
90352012-12-10 Andreas Jaeger <aj@suse.de>
9036
9037 * po/cs.po: Update from translation team.
9038
56e7d3ad
SP
90392012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9040
9041 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9042 void pointer and cast to uintptr_t.
9043 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9044 path.
9045 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9046 * sysdeps/s390/s390-64/memset.S: Likewise.
9047
76f2d2ea 90482012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9049
9050 [BZ #14833]
9051 * menual/message.texi (Message Translation): Fix typos.
9052 (Helper programs for gettext): Likewise.
9053
67cbf9a2
AS
90542012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9055
9056 [BZ #14898]
9057 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9058 Change to -1.
9059
682d0e9a
DM
90602012-12-07 David S. Miller <davem@davemloft.net>
9061
9062 * po/libc.pot: Update.
9063
573cd484
RH
90642012-12-07 Richard Henderson <rth@redhat.com>
9065
7e9da188 9066 [BZ #10114]
573cd484
RH
9067 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9068 normal/normal case to before the switch.
9069 (_FP_DIV): Likewise.
9070
e933a943
MF
90712012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9072 Mike Frysinger <vapier@gentoo.org>
9073
9074 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9075 check for __NR_fadvise64_64.
9076
82123268
CM
90772012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9078
9079 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9080 0, not just to plain "0" as a statement.
9081 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9082 with cw.
9083
d9814526
JM
90842012-12-06 Joseph Myers <joseph@codesourcery.com>
9085
9086 * NEWS: Use sourceware.org in Bugzilla URL.
9087
7728c574
SP
90882012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9089
f16946dd
SP
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9091 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9092
5704bbcb
SP
9093 * stdio-common/tst-put-error.c (do_test): Add newline to the
9094 padded test to ensure flush.
9095
17aa0516
JL
90962012-12-05 Jeff Law <law@redhat.com>
9097
9098 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9099
363313b5
JM
91002012-12-05 Joseph Myers <joseph@codesourcery.com>
9101
effbd42a
JM
9102 * README: Don't refer to ports add-on as distributed separately.
9103 Mention AArch64 in list of systems supported in the ports add-on.
9104
87600365
JM
9105 * LICENSES: Add more non-FSF copyright and license notices.
9106
a0d7066a
JM
9107 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9108 ((unused)).
9109
66ca5a5b
JM
9110 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9111
363313b5
JM
9112 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9113 10000 as width of padded output.
9114
b37984ad
JM
91152012-12-04 Joseph Myers <joseph@codesourcery.com>
9116
9003570a
JM
9117 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9118
b37984ad
JM
9119 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9120 variable LX with __attribute__ ((unused)).
9121 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9122 Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9126 with __attribute__ ((unused)).
9127
c8df52ec
DM
91282012-12-04 David S. Miller <davem@abraco.davemloft.net>
9129
9130 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9131
b3b099af
JM
91322012-12-04 Joseph Myers <joseph@codesourcery.com>
9133
c33aa6e3
JM
9134 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9135 (CFLAGS-nldbl-acos.c): New variable.
9136 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9137 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9138 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9139 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9140 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9141 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9142 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9143 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9144 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9145 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9146 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9147 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9148 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9149 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9150 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9151 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9152 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9153 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9154 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9155 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9156 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9157 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9158 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9159 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9160 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9161 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9162 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9163 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9164 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9165 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9166 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9167 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9168 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9169 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9170 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9171 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9172 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9173 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9174 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9175 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9176 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9177 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9178 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9179 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9180 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9181 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9182 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9183 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9184 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9185 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9186 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9187 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9188 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9189 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9190 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9191 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9192 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9193 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9194 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9195 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9196 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9197 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9198 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9199 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9200 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9201 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9202 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9203 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9204 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9205 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9206 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9207 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9208 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9209 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9210 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9211 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9212 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9213 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9214 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9215 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9216 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9217 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9218 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9219 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9220 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9221 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9222 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9223 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9224 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9225 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9226 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9227 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9228 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9229 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9230 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9231 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9232 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9233
20f0018d
JM
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9235 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9236
b3b099af
JM
9237 [BZ #14914]
9238 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9239 whole low double instead of just low 47 bits when splitting values
9240 into two parts.
9241
029264d1
AM
92422012-12-03 Allan McRae <allan@archlinux.org>
9243
9244 * manual/stdio.texi (Predefined Printf Handlers): Remove
9245 @hsep and @vsep usage.
9246
c9d6789e
MF
92472012-12-03 Mike Frysinger <vapier@gentoo.org>
9248
9249 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9250 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9251
4b7634a5
JL
92522012-12-03 Jeff Law <law@redhat.com>
9253
9254 * time/sys/time.h (settimeofday): Do not mark TV argument
9255 as __nonnull.
9256
eb6cbd24
MF
92572012-12-01 Mike Frysinger <vapier@gentoo.org>
9258
9259 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9260 when currently writing and seek to current position when not.
9261 * libio/Makefile (tests): Remove bug-fclose1.
9262 * libio/bug-fclose1.c: Delete.
9263
f638872a
JM
92642012-12-01 Joseph Myers <joseph@codesourcery.com>
9265
9266 * manual/arith.texi (feenableexcept): Fix typo.
9267 (fedisableexcept): Likewise.
9268
48085d14
RM
92692012-11-30 Roland McGrath <roland@hack.frob.com>
9270
9271 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9272 second, differently-typed declaration, rather than a cast.
9273
1a538b9f
SP
92742012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9275
9276 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9277 * include/rpc/svc.h: ... here.
9278
d07f2ff1 92792012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9280
9281 [BZ #13013]
9282 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9283 depending n and resplen2 to catch cases where answer
9284 equals answerp2.
9285
c93ec1f0
CD
92862012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9287
9288 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9289 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9290
37db69de
MF
92912012-11-29 Mike Frysinger <vapier@gentoo.org>
9292
9293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9294
e10c4e4f
RM
92952012-11-29 Roland McGrath <roland@hack.frob.com>
9296
9297 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9298
2af1b328
JL
92992012-11-28 Jeff Law <law@redhat.com>
9300
9301 [BZ #13761]
9302 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9303 dataset_temporary. Track alloca usage into alloca_used.
9304 If dataset is large allocate and release it via malloc/free.
9305
111db5b1
FW
93062012-06-04 Florian Weimer <fweimer@redhat.com>
9307
f06cc227 9308 [BZ #14197]
111db5b1
FW
9309 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9310
dd694abd
DM
93112012-11-28 David S. Miller <davem@davemloft.net>
9312
9313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9314
9984dd01
JM
93152012-11-28 Joseph Myers <joseph@codesourcery.com>
9316
9317 [BZ #14803]
9318 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9319 of pi/2 rounded to nearest to 64 bits.
9320 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9321 nearest to 64 bits.
9322 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9323 bits.
9324
14bc93a9
JL
93252012-11-28 Jeff Law <law@redhat.com>
9326 Martin Osvald <mosvald@redhat.com>
9327
9328 [BZ #14889]
9329 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9330 * sunrpc/svc.c: Include time.h.
9331 (__svc_accept_failed): New function.
9332 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9333 any reason other than EINTR, call __svc_accept_failed.
9334 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9335 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9336
e3c6aa3a
AS
93372012-11-28 Andreas Schwab <schwab@suse.de>
9338
9339 * scripts/abilist.awk: Also handle indirect functions in .opd
9340 section.
9341
1bead169
JM
93422012-11-28 Joseph Myers <joseph@codesourcery.com>
9343
9344 [BZ #13881]
9345 * sysdeps/x86/fpu/powl_helper.c: New file.
9346 * sysdeps/x86/fpu/Makefile: Likewise.
9347 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9348 (p3): New object.
9349 (__ieee754_powl): Use __powl_helper for finite arguments except
9350 integer exponents below 8.
9351 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9352 (p3): New object.
9353 (__ieee754_powl): Use __powl_helper for finite arguments except
9354 integer exponents below 8.
9355 * math/libm-test.inc (pow_test): Add more tests and enable some
9356 previously disabled tests.
9357 * sysdeps/i386/fpu/libm-test-ulps: Update.
9358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9359
0817d63d
SP
93602012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9361 Carlos O'Donell <carlos_odonell@mentor.com>
9362
9363 * nss/makedb.c (is_prime): Assert that input is odd and greater
9364 than 4. Note that fact in a comment too.
9365 (next_prime): Add 4 to input.
9366
de2fd463
SP
93672012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9368
9369 [BZ #11741]
9370 * libio/Makefile (tests): Add test case tst-fwrite-error.
9371 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9372 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9373 * libio/tst-fwrite-error.c: New test case.
9374
c515fb51
L
93752012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9376
9377 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9378 before casting to void *.
9379 * include/libc-internal.h (__pointer_type): New macro.
9380 (__integer_if_pointer_type_sub): Likewise.
9381 (__integer_if_pointer_type): Likewise.
9382 (cast_to_integer): Likewise.
9383 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9384 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9385 before casting to atomic64_t.
9386 (atomic_exchange_acq): Likewise.
9387 (__arch_exchange_and_add_body): Likewise.
9388 (__arch_add_body): Likewise.
9389 (atomic_add_negative): Likewise.
9390 (atomic_add_zero): Likewise.
9391
4cf77aa9
JM
93922012-11-26 Joseph Myers <joseph@codesourcery.com>
9393
9394 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9395 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9396 (add_fdes): Likewise.
9397 (linear_search_fdes): Likewise.
9398 (binary_search_unencoded_fdes): Likewise.
9399
d260b3b4
AS
94002012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9401
9402 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9403
67060746
AC
94042012-11-24 Adam Conrad <adconrad@0c3.net>
9405
9406 * configure.in: Autodetect C++ header directories.
9407 * configure: Regenerated.
9408
800938a1
MF
94092012-11-23 Mike Frysinger <vapier@gentoo.org>
9410
9411 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9412
4e6e34e6
AS
94132012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9414
9415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9416
7c7feb47
JM
94172012-11-22 Joseph Myers <joseph@codesourcery.com>
9418
7184dcdf
JM
9419 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9420 LDBL_MANT_DIG == 106]: Disable some tests.
9421 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9422 Likewise.
9423 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9424 Likewise.
9425
0a42601f
JM
9426 [BZ #14871]
9427 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9428 input for small inputs. Return +/- pi/2 for large inputs.
9429 * math/libm-test.inc (atan_test): Add more tests.
9430
79c9b9fe
JM
9431 * sysdeps/generic/unwind-dw2-fde-glibc.c
9432 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9433 __attribute__ ((unused)).
9434
c60d3bf2
JM
9435 [BZ #14645]
9436 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9437 x * y if x and y are nonzero and z is zero.
9438
ef1e0867
JM
9439 [BZ #14811]
9440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9441 nonzero exponents with absolute value below 0x1p-117 to +/-
9442 0x1p-117.
9443
1468ded3
JM
9444 [BZ #14869]
9445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9446 up arguments below 2**-450, not just those below 2**-500.
9447 * math/libm-test.inc (hypot_test): Add another test.
9448
8e27e3cc
JM
9449 [BZ #14868]
9450 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9451 Return a+b for ratio over 2**120, not 2**60.
9452 * math/libm-test.inc (hypot_test): Add another test.
9453
c9c0279b
JM
9454 * math/libm-test.inc (clog_test): Use
9455 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9456 (clog10_test): Likewise.
9457
7c7feb47
JM
9458 [BZ #6778]
9459 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9460
fff1530e
AS
94612012-11-22 Andreas Schwab <schwab@suse.de>
9462
9463 * sysdeps/i386/fpu/libm-test-ulps: Update.
9464
94558d30
PT
94652012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9466
9467 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9468 printf output with newline.
9469
7e1be741
L
94702012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9471
6bfea974
L
9472 [BZ #14865]
9473 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9474 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9475 -z nodlopen, -z initfirst and -z execstack support.
9476 * configure: Regenerated.
9477
7e1be741
L
9478 * elf/elf.h (DF_1_NODIRECT): New macro.
9479 (DF_1_IGNMULDEF): Likewise.
9480 (DF_1_NOKSYMS): Likewise.
9481 (DF_1_NOHDR): Likewise.
9482 (DF_1_EDITED): Likewise.
9483 (DF_1_NORELOC): Likewise.
9484 (DF_1_SYMINTPOSE): Likewise.
9485 (DF_1_GLOBAUDIT): Likewise.
9486 (DF_1_SINGLETON): Likewise.
9487 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9488 DT_1_SUPPORTED_MASK bits.
9489 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9490
105ce2ce
CD
94912012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9492
9493 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9494
123be9de
TS
94952012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9496
d072f3f7
TS
9497 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9498 macro.
9499
123be9de
TS
9500 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9501 (sendmmsg): Move declarations...
9502 * socket/sys/socket.h: ... here.
9503 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9504 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9505 include it from...
9506 * socket/recvmmsg.c: ... this new file.
9507 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9508 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9509 definition of __sendmmsg hidden.
9510 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9511 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9512 Move ENOSYS stub into and include it from...
9513 * socket/sendmmsg.c: ... this new file.
9514 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9515 (sysdep_routines): Move recvmmsg and sendmmsg...
9516 * socket/Makefile (routines): ... here.
9517 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9518 (GLIBC_PRIVATE): Add __sendmmsg.
9519 * include/sys/socket.h (__sendmmsg): Add declarations.
9520 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9521 sendmmsg.
9522
cf9a5d18
JM
95232012-11-20 Joseph Myers <joseph@codesourcery.com>
9524
9525 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9526 variable I1 with __attribute__ ((unused)).
9527 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9528
ecd4caf9
JM
95292012-11-19 Joseph Myers <joseph@codesourcery.com>
9530
be14d48f
JM
9531 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9532 DUMMY variables with __attribute__ ((unused)).
9533
ecd4caf9
JM
9534 * bits/byteswap.h: Include <bits/types.h>.
9535 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9536
986cab95
PT
95372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9538
9539 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9540 string_t. Do not manually set errno.
9541 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9542 length with __strnlen. Make sure to both set errno and return it on
9543 failure.
9544
6d33cc9d
DM
95452012-11-19 David S. Miller <davem@davemloft.net>
9546
9547 With help from Joseph Myers.
9548 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9549 very large arguments properly.
9550 * math/libm-test.inc (atan_test): New tests.
9551 (atan2_test): New tests.
9552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9554
ee663277
JM
95552012-11-19 Joseph Myers <joseph@codesourcery.com>
9556
877f2d8e
JM
9557 [BZ #14856]
9558 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9559 Define to 3.
9560
116fc08a
JM
9561 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9562 [POSIX] (EADDRNOTAVAIL): Likewise.
9563 [POSIX] (EAFNOSUPPORT): Likewise.
9564 [POSIX] (EALREADY): Likewise.
9565 [POSIX] (ECONNABORTED): Likewise.
9566 [POSIX] (ECONNREFUSED): Likewise.
9567 [POSIX] (ECONNRESET): Likewise.
9568 [POSIX] (EDESTADDRREQ): Likewise.
9569 [POSIX] (EDQUOT): Likewise.
9570 [POSIX] (EHOSTUNREACH): Likewise.
9571 [POSIX] (EIDRM): Likewise.
9572 [POSIX] (EISCONN): Likewise.
9573 [POSIX] (ELOOP): Likewise.
9574 [POSIX] (EMULTIHOP): Likewise.
9575 [POSIX] (ENETDOWN): Likewise.
9576 [POSIX] (ENETUNREACH): Likewise.
9577 [POSIX] (ENOBUFS): Likewise.
9578 [POSIX] (ENODATA): Likewise.
9579 [POSIX] (ENOLINK): Likewise.
9580 [POSIX] (ENOMSG): Likewise.
9581 [POSIX] (ENOPROTOOPT): Likewise.
9582 [POSIX] (ENOSR): Likewise.
9583 [POSIX] (ENOSTR): Likewise.
9584 [POSIX] (ENOTCONN): Likewise.
9585 [POSIX] (ENOTSOCK): Likewise.
9586 [POSIX] (EOPNOTSUPP): Likewise.
9587 [POSIX] (EOVERFLOW): Likewise.
9588 [POSIX] (EPROTO): Likewise.
9589 [POSIX] (EPROTONOSUPPORT): Likewise.
9590 [POSIX] (EPROTOTYPE): Likewise.
9591 [POSIX] (ESTALE): Likewise.
9592 [POSIX] (ETIME): Likewise.
9593 [POSIX] (ETXTBSY): Likewise.
9594 [POSIX] (EWOULDBLOCK): Likewise.
9595 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9596 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9597 [POSIX] (SEEK_CUR): Likewise.
9598 [POSIX] (SEEK_END): Likewise.
9599 [POSIX || UNIX98] (mode_t): Do not require.
9600 [POSIX] (off_t): Likewise.
9601 [POSIX] (pid_t): Likewise.
9602 [POSIX] (sys/stat.h): Do not allow header.
9603 [POSIX] (unistd.h): Likewise.
9604 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9605 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9606 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9607 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9608 require.
9609 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9610 sigevent): Specify elements.
9611 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9612 entry.
9613 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9614 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9615
a483863f
JM
9616 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9617 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9618 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9619 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9620 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9621 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9622 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9623 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9624 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9625 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9626 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9627 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9628 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9629 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9630 Likewise.
9631 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9632 Likewise.
9633 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9634 Likewise.
9635 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9636 Likewise.
9637 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9638 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9639 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9640 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9641 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9642 Specify lower bound on value.
9643 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9644 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9645 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9646 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9647 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9648 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9649 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9650 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9651 value.
9652 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9653 as optional.
9654 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9655 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9656 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9657 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9662 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9664 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9665 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9666 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9667 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9668 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9670 entry.
9671 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9672 optional.
9673 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9674 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9675 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9676 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9677 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9678 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9679 Likewise.
9680 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9681 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9682 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9683 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9684 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9685 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9686 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9687 as optional.
9688 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9689 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9690 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9691 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9692 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9693 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9694 specify as optional.
9695 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9696 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9697 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9698 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9699 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9700 [XPG3] (NL_LANGMAX): Likewise.
9701 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9702 [POSIX || XPG3] (NL_NMAX): Likewise.
9703 [POSIX || XPG3] (NL_SETMAX): Likewise.
9704 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9705 [XPG3] (NZERO): Likewise.
9706 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9707 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9708 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9709 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9710 (REG_ERANGE): Expect.
9711 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9712 optional-constant.
9713 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9714 Use (void) in prototype.
9715 [POSIX] (*_t): Allow.
9716 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9717 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9718 (WRDE_BADVAL): Expect.
9719
5ba924e3
JM
9720 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9721 expect.
9722 [XPG3 || XPG4] (O_RSYNC): Likewise.
9723 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9724 Likewise.
9725 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9726 [XPG3 || XPG4] (sigqueue): Likewise.
9727 [XPG3 || XPG4] (sigtimedwait): Likewise.
9728 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9729 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9730 [XPG3 || XPG4] (vsnprintf): Likewise.
9731 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9732 Likewise.
9733 [XPG3 || XPG4] (blksize_t): Likewise.
9734 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9735 Likewise.
9736 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9737 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9738 [XPG3 || XPG4] (struct itimerspec): Likewise.
9739 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9740 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9741 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9742 [XPG3 || XPG4] (clockid_t): Likewise.
9743 [XPG3 || XPG4] (timer_t): Likewise.
9744 [XPG3 || XPG4] (clock_getres): Likewise.
9745 [XPG3 || XPG4] (clock_gettime): Likewise.
9746 [XPG3 || XPG4] (clock_settime): Likewise.
9747 [XPG3 || XPG4] (nanosleep): Likewise.
9748 [XPG3 || XPG4] (timer_create): Likewise.
9749 [XPG3 || XPG4] (timer_delete): Likewise.
9750 [XPG3 || XPG4] (timer_gettime): Likewise.
9751 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9752 [XPG3 || XPG4] (timer_settime): Likewise.
9753 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9754 [XPG3 || XPG4] (getlogin_r): Likewise.
9755 [XPG3 || XPG4] (pread): Likewise.
9756 [XPG3 || XPG4] (pthread_atfork): Likewise.
9757 [XPG3 || XPG4] (pwrite): Likewise.
9758
ee663277
JM
9759 [BZ #14835]
9760 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9761 <bits/siginfo.h>.
9762
942caa16
PT
97632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9764
e19af380
PT
9765 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9766 finalizing MALLSTREAM.
9767
942caa16
PT
9768 * sysdeps/mach/hurd/syncfs.c: New file.
9769
cfde9b46
SP
97702012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9771
9772 [BZ #14719]
9773 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9774 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9775 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9776 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9777 (_nss_dns_gethostbyname4_r): Likewise.
9778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9779 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9780
f6da27e5
PH
97812012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9782
9783 [BZ #13763]
9784 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9785
6665d4a2
SM
97862012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9787
1f51ee92
SM
9788 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9789 * elf/cache.c (print_entry): Print ",AArch64" for
9790 FLAG_AARCH64_LIB64
9791
6665d4a2
SM
9792 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9793 * elf/cache.c (print_entry): Print ",hard-float" for
9794 FLAG_ARM_LIBHF.
9795
05b227bd
DM
97962012-11-18 David S. Miller <davem@davemloft.net>
9797
9798 With help from Joseph Myers.
9799 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9800 cutoff to 2**-13.
9801 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9802 cutoff to 2**-25.
9803 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9804 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9805 small.
9806 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9807 * math/libm-test.inc (y0_test): New tests.
9808 (y1_test): New tests.
9809 * sysdeps/i386/fpu/libm-test-ulps: Update.
9810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9812
786b0b67
AS
98132012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9814
9815 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9816 64-bit targets.
9817 * configure: Regenerated.
9818
8e18b86d
DM
98192012-11-17 David S. Miller <davem@davemloft.net>
9820
9821 [BZ #14811]
9822 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9823 nonzero exponents with absolute value below 0x1p-128 to +/-
9824 0x1p-128.
9825
531f1ae0
JM
98262012-11-17 Joseph Myers <joseph@codesourcery.com>
9827
12df29e2
JM
9828 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9829
150dc1a0
JM
9830 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9831
531f1ae0
JM
9832 * posix/getconf-speclist.c: New file.
9833 * posix/posix-envs.def: Likewise.
9834 * posix/confstr.c (START_ENV_GROUP): New macro.
9835 (END_ENV_GROUP): Likewise.
9836 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9837 (KNOWN_PRESENT_ENV_STRING): Likewise.
9838 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9839 (UNKNOWN_ENVIRONMENT): Likewise.
9840 (confstr): Include posix-envs.def instead of handling
9841 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9842 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9843 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9844 (END_ENV_GROUP): Likewise.
9845 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9846 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9847 (UNKNOWN_ENVIRONMENT): Likewise.
9848 (__sysconf): Include posix-envs.def instead of handling associated
9849 cases directly here.
9850 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9851 preprocessing getconf-speclist.c rather than running getconf or
9852 generating empty file.
9853
a93f9cbc
PT
98542012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9855
9856 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9857
d64d9f87
AL
98582012-11-16 Andrej Lajovic <natrij@gmail.com>
9859
9860 [BZ #14672]
9861 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9862
447885eb
DM
98632012-11-16 David S. Miller <davem@davemloft.net>
9864
9865 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9866 smaller than LDBL_EPSILON/2.0L, just return xm1.
9867
bcbf9830
L
98682012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9869
9870 * elf/tst-array1.c (init): Set constructor priority to 1000.
9871 (fini): Set destructor priority to 1000.
9872 * elf/tst-array2dep.c: Likewise.
9873
2b766585
SP
98742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9875
9876 [BZ #11741]
9877 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9878 (_IO_new_file_xsputn): Also return EOF if none of the input
9879 data was written when overflow failed.
9880 * libio/iopadn.c (_IO_padn): Likewise.
9881 * libio/iowpadn.c (_IO_wpadn): Likewise.
9882 * stdio-common/tst-put-error.c: Add copyright notice.
9883 (do_test): Add case for printing padded string.
9884 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9885 _IO_padn returned error.
9886 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9887 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9888 return EOF.
9889
b1848fde
SP
98902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9891
9892 * libio/libioP.h: Add comment note that the references to C++
9893 bits are now obsolete.
9894
2fd89785
MS
98952012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9896
9897 * math/libm-test.inc (check_complex): Use asprintf.
9898
e3ea5409
JM
98992012-11-14 Joseph Myers <joseph@codesourcery.com>
9900
9901 * debug/pcprofiledump.c (print_version): Update copyright year.
9902 * malloc/memusagestat.c (print_version): Likewise.
9903
2e64d265
L
99042012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9905
9906 [BZ #14831]
9907 * elf/Makefile (tests): Add tst-audit8.
9908 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9909 ($(objpfx)tst-audit8.out): New target.
9910 (tst-audit8-ENV): New variable.
9911 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9912 audit if l_reloc_result is NULL.
9913 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9914 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9915 * elf/tst-audit8.c: New file.
9916
c485e4d2
MS
99172012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9918
9919 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9920 * misc/Makefile (CFLAGS-select.c): Define.
9921 * posix/Makefile (CFLAGS-pause.c): Define.
9922
3a0d900a
DM
99232012-11-13 David S. Miller <davem@davemloft.net>
9924
9925 * crypt/Makefile: Move test targets after toplevel Rules
9926 inclusion. Grab any necessary sysdep routines when linking.
9927 * crypt/md5.c (md5_process_block): Remove define, we will always
9928 name it __md5_process_block.
9929 (md5_finish_ctx): Update md5_process_block call.
9930 (md5_stream): Likewise.
9931 (md5_process_bytes): Likewise.
9932 (md5_process_block): Rename to __md5_process_block and move to ...
9933 * crypt/md5-block.c: ... here.
9934 * crypt/sha256.c (sha256_process_block): Move to ...
9935 * crypt/sha256-block.c: ... here.
9936 * crypt/sha512.c (sha512_process_block): Move to ...
9937 * crypt/sha512-block.c: ... here.
9938 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9939 path.
9940 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9941 * sysdeps/sparc/sparc64/multiarch/Makefile
9942 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9943 crypt subdir.
9944 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9945 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9946 multiarch changes.
9947 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9948 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9949 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9950 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9951 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9952 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9953 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9954 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9955 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9956 file.
9957 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9958 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9959 file.
9960 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9961
8ca89318
JM
99622012-11-13 Joseph Myers <joseph@codesourcery.com>
9963
e27d476a
JM
9964 * timezone/tzselect.ksh: Update from tzcode git revision
9965 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9966 * timezone/zdump.c: Likewise.
9967 * timezone/zic.c: Likewise.
9968 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9969 in TZVERSION setting, not $(PKGVERSION).
9970 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9971 REPORT_BUGS_TO settings.
9972
8ca89318
JM
9973 [BZ #14838]
9974 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9975 macro.
9976
47594329
MS
99772012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9978
9979 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9980 detection to immediately after _FP_ROUND().
9981 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9982 bits are 0.
9983
640ac3f1
DM
99842012-11-11 David S. Miller <davem@davemloft.net>
9985
9986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9987 inttypes.h
9988 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9989 __close rather than their public counterparts.
9990
3d2577bb
JM
99912012-11-10 Joseph Myers <joseph@codesourcery.com>
9992
9993 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9994 file.
9995 [UNIX98] (sem_timedwait): Do not expect.
9996 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9997 [XPG4 || UNIX98] (sockatmark): Do not expect.
9998 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9999 (clock_getcpuclockid): Do not expect.
10000 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10001 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10002 Do not expect.
10003 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10004 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10005 [UNIX98] (vwscanf): Likewise.
10006 [UNIX98] (vswscanf): Likewise.
10007
fb1ae1ee
JM
100082012-11-09 Joseph Myers <joseph@codesourcery.com>
10009
9ec6f8bd
JM
10010 * timezone/version.h: Remove file.
10011 * timezone/README: Do not refer to version.h.
10012 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10013 $(objpfx)version.h.
10014 ($(objpfx)zdump.o): Likewise.
c3f81911 10015 ($(objpfx)version.h): New target.
9ec6f8bd 10016
0aa8f8a1
JM
10017 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10018 2012i.
10019 * timezone/README: Don't mention modification to tzselect.ksh.
10020 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10021 work on unmodified tzselect.ksh. Substitute version numbers in
10022 tzselect.ksh.
10023
4e87147f
JM
10024 * Makefile (format-me): Remove.
10025 (INSTALL): Adjust indentation. Use commands directly instead of
10026 using $(format-me).
10027
8b748aed
JM
10028 * aclocal.m4 (ACX_PKGVERSION): New macro.
10029 (ACX_BUGURL): Likewise.
10030 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10031 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10032 (REPORT_BUGS_TO): Likewise.
10033 * configure: Regenerated.
10034 * config.h.in (PKGVERSION): New macro.
10035 (REPORT_BUGS_TO): Likewise.
10036 * config.make.in (PKGVERSION): New variable.
10037 (PKGVERSION_TEXI): Likewise.
10038 (REPORT_BUGS_TO): Likewise.
10039 (REPORT_BUGS_TEXI): Likewise.
10040 * Makefile (format-me): Use -I$(common-objpfx)manual.
10041 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10042 ($(common-objpfx)manual/%): New target.
10043 (manual/%): Remove target.
10044 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10045 (print_version): Use PKGVERSION.
10046 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10047 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10048 and REPORT_BUGS_TO.
10049 ($(objpfx)xtrace): Likewise.
10050 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10051 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10052 (print_version): Use PKGVERSION.
10053 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10054 (do_version): Use PKGVERSION.
10055 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10056 REPORT_BUGS_TO.
10057 (common-ldd-rewrite): Likewise.
10058 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10059 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10060 (print_version): Use PKGVERSION.
10061 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10062 * elf/pldd.c (argp_program_bug_address): Remove variable.
10063 (more_help): New function.
10064 (argp): Use more_help.
10065 (print_version): Use PKGVERSION.
10066 * elf/sln.c (main): Use PKGVERSION.
10067 (usage): Use REPORT_BUGS_TO.
10068 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10069 (top level): Use PKGVERSION.
10070 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10071 (print_version): Use PKGVERSION.
10072 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10073 (print_version): Use PKGVERSION.
10074 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10075 (print_version): Use PKGVERSION.
10076 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10077 (print_version): Use PKGVERSION.
10078 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10079 (print_version): Use PKGVERSION.
10080 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10081 (print_version): Use PKGVERSION.
10082 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10083 and BUGURL.
10084 ($(objpfx)memusage): Likewise.
10085 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10086 (do_version): Use PKGVERSION.
10087 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10088 (print_version): Use PKGVERSION.
10089 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10090 ($PKGVERSION): New variable.
10091 ($REPORT_BUGS_TO): Likewise.
10092 (usage): Use $REPORT_BUGS_TO.
10093 (top level): Use $PKGVERSION.
10094 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10095 ($(objpfx)pkgvers.texi): New rule.
10096 ($(objpfx)stamp-pkgvers): Likewise.
10097 * manual/install.texi: Include pkgvers.texi.
10098 (--with-pkgversion): Document new configure option.
10099 (--with-bugurl): Likewise.
10100 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10101 than necessarily for this particular distribution. Use
10102 REPORT_BUGS_TO for where to report bugs.
10103 * INSTALL: Regenerated.
10104 * manual/libc.texinfo: Include pkgvers.texi.
10105 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10106 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10107 (print_version): Use PKGVERSION.
10108 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10109 (print_version): Use PKGVERSION.
10110 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10111 (print_version): Use PKGVERSION.
10112 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10113 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10114 macro.
10115 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10116 (print_version): Use PKGVERSION.
10117 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10118 (print_version): Use PKGVERSION.
10119 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10120 and PKGVERSION.
10121
92e4b6a9
JM
10122 * timezone/checktab.awk: Update from tzcode 2012i.
10123 * timezone/ialloc.c: Likewise.
10124 * timezone/private.h: Likewise.
10125 * timezone/scheck.c: Likewise.
10126 * timezone/tzfile.h: Likewise.
10127 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10128 (TZVERSION): Hardcode tzcode version number.
10129 * timezone/zdump.c: Update from tzcode 2012i.
10130 * timezone/zic.c: Likewise.
10131 * timezone/version.h: New file.
10132 * timezone/README: Describe version.h. Update upstream location.
10133
9bde902c
JM
10134 [BZ #14824]
10135 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10136 (mktemp): Enable declaration.
10137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10141 Likewise.
10142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10143 Likewise.
10144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10145 Likewise.
10146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10147 Likewise.
10148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10149 Likewise.
10150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10151 Likewise.
10152
fb1ae1ee
JM
10153 [BZ #14821]
10154 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10155 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10156 for copies of such integer values.
10157 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10158 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10159
2c1adbcb
AJ
101602012-11-09 Andreas Jaeger <aj@suse.de>
10161
10162 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10163 definitions and declarations that are provided by
10164 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10165
d0f8457e
AK
101662012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10167
3a235abb 10168 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10169 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10170 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10171 definition.
10172
57241e26
MS
101732012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10174
10175 * elf/elf.h: Update comment before AArch64 relocations.
10176
60e8270d
DM
101772012-11-07 David S. Miller <davem@davemloft.net>
10178
10179 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10180 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10181 (__start_context): Declare.
10182 (__makecontext_ret): Delete.
10183 (__makecontext): Hook up __start_context instead of
10184 __makecontext_ret.
10185 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10186 (sysdep_routines): Add __start_context when in stdlib.
10187
0fbb0fbc
JM
101882012-11-07 Joseph Myers <joseph@codesourcery.com>
10189
10190 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10191 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10192 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10193 hardcoded "nm".
10194 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10195 (READELF): New variable. Use it instead of hardcoded "readelf".
10196
eb48db7e
L
101972012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10198
10199 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10200 * sysdeps/x86/Makefile: Here.
10201 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10202 * sysdeps/x86/tst-xmmymm.sh: This.
10203
05bcf62a
JM
102042012-11-07 Joseph Myers <joseph@codesourcery.com>
10205
c4b6cf53
JM
10206 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10207 expectations.
10208 [UNIX98] (pthread_barrier_t): Do not expect.
10209 [UNIX98] (pthread_barrierattr_t): Likewise.
10210 [UNIX98] (pthread_spinlock_t): Likewise.
10211 [UNIX98] (pthread_barrier_destroy): Likewise.
10212 [UNIX98] (pthread_barrier_init): Likewise.
10213 [UNIX98] (pthread_barrier_wait): Likewise.
10214 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10215 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10216 [UNIX98] (pthread_barrierattr_init): Likewise.
10217 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10218 [UNIX98] (pthread_getcpuclockid): Likewise.
10219 [UNIX98] (pthread_mutex_timedlock): Likewise.
10220 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10221 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10222 [UNIX98] (pthread_sigmask): Likewise.
10223 [UNIX98] (pthread_spin_destroy): Likewise.
10224 [UNIX98] (pthread_spin_init): Likewise.
10225 [UNIX98] (pthread_spin_lock): Likewise.
10226 [UNIX98] (pthread_spin_trylock): Likewise.
10227 [UNIX98] (pthread_spin_unlock): Likewise.
10228 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10229 Do not expect.
10230 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10231 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10232 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10233 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10234 [XPG3 || XPG4] (pthread_key_t): Likewise.
10235 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10236 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10237 [XPG3 || XPG4] (pthread_once_t): Likewise.
10238 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10239 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10240 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10241 [XPG3 || XPG4] (pthread_t): Likewise.
10242
cbe6e120
JM
10243 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10244 not expect.
10245 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10246
1b126443
JM
10247 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10248 Change function return type to int.
10249
b961a573
JM
10250 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10251 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10252 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10253 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10254 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10255 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10256 [!POSIX] (posix_madvise): Likewise.
10257 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10258 && !UNIX98].
10259 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10260 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10261 (mode_t): Likewise.
10262 (posix_mem_offset): Likewise.
10263 (posix_typed_mem_get_info): Likewise.
10264 (posix_typed_mem_open): Likewise.
10265
9e188909
JM
10266 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10267 Change condition to [XOPEN2K8].
10268
05bcf62a
JM
10269 * conform/conformtest.pl: Preprocess allow-header data with -x c
10270 instead of from stdin.
10271 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10272 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10273 [C99-based standards] (cerfc): Likewise.
10274 [C99-based standards] (cexp2): Likewise.
10275 [C99-based standards] (cexpm1): Likewise.
10276 [C99-based standards] (clog10): Likewise.
10277 [C99-based standards] (clog1p): Likewise.
10278 [C99-based standards] (clog2): Likewise.
10279 [C99-based standards] (clgamma): Likewise.
10280 [C99-based standards] (ctgamma): Likewise.
10281 [C99-based standards] (cerff): Likewise.
10282 [C99-based standards] (cerfcf): Likewise.
10283 [C99-based standards] (cexp2f): Likewise.
10284 [C99-based standards] (cexpm1f): Likewise.
10285 [C99-based standards] (clog10f): Likewise.
10286 [C99-based standards] (clog1pf): Likewise.
10287 [C99-based standards] (clog2f): Likewise.
10288 [C99-based standards] (clgammaf): Likewise.
10289 [C99-based standards] (ctgammaf): Likewise.
10290 [C99-based standards] (cerfl): Likewise.
10291 [C99-based standards] (cerfcl): Likewise.
10292 [C99-based standards] (cexp2l): Likewise.
10293 [C99-based standards] (cexpm1l): Likewise.
10294 [C99-based standards] (clog10l): Likewise.
10295 [C99-based standards] (clog1pl): Likewise.
10296 [C99-based standards] (clog2l): Likewise.
10297 [C99-based standards] (clgammal): Likewise.
10298 [C99-based standards] (ctgammal): Likewise.
10299 * conform/data/inttypes.h-data [C99-based standards]: Include
10300 stdint.h-data. Remove all expectations for stdint.h contents.
10301 [C99-based standards] (PRI*): Do not allow.
10302 [C99-based standards] (SCN*): Likewise.
10303 [C99-based standards] (*_t): Likewise.
10304 [C99-based-standards] (PRId8): Expect macro.
10305 [C99-based-standards] (PRIi8): Likewise.
10306 [C99-based-standards] (PRIo8): Likewise.
10307 [C99-based-standards] (PRIu8): Likewise.
10308 [C99-based-standards] (PRIx8): Likewise.
10309 [C99-based-standards] (PRIX8): Likewise.
10310 [C99-based-standards] (SCNd8): Likewise.
10311 [C99-based-standards] (SCNi8): Likewise.
10312 [C99-based-standards] (SCNo8): Likewise.
10313 [C99-based-standards] (SCNu8): Likewise.
10314 [C99-based-standards] (SCNx8): Likewise.
10315 [C99-based-standards] (PRIdLEAST8): Likewise.
10316 [C99-based-standards] (PRIiLEAST8): Likewise.
10317 [C99-based-standards] (PRIoLEAST8): Likewise.
10318 [C99-based-standards] (PRIuLEAST8): Likewise.
10319 [C99-based-standards] (PRIxLEAST8): Likewise.
10320 [C99-based-standards] (PRIXLEAST8): Likewise.
10321 [C99-based-standards] (SCNdLEAST8): Likewise.
10322 [C99-based-standards] (SCNiLEAST8): Likewise.
10323 [C99-based-standards] (SCNoLEAST8): Likewise.
10324 [C99-based-standards] (SCNuLEAST8): Likewise.
10325 [C99-based-standards] (SCNxLEAST8): Likewise.
10326 [C99-based-standards] (PRIdFAST8): Likewise.
10327 [C99-based-standards] (PRIiFAST8): Likewise.
10328 [C99-based-standards] (PRIoFAST8): Likewise.
10329 [C99-based-standards] (PRIuFAST8): Likewise.
10330 [C99-based-standards] (PRIxFAST8): Likewise.
10331 [C99-based-standards] (PRIXFAST8): Likewise.
10332 [C99-based-standards] (SCNdFAST8): Likewise.
10333 [C99-based-standards] (SCNiFAST8): Likewise.
10334 [C99-based-standards] (SCNoFAST8): Likewise.
10335 [C99-based-standards] (SCNuFAST8): Likewise.
10336 [C99-based-standards] (SCNxFAST8): Likewise.
10337 [C99-based-standards] (PRId16): Likewise.
10338 [C99-based-standards] (PRIi16): Likewise.
10339 [C99-based-standards] (PRIo16): Likewise.
10340 [C99-based-standards] (PRIu16): Likewise.
10341 [C99-based-standards] (PRIx16): Likewise.
10342 [C99-based-standards] (PRIX16): Likewise.
10343 [C99-based-standards] (SCNd16): Likewise.
10344 [C99-based-standards] (SCNi16): Likewise.
10345 [C99-based-standards] (SCNo16): Likewise.
10346 [C99-based-standards] (SCNu16): Likewise.
10347 [C99-based-standards] (SCNx16): Likewise.
10348 [C99-based-standards] (PRIdLEAST16): Likewise.
10349 [C99-based-standards] (PRIiLEAST16): Likewise.
10350 [C99-based-standards] (PRIoLEAST16): Likewise.
10351 [C99-based-standards] (PRIuLEAST16): Likewise.
10352 [C99-based-standards] (PRIxLEAST16): Likewise.
10353 [C99-based-standards] (PRIXLEAST16): Likewise.
10354 [C99-based-standards] (SCNdLEAST16): Likewise.
10355 [C99-based-standards] (SCNiLEAST16): Likewise.
10356 [C99-based-standards] (SCNoLEAST16): Likewise.
10357 [C99-based-standards] (SCNuLEAST16): Likewise.
10358 [C99-based-standards] (SCNxLEAST16): Likewise.
10359 [C99-based-standards] (PRIdFAST16): Likewise.
10360 [C99-based-standards] (PRIiFAST16): Likewise.
10361 [C99-based-standards] (PRIoFAST16): Likewise.
10362 [C99-based-standards] (PRIuFAST16): Likewise.
10363 [C99-based-standards] (PRIxFAST16): Likewise.
10364 [C99-based-standards] (PRIXFAST16): Likewise.
10365 [C99-based-standards] (SCNdFAST16): Likewise.
10366 [C99-based-standards] (SCNiFAST16): Likewise.
10367 [C99-based-standards] (SCNoFAST16): Likewise.
10368 [C99-based-standards] (SCNuFAST16): Likewise.
10369 [C99-based-standards] (SCNxFAST16): Likewise.
10370 [C99-based-standards] (PRId32): Likewise.
10371 [C99-based-standards] (PRIi32): Likewise.
10372 [C99-based-standards] (PRIo32): Likewise.
10373 [C99-based-standards] (PRIu32): Likewise.
10374 [C99-based-standards] (PRIx32): Likewise.
10375 [C99-based-standards] (PRIX32): Likewise.
10376 [C99-based-standards] (SCNd32): Likewise.
10377 [C99-based-standards] (SCNi32): Likewise.
10378 [C99-based-standards] (SCNo32): Likewise.
10379 [C99-based-standards] (SCNu32): Likewise.
10380 [C99-based-standards] (SCNx32): Likewise.
10381 [C99-based-standards] (PRIdLEAST32): Likewise.
10382 [C99-based-standards] (PRIiLEAST32): Likewise.
10383 [C99-based-standards] (PRIoLEAST32): Likewise.
10384 [C99-based-standards] (PRIuLEAST32): Likewise.
10385 [C99-based-standards] (PRIxLEAST32): Likewise.
10386 [C99-based-standards] (PRIXLEAST32): Likewise.
10387 [C99-based-standards] (SCNdLEAST32): Likewise.
10388 [C99-based-standards] (SCNiLEAST32): Likewise.
10389 [C99-based-standards] (SCNoLEAST32): Likewise.
10390 [C99-based-standards] (SCNuLEAST32): Likewise.
10391 [C99-based-standards] (SCNxLEAST32): Likewise.
10392 [C99-based-standards] (PRIdFAST32): Likewise.
10393 [C99-based-standards] (PRIiFAST32): Likewise.
10394 [C99-based-standards] (PRIoFAST32): Likewise.
10395 [C99-based-standards] (PRIuFAST32): Likewise.
10396 [C99-based-standards] (PRIxFAST32): Likewise.
10397 [C99-based-standards] (PRIXFAST32): Likewise.
10398 [C99-based-standards] (SCNdFAST32): Likewise.
10399 [C99-based-standards] (SCNiFAST32): Likewise.
10400 [C99-based-standards] (SCNoFAST32): Likewise.
10401 [C99-based-standards] (SCNuFAST32): Likewise.
10402 [C99-based-standards] (SCNxFAST32): Likewise.
10403 [C99-based-standards] (PRId64): Likewise.
10404 [C99-based-standards] (PRIi64): Likewise.
10405 [C99-based-standards] (PRIo64): Likewise.
10406 [C99-based-standards] (PRIu64): Likewise.
10407 [C99-based-standards] (PRIx64): Likewise.
10408 [C99-based-standards] (PRIX64): Likewise.
10409 [C99-based-standards] (SCNd64): Likewise.
10410 [C99-based-standards] (SCNi64): Likewise.
10411 [C99-based-standards] (SCNo64): Likewise.
10412 [C99-based-standards] (SCNu64): Likewise.
10413 [C99-based-standards] (SCNx64): Likewise.
10414 [C99-based-standards] (PRIdLEAST64): Likewise.
10415 [C99-based-standards] (PRIiLEAST64): Likewise.
10416 [C99-based-standards] (PRIoLEAST64): Likewise.
10417 [C99-based-standards] (PRIuLEAST64): Likewise.
10418 [C99-based-standards] (PRIxLEAST64): Likewise.
10419 [C99-based-standards] (PRIXLEAST64): Likewise.
10420 [C99-based-standards] (SCNdLEAST64): Likewise.
10421 [C99-based-standards] (SCNiLEAST64): Likewise.
10422 [C99-based-standards] (SCNoLEAST64): Likewise.
10423 [C99-based-standards] (SCNuLEAST64): Likewise.
10424 [C99-based-standards] (SCNxLEAST64): Likewise.
10425 [C99-based-standards] (PRIdFAST64): Likewise.
10426 [C99-based-standards] (PRIiFAST64): Likewise.
10427 [C99-based-standards] (PRIoFAST64): Likewise.
10428 [C99-based-standards] (PRIuFAST64): Likewise.
10429 [C99-based-standards] (PRIxFAST64): Likewise.
10430 [C99-based-standards] (PRIXFAST64): Likewise.
10431 [C99-based-standards] (SCNdFAST64): Likewise.
10432 [C99-based-standards] (SCNiFAST64): Likewise.
10433 [C99-based-standards] (SCNoFAST64): Likewise.
10434 [C99-based-standards] (SCNuFAST64): Likewise.
10435 [C99-based-standards] (SCNxFAST64): Likewise.
10436 [C99-based-standards] (PRIdMAX): Likewise.
10437 [C99-based-standards] (PRIiMAX): Likewise.
10438 [C99-based-standards] (PRIoMAX): Likewise.
10439 [C99-based-standards] (PRIuMAX): Likewise.
10440 [C99-based-standards] (PRIxMAX): Likewise.
10441 [C99-based-standards] (PRIXMAX): Likewise.
10442 [C99-based-standards] (SCNdMAX): Likewise.
10443 [C99-based-standards] (SCNiMAX): Likewise.
10444 [C99-based-standards] (SCNoMAX): Likewise.
10445 [C99-based-standards] (SCNuMAX): Likewise.
10446 [C99-based-standards] (SCNxMAX): Likewise.
10447 [C99-based-standards] (PRIdPTR): Likewise.
10448 [C99-based-standards] (PRIiPTR): Likewise.
10449 [C99-based-standards] (PRIoPTR): Likewise.
10450 [C99-based-standards] (PRIuPTR): Likewise.
10451 [C99-based-standards] (PRIxPTR): Likewise.
10452 [C99-based-standards] (PRIXPTR): Likewise.
10453 [C99-based-standards] (SCNdPTR): Likewise.
10454 [C99-based-standards] (SCNiPTR): Likewise.
10455 [C99-based-standards] (SCNoPTR): Likewise.
10456 [C99-based-standards] (SCNuPTR): Likewise.
10457 [C99-based-standards] (SCNxPTR): Likewise.
10458 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10459 allow.
10460 * conform/data/stdint.h-data: Update comments to clarify
10461 requirements.
10462 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10463 type.
10464 [C99-based standards] (INT8_MAX): Likewise.
10465 [C99-based standards] (INT16_MIN): Likewise.
10466 [C99-based standards] (INT16_MAX): Likewise.
10467 [C99-based standards] (INT32_MIN): Likewise.
10468 [C99-based standards] (INT32_MAX): Likewise.
10469 [C99-based standards] (INT64_MIN): Likewise.
10470 [C99-based standards] (INT64_MAX): Likewise.
10471 [C99-based standards] (UINT8_MAX): Likewise.
10472 [C99-based standards] (UINT16_MAX): Likewise.
10473 [C99-based standards] (UINT32_MAX): Likewise.
10474 [C99-based standards] (UINT64_MAX): Likewise.
10475 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10476 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10477 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10478 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10479 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10480 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10481 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10482 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10483 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10484 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10485 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10486 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10487 [C99-based standards] (INT_FAST8_MIN): Likewise.
10488 [C99-based standards] (INT_FAST8_MAX): Likewise.
10489 [C99-based standards] (INT_FAST16_MIN): Likewise.
10490 [C99-based standards] (INT_FAST16_MAX): Likewise.
10491 [C99-based standards] (INT_FAST32_MIN): Likewise.
10492 [C99-based standards] (INT_FAST32_MAX): Likewise.
10493 [C99-based standards] (INT_FAST64_MIN): Likewise.
10494 [C99-based standards] (INT_FAST64_MAX): Likewise.
10495 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10496 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10497 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10498 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10499 [C99-based standards] (INTPTR_MIN): Likewise.
10500 [C99-based standards] (INTPTR_MAX): Likewise.
10501 [C99-based standards] (UINTPTR_MAX): Likewise.
10502 [C99-based standards] (INTMAX_MIN): Likewise.
10503 [C99-based standards] (INTMAX_MAX): Likewise.
10504 [C99-based standards] (UINTMAX_MAX): Likewise.
10505 [C99-based standards] (PTRDIFF_MIN): Likewise.
10506 [C99-based standards] (PTRDIFF_MAX): Likewise.
10507 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10508 [C99-based standards] (SIZE_MAX): Likewise.
10509 [C99-based standards] (WCHAR_MAX): Likewise.
10510 [C99-based standards] (WINT_MAX): Likewise.
10511 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10512 constraint on value.
10513 [C99-based standards] (WCHAR_MIN): Likewise.
10514 [C99-based standards] (WINT_MIN): Likewise.
10515 [C99-based standards] (*_t): Allow.
10516 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10517 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10518 Include math.h-data and complex.h-data. Remove all expectations
10519 of math.h and complex.h contents.
10520 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10521 at end of line.
10522 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10523 (struct tm): Expect tag.
10524 [C99-based-standards] (wcstof): Expect function.
10525 [C99-based-standards] (wcstold): Likewise.
10526 [C99-based-standards] (wcstoll): Likewise.
10527 [C99-based-standards] (wcstoull): Likewise.
10528 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10529 macro-int-constant. Specify type.
10530 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10531 constraint on value.
10532 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10533 Specify type.
10534 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10535 Specify value.
10536 [ISO C standards]: Do not allow headers.
10537 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10538 wcs[abcdefghijklmnopqrstuvwxyz]*.
10539 [ISO C standards] (*_t): Do not allow.
10540 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10541 Expect function.
10542 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10543 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10544 Specify type.
10545 [ISO C standards]: Do not allow headers.
10546 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10547 is[abcdefghijklmnopqrstuvwxyz]*.
10548 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10549 to[abcdefghijklmnopqrstuvwxyz]*.
10550 [ISO C standards] (*_t): Do not allow.
10551 * conform/data/stdalign.h-data: New file.
10552 * conform/data/stdbool.h-data: Likewise.
10553 * conform/data/stdnoreturn.h-data: Likewise.
10554
7514feb8
RM
105552012-11-07 Roland McGrath <roland@hack.frob.com>
10556
10557 [BZ #14815]
10558 * manual/filesys.texi (Directory Entries): Typo fix.
10559 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10560
19b2ecfc
MS
105612012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10562
10563 * elf/elf.h (EM_AARCH64): New macro.
10564 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10565 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10566 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10567 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10568 (R_AARCH64_TLSDESC): Likewise.
10569 (NT_ARM_TLS): Likewise.
10570 (NT_ARM_HW_BREAK): Likewise.
10571 (NT_ARM_HW_WATCH): Likewise.
10572
60e235ee
JM
105732012-11-07 Joseph Myers <joseph@codesourcery.com>
10574
10575 [BZ #14811]
10576 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10577 (__ieee754_powl): Saturate nonzero exponents with absolute value
10578 below 0x1p-79 to +/- 0x1p-79.
10579 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10580 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10581 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10582 nonzero exponents with absolute value below 0x1p-32 to +/-
10583 0x1p-32.
10584 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10585 (__ieee754_powl): Saturate nonzero exponents with absolute value
10586 below 0x1p-79 to +/- 0x1p-79.
10587 * math/libm-test.inc (pow_test): Add more tests.
10588
0ab234b7
AK
105892012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10590
10591 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10592 _dl_s390_cap_flags with kernel. Increase string length.
10593 (_dl_s390_platforms): Add z196 and zEC12.
10594
45832f74
JM
105952012-11-07 Joseph Myers <joseph@codesourcery.com>
10596
10597 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10598 Change XOPEN21K to XOPEN2K.
10599
19218757
MK
106002012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10601
10602 * string/memmove.c: Use memcpy when possible.
10603
c5f45721
AJ
106042012-11-06 Andreas Jaeger <aj@suse.de>
10605
10606 * po/eo.po: Update from translation team.
10607
82477c28
JM
106082012-11-06 Joseph Myers <joseph@codesourcery.com>
10609
10610 [BZ #14793]
10611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10612 exponent and small x and y exponents, scale x or y up. Increase
10613 by 2 the exponent used in scaling up.
10614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10615 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10616 * math/libm-test.inc (fma_test): Add more tests.
10617 (fma_test_towardzero): Likewise.
10618 (fma_test_downward): Likewise.
10619 (fma_test_upward): Likewise.
10620
99252c8c
JM
106212012-11-05 Joseph Myers <joseph@codesourcery.com>
10622
acfa885f
JM
10623 [BZ #14805]
10624 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10625 fenv_t *.
10626
99252c8c
JM
10627 [BZ #14801]
10628 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10629 namespace for names of struct fields.
10630 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10631 fenv_t fields.
10632 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10633 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10634
d6d98dea
ST
106352012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10636
10637 [BZ #3665]
10638 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10639
e10bb107
TS
106402012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10641
10642 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10643 PTR_DEMANGLE.
10644
10645 [BZ #5246]
10646 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10647 PTR_DEMANGLE.
10648
a0c2940d
JM
106492012-11-04 Joseph Myers <joseph@codesourcery.com>
10650
10651 [BZ #14797]
10652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10653 definitely overflow as x * y not x * y + z.
10654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10656 * math/libm-test.inc (fma_test): Add more tests.
10657 (fma_test_towardzero): Likewise.
10658 (fma_test_downward): Likewise.
10659 (fma_test_upward): Likewise.
10660
b830319d
TS
106612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10662
10663 [BZ #157]
10664
10665 * include/stub-tag.h: Remove file.
10666 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10667 '#include' of it.
10668 * manual/maint.texi (Porting): Don't reference it.
10669 * Makerules ($(objpfx)stubs): Likewise.
10670 * dirent/closedir.c: Don't include <stub-tag.h>.
10671 * dirent/dirfd.c: Likewise.
10672 * dirent/fdopendir.c: Likewise.
10673 * dirent/getdents.c: Likewise.
10674 * dirent/getdents64.c: Likewise.
10675 * dirent/opendir.c: Likewise.
10676 * dirent/readdir.c: Likewise.
10677 * dirent/readdir64.c: Likewise.
10678 * dirent/readdir64_r.c: Likewise.
10679 * dirent/readdir_r.c: Likewise.
10680 * dirent/rewinddir.c: Likewise.
10681 * dirent/seekdir.c: Likewise.
10682 * dirent/telldir.c: Likewise.
10683 * gmon/profil.c: Likewise.
10684 * grp/setgroups.c: Likewise.
10685 * inet/if_index.c: Likewise.
10686 * io/access.c: Likewise.
10687 * io/chdir.c: Likewise.
10688 * io/chmod.c: Likewise.
10689 * io/chown.c: Likewise.
10690 * io/close.c: Likewise.
10691 * io/dup.c: Likewise.
10692 * io/dup2.c: Likewise.
10693 * io/dup3.c: Likewise.
10694 * io/euidaccess.c: Likewise.
10695 * io/faccessat.c: Likewise.
10696 * io/fchdir.c: Likewise.
10697 * io/fchmod.c: Likewise.
10698 * io/fchmodat.c: Likewise.
10699 * io/fchown.c: Likewise.
10700 * io/fchownat.c: Likewise.
10701 * io/fcntl.c: Likewise.
10702 * io/flock.c: Likewise.
10703 * io/fstatfs.c: Likewise.
10704 * io/fstatfs64.c: Likewise.
10705 * io/fstatvfs.c: Likewise.
10706 * io/fstatvfs64.c: Likewise.
10707 * io/futimens.c: Likewise.
10708 * io/fxstat.c: Likewise.
10709 * io/fxstat64.c: Likewise.
10710 * io/fxstatat.c: Likewise.
10711 * io/fxstatat64.c: Likewise.
10712 * io/getcwd.c: Likewise.
10713 * io/isatty.c: Likewise.
10714 * io/lchmod.c: Likewise.
10715 * io/lchown.c: Likewise.
10716 * io/link.c: Likewise.
10717 * io/linkat.c: Likewise.
10718 * io/lseek.c: Likewise.
10719 * io/lseek64.c: Likewise.
10720 * io/lxstat64.c: Likewise.
10721 * io/mkdir.c: Likewise.
10722 * io/mkdirat.c: Likewise.
10723 * io/mkfifo.c: Likewise.
10724 * io/mkfifoat.c: Likewise.
10725 * io/open.c: Likewise.
10726 * io/open64.c: Likewise.
10727 * io/openat.c: Likewise.
10728 * io/openat64.c: Likewise.
10729 * io/pipe.c: Likewise.
10730 * io/pipe2.c: Likewise.
10731 * io/poll.c: Likewise.
10732 * io/posix_fadvise.c: Likewise.
10733 * io/posix_fadvise64.c: Likewise.
10734 * io/posix_fallocate.c: Likewise.
10735 * io/posix_fallocate64.c: Likewise.
10736 * io/read.c: Likewise.
10737 * io/readlink.c: Likewise.
10738 * io/readlinkat.c: Likewise.
10739 * io/rmdir.c: Likewise.
10740 * io/sendfile.c: Likewise.
10741 * io/sendfile64.c: Likewise.
10742 * io/statfs.c: Likewise.
10743 * io/statfs64.c: Likewise.
10744 * io/statvfs.c: Likewise.
10745 * io/statvfs64.c: Likewise.
10746 * io/symlink.c: Likewise.
10747 * io/symlinkat.c: Likewise.
10748 * io/ttyname.c: Likewise.
10749 * io/ttyname_r.c: Likewise.
10750 * io/umask.c: Likewise.
10751 * io/unlink.c: Likewise.
10752 * io/unlinkat.c: Likewise.
10753 * io/utime.c: Likewise.
10754 * io/utimensat.c: Likewise.
10755 * io/write.c: Likewise.
10756 * io/xmknod.c: Likewise.
10757 * io/xmknodat.c: Likewise.
10758 * io/xstat.c: Likewise.
10759 * io/xstat64.c: Likewise.
10760 * login/getpt.c: Likewise.
10761 * login/grantpt.c: Likewise.
10762 * login/unlockpt.c: Likewise.
10763 * math/e_acoshl.c: Likewise.
10764 * math/e_acosl.c: Likewise.
10765 * math/e_asinl.c: Likewise.
10766 * math/e_atan2l.c: Likewise.
10767 * math/e_atanhl.c: Likewise.
10768 * math/e_coshl.c: Likewise.
10769 * math/e_expl.c: Likewise.
10770 * math/e_fmodl.c: Likewise.
10771 * math/e_gammal_r.c: Likewise.
10772 * math/e_hypotl.c: Likewise.
10773 * math/e_j0l.c: Likewise.
10774 * math/e_j1l.c: Likewise.
10775 * math/e_jnl.c: Likewise.
10776 * math/e_lgammal_r.c: Likewise.
10777 * math/e_log10l.c: Likewise.
10778 * math/e_log2l.c: Likewise.
10779 * math/e_logl.c: Likewise.
10780 * math/e_powl.c: Likewise.
10781 * math/e_rem_pio2l.c: Likewise.
10782 * math/e_sinhl.c: Likewise.
10783 * math/e_sqrtl.c: Likewise.
10784 * math/fclrexcpt.c: Likewise.
10785 * math/fedisblxcpt.c: Likewise.
10786 * math/feenablxcpt.c: Likewise.
10787 * math/fegetenv.c: Likewise.
10788 * math/fegetexcept.c: Likewise.
10789 * math/fegetround.c: Likewise.
10790 * math/feholdexcpt.c: Likewise.
10791 * math/fesetenv.c: Likewise.
10792 * math/fesetround.c: Likewise.
10793 * math/feupdateenv.c: Likewise.
10794 * math/fgetexcptflg.c: Likewise.
10795 * math/fraiseexcpt.c: Likewise.
10796 * math/fsetexcptflg.c: Likewise.
10797 * math/ftestexcept.c: Likewise.
10798 * math/k_cosl.c: Likewise.
10799 * math/k_rem_pio2l.c: Likewise.
10800 * math/k_sinl.c: Likewise.
10801 * math/k_tanl.c: Likewise.
10802 * math/s_asinhl.c: Likewise.
10803 * math/s_atanl.c: Likewise.
10804 * math/s_cbrtl.c: Likewise.
10805 * math/s_erfl.c: Likewise.
10806 * math/s_expm1l.c: Likewise.
10807 * math/s_log1pl.c: Likewise.
10808 * math/s_tanhl.c: Likewise.
10809 * misc/acct.c: Likewise.
10810 * misc/brk.c: Likewise.
10811 * misc/chflags.c: Likewise.
10812 * misc/chroot.c: Likewise.
10813 * misc/fchflags.c: Likewise.
10814 * misc/fgetxattr.c: Likewise.
10815 * misc/flistxattr.c: Likewise.
10816 * misc/fremovexattr.c: Likewise.
10817 * misc/fsetxattr.c: Likewise.
10818 * misc/fsync.c: Likewise.
10819 * misc/ftruncate.c: Likewise.
10820 * misc/futimes.c: Likewise.
10821 * misc/futimesat.c: Likewise.
10822 * misc/getdomain.c: Likewise.
10823 * misc/getdtsz.c: Likewise.
10824 * misc/gethostid.c: Likewise.
10825 * misc/gethostname.c: Likewise.
10826 * misc/getloadavg.c: Likewise.
10827 * misc/getpagesize.c: Likewise.
10828 * misc/getsysstats.c: Likewise.
10829 * misc/getxattr.c: Likewise.
10830 * misc/gtty.c: Likewise.
10831 * misc/ioctl.c: Likewise.
10832 * misc/lgetxattr.c: Likewise.
10833 * misc/listxattr.c: Likewise.
10834 * misc/llistxattr.c: Likewise.
10835 * misc/lremovexattr.c: Likewise.
10836 * misc/lsetxattr.c: Likewise.
10837 * misc/lutimes.c: Likewise.
10838 * misc/madvise.c: Likewise.
10839 * misc/mincore.c: Likewise.
10840 * misc/mlock.c: Likewise.
10841 * misc/mlockall.c: Likewise.
10842 * misc/mmap.c: Likewise.
10843 * misc/mprotect.c: Likewise.
10844 * misc/msync.c: Likewise.
10845 * misc/munlock.c: Likewise.
10846 * misc/munlockall.c: Likewise.
10847 * misc/munmap.c: Likewise.
10848 * misc/preadv.c: Likewise.
10849 * misc/preadv64.c: Likewise.
10850 * misc/ptrace.c: Likewise.
10851 * misc/pwritev.c: Likewise.
10852 * misc/pwritev64.c: Likewise.
10853 * misc/readv.c: Likewise.
10854 * misc/reboot.c: Likewise.
10855 * misc/remap_file_pages.c: Likewise.
10856 * misc/removexattr.c: Likewise.
10857 * misc/revoke.c: Likewise.
10858 * misc/select.c: Likewise.
10859 * misc/setdomain.c: Likewise.
10860 * misc/setegid.c: Likewise.
10861 * misc/seteuid.c: Likewise.
10862 * misc/sethostid.c: Likewise.
10863 * misc/sethostname.c: Likewise.
10864 * misc/setregid.c: Likewise.
10865 * misc/setreuid.c: Likewise.
10866 * misc/setxattr.c: Likewise.
10867 * misc/sstk.c: Likewise.
10868 * misc/stty.c: Likewise.
10869 * misc/swapoff.c: Likewise.
10870 * misc/swapon.c: Likewise.
10871 * misc/sync.c: Likewise.
10872 * misc/syncfs.c: Likewise.
10873 * misc/syscall.c: Likewise.
10874 * misc/truncate.c: Likewise.
10875 * misc/ualarm.c: Likewise.
10876 * misc/usleep.c: Likewise.
10877 * misc/ustat.c: Likewise.
10878 * misc/utimes.c: Likewise.
10879 * misc/vhangup.c: Likewise.
10880 * misc/writev.c: Likewise.
10881 * posix/_exit.c: Likewise.
10882 * posix/alarm.c: Likewise.
10883 * posix/execve.c: Likewise.
10884 * posix/fexecve.c: Likewise.
10885 * posix/fork.c: Likewise.
10886 * posix/fpathconf.c: Likewise.
10887 * posix/getaddrinfo.c: Likewise.
10888 * posix/getegid.c: Likewise.
10889 * posix/geteuid.c: Likewise.
10890 * posix/getgid.c: Likewise.
10891 * posix/getgroups.c: Likewise.
10892 * posix/getlogin.c: Likewise.
10893 * posix/getlogin_r.c: Likewise.
10894 * posix/getpgid.c: Likewise.
10895 * posix/getpid.c: Likewise.
10896 * posix/getppid.c: Likewise.
10897 * posix/getresgid.c: Likewise.
10898 * posix/getresuid.c: Likewise.
10899 * posix/getsid.c: Likewise.
10900 * posix/getuid.c: Likewise.
10901 * posix/glob64.c: Likewise.
10902 * posix/nanosleep.c: Likewise.
10903 * posix/pathconf.c: Likewise.
10904 * posix/pause.c: Likewise.
10905 * posix/posix_madvise.c: Likewise.
10906 * posix/pread.c: Likewise.
10907 * posix/pread64.c: Likewise.
10908 * posix/pwrite.c: Likewise.
10909 * posix/pwrite64.c: Likewise.
10910 * posix/sched_getaffinity.c: Likewise.
10911 * posix/sched_getp.c: Likewise.
10912 * posix/sched_gets.c: Likewise.
10913 * posix/sched_primax.c: Likewise.
10914 * posix/sched_primin.c: Likewise.
10915 * posix/sched_rr_gi.c: Likewise.
10916 * posix/sched_setaffinity.c: Likewise.
10917 * posix/sched_setp.c: Likewise.
10918 * posix/sched_sets.c: Likewise.
10919 * posix/sched_yield.c: Likewise.
10920 * posix/setgid.c: Likewise.
10921 * posix/setlogin.c: Likewise.
10922 * posix/setpgid.c: Likewise.
10923 * posix/setresgid.c: Likewise.
10924 * posix/setresuid.c: Likewise.
10925 * posix/setsid.c: Likewise.
10926 * posix/setuid.c: Likewise.
10927 * posix/sleep.c: Likewise.
10928 * posix/spawni.c: Likewise.
10929 * posix/sysconf.c: Likewise.
10930 * posix/times.c: Likewise.
10931 * posix/wait.c: Likewise.
10932 * posix/wait3.c: Likewise.
10933 * posix/wait4.c: Likewise.
10934 * posix/waitpid.c: Likewise.
10935 * resolv/gai_sigqueue.c: Likewise.
10936 * resource/getpriority.c: Likewise.
10937 * resource/getrlimit.c: Likewise.
10938 * resource/getrusage.c: Likewise.
10939 * resource/nice.c: Likewise.
10940 * resource/setpriority.c: Likewise.
10941 * resource/setrlimit.c: Likewise.
10942 * resource/ulimit.c: Likewise.
10943 * rt/aio_cancel.c: Likewise.
10944 * rt/aio_fsync.c: Likewise.
10945 * rt/aio_read.c: Likewise.
10946 * rt/aio_sigqueue.c: Likewise.
10947 * rt/aio_suspend.c: Likewise.
10948 * rt/aio_write.c: Likewise.
10949 * rt/clock_getres.c: Likewise.
10950 * rt/clock_gettime.c: Likewise.
10951 * rt/clock_nanosleep.c: Likewise.
10952 * rt/clock_settime.c: Likewise.
10953 * rt/lio_listio.c: Likewise.
10954 * rt/mq_close.c: Likewise.
10955 * rt/mq_getattr.c: Likewise.
10956 * rt/mq_notify.c: Likewise.
10957 * rt/mq_open.c: Likewise.
10958 * rt/mq_receive.c: Likewise.
10959 * rt/mq_send.c: Likewise.
10960 * rt/mq_setattr.c: Likewise.
10961 * rt/mq_timedreceive.c: Likewise.
10962 * rt/mq_timedsend.c: Likewise.
10963 * rt/mq_unlink.c: Likewise.
10964 * rt/shm_open.c: Likewise.
10965 * rt/shm_unlink.c: Likewise.
10966 * rt/timer_create.c: Likewise.
10967 * rt/timer_delete.c: Likewise.
10968 * rt/timer_getoverr.c: Likewise.
10969 * rt/timer_gettime.c: Likewise.
10970 * rt/timer_settime.c: Likewise.
10971 * setjmp/__longjmp.c: Likewise.
10972 * setjmp/setjmp.c: Likewise.
10973 * signal/kill.c: Likewise.
10974 * signal/killpg.c: Likewise.
10975 * signal/raise.c: Likewise.
10976 * signal/sigaction.c: Likewise.
10977 * signal/sigaltstack.c: Likewise.
10978 * signal/sigblock.c: Likewise.
10979 * signal/sigignore.c: Likewise.
10980 * signal/sigintr.c: Likewise.
10981 * signal/signal.c: Likewise.
10982 * signal/sigpause.c: Likewise.
10983 * signal/sigpending.c: Likewise.
10984 * signal/sigqueue.c: Likewise.
10985 * signal/sigreturn.c: Likewise.
10986 * signal/sigset.c: Likewise.
10987 * signal/sigsetmask.c: Likewise.
10988 * signal/sigstack.c: Likewise.
10989 * signal/sigsuspend.c: Likewise.
10990 * signal/sigtimedwait.c: Likewise.
10991 * signal/sigvec.c: Likewise.
10992 * signal/sigwait.c: Likewise.
10993 * signal/sigwaitinfo.c: Likewise.
10994 * signal/sysv_signal.c: Likewise.
10995 * socket/accept.c: Likewise.
10996 * socket/accept4.c: Likewise.
10997 * socket/bind.c: Likewise.
10998 * socket/connect.c: Likewise.
10999 * socket/getpeername.c: Likewise.
11000 * socket/getsockname.c: Likewise.
11001 * socket/getsockopt.c: Likewise.
11002 * socket/isfdtype.c: Likewise.
11003 * socket/listen.c: Likewise.
11004 * socket/recv.c: Likewise.
11005 * socket/recvfrom.c: Likewise.
11006 * socket/recvmsg.c: Likewise.
11007 * socket/send.c: Likewise.
11008 * socket/sendmsg.c: Likewise.
11009 * socket/sendto.c: Likewise.
11010 * socket/setsockopt.c: Likewise.
11011 * socket/shutdown.c: Likewise.
11012 * socket/sockatmark.c: Likewise.
11013 * socket/socket.c: Likewise.
11014 * socket/socketpair.c: Likewise.
11015 * stdio-common/ctermid.c: Likewise.
11016 * stdio-common/cuserid.c: Likewise.
11017 * stdio-common/remove.c: Likewise.
11018 * stdio-common/rename.c: Likewise.
11019 * stdio-common/renameat.c: Likewise.
11020 * stdio-common/tempname.c: Likewise.
11021 * stdlib/getcontext.c: Likewise.
11022 * stdlib/makecontext.c: Likewise.
11023 * stdlib/setcontext.c: Likewise.
11024 * stdlib/swapcontext.c: Likewise.
11025 * stdlib/system.c: Likewise.
11026 * streams/fattach.c: Likewise.
11027 * streams/fdetach.c: Likewise.
11028 * streams/getmsg.c: Likewise.
11029 * streams/getpmsg.c: Likewise.
11030 * streams/putmsg.c: Likewise.
11031 * streams/putpmsg.c: Likewise.
11032 * sysdeps/unix/bsd/getpt.c: Likewise.
11033 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11034 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11035 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11037 Likewise.
11038 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11039 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11040 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11041 * sysvipc/msgctl.c: Likewise.
11042 * sysvipc/msgget.c: Likewise.
11043 * sysvipc/msgrcv.c: Likewise.
11044 * sysvipc/msgsnd.c: Likewise.
11045 * sysvipc/semctl.c: Likewise.
11046 * sysvipc/semget.c: Likewise.
11047 * sysvipc/semop.c: Likewise.
11048 * sysvipc/semtimedop.c: Likewise.
11049 * sysvipc/shmat.c: Likewise.
11050 * sysvipc/shmctl.c: Likewise.
11051 * sysvipc/shmdt.c: Likewise.
11052 * sysvipc/shmget.c: Likewise.
11053 * termios/tcdrain.c: Likewise.
11054 * termios/tcflow.c: Likewise.
11055 * termios/tcflush.c: Likewise.
11056 * termios/tcgetattr.c: Likewise.
11057 * termios/tcgetpgrp.c: Likewise.
11058 * termios/tcsendbrk.c: Likewise.
11059 * termios/tcsetattr.c: Likewise.
11060 * termios/tcsetpgrp.c: Likewise.
11061 * time/adjtime.c: Likewise.
11062 * time/clock.c: Likewise.
11063 * time/getitimer.c: Likewise.
11064 * time/gettimeofday.c: Likewise.
11065 * time/setitimer.c: Likewise.
11066 * time/settimeofday.c: Likewise.
11067 * time/stime.c: Likewise.
11068 * time/time.c: Likewise.
11069
110702012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11071
a20492cf
PT
11072 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11073 /usr/old/bin.
11074
72e182e3
PT
11075 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11076 instead of spaces.
11077 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11078
fbeafede
JM
110792012-11-03 Joseph Myers <joseph@codesourcery.com>
11080
5b5b04d6
JM
11081 [BZ #14796]
11082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11083 FE_TONEAREST before applying Dekker multiplication and Knuth
11084 addition. Clear inexact exceptions and check for exact zero
11085 results afterwards.
11086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11088 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11089 * math/libm-test.inc (fma_test): Add more tests.
11090 (fma_test_towardzero): Likewise.
11091 (fma_test_downward): Likewise.
11092 (fma_test_upward): Likewise.
11093 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11094 function.
11095 (libc_fesetround): New macro.
11096 (libc_fesetroundf): Likewise.
11097 (libc_fesetroundl): Likewise.
11098 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11099 function.
11100 (libc_fesetround_387): Likewise.
11101 (libc_fesetroundf): New macro.
11102 (libc_fesetround): Likewise.
11103 (libc_fesetroundl): Likewise.
11104 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11105 function.
11106 (libc_fesetroundf): New macro.
11107 (libc_fesetround): Likewise.
11108 (libc_fesetroundl): Likewise.
11109 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11110 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11111 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11112 libm_hidden_ver.
11113 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11114 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11115 libm_hidden_def.
11116 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11117 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11118 libm_hidden_ver.
11119 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11120 libm_hidden_def.
11121
fbeafede
JM
11122 [BZ #3439]
11123 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11124 integer constant usable in #if and use that to give value to enum
11125 constant.
11126 (FE_DIVBYZERO): Likewise.
11127 (FE_UNDERFLOW): Likewise.
11128 (FE_OVERFLOW): Likewise.
11129 (FE_INVALID): Likewise.
11130 (FE_INVALID_SNAN): Likewise.
11131 (FE_INVALID_ISI): Likewise.
11132 (FE_INVALID_IDI): Likewise.
11133 (FE_INVALID_ZDZ): Likewise.
11134 (FE_INVALID_IMZ): Likewise.
11135 (FE_INVALID_COMPARE): Likewise.
11136 (FE_INVALID_SOFTWARE): Likewise.
11137 (FE_INVALID_SQRT): Likewise.
11138 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11139 (FE_TONEAREST): Likewise.
11140 (FE_TOWARDZERO): Likewise.
11141 (FE_UPWARD): Likewise.
11142 (FE_DOWNWARD): Likewise.
11143 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11144 (FE_DIVBYZERO): Likewise.
11145 (FE_OVERFLOW): Likewise.
11146 (FE_UNDERFLOW): Likewise.
11147 (FE_INEXACT): Likewise.
11148 (FE_TONEAREST): Likewise.
11149 (FE_DOWNWARD): Likewise.
11150 (FE_UPWARD): Likewise.
11151 (FE_TOWARDZERO): Likewise.
11152 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11153 (FE_UNDERFLOW): Likewise.
11154 (FE_OVERFLOW): Likewise.
11155 (FE_DIVBYZERO): Likewise.
11156 (FE_INVALID): Likewise.
11157 (FE_TONEAREST): Likewise.
11158 (FE_TOWARDZERO): Likewise.
11159 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11160 (FE_OVERFLOW): Likewise.
11161 (FE_UNDERFLOW): Likewise.
11162 (FE_DIVBYZERO): Likewise.
11163 (FE_INEXACT): Likewise.
11164 (FE_TONEAREST): Likewise.
11165 (FE_TOWARDZERO): Likewise.
11166 (FE_UPWARD): Likewise.
11167 (FE_DOWNWARD): Likewise.
11168 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11169 (FE_DIVBYZERO): Likewise.
11170 (FE_OVERFLOW): Likewise.
11171 (FE_UNDERFLOW): Likewise.
11172 (FE_INEXACT): Likewise.
11173 (FE_TONEAREST): Likewise.
11174 (FE_DOWNWARD): Likewise.
11175 (FE_UPWARD): Likewise.
11176 (FE_TOWARDZERO): Likewise.
11177
105ca950
CM
111782012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11179
11180 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11181
a542b389
AS
111822012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11183
11184 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11185 commands. Quote $PWD.
11186 (blacklist_exports): Don't use remove_newlines. Replace "declare
11187 -x" by "export".
11188 (remove_newlines): Remove.
11189
f62c8abc
L
111902012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11191
11192 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11193 * stdlib/stdlib.h (atof): Moved to ...
11194 * include/bits/stdlib-float.h: Here. New file.
11195 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11196 * stdlib/bits/stdlib-float.h: New file.
11197 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11198 -mno-sse -mno-mmx.
11199 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11200 <xmmintrin.h>.
11201
0155d5b2
JM
112022012-11-02 Joseph Myers <joseph@codesourcery.com>
11203
a68d0680
JM
11204 * conform/conformtest.pl (@headers): Add fenv.h.
11205 * conform/data/fenv.h-data: New file.
11206 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11207 include of <math/fenv.h>.
11208
caf7f573
JM
11209 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11210 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11211 && !UNIX98]. Enables tests for XOPEN2K8.
11212 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11213 POSIX2008]: Likewise.
11214
6c073ad6
JM
11215 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11216 (struct rusage): Do not expect type or its members.
11217
0155d5b2
JM
11218 [BZ #3439]
11219 * math/math.h (FP_NAN): Define macro to integer constant usable in
11220 #if and use that to give value to enum constant.
11221 (FP_INFINITE): Likewise.
11222 (FP_ZERO): Likewise.
11223 (FP_SUBNORMAL): Likewise.
11224 (FP_NORMAL): Likewise.
11225
b5dcacb4
AS
112262012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11227
11228 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11229 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11230 arguments.
11231
f7934be8
RM
112322012-11-02 Roland McGrath <roland@hack.frob.com>
11233
11234 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11235 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11236 autoconf-time if not.
11237 * configure.in: Remove AC_PREREQ.
11238
d7d08bde
TMQMF
112392012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11240
11241 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11242 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11243 of the internal implementation.
11244
dcdae19a
JM
112452012-11-02 Joseph Myers <joseph@codesourcery.com>
11246
11247 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11248 except include of <misc/sys/syslog.h>.
11249
d6cffd3e
AS
112502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11251
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11253 function returns with a NULL context exit with zero.
11254
b3563932
TMQMF
112552012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11256
11257 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11258
b288a93d
L
112592012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11260
11261 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11262 (run_program_cmd): This.
11263 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11264 (tst_langinfo): New variable. Use it.
11265
a2421a68
SAS
112662012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11267
11268 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11269 floating point opcodes.
11270
6f796e1b
TS
112712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11272
7402596b
TS
11273 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11274 variable.
11275
d0d4f868
TS
11276 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11277
6f796e1b
TS
11278 * sysdeps/mach/hurd/powerpc: Remove directory.
11279 * sysdeps/mach/powerpc: Likewise.
11280
4da224a2
AS
112812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11282
11283 * scripts/check-local-headers.sh: Ignore c++ headers.
11284
341dd673
TS
112852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11286
11287 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11288 __libc_cleanup_region_start argument.
11289
473611b2
JM
112902012-11-01 Joseph Myers <joseph@codesourcery.com>
11291
11292 [BZ #14784]
11293 [BZ #14785]
11294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11295 x * y using scaling, not as x * y + z.
11296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11297 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11298 * math/libm-test.inc (fma_test): Add more tests.
11299 (fma_test_towardzero): Likewise.
11300 (fma_test_downward): Likewise.
11301 (fma_test_upward): Likewise.
11302
4078da3d
TS
113032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11304
11305 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11306
903252aa
JM
113072012-10-31 Joseph Myers <joseph@codesourcery.com>
11308
11309 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11310 New variable.
11311
cbc818d0
TS
113122012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11313
11314 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11315
5a03cb1e
AS
113162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11317
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11319 Fix sort order.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11321 Likewise.
11322
90aff2ff
TMQMF
113232012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11324
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11326 Fix the order of the list for glibc 2.17.
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11328 Likewise.
11329
1818fcb7
AS
113302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11331
11332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11333
ef82f4da
JM
113342012-10-31 Joseph Myers <joseph@codesourcery.com>
11335
16a0e2ec
JM
11336 [BZ #14610]
11337 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11338 for low part of x being zero before using __atanl (y).
11339 * math/libm-test.inc (atan2_test): Add another test.
11340
0eb69512
JM
11341 * manual/install.texi (Configuring and compiling): Document
11342 general use of test-wrapper and test-wrapper-env.
11343 * INSTALL: Regenerated.
11344
ef82f4da
JM
11345 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11346 (__fma): Do not extract and scale down low bits on after-rounding
11347 systems when result rounded to normal precision would have normal
11348 exponent.
11349 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11350 (__fmal): Do not extract and scale down low bits on after-rounding
11351 systems when result rounded to normal precision would have normal
11352 exponent.
11353 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11354 (__fmal): Do not extract and scale down low bits on after-rounding
11355 systems when result rounded to normal precision would have normal
11356 exponent.
11357 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11358 macro.
11359 (fma_test): Add more tests.
11360 (fma_test_towardzero): Likewise.
11361 (fma_test_downward): Likewise.
11362 (fma_test_upward): Likewise.
11363
954ef0d9
L
113642012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11365
11366 * sysdeps/i386/tininess.h: Renamed to ...
11367 * sysdeps/x86/tininess.h: This.
11368 * sysdeps/x86_64/tininess.h: Removed.
11369
df61ffb2
JM
113702012-10-30 Joseph Myers <joseph@codesourcery.com>
11371
11372 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11373 input. Use $(build-program-cmd).
11374 ($(objpfx)tst-array1-static.out): Likewise.
11375 ($(objpfx)tst-array2.out): Likewise.
11376 ($(objpfx)tst-array3.out): Likewise.
11377 ($(objpfx)tst-array4.out): Likewise.
11378 ($(objpfx)tst-array5.out): Likewise.
11379 ($(objpfx)tst-array5-static.out): Likewise.
11380
01767843
CM
113812012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11382
47cc1490
CM
11383 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11384 if defined.
11385
01767843
CM
11386 * nss/nsswitch.h (nss_interface_function): Provide new
11387 macro for use with NSS functions.
11388 * grp/initgroups.c: Use new macro.
11389 * nss/getXXbyYY.c: Likewise.
11390 * nss/getXXbyYY_r.c: Likewise.
11391 * nss/getXXent.c: Likewise.
11392 * nss/getXXent_r.c: Likewise.
11393 * sysdeps/posix/getaddrinfo.c: Likewise.
11394
8321aa97
AJ
113952012-10-30 Andreas Jaeger <aj@suse.de>
11396
11397 * po/ru.po: Update Russion translation from translation project.
11398
2a27fd6d
JM
113992012-10-30 Joseph Myers <joseph@codesourcery.com>
11400
8627a232
JM
11401 [BZ #14152]
11402 [BZ #14783]
11403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11404 result and shift together with sticky bit instead of replicating
11405 round-to-nearest rounding.
11406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11407 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11408 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11409 missing underflow exceptions.
11410 (fma_test_towardzero): Add more tests.
11411 (fma_test_downward): Likewise.
11412 (fma_test_upward): Likewise.
11413
2a27fd6d
JM
11414 [BZ #14047]
11415 * sysdeps/generic/tininess.h: New file.
11416 * sysdeps/i386/tininess.h: Likewise.
11417 * sysdeps/sh/tininess.h: Likewise.
11418 * sysdeps/x86_64/tininess.h: Likewise.
11419 * stdlib/tst-strtod-underflow.c: Likewise.
11420 * stdlib/tst-tininess.c: Likewise.
11421 * stdlib/strtod_l.c: Include <tininess.h>.
11422 (round_and_return): Do not set errno for exact underflow cases.
11423 Force an underflow exception when setting errno for underflow.
11424 Determine underflow based on rounding to normal precision if
11425 TININESS_AFTER_ROUNDING.
11426 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11427 ERANGE for exact underflow cases.
11428 * stdlib/Makefile (tests): Add tst-tininess and
11429 tst-strtod-underflow.
11430 ($(objpfx)tst-tininess): Use $(link-libm).
11431 ($(objpfx)tst-strtod-underflow): Likewise.
11432
e7170363
AJ
114332012-10-30 Andreas Jaeger <aj@suse.de>
11434
e5088dc6
AJ
11435 [BZ#14767]
11436 * elf/Makefile (tests): Remove conditional for have-initfini-array
11437 since this is now always required and the variable does not exist
11438 anymore.
11439 (tests-static): Likewise.
11440 (modules-names): Likewise.
11441
e7170363 11442 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11443
11444 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11445 merged with constructor/destructor.
11446 (init_array): Likewise.
11447 * elf/tst-array2dep.c (fini_array): Likewise.
11448 (init_array): Likewise.
11449
60457d8a
MF
114502012-10-29 Mike Frysinger <vapier@gentoo.org>
11451
11452 * manual/message.texi: Delete @cartouche tags.
11453
8bece752
PT
114542012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11455
94ce799f
PT
11456 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11457 EOPNOTSUPP.
11458 * sysdeps/mach/hurd/fsync.c: Likewise.
11459
8bece752
PT
11460 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11461 [_POSIX_REALTIME_SIGNALS]: Change condition to
11462 [_POSIX_REALTIME_SIGNALS > 0].
11463
86ebe6b1
AJ
114642012-10-27 Andreas Jaeger <aj@suse.de>
11465
11466 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11467 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11469 [__WORDSIZE != 64]: Likewise.
11470
54399c08
L
114712012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11472
11473 * iconvdata/tst-table.sh: Remove ${SHELL}.
11474 * iconvdata/tst-tables.sh: Likewise.
11475
e2211bed
DM
114762012-10-25 David S. Miller <davem@davemloft.net>
11477
11478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11479 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11480 of strtoull.
11481
f303f97c
DM
11482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11483 ifunc-impl-list.c
11484 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11485 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11486 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11487 file.
11488
1e9d84cd
RM
114892012-10-25 Roland McGrath <roland@hack.frob.com>
11490
11491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11492 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11493 __getdirentries.
11494
df381762
JM
114952012-10-25 Joseph Myers <joseph@codesourcery.com>
11496 Jim Blandy <jimb@codesourcery.com>
11497
11498 * scripts/cross-test-ssh.sh: New file.
11499 * manual/install.texi (Configuring and compiling): Document use of
11500 cross-test-ssh.sh.
11501 * INSTALL: Regenerated.
11502
bff64913
PT
115032012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11504
11505 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11506 EOPNOTSUPP.
11507
25fe8932
JM
115082012-10-25 Joseph Myers <joseph@codesourcery.com>
11509
11510 * Makeconfig (run-program-prefix): Fix comment.
11511
cc1290d0
JM
115122012-10-24 Joseph Myers <joseph@codesourcery.com>
11513 Jim Blandy <jimb@codesourcery.com>
11514
11515 * Makeconfig (test-wrapper): New variable,
11516 (test-wrapper-env): Likewise.
11517 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11518 (run-built-tests): Define to yes.
11519 (run-program-prefix): Use $(test-wrapper).
11520 (built-program-cmd): Likewise.
11521 * Rules (make-test-out): Use $(test-wrapper-env) and
11522 $(host-built-program-cmd).
11523 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11524 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11525 tst-pathopt.sh.
11526 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11527 $(test-wrapper-env) to tst-rtld-load-self.sh.
11528 ($(objpfx)order2.out): Use $(test-wrapper).
11529 ($(objpfx)tst-initorder.out): Likewise.
11530 ($(objpfx)tst-initorder2.out): Likewise.
11531 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11532 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11533 (test_wrapper_env): New variable. Use it to run ld.so.
11534 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11535 Use it to run ld.so.
11536 (test_wrapper_env): Likewise.
11537 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11538 $(test-wrapper) to run-iconv-test.sh.
11539 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11540 (ICONV): Use $test_wrapper.
11541 * posix/Makefile ($(objpfx)globtest.out): Pass
11542 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11543 globtest.sh, not $(run-program-prefix).
11544 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11545 (test_wrapper): Likewise.
11546 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11547 set together with run_via_rtld_prefix.
11548 (run_program_prefix): Define in terms of test_wrapper and
11549 run_via_rtld_prefix.
11550
6e6249d0
RM
115512012-10-24 Roland McGrath <roland@hack.frob.com>
11552
11553 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11554 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11555 Targets removed.
11556
11557 [BZ #14743]
11558 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11559 Declare __clock_getres, __clock_gettime, __clock_settime,
11560 __clock_nanosleep, and __clock_getcpuclockid.
11561 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11562 Remove librt_hidden_def (clock_gettime).
11563 * sysdeps/unix/clock_gettime.c: Likewise.
11564 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11565 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11566 * rt/clock_getres.c: Define __clock_getres as an alias.
11567 * sysdeps/posix/clock_getres.c: Likewise.
11568 * rt/clock_settime.c: Define __clock_settime as an alias.
11569 * sysdeps/unix/clock_settime.c: Likewise.
11570 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11571 * sysdeps/unix/clock_nanosleep.c: Likewise.
11572 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11573 * rt/clock-compat.c: New file.
11574 * rt/Makefile (librt-routines): Add clock-compat and move
11575 $(clock-routines) to ...
11576 (routines): ... here, new variable.
11577 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11578 Don't add get_clockfreq here.
11579 * rt/Versions (libc: GLIBC_2.17): New version set.
11580 Add clock_* symbols here.
11581 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11582 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11583 (GLIBC_2.17): Add clock_* symbols.
11584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11588 Likewise.
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11590 Likewise.
11591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11595 * NEWS: Mention the move.
11596
11597 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11598 Use __open, __read, __close rather than their public counterparts.
11599 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11600 (__get_clockfreq_via_cpuinfo): Likewise.
11601 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11602 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11603
11604 * config.h.in (HAVE_IFUNC): New #undef.
11605 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11606 was successful.
11607 * configure: Regenerated.
11608
0cae3f4b
MF
116092012-10-24 Mike Frysinger <vapier@gentoo.org>
11610
11611 * configure.in: Move READELF check to start of file.
11612 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11613 libc_cv_asm_gnu_indirect_function in the process.
11614 * configure: Regenerated.
11615
8175a253
MF
116162012-10-24 Mike Frysinger <vapier@gentoo.org>
11617
11618 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11619 send the output to /dev/null.
11620 (libc_cv_cc_with_libunwind): Likewise.
11621 (libc_cv_as_noexecstack): Likewise.
11622 * configure: Regenerate.
11623
0708a7d1
JM
116242012-10-24 Joseph Myers <joseph@codesourcery.com>
11625
10b40d85
JM
11626 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11627
0708a7d1
JM
11628 * posix/globtest.sh (TMPDIR): Do not set.
11629 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11630 (testout): Likewise.
11631
9fddec1a
AJ
116322012-10-24 Andreas Jaeger <aj@suse.de>
11633
3a8db22f
AJ
11634 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11635 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11636 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11637 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11638 posix_fadvise64, posix_fallocate64.
11639
9fddec1a
AJ
11640 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11641 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11642 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11643 Likewise.
11644 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11645 Likewise.
11646 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11647
11648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11649 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11650 <bits/fcntl-linux.h>.
11651 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11652
11653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11654 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11655 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11656 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11657 [__WORDSIZE != 64]: Likewise.
11658
ebfd1bbd
JM
116592012-10-23 Joseph Myers <joseph@codesourcery.com>
11660
03ac099f
JM
11661 * Makeconfig (run-built-tests): New variable.
11662 * Rules [$(cross-compiling) = yes]: Change condition to
11663 [$(run-built-tests) = no].
11664 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11665 to [$(run-built-tests) = yes].
11666 * elf/Makefile [$(cross-compiling) = no]: Likewise
11667 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11668 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11669 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11670 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11671 * io/Makefile [$(cross-compiling) = no]: Likewise.
11672 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11673 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11674 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11675 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11676 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11677 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11678 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11679 * string/Makefile [$(cross-compiling) = no]: Likewise.
11680
ebfd1bbd
JM
11681 * posix/Makefile ($(objpfx)globtest.out): Pass
11682 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11683 $(rtld-installed-name).
11684 * posix/globtest.sh (elf_objpfx): Remove variable.
11685 (rtld_installed_name): Likewise.
11686 (library_path): Likewise.
11687 (run_program_prefix): New variable. Use for running globtest
11688 binary.
11689
166bca24
JB
116902012-10-23 Jim Blandy <jimb@codesourcery.com>
11691 Joseph Myers <joseph@codesourcery.com>
11692
11693 * Makeconfig (host-built-program-cmd): New variable.
11694 * elf/Makefile (tst-stackguard1-ARGS): Use
11695 $(host-built-program-cmd).
11696 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11697 (tst-spawn-ARGS): Likewise.
11698 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11699
88866099
JM
117002012-10-23 Joseph Myers <joseph@codesourcery.com>
11701 Jim Blandy <jimb@codesourcery.com>
11702
11703 * Makeconfig (run-via-rtld-prefix): New variable.
11704 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11705 (built-program-cmd): Likewise.
11706
b4b4c296
AJ
117072012-10-22 Andreas Jaeger <aj@suse.de>
11708
11709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11710 __O_RSYNC if it exists, otherwise to O_SYNC.
11711
6fb54a22
JB
117122012-10-22 Jim Blandy <jimb@codesourcery.com>
11713 Joseph Myers <joseph@codesourcery.com>
11714
11715 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11716 /dev/null.
11717 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11718 from /dev/null
11719 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11720 /dev/null.
11721
481b90b9
AJ
117222012-10-22 Andreas Jaeger <aj@suse.de>
11723
2a0e2669
AJ
11724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11725 Define always.
11726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11727
76e38f9a
AJ
11728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11729 bits/fcntl-linux.h.
11730
7cd37b43
AJ
11731 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11732 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11733
481b90b9
AJ
11734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11735 to __O_LARGEFILE.
11736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11737 to __O_LARGEFILE.
11738
aba75984
JB
117392012-10-21 Jim Blandy <jimb@codesourcery.com>
11740 Joseph Myers <joseph@codesourcery.com>
11741
11742 * config.make.in (NM): New variable.
11743
88d4247f
AJ
117442012-10-21 Andreas Jaeger <aj@suse.de>
11745
11746 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11747 definitions and declarations that are provided by
11748 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11749
f2eed205
L
117502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11751
11752 [BZ #14683]
11753 * elf/Makefile (tests-static): Add tst-leaks1-static.
11754 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11755 ($(objpfx)tst-leaks1-static): New rule.
11756 ($(objpfx)tst-leaks1-static-mem): Likewise.
11757 (tst-leaks1-static-ENV): New macro.
11758 * elf/dl-open.c (dl_open_worker): Check the main application
11759 only if SHARED is defined.
11760 * elf/tst-leaks1-static.c: New file.
11761
335e6931
AJ
117622012-10-20 Andreas Jaeger <aj@suse.de>
11763
11764 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11765 generic values for Linux.
11766 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11767 and declarations that are provided by <bits/fcntl-linux.h> and
11768 include <bits/fcntl-linux.h>.
11769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11771
ac5c94d3
RM
117722012-10-20 Roland McGrath <roland@hack.frob.com>
11773
11774 * io/fcntl.h: Move include of <bits/types.h> to the top and
11775 include it unconditionally.
11776
de54b33a
L
117772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11778
228cfb01
L
11779 * wcsmbs/Makefile (tests-ifunc): New variable.
11780 (tests): Add $(tests-ifunc).
11781 * wcsmbs/test-wcschr-ifunc.c: New file.
11782 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11783 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11784 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11785 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11786 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11787
69f07e5f
L
11788 * string/Makefile (tests-ifunc): New variable.
11789 (tests): Add $(tests-ifunc).
11790 * string/test-memccpy.c (TEST_NAME): New macro.
11791 * string/test-memchr.c (TEST_NAME): Likewise.
11792 * string/test-memcmp.c (TEST_NAME): Likewise.
11793 * string/test-memcpy.c (TEST_NAME): Likewise.
11794 * string/test-memmem.c (TEST_NAME): Likewise.
11795 * string/test-memmove.c (TEST_NAME): Likewise.
11796 * string/test-memset.c (TEST_NAME): Likewise.
11797 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11798 * string/test-stpcpy.c (TEST_NAME): Likewise.
11799 * string/test-stpncpy.c (TEST_NAME): Likewise.
11800 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11801 * string/test-strcasestr.c (TEST_NAME): Likewise.
11802 * string/test-strcat.c (TEST_NAME): Likewise.
11803 * string/test-strchr.c (TEST_NAME): Likewise.
11804 * string/test-strcmp.c(TEST_NAME): Likewise.
11805 * string/test-strcpy.c (TEST_NAME): Likewise.
11806 * string/test-strcspn.c (TEST_NAME): Likewise.
11807 * string/test-strlen.c (TEST_NAME): Likewise.
11808 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11809 * string/test-strncmp.c (TEST_NAME): Likewise.
11810 * string/test-strncpy.c (TEST_NAME): Likewise.
11811 * string/test-strnlen.c (TEST_NAME): Likewise.
11812 * string/test-strpbrk.c (TEST_NAME): Likewise.
11813 * string/test-strrchr.c (TEST_NAME): Likewise.
11814 * string/test-strspn.c (TEST_NAME): Likewise.
11815 * string/test-strstr.c (TEST_NAME): Likewise.
11816 * string/test-bcopy-ifunc.c: New file.
11817 * string/test-bzero-ifunc.c: Likewise.
11818 * string/test-memccpy-ifunc.c: Likewise.
11819 * string/test-memchr-ifunc.c: Likewise.
11820 * string/test-memcmp-ifunc.c: Likewise.
11821 * string/test-memcpy-ifunc.c: Likewise.
11822 * string/test-memmem-ifunc.c: Likewise.
11823 * string/test-memmove-ifunc.c: Likewise.
11824 * string/test-mempcpy-ifunc.c: Likewise.
11825 * string/test-memset-ifunc.c: Likewise.
11826 * string/test-rawmemchr-ifunc.c: Likewise.
11827 * string/test-stpcpy-ifunc.c: Likewise.
11828 * string/test-stpncpy-ifunc.c: Likewise.
11829 * string/test-strcasecmp-ifunc.c: Likewise.
11830 * string/test-strcasestr-ifunc.c: Likewise.
11831 * string/test-strcat-ifunc.c: Likewise.
11832 * string/test-strchr-ifunc.c: Likewise.
11833 * string/test-strchrnul-ifunc.c: Likewise.
11834 * string/test-strcmp-ifunc.c: Likewise.
11835 * string/test-strcpy-ifunc.c: Likewise.
11836 * string/test-strcspn-ifunc.c: Likewise.
11837 * string/test-strlen-ifunc.c: Likewise.
11838 * string/test-strncasecmp-ifunc.c: Likewise.
11839 * string/test-strncat-ifunc.c: Likewise.
11840 * string/test-strncmp-ifunc.c: Likewise.
11841 * string/test-strncpy-ifunc.c: Likewise.
11842 * string/test-strnlen-ifunc.c: Likewise.
11843 * string/test-strpbrk-ifunc.c: Likewise.
11844 * string/test-strrchr-ifunc.c: Likewise.
11845 * string/test-strspn-ifunc.c: Likewise.
11846 * string/test-strstr-ifunc.c: Likewise.
11847
de54b33a
L
11848 * debug/Makefile (tests-ifunc): New variable.
11849 (tests): Add $(tests-ifunc).
11850 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11851 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11852 * debug/test-stpcpy_chk-ifunc.c: New file.
11853 * debug/test-strcpy_chk-ifunc.c: Likewise.
11854
88481c16
SP
118552012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11856
11857 [BZ #13601]
11858 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11859 header is not read in.
11860
135948bd
JM
118612012-10-19 Joseph Myers <joseph@codesourcery.com>
11862
89f1c388
JM
11863 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11864 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11865 directly. Pass built executable to script as
11866 $(built-program-cmd).
11867 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11868 $testprogram without using LD_LIBRARY_PATH and $ldso.
11869
e40a0d21
JM
11870 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11871 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11872 $(rtld-installed-name).
11873 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11874 (rtld_installed_name): Likewise.
11875 (library_path): Likewise.
11876 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11877 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11878 $(run-program-prefix) to tst-tables.sh.
11879 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11880 it to run tst-table-from and tst-table-to.
11881 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11882 Pass it to tst-table.sh.
11883 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11884 $(run-program-prefix) to tst-gettext.sh.
11885 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11886 tst-translit.sh.
11887 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11888 tst-gettext2.sh.
11889 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11890 to run tst-gettext.
11891 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11892 to run tst-gettext2.
11893 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11894 to run tst-translit.
11895 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11896 $(run-program-prefix) to tst-mtrace.sh.
11897 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11898 to run tst-mtrace.
11899 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11900 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11901 $(rtld-installed-name).
11902 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11903 (rtld_installed_name): Likewise.
11904 (run_program_prefix): New variable. Use it to run wordexp-test.
11905
728e272a
JM
11906 * Makeconfig (ARCH): Remove all definitions.
11907 (machine): Likewise.
11908 [ARCH]: Remove conditional code.
11909 [!objdir]: Give error.
11910 [!objdir] (objpfx): Remove.
11911 [!objdir] (common-objpfx): Likewise.
11912 [!objdir] (common-objdir): Likewise.
11913 * configure.in (config_makefile): Remove. Hardcode Makefile in
11914 AC_CONFIG_FILES call.
11915 * configure: Regenerated.
11916
d528cdcf
JM
11917 [BZ #13888]
11918 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11919 or TMPDIR.
11920 (testout): Likewise.
11921
135948bd
JM
11922 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11923 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11924 $(rtld-installed-name).
11925 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11926 (rtld_installed_name): Likwise.
11927 (runit): Remove function.
11928 (run_getconf): New variable, Use it for running getconf binary.
11929
38c78296
L
119302012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11931
11932 [BZ #14716]
11933 * string/test-memmem.c (check_result): New function.
11934 (do_one_test): Use it.
11935 (check1): New function.
11936 (test_main): Use it.
11937
d077f65f
MT
119382012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11939
11940 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11941
ced52c71
JM
119422012-10-18 Joseph Myers <joseph@codesourcery.com>
11943
11944 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11945 (_G_LSEEK64): Likewise.
11946 (_G_MMAP64): Likewise.
11947 (_G_FSTAT64): Likewise.
11948 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11949 (_G_LSEEK64): Likewise.
11950 (_G_MMAP64): Likewise.
11951 (_G_FSTAT64): Likewise.
11952 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11953 unconditional. Call __mmap64 directly.
11954 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11955 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11956 __lseek64 directly.
11957 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11958 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11959 __mmap64 directly.
11960 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11961 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11962 __lseek64 directly.
11963 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11964 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11965 __lseek64 directly.
11966 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11967 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11968 __lseek64 directly.
11969 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11970 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11971 __fxstat64 directly.
11972 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11973 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11974 unconditional.
11975 (freopen64) [!_G_OPEN64]: Remove conditional code.
11976 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11977 unconditional.
11978 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11979 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11980 unconditional.
11981 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11982 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11983 unconditional.
11984 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11985 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11986 unconditional.
11987 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11988 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11989 unconditional.
11990 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11991 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11992 unconditional.
11993 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11994 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11995 unconditional.
11996 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11997
b741de23
SP
119982012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11999
12000 [BZ #12140]
12001 * manual/memory.texi (Malloc Tunable Parameters): Add note
12002 about free list pointers overwriting some perturb bytes.
12003 Wording suggested by Roland McGrath.
12004
f9b9d9c9
JM
120052012-10-17 Joseph Myers <joseph@codesourcery.com>
12006
12007 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12008 (lgamma_test): Likewise.
12009 (tgamma_test): Likewise.
12010
172a631a
FW
120112012-10-16 Florian Weimer <fweimer@redhat.com>
12012
12013 [BZ #14700]
12014 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12015 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12016
e9f37252
MK
120172012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12018
12019 * NEWS: Mention BZ #14716.
12020 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12021 when removing AVAILABLE1_USES_J macro.
12022
d394eb74
L
120232012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12024
12025 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12026 (__bswap_64): __uint64_t for unsigned 64-bit int.
12027
ca38dc17
AS
120282012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12029
12030 * include/string.h (memmem): Declare libc hidden alias.
12031 * string/memmem.c (memmem): Define libc hidden alias.
12032 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12033 __read, __close instead of open, read, close.
12034
9a387d1f
L
120352012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12036
ac49ecaf
L
12037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12038 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12039 global and hidden.
12040 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12041 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12042 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12043 Likewise.
12044 (__rawmemchr_sse2): Likewise.
12045 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12046 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12047 (__strchr_sse2): Likewise.
12048 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12049 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12050 (__strcasecmp_sse2): Likewise.
12051 (__strncasecmp_sse2): Likewise.
12052 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12053 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12054 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12055 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12056 (__strrchr_sse2): Likewise.
12057 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12058 ifunc-impl-list.c.
12059 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12060 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12061 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12062 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12063 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12064 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12065 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12066 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12067 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12068 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12069 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12070 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12071 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12072 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12073 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12074 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12075 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12076 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12077 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12078 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12079 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12080 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12081 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12082 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12083 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12084 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12085 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12086 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12087 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12088 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12089
b090e8ea
L
12090 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12091 global and hidden.
12092 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12093 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12094 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12095 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12096 Likewise.
12097 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12098 Likewise.
12099 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12100 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12101 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12102 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12103 ifunc-impl-list.c.
12104 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12105 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12106 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12107 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12108 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12109 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12110 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12111 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12112 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12113 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12114 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12115 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12116 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12117 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12118 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12119 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12120 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12121 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12122 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12123 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12124 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12125 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12126 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12127 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12128 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12129 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12130 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12131 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12132 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12133 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12134 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12135 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12136 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12137 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12138 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12139 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12140 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12141 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12142 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12143 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12144 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12145
11dd4af6
L
12146 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12147 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12148 * include/ifunc-impl-list.h: New file.
12149 * misc/ifunc-impl-list.c: Likewise.
12150 * misc/Makefile (routines): Add ifunc-impl-list.
12151 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12152 * string/test-string.h: Include <ifunc-impl-list.h>.
12153 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12154 impl_array): New variables.
12155 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12156 are defined.
12157 (test_init): Call __libc_ifunc_impl_list to initialize
12158 func_list if TEST_IFUNC and TEST_NAME are defined.
12159
9a387d1f
L
12160 * string/Makefile (strop-tests): Add bcopy and bzero.
12161 * string/test-bcopy.c: New file.
12162 * string/test-bzero.c: Likewise.
12163 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12164 defined.
12165 * string/test-memset.c: Support bzero test if TEST_BZERO is
12166 defined.
12167 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12168 __libc_memmove.
12169 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12170 __libc_memset.
12171 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12172 of memset.
12173
472371b9
JM
121742012-10-10 Joseph Myers <joseph@codesourcery.com>
12175
1e4a9536
JM
12176 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12177 * configure: Regenerated.
12178
d173d12e
JM
12179 * Makeconfig (+link-static-before-libc): Don't include
12180 $(link-static-libc).
12181
472371b9
JM
12182 * libio/libio.h (_IO_pos_t): Remove.
12183
89a3ad0b
AO
121842012-10-10 Alexandre Oliva <aoliva@redhat.com>
12185
12186 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12187 McGrath.
12188
e7451425
AO
121892012-10-10 Alexandre Oliva <aoliva@redhat.com>
12190
12191 * crypt/crypt-entry.c: Include fips-private.h.
12192 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12193 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12194 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12195 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12196
4ba74a35
AO
121972012-10-10 Alexandre Oliva <aoliva@redhat.com>
12198
12199 * crypt/crypt-private.h: Include stdbool.h.
12200 (_ufc_setup_salt_r): Return bool.
12201 * crypt/crypt-entry.c: Include errno.h.
12202 (__crypt_r): Return NULL with EINVAL for bad salt.
12203 * crypt/crypt_util.c (bad_for_salt): New.
12204 (_ufc_setup_salt_r): Check that salt is long enough and within
12205 the specified alphabet.
12206 * crypt/badsalttest.c: New file.
12207 * crypt/Makefile (tests): Add it.
12208 ($(objpfx)badsalttest): New.
12209
f96f1242
MK
122102012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12211
12212 * NEWS: Add entry for BZ #14602.
12213
0e8e0c1c
JM
122142012-10-09 Joseph Myers <joseph@codesourcery.com>
12215
12216 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12217 type-generic.
12218 * math/libm-test.inc: Update comment listing what functions and
12219 macros are tested.
12220 (isgreater_test): New function.
12221 (isgreaterequal_test): Likewise.
12222 (isless_test): Likewise.
12223 (islessequal_test): Likewise.
12224 (islessgreater_test): Likewise.
12225 (isunordered_test): Likewise.
12226 (main): Call the new functions.
12227
273edc5e
RM
122282012-10-09 Roland McGrath <roland@hack.frob.com>
12229
b8493de0
RM
12230 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12231 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12232 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12233 * sysdeps/i386/configure: Regenerated.
12234 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12235 * sysdeps/mach/configure: Regenerated.
12236 * sysdeps/mach/hurd/configure: Regenerated.
12237 * sysdeps/powerpc/configure: Regenerated.
12238 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12239 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12240 * sysdeps/s390/s390-32/configure: Regenerated.
12241 * sysdeps/s390/s390-64/configure: Regenerated.
12242 * sysdeps/sh/configure: Regenerated.
12243 * sysdeps/sparc/configure: Regenerated.
12244 * sysdeps/unix/sysv/linux/configure: Regenerated.
12245 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12246 * sysdeps/x86_64/configure: Regenerated.
12247
273edc5e
RM
12248 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12249 defined. Don't check if MAP is NULL.
12250
c8450f70
JM
122512012-10-09 Joseph Myers <joseph@codesourcery.com>
12252
12253 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12254 (_G_stat64): Likewise.
12255 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12256 (_G_stat64): Likewise.
12257 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12258 instead of struct _G_stat64.
12259 * libio/fileops.c (mmap_remap_check): Likewise.
12260 (decide_maybe_mmap): Likewise.
12261 (_IO_new_file_seekoff): Likewise.
12262 (_IO_file_stat): Likewise.
12263 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12264 _G_off64_t.
12265 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12266 instead of struct _G_stat64.
12267 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12268
57e605ba
MK
122692012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12270
12271 [BZ #14602]
12272 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12273 Replace with ...
12274 (CHECK_EOL): New macro.
12275 (two_way_short_needle): Check beginning of haystack for EOL. Use
12276 CHECK_EOL.
12277 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12278 Replace with CHECK_EOL.
12279 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12280 Replace with CHECK_EOL.
12281
ef1bb361
JM
122822012-10-08 Joseph Myers <joseph@codesourcery.com>
12283
12284 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12285 type-generic.
12286 * math/libm-test.inc: Update comment listing what functions and
12287 macros are tested.
12288 (finite_test): New function.
12289 (isinf_test): Likewise.
12290 (isnan_test): Likewise.
12291 (fpclassify_test): Test subnormal input.
12292 (isfinite_test): Likewise.
12293 (isnormal_test): Likewise.
12294 (main): Call the new functions.
12295
55f11534
JN
122962012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12297
12298 [BZ #14660]
12299 * Makerules (%.dynsym): Force C locale when running
12300 $(OBJDUMP) --dynamic-syms.
12301
1ab29350
AS
123022012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12303
12304 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12305 <stdint.h>.
12306
f1ecb7ef
DM
123072012-10-06 David S. Miller <davem@davemloft.net>
12308
12309 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12310 upper 32-bits of the length value in %o2 since we use branch-on-register
12311 tests which consider the entire 64-bit register.
12312
5d41d91a
L
123132012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12314
12315 * string/test-strstr.c (check2): Add a test for page boundary.
12316
3baddb72
DM
123172012-10-05 David S. Miller <davem@davemloft.net>
12318
12319 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12320 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12321 file.
12322 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12323 sysdep_routines.
12324 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12325 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12326 and bzero when HWCAP_SPARC_CRYPTO is present.
12327
9cee5585
L
123282012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12329
d7e0dab9
L
12330 [BZ #14602]
12331 * string/test-strstr.c (check2): New function.
12332 (test_main): Call check2.
12333
03759f47
L
12334 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12335 and bug-strchr1.
12336 * string/bug-strcasestr1.c (do_test): Moved to ...
12337 * string/test-strcasestr.c (check1): Here. New function.
12338 (do_one_test): Break out result checking code into ...
12339 (check_result): This. New function.
12340 (do_one_test): Call check_result.
12341 (test_main): Call check1.
12342 * string/bug-strchr1.c (do_test): Moved to ...
12343 * string/test-strchr.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-strstr1.c (main): Moved to ...
046f153e 12349 * string/test-strstr.c (check1): Here. New function.
03759f47
L
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-strcasestr1.c: Removed.
12355 * string/bug-strchr1.c: Likewise.
12356 * string/bug-strstr1.c: Likewise.
12357
53cea63e
L
12358 * elf/Makefile (dl-routines): Add hwcaps.
12359 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12360 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12361 (_dl_important_hwcaps): Moved to ...
12362 * elf/dl-hwcaps.c: Here. New file.
12363 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12364
9cee5585 12365 [BZ #14557]
bb859b06
L
12366 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12367 if IS_IN_rtld isn't defined.
12368
9cee5585
L
12369 * elf/dl-support.c (_dl_sysinfo_map): New.
12370 Include "get-dynamic-info.h" and "setup-vdso.h".
12371 (_dl_non_dynamic_init): Call setup_vdso.
12372 * elf/dynamic-link.h: Don't include <assert.h>.
12373 (elf_get_dynamic_info): Moved to ...
12374 * elf/get-dynamic-info.h: Here. New file.
12375 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12376 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12377 * elf/setup-vdso.h: Here. New file.
12378 * elf/rtld.c: Include "setup-vdso.h".
12379 (dl_main): Call setup_vdso.
12380
23c31b76
JM
123812012-10-05 Joseph Myers <joseph@codesourcery.com>
12382
28234b07
JM
12383 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12384 creal in comment listing functions tested. List finite, isinf,
12385 isnan, isless, islessequal, isgreater, isgreaterequal,
12386 islessgreater, isunordered, lgamma_r and pow10 as functions and
12387 macros not tested. Mention which functions not tested are aliases
12388 for other functions. Fix typo. Note that signs of NaNs are not
12389 tested.
12390
23c31b76
JM
12391 * scripts/config.guess: Update from config.git.
12392 * scripts/config.sub: Likewise.
12393
9043e228
RM
123942012-10-04 Roland McGrath <roland@hack.frob.com>
12395
12396 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12397 * misc/madvise.c (madvise): Renamed to __madvise.
12398 Make madvise a weak alias.
12399 * include/sys/mman.h: Declare __madvise.
12400 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12401 * sysdeps/unix/syscalls.list
12402 (madvise): Make __madvise the strong name, and madvise a weak alias.
12403 * sysdeps/unix/sysv/linux/syscalls.list
12404 (madvise, mmap): Remove redundant entries.
12405 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12406 * malloc/malloc.c (mtrim): Likewise.
12407 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12408
f57f8055
RM
124092012-10-03 Roland McGrath <roland@hack.frob.com>
12410
12411 * sysdeps/mach/hurd/dl-cache.c: File removed.
12412 * config.h.in (USE_LDCONFIG): New #undef.
12413 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12414 * configure: Regenerated.
12415 * elf/Makefile (dl-routines): Add dl-cache only under
12416 [$(use-ldconfig) = yes].
12417 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12418 cache on [USE_LDCONFIG].
12419 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12420 [USE_LDCONFIG].
12421 * elf/rtld.c (dl_main): Likewise.
12422
5bb0c10a
PT
124232012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12424
12425 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12426 _SC_LEVEL4_CACHE_LINESIZE.
12427
010188c6
RM
124282012-10-03 Roland McGrath <roland@hack.frob.com>
12429
12430 * sysdeps/unix/bsd/confstr.h: File removed.
12431
b6c5ec07
AO
124322012-10-02 Alexandre Oliva <aoliva@redhat.com>
12433
12434 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12435 sys/sdt-config.h.
12436
408223d4
RM
124372012-10-02 Roland McGrath <roland@hack.frob.com>
12438
12439 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12440 Make 'mapoff' field ElfW(Off) rather than off_t.
12441
bb9510dc
DL
124422012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12443
fc997c6e
DL
12444 * nscd/Makefile: Remove nscd-cflags and all its users.
12445 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12446 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12447
bb9510dc
DL
12448 [BZ #10631]
12449 * malloc.c (malloc_printerr): Clarify error message.
12450
05699367
L
124512012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12452
12453 [BZ #14648]
12454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12455 Set bit_FMA_Usable if FMA is supported.
12456 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12457 macro.
12458 (bit_FMA4_Usable): Updated.
12459 (index_FMA_Usable): New macro.
12460 (CPUID_FMA): Likewise
12461 (HAS_FMA): Defined with bit_FMA_Usable.
12462
51367701
RM
124632012-10-01 Roland McGrath <roland@hack.frob.com>
12464
12465 * bits/types.h (__swblk_t): Type removed.
12466 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12467 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12469 (__SWBLK_T_TYPE): Likewise.
12470 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12471 (__SWBLK_T_TYPE): Likewise.
12472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12473 (__SWBLK_T_TYPE): Likewise.
12474 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12475 (__SWBLK_T_TYPE): Likewise.
12476
4d57bf63 124772012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12478 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12479
12480 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12481 (xdr_mapname): Use YPMAXMAP as maxsize.
12482 (xdr_peername): Use YPMAXPEER as maxsize.
12483 (xdr_keydat): Use YPAXRECORD as maxsize.
12484 (xdr_valdat): Use YPMAXRECORD as maxsize.
12485
93c65d43
RM
124862012-10-01 Roland McGrath <roland@hack.frob.com>
12487
497a03d6
RM
12488 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12489
93c65d43
RM
12490 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12491 * csu/init-first.c: ... here.
12492 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12493 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12494 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12495 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12496 * sysdeps/i386/init-first.c: File removed.
12497 * sysdeps/sh/init-first.c: File removed.
12498
bec749fd
JM
124992012-10-01 Joseph Myers <joseph@codesourcery.com>
12500
12501 [BZ #14645]
12502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12503 if x * y might underflow to zero and z is zero.
12504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12505 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12506 * math/libm-test.inc (min_subnorm_value): New variable.
12507 (fma_test): Add more tests.
12508 (fma_test_towardzero): Likewise.
12509 (fma_test_downward): Likewise
12510 (fma_test_upward): Likewise.
12511 (initialize): Set min_subnorm_value.
12512
8ec5b013
JM
125132012-09-29 Joseph Myers <joseph@codesourcery.com>
12514
12515 [BZ #14638]
12516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12517 0 + 0.
12518 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12519 mode for addition resulting in exact zero.
12520 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12522 exact 0 + 0.
12523 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12524 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12525 * math/libm-test.inc (fma_test): Add more tests.
12526 (fma_test_towardzero): New function.
12527 (fma_test_downward): Likewise.
12528 (fma_test_upward): Likewise.
12529 (main): Call the new functions.
12530
b1fa802e
DM
125312012-09-28 David S. Miller <davem@davemloft.net>
12532
12533 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12534
d3b9fd9e
RM
125352012-09-28 Roland McGrath <roland@hack.frob.com>
12536
ea4d37b3
RM
12537 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12538 instead of SIGALRM.
12539
ac51c949
RM
12540 * sysdeps/gnu/_G_config.h: Moved to ...
12541 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12542 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12543 * sysdeps/generic/_G_config.h: ... here.
12544
28c195f7
RM
12545 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12546
848917f9
RM
12547 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12548
6bacf05b
RM
12549 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12550 Conditionalize target on [libnss_test1.so-version].
12551
91363dbb
RM
12552 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12553
cc87f7d8
RM
12554 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12555 (elfobjdir): Move out of conditionals.
12556
b1c608fe
RM
12557 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12558 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12559 (__nss_lookup_function): Conditionalize label remove_from_tree on
12560 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12561
1d9a6d96
DM
125622012-09-28 David S. Miller <davem@davemloft.net>
12563
12564 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12565 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12566 file.
12567 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12568 sysdep_routines.
12569 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12571 when HWCAP_SPARC_CRYPTO is present.
12572
72581615
PT
125732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12574
12575 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12576
715a900c
JL
125772012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12578
12579 [BZ #6530]
12580 * stdio-common/vfprintf.c (process_string_arg): Revert
12581 2000-07-22 change.
12582
125832011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12584
12585 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12586 for testcase.
12587 * stdio-common/tst-sprintf.c: Include <locale.h>
12588 (main): Test sprintf's handling of incomplete multibyte
12589 characters.
12590
9bac1d86
L
125912012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12592
12593 * elf/dl-runtime.c (VERSYMIDX): Removed.
12594 * elf/dl-version.c (VERSYMIDX): Likewise.
12595 * elf/do-rel.h (VERSYMIDX): Likewise.
12596 (VALIDX): Likewise.
12597 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12598 * elf/rtld.c (VALIDX): Likewise.
12599 (ADDRIDX): Likewise.
9bac1d86
L
12600 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12601 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12602 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12603 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12604 (VALIDX): Likewise.
12605 (ADDRIDX): Likewise.
9bac1d86 12606
b31606c0
PT
126072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12608
12609 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12610
11541177
JL
126112012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12612
12613 [BZ #11438]
12614 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12615 to global scope.
12616 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12617 addresses are in the same scope as 192.0.2/24.
12618 * posix/gai.conf: Document new scope table defaults.
12619
adb26fae
SP
126202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12621
12622 [BZ #5298]
12623 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12624 for ftell. Compute offsets from write pointers instead.
12625 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12626
4573c6b0
SP
126272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12628
12629 [BZ #14543]
12630 * libio/Makefile (tests): New test case tst-fseek.
12631 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12632 combination works in wide mode.
12633 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12634 state when the external buffer state changes.
12635
aa9bbfe6
DM
126362012-09-27 David S. Miller <davem@davemloft.net>
12637
12638 [BZ #14376]
12639 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12640 pass reloc->r_addend in as the 'high' argument to
12641 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12642
784421e7
DM
12643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12644
c39bc8b8
PT
126452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12646
12647 * rt/tst-aio2.c: Include <pthread.h>.
12648 * rt/tst-aio3.c: Likewise.
12649
1ccc2399
SE
126502012-09-27 Steve Ellcey <sellcey@mips.com>
12651
12652 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12653
31ed4153
L
126542012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12655
25f5f885
L
12656 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12657 contents on [SHARED].
31ed4153 12658
b7bfe116
MP
126592012-09-26 Marek Polacek <polacek@redhat.com>
12660
12661 [BZ #14530]
12662 [BZ #13741]
12663 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12664 for C++ and GCC <4.3 as well as for non GCC compilers.
12665
43c4edba
MT
126662012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12667
12668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12669
6a1bf82f
RM
126702012-09-25 Roland McGrath <roland@hack.frob.com>
12671
12672 * Makefile.in (all, install): Declare with .PHONY.
12673 Reported by Michael Hope <michael.hope@linaro.org>.
12674
8ad11b9a
TMQMF
126752012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12676
12677 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12678 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12679 system header.
12680 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12681 Likewise.
12682 (sydep_routines): Add the new and the internal functions.
12683 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12684 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12686 (GLIBC_2.17): Add the new function.
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12688 (GLIBC_2.17): Likewise.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12690 (GLIBC_2.17): Likewise.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12692 (GLIBC_2.17): Likewise.
12693 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12694
7e2fca8d
AM
126952012-09-25 Alan Modra <amodra@gmail.com>
12696
12697 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12698 Add release barrier before setting once_control to say
12699 initialisation is done. Add hints on lwarx. Use macro in
12700 place of isync.
12701 (clear_once_control): Add release barrier.
12702
b87c4b24
JM
127032012-09-25 Joseph Myers <joseph@codesourcery.com>
12704
d032e0d2
JM
12705 [BZ #13629]
12706 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12707 specially.
12708 * math/s_clog10.c (__clog10): Likewise.
12709 * math/s_clog10f.c (__clog10f): Likewise.
12710 * math/s_clog10l.c (__clog10l): Likewise.
12711 * math/s_clogf.c (__clogf): Likewise.
12712 * math/s_clogl.c (__clogl): Likewise.
12713 * math/Makefile (libm-calls): Add x2y2m1.
12714 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12715 (__x2y2m1): Likewise.
12716 (__x2y2m1l): Likewise.
12717 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12718 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12719 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12721 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12722 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12723 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12724 * sysdeps/i386/fpu/libm-test-ulps: Update.
12725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12726
b87c4b24
JM
12727 [BZ #14621]
12728 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12729 int as type of variable DEPTH.
12730 (glob): Use size_t instead of int as type of variables NEWCOUNT
12731 and OLD_PATHC.
12732
6d3bf199
LD
127332012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12734
22bf5c17
LD
12735 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12736 Add s_sincosf-sse2.
12737 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12738 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12739 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12740 macros for using routine as __sincosf_ia32.
12741 Use macro for function declaration and weak_alias.
12742 * sysdeps/i386/fpu/libm-test-ulps: Update.
12743
12744 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12746
12747 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12748 subnormal argument.
12749 * math/s_cexpf.c (__cexpf): Likewise.
12750 * math/s_csinf.c (__csinf): Likewise.
12751 * math/s_csinhf.c (__csinhf): Likewise.
12752 * math/s_ctanf.c (__ctanf): Likewise.
12753 * math/s_ctanhf.c (__ctanhf): Likewise.
12754 * math/s_ccosh.c (__ccoshf): Likewise.
12755 * math/s_cexp.c (__cexpl): Likewise.
12756 * math/s_csin.c (__csin): Likewise.
12757 * math/s_csinh.c (__csinh): Likewise.
12758 * math/s_ctan.c (__ctan): Likewise.
12759 * math/s_ctanh.c (ctanh): Likewise.
12760 * math/s_ccoshl.c (__ccoshl): Likewise.
12761 * math/s_cexpl.c (__cexpl): Likewise.
12762 * math/s_csinl.c (__csinl): Likewise.
12763 * math/s_csinhl.c (__csinhl): Likewise.
12764 * math/s_ctanl.c (__ctanl): Likewise.
12765 * math/s_ctanhl.c (__ctanhl): Likewise.
12766
203e5603
JM
127672012-09-25 Joseph Myers <joseph@codesourcery.com>
12768
12769 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12770 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12771 (_IO_off_t): Define to __off_t, not _G_off_t.
12772 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12773 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12774 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12775 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12776 type of __dummy and __dummy2 fields.
12777 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12778 (_G_ssize_t): Likewise.
12779 (_G_off_t): Likewise.
12780 (_G_pid_t): Likewise.
12781 (_G_uid_t): Likewise.
12782 (_G_wchar_t): Likewise.
12783 (_G_wint_t): Likewise.
12784 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12785 (_G_ssize_t): Likewise.
12786 (_G_off_t): Likewise.
12787 (_G_pid_t): Likewise.
12788 (_G_uid_t): Likewise.
12789 (_G_wchar_t): Likewise.
12790 (_G_wint_t): Likewise.
12791 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12792 (_G_ssize_t): Likewise.
12793 (_G_off_t): Likewise.
12794 (_G_pid_t): Likewise.
12795 (_G_uid_t): Likewise.
12796 (_G_wchar_t): Likewise.
12797 (_G_wint_t): Likewise.
12798
9fab36eb
SP
127992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12800
12801 * malloc/arena.c: Include malloc-sysdep.h.
12802 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12803 is sufficient to shrink the heap or an unmap is needed.
12804 * sysdeps/generic/malloc-sysdep.h: New file. Define
12805 new function check_may_shrink_heap.
12806 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12807 new function check_may_shrink_heap.
12808
2b4f00d1
SP
128092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12810
12811 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12812 comments.
12813
9a9028b1
DL
128142012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12815
57c69bef
DL
12816 * catgets/test-gencat.sh: Add "set -e".
12817 * elf/tst-pathopt.sh: Likewise.
12818 * grp/tst_fgetgrent.sh: Likewise.
12819 * iconvdata/run-iconv-test.sh: Likewise.
12820 * intl/tst-gettext.sh: Likewise.
12821 * intl/tst-gettext2.sh: Likewise.
12822 * intl/tst-gettext4.sh: Likewise.
12823 * intl/tst-gettext6.sh: Likewise.
12824 * intl/tst-translit.sh: Likewise.
12825 * io/ftwtest-sh: Likewise.
12826 * libio/test-freopen.sh: Likewise.
12827 * malloc/tst-mtrace.sh: Likewise.
12828 * posix/globtest.sh: Likewise.
12829 * posix/tst-getconf.sh: Likewise.
12830 * posix/wordexp-tst.sh: Likewise.
12831 * stdio-common/tst-printf.sh: Likewise.
12832 * stdio-common/tst-unbputc.sh: Likewise.
12833 * stdlib/tst-fmtmsg.sh: Likewise.
12834 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12835 * catgets/Makefile: Do not specify -e option when running
12836 testsuite shell scripts.
12837 * elf/Makefile: Likewise.
12838 * grp/Makefile: Likewise.
12839 * iconvdata/Makefile: Likewise.
12840 * intl/Makefile: Likewise.
12841 * io/Makefile: Likewise.
12842 * libio/Makefile: Likewise.
12843 * malloc/Makefile: Likewise.
12844 * posix/Makefile: Likewise.
12845 * stdio-common/Makefile: Likewise.
12846 * stdlib/Makefile: Likewise.
12847 * sysdeps/x86_64/Makefile: Likewise.
12848
9a9028b1
DL
12849 * io/ftwtest-sh: Add copyright header.
12850 * posix/globtest.sh: Likewise.
12851 * posix/tst-getconf.sh: Likewise.
12852 * posix/wordexp-tst.sh: Likewise.
12853 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12854
ced6f16e
L
128552012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12856
94b32c39
L
12857 [BZ #13679]
12858 * Makeconfig (+link): Defined as $(+link-static) if
12859 $(build-shared) isn't yes.
12860 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12861 isn't yes.
12862 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12863
189e935b
L
12864 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12865
ced6f16e
L
12866 [BZ #14562]
12867 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12868 new chunk size with MALLOC_ALIGN_MASK.
12869
a9f8e53a
JM
128702012-09-24 Joseph Myers <joseph@codesourcery.com>
12871
12872 [BZ #5044]
12873 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12874 <rounding-mode.h>.
12875 (__printf_fphex): Determine rounding using get_rounding_mode and
12876 round_away.
12877 * stdio-common/tst-printf-round.c (struct hex_test): New
12878 structure.
12879 (hex_tests): New variable.
12880 (test_hex_in_one_mode): New function.
12881 (do_test): Also run tests for hex float output.
12882
43153109
JM
128832012-09-21 Joseph Myers <joseph@codesourcery.com>
12884
12885 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12886 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12887 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12888 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12889 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12890 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12891 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12892 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12893
8a26625d
JM
128942012-09-20 Joseph Myers <joseph@codesourcery.com>
12895
12896 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12897 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12898 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12899 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12900
f3fd569c
DL
129012012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12902
12903 [BZ #14579]
12904 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12905 mode only.
12906 * elf/tst-rtld-load-self.sh: New test.
12907 * elf/Makefile: Run it.
12908
63bbedd4
JM
129092012-09-18 Joseph Myers <joseph@codesourcery.com>
12910
12911 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12912 (tst-writev-ENV): Remove.
12913 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12914
626f8b6a
CM
129152012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12916
12917 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12918
b7aaa4d6
JM
129192012-09-17 Joseph Myers <joseph@codesourcery.com>
12920
12921 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12922 unconditional.
12923 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12924 Likewise.
12925 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12926 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12927 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12928 Likewise.
12929
65513990
L
129302012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12931
12932 [BZ #14587]
12933 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12934 * config.make.in (have-cpp-asm-debuginfo): Removed.
12935 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12936 * configure: Regenerated.
12937
784761be
JM
129382012-09-14 Joseph Myers <joseph@codesourcery.com>
12939
12940 [BZ #5044]
12941 * stdio-common/printf_fp.c: Include <stdbool.h> and
12942 <rounding-mode.h>.
12943 (___printf_fp): Determine rounding using get_rounding_mode and
12944 round_away.
12945 * stdio-common/tst-printf-round.c: New file.
12946 * stdio-common/Makefile (tests): Add tst-printf-round.
12947 (link-libm): New variable.
12948 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12949
9503345f
L
129502012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12951
12952 [BZ #14576]
12953 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12954 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12955 Likewise.
12956 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12957 Likewise.
12958
ad35fc00
JM
129592012-09-13 Joseph Myers <joseph@codesourcery.com>
12960
12961 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12962 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12963 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12964 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12965
6c9b0f68
JM
129662012-09-12 Joseph Myers <joseph@codesourcery.com>
12967
12968 [BZ #14518]
12969 * include/rounding-mode.h: New file.
12970 * sysdeps/generic/get-rounding-mode.h: Likewise.
12971 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12972 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12973 (MAX_VALUE): New macro.
12974 (MIN_VALUE): Likewise.
12975 (overflow_value): New function.
12976 (underflow_value): Likewise.
12977 (round_and_return): Use overflow_value and underflow_value to
12978 determine return values in overflow and underflow cases. Use
12979 round_away to determine rounding depending on rounding mode.
12980 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12981 determine return values in overflow and underflow cases.
12982 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12983 (struct test_results): New structure.
12984 (struct test): Use struct test_results to store expected results
12985 for all rounding modes.
12986 (TEST): Include expected results for all rounding modes.
12987 (test_in_one_mode): New function.
12988 (do_test): Use test_in_one_mode to compute and check results.
12989 Check results for all rounding modes.
12990 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12991 $(link-libm).
12992
19fcedd5
AM
129932012-12-09 Allan McRae <allan@archlinux.org>
12994
1e9d84cd 12995 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12996
8bbfd2f1
JM
129972012-09-11 Joseph Myers <joseph@codesourcery.com>
12998
12999 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13000 (_G_int32_t): Likewise.
13001 (_G_uint16_t): Likewise.
13002 (_G_uint32_t): Likewise.
13003 (_G_HAVE_BOOL): Likewise.
13004 (_G_HAVE_ATEXIT): Likewise.
13005 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13006 (_G_HAVE_IO_FILE_OPEN): Likewise.
13007 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13008 (_G_int32_t): Likewise.
13009 (_G_uint16_t): Likewise.
13010 (_G_uint32_t): Likewise.
13011 (_G_HAVE_BOOL): Likewise.
13012 (_G_HAVE_ATEXIT): Likewise.
13013 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13014 (_G_HAVE_IO_FILE_OPEN): Likewise.
13015 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13016 (_G_int32_t): Likewise.
13017 (_G_uint16_t): Likewise.
13018 (_G_uint32_t): Likewise.
13019 (_G_HAVE_BOOL): Likewise.
13020 (_G_HAVE_ATEXIT): Likewise.
13021 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13022 (_G_HAVE_IO_FILE_OPEN): Likewise.
13023
b1dc5912
L
130242012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13025
13026 * csu/libc-tls.c: Update copyright years.
13027
0e886ef9
JM
130282012-09-10 Joseph Myers <joseph@codesourcery.com>
13029
28361c5e
JM
13030 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13031 [!_G_USING_THUNKS]: Remove conditional code.
13032 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13033 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13034
0e886ef9
JM
13035 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13036 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13037 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13038 (_G_VTABLE_LABEL_PREFIX): Likewise.
13039 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13040 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13041 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13042 (_G_VTABLE_LABEL_PREFIX): Likewise.
13043 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13044 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13045 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13046 (_G_VTABLE_LABEL_PREFIX): Likewise.
13047 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13048
bcba7aa2
L
130492012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13050
13051 * libio/Makefile: Include ../Makeconfig before tests.
13052 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13053 only if $(build-shared) is yes.
13054
06585ee8
L
13055 * iconv/gconv_db.c: Update copyright years.
13056
80ccd52c
LD
130572012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13058
13059 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13060 unwind info if defined PIC. Fix special cases description.
13061 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13062
13063 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13064 DP_HI_MASK entry.
13065 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13066
691bc9c1
L
130672012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13068
3d9b46b3
L
13069 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13070
de2139a9
L
13071 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13072 is NULL.
13073
5ca78dd0
L
13074 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13075 (LDLIBS-tst-chk4): This.
13076 (LDFLAGS-tst-chk5): Renamed to ...
13077 (LDLIBS-tst-chk5): This.
13078 (LDFLAGS-tst-chk6): Renamed to ...
13079 (LDLIBS-tst-chk6): This.
13080 (LDFLAGS-tst-lfschk4): Renamed to ...
13081 (LDLIBS-tst-lfschk4): This.
13082 (LDFLAGS-tst-lfschk5): Renamed to ...
13083 (LDLIBS-tst-lfschk5): This.
13084 (LDFLAGS-tst-lfschk6): Renamed to ...
13085 (LDLIBS-tst-lfschk6): This.
13086
691bc9c1
L
13087 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13088 on $(common-objpfx)soversions.mk.
13089
65cafb1c
JM
130902012-09-07 Joseph Myers <joseph@codesourcery.com>
13091
13092 [BZ #10014]
13093 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13094 example host name.
13095
c78ab094
SP
130962012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13097
13098 * malloc/arena.c (arena_get_retry): New function that gets
13099 another arena for the caller to try its request on.
13100 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13101 current arena cannot fulfill the request.
13102 (__libc_memalign): Likewise.
13103 (__libc_memalign): Likewise.
13104 (__libc_pvalloc): Likewise.
13105 (__libc_calloc): Likewise.
13106
01f49f59
JT
131072012-09-05 John Tobey <john.tobey@gmail.com>
13108
13109 [BZ #13542]
13110 * manual/arith.texi (Operations on Complex): Fix description
13111 of carg branch cut.
13112
4c23fed5
JM
131132012-09-06 Joseph Myers <joseph@codesourcery.com>
13114
1d3c8572
JM
13115 [BZ #10014]
13116 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13117 host name.
13118
4c23fed5
JM
13119 [BZ #10038]
13120 * manual/memory.texi (Memory): Make order of menu items match
13121 order of sections.
13122
04570aaa
L
131232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13124
13125 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13126 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13127 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13128
b80af2f4
L
131292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13130
13131 * csu/libc-tls.c (static_dtv): Renamed to ...
13132 (_dl_static_dtv): This. Make it global.
13133 (_dl_initial_dtv): Removed.
13134 (__libc_setup_tls): Updated.
13135 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13136 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13137 DL_INITIAL_DTV.
13138
2abe9f15
PM
131392012-09-06 Petr Machata <pmachata@redhat.com>
13140
13141 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13142 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13143 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13144 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13145
0948c3af
L
131462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13147
13148 [BZ #14545]
13149 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13150 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13151 freeing dtv[-1].
13152
a5055ad1
L
131532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13154
13155 [BZ #14544]
13156 * Makeconfig (link-static-before-libc): Replace $(+prector)
13157 with $(+prectorT).
13158 (link-static-after-libc): Replace $(+postctor) with
13159 $(+postctorT).
13160 (link-bounded): Replace $(+prector)/$(+postctor) with
13161 $(+prectorT)/$(+postctorT).
13162 (+prectorT): New macro.
13163 (+postctorT): Likewise.
13164
ed8c2ecd
JM
131652012-09-06 Joseph Myers <joseph@codesourcery.com>
13166
13167 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13168 (round_str): Handle values above the maximum for IBM long double
13169 as inexact.
13170 * stdlib/tst-strtod-round.c (tests): Regenerated.
13171
14c996c8
AK
131722012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13173
13174 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13175 assembler flag.
13176 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13177 zarch_nohighgprs around the zarch optimized routines.
13178 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13179 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13180 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13181 for zarch.
13182
430d6ce6
DM
131832012-09-05 David S. Miller <davem@davemloft.net>
13184
13185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13186
ff04dda4
DM
13187 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13188 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13189 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13190 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13191 entries.
13192
24d4e01b
AO
131932012-09-05 Alexandre Oliva <aoliva@redhat.com>
13194
13195 * malloc/arena.c: Fold copyright years.
13196 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13197
61d58174
AO
131982012-09-05 Alexandre Oliva <aoliva@redhat.com>
13199
13200 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13201
20196a5e
AO
132022012-09-05 Alexandre Oliva <aoliva@redhat.com>
13203
13204 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13205
5c447383
AO
132062012-09-05 Alexandre Oliva <aoliva@redhat.com>
13207
13208 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13209 change internal state upon failure.
13210
fad64255
AO
132112012-09-05 Alexandre Oliva <aoliva@redhat.com>
13212
13213 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13214 * malloc/memusage.c (mmap): Likewise.
13215 (mmap64, mremap): Likewise. Adjust name in comment.
13216
1ffb8c90
SP
132172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13218
13219 * libio/fileops.c: Fix typos in comments.
13220 * libio/oldfileops.c: Likewise.
13221 * libio/wfileops.c: Likewise.
13222
6ef9cc37
SP
132232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13224
13225 [BZ #1349]
13226 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13227 (tst-malloc-usable-ENV): Set environment for test case.
13228 * malloc/hooks.c (malloc_check_get_size): New function to get
13229 requested size.
13230 * malloc/malloc.c (musable): Use malloc_check_get_size.
13231 * malloc/tst-malloc-usable.c: New test case.
13232
4d038ae3
AS
132332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13234
13235 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13236
c4e85184
AM
132372012-09-05 Allan McRae <allan@archlinux.org>
13238
b9dafc56 13239 [BZ #13966]
c4e85184
AM
13240 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13241 determine header location.
13242 * configure: Regenerated.
13243
e1343020
AS
132442012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13245
13246 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13247 float format.
13248 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13249 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13250 format.
e1343020
AS
13251 (test): Regenerate.
13252
0a9f1987
DM
132532012-09-04 David S. Miller <davem@davemloft.net>
13254
13255 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13256 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13257 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13258
29237804
FW
132592012-09-04 Florian Weimer <fweimer@redhat.com>
13260
13261 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13262 failures.
13263
edb3cb88
FW
13264 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13265
60160d83
JM
132662012-09-04 Joseph Myers <joseph@codesourcery.com>
13267
13268 [BZ #9914]
13269 * libio/iogetdelim.c: Include <limits.h>.
13270 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13271 + len + 1 would overflow.
13272
bcd6c8dc
AJ
132732012-09-03 Andreas Jaeger <aj@suse.de>
13274
13275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13276 * sysdeps/i386/fpu/libm-test-ulps: Update.
13277
4ffffbd2
LD
132782012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13279
13280 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13281 Add s_sinf-sse2, s_conf-sse2.
13282
13283 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13284 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13285 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13286 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13287
13288 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13289 for using routine as __sinf_ia32.
13290 Use macro for function declaration and weak_alias.
13291 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13292 for using routine as __cosf_ia32.
13293 Use macro for function declaration and weak_alias.
13294
13295 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13296 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13297
13298 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13299 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13301
13302 * math/libm-test.inc (cos_test): Add more test cases.
13303 (sin_test): Likewise.
13304 (sincos_test): Likewise.
13305
511fa286
AK
133062012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13307
13308 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13309 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13310 hidden.
13311 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13312
5f30cfec
L
133132012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13314
13315 [BZ #14538]
13316 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13317 first element of the GOT.
13318 (elf_machine_load_address): Return the difference between
13319 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13320
0786794f
AM
133212012-09-01 Allan McRae <allan@archlinux.org>
13322
5f30cfec
L
13323 [BZ #13412]
13324 * configure.in (AWK): Require gawk version 3.0 or later.
13325 * configure: Regenerated.
0786794f 13326
26889eac
JM
133272012-09-01 Joseph Myers <joseph@codesourcery.com>
13328
13329 * sysdeps/unix/sysv/linux/kernel-features.h
13330 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13331 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13332 [__NR_clock_getres]: Make code unconditional.
13333 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13334 (clock_getcpuclockid): Remove code left unreachable by removal of
13335 conditionals.
13336 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13337 code unconditional.
13338 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13339 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13340 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13341 Make code unconditional.
13342 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13343 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13344 * sysdeps/unix/sysv/linux/clock_settime.c
13345 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13346 conditional code.
13347 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13348 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13349
d22e28b0
L
133502012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13351
13352 [BZ #14476]
13353 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13354 scripts/test-installation.pl.
13355
13356 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13357 and $ld_so_version if it is set.
13358
050af9c4
SP
133592012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13360
13361 [BZ #14516]
13362 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13363 failure if reading from procfs failed.
13364 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13365
ad845c0b
JM
133662012-08-27 Joseph Myers <joseph@codesourcery.com>
13367
13368 * sysdeps/unix/sysv/linux/kernel-features.h
13369 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13370 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13371 Remove conditional code.
13372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13373 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13374 Remove conditional code.
13375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13376 * sysdeps/unix/sysv/linux/i386/fxstat.c
13377 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13379 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13380 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13382 * sysdeps/unix/sysv/linux/i386/lxstat.c
13383 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13385 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13386 Remove conditional code.
13387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13388 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13389 Remove conditional code.
13390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13391 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13392 <kernel-features.h>.
13393 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13394 Remove.
13395 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13396 Remove conditional code.
13397 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13398 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13399 Remove conditional.
13400
5dbf56af
MF
134012012-08-27 Mike Frysinger <vapier@gentoo.org>
13402
13403 [BZ #5400]
13404 * NEWS: Add fixed bug number.
13405
d6e70f43
JM
134062012-08-27 Joseph Myers <joseph@codesourcery.com>
13407
7efb4737
JM
13408 [BZ #14519]
13409 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13410 underflowing exponent in case of negative sign.
13411 * stdlib/tst-strtod-round-data: Add more tests.
13412 * stdlib/tst-strtod-round.c (tests): Regenerated.
13413
af92131a
JM
13414 [BZ #3479]
13415 * stdlib/strtod_l.c (NDIG): Remove.
13416 (HEXNDIG): Likewise.
13417 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13418 smallest representable value.
13419 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13420 lie within an exact representation of 1/2 ulp of the result.
13421 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13422 unconditionally.
13423 (TENS_P9_IDX): Define unconditionally.
13424 (TENS_P9_SIZE): Likewise.
13425 (TENS_P10_IDX): Likewise.
13426 (TENS_P10_SIZE): Likewise.
13427 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13428 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13429 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13430 entries for 10^2^13 and 10^2^14.
13431 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13432 (TENS_P13_IDX): Define.
13433 (TENS_P13_SIZE): Likewise.
13434 (TENS_P14_IDX): Likewise.
13435 (TENS_P14_SIZE): Likewise.
13436 (_fpioconst_pow10): Change array size to
13437 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13438 unconditional.
13439 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13440 1024]: Add entries for 10^2^13 and 10^2^14.
13441 [LAST_POW10 > _LAST_POW10]: Remove #error.
13442 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13443 (_fpioconst_pow10): Change array size to
13444 FPIOCONST_POW10_ARRAY_SIZE.
13445 * stdlib/gen-fpioconst.c: New file.
13446 * stdlib/gen-tst-strtod-round.c: Likewise.
13447 * stdlib/tst-strtod-round-data: Likewise.
13448 * stdlib/tst-strtod-round.c: Likewise.
13449 * stdlib/Makefile (tests): Add tst-strtod-round.
13450
d6e70f43
JM
13451 [BZ #14459]
13452 * stdlib/strtod_l.c: Include <stdint.h>.
13453 (NDEBUG): Do not define.
13454 (round_and_return): Change EXPONENT parameter to type intmax_t.
13455 Rearrange calculations to avoid internal overflow possibilities.
13456 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13457 Rearrange calculations to avoid internal overflow possibilities.
13458 Assert that number fits inside MPNSIZE limbs.
13459 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13460 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13461 calculations and add assertions to avoid internal overflow
13462 possibilities. Add casts to avoid signed/unsigned operations.
13463 * stdlib/tst-strtod-overflow.c: New file.
13464 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13465
1f529f7d
MP
134662012-08-25 Marek Polacek <polacek@redhat.com>
13467
13468 * time/time.h: Fix some typos in comments.
13469
59a629f1
RM
134702012-08-23 Roland McGrath <roland@hack.frob.com>
13471
13472 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13473 * posix/tst-rfc3484-2.c: Likewise.
13474 * posix/tst-rfc3484-3.c: Likewise.
13475
d3bafbc9
SM
134762012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13477
13478 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13479 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13480
4efcc022
JM
134812012-08-23 Joseph Myers <joseph@codesourcery.com>
13482
13483 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13484 #include of fxstatat64.c.
13485
3cc3ef96
RM
134862012-08-22 Roland McGrath <roland@hack.frob.com>
13487
f04e2132
RM
13488 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13489 * shadow/getspent_r.c: Likewise.
13490 * shadow/getspnam.c: Likewise.
13491 * shadow/getspnam_r.c: Likewise.
13492 * gshadow/getsgent.c: Likewise.
13493 * gshadow/getsgent_r.c: Likewise.
13494 * gshadow/getsgnam.c: Likewise.
13495 * gshadow/getsgnam_r.c: Likewise.
13496 * inet/getnetbyad.c: Likewise.
13497 * inet/getnetbyad_r.c: Likewise.
13498 * inet/getnetbynm.c: Likewise.
13499 * inet/getnetbynm_r.c: Likewise.
13500 * inet/getnetent.c: Likewise.
13501 * inet/getnetent_r.c: Likewise.
13502 * inet/getproto.c: Likewise.
13503 * inet/getproto_r.c: Likewise.
13504 * inet/getprtent.c: Likewise.
13505 * inet/getprtent_r.c: Likewise.
13506 * inet/getprtname.c: Likewise.
13507 * inet/getprtname_r.c: Likewise.
13508 * inet/getrpcbyname.c: Likewise.
13509 * inet/getrpcbyname_r.c: Likewise.
13510 * inet/getrpcbynumber.c: Likewise.
13511 * inet/getrpcbynumber_r.c: Likewise.
13512 * inet/getrpcent.c: Likewise.
13513 * inet/getrpcent_r.c: Likewise.
13514 * inet/getaliasent.c: Likewise.
13515 * inet/getaliasent_r.c: Likewise.
13516 * inet/getaliasname.c: Likewise.
13517 * inet/getaliasname_r.c: Likewise.
13518 * nscd/getgrgid_r.c: Likewise.
13519 * nscd/getgrnam_r.c: Likewise.
13520 * nscd/gethstbyad_r.c: Likewise.
13521 * nscd/gethstbynm3_r.c: Likewise.
13522 * nscd/getpwnam_r.c: Likewise.
13523 * nscd/getpwuid_r.c: Likewise.
13524 * nscd/getsrvbynm_r.c: Likewise.
13525 * nscd/getsrvbypt_r.c: Likewise.
13526 * nscd/gai.c: Likewise.
13527
c53d909c
RM
13528 * configure.in (build_nscd): New substituted variable, set
13529 by --disable-build-nscd and defaults to $use_nscd.
13530 * configure: Regenerated.
13531 * config.make.in (build-nscd): New substituted variable.
13532 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13533 Change conditional to require [$(build-nscd) = yes] as well.
13534 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13535
3cc3ef96
RM
13536 [BZ# 13696]
13537 * configure.in (use_nscd): New substituted variable, set by
13538 --disable-nscd. If enabled, define USE_NSCD.
13539 * configure: Regenerated.
13540 * config.h.in: Add USE_NSCD.
13541 * config.make.in (use-nscd): New substituted variable.
13542 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13543 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13544 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13545 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13546 (CFLAGS-getgrnam_r.c): Likewise.
13547 (CFLAGS-initgroups.c): Likewise.
13548 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13549 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13550 Variables removed.
13551 * inet/getnetgrent_r.c
13552 (nscd_setnetgrent): New function, broken out of ...
13553 (setnetgrent): ... here. Call it.
13554 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13555 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13556 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13557 * nscd/Makefile (routines, aux): Move definitions after include of
13558 Makeconfig. Conditionalize on [$(use-nscd) != no].
13559 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13560 Conditionalize on [USE_NSCD].
13561 (is_nscd, nscd_init_cb): Likewise.
13562 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13563 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13564 * nss/nss_db/db-init.c: Likewise.
13565 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13566 [USE_NSCD].
13567 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13568 (make_request): Use it.
13569 (cache_valid_p): New function.
13570 (__check_pf): Use it.
13571 * NEWS: Add item for --disable-nscd.
13572
07e51550
DL
135732012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13574
13575 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13576 to support sed >= 4.2.1-20-ga9bf076.
13577 * configure: Regenerated.
13578
35a5b08b
RM
135792012-08-22 Roland McGrath <roland@hack.frob.com>
13580
13581 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13582 Conditionalize whole body on [IREL].
13583
8479f23a
JL
135842012-08-22 Jeff Law <law@redhat.com>
13585
13586 [BZ #14505]
13587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13588 if the family is PF_UNSPEC.
13589
48da0b21
MF
135902012-08-22 Mike Frysinger <vapier@gentoo.org>
13591
13592 * Makerules (lib-version): Rename from V.
13593 (install-lib-nosubdir): Change V to lib-version.
13594
15d0da8c
WS
135952012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13596
13597 [BZ #14252]
13598 * powerpc32/power6/wcschr.c: New file.
13599 * powerpc32/power6/wcscpy.c: New file.
13600 * powerpc32/power6/wcsrchr.c: New file.
13601 * powerpc64/power6/wcschr.c: New file.
13602 * powerpc64/power6/wcscpy.c: New file.
13603 * powerpc64/power6/wcsrchr.c: New file.
13604
bcca0895
MK
136052012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13606
13607 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13608 (two_way_short_needle): Use it.
5a4aaa33
RM
13609 * string/strstr.c (AVAILABLE1_USES_J): Define.
13610 * string/strcasestr.c: Likewise.
99677e57
MK
13611
13612 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13613 array references.
13614 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13615
400726de
MK
13616 [BZ #11607]
13617 * NEWS: Add an entry.
13618 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13619 define their defaults.
13620 (two_way_short_needle): Detect end-of-string on-the-fly.
13621 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13622 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13623 * string/bug-strcasestr1.c: New test.
13624 * string/Makefile: Run it.
13625
20a71f2c
MK
136262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13627
13628 [BZ #11607]
13629 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13630 the first character.
13631
21ad0558
RM
136322012-08-21 Roland McGrath <roland@hack.frob.com>
13633
13634 * csu/elf-init.c (__libc_csu_irel): Function removed.
13635 * csu/libc-start.c (apply_irel): New function.
13636 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13637
0e1d9911
JM
136382012-08-21 Joseph Myers <joseph@codesourcery.com>
13639
13640 * sysdeps/unix/sysv/linux/kernel-features.h
13641 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13642 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13643 <kernel-features.h>.
13644 [__NR_fadvise64_64]: Make code unconditional.
13645 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13646 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13647 !__NR_fadvise64_64)]: Likewise.
13648 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13649 !__NR_fadvise64_64))]: Likewise.
13650 [__NR_fadvise64]: Make code unconditional.
13651 [!__NR_fadvise64]: Remove conditional code.
13652 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13653 <kernel-features.h>.
13654 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13655 unconditional.
13656 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13657 conditional code.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13659 not include <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/s390/s390-32/posix_fadvise64.c: Do not
13665 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
14a50c9d
WS
136712012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13672
13673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13674 slight instruction rearrangements per scrollpipe analysis.
13675 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13676
c0f4faf0
RM
136772012-08-20 Roland McGrath <roland@hack.frob.com>
13678
696da859
RM
13679 * manual/syslog.texi (syslog; vsyslog, closelog):
13680 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13681 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13682
c0f4faf0
RM
13683 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13684 DSOCAPS to match condition on defining it.
13685
348363b2
JM
136862012-08-20 Joseph Myers <joseph@codesourcery.com>
13687
a35cbf28
JM
13688 * sysdeps/unix/sysv/linux/kernel-features.h
13689 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13691 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13692 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13694 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13695 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13697 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13698 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13699
445f7ecd
JM
13700 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13701 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13702
348363b2
JM
13703 * sysdeps/unix/sysv/linux/kernel-features.h
13704 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13705 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13706 unconditional.
13707 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13708 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13709 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13710 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13711 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13712 Make code unconditional.
13713 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13714 (__mmap64) [!__NR_mmap2]: Likewise.
13715 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13716 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13717 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13718 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13719 [__NR_mmap2]: Make code unconditional.
13720 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13721 (__mmap64) [!__NR_mmap2]: Likewise.
13722
bc5bc0e5
AK
137232012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13724
13725 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13726
88d506de
AJ
137272012-08-18 Andreas Jaeger <aj@suse.de>
13728
13729 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13730
493387d2
MF
137312012-08-18 Mike Frysinger <vapier@gentoo.org>
13732
13733 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13734 * include/unistd.h (__have_sock_cloexec): Likewise.
13735 (__have_pipe2): Likewise.
13736 (__have_dup3): Likewise.
13737
a277af22
MF
137382012-08-18 Mike Frysinger <vapier@gentoo.org>
13739
13740 [BZ #9685]
13741 * include/unistd.h (__have_pipe2): Change define into an extern int.
13742 (__have_dup3): Likewise.
13743 * socket/have_sock_cloexec.c: Include fcntl.h.
13744 (__have_pipe2): New variable.
13745 (__have_dup3): Likewise.
13746
fdab8fd3
MF
137472012-08-17 Mike Frysinger <vapier@gentoo.org>
13748
13749 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13750
31035e80
MP
137512012-08-17 Marek Polacek <polacek@redhat.com>
13752
13753 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13754 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13755
3bd9e993
RM
137562012-08-17 Roland McGrath <roland@hack.frob.com>
13757
c91c505f
RM
13758 * configure.in: Add AC_SUBST for sysheaders.
13759 * configure: Regenerated.
13760 * config.make.in (sysheaders): New substituted variable.
13761
7c6f9d53
RM
13762 * sysdeps/unix/mkfifo.c: Moved ...
13763 * sysdeps/posix/mkfifo.c: ... here.
13764 * sysdeps/unix/mkfifoat.c: Moved ...
13765 * sysdeps/posix/mkfifoat.c: ... here.
13766
13767 * sysdeps/unix/utime.c: Moved ...
13768 * sysdeps/posix/utime.c: ... here.
13769
13770 * sysdeps/unix/time.c: Moved ...
13771 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13772 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13773 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13774
13775 * sysdeps/unix/nice.c: Moved ...
13776 * sysdeps/posix/nice.c: ... here.
13777
13778 * sysdeps/unix/alarm.c: Moved ...
13779 * sysdeps/posix/alarm.c: ... here.
13780
3bd9e993
RM
13781 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13782
d1f09384
JL
137832012-08-17 Jeff Law <law@redhat.com>
13784
13785 * intl/Makefile (codeset_mo): New variable.
13786 ($(codeset_mo)): New target.
13787 (tst-codeset.out): Depend on that. Remove explicit rule.
13788 (tst-gettext3.out, tst-gettext5.out): Likewise.
13789 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13790 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13791 * intl/tst-codeset.sh: Remove.
13792 * intl/tst-gettext3.sh: Likewise.
13793 * intl/tst-gettext5.sh: Likewise.
13794
2ae1ae5c
RM
137952012-08-17 Roland McGrath <roland@hack.frob.com>
13796
c31fdb83
RM
13797 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13798 * sysdeps/unix/syscalls.list: ... here.
13799
a0844057
RM
13800 * sysdeps/posix/getaddrinfo.c
13801 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13802 (gaiconf_init, gaiconf_reload): Use them.
13803 [!_STATBUF_ST_NSEC]
13804 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13805 Define using time_t rather than struct timespec.
13806
750c1f2a
RM
13807 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13808 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13809 Macros removed.
13810 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13811 [!NO_THREADS].
13812 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13813 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13814 Likewise.
13815
2ae1ae5c
RM
13816 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13817 __libc_cleanup_push argument.
13818
e66a42f5
RM
13819 * bits/param.h: New file.
13820 * misc/sys/param.h: New file.
13821 * include/sys/param.h: New file.
13822 * misc/Makefile (headers): Add bits/param.h.
13823 * sysdeps/generic/sys/param.h: File removed.
13824 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13825 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13826 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13827 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13828
b7c08a66
RM
13829 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13830 last change.
13831
b2e1c562
RM
13832 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13833 [_IO_MTSAFE_IO].
13834 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13835 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13836 New macros.
13837
c75ccd4c
RM
13838 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13839 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13840 rather than -D_IO_MTSAFE_IO conditionally.
13841 * stdio-common/Makefile (CPPFLAGS): Likewise.
13842 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13843 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13844 Use $(libio-mtsafe).
13845 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13846 of -D_IO_MTSAFE_IO.
13847 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13848 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13849 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13850 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13851 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13852 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13853 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13854 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13855 (CFLAGS-fread_u_chk.c): Likewise.
13856 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13857 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13858 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13859 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13860 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13861 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13862 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13863 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13864 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13865
13866 * libio/Makefile: Test [$(libc-reentrant) = yes]
13867 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13868
13869 * Makeconfig
13870 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13871 * sysdeps/pthread/configure: File removed.
13872 * sysdeps/pthread/Makeconfig: New file.
13873 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13874 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13875
d9195db8
GB
138762012-08-16 Gary Benson <gbenson@redhat.com>
13877
13878 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13879 unmapping the first object in a namespace.
13880
86466cd9
RM
138812012-08-16 Roland McGrath <roland@hack.frob.com>
13882
13883 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13884 (__internal_setnetgrent): ... this. Add internal_function to
13885 definition. Add libc_hidden_def.
13886 (setnetgrent): Update caller.
13887 (internal_endnetgrent): Renamed to ...
13888 (__internal_endnetgrent): ... this. Add internal_function to
13889 definition. Add libc_hidden_def.
13890 (endnetgrent): Update caller.
13891 (internal_getnetgrent_r): Renamed to ...
13892 (__internal_getnetgrent_r): ... this. Add internal_function to
13893 definition. Add libc_hidden_def.
13894 (__getnetgrent_r): Update caller.
13895 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13896
c3c8283c
JM
138972012-08-16 Joseph Myers <joseph@codesourcery.com>
13898
13899 * stdlib/longlong.h: Update from GCC.
13900
db1ee0a8
RM
139012012-08-16 Roland McGrath <roland@hack.frob.com>
13902
13903 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13904 on _QL, which is set by umul_ppmm but never used.
13905 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13906 variables, which are set by GMP macros but never used.
13907 * stdio-common/_itowa.c (_itowa): Likewise.
13908 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13909 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13910
30f69637
CD
139112012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13912
13913 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13914 struct La_sh_regs is not constant.
13915 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13916 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13917 and struct La_sparc64_regs are not constant.
13918
93a78ac4
JM
139192012-08-16 Joseph Myers <joseph@codesourcery.com>
13920
13921 * sysdeps/unix/sysv/linux/kernel-features.h
13922 (__ASSUME_POSIX_TIMERS): Remove.
13923 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13924 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13925 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13926 Make code unconditional.
13927 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13928 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13929 Make code unconditional.
13930 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13931 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13932 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13933 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13934 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13935 Make code unconditional.
13936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13937 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13938 (__libc_missing_posix_timers): Remove.
13939
dd924cd7
RM
139402012-08-15 Roland McGrath <roland@hack.frob.com>
13941
4b4f2771
RM
13942 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13943 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13944
601c888b
RM
13945 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13946
176790a7
RM
13947 * elf/dl-sym.c: Include <stdlib.h>.
13948
329bc018
RM
13949 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13950 constants, which avoids warnings in 32-bit builds.
13951
e04e272d
RM
13952 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13953 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13954
952bf94a
RM
13955 * misc/lseek.c: File moved to ...
13956 * io/lseek.c: ... here.
13957
7c99b50a
RM
13958 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13959
dd924cd7
RM
13960 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13961 shifting LEN more than 31 bits at once.
13962
b3f479a8
LD
139632012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13964
13965 [BZ #14195]
8c4ae0d4
RM
13966 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13967 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13968 * string/test-strncasecmp.c (check1): Renamed to...
13969 (bz12205): ...this.
13970 (bz14195): Add new testcase for two empty input strings and N > 0.
13971 (test_main): Call new testcase, adapt for renamed function.
13972
9c55864e
AJ
139732012-08-15 Andreas Jaeger <aj@suse.de>
13974
13975 [BZ #14090]
13976 * crypt/md5test2.c: New test, based on test supplied by Serge
13977 Belyshev <belyshev@depni.sinp.msu.ru>.
13978 * crypt/Makefile (xtests): Add md5test-giant..
13979 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13980
02dcb6c5
PE
139812012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13982
13983 [BZ #14090]
13984 * crypt/md5.c (md5_process_block): Don't assume the buffer
13985 length is less than 2**32.
13986 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13987 length is less than 2**64.
13988
a3f95dcc
RM
139892012-08-15 Roland McGrath <roland@hack.frob.com>
13990
be75d758
RM
13991 * string/str-two-way.h: Include <sys/param.h>.
13992 (MAX): Macro removed.
13993
7312ca90
RM
13994 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13995 Move #define and #undef of memmove to just before and after
13996 including <string.h>.
13997
9a0a5486
RM
13998 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13999 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14000 and after including <string.h>. Move declarations of
14001 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14002 to before #include "string/memmove.c".
14003
67cc348d
RM
14004 * include/dirent.h: Declare __getdirentries.
14005
a3f95dcc
RM
14006 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14007 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14008
ca98e171
MF
140092012-08-14 Mike Frysinger <vapier@gentoo.org>
14010
14011 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14012 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14013 * sysdeps/i386/configure: Regenerated.
14014 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14015 STABS_CURRENT_FILE, and STABS_FUN.
14016 (END): Remove call to STABS_FUN_END.
14017 (STABS_CURRENT_FILE1): Delete.
14018 (STABS_CURRENT_FILE): Likewise.
14019 (STABS_FUN): Likewise.
14020 (STABS_FUN_END): Likewise.
14021 (STABS_FUN2): Likewise.
14022 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14023 * sysdeps/x86_64/configure: Regenerated.
14024
5908bf46
RM
140252012-08-14 Roland McGrath <roland@hack.frob.com>
14026
14027 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14028 * elf/dl-lookup.c: Likewise.
5908bf46 14029
f2c05b9e
JM
140302012-08-14 Joseph Myers <joseph@codesourcery.com>
14031
14032 * sysdeps/unix/sysv/linux/kernel-features.h
14033 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14034 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14035 unconditionally.
14036 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14037 unconditionally.
14038 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14039 condition on __ASSUME_CLONE_THREAD_FLAGS.
14040
e11f5155
AJ
140412012-08-14 Andreas Jaeger <aj@suse.de>
14042
14043 * sysdeps/i386/fpu/libm-test-ulps: Update.
14044
51a9ba86
MK
140452012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14046
2fdd4f78
AJ
14047 * include/atomic.h (atomic_exchange_and_add): Split into ...
14048 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14049 New atomic macros.
51a9ba86 14050
ba6cba9e
MT
140512012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14052
14053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14054
42443a47
JL
140552012-08-13 Jeff Law <law@redhat.com>
14056
14057 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14058 null byte in the output string.
14059
121dce05
JM
140602012-08-10 Joseph Myers <joseph@codesourcery.com>
14061
14062 * sysdeps/unix/sysv/linux/kernel-features.h
14063 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14064 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14065 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14066 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14067 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14068 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14069 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14070
bf51f568
JL
140712012-08-09 Jeff Law <law@redhat.com>
14072
14073 [BZ #13939]
14074 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14075 When avoid_arena is set, don't retry in the that arena. Pick the
14076 next one, whatever it might be.
14077 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14078 (arena_lock): Pass in new parameter to arena_get2.
14079 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14080 arena_get2.
14081 (__libc_malloc): Unify retrying after main arena failure with
14082 __libc_memalign version.
14083 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14084
f85fa270
L
140852012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14086
14087 [BZ #14166]
14088 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14089 to __redirect_strstr.
14090 (__strstr_sse42): Use typeof __redirect_strstr.
14091 (__strstr_ia32): Likewise.
14092 (__libc_strstr): New prototype.
14093 (strstr): Renamed to ...
14094 (__libc_strstr): This.
14095 (strstr): New strong alias of __libc_strstr.
14096 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14097 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14098 __redirect_time.
14099 Include <time.h>.
14100 (__libc_time): New prototype.
14101 (time_ifunc): Replace time with __libc_time.
14102 (time): New strong alias and hidden definition of __libc_time.
14103 (__GI_time): Remove strong alias.
14104 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14105 Include <stddef.h>.
14106 (memmove): Redefined to __redirect_memmove.
14107 (__memmove_sse2): Use typeof __redirect_memmove.
14108 (__memmove_ssse3): Likewise.
14109 (__memmove_ssse3_back): Likewise.
14110 (__libc_memmove): New prototype.
14111 (memmove): Renamed to ...
14112 (__libc_memmove): This.
14113 (memmove): New strong alias of __libc_memmove.
14114
33b4a91e
MS
141152012-08-08 Mark Salter <msalter@redhat.com>
14116
14117 * elf/elf.h
14118 (R_MN10300_TLS_GD): Define.
14119 (R_MN10300_TLS_LD): Likewise.
14120 (R_MN10300_TLS_LDO): Likewise.
14121 (R_MN10300_TLS_GOTIE): Likewise.
14122 (R_MN10300_TLS_IE): Likewise.
14123 (R_MN10300_TLS_LE): Likewise.
14124 (R_MN10300_TLS_DTPMOD): Likewise.
14125 (R_MN10300_TLS_DTPOFF): Likewise.
14126 (R_MN10300_TLS_TPOFF): Likewise.
14127 (R_MN10300_SYM_DIFF): Likewise.
14128 (R_MN10300_ALIGN): Likewise.
14129 (R_MN10300_NUM): Update.
14130
b36137f1
JM
141312012-08-08 Joseph Myers <joseph@codesourcery.com>
14132
14133 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14134 Remove.
14135
cdd915fd
RM
141362012-08-08 Roland McGrath <roland@hack.frob.com>
14137
a2433aac
RM
14138 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14139
cdd915fd
RM
14140 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14141 sysdeps/unix -> sysdeps/posix move.
14142 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14143
bf9b740a
AM
141442012-08-07 Allan McRae <allan@archlinux.org>
14145
14146 [BZ #14303]
14147 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14148 (SUNOS_CPP): Likewise.
14149 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14150 not found.
14151 (open_input): Call CPP using execvp.
14152
93df14ee
JM
141532012-08-07 Joseph Myers <joseph@codesourcery.com>
14154
14155 * sysdeps/unix/sysv/linux/kernel-features.h
14156 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14157 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14158 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14159 (__ASSUME_WAITID_SYSCALL): Likewise.
14160 * sysdeps/unix/sysv/linux/dl-execstack.c
14161 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14162 code unconditional.
14163 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14164 conditional code.
14165 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14166 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14167 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14168 code.
14169 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14170 unconditional.
14171 [__ASSUME_WAITID_SYSCALL]: Likewise.
14172 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14173
d34689de
RM
141742012-08-07 Roland McGrath <roland@hack.frob.com>
14175
a281decc
RM
14176 * sysdeps/unix/closedir.c: Renamed to ...
14177 * sysdeps/posix/closedir.c: ... here.
14178 * sysdeps/unix/dirfd.c: Renamed to ...
14179 * sysdeps/posix/dirfd.c: ... here.
14180 * sysdeps/unix/dirstream.h: Renamed to ...
14181 * sysdeps/posix/dirstream.h: ... here.
14182 * sysdeps/unix/fdopendir.c: Renamed to ...
14183 * sysdeps/posix/fdopendir.c: ... here.
14184 * sysdeps/unix/opendir.c: Renamed to ...
14185 * sysdeps/posix/opendir.c: ... here.
14186 * sysdeps/unix/readdir.c: Renamed to ...
14187 * sysdeps/posix/readdir.c: ... here.
14188 * sysdeps/unix/readdir_r.c: Renamed to ...
14189 * sysdeps/posix/readdir_r.c: ... here.
14190 * sysdeps/unix/rewinddir.c: Renamed to ...
14191 * sysdeps/posix/rewinddir.c: ... here.
14192 * sysdeps/unix/seekdir.c: Renamed to ...
14193 * sysdeps/posix/seekdir.c: ... here.
14194 * sysdeps/unix/telldir.c: Renamed to ...
14195 * sysdeps/posix/telldir.c: ... here.
14196 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14197 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14198 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14199 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14200
22895b47
RM
14201 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14202 * bits/fcntl.h: ... here.
14203
707a53b6
RM
14204 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14205 not 0.
14206 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14207 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14208 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14209 (struct flock): Move l_start, l_len to the beginning.
14210 Use __pid_t for l_pid.
14211 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14212 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14213 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14214 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14215 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14216 [__USE_LARGEFILE64] (struct flock64): New type.
14217 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14218
f0bd3e25
RM
14219 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14220 * bits/dirent.h: ... here.
14221
d34689de
RM
14222 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14223 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14224
6dad2c06
JM
142252012-08-07 Joseph Myers <joseph@codesourcery.com>
14226
14227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14228 Change from 2.6.0 to 2.6.16.
14229 * sysdeps/unix/sysv/linux/configure: Regenerated.
14230 * sysdeps/unix/sysv/linux/kernel-features.h
14231 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14232 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14233 version.
14234 (__ASSUME_UTIMES): Likewise.
14235 (__ASSUME_CLONE_STOPPED): Remove.
14236 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14237 architectures, not kernel version.
14238 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14239 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14240 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14241 (__ASSUME_WAITID_SYSCALL): Likewise.
14242 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14243 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14244 * README: State 2.6.16 as minimum Linux kernel version. Do not
14245 refer to older versions.
14246
03af9520
RM
142472012-08-06 Roland McGrath <roland@hack.frob.com>
14248
8e49df1d
RM
14249 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14250 Define alphasort64 as an alias.
14251 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14252 Define versionsort64 as an alias.
14253 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14254 Define scandir64 as an alias.
14255 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14256 Define scandirat64 as an alias.
14257 * dirent/alphasort64.c (alphasort64):
14258 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14259 * dirent/versionsort64.c: Likewise.
14260 * dirent/scandir64.c: Likewise.
14261 * dirent/scandirat64.c: Likewise.
14262 * sysdeps/wordsize-64/alphasort.c: File removed.
14263 * sysdeps/wordsize-64/alphasort64.c: File removed.
14264 * sysdeps/wordsize-64/scandir.c: File removed.
14265 * sysdeps/wordsize-64/scandir64.c: File removed.
14266 * sysdeps/wordsize-64/scandirat.c: File removed.
14267 * sysdeps/wordsize-64/scandirat64.c: File removed.
14268 * sysdeps/wordsize-64/versionsort.c: File removed.
14269 * sysdeps/wordsize-64/versionsort64.c: File removed.
14270 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14271 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14272 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14273 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14274 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14275 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14276 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14277 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14278
14279 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14281 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14283 [defined __arch64__ || defined __sparcv9]
14284 (__INO_T_MATCHES_INO64_T): New macro.
14285 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14286 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14287 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14288 * sysdeps/unix/sysv/linux/bits/dirent.h
14289 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14290 (_DIRENT_MATCHES_DIRENT64): New macro.
14291
03af9520
RM
14292 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14293 Define lockf64 as an alias.
14294 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14295 Define fseeko64 as an alias.
14296 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14297 Define ftello64 as an alias.
14298 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14299 Define _IO_fgetpos64 and fgetpos64 as aliases.
14300 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14301 Define _IO_fsetpos64 and fsetpos64 as aliases.
14302 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14303 Conditionalize body on this.
14304 * libio/fseeko64.c: Likewise.
14305 * libio/ftello64.c: Likewise.
14306 * libio/iofgetpos64.c: Likewise.
14307 * libio/iofsetpos64.c: Likewise.
14308 * sysdeps/wordsize-64/lockf.c: File removed.
14309 * sysdeps/wordsize-64/lockf64.c: File removed.
14310 * sysdeps/wordsize-64/fseeko.c: File removed.
14311 * sysdeps/wordsize-64/fseeko64.c: File removed.
14312 * sysdeps/wordsize-64/ftello.c: File removed.
14313 * sysdeps/wordsize-64/ftello64.c: File removed.
14314 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14315 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14316 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14317 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14318 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14319 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14320 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14321 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14322 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14323 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14324 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14325 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14326 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14327 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14328
14329 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14330 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14331 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14332 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14333 [defined __arch64__ || defined __sparcv9]
14334 (__OFF_T_MATCHES_OFF64_T): New macro.
14335 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14336 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14338 (__OFF_T_MATCHES_OFF64_T): New macro.
14339
c5757acd
L
143402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 * stdlib/secure-getenv.c (__secure_getenv): Replace
14343 GLIBC_2_16 with GLIBC_2_17.
14344
3a31811e
L
143452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14346
14347 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14348 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14349
faa2bccb
DM
143502012-08-03 David S. Miller <davem@davemloft.net>
14351
14352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14353
85fe1997
JM
143542012-08-03 Joseph Myers <joseph@codesourcery.com>
14355
14356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14357 Remove.
14358 (__ASSUME_CORRECT_SI_PID): Likewise.
14359 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14360 (__ASSUME_TMPFS_NAME): Likewise.
14361 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14362 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14363 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14364 (HAVE_AUX_SECURE): Make definition unconditional.
14365 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14366 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14367
4f75b7a0
RM
143682012-08-03 Roland McGrath <roland@hack.frob.com>
14369
14370 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14371 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14372 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14373 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14374 __eloop_threshold instead of SYMLOOP_MAX.
14375
14376 * sysdeps/generic/eloop-threshold.h: New file.
14377 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14378 of MAXSYMLINKS.
14379 * elf/chroot_canon.c (chroot_canon): Likewise.
14380
7aab07e4
JM
143812012-08-03 Joseph Myers <joseph@codesourcery.com>
14382
14383 [BZ #13717]
14384 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14385 Change to 2.6.0 everywhere.
14386 * sysdeps/unix/sysv/linux/configure: Regenerated.
14387 * sysdeps/unix/sysv/linux/kernel-features.h
14388 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14389 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14390 kernel versions.
14391 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14392 (__ASSUME_FUTEX_REQUEUE): Remove.
14393 (__ASSUME_STATFS64): Define unconditionally.
14394 (__ASSUME_AT_SECURE): Likewise.
14395 (__ASSUME_CORRECT_SI_PID): Likewise.
14396 (__ASSUME_TGKILL): Define without depending on kernel version for
14397 i386.
14398 (__ASSUME_UTIMES): Likewise.
14399 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14400 kernel version.
14401 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14402 (__ASSUME_TMPFS_NAME): Likewise.
14403 * README: Update reference to Linux kernel versions.
14404
b67e9372
MP
144052012-08-02 Marek Polacek <polacek@redhat.com>
14406
1f529f7d 14407 [BZ# 14150]
b67e9372
MP
14408 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14409 libc_cv_asm_type_prefix with %.
14410 * configure: Regenerated.
d2441631
RM
14411 * include/libc-symbols.h: Remove comment about
14412 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14413 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14414 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14415 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14416 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14417 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14418 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14419 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14420 * elf/tst-unique2mod1.c: Likewise.
14421 * elf/tst-unique1mod2.c: Likewise.
14422 * elf/tst-unique1mod1.c: Likewise.
14423 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14424 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14425 Replace ASM_TYPE_DIRECTIVE with .type.
14426 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14427 * sysdeps/i386/sysdep.h: Likewise.
14428 * sysdeps/x86_64/sysdep.h: Likewise.
14429 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14431 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14432 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14433 * sysdeps/powerpc/powerpc32/sysdep.h:
14434 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14435 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14436 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14437 * sysdeps/i386/fpu/e_powf.S: Likewise.
14438 * sysdeps/i386/fpu/e_expl.S: Likewise.
14439 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14440 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14441 * sysdeps/i386/fpu/e_pow.S: Likewise.
14442 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14443 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14444 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14445 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14446 * sysdeps/i386/fpu/e_log2.S: Likewise.
14447 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14448 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14449 * sysdeps/i386/fpu/e_powl.S: Likewise.
14450 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14451 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14452 * sysdeps/i386/fpu/e_logl.S: Likewise.
14453 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14454 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14455 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14456 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14457 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14458 * sysdeps/i386/fpu/e_log.S: Likewise.
14459 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14460 * sysdeps/i386/fpu/e_logf.S: Likewise.
14461 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14462 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14463 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14464 * sysdeps/i386/fpu/e_log10.S: Likewise.
14465 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14466 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14467 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14468 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14469 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14470 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14471 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14472 * sysdeps/i386/i686/strtok.S: Likewise.
14473 * sysdeps/i386/i386-mcount.S: Likewise.
14474 * sysdeps/i386/strtok.S: Likewise.
14475 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14476 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14477 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14478 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14479 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14481 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14482 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14483 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14484 * sysdeps/x86_64/_mcount.S: Likewise.
14485 * sysdeps/x86_64/strtok.S: Likewise.
14486 * sysdeps/sh/_mcount.S: Likewise.
14487
2747bf9a
RM
144882012-08-01 Roland McGrath <roland@hack.frob.com>
14489
14490 * libio/iofopen.c: Include <fcntl.h>.
14491 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14492 (_IO_fopen64, fopen64): Define as aliases.
14493 * libio/iofopen64.c: Include <fcntl.h>.
14494 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14495 Conditionalize body on this.
14496 * sysdeps/wordsize-64/iofopen.c: File removed.
14497 * sysdeps/wordsize-64/iofopen64.c: File removed.
14498
3fb791b8
MP
144992012-08-01 Marek Polacek <polacek@redhat.com>
14500
14501 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14502 Use dlfcn directly instead of a variable.
14503 (binfmt-subdir): Do not define.
14504 (dlfcn): Likewise.
14505
a9f1039f
JM
145062012-08-01 Joseph Myers <joseph@codesourcery.com>
14507
23bddc06
JM
14508 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14509 Remove all definitions.
14510 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14511 <kernel-features.h>.
14512 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14513 (miss_F_GETOWN_EX): Remove all definitions.
14514 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14515 macro definition.
14516 [!__ASSUME_FCNTL64]: Remove conditional code.
14517 [__ASSUME_FCNTL64]: Make code unconditional.
14518 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14519 <kernel-features.h>.
14520 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14521 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14522 (lockf64) [__NR_fcntl64]: Make code unconditional.
14523 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14524
a9f1039f
JM
14525 * sysdeps/unix/sysv/linux/kernel-features.h
14526 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14527 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14528 Make code unconditional.
14529 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14530 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14532 [__NR_vfork]: Make code unconditional.
14533 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14534 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14536 [__NR_vfork]: Make code unconditional.
14537 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14538 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14539
09c0ee5f
RM
145402012-08-01 Roland McGrath <roland@hack.frob.com>
14541
48aec5b9
RM
14542 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14543 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14544
cd97c966
RM
14545 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14546 Define mkstemp64 as an alias.
3f55550c
RM
14547 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14548 Define mkstemps64 as an alias.
cd97c966
RM
14549 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14550 Define mkostemp64 as an alias.
b8625cfc
RM
14551 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14552 Define mkostemps64 as an alias.
cd97c966
RM
14553 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14554 Conditionalize body on this.
14555 * misc/mkostemp64.c: Likewise.
b8625cfc 14556 * misc/mkostemps64.c: Likewise.
3f55550c 14557 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14558 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14559 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14560 * sysdeps/wordsize-64/mkostemp.c: File removed.
14561 * sysdeps/wordsize-64/mkstemp.c: File removed.
14562 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14563 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14564 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14565 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14566
09c0ee5f
RM
14567 [BZ #14138]
14568 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14569 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14570 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14571 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14572
14573 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14574 compat_symbol macros from <shlib-compat.h> rather than the underlying
14575 default_symbol_version and symbol_version macros, so that DEFAULT
14576 lines in shlib-versions are respected.
14577 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14578
7e66ee51
FW
145792012-08-01 Florian Weimer <fweimer@redhat.com>
14580
14581 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14582 Declare with warn_unused_result.
14583 (setgid, setregid, setegid, setresgid): Likewise.
14584 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14585 Likewise.
14586 * WUR-REPORT: Remove set*id functions.
14587
d2a54255
PT
145882012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14589
14590 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14591
7ecdb005
RM
145922012-07-31 Roland McGrath <roland@hack.frob.com>
14593
b4180a5e 14594 [BZ #10191]
789bd351
RM
14595 * include/sys/socket.h (__libc_accept, __libc_accept4):
14596 Add attribute_hidden.
14597 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14598
40ce302d
RM
14599 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14600 use of PTR_MANGLE.
14601 * inet/getnetgrent_r.c (setup): Likewise.
14602
7ecdb005
RM
14603 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14604
e2eabb2c
DM
146052012-07-31 David S. Miller <davem@davemloft.net>
14606
14607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14608
d0419dbf
JM
146092012-07-31 Joseph Myers <joseph@codesourcery.com>
14610
14611 [BZ #13629]
14612 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14613 value between 1.0 and 2.0 and smaller part has absolute value less
14614 than 1.0.
14615 * math/s_clog10.c (__clog10): Likewise.
14616 * math/s_clog10f.c (__clog10f): Likewise.
14617 * math/s_clog10l.c (__clog10l): Likewise.
14618 * math/s_clogf.c (__clogf): Likewise.
14619 * math/s_clogl.c (__clogl): Likewise.
14620 * math/libm-test.inc (clog_test): Add more tests.
14621 (clog10_test): Likewise.
14622 * sysdeps/i386/fpu/libm-test-ulps: Update.
14623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14624
2bc13872
FW
146252012-07-31 Florian Weimer <fweimer@redhat.com>
14626
14627 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14628 Exit with zero in case no suitable GID is found, and write a
14629 message to standard error.
14630
bea9b193
RM
146312012-07-30 Roland McGrath <roland@hack.frob.com>
14632
14633 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14634 rather than to 1.
14635 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14636 (MAXPATHLEN): Removed.
14637 (NOGROUP, NODEV): New macros.
14638 (setbit, clrbit, isset, isclr): New macros.
14639 (howmany, roundup, powerof2): New macros.
14640 (DEV_BSIZE): New macro.
14641
14642 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14643 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14644
14645 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14646 definition on [!__NO_LONG_DOUBLE_MATH].
14647
14648 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14649 PTR_MANGLE and PTR_DEMANGLE.
14650
14651 * socket/accept4.c (accept4): Rename to __libc_accept4.
14652 Define accept4 as a weak alias.
14653
14654 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14655 on [_DIRENT_HAVE_D_TYPE].
14656 * io/ftw.c (ftw_dir): Likewise.
14657
14658 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14659
14660 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14661
14662 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14663 Use the BSD numbers rather than the arbitrary ones we had.
14664 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14665 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14666 (SIGXCPU, SIGXFSZ): New macros.
14667 (_NSIG): Now 32.
14668
14669 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14670 initializer on [_LIBC_REENTRANT].
14671
14672 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14673 definitions inside [_POSIX_MAPPED_FILES].
14674
14675 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14676
14677 * dirent/opendir.c: Include <fcntl.h>.
14678
14679 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14680 (__libc_getspecific): Likewise.
14681 (__libc_key_create): Likewise.
14682
14683 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14684 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14685 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14686 (tmpfile64): Define as alias.
14687 * sysdeps/wordsize-64/tmpfile.c: File removed.
14688 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14690 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14691
14692 * stdio-common/vfscanf.c: Include <stdbool.h>.
14693 * nss/makedb.c: Likewise.
14694 * stdio-common/_i18n_number.h: Likewise.
14695 * argp/argp-help.c: Likewise.
14696 * posix/wordexp.c: Likewise.
14697 * sysdeps/posix/spawni.c: Likewise.
14698 * nss/nss_files/files-initgroups.c: Likewise.
14699 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14700 * nss/nss_files/files-initgroups.c: Likewise.
14701 * nss/nss_db/db-netgrp.c: Likewise.
14702 * nss/nss_db/db-initgroups.c: Likewise.
14703 * io/fchmodat.c: Include <sys/stat.h>.
14704
14705 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14706 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14707
14708 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14709 [HAVE_MMAP].
14710
14711 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14712 Add multiple inclusion protection.
14713
e5abc686
DM
147142012-07-27 David S. Miller <davem@davemloft.net>
14715
14716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14717
815e6fa3
GB
147182012-07-27 Gary Benson <gbenson@redhat.com>
14719
14720 [BZ #14298]
14721 * elf/rtld.c: Include <stap-probe.h>.
14722 (dl_main): Added static probes "init_start" and "init_complete".
14723 * elf/dl-load.c: Include <stap-probe.h>.
14724 (lose): Take new parameter "nsid".
14725 Added static probe "map_failed".
14726 (_dl_map_object_from_fd): Pass namespace id to lose.
14727 Added static probe "map_start".
14728 (open_verify): Pass namespace id to lose.
14729 * elf/dl-open.c: Include <stap-probe.h>.
14730 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14731 and "reloc_complete".
14732 * elf/dl-close.c: Include <stap-probe.h>.
14733 (_dl_close_worker): Added static probes "unmap_start" and
14734 "unmap_complete".
14735 * elf/rtld-debugger-interface.txt: New file documenting the above.
14736
9f98c16c
RM
147372012-07-26 Roland McGrath <roland@hack.frob.com>
14738
14739 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14740 rather than a string variable.
14741 * sunrpc/rpc_main.c (h_output): Likewise.
14742 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14743
f3c22df3
PT
147442012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14745
14746 * inet/check_native.c: New file.
14747
3129cfc6
JM
147482012-07-26 Joseph Myers <joseph@codesourcery.com>
14749
da865e95
JM
14750 [BZ #13629]
14751 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14752 if larger part has absolute value 1.0.
14753 * math/s_clog10.c (__clog10): Likewise.
14754 * math/s_clog10f.c (__clog10f): Likewise.
14755 * math/s_clog10l.c (__clog10l): Likewise.
14756 * math/s_clogf.c (__clogf): Likewise.
14757 * math/s_clogl.c (__clogl): Likewise.
14758 * math/libm-test.inc (clog_test): Add more tests.
14759 (clog10_test): Likewise.
14760 * sysdeps/i386/fpu/libm-test-ulps: Update.
14761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14762
3129cfc6
JM
14763 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14764 (pltexit): Likewise.
14765 (La_regs): Likewise.
14766 (La_retval): Likewise.
14767 (int_retval): Likewise.
14768 Update #error for removed macros to refer only to definitions in
14769 tst-audit.h.
14770 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14771 macro.
14772 (pltexit): Likewise.
14773 (La_regs): Likewise.
14774 (La_retval): Likewise.
14775 (int_retval): Likewise.
14776 * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
14801 macro.
14802 (pltexit): Likewise.
14803 (La_regs): Likewise.
14804 (La_retval): Likewise.
14805 (int_retval): Likewise.
14806 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14807 macro definitions in tst-audit.h.
14808 * sysdeps/i386/tst-audit.h: New file.
14809 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14810 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14811 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14812 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14813 * sysdeps/sh/tst-audit.h: Likewise.
14814 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14815 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14816 * sysdeps/x86_64/tst-audit.h: Likewise.
14817
bfc07087
AJ
148182012-07-26 Andreas Jaeger <aj@suse.de>
14819
b1b2aaf8
AJ
14820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14821 ptrace.
14822
14823 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14824 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14825 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14826 PTRACE_O_MASK.
14827 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14828 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14829 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14830
bfc07087
AJ
14831 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14832 value.
14833
14834 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14835 _sigsys.
14836 (si_call_addr, si_syscall, si_arch): Define new macro.
14837 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14838 _sigsys.
14839 (si_call_addr, si_syscall, si_arch): Define new marcro.
14840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14841 _sigsys.
14842 (si_call_addr, si_syscall, si_arch): Define new macro.
14843 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14844 _sigsys.
14845 (si_call_addr, si_syscall, si_arch): Define new macro.
14846
89b4b02f
JM
148472012-07-25 Joseph Myers <joseph@codesourcery.com>
14848
14849 [BZ #13717]
14850 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14851 Change to 2.4.21 where previously 2.4.1.
14852 * sysdeps/unix/sysv/linux/configure: Regenerated.
14853 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14854 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14855 Linux kernel version.
14856 (__ASSUME_STD_AUXV): Remove.
14857 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14858 kernel version.
14859 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14860 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14861 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14862 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14863 (__ASSUME_NETLINK_SUPPORT): Likewise.
14864 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14865 (__no_netlink_support): Remove conditional definition.
14866 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14867 Remove.
14868 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14869 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14870 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14871 (if_nameindex_ioctl): Remove.
14872 (if_nameindex_netlink): Do not handle __no_netlink_support.
14873 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14874 code.
14875 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14876 Remove conditional code.
14877 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14878 code.
14879 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14880 unconditional.
14881 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14882 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14883 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14884 Remove.
14885 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14886 [!__ASSUME_STD_AUXV]: Remove conditional code.
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14888 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14889 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14891 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14892 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14893 code.
14894 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14896 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14897 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14898 conditional code.
14899 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14901 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14902 code.
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14904 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14905 conditional code.
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14907 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14908 code unconditional.
14909 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14910 conditional code.
14911 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14912 unconditional.
14913 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14914 conditional code.
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14916 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14917 unconditional.
14918 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14919 conditional code.
14920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14921 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14922 code unconditional.
14923 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14924 conditional code.
14925 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14926 unconditional.
14927 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14928 conditional code.
14929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14930 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14931 code unconditional.
14932 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14933 conditional code.
14934 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14935 unconditional.
14936 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14937 conditional code.
14938
842a39cd
AS
149392012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14940
14941 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14942 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14943 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14944 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14945 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14946 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14947 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14948 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14949 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14950 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14951 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14952 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14953 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14954 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14955 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14956 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14957 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14958 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14959 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14961 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14962 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14963 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14964
84b3fd84
FW
149652012-07-25 Florian Weimer <fweimer@redhat.com>
14966
14967 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14968 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14969 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14970 Introduce __libc_secure_getenv.
0c7936d5
FW
14971 * stdlib/Versions (2.17): Add secure_getenv
14972 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14973 * stdlib/secure-getenv.c: Rename __secure_getenv to
14974 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14975 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14976 * stdlib/tst-secure-getenv.c: New.
14977 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14978 * manual/startup.texi (Environment Access): Document
14979 secure_getenv.
84b3fd84
FW
14980 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14981 __libc_secure_getenv.
14982 * inet/ruserpass.c (ruserpass): Likewise.
14983 * malloc/mtrace.c (mtrace): Likewise.
14984 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14985 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14986 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14987 * sysdeps/posix/tempname.c: Likewise. Evaluate
14988 HAVE_SECURE_GETENV.
14989 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14990 __secure_getenv to __libc_secure_getenv.
84b3fd84 14991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14993 Likewise.
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14995 Likewise.
14996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15003
56e49b71
JM
150042012-07-25 Joseph Myers <joseph@codesourcery.com>
15005
15006 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15007 (struct La_i86_retval): Likewise.
15008 (struct La_x86_64_regs): Likewise.
15009 (struct La_x86_64_retval): Likewise.
15010 (struct La_x32_regs): Likewise.
15011 (struct La_x32_retval): Likewise.
15012 (struct La_ppc32_regs): Likewise.
15013 (struct La_ppc32_retval): Likewise.
15014 (struct La_ppc64_regs): Likewise.
15015 (struct La_ppc64_retval): Likewise.
15016 (struct La_sh_regs): Likewise.
15017 (struct La_sh_retval): Likewise.
15018 (struct La_s390_32_regs): Likewise.
15019 (struct La_s390_32_retval): Likewise.
15020 (struct La_s390_64_regs): Likewise.
15021 (struct La_s390_64_retval): Likewise.
15022 (struct La_sparc32_regs): Likewise.
15023 (struct La_sparc32_retval): Likewise.
15024 (struct La_sparc64_regs): Likewise.
15025 (struct La_sparc64_retval): Likewise.
15026 (struct audit_ifaces): Remove architecture-specific pltenter and
15027 pltexit members.
15028 * sysdeps/i386/ldsodefs.h: New file.
15029 * sysdeps/powerpc/ldsodefs.h: Likewise.
15030 * sysdeps/s390/ldsodefs.h: Likewise.
15031 * sysdeps/sh/ldsodefs.h: Likewise.
15032 * sysdeps/sparc/ldsodefs.h: Likewise.
15033 * sysdeps/x86_64/ldsodefs.h: Likewise.
15034
354691b7
MP
150352012-07-25 Marek Polacek <polacek@redhat.com>
15036
15037 [BZ #6808]
15038 * math/libm-test.inc (yn_test): Add another test.
15039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15040 to ERANGE when the result is +-Inf.
15041 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15042 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15043 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15044 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15045
bf9e2071
JM
150462012-07-24 Joseph Myers <joseph@codesourcery.com>
15047
15048 * conform/data/time.h-data (NULL): Use macro-constant. Require
15049 equal to 0.
15050 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15051 clock_t.
15052 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15053
57633811
TS
150542012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15055
15056 * configure.in <sysdeps resolving>: Correct printing
15057 Implies_before.
15058 * configure: Regenerate.
15059
c23c33b0
TS
150602012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15061
15062 * math/w_ilogb.c: Include <limits.h>.
15063 * math/w_ilogbl.c: Likewise.
15064
b5982523
JM
150652012-07-20 Joseph Myers <joseph@codesourcery.com>
15066
15067 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15068 va_copy. Document allowing for unavailable va_copy only as
15069 pre-C99 compatibility.
15070 * manual/string.texi (Copying and Concatenation): Use va_copy
15071 instead of __va_copy in concat example.
15072
ac4ea442
PT
150732012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15074
15075 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15076 (__sendto): Use create_address_port. Initialize APORT and deallocate
15077 it if not null.
15078
f98eafbd
PT
15079 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15080 with O_NOLINK passed to __file_name_lookup.
15081
898c7aab
PT
15082 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15083 with O_NOLINK passed to __file_name_lookup.
15084
0ced335a
PT
15085 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15086 negative N or less than NGIDS.
15087
b3404dbd
PT
15088 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15089 type to string_t. Set ERANGE as errno and return it if NAME is not big
15090 enough. Use memcpy instead of strncpy.
15091
0f48659e
JM
150922012-07-20 Joseph Myers <joseph@codesourcery.com>
15093
15094 * elf/Makefile (check-data): Remove.
15095 (localplt.data): New vpath directive.
15096 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15097 instead of $(check-data).
15098 * scripts/data/localplt-generic.data: Move to ...
15099 * sysdeps/generic/localplt.data: ... here.
15100 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15101 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15102 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15104 ... here.
15105 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15107 ... here.
15108 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15110 ... here.
15111 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15113 ... here.
15114 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15116 ... here.
15117 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15119 ... here.
15120
d37cbdaa
AZ
151212012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15122
15123 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15124 PPC32 and PPC64 files.
15125 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15126 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15127
46f85fc2
AK
151282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15129
15130 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15131 __makecontext_ret to ...
15132 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15133 ... here and call exit if uc_link is NULL. New file.
15134 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15135 __makecontext_ret.S.
15136 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15137 __makecontext_ret to ...
15138 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15139 ... here and call exit if uc_link is NULL. New file.
15140 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15141 __makecontext_ret.S.
15142
08f43f9b
AK
151432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15144
15145 * elf/elf.h (R_390_IRELATIVE): New definition.
15146 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15147 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15148 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15150 (elf_machine_lazy_rel): Likewise.
15151 * sysdeps/s390/dl-irel.h: New file.
15152 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15153 * sysdeps/s390/s390-64/memset.S: New asm code.
15154 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15155 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15156 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15157 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15158 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15159 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15160 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15161 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15162 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15163 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15164 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15165 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15166 * sysdeps/s390/s390-32/memset.S: New asm code.
15167 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15168
3b05db33
MP
151692012-07-17 Marek Polacek <polacek@redhat.com>
15170
15171 [BZ #14349]
15172 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15173 * sysdeps/s390/s390-64/configure.in: Likewise.
15174 * sysdeps/sparc/configure.in: Likewise.
15175 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15176 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15177 * sysdeps/i386/configure.in: Likewise.
15178 * sysdeps/x86_64/configure.in: Likewise.
15179 * sysdeps/sh/configure.in: Likewise.
15180 * sysdeps/s390/s390-32/configure: Regenerated.
15181 * sysdeps/s390/s390-64/configure: Likewise.
15182 * sysdeps/x86_64/configure: Likewise.
15183 * sysdeps/sh/configure: Likewise.
15184 * sysdeps/powerpc/powerpc64/configure: Likewise.
15185 * sysdeps/powerpc/powerpc32/configure: Likewise.
15186 * sysdeps/sparc/configure: Likwise.
15187 * sysdeps/i386/configure: Likewise.
15188
a66877c6
MP
15189 * elf/dl-open.c: Comment fixes.
15190
cfc82fd8
JM
151912012-07-17 Joseph Myers <joseph@codesourcery.com>
15192
bd29910a
JM
15193 * Makefile [CXX] (check-data): Remove.
15194 [CXX] (c++-types.data): New vpath directive.
15195 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15196 vpath. Do not allow for C++ type data being missing.
15197 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15198 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15199 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15200 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15201 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15202 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15203 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15205 ... here.
15206 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15208 ... here.
15209 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15211 ... here.
15212 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15214 ... here.
15215 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15217 ... here.
15218 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15220 ... here.
15221 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15223 ... here.
15224 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15226
cfc82fd8
JM
15227 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15228 definitions to architecture-specific files.
15229 (TLS_IE): Likewise.
15230 (TLS_LD): Likewise.
15231 (TLS_GD): Likewise.
15232 * sysdeps/i386/tls-macros.h: New file.
15233 * sysdeps/powerpc/tls-macros.h: Likewise.
15234 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15235 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15236 * sysdeps/sh/tls-macros.h: Likewise.
15237 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15238 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15239 * sysdeps/x86_64/tls-macros.h: Likewise.
15240
f7db3170
TS
152412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15242
07cbfc23
TS
15243 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15244 zero value for regular exit case.
15245
f7db3170
TS
15246 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15247 (__start_context): Preserve zero value for regular exit case.
15248
dc97c227
TS
152492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15250 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15251
15252 * manual/setjmp.texi (setcontext): Clarify normal process
15253 termination when uc_link is the null pointer.
15254 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15255 exit call.
15256
d0cd7d02
AS
152572012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15258
15259 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15260 preprocessor. Test for each exception mask separately.
15261
dd318934
AJ
152622012-07-16 Andreas Jaeger <aj@suse.de>
15263
15264 * po/ru.po: Update from translation team.
15265
8048311a
JM
152662012-07-15 Joseph Myers <joseph@codesourcery.com>
15267
15268 * conform/data/string.h-data (NULL): Use macro-constant. Require
15269 equal to 0.
15270 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15271 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15272 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15273 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15275
b637d46e
AJ
152762012-07-13 Andreas Jaeger <aj@suse.de>
15277
15278 * po/fr.po: Update from translation team.
15279
541428fe
MP
152802012-07-12 Marek Polacek <polacek@redhat.com>
15281
15282 [BZ #14173]
15283 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15284 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15285 loop condition.
15286
ec332e94
JM
152872012-07-12 Joseph Myers <joseph@codesourcery.com>
15288
15289 [BZ #13717]
15290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15291 Change to 2.4.1 where previously 2.4.0.
15292 * sysdeps/unix/sysv/linux/configure: Regenerated.
15293 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15294 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15295 version.
15296 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15297 (__ASSUME_AT_CLKTCK): Remove.
15298 (__ASSUME_AT_PAGESIZE): Likewise.
15299 (__ASSUME_AT_XID): Likewise.
15300 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15301 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15302 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15303 unconditionally.
15304 (HAVE_AUX_PAGESIZE): Likewise.
15305 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15306 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15307 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15308
7b6e99be
JB
153092012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15310
15311 [BZ #14307]
15312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15313 the temporary buffer used to invoke __gethostbyname2_r,
15314 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15315 host_data / struct gaih_addrtuple.
15316 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15317 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15318 header file nss/nsswitch.h.
15319 * nss/nsswitch.h (global scope): Add definition of implementation
15320 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15321 resolv/nss_dns/dns-host.c).
15322
608404eb
AJ
153232012-07-11 Andreas Jaeger <aj@suse.de>
15324
15325 * po/fr.po: Update from translation team.
15326
71220aca
AJ
15327 * po/sv.po: Update from translation team
15328 * po/fr.po: Another update from translation team.
15329
28cfe843
AZ
153302012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15331
15332 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15333 for subnormals or multiply small sinh result by itself.
15334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15336
6b90f981
DM
153372012-07-11 David S. Miller <davem@davemloft.net>
15338
15339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15340
c6825772
AS
153412012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15342
15343 [BZ #14347]
15344 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15345 (INTERNAL_MARK): Shift it here.
15346
7b8e0d49
MP
153472012-07-10 Marek Polacek <polacek@redhat.com>
15348
15349 [BZ #14151]
15350 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15351 libc_cv_asm_global_directive with .globl.
15352 * configure: Regenerated.
15353 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15354 with .globl.
15355 * sysdeps/i386/configure: Regenerated.
15356 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15357 with .globl.
15358 * sysdeps/x86_64/configure: Regenerated.
15359 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15360 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15361 * elf/tst-unique2mod2.c: Likewise.
15362 * elf/tst-unique2mod1.c: Likewise.
15363 * elf/tst-unique1mod2.c: Likewise.
15364 * elf/tst-unique1mod1.c: Likewise.
15365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15366 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15368 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15369 * sysdeps/mach/sysdep.h: Likewise.
15370 * sysdeps/i386/sysdep.h: Likewise.
15371 * sysdeps/i386/i386-mcount.S: Likewise.
15372 * sysdeps/x86_64/_mcount.S: Likewise.
15373 * sysdeps/x86_64/sysdep.h: Likewise.
15374 * sysdeps/sh/_mcount.S: Likewise.
15375 * sysdeps/sh/sysdep.h: Likewise.
15376 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15377 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15378 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15379 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15380 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15381 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15382 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15383 * locale/localeinfo.h: Likewise.
15384 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15385 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15386
6c55cda3
RM
153872012-07-09 Roland McGrath <roland@hack.frob.com>
15388
15389 [BZ #14336]
15390 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15391 system".
15392 * manual/message.texi (The Uniforum approach): Likewise.
15393 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15394 (glibc iconv Implementation): Likewise.
15395
638a572e
JM
153962012-07-09 Joseph Myers <joseph@codesourcery.com>
15397
15398 [BZ #14337]
15399 * math/s_clog.c (__clog): Avoid scaling a value down where that
15400 could result in underflow.
15401 * math/s_clog10.c (__clog10): Likewise.
15402 * math/s_clog10f.c (__clog10f): Likewise.
15403 * math/s_clog10l.c (__clog10l): Likewise.
15404 * math/s_clogf.c (__clogf): Likewise.
15405 * math/s_clogl.c (__clogl): Likewise.
15406 * math/libm-test.inc (clog_test): Add more tests.
15407 (clog10_test): Likewise.
15408 * sysdeps/i386/fpu/libm-test-ulps: Update.
15409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15410
261f4859
AS
154112012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15412
0abaf3e4
AS
15413 [BZ #14283]
15414 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15415 by 7 not 8 to examine high bit of fractional part.
15416
261f4859
AS
15417 [BZ #14042]
15418 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15419 for call to __mcount_internal.
15420 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15421 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15422 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15423
f17ac40d
JM
154242012-07-06 Joseph Myers <joseph@codesourcery.com>
15425
9ad63c23
JM
15426 [BZ #14154]
15427 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15428 approximation for values within 0x1p-13f of an odd multiple of
15429 pi/4.
15430 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15431 exception. Add more tests.
15432 * sysdeps/i386/fpu/libm-test-ulps: Update.
15433
f17ac40d
JM
15434 [BZ #6778]
15435 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15436 inputs and return -1 for them. Do not check for +Inf in case not
15437 reachable for +Inf.
15438 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15439 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15440 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15441 and return -1 for them. Do not check for +Inf in case not
15442 reachable for +Inf.
15443 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15444 define.
15445 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15446 and return -1 for them. Do not check for +Inf in case not
15447 reachable for +Inf.
15448 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15449 spurious underflow.
15450 * sysdeps/i386/fpu/libm-test-ulps: Update.
15451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15452
fb21f89b
MF
154532012-07-06 Mike Frysinger <vapier@gentoo.org>
15454
15455 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15456
cdfe2c5e
JM
154572012-07-05 Joseph Myers <joseph@codesourcery.com>
15458
15459 [BZ #14157]
15460 [BZ #14331]
15461 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15462 could result in spurious underflow. Scale down values above
15463 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15464 * math/s_csqrtf.c (__csqrtf): Likewise.
15465 * math/s_csqrtl.c (__csqrtl): Likewise.
15466 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15467 spurious underflow.
15468 * sysdeps/i386/fpu/libm-test-ulps: Update.
15469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15470
70d35b67
AS
154712012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15472
704bc459
AS
15473 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15474 xopen-msg.sed.
15475 * catgets/xopen-msg.awk: New file.
15476 * catgets/xopen-msg.sed: Removed.
15477
70d35b67
AS
15478 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15479 po2text.sed.
15480 * intl/po2test.awk: New file.
15481 * intl/po2test.sed: Removed.
15482
ca61cf32
JM
154832012-07-04 Joseph Myers <joseph@codesourcery.com>
15484
15485 [BZ #14328]
15486 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15487 or multiply small sinh result by itself.
15488 * math/s_ctanf.c (__ctanf): Likewise.
15489 * math/s_ctanh.c (__ctanh): Likewise.
15490 * math/s_ctanhf.c (__ctanhf): Likewise.
15491 * math/s_ctanhl.c (__ctanhl): Likewise.
15492 * math/s_ctanl.c (__ctanl): Likewise.
15493 * math/libm-test.inc (ctan_test_tonearest): New function.
15494 (ctan_test_towardzero): Likewise.
15495 (ctan_test_downward): Likewise.
15496 (ctan_test_upward): Likewise.
15497 (ctanh_test_tonearest): Likewise.
15498 (ctanh_test_towardzero): Likewise.
15499 (ctanh_test_downward): Likewise.
15500 (ctanh_test_upward): Likewise.
15501 (main): Call these new functions.
15502 * sysdeps/i386/fpu/libm-test-ulps: Update.
15503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15504
ca48a46a
MF
155052012-07-03 Mike Frysinger <vapier@gentoo.org>
15506
15507 * .gitignore: Delete /ports entry.
15508
9d63d37d
AJ
155092012-07-03 Andreas Jaeger <aj@suse.de>
15510
15511 * po/bg.po: Update from translation team.
15512 * po/cs.po: Likewise.
15513 * po/de.po: Likewise.
15514 * po/hr.po: Likewise.
15515 * po/nl.pl: Likewise.
15516 * po/pl.po: Likewise.
15517 * po/vi.po: Likewise.
15518
370ca3d2
JM
155192012-07-03 Joseph Myers <joseph@codesourcery.com>
15520
95f5a9a8
JM
15521 * Makeconfig [!+link] (+link-before-libc): New variable.
15522 [!+link] (+link-after-libc): Likewise.
15523 [!+link] (+link-tests): Likewise.
15524 [!+link] (+link): Define in terms of $(+link-before-libc) and
15525 $(+link-after-libc).
15526 [!+link-static] (+link-static-before-libc): New variable.
15527 [!+link-static] (+link-static-after-libc): Likewise.
15528 [!+link-static] (+link-static-tests): Likewise.
15529 [!+link-static] (+link-static): Define in terms of
15530 $(+link-static-before-libc) and $(+link-static-after-libc).
15531 [build-shared] (link-libc-before-gnulib): New variable.
15532 [build-shared] (link-libc-tests): Likewise.
15533 [build-shared] (link-libc): Define in terms of
15534 $(link-libc-before-gnulib).
15535 [!build-shared] (link-libc-tests): New variable.
15536 (link-libc-static-tests): New variable.
15537 [!gnulib] (gnulib-arch): New variable.
15538 [!gnulib] (gnulib-tests): Likewise.
15539 [!gnulib] (static-gnulib-arch): Likewise.
15540 [!gnulib] (static-gnulib-tests): Likewise.
15541 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15542 Define with "=" instead of ":=".
15543 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15544 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15545 * Rules (binaries-all-notests): New variable.
15546 (binaries-all-tests): Likewise.
15547 (binaries-static-notests): Likewise.
15548 (binaries-static-tests): Likewise.
15549 (binaries-all): Define using $(binaries-all-notests) and
15550 $(binaries-all-tests).
15551 (binaries-static): Define using $(binaries-static-notests) and
15552 $(binaries-static-tests).
15553 (binaries-shared-tests): New variable.
15554 (binaries-shared-notests): Likewise.
15555 (binaries-shared): Remove variable.
15556 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15557 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15558 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15559 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15560 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15561 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15562 * elf/Makefile (sln-modules): New variable.
15563 (extra-objs): Add $(sln-modules:=.o).
15564 (ldconfig-modules): Add static-stubs.
15565 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15566 * elf/static-stubs.c: New file.
15567
7a845b2c
JM
15568 [BZ #14283]
15569 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15570 by 7 not 8 to examine high bit of fractional part. Use volatile
15571 variables when splitting into final array of floats if
15572 __FLT_EVAL_METHOD__ != 0.
15573 * math/libm-test.inc (cos_test): Add another test.
15574 (sin_test): Likewise.
15575 * sysdeps/i386/fpu/libm-test-ulps: Update.
15576
e2283f38
JM
15577 [BZ #14273]
15578 * math/libm-test.inc (cosh_test): Add more tests.
15579
370ca3d2
JM
15580 * version.h (RELEASE): Set to "development".
15581 (VERSION): Set to "2.16.90".
15582
ee9247c3
CD
155832012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15584
15585 * NEWS: Update copyright. Remove last-updated date.
15586 Mention math library bug fixes and timezone data changes.
15587 * README: Mention GNU/Hurd, x32, and HPPA support status.
15588
4648c381
TS
155892012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15590
15591 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15592
aac78a43
AJ
155932012-06-27 Andreas Jaeger <aj@suse.de>
15594
15595 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15596
ed3dbfad
AJ
155972012-06-25 Andreas Jaeger <aj@suse.de>
15598
15599 * sysdeps/s390/fpu/libm-test-ulps: Update.
15600
4d0ee855
AS
156012012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15602 Thomas Schwinge <thomas@codesourcery.com>
15603
15604 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15605 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15607 fanotify_mark.
15608
af1bce34
TS
156092012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15610
a9fa33ba
TS
15611 * sysdeps/mach/start.c: Remove file.
15612 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15613 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15614 * sysdeps/sh/init-first.c: Likewise.
15615
58f902b8
TS
15616 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15617 registers for frame unwinding purposes, add CFI directives.
15618 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15619 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15620 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15621 Likewise.
15622
1518f58b
TS
15623 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15624 __fortify_fail returning.
15625 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15626
db9b5059
TS
15627 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15628 sysdeps/sh/____longjmp_chk.S.
15629 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15630 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15631 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15632 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15633
967705fe
TS
15634 * sysdeps/sh/abort-instr.h: New file.
15635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15636 process in case exit returns.
15637
a9def8c4
TS
15638 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15639 initialize the GOT register before use.
15640
2a649725
TS
15641 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15642 calculation of ARGC > 4.
15643
af1bce34
TS
15644 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15645 meaningful names to some local labels.
15646
d230f50a
KK
156472012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15648 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15649
15650 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15651 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15652 (__arch_compare_and_exchange_val_16_acq): Likewise.
15653 (__arch_compare_and_exchange_val_32_acq): Likewise.
15654 (atomic_exchange_and_add): Fix gUSA sequence.
15655 (atomic_add): Likewise.
15656 (atomic_add_negative): Likewise.
15657 (atomic_add_zero): Likewise.
15658 (atomic_bit_test_set): Likewise.
15659
0479b305
AS
156602012-06-22 Andreas Schwab <schwab@redhat.com>
15661
15662 [BZ #13579]
15663 * include/link.h (struct link_map): Add l_free_initfini.
15664 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15665 l_initfini.
15666 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15667 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15668 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15669 set.
15670
0e3933b9
CD
156712012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15672
15673 * configure.in: Use AC_LANG_SOURCE.
15674 * configure: Regenerate.
15675
4248b1b1
RM
156762012-06-22 Roland McGrath <roland@hack.frob.com>
15677
15678 * configure.in (libc_cv_localstatedir): New substituted variable.
15679 * configure: Regenerated.
15680 * config.make.in (localstatedir): New variable, substituted from
15681 libc_cv_localstatedir.
15682 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15683 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15684 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15685 * sysdeps/gnu/configure: Regenerated.
15686
006dd861
JL
156872012-06-21 Jeff Law <law@redhat.com>
15688
15689 [BZ #14277]
15690 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15691 free. Simplify list management for _LIBC case.
15692
79662d42
JM
156932012-06-21 Joseph Myers <joseph@codesourcery.com>
15694
b7abb4bf
JM
15695 [BZ #14273]
15696 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15697 Clear sign bit of 64-bit integer value before comparing against
15698 overflow value.
15699
79662d42
JM
15700 * sysdeps/mach/configure: Regenerated.
15701
1f150908
L
157022012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15703
15704 [BZ #14278]
15705 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15706
28363bbf
JL
157072012-06-21 Jeff Law <law@redhat.com>
15708
15709 [BZ #13882]
15710 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15711 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15712 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15713 * elf/dl-open.c (dl_open_worker): Likewise.
15714
09615db4
CD
157152012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15716
15717 * scripts/list-sources.sh: Scan PORTS for translations.
15718 * po/libc.pot: Regenerated.
15719
2174c6dd
AJ
157202012-06-21 Andreas Jaeger <aj@suse.de>
15721
15722 [BZ #12194]
15723 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15724 warning.
15725 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15726 * bits/byteswap-16.h (__bswap_16): Likewise.
15727 * bits/byteswap.h (__bswap_constant_16): Likewise.
15728
3ee947b1
L
157292012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15730
15731 [BZ #14117]
a2f34833
L
15732 * sysdeps/i386/fpu_control.h: Removed.
15733 * sysdeps/x86_64/fpu_control.h: Moved to ...
15734 * sysdeps/x86/fpu_control.h: Here.
15735
3ee947b1
L
15736 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15737 (_FPU_SETCW): Likewise.
15738
ed1825f8
L
157392012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15740
25f1282a
L
15741 [BZ #14117]
15742 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15743 * sysdeps/x86/fpu/bits/mathinline.h: This.
15744 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15745
ed1825f8
L
15746 [BZ #14050]
15747 [BZ #14117]
15748 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15749 functions if __x86_64__ is defined.
15750
36d54b74
CLT
157512012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15752
15753 * string/endian.h: Add !__ASSEMBLER__ condition for including
15754 conversion interfaces.
15755
10285c21
JM
157562012-06-15 Joseph Myers <joseph@codesourcery.com>
15757
15758 [BZ #14241]
15759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15760 of ABS(x) in calculating zero to negative powers other than odd
15761 integers.
15762 * math/libm-test.inc (pow_test): Add more tests.
15763
06c5abbd
AJ
157642012-06-15 Andreas Jaeger <aj@suse.de>
15765
15766 * manual/contrib.texi (Contributors): Update entry of Liubov
15767 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15768 Machado Filho.
15769
a3aeac40
CH
157702012-06-15 Cyril Hrubis <metan@ucw.cz>
15771
15772 * string/string.h: Add __wur to GNU version of strerror_r.
15773
49bdf4c1
L
157742012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15775
15776 [BZ #14229]
15777 * string/Makefile (tests): Add tst-strtok_r.
15778 * string/tst-strtok_r.c: New file.
15779 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15780 RAX_LP/RDX_LP on SAVE_PTR.
15781
834f9b8d
RM
157822012-06-14 Roland McGrath <roland@hack.frob.com>
15783
15784 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15785
75fa1921
JM
157862012-06-14 Joseph Myers <joseph@codesourcery.com>
15787
15788 * libm_test.inc (csqrt_test): Allow more spurious underflow
15789 exceptions.
15790 (j0_test): Likewise.
15791 (j1_test): Likewise.
15792 (y0_test): Likewise.
15793 (y1_test): Likewise.
15794
771766df
CD
157952012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15796
15797 * po/Makefile (libc.pot): Use UTF-8 charset.
15798
ceb9e56b
PP
157992012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15800
15801 [BZ #14210]
15802 Suppress sign-conversion warning from FD_SET.
15803 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15804 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15805 not unsigned long int.
15806 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15807
ddb28975
L
158082012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15809
15810 [BZ #14050]
15811 [BZ #14117]
15812 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15813 __extern_always_inline instead of __extern_inline.
15814 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15815 (__signbit): Likewise.
15816 (__signbitl): Support C++ namespace.
15817 (lrintf): New inline function.
15818 (lrint): Likewise.
15819 (llrintf): Likewise.
15820 (llrint): Likewise.
15821 (fmaxf): Likewise.
15822 (fmax): Likewise.
15823 (fminf): Likewise.
15824 (fmin): Likewise.
15825 (rint): Likewise.
15826 (rintf): Likewise.
15827 (ceil): Likewise.
15828 (ceilf): Likewise.
15829 (floor): Likewise.
15830 (floorf): Likewise.
15831 (nearbyint): Likewise.
15832 (nearbyintf): Likewise.
15833
d7b4fb26
TS
158342012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15835
15836 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15837 non-default versions.
15838
eb55f5c2
RM
158392012-06-11 Roland McGrath <roland@hack.frob.com>
15840
15841 [BZ #14218]
15842 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15843
366af02c
TS
158442012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15845
99ff6e5c
TS
15846 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15847 (FE_UPWARD, FE_DOWNWARD): Don't define.
15848 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15849 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15850
366af02c
TS
15851 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15852 reading it.
15853 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15854 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15855
793ea851
KK
158562012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15857
15858 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15859 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15860 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15861 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15862
a728a38f
L
158632012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15864
15865 [BZ #14117]
c08010c7
L
15866 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15867 * sysdeps/i386/fpu/Implies: New file.
15868 * sysdeps/x86_64/fpu/Implies: Likewise.
15869 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15870 * sysdeps/x86/fpu/bits/fenv.h: This.
15871
a728a38f
L
15872 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15873 __SSE_MATH__.
15874
6e230d11
SP
158752012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15876
15877 [BZ #14134]
15878 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15879 character 0xffff that matches the last element of the
15880 conversion table.
15881
1b671feb
AZ
158822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15883
15884 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15885 fmodl commit.
15886
6043738b
AZ
158872012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15888
15889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15890 values higher than 25.6283.
15891
34ae0b32
AZ
158922012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15893
15894 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15895 subnormal exponent extraction and add some __builtin_expect.
15896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15897 Fix for subnormal mantissa calculation.
15898
1214ec8f
MF
158992012-06-04 Mike Frysinger <vapier@gentoo.org>
15900
15901 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15902 cpu2 is -1 and errno is not ENOSYS.
15903
f3d1f93c
L
159042012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15905
15906 [BZ #14117]
0e4a3cd7
L
15907 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15908 * sysdeps/x86/bits/string.h: This.
15909 * sysdeps/x86_64/bits/string.h: Removed.
15910
6704c645
L
15911 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15912 if not compiling for x86-64, but compiling for >= i486.
15913
48495318
L
15914 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15915 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15916
14adcbfc
L
15917 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15918 New macro from Linux kernel 3.4.0.
15919 (FP_XSTATE_MAGIC2): Likewise.
15920 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15921 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15922 (struct _fpx_sw_bytes): New struct.
15923 (struct _xsave_hdr): Likewise.
15924 (struct _ymmh_state): Likewise.
15925 (struct _xstate): Likewise.
15926
68e408ab
L
15927 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15928 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15930 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15931 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15932 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15933
f3d1f93c
L
15934 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15935 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15936 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15937 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15938 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15939 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15940
d9dc34cd
TMQMF
159412012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15942
15943 [BZ #13743]
15944 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15945 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15946 (sysdep_headers): Include sys/platform/ppc.h.
15947 * sysdeps/powerpc/test-gettimebase.c: Test for
15948 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15949 * manual/Makefile (appendices): Include platform.texi.
15950 * manual/contrib.texi (Contributors): Update @node pointers.
15951 * manual/maint.texi (Maintenance): Likewise.
15952 (Platform): New node.
15953 * manual/platform.texi: New file. Document the new features.
15954
4af3879c
SP
159552012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15956 Jakub Jelinek <jakub@redhat.com>
15957
15958 [BZ #14188]
15959 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15960 where __builtin_expect is unavailable.
15961
2fd6ff13
DM
159622012-06-03 David S. Miller <davem@davemloft.net>
15963
15964 * stdlib/longlong.h: Updated from GCC.
15965
173f7220
AS
159662012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15967
15968 [BZ #14042]
15969 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15970 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15971 __mcount_internal.
15972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15973 (GLIBC_2.16): Likewise.
15974
f34a1c6f
L
159752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15976
15977 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15978
88a4576f
JM
159792012-06-01 Joseph Myers <joseph@codesourcery.com>
15980
ea32bcdd
JM
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15982 (default-abi): New variable.
15983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15984 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15985 variable.
15986 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15987 Likewise.
15988 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15989 Likewise.
15990 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15991 Likewise.
15992
88a4576f
JM
15993 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15994 definition. Document in comment.
15995
402fe938
DM
159962012-06-01 David S. Miller <davem@davemloft.net>
15997
15998 * stdlib/longlong.h: Updated from GCC.
15999
3553723f
L
160002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16001
16002 [BZ #14117]
3bd872c4
L
16003 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16004 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16005 sys/debugreg.h sys/io.h here.
16006 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16007 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16008 sys/io.h.
16009 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16010 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16011 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16012 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16013 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16014 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16015
3553723f
L
16016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16017 Define only if __x86_64__ is defined.
16018
4842e4fe
JM
160192012-06-01 Joseph Myers <joseph@codesourcery.com>
16020
c5bfe3d5
JM
16021 [BZ #14048]
16022 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16023 Use int64_t for variable i.
16024 * math/libm-test.inc (fmod_test): Add more tests.
16025
4842e4fe
JM
16026 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16027 z computation is not scheduled after fetestexcept.
16028 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16029 Use math_force_eval instead of asm to ensure calculation scheduled
16030 before exception test.
16031 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16032 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16033
efb73488
AJ
160342012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16035
16036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16037 computation is not scheduled after fetestexcept.
16038
29bcce7c
L
160392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16040
16041 [BZ #14117]
16042 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16043 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16044
73a68f94
AZ
160452012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16046
16047 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16048 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16049
67b6df78
L
160502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16051
edf2933a 16052 [BZ #14117]
ebc64a18
L
16053 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16054 <bits/wordsize.h>.
16055 (__WCHAR_MIN): Support __WORDSIZE == 64.
16056 (__WCHAR_MAX): Likewise.
16057
edf2933a
L
16058 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16059 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16060
57c6cf40
L
16061 [BZ #14183]
16062 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16063 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16064
67b6df78 16065 [BZ #14117]
8eb6281e
L
16066 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16067 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16068
aac639f4
L
16069 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16070 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16071
67b6df78
L
16072 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16073 Defined to 1 if __x86_64__ isn't defined.
16074 (_STAT_VER_LINUX_OLD): New.
16075 (st_atime): Remove duplicate.
16076 (st_mtime): Likewise.
16077 (st_ctime): Likewise.
16078
1c2cfe81
DM
160792012-05-31 David S. Miller <davem@davemloft.net>
16080
16081 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16082 entries.
16083
5be8418c
AS
160842012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16085
e7725326
AS
16086 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16087 gen-libm-test.pl.
16088
5be8418c
AS
16089 [BZ #14132]
16090 * elf/dl-reloc.c: Include <_itoa.h>.
16091 (_dl_reloc_bad_type): Remove use of INTUSE.
16092 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16093 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16094 * stdio-common/psiginfo.c (psiginfo): Likewise.
16095 * stdio-common/psignal.c (psignal): Likewise.
16096 * string/strsignal.c (strsignal): Likewise.
16097 * include/signal.h (_sys_siglist): Declare hidden proto.
16098 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16099 INTVARDEF with libc_hidden_data_def.
16100 * stdio-common/itoa-udigits.c: Likewise.
16101 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16102 (_itoa_lower_digits_internal): Remove declaration.
16103 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16104 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16105 (_sys_sigabbrev_internal): Remove aliases.
16106 (_sys_siglist): Define hidden alias.
16107
507352f1
MT
161082012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16109
16110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16111 bits/sysctl.h.
16112
42bbb1c3
L
161132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16114
16115 [BZ #14117]
6bd784b6
L
16116 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16117 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16118
8bca20f0
L
16119 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16120 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16121 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16122 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16124 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16125
f9e890a9
L
16126 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16127 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16128 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16129
471101a1
L
16130 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16131 with __addr.
16132 (insw): Likewise.
16133 (insl): Likewise.
16134 (outsb): Likewise.
16135 (outsw): Likewise.
16136 (outsl): Likewise.
16137
6451c862
L
16138 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16140 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16141
a254b8c9
L
16142 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16143 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16144 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16145 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16146 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16147 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16148
b8dfdd92
L
16149 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16150 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16151
578cd270
L
16152 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16153 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16154
de662f5f
L
16155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16156 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16157 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16158
25653439
L
16159 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16160 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16161 to ...
16162 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16163
6bad24a0
L
16164 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16165 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16166 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16167
42bbb1c3
L
16168 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16169 for x86-64.
16170 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16171
2d10d547
JM
161722012-05-31 Joseph Myers <joseph@codesourcery.com>
16173
16174 * math/math.h (M_El): Use two more decimal places.
16175 (M_LOG2El): Likewise.
16176 (M_LOG10El): Likewise.
16177 (M_LN2l): Likewise.
16178 (M_LN10l): Likewise.
16179 (M_PIl): Likewise.
16180 (M_PI_2l): Likewise.
16181 (M_PI_4l): Likewise.
16182 (M_1_PIl): Likewise.
16183 (M_2_PIl): Likewise.
16184 (M_2_SQRTPIl): Likewise.
16185 (M_SQRT2l): Likewise.
16186 (M_SQRT1_2l): Likewise.
16187
f230c29b
DM
161882012-05-31 David S. Miller <davem@davemloft.net>
16189
16190 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16191 values between float registers.
16192 * sysdeps/sparc/sparc64/memset.S: Likewise.
16193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16194
fed806c3
MF
161952012-05-31 Mike Frysinger <vapier@gentoo.org>
16196
16197 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16198 -D_FORTIFY_SOURCE=1.
16199 (CPPFLAGS-tst-longjmp_chk.c): Define.
16200 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16201 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16202 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16203 CFLAGS-tst-wchar-h.c.
16204
30917259
MP
162052012-05-31 Marek Polacek <polacek@redhat.com>
16206
16207 [BZ #14132]
16208 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16209 __endmntent_internal): Remove declaration.
16210 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16211 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16212 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16213
1c58d5dc
DM
162142012-05-30 David S. Miller <davem@davemloft.net>
16215
16216 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16217 (___Q_simulate_exceptions): Use real FP ops rather than writing
16218 into the %fsr.
16219 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16220 Likewise.
16221
7dc00e0d
L
162222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16223
16224 [BZ #14117]
0bd53985
L
16225 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16226 * sysdeps/x86/bits/xtitypes.h: This.
16227
3a257e66
L
16228 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16229 * sysdeps/x86/bits/wordsize.h: This.
16230
62f62904
L
16231 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16232 * sysdeps/x86/bits/huge_vall.h: This.
16233
404fe9d9
L
16234 * sysdeps/i386/bits/select.h: Removed.
16235 * sysdeps/x86_64/bits/select.h: Renamed to ...
16236 * sysdeps/x86/bits/select.h: This.
16237
d48d0446
L
16238 * sysdeps/i386/bits/setjmp.h: Removed.
16239 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16240 * sysdeps/x86/bits/setjmp.h: This.
16241
7dc00e0d
L
16242 * sysdeps/i386/bits/mathdef.h: Removed.
16243 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16244 * sysdeps/x86/bits/mathdef.h: This.
16245
03277f8f
AS
162462012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16247
16248 [BZ #14132]
16249 * include/sys/socket.h (__connect_internal)
16250 (__libc_sa_len_internal): Remove declaration.
16251 (__connect, __libc_sa_len): Declare hidden_proto.
16252 (SA_LEN): Remove use of INTUSE.
16253 * socket/connect.c: Add libc_hidden_def.
16254 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16255 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16256 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16257 alias.
16258 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16259 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16260 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16261 of adding _internal alias.
16262
13764867
L
162632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16264
16265 [BZ #14117]
6bd97696
L
16266 * sysdeps/i386/bits/link.h: Removed.
16267 * sysdeps/i386/bits/linkmap.h: Likewise.
16268 * sysdeps/x86_64/bits/link.h: Renamed to ...
16269 * sysdeps/x86/bits/link.h: This.
16270 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16271 * sysdeps/x86/bits/linkmap.h: This.
16272
f726f0bb
L
16273 * sysdeps/i386/bits/endian.h: Removed.
16274 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16275 * sysdeps/x86/bits/endian.h: This.
16276
13764867
L
16277 * sysdeps/i386/bits/byteswap.h: Removed.
16278 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16279 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16280 * sysdeps/x86/bits/byteswap.h: This.
16281 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16282 * sysdeps/x86/bits/byteswap-16.h: This.
16283 * sysdeps/i386/Implies: Add x86.
16284 * sysdeps/x86_64/Implies: Likewise.
16285
ae251b0b
DM
162862012-05-30 David S. Miller <davem@davemloft.net>
16287
16288 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16289 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16290 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16291 (FP_TRAPPING_EXCEPTIONS): Define.
16292 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16293 (FP_TRAPPING_EXCEPTIONS): Define.
16294 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16295 subnormals only when inexact has been signalled or underflow
16296 exceptions are enabled.
16297 (_FP_PACK_CANONICAL): Likewise.
16298
d5c90867
L
162992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16300
16301 [BZ #14183]
16302 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16303 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16304
63f1549e
RH
163052012-05-30 Richard Henderson <rth@twiddle.net>
16306
8d8f2279
RH
16307 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16308 with #ifndef NOT_IN_libc.
16309
63f1549e
RH
16310 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16311 marked to avoid plt entry.
16312
0ab0291b
L
163132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16314
16315 [BZ #14112]
16316 * Makeconfig (default-abi): New macro.
16317 (abi-includes): Likewise.
16318 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16319 $(abi-$(default-abi)-lib-soname) for soname if defined.
16320 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16321 abi-variants.
16322 * Makefile (installed-stubs): Likewise.
16323 * include/stubs-biarch.h: Removed.
16324 * scripts/lib-names.awk: Only handle one library at a time.
16325 * scripts/soversions.awk: Remove WORDSIZE support.
16326 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16327 entries.
16328 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16329 Removed.
16330 (syscall-list-default-condition): Likewise.
16331 (syscall-list-default-condition): Likewise.
16332 (syscall-list-includes): Likewise.
16333 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16334 syscall-list-* with abi-*. Handle undefined abi-variants.
16335 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16336 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16337 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16338 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16339 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16340 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16341 Removed.
16342 (syscall-list-32-options): Likewise.
16343 (syscall-list-32-condition): Likewise.
16344 (syscall-list-64-options): Likewise.
16345 (syscall-list-64-condition): Likewise.
16346 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16347 macro.
16348 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16349 Renamed to ...
16350 (abi-*): This.
16351 (abi-64-ld-soname): New macro.
16352 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16353 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16354 Renamed to ...
16355 (abi-*): This.
16356 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16357 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16358
4da0431d
JM
163592012-05-30 Joseph Myers <joseph@codesourcery.com>
16360
3a85279c
JM
16361 * sysdeps/unix/sysv/linux/kernel-features.h
16362 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16363 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16364 include <kernel-features.h>.
16365 [!__NR_ftruncate64]: Remove conditional code.
16366 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16367 [__NR_ftruncate64]: Make code unconditional.
16368 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16369 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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
4da0431d
JM
16388 * configure.in (libc_cv_fpie): Weaken to a compile test using
16389 LIBC_TRY_CC_OPTION.
16390 * configure: Regenerated.
16391
11ef492c
AK
163922012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16393
16394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16398 Refreshed.
16399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16405 Refreshed.
16406
d66ef399
DM
164072012-05-27 David S. Miller <davem@davemloft.net>
16408
16409 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16410 (___Q_zero): New.
16411 (__Q_simulate_exceptions): Return void. Change to simulate
16412 exceptions by writing into the %fsr.
16413 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16414 (__Qp_handle_exceptions): Likewise.
16415 (numbers): Delete.
16416 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16417 __Qp_handle_exceptions.
16418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16419 __Qp_handle_exceptions.
16420 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16421 as unused and give dummy FP_RND_NEAREST initializer.
16422 (FP_INHIBIT_RESULTS): Define.
16423 (___Q_simulate_exceptions): Update declaration.
16424 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16425 formatting.
16426 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16427 as unused and give dummy FP_RND_NEAREST initializer.
16428 (__Qp_handle_exceptions): Update declaration.
16429 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16430 formatting.
16431
04fb54b5
TS
164322012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16433
16434 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16435 the temporary FPU control word.
16436 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16437 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16438 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16439 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16440 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16441 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16442 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16443 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16444 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16445 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16446 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16447
3f99608f
KK
164482012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16449
16450 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16451 fields.
16452
65a4de4e
CLT
164532012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16454
16455 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16456 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16457 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16458 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16459 Likewise.
16460 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16461 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16462 Likewise.
16463
15749d40
UD
164642012-05-27 Ulrich Drepper <drepper@gmail.com>
16465
16466 * po/h.po: Update from translation team.
16467
25dbcb27
AS
164682012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16469
3d3f8e55
AS
16470 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16471
25dbcb27
AS
16472 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16473 handling of denormals.
16474 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16475 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16476 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16477 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16478 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16480 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16481 Likewise.
16482
7ad47a80 164832012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16484
16485 [BZ #14152]
16486 * math/libm-test.inc (fma_test): Don't always expect underflow
16487 exception.
16488
9c6ea9fa
SP
164892012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16490
16491 [BZ #12416]
16492 * elf/tst-execstack.c: Include stackinfo.h.
16493 (do_test): Adjust test case to ensure that pthread_getattr_np
16494 behaviour remains the same after marking stack executable.
16495
a8239222
JM
164962012-05-25 Joseph Myers <joseph@codesourcery.com>
16497
16498 * sysdeps/unix/sysv/linux/kernel-features.h
16499 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16500 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16501 kernel-features.h.
16502 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16503 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16504 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16505 kernel-features.h.
16506 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16507 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16508
918b5606
L
165092012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16510
16511 * configure.in: Define the default includes to being none.
16512 * configure: Regenerated.
16513
3a097cc7
RM
165142012-05-25 Roland McGrath <roland@hack.frob.com>
16515
8422c9a5
RM
16516 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16517 * sysdeps/x86_64/setjmp.S: Likewise.
16518 * sysdeps/i386/bsd-setjmp.S: Likewise.
16519 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16520 * sysdeps/i386/setjmp.S: Likewise.
16521 * sysdeps/i386/__longjmp.S: Likewise.
16522 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16523 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16524
3a097cc7
RM
16525 * include/stap-probe.h: New file.
16526 * configure.in: Handle --enable-systemtap.
16527 * configure: Regenerated.
16528 * config.h.in (USE_STAP_PROBE): New #undef.
16529 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16530 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16531 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16532
21708942
JM
165332012-05-25 Joseph Myers <joseph@codesourcery.com>
16534
16535 [BZ #13717]
16536 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16537 to 2.4.0 where earlier.
16538 * sysdeps/unix/sysv/linux/configure: Regenerated.
16539 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16540 <kernel-features.h>.
16541 [__ASSUME_32BITUIDS]: Make code unconditional.
16542 [!__ASSUME_32BITUIDS]: Remove conditional code.
16543 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16544 <kernel-features.h>.
16545 [__ASSUME_32BITUIDS]: Make code unconditional.
16546 [!__ASSUME_32BITUIDS]: Remove conditional code.
16547 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16548 [__ASSUME_32BITUIDS]: Make code unconditional.
16549 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16550 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16551 <kernel-features.h>.
16552 [__ASSUME_32BITUIDS]: Make code unconditional.
16553 [!__ASSUME_32BITUIDS]: Remove conditional code.
16554 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16555 <kernel-features.h>.
16556 [__ASSUME_32BITUIDS]: Make code unconditional.
16557 [!__ASSUME_32BITUIDS]: Remove conditional code.
16558 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16559 <kernel-features.h>.
16560 [__ASSUME_32BITUIDS]: Make code unconditional.
16561 [!__ASSUME_32BITUIDS]: Remove conditional code.
16562 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16563 <kernel-features.h>.
16564 [__ASSUME_32BITUIDS]: Make code unconditional.
16565 [!__ASSUME_32BITUIDS]: Remove conditional code.
16566 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16567 <kernel-features.h>.
16568 [__ASSUME_32BITUIDS]: Make code unconditional.
16569 [!__ASSUME_32BITUIDS]: Remove conditional code.
16570 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16571 <kernel-features.h>.
16572 [__ASSUME_32BITUIDS]: Make code unconditional.
16573 [!__ASSUME_32BITUIDS]: Remove conditional code.
16574 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16575 <kernel-features.h>.
16576 [__ASSUME_32BITUIDS]: Make code unconditional.
16577 [!__ASSUME_32BITUIDS]: Remove conditional code.
16578 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16579 <kernel-features.h>.
16580 [__ASSUME_32BITUIDS]: Make code unconditional.
16581 [!__ASSUME_32BITUIDS]: Remove conditional code.
16582 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16583 <kernel-features.h>.
16584 [__ASSUME_32BITUIDS]: Make code unconditional.
16585 [!__ASSUME_32BITUIDS]: Remove conditional code.
16586 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16587 <kernel-features.h>.
16588 [__ASSUME_32BITUIDS]: Make code unconditional.
16589 [!__ASSUME_32BITUIDS]: Remove conditional code.
16590 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16591 <kernel-features.h>.
16592 [__NR_setresgid] (__setresgid): Do not declare.
16593 [__ASSUME_32BITUIDS]: Make code unconditional.
16594 [!__ASSUME_32BITUIDS]: Remove conditional code.
16595 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16596 <kernel-features.h>.
16597 [__NR_setresuid] (__setresuid): Do not declare.
16598 [__ASSUME_32BITUIDS]: Make code unconditional.
16599 [!__ASSUME_32BITUIDS]: Remove conditional code.
16600 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16601 <kernel-features.h>.
16602 [__ASSUME_32BITUIDS]: Make code unconditional.
16603 [!__ASSUME_32BITUIDS]: Remove conditional code.
16604 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16605 <kernel-features.h>.
16606 [__ASSUME_32BITUIDS]: Make code unconditional.
16607 [!__ASSUME_32BITUIDS]: Remove conditional code.
16608 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16609 <kernel-features.h>.
16610 [__ASSUME_32BITUIDS]: Make code unconditional.
16611 [!__ASSUME_32BITUIDS]: Remove conditional code.
16612 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16613 <kernel-features.h>.
16614 [__ASSUME_32BITUIDS]: Make code unconditional.
16615 [!__ASSUME_32BITUIDS]: Remove conditional code.
16616 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16617 <kernel-features.h>.
16618 [__ASSUME_32BITUIDS]: Make code unconditional.
16619 [!__ASSUME_32BITUIDS]: Remove conditional code.
16620 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16621 <kernel-features.h>.
16622 [__ASSUME_32BITUIDS]: Make code unconditional.
16623 [!__ASSUME_32BITUIDS]: Remove conditional code.
16624 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16625 <kernel-features.h>.
16626 [__ASSUME_32BITUIDS]: Make code unconditional.
16627 [!__ASSUME_32BITUIDS]: Remove conditional code.
16628 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16629 <kernel-features.h>.
16630 [__ASSUME_32BITUIDS]: Make code unconditional.
16631 [!__ASSUME_32BITUIDS]: Remove conditional code.
16632 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16633 <kernel-features.h>.
16634 [__ASSUME_32BITUIDS]: Make code unconditional.
16635 [!__ASSUME_32BITUIDS]: Remove conditional code.
16636 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16637 <kernel-features.h>.
16638 [__ASSUME_32BITUIDS]: Make code unconditional.
16639 [!__ASSUME_32BITUIDS]: Remove conditional code.
16640 * sysdeps/unix/sysv/linux/kernel-features.h
16641 (__ASSUME_SETRESUID_SYSCALL): Remove.
16642 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16643 (__ASSUME_32BITUIDS): Likewise.
16644 (__ASSUME_LDT_WORKS): Likewise.
16645 (__ASSUME_O_DIRECTORY): Likewise.
16646 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16647 architecture but not kernel version.
16648 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16649 (__ASSUME_MMAP2_SYSCALL): Likewise.
16650 (__ASSUME_STAT64_SYSCALL): Likewise.
16651 (__ASSUME_IPC64): Likewise.
16652 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16653 <kernel-features.h>.
16654 [__ASSUME_32BITUIDS]: Make code unconditional.
16655 [!__ASSUME_32BITUIDS]: Remove conditional code.
16656 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16657 <kernel-features.h>.
16658 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16659 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16660 132096]: Remove conditional code.
16661 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16662 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16663 <kernel-features.h>.
16664 [__ASSUME_32BITUIDS]: Make code unconditional.
16665 [!__ASSUME_32BITUIDS]: Remove conditional code.
16666 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16667 <kernel-features.h>.
16668 [__ASSUME_32BITUIDS]: Make code unconditional.
16669 [!__ASSUME_32BITUIDS]: Remove conditional code.
16670 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16671 <kernel-features.h>.
16672 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16673 unconditional.
16674 (__setresgid): Do not declare.
16675 [__ASSUME_32BITUIDS]: Make code unconditional.
16676 [!__ASSUME_32BITUIDS]: Remove conditional code.
16677 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16678 <kernel-features.h>.
16679 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16680 unconditional.
16681 (__setresuid): Do not declare.
16682 [__ASSUME_32BITUIDS]: Make code unconditional.
16683 [!__ASSUME_32BITUIDS]: Remove conditional code.
16684 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16685 <kernel-features.h>.
16686 [__ASSUME_32BITUIDS]: Make code unconditional.
16687 [!__ASSUME_32BITUIDS]: Remove conditional code.
16688 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16689 <kernel-features.h>.
16690 [__ASSUME_32BITUIDS]: Make code unconditional.
16691 [!__ASSUME_32BITUIDS]: Remove conditional code.
16692
a386f1cc
RH
166932012-05-25 Richard Henderson <rth@twiddle.net>
16694
16695 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16696 dl_hwcap to ifunc resolver.
16697 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16698 elf_ifunc_invoke.
16699 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16700 dl_hwcap to ifunc resolver.
16701 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16702
b6550497
JM
167032012-05-24 Joseph Myers <joseph@codesourcery.com>
16704
16705 [BZ #14153]
16706 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16707 for |x| <= 2**-26, not 2**-57.
16708 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16709 exception.
16710
b0bc23a1
JL
167112012-05-24 Jeff Law <law@redhat.com>
16712
16713 * stdio-common/Makefile (tests): Add bug25.
16714 * stdio-common/bug25.c: New test.
16715
347c92e9
L
167162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16717
16718 [BZ #13576]
16719 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16720 multiple of MALLOC_ALIGNMENT in size.
16721 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16722
6bcc8b3f
JM
167232012-05-24 Joseph Myers <joseph@codesourcery.com>
16724
16725 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16726 Require >= 256.
16727 (FILENAME_MAX): Use macro-int-constant.
16728 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16729 (_IOFBF): Use macro-int-constant.
16730 (_IOLBF): Likewise.
16731 (_IONBF): Likewise.
16732 (SEEK_CUR): Likewise.
16733 (SEEK_END): Likewise.
16734 (SEEK_SET): Likewise.
16735 (TMP_MAX): Likewise.
16736 (EOF): Use macro-int-constant. Require < 0.
16737 (NULL): Use macro-constant. Require == 0.
16738 (stdin): Require type to be FILE *.
16739 (stdout): Likewise.
16740 (stderr): Likewise.
16741 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16742 macro-int-constant.
16743 (EXIT_SUCCESS): Likewise.
16744 (NULL): Use macro-constant. Require == 0.
16745 (RAND_MAX): Use macro-int-constant.
16746 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16747 [C99-based standards] (strtof): Require function.
16748 [C99-based standards] (strtold): Likewise.
16749 [C99-based standards] (strtoll): Likewise.
16750 [C99-based standards] (strtoull): Likewise.
16751 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16752 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16753 [ISO || ISO99 || ISO11] (math.h): Likewise.
16754 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16755 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16757
d18ea0c5
AS
167582012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16759
16760 [BZ #14132]
56d25bb8
AS
16761 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16762 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16763 * intl/dgettext.c (DCGETTEXT): Likewise.
16764 * intl/gettext.c (DCGETTEXT): Likewise.
16765 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16766 * posix/regex_internal.h (gettext): Likewise.
16767 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16768 Remove declaration.
16769 * include/argz.h (__argz_count_internal)
16770 (__argz_stringify_internal): Remove declaration.
16771 (__argz_count, __argz_stringify): Declare hidden proto.
16772 * intl/dcgettext.c: Remove use of INTDEF.
16773 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16774 * string/argz-stringify.c: Likewise.
16775 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16776 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16777 Declare hidden proto.
d18ea0c5
AS
16778 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16779 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16780 Declare hidden proto.
16781 * include/stdio.h (__asprintf_internal): Don't declare.
16782 (__asprintf): Don't define as macro. Declare hidden proto.
16783 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16784 (__fsetlocking): Declare hidden proto.
16785 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16786 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16787 hidden proto.
16788 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16789 (_IO_setlinebuf): Remove use of INTUSE.
16790 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16791 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16792 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16793 Remove declaration.
16794 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16795 (_IO_do_flush): Remove use of INTUSE.
16796 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16797 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16798 (_IO_adjust_column, _IO_least_wmarker)
16799 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16800 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16801 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16802 (_IO_default_doallocate, _IO_wdefault_doallocate)
16803 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16804 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16805 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16806 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16807 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16808 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16809 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16810 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16811 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16812 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16813 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16814 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16815 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16816 proto.
16817 (_IO_flush_all_internal, _IO_adjust_column_internal)
16818 (_IO_default_uflow_internal, _IO_default_finish_internal)
16819 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16820 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16821 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16822 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16823 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16824 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16825 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16826 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16827 (_IO_file_close_internal, _IO_file_close_it_internal)
16828 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16829 (_IO_file_init_internal, _IO_file_attach_internal)
16830 (_IO_file_fopen_internal, _IO_file_read_internal)
16831 (_IO_file_sync_internal, _IO_file_seek_internal)
16832 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16833 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16834 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16835 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16836 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16837 (_IO_list_all_internal, _IO_link_in_internal)
16838 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16839 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16840 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16841 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16842 (_IO_do_write_internal, _IO_padn_internal)
16843 (_IO_getline_info_internal, _IO_getline_internal)
16844 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16845 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16846 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16847 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16848 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16849 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16850 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16851 with libc_hidden_ver, remove use of INTUSE.
16852 * libio/genops.c: Likewise.
16853 * libio/freopen.c: Likewise.
16854 * libio/freopen64.c: Likewise.
16855 * libio/iofclose.c: Likewise.
16856 * libio/iofdopen.c: Likewise.
16857 * libio/iofflush.c: Likewise.
16858 * libio/iofflush_u.c: Likewise.
16859 * libio/iofgets.c: Likewise.
16860 * libio/iofgets_u.c: Likewise.
16861 * libio/iofopen.c: Likewise.
16862 * libio/iofopncook.c: Likewise.
16863 * libio/iofread.c: Likewise.
16864 * libio/iofread_u.c: Likewise.
16865 * libio/ioftell.c: Likewise.
16866 * libio/iofwrite.c: Likewise.
16867 * libio/iogetline.c: Likewise.
16868 * libio/iogets.c: Likewise.
16869 * libio/iogetwline.c: Likewise.
16870 * libio/iopadn.c: Likewise.
16871 * libio/iopopen.c: Likewise.
16872 * libio/ioseekoff.c: Likewise.
16873 * libio/ioseekpos.c: Likewise.
16874 * libio/iosetbuffer.c: Likewise.
16875 * libio/iosetvbuf.c: Likewise.
16876 * libio/ioungetc.c: Likewise.
16877 * libio/ioungetwc.c: Likewise.
16878 * libio/iovdprintf.c: Likewise.
16879 * libio/iovsprintf.c: Likewise.
16880 * libio/iovsscanf.c: Likewise.
16881 * libio/memstream.c: Likewise.
16882 * libio/obprintf.c: Likewise.
16883 * libio/oldfileops.c: Likewise.
16884 * libio/oldiofclose.c: Likewise.
16885 * libio/oldiofdopen.c: Likewise.
16886 * libio/oldiofopen.c: Likewise.
16887 * libio/oldiopopen.c: Likewise.
16888 * libio/oldstdfiles.c: Likewise.
16889 * libio/putc.c: Likewise.
16890 * libio/setbuf.c: Likewise.
16891 * libio/setlinebuf.c: Likewise.
16892 * libio/stdfiles.c: Likewise.
16893 * libio/strops.c: Likewise.
16894 * libio/vasprintf.c: Likewise.
16895 * libio/vscanf.c: Likewise.
16896 * libio/vsnprintf.c: Likewise.
16897 * libio/vswprintf.c: Likewise.
16898 * libio/wfiledoalloc.c: Likewise.
16899 * libio/wfileops.c: Likewise.
16900 * libio/wgenops.c: Likewise.
16901 * libio/wmemstream.c: Likewise.
16902 * libio/wstrops.c: Likewise.
16903 * libio/__fpurge.c: Likewise.
16904 * libio/__fsetlocking.c: Likewise.
16905 * assert/assert.c: Likewise.
16906 * debug/fgets_chk.c: Likewise.
16907 * debug/fgets_u_chk.c: Likewise.
16908 * debug/fread_chk.c: Likewise.
16909 * debug/fread_u_chk.c: Likewise.
16910 * debug/gets_chk.c: Likewise.
16911 * debug/obprintf_chk.c: Likewise.
16912 * debug/vasprintf_chk.c: Likewise.
16913 * debug/vdprintf_chk.c: Likewise.
16914 * debug/vsnprintf_chk.c: Likewise.
16915 * debug/vsprintf_chk.c: Likewise.
16916 * malloc/mtrace.c: Likewise.
16917 * misc/error.c: Likewise.
16918 * misc/syslog.c: Likewise.
16919 * stdio-common/asprintf.c: Likewise.
16920 * stdio-common/fxprintf.c: Likewise.
16921 * stdio-common/getw.c: Likewise.
16922 * stdio-common/isoc99_fscanf.c: Likewise.
16923 * stdio-common/isoc99_scanf.c: Likewise.
16924 * stdio-common/isoc99_vfscanf.c: Likewise.
16925 * stdio-common/isoc99_vscanf.c: Likewise.
16926 * stdio-common/isoc99_vsscanf.c: Likewise.
16927 * stdio-common/printf-prs.c: Likewise.
16928 * stdio-common/printf_fp.c: Likewise.
16929 * stdio-common/printf_fphex.c: Likewise.
16930 * stdio-common/printf_size.c: Likewise.
16931 * stdio-common/putw.c: Likewise.
16932 * stdio-common/scanf.c: Likewise.
16933 * stdio-common/sprintf.c: Likewise.
16934 * stdio-common/tmpfile.c: Likewise.
16935 * stdio-common/vfprintf.c: Likewise.
16936 * stdio-common/vfscanf.c: Likewise.
16937 * stdlib/strfmon_l.c: Likewise.
16938 * sunrpc/openchild.c: Likewise.
16939 * sunrpc/xdr_stdio.c: Likewise.
16940 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16941 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16942
d6c33fda
RM
169432012-05-24 Roland McGrath <roland@hack.frob.com>
16944
c1487492
RM
16945 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16946
16947 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16948 in the third column, to generate for the shared library an IFUNC
16949 that uses _dl_vdso_vsym.
16950 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16951 * Makeconfig (object-suffixes-noshared): New variable.
16952
16953 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16954 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16955 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16956 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16957
d6c33fda
RM
16958 [BZ #14132]
16959 * include/sys/time.h (__gettimeofday): Remove macro.
16960 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16961 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16962 Remove INTDEF.
16963 (__gettimeofday): Add libc_hidden_def.
16964 (gettimeofday): Add libc_hidden_weak.
16965 * sysdeps/mach/gettimeofday.c: Likewise.
16966 * sysdeps/posix/gettimeofday.c: Likewise.
16967 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16968 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16970 (__gettimeofday_internal): Remove strong_alias.
16971 (__gettimeofday): Add libc_hidden_def.
16972 (gettimeofday): Add libc_hidden_weak.
16973 * sysdeps/unix/syscalls.list (gettimeofday):
16974 Remove __gettimeofday_internal alias.
16975
b5a2bbe6
L
169762012-05-24 Daniel Jacobowitz <drow@false.org>
16977 H.J. Lu <hongjiu.lu@intel.com>
16978
16979 [BZ #12495]
16980 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16981 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16982 (largebin_index_32_big): New.
16983 (largebin_index): Use it for 16-byte alignment.
16984 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16985 correction with front_misalign.
16986
cfba4fda
L
169872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16988
7f907421
L
16989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16991 Likewise.
16992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16993 Likewise.
16994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16995 Likewise.
16996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16997 Likewise.
16998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16999 Likewise.
17000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17001 Likewise.
17002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17003 Likewise.
17004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17005 Likewise.
17006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17007 Likewise.
17008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17009 Likewise.
17010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17011 Likewise.
17012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17013 Likewise.
17014
cfba4fda
L
17015 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17016 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17017
80bad0cc
JM
170182012-05-24 Joseph Myers <joseph@codesourcery.com>
17019
7a25eb06
JM
17020 [BZ #10846]
17021 [BZ #14036]
17022 * math/libm-test.inc (exp_test): Add test from bug 14036.
17023 (pow_test): Add test from bug 10846.
17024
795405f9
JM
17025 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17026 and other flags.
17027 (special_function): Do not include flags in test name.
17028 (parse_args): Likewise.
17029 * sysdeps/i386/fpu/libm-test-ulps: Update.
17030 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17031 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17032 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17034
80bad0cc
JM
17035 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17036 exceptions.
17037 * math/libm-test.inc ("Philosophy"): Update comment about
17038 exception testing.
17039 (UNDERFLOW_EXCEPTION): New macro.
17040 (UNDERFLOW_EXCEPTION_OK): Likewise.
17041 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17042 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17043 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17044 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17045 (INVALID_EXCEPTION_OK): Update value.
17046 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17047 (OVERFLOW_EXCEPTION_OK): Likewise.
17048 (IGNORE_ZERO_INF_SIGN): Likewise.
17049 (test_exceptions): Handle underflow exceptions.
17050 (acos_test): Update for underflow exception expectations.
17051 (cexp_test): Likewise.
17052 (clog_test): Likewise.
17053 (clog10_test): Likewise.
17054 (csqrt_test): Likewise.
17055 (ctan_test): Likewise.
17056 (ctanh_test): Likewise.
17057 (exp_test): Likewise.
17058 (exp10_test): Likewise.
17059 (exp2_test): Likewise.
17060 (expm1_test): Likewise.
17061 (fma_test): Likewise.
17062 (j0_test): Likewise.
17063 (jn_test): Likewise.
17064 (nexttoward_test): Likewise.
17065 (pow_test): Likewise.
17066 (scalbn_test): Likewise.
17067 (scalbln_test): Likewise.
17068 (tan_test): Likewise.
17069 (y1_test): Likewise.
17070 * sysdeps/i386/fpu/libm-test-ulps: Update.
17071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17072
9e0e3d0b
DM
170732012-05-23 David S. Miller <davem@davemloft.net>
17074
17075 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17076 (__libc_sigaction): Remove unused local variables.
17077
ccd0a08f
L
170782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17079
17080 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17081
62bdf9a6
PE
170822012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17083
f8591f80
PE
17084 mktime: avoid signed integer overflow
17085 * time/mktime.c (__mktime_internal): Do not mishandle the case
17086 where diff == INT_MIN.
17087
94c7d826
PE
17088 mktime: simplify computation of average
17089 * time/mktime.c (ranged_convert): Use new time_t_avg function
17090 instead of rolling our own (probably-slower) code.
17091
ce73d683
PE
17092 mktime: do not assume signed right shift propagates sign bit
17093 * time/mktime.c (isdst_differ): New static function.
17094 (__mktime_internal): No need to normalize tm_isdst now.
17095 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17096 tm_isdst values.
17097
72a22e59
PE
17098 mktime: merge another wrapv change from gnulib
17099 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17100 from some compilers.
17101
68605433
PE
17102 mktime: remove incorrect attempt at unusual arithmetics
17103 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17104 The code didn't really work on such machines anyway.
17105 (TYPE_MINIMUM): Assume two's complement.
17106 (twos_complement_arithmetic): Verify that long_int and time_t
17107 are two's complement (or unsigned, in the latter case).
17108
03cf7fe3
PE
17109 mktime: check signed shifts on long_int and time_t, too
17110 * time/mktime.c (SHR): Check that shifts work as desired
17111 on the types long_int and time_t too, as SHR is used on
17112 such types.
17113
f04dfbc2
PE
17114 mktime: do not assume 'long' is wide enough
17115 * time/mktime.c (verify): Move decl up.
17116 (long_int): New type.
17117 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17118 to remove assumption in the code that 'long' is wide enough to
17119 store year values. This assumption is not true on x32 and on
17120 some non-glibc platforms.
17121
62bdf9a6
PE
17122 mktime: merge wrapv change from gnulib
17123 * time/mktime.c (WRAPV): New macro.
17124 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17125 (guess_time_tm, __mktime_internal): Do not assume that signed
17126 integer overflow wraps around; modern compilers generate code
17127 where this assumption is no longer valid.
17128
5e292e4f
L
171292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17130
17131 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17132 Replace "jmp L(pseudo_end)" with "ret".
17133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17134 Likewise.
17135
8caf8c87
AJ
171362012-05-23 Andreas Jaeger <aj@suse.de>
17137
17138 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17139 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17140
1a09dc56
AJ
171412012-05-23 Andreas Jaeger <aj@suse.de>
17142 Maximilian Attems <max@stro.at>
17143
17144 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17145 New macros.
17146
1c87aba0
L
171472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17148
17149 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17150 code so that pseudo_end is just ret and the stack pointer is
17151 correct also for static library in error case.
17152
40e45bd5
JM
171532012-05-23 Joseph Myers <joseph@codesourcery.com>
17154
c2670533
JM
17155 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17156 move to syscalls.list.
17157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17161
40e45bd5
JM
17162 * manual/install.texi (Running make install): Do not mention Linux
17163 kernel version for which pt_chown is not needed.
17164 (Linux): Do not mention problems with nscd with 2.0 kernels.
17165 * INSTALL: Regenerated.
17166
be08eda5
AJ
171672012-05-23 Andreas Jaeger <aj@suse.de>
17168
17169 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17170 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17171 macro.
17172 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17174 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17176 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17177 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17178 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17179 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17180 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17181 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17182 * sysdeps/unix/sysv/linux/bits/in.h
17183 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17184
a6a056bb
RM
171852012-05-22 Roland McGrath <roland@hack.frob.com>
17186
17187 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17188 (PREPARE_VERSION): Just use assert instead, it will be elided
17189 under [NDEBUG] anyway.
17190
c9009328
L
171912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17192
17193 * sysdeps/unix/sysv/linux/Makefile: Include
17194 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17195 (sysdep_routines): Remove sysctl.
c9009328
L
17196 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17197 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17198 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17199 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17200 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17201
73338355
AJ
172022012-05-22 Andreas Jaeger <aj@suse.de>
17203
17204 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17205 that pseudo_end is just ret and the stack pointer is correct also
17206 for static library in error case.
17207
d44638b0
PP
172082012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17209
17210 [BZ #14122]
17211 * nss/nsswitch.c (defconfig_entries): New variable.
17212 (__nss_database_lookup): Don't leak defconfig entries.
17213 (nss_parse_service_list): Don't leak on error paths.
17214 (free_database_entries): New function.
17215 (free_defconfig): New function.
17216 (free_mem): Move common code to free_database_entries.
17217
31a39bd8
L
172182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17219
da0331a8
L
17220 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17221 Add arch_prctl.
17222 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17223
31a39bd8
L
17224 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17225 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17227 New macro.
17228 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17229 (INTERNAL_SYSCALL_TYPES): Likewise.
17230 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17231 (LOAD_REGS_TYPES_[1-6]): Likewise.
17232 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17233 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17234
45470df3
AZ
172352012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17236
17237 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17238 copysignl for GLIBC_2_0.
17239 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17240 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17241 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17242 logbl for GLIBC_2_0.
17243 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17244 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17245
98a61bcb
L
172462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17247
a4f6e481
L
17248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17249 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17250
f63d5db6
L
17251 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17252 Use "neg %eax".
17253
98a61bcb
L
17254 * time/mktime.c: Update copyright years.
17255
95770f14
PE
172562012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17257
6226efbd
PE
17258 mktime: merge comment-quoting-style change from gnulib
17259 * time/mktime.c: Quote 'like this' in comments.
17260 The GNU coding standards suggest that we no longer quote `like this',
17261 as "`" and "'" are typically rendered asymmetrically nowadays.
17262 The typical gnulib style is to quote 'like this' when quoting
17263 code, and "like this" when quoting English.
17264
b99e4f78
PE
17265 * time/mktime.c (compile-command): Add "-I.".
17266
643e01e6
PE
17267 mktime: merge mktime-internal.h change from gnulib
17268 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17269
2554247d
PE
17270 mktime: merge time_r change from gnulib
17271 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17272
826dd0ab
PE
17273 mktime: merge DEBUG change from gnulib
17274 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17275 case system <time.h> has a #define.
17276
bd83aabe
PE
17277 mktime: merge <sys/types.h> change from gnulib
17278 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17279 since <time.t> is now guaranteed to define time_t.
17280
95770f14
PE
17281 mktime: merge HAVE_CONFIG_H change from gnulib
17282 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17283
5e1a27a9
L
172842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17285
0e44a77e
L
17286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17287 Use "neg %eax".
17288
5e1a27a9
L
17289 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17290 __rlim_t cast.
17291 (struct rusage): Use anonymous union to pad each field to
17292 __syscall_slong_t.
17293
46259bec
DM
172942012-05-21 David S. Miller <davem@davemloft.net>
17295
17296 * Makefules (o-iterator): Remove .s cases.
17297 (compile-command.s): Delete.
17298 (COMPILE.s): Delete.
17299 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17300
59f0c22e
JM
173012012-05-21 Joseph Myers <joseph@codesourcery.com>
17302
17303 * configure.in (libc_cv_predef_stack_protector): Only consider
17304 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17305 * configure: Regenerated.
17306
20c07380
L
173072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17308
bbb3154b
L
17309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17310 New macro. Use R*LP on int and pointer.
17311 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17312 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17313 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17314 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17315
20c07380
L
17316 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17317 [__WORDSIZE_TIME64_COMPAT32] instead of
17318 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17319 (struct utmp): Likewise.
17320 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17321 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17322 Renamed to ...
17323 (__WORDSIZE_TIME64_COMPAT32): This.
17324 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17325 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17326 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17327 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17328 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17329 (__WORDSIZE_TIME64_COMPAT32): New macro.
17330
d8d1017e
AJ
173312012-05-21 Andreas Jaeger <aj@suse.de>
17332
17333 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17334 only if [SHARED]. Add prototype for __wcschr_ia32.
17335
6c7fb145
RM
173362012-05-21 Roland McGrath <roland@hack.frob.com>
17337
17338 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17339 of %rbp unmolested in the jmp_buf while mangling the low bits.
17340 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17341 unmolested high bits of %rbp while demangling the low bits.
17342 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17343
66274218
AJ
173442012-05-21 Andreas Jaeger <aj@suse.de>
17345
07c58f8f
AJ
17346 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17347 * sunrpc/svc_simple.c: Use it for registerrpc.
17348 * sunrpc/xcrypt.c: Use it for passwd2des.
17349
66274218
AJ
17350 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17351
61f65140
L
173522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17353
17354 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17355 Don't define if [__SYSCALL_WORDSIZE != 32].
17356 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17357 New macro.
17358
5fefb436
AJ
173592012-05-21 Bruno Haible <bruno@clisp.org>
17360 Andreas Jaeger <aj@suse.de>
17361
17362 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17363 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17364 inptr and inend for must_buffer_ch.
17365 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17366 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17367 * stdio-common/Makefile (tests): Remove bug15.
17368 (bug15-ENV): Remove macro.
17369 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17370 anymore.
17371
d8e272ab
AJ
173722012-05-19 Andreas Jaeger <aj@suse.de>
17373 Roland McGrath <roland@hack.frob.com>
17374
17375 * manual/contrib.texi: Completely rewritten. It contains now an
17376 alphabetical list of contributors and their contributions.
17377
4a56a162
RH
173782012-05-21 Richard Henderson <rth@twiddle.net>
17379
17380 * misc/getauxval.c (__getauxval): Use unsigned long int.
17381 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17382 (getauxval): Use unsigned long int.
17383
d024d23c
L
173842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17385
17386 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17387
cbc00a03
RM
173882012-05-21 Roland McGrath <roland@hack.frob.com>
17389
17390 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17391 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17392 __alignof__ (long double).
17393
478143fa
AZ
173942012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17395
17396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17397
c7683a6d
RH
173982012-05-20 Richard Henderson <rth@twiddle.net>
17399
17400 * misc/getauxval.c: New file.
17401 * misc/sys/auxv.h: New file.
17402 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17403 (routines): Add getauxval.
17404 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17405 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17406 * elf/dl-sysdep.c (_dl_auxv): Remove.
17407 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17408 * elf/dl-support.c (_dl_auxv): New variable.
17409 (_dl_aux_init): Initialize it.
17410 * manual/startup.texi (Auxiliary Vector): New node.
17411 * sysdeps/generic/bits/hwcap.h: New file.
17412 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17413 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17414 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17415 * sysdeps/sparc/sysdep.h: ... here. Include it.
17416 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17419 Update.
c7683a6d
RH
17420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17428
a6f1845d
AZ
174292012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17430
17431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17432
cbcbe830
DM
174332012-05-19 David S. Miller <davem@davemloft.net>
17434
17435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17436
e0b16cc2
JM
174372012-05-19 Joseph Myers <joseph@codesourcery.com>
17438
17439 [BZ #14123]
17440 * math/s_ccosh.c: Include <float.h>
17441 (__ccosh): Avoid internal overflow calculating sinh and cosh
17442 values before multiplying by sin and cos values.
17443 * math/s_ccoshf.c: Likewise.
17444 * math/s_ccoshl.c: Likewise.
17445 * math/s_csin.c: Likewise.
17446 * math/s_csinf.c: Likewise.
17447 * math/s_csinl.c: Likewise.
17448 * math/s_csinh.c: Likewise.
17449 * math/s_csinhf.c: Likewise.
17450 * math/s_csinhl.c: Likewise.
17451 * math/libm-test.inc (ccos_test): Add more tests.
17452 (ccosh_test): Likewise.
17453 (csin_test): Likewise.
17454 (csinh_test): Likewise.
17455 * sysdeps/i386/fpu/libm-test-ulps: Update.
17456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17457
6ad13e08
L
174582012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17459
f66f0ce8
L
17460 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17461 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17462
6ad13e08
L
17463 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17464
b1d072a7
JM
174652012-05-19 Joseph Myers <joseph@codesourcery.com>
17466
17467 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17468 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17469 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17470 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17471 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17472 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17473 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17474 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17475 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17476 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17477 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17478 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17479 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17480 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17481 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17482 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17483 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17484 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17485 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17486 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17487 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17488 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17489 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17490 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17491 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17492 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17493 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17494 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17495 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17496 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17497 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17498
9eae47cb
AJ
174992012-05-18 Andreas Jaeger <aj@suse.de>
17500
17501 * csu/.gitignore: Delete.
17502
bb07f69f
L
175032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17504
17505 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17506 (timex): Use __syscall_slong_t.
17507
e6bdb741
AJ
175082012-05-18 Andreas Jaeger <aj@suse.de>
17509 Carlos O'Donell <carlos_odonell@mentor.com>
17510
17511 * manual/install.texi (Configuring and compiling): Update
17512 description about files modified in the source directory.
d6c33fda 17513 * INSTALL: Regenerated.
e6bdb741 17514
1b74487e
L
175152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17516
17517 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17518 value. Use "or" to set return value to -1.
17519 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17520 negate return value.
17521
a88b64b9
TMQMF
175222012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17523
17524 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17525 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17526 failure if the compiler has Graphite support disabled.
17527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17528 Likewise.
17529 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17530 CFLAGS-memmove.c): Likewise.
17531 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17532 Likewise.
17533
3707636e
L
175342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17535
610b8622
L
17536 * sysdeps/x86_64/x32/_itoa.h: New file.
17537
7cd195df
L
17538 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17539 getdents system call only if kernel and user dirents have the
17540 same d_ino and d_off.
17541
94b07d20
L
17542 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17543 LLONG_MAX != LONG_MAX.
17544 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17545 (_fitoa_word): Likewise.
17546
18298070
L
17547 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17548 years.
17549 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17550 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17552
553c7ea4
L
17553 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17554 include <bits/wordsize.h>. Check __x86_64__ instead of
17555 __WORDSIZE.
17556 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17557 if __x86_64__ is defined. Use anonymous union on fpstate.
17558
3707636e
L
17559 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17560 anonymous union.
17561
b53ef01a
AS
175622012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17563
37fb1dc0
AS
17564 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17565 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17566 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17567 Refer to _rtld_local_ro instead of _rtld_global_ro.
17568 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17569 Likewise.
17570 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17571 Likewise.
17572 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17573 Likewise.
17574 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17575 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17576 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17577
b53ef01a
AS
17578 * sysdeps/powerpc/powerpc32/dl-machine.c
17579 (__elf_machine_runtime_setup) [PROF]: Don't reference
17580 _dl_prof_resolve.
17581
7a185db2
AJ
175822012-05-18 Andreas Jaeger <aj@suse.de>
17583
17584 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17585 function only available for GCCs before 3.4 since GCC 3.4
17586 introduced a builtin.
17587 (lrint): Likewise.
17588 (llrintf): Likewise.
17589 (llrint): Likewise.
17590 (fmaxf): Likewise.
17591 (fmax): Likewise.
17592 (fminf): Likewise.
17593 (fmin): Likewise.
17594 (rint): Likewise.
17595 (rintf): Likewise.
17596 (nearbyint): Likewise.
17597 (nearbyintf): Likewise.
17598 (ceil): Likewise.
17599 (ceilf): Likewise.
17600 (floor): Likewise.
17601 (floorf): Likewise.
17602
3e5aef87
L
176032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17604
428bd707
L
17605 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17606 on both fields and cast pointer to __syscall_ulong_t.
17607
3e5aef87
L
17608 * bits/types.h (__fsword_t): New type.
17609 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17610 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17612 (__FSWORD_T_TYPE): Likewise.
17613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17614 (__FSWORD_T_TYPE): Likewise.
17615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17616 (__FSWORD_T_TYPE): Likewise.
17617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17618 (__FSWORD_T_TYPE): Likewise.
17619 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17620 __SWORD_TYPE with __fsword_t.
17621 (statfs64): Likewise.
17622
1ba7c3dc
DM
176232012-05-17 David S. Miller <davem@davemloft.net>
17624
17625 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17626
59910343
AJ
176272012-05-17 Andreas Jaeger <aj@suse.de>
17628
17629 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17630 warning.
17631
2e4c1e9e
L
176322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17633
17634 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17635
de7f5ce7
AJ
176362012-05-17 Andreas Jaeger <aj@suse.de>
17637
17638 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17639 when it is used.
17640
286abc3d
CM
176412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17642
17643 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17644
477cc68e
L
176452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17646
17647 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17648 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17649
1a0994f5
CD
176502012-05-17 Andreas Jaeger <aj@suse.de>
17651 Carlos O'Donell <carlos_odonell@mentor.com>
17652
17653 [BZ #14059]
17654 * sysdeps/x86_64/multiarch/init-arch.h
17655 (bit_YMM_Usable): Rename to...
17656 (bit_AVX_Usable): ... this.
17657 (bit_FMA4_Usable): New macro.
17658 (bit_XMM_state): New macro.
17659 (bit_YMM_state): New macro.
17660 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17661 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17662 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17663 (CPUID_OSXSAVE): New macro.
17664 (CPUID_AVX): New macro.
17665 (CPUID_FMA4): New macro.
17666 (index_YMM_Usable): Rename to...
17667 (index_AVX_Usable): ... this.
17668 (HAS_AVX): Use HAS_ARCH_FEATURE.
17669 (HAS_FMA4): Likewise.
17670 (HAS_YMM_USABLE): Remove.
17671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17672 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17673 are present.
17674 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17675 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17676 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17677 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17678 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17679
0af797de
CM
176802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17681
17682 * math/libm-test.c: Support platforms without multiple rounding modes.
17683 * math/bug-nextafter.c: Support platforms without FP exceptions.
17684 * math/bug-nexttoward.c: Likewise.
17685 * math/test-fenv.c: Likewise.
17686 * math/test-misc.c: Likewise.
17687 * stdlib/bug-getcontext.c: Likewise.
17688
e39745ff
AJ
176892012-05-17 Andreas Jaeger <aj@suse.de>
17690
17691 * manual/examples/search.c (critter_cmp): Change signature to
17692 avoid warnings.
17693 * manual/string.texi (Collation Functions): Likewise.
17694
48970aba
L
176952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17696
17697 * bits/types.h: Fold copyright years.
17698 * bits/typesizes.h: Likewise.
17699 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17703 * time/time.h: Likewise.
17704
bedee953
PP
177052012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17706
17707 [BZ #208]
17708 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17709 in instead of returning them. Return void.
17710 (__libc_mallinfo): Accumulate over all arenas.
17711 (__malloc_stats): Adjust for change in int_mallinfo interface.
17712
61653dfb
RM
177132012-05-16 Roland McGrath <roland@hack.frob.com>
17714
30b99d79
RM
17715 [BZ #10375]
17716 * configure.in (NM): Add AC_CHECK_TOOL for it.
17717 (libc_extra_cflags): New substituted variable.
17718 Check for -fstack-protector being used implicitly.
17719 * configure: Regenerated.
17720 * config.make.in (config-extra-cflags): New variable,
17721 gets @libc_extra_cflags@.
17722 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17723
61653dfb
RM
17724 [BZ #10375]
17725 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17726 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17727 * configure: Regenerated.
17728 * config.make.in (CPPUNDEFS): New substituted variable.
17729 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17730 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17731 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17732
661768bb
L
177332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17734
17735 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17736 (mq_attr): Use __syscall_slong_t.
17737
d4261567
L
177382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17739
17740 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17741 Check __x86_64__ instead of __WORDSIZE.
17742 (_STAT_VER_LINUX): Likewise.
17743 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17744 __syscall_ulong_t and __syscall_slong_t.
17745 (stat64): Likewise.
17746
cf3ff365
L
177472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17748
17749 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17750
76cf3e4d
L
177512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17752
17753 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17754
a637753a
L
177552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17756
17757 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17758 __syscall_ulong_t.
17759
d5e05119
L
17760 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17761 include <bits/wordsize.h>. Check __x86_64__ instead of
17762 __WORDSIZE.
17763 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17764 defined.
17765 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17766
f62ee380
L
17767 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17768 include <bits/wordsize.h>. Check __x86_64__ instead of
17769 __WORDSIZE.
17770 (user_regs_struct): Use "__extension__ unsigned long long"
17771 instead of "unsigned long" if __x86_64__ is defined.
17772 (user): Likewise. Pad after pointer field if __ILP32__ is
17773 defined.
17774
4e124ced
JM
177752012-05-16 Joseph Myers <joseph@codesourcery.com>
17776
6a3951a0
JM
17777 * configure.in (makeinfo): Require version 4.5 or later. Allow
17778 versions 5 to 9.
17779 * configure: Regenerated.
17780 * manual/install.texi (texinfo): Increase version requirement to
17781 4.5 or later.
17782 * INSTALL: Regenerated.
17783
4e124ced
JM
17784 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17785
953ca31a
L
177862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17787
17788 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17789
617aca05
L
17790 * sysdeps/x86_64/x32/ffs.c: New file.
17791
5762f7ae
L
17792 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17793 __syscall_ulong_t.
17794 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17795 defined. Use __syscall_ulong_t.
17796 (shminfo): Use __syscall_ulong_t.
17797 (shm_info): Likewise.
17798
a26b6856
L
17799 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17800 __syscall_ulong_t.
17801
cb2b9ef7
L
17802 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17803 <bits/wordsize.h>.
17804 (msgqnum_t): Use __syscall_ulong_t.
17805 (msglen_t): Likewise.
17806 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17807 __syscall_ulong_t.
17808
34683bb0
L
17809 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17810 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17811
84a68786
L
17812 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17813
48baa5f1
L
17814 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17815 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17816
180be88b
L
17817 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17818 __syscall_slong_t.
17819
5e90c8ad
L
17820 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17821 include <bits/wordsize.h>. Check __x86_64__ instead of
17822 __WORDSIZE.
17823
23dfb58b
L
17824 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17825 "unsigned long long int" if __x86_64__ is defined.
17826 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17827
ce5d54b0
L
17828 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17829 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17830 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17831
13dc9eac
L
17832 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17833 <stdint.h>.
17834 (GET_PC): Cast to uintptr_t first.
17835 (GET_FRAME): Likewise.
17836 (GET_STACK): Likewise.
17837
a7895d15
L
17838 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17839 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17840 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17842 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17844 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17845 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17846 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17847 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17848 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17849 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17850 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17851 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17852 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17853 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17854 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17855 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17856 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17857 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17858 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17859 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17861 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17862 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17864 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17865 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17866 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17867
656416c9
AS
178682012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17869
5bd66283
AS
17870 * Makerules (+depfiles): Also collect depfiles from .oS in
17871 $(extra-objs).
17872 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17873 .oS, $(libnldbl-routines)).
17874
656416c9
AS
17875 * Makerules (native-compile-mkdep-flags): Define.
17876 * sunrpc/Makefile (extra-objs): Add $(addprefix
17877 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17878 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17879 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17880 calling $(make-target-directory).
17881
a46f2169
L
178822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17883
17884 * bits/types.h (__snseconds_t): Removed.
17885 * time/time.h (struct timespec): Replace __snseconds_t with
17886 __syscall_slong_t.
17887 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17888 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17889 Likewise.
17890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17891 (__SNSECONDS_T_TYPE): Likewise.
17892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17893 (__SNSECONDS_T_TYPE): Likewise.
17894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17895 (__SNSECONDS_T_TYPE): Likewise.
17896
6af6528b
L
178972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17898
17899 * sysdeps/mach/hurd/bits/typesizes.h
17900 (__SYSCALL_SLONG_TYPE): New macro.
17901 (__SYSCALL_ULONG_TYPE): Likewise.
17902
de986b56
L
179032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17904
17905 * bits/types.h (__syscall_slong_t): New type.
17906 (__syscall_ulong_t): Likewise.
17907
17908 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17909 (__SYSCALL_ULONG_TYPE): Likewise.
17910 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17911 (__SYSCALL_SLONG_TYPE): Likewise.
17912 (__SYSCALL_ULONG_TYPE): Likewise.
17913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17914 (__SYSCALL_SLONG_TYPE): Likewise.
17915 (__SYSCALL_ULONG_TYPE): Likewise.
17916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17917 (__SYSCALL_SLONG_TYPE): Likewise.
17918 (__SYSCALL_ULONG_TYPE): Likewise.
17919
85736dc7
L
179202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17921
17922 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17923 Add sigaltstack-offsets.sym.
17924 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17925 <sigaltstack-offsets.h>.
17926 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17927 longjmp_msg pointer.
17928 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17929 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17930 signal stack.
17931 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17932
cc03b296
JM
179332012-05-15 Joseph Myers <joseph@codesourcery.com>
17934
a9538892
JM
17935 * elf/stackguard-macros.h: Remove file.
17936 * sysdeps/generic/stackguard-macros.h: New file.
17937 * sysdeps/i386/stackguard-macros.h: Likewise.
17938 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17939 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17940 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17941 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17942 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17943 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17944 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17945 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17946 <elf/stackguard-macros.h>.
17947
cc03b296
JM
17948 [BZ #14109]
17949 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17950 __aligned__ in attribute.
17951 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17952 (gregset_t): Likewise.
17953
93171016
L
179542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17955
17956 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17957 * sysdeps/x86_64/64/Implies-after: Here. New file.
17958 * sysdeps/x86_64/x32/Implies-after: New file.
17959
d86813a0
L
179602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17961
17962 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17963 and access return value for _dl_profile_fixup. Use R10_LP to
17964 load frame size.
17965
2953ec75
L
179662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17967
17968 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17969
3b550e9e
L
179702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17971
17972 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17973 * sysdeps/x86_64/x32/sysdep.h: New file.
17974
eda41706
L
179752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17976
17977 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17978 * sysdeps/x86_64/setjmp.S: Likewise.
17979
9ea01d93
AZ
179802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17981
17982 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17983 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17984 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17985 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17986 remove unused global constant.
17987
02a91938
CM
179882012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17989
17990 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17991 include of <not-cancel.h>.
17992
6540185f
RM
179932012-05-15 Roland McGrath <roland@hack.frob.com>
17994
17995 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17996
509072a0
AJ
179972012-05-15 Jeff Law <law@redhat.com>
17998 Andreas Jaeger <aj@suse.de>
17999
18000 [BZ #13594]
18001 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18002 out from...
18003 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18004 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18005 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18006 code changing __hst_map_handle.map.
18007
ba75122d
RM
180082012-05-15 Roland McGrath <roland@hack.frob.com>
18009
18010 * configure.in (sysnames): Look for Implies-before and Implies-after
18011 files.
18012 * configure: Regenerated.
18013
890d8bd8
L
180142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18015
18016 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18017 8-byte data alignment with LP_SIZE alignment.
18018
f6ee6623
L
180192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18020
18021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18022 into R10_LP.
18023
ea2626f6
L
180242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18025
18026 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18027
085f715e
L
180282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18029
18030 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18031 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18032 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18033 Likewise.
18034 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18035
be8498fc
L
180362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18037
18038 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18039 (stackinfo_sub_sp): Likewise.
18040
70bc83b9
L
180412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18042
18043 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18044 RAX_LP.
18045
9bc0b730
L
180462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18047
18048 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18049 into R*_LP.
18050
6d2850e7
L
180512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18052
18053 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18054 sizes into R*_LP.
18055
3cb84561
L
180562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18057
18058 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18059
54e2ed81
L
180602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18061
18062 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18063 into R11_LP and load __x86_64_shared_cache_size_half into
18064 R8_LP.
18065
8a17f349
L
180662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18067
18068 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18069 R8_LP.
18070
777b1eea
AZ
180712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18072
18073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18074 logb for POWER7.
18075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18076 logbf for POWER7.
18077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18078 logbl for POWER7.
18079 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18080 powerpc32/power7/fpu/s_logb.c via #include.
18081 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18082 powerpc32/power7/fpu/s_logbf.c via #include.
18083 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18084 powerpc32/power7/fpu/s_logbl.c via #include.
18085
d20d4ac2
JM
180862012-05-15 Joseph Myers <joseph@codesourcery.com>
18087
18088 * README.libm: Remove file.
18089
6cdef1ab
L
180902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18091
18092 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18093 count for x32. Use R*_LP and omit operand-size suffix.
18094
0b254d8f
L
180952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18096
18097 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18098 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18099 * sysdeps/x86_64/x32/shlib-versions: New file.
18100
ceb809dc
RM
181012012-05-14 Roland McGrath <roland@hack.frob.com>
18102
18103 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18104 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18105 Use _dl_fatal_printf instead.
18106
37f1abd4
JM
181072012-05-14 Joseph Myers <joseph@codesourcery.com>
18108
18109 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18110 set if not set by the user. Do not allow for being unset.
18111 * sysdeps/unix/sysv/linux/configure: Regenerated.
18112
11de3a33
L
181132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18114
18115 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18116 the `q' suffix from lea and replace .quad with ASM_ADDR.
18117
e02f153a
L
181182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18119
18120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18121 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18122 instead of $17.
18123 (PTR_DEMANGLE): Likewise.
18124
520ae0fd
L
181252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18126
18127 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18128 (LP_OP): Likewise.
18129 (ASM_ADDR): Likewise.
18130 (RAX_LP): Likewise.
18131 (RBP_LP): Likewise.
18132 (RBX_LP): Likewise.
18133 (RCX_LP): Likewise.
18134 (RDI_LP): Likewise.
18135 (RSI_LP): Likewise.
18136 (RSP_LP): Likewise.
18137 (R8_LP): Likewise.
18138 (R9_LP): Likewise.
18139 (R10_LP): Likewise.
18140 (R10_LP): Likewise.
18141 (R11_LP): Likewise.
18142 (R12_LP): Likewise.
18143 (R13_LP): Likewise.
18144 (R14_LP): Likewise.
18145 (R15_LP): Likewise.
18146
b985be81
L
181472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18148
18149 * sysdeps/x86_64/x32/dl-machine.h: New file.
18150
6a4888ff
AJ
181512012-05-14 Andreas Jaeger <aj@suse.de>
18152
18153 * manual/Makefile (subdir): Remove export of subdir.
18154 (all): Remove target.
18155 (.PHONY): Remove all from list.
18156 (mkinstalldirs): Remove.
18157 (.PHONY): Remove installdirs from list.
18158 ($(inst_infodir)/libc.info): Use make-target-directory.
18159 (installdirs): Remove.
18160 (subdir_%): Remove.
18161 (glibc-targets): Remove.
18162 (lib): Remove.
18163 (stubs): Remove.
18164 ($(objpfx)stubs ../po/manual.pot): Remove.
18165 ($(objpfx)stamp%): Remove.
18166 (make-target-directory): Remove.
18167 (subdir_install): Remove.
18168 (routines): Remove.
18169 (aux): Remove.
18170 (sources): Remove.
18171 (objects): Remove.
18172 (headers): Remove.
18173
18174 [BZ #13750]
18175 * manual/.gitignore: Remove, it's not needed anymore.
18176 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18177 all files in it.
18178 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18179 directory.
18180 (texis): Renamed to $(objpfx)texis.
18181 (texis-path): New, contains path to generated files.
18182 (chapters.%): Use texis-path for complete path, add extra argument
18183 libc-texinfo.sh.
18184 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18185 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18186 (summary,texi, stamp-summary): Use complete path of
18187 files. Generate files in build dir.
18188 (dir-add.texi): Build in build dir.
18189 (libm-err.texi,stamp-libm-err): Likewise.
18190 (version.texi, stamp-version): Likewise.
18191 (.%c.texi): Likewise.
18192 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18193 (mostlyclean): Remove target.
18194 (realclean): Remove target.
18195 (generated): Add new variable with contents from mostlyclean and
18196 realclean, remove entries duplicated in common-mostlyclean, add
18197 stamp-libm-err and stamp-version.
18198 (generated-dirs): Add libc directory.
18199 ($(inst_infodir)/libc.info): Install files from build dir.
18200
18201 * manual/install.texi (Configuring and compiling): Adjust since
18202 the info files are not part of the tar ball anymore.
18203
7ac77294
AJ
182042012-05-14 Andreas Jaeger <aj@suse.de>
18205
18206 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18207 variable.
18208
ffb7875d
JM
182092012-05-14 Joseph Myers <joseph@codesourcery.com>
18210
18211 [BZ #13717]
18212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18213 to 2.2.0 where earlier.
18214 * sysdeps/unix/sysv/linux/configure: Regenerated.
18215 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18216 Remove conditional code.
18217 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18218 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18219 Remove conditional code.
18220 [!__NR_lchown]: Likewise.
18221 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18222 [__NR_lchown]: Likewise.
18223 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18224 comment referencing __ASSUME_LCHOWN_SYSCALL.
18225 * sysdeps/unix/sysv/linux/i386/sigaction.c
18226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18228 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18229 Remove conditional code.
18230 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18231 (__protocol_available): Remove #if 0 code.
18232 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18233 conditional code.
18234 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18235 * sysdeps/unix/sysv/linux/kernel-features.h
18236 (__ASSUME_GETCWD_SYSCALL): Don't define.
18237 (__ASSUME_REALTIME_SIGNALS): Likewise.
18238 (__ASSUME_PREAD_SYSCALL): Likewise.
18239 (__ASSUME_PWRITE_SYSCALL): Likewise.
18240 (__ASSUME_POLL_SYSCALL): Likewise.
18241 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18242 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18243 non-SPARC.
18244 (__ASSUME_SIOCGIFNAME): Don't define.
18245 (__ASSUME_MSG_NOSIGNAL): Likewise.
18246 (__ASSUME_SENDFILE): Define unconditionally.
18247 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18248 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18249 conditional code.
18250 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18251 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18252 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18253 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18254 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18255 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18256 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18258 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18261 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18281 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18282 Remove conditional code.
18283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18284 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18285 Remove conditional code.
18286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18287 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18288 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18289 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18290 Remove conditional code.
18291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18292 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18293 Remove conditional code.
18294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18295 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18296 Remove conditional code.
18297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18298 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18299 Remove conditional code.
18300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18301 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18302 Remove conditional code.
18303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18304 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18305 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18307 * sysdeps/unix/sysv/linux/sigaction.c
18308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18310 * sysdeps/unix/sysv/linux/sigpending.c
18311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18313 * sysdeps/unix/sysv/linux/sigprocmask.c
18314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18316 * sysdeps/unix/sysv/linux/sigsuspend.c
18317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18320 (__libc_missing_rt_sigs): Remove.
18321 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18322 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18323 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18324 Remove conditional code.
18325 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18326 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18327 return 1.
18328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18329 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18330 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18331 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18332
1bfb7291
AJ
183332012-05-14 Andreas Jaeger <aj@suse.de>
18334
caae5a81
AJ
18335 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18336 it's not used in glibc.
18337 (__coshm1): Likewise.
18338 (__acosh1p): Likewise.
18339 (__sgn): Likewise.
18340
1bfb7291
AJ
18341 * manual/string.texi (Copying and Concatenation): Add missing
18342 variable in concat example.
18343 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18344
c044d724
L
183452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18346
144c5467 18347 [BZ #14103]
c044d724
L
18348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18349 __builtin_clzl with __builtin_clzll.
18350
2523c62b
L
183512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18352
18353 [BZ #14104]
18354 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18355 libc_freeres_ptr.
18356
d7bb4c42
LD
183572012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18358
18359 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18360 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18361 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18362 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18363
9dc4e1fb
MF
183642012-05-14 Mike Frysinger <vapier@gentoo.org>
18365
18366 * NEWS: Update ia64 info.
18367
c7df0112
AS
183682012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18369
18370 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18371 used as bcopy.
18372
dc70356c
TS
183732012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18374
18375 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18376 * sysdeps/unix/syscalls.list (dup3): Likewise.
18377 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18378 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18379
9fb1a21f
L
183802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18381
18382 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18383 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18384
4822a2a5
L
183852012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18386
18387 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18388 thread pointer.
18389 (TLS_IE): Use mov/add instead of movq/addq to load thread
18390 pointer.
18391 (TLS_GD_PREFIX): New.
18392 (TLS_GD): Use it.
18393
842b81d6
DM
183942012-05-11 David S. Miller <davem@davemloft.net>
18395
18396 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18397 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18398 (_FPU_SETCW): Likewise.
18399
1cf463cd
L
184002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18401
18402 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18403 is 32-byte aligned.
18404
60cc4a18
AS
184052012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18406
18407 [BZ #11837]
18408 * iconvdata/gb18030.c: Update tables.
18409 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18410 characters specially.
18411 (BODY for TO_LOOP): Add encoding of missing ranges.
18412
febb44a4
TS
184132012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18414
18415 [BZ #13673]
18416 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18417 * sysdeps/mach/hurd/dup3.c: Likewise.
18418 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18419 * sysdeps/powerpc/memmove.c:: Likewise.
18420
0a10fb9e
L
184212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18422
18423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18424 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18425
df8a552f
L
184262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18427
18428 * elf/elf.h (R_X86_64_RELATIVE64): New.
18429 (R_X86_64_NUM): Updated.
18430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18431 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18432 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18433 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18434 tst-quad1pie tst-quad2pie
18435 (modules-names): Add tst-quadmod1 tst-quadmod2.
18436 ($(objpfx)tst-quad1): New dependency.
18437 ($(objpfx)tst-quad2): Likewise.
18438 ($(objpfx)tst-quad1pie): Likewise.
18439 ($(objpfx)tst-quad2pie): Likewise.
18440 * sysdeps/x86_64/tst-quad1.c: New file.
18441 * sysdeps/x86_64/tst-quad1pie.c: New file.
18442 * sysdeps/x86_64/tst-quad2.c: Likewise.
18443 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18444 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18445 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18446 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18447 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18448
f34d6f84
ST
184492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18450
f42d41d1
ST
18451 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18452 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18453 * streams/stropts.h (t_scalar_t): Define type.
18454
3c3571fc
ST
18455 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18456 (_PATH_PRESERVE): Set to "/var/lib".
18457 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18458
61f06bd3
ST
18459 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18460 instead of int.
18461
918d4d71
ST
18462 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18463 if __dir_mkfile succeeded.
18464
f34d6f84
ST
18465 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18466 checking for _hurd_dtablesize. Unlock it right after having
18467 finished _hurd_dtable allocation.
18468
10589b4a
TS
184692012-05-10 Thomas Schwinge <thomas@schwinge.name>
18470
674cdbc7
TS
18471 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18472 * sysdeps/mach/hurd/configure: Regenerated.
18473 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18474 special-casing to...
18475 * sysdeps/gnu/configure.in: ... this new file.
18476 * sysdeps/unix/sysv/linux/configure: Regenerated.
18477 * sysdeps/gnu/configure: New generated file.
18478
8e41b99f
TS
18479 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18480 for Linux: use nsec instead of usec, as well as:
18481 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18482 members of type struct timespec.
18483 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18484 New macros.
18485 (struct stat64): Likewise.
18486 (_STATBUF_ST_NSEC): New macro.
18487 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18488
10589b4a
TS
18489 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18490 __strtoul_internal rather than strtoul.
18491
63643c85
PT
184922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18493
18494 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18495 and reject them.
18496
3faebe6a
ST
184972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18498
18499 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18500 which preserves existing values.
18501 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18502
c6474b07
PT
185032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18504
18505 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18506 TIMEOUT values. Return EINVAL for NFDS values either negative or
18507 greater than FD_SETSIZE.
18508
1043890b
ST
185092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18510
18511 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18512 allocated, call __vm_protect to finish enabling the existing space, and
18513 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18514 allocate the remainder.
18515
37ed8b9b
PT
185162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18517
18518 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18519 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18520
db653660
ST
185212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18522
37ed8b9b
PT
18523 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18524 sysdeps/mach/hurd/readlink.c.
b29d4053 18525
db653660
ST
18526 * posix/tst-sysconf.c (posix_options): Only use
18527 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18528 _POSIX_SYNCHRONIZED_IO when they are defined
18529 * sysdeps/mach/hurd/bits/posix_opt.h:
18530 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18531 (_XOPEN_REALTIME): Undefine macro.
18532 (_XOPEN_REALTIME_THREADS): Undefine macro.
18533 (_XOPEN_SHM): Undefine macro.
18534 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18535 macro to -1.
18536 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18537 macro to -1.
18538 (_POSIX_ASYNC_IO): Undefine macro.
18539 (_POSIX_PRIORITIZED_IO): Undefine macro.
18540 (_POSIX_SPIN_LOCKS): Define macro to -1.
18541
ee16e894
ST
18542 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18543 SA_NODEFER, SA_RESETHAND.
18544 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18545 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18546 F_DUPFD_CLOEXEC.
18547
6103ae3b
TS
185482012-05-10 Thomas Schwinge <thomas@schwinge.name>
18549
18550 * elf/Makefile (pldd-modules): Define unconditionally.
18551
80b4e5f3
TS
185522012-05-10 Thomas Schwinge <thomas@schwinge.name>
18553
18554 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18555
edadcbd6
ST
185562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18557
18558 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18559 Return ENOENT when name is empty.
18560 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18561
80694780
TS
185622012-05-10 Thomas Schwinge <thomas@schwinge.name>
18563
1792c087
TS
18564 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18565
80694780
TS
18566 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18567
6b645f0d
ST
185682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18569
80694780
TS
18570 Fix mlock in all cases except non-readable pages.
18571 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18572 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18573
6b645f0d
ST
18574 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18575 (__mkdir): When path is `/', just fail with EEXIST.
18576 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18577
e468f8a3
TS
185782012-05-10 Thomas Schwinge <thomas@schwinge.name>
18579
18580 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18581 <sys/uio.h> (for writev).
18582 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18583 and <sys/param.h> (for MIN).
18584
a4186cff
PT
185852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18586
18587 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18588 REQUESTED_TIME. Properly set the remaining time and return EINTR
18589 if interrupted.
18590
510bbf14
TS
185912012-05-10 Thomas Schwinge <thomas@schwinge.name>
18592
18593 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18594 Depend on against $(link-rpcuserlibs).
18595
5d5722e8
ST
185962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18597
a4186cff
PT
18598 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18599 (__libc_stack_end): Do not use attribute_relro.
18600 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18601 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18602 to libthread-provided value.
a4186cff
PT
18603 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18604 attribute_relro.
5d5722e8 18605
37233df9
TS
186062012-05-10 Thomas Schwinge <thomas@schwinge.name>
18607
be971a2b
TS
18608 [BZ #3748]
18609 * bits/libc-lock.h (__libc_once_get): New macro.
18610 * sysdeps/mach/bits/libc-lock.h: Likewise.
18611 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18613 instead of using implementation details.
18614
37233df9
TS
18615 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18616 * libio/freopen.c: Likewise.
18617 * libio/freopen64.c: Likewise.
18618 * misc/syslog.c: Likewise.
18619 * nscd/connections.c: Likewise.
18620 * nscd/netgroupcache.c: Likewise.
18621 * sysdeps/posix/getcwd.c: Likewise.
18622
38de94a5
RM
186232012-05-10 Roland McGrath <roland@hack.frob.com>
18624
18625 * math/w_ilogbf.c: Add #include <limits.h>.
18626
67530489
ST
186272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18628
a4186cff 18629 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18630 path instead of returning without unlocking.
18631
67530489
ST
18632 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18633 immediate-write ioctls.
18634 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18635
5aa3a74a
TS
186362012-05-10 Thomas Schwinge <thomas@schwinge.name>
18637
18bad2ae
TS
18638 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18639 __builtin_frame_address instead of making assumptions about the
18640 location of the return address relative to DATA. Force early load of
18641 the return address.
18642 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18643 __builtin_frame_address.
18644
5aa3a74a
TS
18645 dup3 for GNU Hurd.
18646 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18647 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18648 implement dup3 and do some further code clean-ups.
18649 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18650 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18651
ecd0de9a
ST
186522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18653
cd9fa985
ST
18654 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18655
a4186cff
PT
18656 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18657 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18658 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18659 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18660 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18661 d->port.lock.
802ca5a5 18662
a4186cff
PT
18663 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18664 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18665 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18666
bcf55240
TS
186672012-05-10 Thomas Schwinge <thomas@schwinge.name>
18668
6960eb42
TS
18669 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18670 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18671 definitions.
18672
eb43375f
TS
18673 accept4 for GNU Hurd.
18674 * include/sys/socket.h (__libc_accept4): New prototype.
18675 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18676 to implement __libc_accept4.
18677 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18678 __libc_accept4.
18679 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18680
bcf55240
TS
18681 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18682 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18683 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18684 signal-defines.sym.
18685
6178c55b
ST
186862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18687
a4186cff 18688 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18689
6f080c2f
TS
186902012-05-10 Thomas Schwinge <thomas@schwinge.name>
18691
18692 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18693 assertion on O_CLOEXEC flag.
18694 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18695 * hurd/intern-fd.c: Likewise.
18696 * hurd/port2fd.c: Likewise.
18697
bcfe3a54
ST
186982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18699
18700 [BZ #3906]
18701 * bits/in.h (IPV6_PKTINFO): Define new macro.
18702 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18703
89c9aa49
AZ
187042012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18705
18706 [BZ #13954]
18707 [BZ #13955]
18708 [BZ #13956]
18709 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18711 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18712 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18714 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18715 * math/libm-test.inc (logb_test) : Additional logb tests.
18716
021db4be
AJ
187172012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18718 Andreas Jaeger <aj@suse.de>
18719
18720 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18721 * configure: Regenerated.
18722 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18723 * config.make.in (link-obsolete-rpc): New substituted variable.
18724 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18725 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18726 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18727 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18728 so that libc.a contains the symbols.
18729 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18730 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18731 * sunrpc/auth_none.c: Likewise.
18732 * sunrpc/auth_unix.c: Likewise.
18733 * sunrpc/authdes_prot.c: Likewise.
18734 * sunrpc/authuxprot.c: Likewise.
18735 * sunrpc/clnt_gen.c: Likewise.
18736 * sunrpc/clnt_perr.c: Likewise.
18737 * sunrpc/clnt_raw.c: Likewise.
18738 * sunrpc/clnt_simp.c: Likewise.
18739 * sunrpc/clnt_tcp.c: Likewise.
18740 * sunrpc/clnt_udp.c: Likewise.
18741 * sunrpc/clnt_unix.c: Likewise.
18742 * sunrpc/des_crypt.c: Likewise.
18743 * sunrpc/des_soft.c: Likewise.
18744 * sunrpc/get_myaddr.c: Likewise.
18745 * sunrpc/key_call.c: Likewise.
18746 * sunrpc/key_prot.c: Likewise.
18747 * sunrpc/netname.c: Likewise.
18748 * sunrpc/pm_getmaps.c: Likewise.
18749 * sunrpc/pm_getport.c: Likewise.
18750 * sunrpc/pmap_clnt.c: Likewise.
18751 * sunrpc/pmap_prot.c: Likewise.
18752 * sunrpc/pmap_prot2.c: Likewise.
18753 * sunrpc/pmap_rmt.c: Likewise.
18754 * sunrpc/publickey.c: Likewise.
18755 * sunrpc/rpc_cmsg.c: Likewise.
18756 * sunrpc/rpc_common.c: Likewise.
18757 * sunrpc/rpc_dtable.c: Likewise.
18758 * sunrpc/rpc_prot.c: Likewise.
18759 * sunrpc/rpc_thread.c: Likewise.
18760 * sunrpc/rtime.c: Likewise.
18761 * sunrpc/svc.c: Likewise.
18762 * sunrpc/svc_auth.c: Likewise.
18763 * sunrpc/svc_raw.c: Likewise.
18764 * sunrpc/svc_run.c: Likewise.
18765 * sunrpc/svc_tcp.c: Likewise.
18766 * sunrpc/svc_udp.c: Likewise.
18767 * sunrpc/svc_unix.c: Likewise.
18768 * sunrpc/svcauth_des.c: Likewise.
18769 * sunrpc/xcrypt.c: Likewise.
18770 * sunrpc/xdr.c: Likewise.
18771 * sunrpc/xdr_array.c: Likewise.
18772 * sunrpc/xdr_float.c: Likewise.
18773 * sunrpc/xdr_intXX_t.c: Likewise.
18774 * sunrpc/xdr_mem.c: Likewise.
18775 * sunrpc/xdr_rec.c: Likewise.
18776 * sunrpc/xdr_ref.c: Likewise.
18777 * sunrpc/xdr_sizeof.c: Likewise.
18778 * sunrpc/xdr_stdio.c: Likewise.
18779
b5c086a2
RM
187802012-05-10 Roland McGrath <roland@hack.frob.com>
18781
18782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18783 change. Update copyright years.
18784
6d74dd09
JM
187852012-05-10 Joseph Myers <joseph@codesourcery.com>
18786
18787 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18788
28e72501
MK
187892012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18790 Joseph Myers <joseph@codesourcery.com>
18791 Paul Pluzhnikov <ppluzhnikov@google.com>
18792
18793 [BZ #14012]
18794 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18795 requiring rpcgen.
18796 [cross-compiling] (extra-libs): Likewise.
18797 [cross-compiling] (extra-libs-others): Likewise.
18798 [cross-compiling] (librpcsvc-routines): Likewise.
18799 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18800 [cross-compiling] (omit-deps): Likewise.
18801 (sunrpc-CPPFLAGS): New variable.
18802 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18803 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18804 (cross-rpcgen-objs): New variable.
18805 (extra-objs): Append $(cross-rpcgen-objs).
18806 ($(cross-rpcgen-objs)): New rule.
18807 ($(objpfx)cross-rpcgen): Likewise.
18808 (rpcgen-cmd): Define to use $(built-program-file). Expand
18809 comment.
18810 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18811 ($(objpfx)x%.stmp): Likewise.
18812 * sunrpc/proto.h [IS_IN_build] (_): Define.
18813 [IS_IN_build] (_libc_intl_domainname): Likewise.
18814
c8c59454
L
188152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18816
18817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18818 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18819 and R_X86_64_TPOFF64.
18820
6f27cd16
JM
188212012-05-10 Joseph Myers <joseph@codesourcery.com>
18822
18823 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18824 sysdeps/unix/sysv/syscalls.list.
18825 (stime): Likewise.
18826 (utime): Likewise.
18827 * sysdeps/unix/sysv/syscalls.list: Remove file.
18828
02467e1c
PE
188292012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18830
18831 [BZ #3440]
18832 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18833 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18834 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18835 (__LC_IDENTIFICATION): Make these macros useful in #if
18836 expressions, as required by C99.
18837
da392631
AS
188382012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18839
18840 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18841 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18842 after this.
18843
8115f29b
L
188442012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18845
18846 * stdlib/longlong.h: Updated from GCC.
18847
bdd74070
AJ
188482012-05-09 Andreas Jaeger <aj@suse.de>
18849
edfe0dbe
AJ
18850 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18851 default is first entry.
18852 (run_mode): Set type.
18853 (main): Remove informal message about syslog.
18854 (options): Fix typo.
18855
bcfe3a54
ST
18856 [BZ #14053]
18857 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18858 to asm.
bcfe3a54
ST
18859 (lrint): Likewise.
18860 (llrintf): Likewise.
18861 (llrint): Likewise.
18862 (rint): Likewise.
18863 (rintf): Likewise.
18864 (nearbyint): Likewise.
18865 (nearbyintf): Likewise.
bdd74070 18866
91d8d69e
AJ
188672012-05-09 Andreas Jaeger <aj@suse.de>
18868 Pedro Alves <palves@redhat.com>
18869
18870 * nscd/nscd.c (run_mode): Use enum.
18871 (main): Cleanup coding style issue.
18872
bb90b80b
AJ
188732012-05-09 Alexandre Oliva <aoliva@redhat.com>
18874 Andreas Jaeger <aj@suse.de>
18875
bcfe3a54
ST
18876 * nscd/nscd.c (go_background): Replaced with...
18877 (run_mode): ... this.
bb90b80b 18878 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18879 (options): Add -F --foreground.
18880 (main): Implement it.
18881 (parse_opt): Parse it.
bb90b80b 18882
1a4b75a1
AJ
188832012-05-09 Andreas Jaeger <aj@suse.de>
18884
18885 [BZ #14083]
18886 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18887 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18888 -Wconversion warning.
18889 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18890 Likewise.
18891
b1cc2472
JM
188922012-05-09 Joseph Myers <joseph@codesourcery.com>
18893
18894 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18895 == 0.
18896 (LC_ALL): Use macro-int-constant.
18897 (LC_COLLATE): Likewise.
18898 (LC_CTYPE): Likewise.
18899 (LC_MESSAGES): Likewise.
18900 (LC_MONETARY): Likewise.
18901 (LC_NUMERIC): Likewise.
18902 (LC_TIME): Likewise.
18903 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18904 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18906 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18907 Specify type.
18908 [C99-based standards] (float_t): Expect type.
18909 [C99-based standards] (double_t): Expect type.
18910 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18911 type.
18912 [C99-based standards] (HUGE_VALL): Likewise.
18913 [C99-based standards] (INFINITY): Likewise.
18914 [C99-based standards] (NAN): Likewise.
18915 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18916 [C99-based standards] (FP_NAN): Likewise.
18917 [C99-based standards] (FP_NORMAL): Likewise.
18918 [C99-based standards] (FP_SUBNORMAL): Likewise.
18919 [C99-based standards] (FP_ZERO): Likewise.
18920 [C99-based standards] (FP_FAST_FMA): Use
18921 optional-macro-int-constant. Specify type. Require == 1.
18922 [C99-based standards] (FP_FAST_FMAF): Likewise.
18923 [C99-based standards] (FP_FAST_FMAL): Likewise.
18924 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18925 [C99-based standards] (FP_ILOGBNAN): Likewise.
18926 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18927 Specify type.
18928 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18929 [C99-based standards] (math_errhandling): Specify type.
18930 [ISO99 || ISO11] (signgam): Do not allow.
18931 [non-C99-based standards] (copysignf): Do not allow.
18932 [non-C99-based standards] (exp2f): Likewise.
18933 [non-C99-based standards] (log2f): Likewise.
18934 [non-C99-based standards] (modff): Allow.
18935 [non-C99-based standards] (erff): Do not allow.
18936 [non-C99-based standards] (erfcf): Likewise.
18937 [non-C99-based standards] (gammaf): Likewise.
18938 [non-C99-based standards] (hypotf): Likewise.
18939 [non-C99-based standards] (j0f): Likewise.
18940 [non-C99-based standards] (j1f): Likewise.
18941 [non-C99-based standards] (jnf): Likewise.
18942 [non-C99-based standards] (lgammaf): Likewise.
18943 [non-C99-based standards] (tgammaf): Likewise.
18944 [non-C99-based standards] (y0f): Likewise.
18945 [non-C99-based standards] (y1f): Likewise.
18946 [non-C99-based standards] (ynf): Likewise.
18947 [non-C99-based standards] (isnanf): Likewise.
18948 [non-C99-based standards] (acoshf): Likewise.
18949 [non-C99-based standards] (asinhf): Likewise.
18950 [non-C99-based standards] (atanhf): Likewise.
18951 [non-C99-based standards] (cbrtf): Likewise.
18952 [non-C99-based standards] (expm1f): Likewise.
18953 [non-C99-based standards] (ilogbf): Likewise.
18954 [non-C99-based standards] (log1pf): Likewise.
18955 [non-C99-based standards] (logbf): Likewise.
18956 [non-C99-based standards] (nextafterf): Likewise.
18957 [non-C99-based standards] (remainderf): Likewise.
18958 [non-C99-based standards] (rintf): Likewise.
18959 [non-C99-based standards] (scalbf): Likewise.
18960 [non-C99-based standards] (copysignl): Likewise.
18961 [non-C99-based standards] (exp2l): Likewise.
18962 [non-C99-based standards] (log2l): Likewise.
18963 [non-C99-based standards] (modfl): Allow.
18964 [non-C99-based standards] (erfl): Do not allow.
18965 [non-C99-based standards] (erfcl): Likewise.
18966 [non-C99-based standards] (gammal): Likewise.
18967 [non-C99-based standards] (hypotl): Likewise.
18968 [non-C99-based standards] (j0l): Likewise.
18969 [non-C99-based standards] (j1l): Likewise.
18970 [non-C99-based standards] (jnl): Likewise.
18971 [non-C99-based standards] (lgammal): Likewise.
18972 [non-C99-based standards] (tgammal): Likewise.
18973 [non-C99-based standards] (y0l): Likewise.
18974 [non-C99-based standards] (y1l): Likewise.
18975 [non-C99-based standards] (ynl): Likewise.
18976 [non-C99-based standards] (isnanl): Likewise.
18977 [non-C99-based standards] (acoshl): Likewise.
18978 [non-C99-based standards] (asinhl): Likewise.
18979 [non-C99-based standards] (atanhl): Likewise.
18980 [non-C99-based standards] (cbrtl): Likewise.
18981 [non-C99-based standards] (expm1l): Likewise.
18982 [non-C99-based standards] (ilogbl): Likewise.
18983 [non-C99-based standards] (log1pl): Likewise.
18984 [non-C99-based standards] (logbl): Likewise.
18985 [non-C99-based standards] (nextafterl): Likewise.
18986 [non-C99-based standards] (remainderl): Likewise.
18987 [non-C99-based standards] (rintl): Likewise.
18988 [non-C99-based standards] (scalbl): Likewise.
18989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18990 [non-C99-based standards] (FP_*): Do not allow.
18991 [C99-based standards] (FP_*): Change to
18992 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18993 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18994 allow.
18995 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18996 (SIG_ERR): Likewise.
18997 [X/Open-based standards] (SIG_HOLD): Likewise.
18998 (SIG_IGN): Likewise.
18999 (SIGABRT): Use macro-int-constant. Specify type. Require
19000 positive value.
19001 (SIGFPE): Likewise.
19002 (SIGILL): Likewise.
19003 (SIGINT): Likewise.
19004 (SIGSEGV): Likewise.
19005 (SIGTER): Likewise.
19006 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19007 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19008 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19009 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19010 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19011 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19012 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19013 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19014 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19015 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19016 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19017 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19018 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19019 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19020 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19021 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19022 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19023 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19024 [X/Open-based standards] (SIGTRAP): Likewise.
19025 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19026 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19027 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19028 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19029 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19030 allow.
19031
b9f1922d
IW
190322012-05-08 Ian Wienand <ianw@vmware.com>
19033
19034 [BZ #14080]
19035 * time/tzset.c (__tzset_parse_tz): Update default rules for
19036 daylight time changes in the Energy Policy Act of 2005.
19037
1db86e88
AJ
190382012-05-09 Andreas Jaeger <aj@suse.de>
19039
19040 [BZ #13983]
19041 * elf/ldconfig.c (parse_conf): Change string to make clear that
19042 ldconfig only issued a warning if ld.so.conf does not exist.
19043
dee4a4e3
DM
190442012-05-08 David S. Miller <davem@davemloft.net>
19045
ee0db190
DM
19046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19047 movxtod instead of popping the value on the stack.
19048
dee4a4e3
DM
19049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19050
6a43ec98
CD
190512012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19052
19053 * config.h.in: Add HAVE_ARM_PCS_VFP.
19054
05c2c961
RMG
190552012-05-08 Roland Mc Grath <roland@hack.frob.com>
19056
bcfe3a54
ST
19057 [BZ #13979]
19058 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19059 checking but the checks are disabled for any reason.
05c2c961 19060
4b30f61a
L
190612012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19062
19063 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19064 and ELF64_R_TYPE with ELFW(R_TYPE).
19065
eee2bc67
JM
190662012-05-08 Joseph Myers <joseph@codesourcery.com>
19067
7ea5391a
JM
19068 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19069 (ulimit): Likewise.
19070
eee2bc67
JM
19071 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19072 (settimeofday): Likewise.
19073
abb66a67
MF
190742012-05-08 Mike Frysinger <vapier@gentoo.org>
19075
19076 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19077 a struct th_u2 inside the union, and move tu_block/tu_code into
19078 a new th_u3 union of tu_block/tu_code inside of that. Move
19079 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19080 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19081 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19082 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19083 (th_stuff): Change to th_u1.tu_stuff.
19084 (th_data): Define.
19085 (th_msg): Change to th_u1.th_u2.tu_data.
19086
7f18b530
DM
190872012-05-07 David S. Miller <davem@davemloft.net>
19088
05760585
DM
19089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19090
7f18b530
DM
19091 [BZ #14074]
19092 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19093 (SETUP_PIC_REG): Use it.
19094 (SETUP_PIC_REG_LEAF): Use it.
19095
495fd99f
JM
190962012-05-07 Joseph Myers <joseph@codesourcery.com>
19097
19098 [BZ #13885]
19099 [BZ #13923]
19100 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19101 USE_AS_EXPM1L.
19102 (EXPL_FINITE): Likewise.
19103 (FLDLOG): Likewise.
19104 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19105 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19106 e_expl.S.
19107 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19108 USE_AS_EXPM1L.
19109 (EXPL_FINITE): Likewise.
19110 (FLDLOG): Likewise.
19111 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19112 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19113 e_expl.S.
19114 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19115 test of -max_value argument for long double.
19116 * sysdeps/i386/fpu/libm-test-ulps: Update.
19117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19118
6693d694
DM
191192012-05-06 David S. Miller <davem@davemloft.net>
19120
19121 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19122 quad soft-float symbols whose references which are compiler
19123 generated.
19124 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19125
6c23e11c
JM
191262012-05-06 Joseph Myers <joseph@codesourcery.com>
19127
d8b82cad
JM
19128 [BZ #13884]
19129 [BZ #13914]
19130 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19131 USE_AS_EXP10L.
19132 (EXPL_FINITE): Likewise.
19133 (FLDLOG): Likewise.
19134 (c0): Likewise.
19135 (c1): Likewise.
19136 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19137 Adjust comments for base varying.
19138 (__expl_finite): Change alias to EXPL_FINITE.
19139 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19140 e_expl.S.
19141 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19142 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19144 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19145 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19146 USE_AS_EXP10L.
19147 (EXPL_FINITE): Likewise.
19148 (FLDLOG): Likewise.
19149 (c0): Likewise.
19150 (c1): Likewise.
19151 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19152 Adjust comments for base varying.
19153 (__expl_finite): Change alias to EXPL_FINITE.
19154 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19155 tests for bugs.
19156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19157
6c23e11c
JM
19158 [BZ #14064]
19159 * math/libm-test.inc (check_float_internal): Correct ulp
19160 calculation for subnormal expected results.
19161
29ba805c
AJ
191622012-05-06 Andreas Jaeger <aj@suse.de>
19163
19164 * Makeconfig (+math-flags): New, set to -frounding-math.
19165 (+cflags): Add +math-flags so that all of glibc gets compiled with
19166 it.
19167
19168 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19169
7b17aeda
JM
191702012-05-05 Joseph Myers <joseph@codesourcery.com>
19171
5779f134
JM
19172 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19173 Disable one test.
19174
41498f4d
JM
19175 [BZ #13787]
19176 [BZ #13922]
19177 [BZ #14036]
19178 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19179 (__ieee754_expl): Allow for and saturate large arguments.
19180 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19181 (u_threshold): Likewise.
19182 (__exp): Call __ieee754_exp before checking for overflow and
19183 underflow.
19184 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19185 (u_threshold): Likewise.
19186 (__expf): Call __ieee754_expf before checking for overflow and
19187 underflow.
19188 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19189 (u_threshold): Likewise.
19190 (__expl): Call __ieee754_expl before checking for overflow and
19191 underflow.
19192 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19193 (__ieee754_expl): Allow for and saturate large arguments.
19194 * math/libm-test.inc (exp_test): Add another test. Do not allow
19195 missing overflow exception on overflow.
19196 (expm1_test): Do not allow missing overflow exception on overflow.
19197
6698b8bf
JM
19198 * sysdeps/i386/fpu/e_expl.c: Move to ...
19199 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19200 rather than using inline asm.
19201 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19202 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19203 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19204
7b17aeda
JM
19205 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19206 (nice): Likewise.
19207 (poll): Likewise.
19208 (signal): Likewise.
19209 (time): Likewise.
19210 (times): Likewise.
19211
f7c85819
JM
192122012-05-04 Joseph Myers <joseph@codesourcery.com>
19213
19214 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19215 sysdeps/unix/common/syscalls.list.
19216 (fchmod): Likewise.
19217 (fchown): Likewise.
19218 (ftruncate): Likewise.
19219 (getrusage): Likewise.
19220 (gettimeofday): Likewise.
19221 (setpgid): Likewise.
19222 (setregid): Likewise.
19223 (setreuid): Likewise.
19224 (sigaction): Likewise.
19225 (truncate): Likewise.
19226 (vhangup): Likewise.
19227 * sysdeps/unix/common/syscalls.list: Remove file.
19228 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19229 * sysdeps/unix/sysv/linux/Implies: Likewise.
19230
336270d0
L
192312012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19232
19233 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19235 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19236 Moved to ...
19237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19238 Here.
19239 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19240 to ...
19241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19242 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19243 to ...
19244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19245 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19246 to ...
19247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19248 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19249 to ...
19250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19251 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19252 to ...
19253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19254 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19255 to ...
19256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19257 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19258 to ...
19259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19260 Here.
19261 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19262 to ...
19263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19264 Here.
19265 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19266 to ...
19267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19268 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19269 Moved to ...
19270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19271 Here.
19272 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19273 to ...
19274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19275
d128e450
JM
192762012-05-04 Joseph Myers <joseph@codesourcery.com>
19277
fa8ee516
JM
19278 * sysdeps/unix/common/bits/dirent.h: Remove file.
19279 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19280
d128e450
JM
19281 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19282 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19283 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19284 * sysdeps/unix/bsd/isatty.c: Likewise.
19285 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19286 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19287 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19288
ff8faaf0 192892012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19290
62881be4 19291 [BZ #13563]
31dc8730
AZ
19292 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19293 long double comparison inaccuracies.
19294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19296
6fef930c
AS
192972012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19298
19299 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19300 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19301
8f203e6c
JM
193022012-05-04 Joseph Myers <joseph@codesourcery.com>
19303
19304 [BZ #14049]
19305 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19306 nonzero digits before rounding a hex value.
19307 * stdlib/tst-strtod.c (tests): Add another test.
19308
5197d9c2
AK
193092012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19310
19311 * sysdeps/s390/fpu/libm-test-ulps: Update.
19312
f0c1dedf
AJ
193132012-05-03 Andreas Jaeger <aj@suse.de>
19314
19315 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19316 does not get optimized out.
19317 (malloc_opt_barrier): New.
19318
a65ef2ae 193192012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19320 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19321
2b942cb7 19322 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19323 intermediate file deletion.
2b942cb7 19324 (generated): Add .symlist files.
a65ef2ae 19325
54b71e02
JM
193262012-05-03 Joseph Myers <joseph@codesourcery.com>
19327
19328 [BZ #13775]
19329 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19330 Redirect under this condition.
19331 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19332 [__USE_GNU] (__dprintf_chk): Not under this condition.
19333 [__USE_GNU] (__vdprintf_chk): Likewise.
19334 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19335 under this condition.
19336 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19337 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19338 [__USE_XOPEN2K8] (vdprintf): Likewise.
19339 [__USE_GNU] (__dprintf_chk): Not under this condition.
19340 [__USE_GNU] (__vdprintf_chk): Likewise.
19341 [__USE_GNU] (dprintf): Likewise.
19342 [__USE_GNU] (vdprintf): Likewise.
19343
d3dfcc41
RM
193442012-05-03 Roland McGrath <roland@hack.frob.com>
19345
19346 * elf/Makefile (common-generated): Set this instead of generated for
19347 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19348 $(all-built-dso)-derived lists.
19349
7ac30cc5
AJ
193502012-05-03 Andreas Jaeger <aj@suse.de>
19351
0c51e550
AJ
19352 * sysdeps/i386/fpu/libm-test-ulps: Update.
19353
7ac30cc5
AJ
19354 * FAQ: Removed.
19355 * FAQ.in: Likewise.
19356 * scripts/gen-FAQ.pl: Likewise.
19357 * manual/install.texi (Installation): Point to online location of
19358 FAQ.
19359 * Makefile (files-for-dist): Remove FAQ.
19360 (FAQ): Remove.
19361
d4c2917f
AM
193622012-05-02 Allan McRae <allan@archlinux.org>
19363
19364 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19365 (LDFLAGS-reldepmod5.so): Likewise.
19366 (LDFLAGS-reldep6mod1.so): Likewise.
19367 (LDFLAGS-reldep6mod4.so): Likewise.
19368 (LDFLAGS-reldep8mod3.so): Likewise.
19369 (LDFLAGS-unload4mod1.so): Likewise.
19370 (LDFLAGS-unload4mod2.so): Likewise.
19371 (LDFLAGS-tst-initorder): Likewise.
19372 (LDFLAGS-tst-initordera2.so): Likewise.
19373 (LDFLAGS-tst-initordera3.so): Likewise.
19374 (LDFLAGS-tst-initordera4.so): Likewise.
19375 (LDFLAGS-tst-initorderb2.so): Likewise.
19376 (LDFLAGS-noload): Likewise.
19377 (LDFLAGS-next): Likewise.
19378 (LDFLAGS-order2mod1.so): Likewise.
19379 (LDFLAGS-order2mod2.so): Likewise.
19380 (LDFLAGS-tst-initorder2): Likewise.
19381 (LDFLAGS-tst-initorder2a.so): Likewise.
19382 (LDFLAGS-tst-initorder2b.so): Likewise.
19383 (LDFLAGS-tst-initorder2c.so): Likewise.
19384 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19385
d77f993f
DM
193862012-05-02 David S. Miller <davem@davemloft.net>
19387
19388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19389
171a70b4
PP
193902012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19391
19392 [BZ #14055]
19393 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19394
0be196ad
AJ
193952012-05-02 Andreas Jaeger <aj@suse.de>
19396
19397 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19398 since we manipulate rounding mode.
19399 (CPPFLAGS-test-idouble.c): Likewise.
19400 (CPPFLAGS-test-ifloat.c): Likewise.
19401 (CFLAGS-test-ldouble.c): Likewise.
19402 (CFLAGS-test-double.c): Likewise.
19403 (CFLAGS-test-float.c): Likewise.
19404 (CFLAGS-test-misc.c): Likewise.
19405 (CFLAGS-test-test-fenv.c): Likewise.
19406
4f9d04aa
AZ
194072012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19408
2b942cb7
RM
19409 [BZ #2550]
19410 [BZ #2570]
19411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19412 comparisons to determine direction to adjust input.
4f9d04aa 19413
82a79e7d
RM
194142012-05-01 Roland McGrath <roland@hack.frob.com>
19415
f5a01ca9
RM
19416 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19417 output to the target.
19418
90fe4186
RM
19419 * scripts/localplt.awk: New file.
19420 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19421 (check-localplt-CFLAGS): Variable removed.
19422 ($(all-built-dso:=.jmprel)): New static pattern rule.
19423 (generated): Add those targets.
19424 (localplt-built-dso): New variable.
19425 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19426
19427 * elf/check-localplt.c: File removed.
19428
82397ed6
RM
19429 * scripts/check-execstack.awk: New file.
19430 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19431 (check-execstack-CFLAGS): Variable removed.
19432 ($(objpfx)check-execstack.h): Target removed.
19433 ($(objpfx)execstack-default): New target.
19434 (generated): Add that instead of check-execstack.h.
19435 ($(all-built-dso:=.phdr)): New static pattern rule.
19436 (generated): Add those targets.
19437 * elf/check-execstack.c: File removed.
19438
82a79e7d
RM
19439 * scripts/check-textrel.awk: New file.
19440 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19441 (check-textrel-CFLAGS): Variable removed.
19442 (all-built-dso): Use := to define.o
19443 ($(all-built-dso:=.dyn)): New static pattern rule.
19444 (generated): Add those targets.
19445 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19446 * config.make.in (READELF): New substituted variable.
19447 * elf/check-textrel.c: File removed.
19448
62fde54f 194492012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19450
615605c9
JM
19451 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19452 allow.
19453 * conform/data/ctype.h-data [C99-based standards] (isblank):
19454 Expect function.
19455 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19456 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19457 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19458 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19459 Specify type. Require positive value.
19460 (EILSEQ): Likewise.
19461 (ERANGE): Likewise.
19462 [ISO || POSIX] (EILSEQ): Do not expect.
19463 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19464 Specify type. Require positive value.
19465 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19466 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19467 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19468 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19469 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19470 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19471 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19472 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19473 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19474 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19475 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19476 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19477 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19478 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19479 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19480 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19481 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19482 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19483 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19484 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19485 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19486 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19487 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19488 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19489 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19490 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19491 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19492 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19493 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19494 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19495 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19496 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19497 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19498 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19499 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19500 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19501 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19502 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19503 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19504 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19505 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19506 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19507 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19508 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19509 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19510 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19511 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19512 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19513 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19514 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19515 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19516 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19517 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19518 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19519 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19520 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19521 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19522 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19523 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19524 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19526 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19527 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19533 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19534 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19535 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19536 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19537 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19538 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19539 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19540 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19541 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19542 Require >= 2.
19543 (FLT_ROUNDS): Expect as macro, not constant.
19544 (FLT_MANT_DIG): Use macro-int-constant.
19545 (DBL_MANT_DIG): Likewise.
19546 (LDBL_MANT_DIG): Likewise.
19547 (FLT_DIG): Likewise.
19548 (DBL_DIG): Likewise.
19549 (LDBL_DIG): Likewise.
19550 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19551 (DBL_MIN_EXP): Likewise.
19552 (LDBL_MIN_EXP): Likewise.
19553 (FLT_MAX_EXP): Use macro-int-constant.
19554 (DBL_MAX_EXP): Likewise.
19555 (LDBL_MAX_EXP): Likewise.
19556 (FLT_MAX_10_EXP): Likewise.
19557 (DBL_MAX_10_EXP): Likewise.
19558 (LDBL_MAX_10_EXP): Likewise.
19559 (FLT_MAX): Use macro-constant.
19560 (DBL_MAX): Likewise.
19561 (LDBL_MAX): Likewise.
19562 (FLT_EPSILON): Use macro-constant. Give upper bound.
19563 (DBL_EPSILON): Likewise.
19564 (LDBL_EPSILON): Likewise.
19565 (FLT_MIN): Likewise.
19566 (DBL_MIN): Likewise.
19567 (LDBL_MIN): Likewise.
19568 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19569 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19570 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19571 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19572 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19573 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19574 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19575 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19576 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19577 [ISO11] (FLT_TRUE_MIN): Likewise.
19578 [ISO11] (LDBL_TRUE_MIN): Likewise.
19579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19580 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19581 (SCHAR_MIN): Use macro-int-constant. Specify type.
19582 (SCHAR_MAX): Likewise.
19583 (UCHAR_MAX): Likewise.
19584 (CHAR_MIN): Likewise.
19585 (CHAR_MAX): Likewise.
19586 (MB_LEN_MAX): Use macro-int-constant.
19587 (SHRT_MIN): Use macro-int-constant. Specify type.
19588 (SHRT_MAX): Likewise.
19589 (USHRT_MAX): Likewise.
19590 (INT_MAX): Likewise.
19591 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19592 bound negative.
19593 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19594 bound with "U".
19595 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19596 bound with "L".
19597 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19598 bound negative. Suffix upper bound with "L".
19599 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19600 bound with "UL".
19601 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19602 Specify type.
19603 [C99-based standards] (LLONG_MAX): Likewise.
19604 [C99-based standards] (ULLONG_MAX): Likewise.
19605 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19606 == 0.
19607 [ISO11] (max_align_t): Require type.
19608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19609
c9140a62
JM
19610 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19611 from $CFLAGS, without defining away __attribute__ calls.
19612 (checknamespace): Use $CFLAGS_namespace.
19613
9af0bf29
JM
19614 * conform/conformtest.pl (@keywords): Only include C99 keywords
19615 for standards based on C99 or C11.
19616
343222a2
JM
19617 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19618 Disable tests.
19619 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19620 UNIX98]: Likewise.
19621
661f8cf0
JM
19622 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19623 usability of symbols in #if.
19624
ee74b9cb
JM
19625 * conform/conformtest.pl: If macro or constant types start
19626 "promoted:", expect the symbol to be of the following type
19627 promoted by the integer promotions.
62fde54f 19628
aafc49b3
JM
19629 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19630 in one place. Also handle "macro-constant".
19631
fefdf574
JM
19632 * conform/conformtest.pl: Only accept expected macro values with
19633 "==". Parse all "macro" lines in one place.
19634 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19635
f2d922fe
JM
19636 * conform/conformtest.pl: Handle braced types on "constant" lines
19637 instead of handling "typed-constant".
19638 * conform/data/signal.h-data: Use "constant" instead of
19639 "typed-constant".
19640
d22956c9
JM
19641 * conform/conformtest.pl: Handle "optional-" at start of lines in
19642 one place rather than duplicating several cases. Handle each
19643 format of "macro" line with initial "optional-".
19644
028e2e38
JM
19645 * conform/conformtest.pl: Only accept expected constant or
19646 optional-constant values with "==". Parse all "constant" lines in
19647 one place. Parse all "optional-constant" lines in one place.
19648 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19649 * conform/data/fmtmsg.h-data: Likewise.
19650 * conform/data/netinet/in.h-data: Likewise.
19651 * conform/data/tar.h-data: Likewise.
19652 * conform/data/limits.h-data: Use "==" form on "constant" and
19653 "optional-constant" lines.
19654
1b8f2850
JM
19655 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19656 Use -std=c99 for XOPEN2K.
19657 (@knownproblems): Remove.
19658 (newtoken): Don't check %isknown.
19659
a05a144b
JM
19660 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19661 Do not expect macro.
19662 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19665 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19666 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19669 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19670 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19674 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19675 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19676 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19680 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19681 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19687 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19689 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19690 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19691 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19692 [XPG3] (acosh): Likewise.
19693 [XPG3] (asinh): Likewise.
19694 [XPG3] (atanh): Likewise.
19695 [XPG3] (cbrt): Likewise.
19696 [XPG3] (expm1): Likewise.
19697 [XPG3] (ilogb): Likewise.
19698 [XPG3] (log1p): Likewise.
19699 [XPG3] (logb): Likewise.
19700 [XPG3] (nextafter): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19703 [XPG3] (remainder): Likewise.
19704 [XPG3] (rint): Likewise.
19705 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19706 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19707 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19708 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19709 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19710 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19711 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19712 [UNIX98 || XOPEN2K] (scalb): Expect.
19713 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19714 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19718 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19719 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19749 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19750 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19751 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19752 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19755 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19756 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19770 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19771 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19812 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19813 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19814 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19815 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19816 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19817 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19818 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19819 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19820 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19821 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19822 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19823 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19824 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19825 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19826 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19827 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19828 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19829 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19830 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19831 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19832 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19833 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19834 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19835 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19836 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19837 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19838 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19839 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19840 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19841 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19842 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19843 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19844 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19845 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19846 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19847 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19848 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19849 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19850
73c5ebe3
JM
19851 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19852 _XOPEN_SOURCE_EXTENDED for XPG4.
19853
39c33b6c
JM
19854 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19855
62fde54f
JM
19856 * Makeconfig (localtime): Remove variable.
19857 (inst_localtime-file): Likewise.
19858
0741d64c
AS
198592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19860
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19862 Update.
19863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19864 Update.
19865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19866 Update.
19867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19868 Update.
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19870 Update.
19871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19872 Update.
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19874 Update.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19876 Update.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19878 Update.
19879
7cb029ee
JM
198802012-05-01 Joseph Myers <joseph@codesourcery.com>
19881
19882 [BZ #2550]
19883 [BZ #2570]
19884 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19885 comparisons to determine direction to adjust input.
19886 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19887 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19888 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19889 Likewise.
19890 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19891 Likewise.
19892 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19893 Likewise.
19894 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19895 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19896 Likewise.
19897 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19898 Likewise.
19899 * math/libm-test.inc (nexttoward_test): Add more tests.
19900
412bd966
AS
199012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19902
19903 [BZ #14040]
19904 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19905 in version GLIBC_2.1, not GLIBC_2.0.
19906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19907 Likewise.
19908
9568c0c2
JM
199092012-04-30 Joseph Myers <joseph@codesourcery.com>
19910
adfbc8ac
JM
19911 [BZ #13942]
19912 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19913 (1 - x) * (1 + x).
19914 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19915 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19916 * math/libm-test.inc (acos_test): Add more tests.
19917 (asin_test): Likewise.
19918 * sysdeps/i386/fpu/libm-test-ulps: Update.
19919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19920
5ba3cc69
JM
19921 [BZ #14034]
19922 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19923 of square root.
19924 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19925 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19926 * math/libm-test.inc (acos_test_tonearest): New function.
19927 (acos_test_towardzero): Likewise.
19928 (acos_test_downward): Likewise.
19929 (acos_test_upward): Likewise.
19930 (asin_test_tonearest): Likewise.
19931 (asin_test_towardzero): Likewise.
19932 (asin_test_downward): Likewise.
19933 (asin_test_upward): Likewise.
19934 (main): Call the new functions.
19935 * sysdeps/i386/fpu/libm-test-ulps: Update.
19936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19937
9568c0c2
JM
19938 [BZ #13884]
19939 [BZ #13924]
19940 * math/e_exp10.c: Include <float.h>.
19941 (__ieee754_exp10): Handle underflow here rather than multiplying
19942 large negative argument by M_LN10.
19943 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19944 of __ieee754_expf.
19945 * math/e_exp10l.c: Include <float.h>.
19946 (__ieee754_exp10l): Handle underflow here rather than multiplying
19947 large negative argument by M_LN10l.
19948 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19949 spurious overflow exception on underflow.
19950
5ac3ea17
MP
199512012-04-29 Marek Polacek <polacek@redhat.com>
19952
19953 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19954 (__fortify_function): New macro.
19955 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19956 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19957 __extern_always_inline.
19958 * libio/bits/stdio2.h: Likewise.
19959 * libio/bits/stdio.h: Likewise.
19960 * string/string.h: Likewise.
19961 * string/bits/string3.h: Likewise.
19962 * include/stdio.h: Likewise.
19963 * stdlib/bits/stdlib.h: Likewise.
19964 * stdlib/stdlib.h: Likewise.
19965 * rt/bits/mqueue2.h: Likewise.
19966 * rt/mqueue.h: Likewise.
19967 * posix/bits/unistd.h: Likewise.
19968 * posix/unistd.h: Likewise.
19969 * io/bits/poll2.h: Likewise.
19970 * io/bits/fcntl2.h: Likewise.
19971 * io/fcntl.h: Likewise.
19972 * io/sys/poll.h: Likewise.
19973 * misc/bits/syslog.h: Likewise.
19974 * misc/bits/syslog-ldbl.h: Likewise.
19975 * misc/sys/syslog.h: Likewise.
19976 * socket/bits/socket2.h: Likewise.
19977 * socket/sys/socket.h: Likewise.
19978 * debug/tst-chk1.c: Likewise.
19979 * wcsmbs/bits/wchar2.h: Likewise.
19980 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19981 * wcsmbs/wchar.h: Likewise.
19982
ecf0ebfb
AJ
199832012-04-29 Andreas Jaeger <aj@suse.de>
19984
19985 * Makerules (tests): Remove enable-check-abi protection.
19986 (check-abi-warn): Remove.
19987 (check-abi-%): Remove check-abi-warn usage.
19988
19989 * configure.in: Remove check-abi configure option.
19990 * configure: Regenerated.
19991 * config.make.in (enable-check-abi): Remove.
19992
6d5c57fa
AS
199932012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19994
24c5d07e 19995 [BZ #14033]
ded5180a
AS
19996 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19997 double functions to double *_finite functions.
19998
7e0d315d
AS
19999 [BZ #13941]
20000 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20001 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20002 LDBL_MIN_EXP.
20003 * stdio-common/Makefile (tests): Add tst-sprintf3.
20004 * stdio-common/tst-sprintf3.c: New file.
20005
6d5c57fa
AS
20006 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20007 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20008
0749ff8b
JM
200092012-04-28 Joseph Myers <joseph@codesourcery.com>
20010
20011 * conform/conformtest.pl: Remove duplicate typed-constant
20012 handling.
20013
8dbd5d7b
DM
200142012-04-28 David S. Miller <davem@davemloft.net>
20015
20016 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20017 (check-abi-%): Remove AWK script prerequisite and explicit
20018 abilist directory.
20019 (check-abi): Rewrite to just diff the symlist with the abilist.
20020 (config-tls, config-abi-config): Delete, no longer used.
20021 (update-abi-%): Remove AWK script and explicit abilist directory.
20022 (update-abi): Rewrite to simply compare and conditionally copy the
20023 symlist and the sysdep abilist file. Remove update-abi-config
20024 checks.
20025 * abilist/ld.abilist: Remove.
20026 * abilist/libBrokenLocale.abilist: Remove.
20027 * abilist/libanl.abilist: Remove.
20028 * abilist/libcrypt.abilist: Remove.
20029 * abilist/libdl.abilist: Remove.
20030 * abilist/librt.abilist: Remove.
20031 * abilist/libthread_db.abilist: Remove.
20032 * abilist/libutil.abilist: Remove.
20033 * scripts/extract-abilist.awk: Remove.
20034 * scripts/merge-abilist.awk: Remove.
20035 * sysdeps/generic/libcidn.abilist: New file.
20036 * sysdeps/generic/libnss_compat.abilist: New file.
20037 * sysdeps/generic/libnss_db.abilist: New file.
20038 * sysdeps/generic/libnss_dns.abilist: New file.
20039 * sysdeps/generic/libnss_files.abilist: New file.
20040 * sysdeps/generic/libnss_hesiod.abilist: New file.
20041 * sysdeps/generic/libnss_nis.abilist: New file.
20042 * sysdeps/generic/libnss_nisplus.abilist: New file.
20043 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20044 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20045 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20046 file.
20047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20048 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20049 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20050 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20051 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20052 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20053 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20054 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20055 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20056 file.
20057 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20058 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20059 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20060 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20061 file.
20062 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20063 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20064 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20065 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20066 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20067 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20068 file.
20069 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20070 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20071 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20072 file.
20073 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20075 New file.
20076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20077 New file.
20078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20079 New file.
20080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20081 New file.
20082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20083 New file.
20084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20085 New file.
20086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20087 New file.
20088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20089 New file.
20090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20091 New file.
20092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20093 New file.
20094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20095 New file.
20096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20097 New file.
20098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20099 New file.
20100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20101 file.
20102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20103 New file.
20104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20105 New file.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20107 file.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20109 New file.
20110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20111 New file.
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20113 file.
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20115 New file.
20116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20117 New file.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20119 New file.
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20121 New file.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20123 New file.
20124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20125 New file.
20126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20128 file.
20129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20130 New file.
20131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20132 file.
20133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20134 file.
20135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20136 file.
20137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20138 file.
20139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20140 file.
20141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20142 New file.
20143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20144 file.
20145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20146 file.
20147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20148 New file.
20149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20150 file.
20151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20153 file.
20154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20155 New file.
20156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20157 file.
20158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20159 file.
20160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20161 file.
20162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20163 file.
20164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20165 file.
20166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20167 New file.
20168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20169 file.
20170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20171 file.
20172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20173 New file.
20174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20175 file.
20176 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20177 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20178 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20179 file.
20180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20181 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20182 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20183 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20184 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20185 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20186 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20187 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20188 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20189 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20192 file.
20193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20194 New file.
20195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20196 file.
20197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20198 file.
20199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20200 file.
20201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20202 file.
20203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20204 file.
20205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20206 New file.
20207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20208 New file.
20209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20210 file.
20211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20212 New file.
20213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20214 file.
20215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20217 file.
20218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20219 New file.
20220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20221 file.
20222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20223 file.
20224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20225 file.
20226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20227 file.
20228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20229 file.
20230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20231 New file.
20232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20233 New file.
20234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20235 file.
20236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20237 New file.
20238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20239 file.
20240
41d73a1b
JM
202412012-04-28 Joseph Myers <joseph@codesourcery.com>
20242
20243 * conform/conformtest.pl: Fix typo in handling typed-constant from
20244 allow-header.
20245
28aeeda4
JM
202462012-04-27 Joseph Myers <joseph@codesourcery.com>
20247
adae8f5e
JM
20248 * README: Cut down references to pre-2.6 Linux kernels and
20249 Linuxthreads. Update lists of configurations in libc and ports
20250 and sort alphabetically. Say "or newer" with Linux kernel version
20251 requirements.
20252
28aeeda4
JM
20253 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20254
a462cb63
RA
202552012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20256
20257 [BZ #887]
20258 * math/libm-test.inc (logb_test_downward): New test to expose
20259 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20260 rounding mode.
20261
6ad3493e
JM
202622012-04-27 Joseph Myers <joseph@codesourcery.com>
20263
20264 [BZ #14027]
20265 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20266 to be done.
20267 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20268 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20269
2ce4f015
JM
202702012-04-26 Joseph Myers <joseph@codesourcery.com>
20271
5aeb141a
JM
20272 * sysdeps/unix/i386/brk.S: Remove file.
20273 * sysdeps/unix/i386/dl-brk.S: Likewise.
20274 * sysdeps/unix/i386/pipe.S: Likewise.
20275 * sysdeps/unix/i386/sigreturn.S: Likewise.
20276 * sysdeps/unix/i386/syscall.S: Likewise.
20277 * sysdeps/unix/i386/vfork.S: Likewise.
20278 * sysdeps/unix/i386/wait.S: Likewise.
20279
7143acae
JM
20280 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20281 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20282
2ce4f015
JM
20283 * configure.in (arm*-none*): Do not allow without
20284 --enable-hacker-mode.
20285 (netbsd*): Remove case setting base_os.
20286 (386bsd*): Likewise.
20287 (freebsd*): Likewise.
20288 (bsdi*): Likewise.
20289 (osf*): Likewise.
20290 (sunos*): Likewise.
20291 (ultrix*): Likewise.
20292 (newsos*): Likewise.
20293 (dynix*): Likewise.
20294 (*bsd*): Likewise.
20295 (sysv*): Likewise.
20296 (isc*): Likewise.
20297 (esix*): Likewise.
20298 (sco*): Likewise.
20299 (minix*): Likewise.
20300 (irix4*): Likewise.
20301 (irix6*): Likewise.
20302 (solaris[2-9]*): Likewise.
20303 (none): Likewise.
20304 * configure: Regenerated.
20305
0ac229c8
AZ
203062012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20307
20308 [BZ #11521]
20309 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20310 overflow or cancellation in calculating denominator.
20311 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20313 down expression to avoid unexpected rounding in newer GCCs.
20314 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20315
33f244f4
DM
203162012-04-26 David S. Miller <davem@davemloft.net>
20317
20318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20319 long-double compat symbols.
20320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20333
cfa1f3e8
DM
203342012-04-25 David S. Miller <davem@davemloft.net>
20335
20336 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20337 HWCAP_* values only after the memory barriers have been defined.
20338 (atomic_full_barrier): Define.
20339 (atomic_read_barrier): Define.
20340 (atomic_write_barrier): Define.
20341
6e236b92
SP
203422012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20343
20344 * shlib-versions: Add libgcc_s version information.
20345 * sysdeps/generic/libgcc_s.h: Remove.
20346 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20347 libgcc_s.h.
20348 * sysdeps/gnu/unwind-resume.c: Likewise.
20349 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20350
aab39a09
DM
203512012-04-25 David S. Miller <davem@davemloft.net>
20352
20353 * sysdeps/unix/sparc/brk.S: Delete.
20354 * sysdeps/unix/sparc/dl-brk.S: Delete.
20355 * sysdeps/unix/sparc/pipe.S: Delete.
20356 * sysdeps/unix/sparc/sysdep.S: Delete.
20357 * sysdeps/unix/sparc/sysdep.h: Delete.
20358 * sysdeps/unix/sparc/vfork.S: Delete.
20359 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20360 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20361 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20362 ret_ERRVAL, r0, r1, MOVE): Define.
20363 (JUMPTARGET): Remove.
20364 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20365 sysdeps/unix/sparc/sysdep.h
20366 (ENTRY, END): Remove.
20367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20368
a3cc4f48
JM
203692012-04-25 Joseph Myers <joseph@codesourcery.com>
20370
2ed8cda2
JM
20371 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20372 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20373 -DIS_IN_build.
20374
35d76d59
JM
20375 * timezone/README: Update upstream location and email address for
20376 tzcode and tzdata.
20377 * timezone/zdump.c: Update from tzcode 2012b.
20378 * timezone/zic.c: Likewise.
20379
a3cc4f48
JM
20380 * configure.in (libc_cv_as_needed): Remove test.
20381 * configure: Regenerated.
20382 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20383 conditional definition.
20384 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20385 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20386 * config.make.in (have-as-needed): Remove variable.
20387
ceab42c3
SP
203882012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20389 Paul Pluzhnikov <ppluzhnikov@google.com>
20390
20391 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20392 strings correctly.
20393
3ce2865f
CLT
203942012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20395
20396 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20397 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20398 * sysdeps/sh/strlen.S: Likewise.
20399
f37e0d68
JM
204002012-04-24 Joseph Myers <joseph@codesourcery.com>
20401
ae186e9a
JM
20402 * sysdeps/unix/fork.S: Remove file.
20403 * sysdeps/unix/i386/fork.S: Likewise.
20404 * sysdeps/unix/sparc/fork.S: Likewise.
20405
b96914af
JM
20406 * sysdeps/unix/system.c: Remove file.
20407 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20408
f37e0d68
JM
20409 * sysdeps/unix/getegid.S: Remove file.
20410 * sysdeps/unix/geteuid.S: Likewise.
20411
87ef29ca
RM
204122012-04-24 Roland McGrath <roland@hack.frob.com>
20413
83bcd236
RM
20414 * scripts/check-localplt.awk: New file.
20415 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20416 of diff.
20417 * scripts/data/localplt-generic.data: Add a comment.
20418
87ef29ca
RM
20419 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20420 NODE when __dir_mkfile failed.
20421 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20422 Reported by Ludovic Courtès <ludo@gnu.org>.
20423
e5a6e567
AJ
204242012-04-24 Andreas Jaeger <aj@suse.de>
20425
20426 * Makerules (common-clean): Also remove gen-as-const-headers
20427 files.
20428
c1820385
JM
204292012-04-24 Joseph Myers <joseph@codesourcery.com>
20430
20431 * Makerules (native-compile): Do not change working directory for
20432 build. Use $(OUTPUT_OPTION) in command.
20433 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20434
94e02fc4
AZ
204352012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20436
20437 [BZ #13886]
20438 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20439 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20440 * math/libm-test.inc (floor_test): Add more tests.
20441 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20442
3a533ca3
JM
204432012-04-24 Joseph Myers <joseph@codesourcery.com>
20444
940ab4b3
JM
20445 * sysdeps/unix/getdents.c: Remove file.
20446 * sysdeps/unix/sysv/getdents.c: Likewise.
20447 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20448
90e037bd
JM
20449 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20450 sysdeps/unix/mman/syscalls.list.
20451 (mmap): Likewise.
20452 (mprotect): Likewise.
20453 (msync): Likewise.
20454 (munmap): Likewise.
20455 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20456 * sysdeps/unix/mman/syscalls.list: Remove.
20457 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20458
3a533ca3
JM
20459 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20460 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20461 * configure: Regenerated.
20462 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20463 $(libgcc_s_suffix).
20464 * config.make.in (libgcc_s_suffix): Remove variable.
20465
1ad743de
JM
204662012-04-23 Joseph Myers <joseph@codesourcery.com>
20467
4ad451e2
JM
20468 * sysdeps/unix/sysv/gethostname.c: Move to ...
20469 * sysdeps/posix/gethostname.c: ... here.
20470
5e37ce39
JM
20471 * sysdeps/unix/execve.S: Remove file.
20472
1ad743de
JM
20473 * sysdeps/unix/_exit.S: Remove file.
20474
4e681b5b
AJ
204752012-04-23 Andreas Jaeger <aj@suse.de>
20476
20477 [BZ #13739]
20478 * manual/Makefile: Remove make dist support, there's no
20479 need for a stand-alone documentation tar ball.
20480 (TEXI2DVI): Define always, it's not in Makeconfig.
20481 (dist): Removed.
20482 (tar-it): Removed.
20483 (edition): Removed.
20484 (glibc-doc-$(edition).tar): Removed
20485 (%.Z): Removed.
20486 (%.gz): Removed.
20487 (%.uu): Removed.
20488 (ETAGS): Remove, it's in Makeconfig.
20489 (move-if-change): Remove, it's in Makeconfig.
20490
38686a03 204912012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20492
20493 [BZ #13970]
20494 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20495 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20496 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20497 (strtod_l, strtof_l, strtold_l): Remove __wur.
20498 It is not necessarily an error to ignore strtol's return value.
20499 One can reliably look at the stored endptr to decide whether
20500 the number had valid syntax.
20501
7c0616fa
AJ
205022012-04-21 Andreas Jaeger <aj@suse.de>
20503
803cb6b7 20504 [BZ #13739]
7c0616fa
AJ
20505 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20506
b0fe253f
JM
205072012-04-21 Joseph Myers <joseph@codesourcery.com>
20508
20509 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20510 * sysdeps/unix/sysv/Versions: Remove file.
20511
8280f22d
MT
205122012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20513
20514 [BZ #13927]
20515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20516
75ce411f 205172012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20518
20519 [BZ #7064]
20520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20521 version from __vm86.
20522
097d59fa
JM
205232012-04-20 Joseph Myers <joseph@codesourcery.com>
20524
a90f3bcb
JM
20525 * sysdeps/unix/common/lxstat.c: Remove file.
20526 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20527
edc7ea78
JM
20528 * sysdeps/unix/sysv/Makefile: Remove file.
20529
cb78c221
JM
20530 * sysdeps/unix/sysv/direct.h: Remove file.
20531
efa6a45f
JM
20532 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20533 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20534 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20535 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20536 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20537 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20538 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20539
9c9f2d0c
JM
20540 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20541
4541c83b
JM
20542 * sysdeps/unix/xmknod.c: Remove file.
20543 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20544
f5d153a0
JM
20545 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20546
aa746595
JM
20547 * sysdeps/unix/sysv/i386/time.S: Remove file.
20548
cce5905e
JM
20549 * sysdeps/unix/fxstat.c: Remove file.
20550 * sysdeps/unix/xstat.c: Likewise.
20551 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20552
37fa3841
JM
20553 * sysdeps/unix/sysv/sigaction.c: Remove file.
20554
ff1962a3
JM
20555 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20556 (sysdep_headers): Remove variable.
20557 [termio.h not in sysdep_headers] (generated): Likewise.
20558 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20559 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20560 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20561 * sysdeps/unix/sysv/tcflow.c: Likewise.
20562 * sysdeps/unix/sysv/tcflush.c: Likewise.
20563 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20564 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20565 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20566 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20567 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20568
e7740d31
JM
20569 * sysdeps/unix/siglist.c: Remove file.
20570
ee06f18b
JM
20571 * sysdeps/unix/getppid.S: Remove file.
20572
097d59fa
JM
20573 * sysdeps/unix/mkdir.c: Remove file.
20574 * sysdeps/unix/rmdir.c: Likewise.
20575
ff3d51ec
AS
205762012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20577
20578 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20579 ERR_MAX value.
20580 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20581 errlist-compat value.
20582
50f81fd7
DM
205832012-04-18 David S. Miller <davem@davemloft.net>
20584
20585 * sysdeps/generic/memcopy.h (reg_char): Delete.
20586 * debug/strcat_chk.c: Use char, not reg_char.
20587 * debug/strcpy_chk.c: Likewise.
20588 * debug/strncat_chk.c: Likewise.
20589 * debug/strncpy_chk.c: Likewise.
20590 * string/memchr.c: Likewise.
20591 * string/memrchr.c: Likewise.
20592 * string/rawmemchr.c: Likewise.
20593 * string/strcat.c: Likewise.
20594 * string/strchr.c: Likewise.
20595 * string/strchrnul.c: Likewise.
20596 * string/strcmp.c: Likewise.
20597 * string/strcpy.c: Likewise.
20598 * string/strncat.c: Likewise.
20599 * string/strncmp.c: Likewise.
20600 * string/strncpy.c: Likewise.
20601
8ff41c46
WS
206022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20603
20604 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20605 __builtin_memcopy is called when src and dest ranges are known to not
20606 overlap.
20607
6b652f46
WS
206082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20609
20610 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20611 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20612 fwd_align_merge macro call.
20613 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20614 bwd_align_merge macro call.
20615 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20616
b282631e
WS
206172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20618
20619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20620 bwd_align_merge macros.
20621 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20622 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20623 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20624
95aa737c
DM
206252012-04-18 David S. Miller <davem@davemloft.net>
20626
20627 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20628
7a99a614
AJ
206292012-04-18 Andreas Jaeger <aj@suse.de>
20630
20631 [BZ# 6794]
20632 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20633 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20634 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20635
20636 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20637 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20638 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20639
20640 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20641 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20642 Adjust for changed ldbl-128 files.
20643
20644 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20645 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20646 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20647
e5270c23
DM
206482012-04-17 David S. Miller <davem@davemloft.net>
20649
20650 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20651
fb5e92c9
AS
206522012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20653
20654 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20655 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20656 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20657 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20658 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20659 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20660
76da7265
AZ
206612012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20662
20663 [BZ #6794]
20664 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20665 * math/libm-test.inc: Add ilogb errno and exception tests.
20666 * math/w_ilogb.c: New file: ilogb wrapper.
20667 * math/w_ilogbf.c: New file: ilogbf wrapper.
20668 * math/w_ilogbl.c: New file: ilogbl wrapper.
20669 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20670 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20671 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20672 exception being thrown with 0.0 as argument.
20673 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20674 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20675 exception being thrown with 0.0 as argument.
20676 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20677 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20678 exception being thrown with 0.0 as argument.
20679 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20680 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20681 exception being thrown with 0.0 as argument.
20682 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20683 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20684 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20685 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20686 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20687 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20688 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20689 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20690 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20691
0396e69d
PB
206922012-04-17 Petr Baudis <pasky@ucw.cz>
20693
20694 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20695 with altivec.
20696
750b5926
MP
206972012-04-16 Marek Polacek <polacek@redhat.com>
20698
20699 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20700
751728a1
MP
207012012-04-16 Marek Polacek <polacek@redhat.com>
20702
20703 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20704 operands of fdivp instruction.
20705
34a27407
L
207062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20707
20708 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20709 * elf/tst-auditmod3b.c: Likewise.
20710 * elf/tst-auditmod4b.c: Likewise.
20711 * elf/tst-auditmod5b.c: Likewise.
20712 * elf/tst-auditmod6b.c: Likewise.
20713 * elf/tst-auditmod6c.c: Likewise.
20714 * elf/tst-auditmod7b.c: Likewise.
20715 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20716 * sysdeps/x86_64/preconfigure.in: Likewise.
20717 * sysdeps/x86_64/preconfigure: Regenerated.
20718
7e73e17d
L
207192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20720
20721 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20722 __ILP32__.
20723
c7a6ab72
AB
207242012-04-13 Antoine Balestrat <merkil33@gmail.com>
20725
20726 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20727 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20728
a9e8e0e0
CL
207292012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20730
20731 [BZ #13973]
20732 * locale/iso-639.def: Fix gl language name. Spotted by
20733 Yaron Shahrabani.
20734
ec98af7d
RM
207352012-04-12 Roland McGrath <roland@hack.frob.com>
20736
20737 [BZ #2074]
20738 * libio/libio.h (__io_write_fn): Update comment.
20739
247c3ede
PB
207402012-04-12 Petr Baudis <pasky@ucw.cz>
20741
20742 [BZ #2074]
20743 * stdio.texi (Hook Functions): The user provided writer function
20744 is not allowed to return -1.
20745
55939d6d
DM
207462012-04-11 David S. Miller <davem@davemloft.net>
20747
20748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20749
90020f5a
MF
207502012-04-11 Mike Frysinger <vapier@gentoo.org>
20751
20752 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20753 Add a leading slash to rtkaio.
20754
288f9098
JM
207552012-04-11 Jim Meyering <meyering@redhat.com>
20756
90020f5a
MF
20757 [BZ #11959]
20758 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20759 It is not necessarily an error to ignore fwrite's return
20760 value. One can reliably use ferror to test for errors after
20761 the fact.
288f9098 20762
4be2b570
L
207632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20764
20765 * bits/types.h (__snseconds_t): New type.
20766 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20767
20768 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20770 (__SNSECONDS_T_TYPE): Likewise.
20771 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20772 (__SNSECONDS_T_TYPE): Likewise.
20773 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20774 (__SNSECONDS_T_TYPE): Likewise.
20775
288f9098 207762012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20777
20778 [BZ #2636]
20779 * manual/time.texi (Processor Time): Return type of times is
20780 elapsed real time since an arbitrary point in the past.
20781 (CPU Time): Move CLK_TCK from here...
20782 (Processor Time): ...to here. Correct description.
20783 * manual/conf.texi (Constants for Sysconf): Correct description of
20784 _SC_CLK_TCK.
20785
d7dd4413
DM
207862012-04-10 David S. Miller <davem@davemloft.net>
20787
20788 [BZ #13967]
20789 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20790 where the is a gap between DT_REL(A) and DT_JMPREL.
20791
b46068fc
L
207922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20793
20794 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20795 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20796 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20797
73d65cc3
SP
207982012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20799
20800 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20801 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20802 (dl_main): Handle --inhibit-cache.
20803 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20804 _dl_inhibit_cache.
20805 * elf/dl-load.c (_dl_map_object): Use it.
20806 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20807
bcc8d661
JM
208082012-04-09 Joseph Myers <joseph@codesourcery.com>
20809
8f9a2fae
JM
20810 [BZ #13872]
20811 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20812 (__ieee754_powl): Saturate large exponents rather than testing for
20813 overflow of y*log2(x).
20814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20815 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20816 exceptions.
20817
bcc8d661
JM
20818 [BZ #11521]
20819 * math/s_ctan.c: Include <float.h>.
20820 (__ctan): Avoid internal overflow or cancellation in calculating
20821 denominator.
20822 * math/s_ctanf.c: Likewise.
20823 * math/s_ctanl.c: Likewise.
20824 * math/s_ctanh.c: Likewise.
20825 * math/s_ctanhf.c: Likewise.
20826 * math/s_ctanhl.c: Likewise.
20827 * math/libm-test.inc (ctan_test): Add more tests.
20828 (ctanh_test): Likewise.
20829 * sysdeps/i386/fpu/libm-test-ulps: Update.
20830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20831
823fbbb4
AJ
208322012-04-09 Andreas Jaeger <aj@suse.de>
20833
03879793
AJ
20834 [BZ #6894]
20835 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20836 is an optional BSD extension.
20837
823fbbb4
AJ
20838 [BZ #10254]
20839 * manual/stdio.texi (Opening Streams): Document additional fopen
20840 parameters.
20841
8de131cb
RM
208422012-04-09 Roland McGrath <roland@hack.frob.com>
20843
20844 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20845 %eax without telling the compiler.
20846
c0ed9d7d
CD
208472012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20848
20849 [BZ # 13963]
20850 * manual/install.texi: Use sourceware.org.
20851
c483f6b4
JM
208522012-04-09 Joseph Myers <joseph@codesourcery.com>
20853
d7dd9453
JM
20854 [BZ #13873]
20855 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20856 (__ieee754_pow): Generate overflow and underflow using huge*huge
20857 and tiny*tiny rather than just returning constant infinity or zero
20858 for large exponents.
20859 * math/libm-test.inc (pow_test): Require overflow exceptions for
20860 applicable cases of large exponents.
20861
c483f6b4
JM
20862 [BZ #706]
20863 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20864 (__ieee754_pow): Use iterative multiplication algorithm only for
20865 integer exponents with absolute value below 1024. Check for odd
20866 integer exponents when using algorithm for real exponents.
20867 * math/libm-test.inc (pow_test): Add more tests.
20868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20869
d2de7579
JM
208702012-04-08 Joseph Myers <joseph@codesourcery.com>
20871
20872 [BZ #13705]
20873 * math/libm-test.inc (exp_test): Do not allow overflow exception
20874 on underflow test.
20875
f77f1232
AJ
208762012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20877
20878 [BZ #13705]
20879 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20880 instead of __kernel_standard_f.
20881
3884932b
MF
208822012-04-08 Mike Frysinger <vapier@gentoo.org>
20883
20884 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20885 * sysdeps/x86_64/memset_chk.S: Likewise.
20886
54472e9c
AJ
208872012-04-08 Andreas Jaeger <aj@suse.de>
20888
6ab0fbfc
AJ
20889 [BZ #10153]
20890 * manual/startup.texi (Environment Access): Describe return value
20891 for putenv and setenv.
20892
61efba8c
AJ
20893 [BZ #6895]
20894 * manual/filesys.texi (Directory Entries): Add description for
20895 DT_LNK.
20896
95c3f29a
AJ
20897 [BZ #6890]
20898 * manual/filesys.texi (Directory Entries): Clarify that it's file
20899 system not operating system in the description of DT_UNKNOWN.
20900
54472e9c
AJ
20901 [BZ #6578]
20902 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20903
624254b1
SC
209042012-04-08 Stephen Compall <s11@member.fsf.org>
20905
20906 [BZ #6649]
20907 * manual/llio.texi (Opening and Closing Files): Add cross
20908 reference to explain mode argument.
20909
1e4920e0
MF
209102012-04-07 Mike Frysinger <vapier@gentoo.org>
20911
20912 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20913 * sysdeps/x86_64/memset_chk.S: Likewise.
20914
5ed848f3
DM
209152012-04-07 David S. Miller <davem@davemloft.net>
20916
20917 * elf/elf.h (R_SPARC_WDISP10): Define.
20918 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20919 R_SPARC_SIZE32.
20920 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20921 R_SPARC_SIZE64 and R_SPARC_H34.
20922
96154cd8
CD
209232012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20924
20925 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20926 conditions and remove no longer applicable assertion.
20927
9904dc47
L
209282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20929
20930 * bits/byteswap.h: Include <features.h>.
20931 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20932 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20933
f8887d0a
L
209342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20935
20936 * bits/byteswap.h (__bswap_16): Removed.
20937 Include <bits/byteswap-16.h> to get __bswap_16.
20938 * sysdeps/i386/bits/byteswap.h: Likewise.
20939 * sysdeps/s390/bits/byteswap.h: Likewise.
20940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20941 * bits/byteswap-16.h: New file.
20942 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20943 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20944 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20945 * string/Makefile (headers): Add bits/byteswap-16.h.
20946
62470f60
PP
209472012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20948
20949 [BZ #13895]
20950 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20951 extra indirection.
20952 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20953 * nss/tst-nss-static.c: New.
20954
4dad7bab
RM
209552012-04-06 Robert Millan <rmh@gnu.org>
20956
20957 [BZ #6486]
20958 * manual/llio.texi (File Position Primitive): lseek
20959 refers to WHENCE when it really means OFFSET.
20960
e9142a17
AJ
209612012-04-06 Andreas Jaeger <aj@suse.de>
20962
2c040eff
AJ
20963 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20964 strncmp declarations.
20965
e9142a17
AJ
20966 * abilist/libc.abilist: Add __poll and __ppoll.
20967
ff9f1c5f
DM
209682012-04-05 David S. Miller <davem@davemloft.net>
20969
dcd2ae90
DM
20970 * scripts/check-local-headers.sh: Accept a host triplet in the
20971 path matched by the exclude regexp.
20972
993eb054
DM
20973 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20974 definition.
20975 * sysdeps/powerpc/powerpc32/dl-machine.h
20976 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20977 * sysdeps/s390/s390-32/dl-machine.h
20978 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20979 * sysdeps/sparc/sparc32/dl-machine.h
20980 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20981 * sysdeps/sparc/sparc64/dl-machine.h
20982 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20983
ff9f1c5f
DM
20984 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20985 lazy binding.
48e2e132 20986 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20987 undefined symbol errors.
20988
48e2e132 20989 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20990 DT_NEEDED entries.
20991
e80d6f94
MM
209922012-04-05 Michael Matz <matz@suse.de>
20993
20994 [BZ #13592]
20995 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20996
349fa79f
AJ
209972012-04-05 Andreas Jaeger <aj@suse.de>
20998
20999 [BZ #13908]
21000 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21001 comment.
21002
f402708f
KK
210032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21004
21005 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21006 which ROUND is no valid rounding mode.
21007
2ecccfc9
KK
210082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21009
21010 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21011 read again.
21012 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21013
8a53f50f
KK
210142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21015
21016 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21017 an exception using FPU order intentionally.
21018
210192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21020
21021 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21022 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21023 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21024 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21025
d653abb7
SJ
210262012-04-05 Simon Josefsson <simon@josefsson.org>
21027
21028 [BZ #12340]
21029 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21030 EINVAL when BUFLEN is too smal.
21031
c3b1bf7d
TS
210322012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21033
21034 [BZ #13553]
21035 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21036 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21037
b1aa60f3
AJ
210382012-04-03 Andreas Jaeger <aj@suse.de>
21039
c3b1bf7d 21040 [BZ #13938]
67f60a26
AJ
21041 * manual/setjmp.texi (System V contexts): Fix sentence.
21042
b1aa60f3
AJ
21043 [BZ #13926]
21044 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21045 New macro for this case.
21046 [!__GNUC__] (__bswap_64): New inline function for this case.
21047 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21048 * bits/byteswap.h: Likewise.
21049 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21050 ull, guard with __GLIBC_HAVE_LONG_LONG.
21051
21052 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21053 __GLIBC_HAVE_LONG_LONG.
21054
21055 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21056 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21057
39c59c35
TMQMF
210582012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21059
21060 [BZ #13691]
21061 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21062 inptr and inend, rather than using last_ch.
21063
135ffda8
DM
210642012-04-02 David S. Miller <davem@davemloft.net>
21065
21066 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21067 * stdio-common/printf-parse.h (read_int): Change return type to
21068 'int', return -1 on INT_MAX overflow.
21069 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21070 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21071 overflows INT_MAX. Check for overflow of in-format-string precision
21072 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21073 SIZE_MAX not INT_MAX for integer overflow test.
21074 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21075 skip the construct in the format string but do not record anything.
21076 * stdio-common/bug22.c: Adjust to test both width/prevision
21077 INT_MAX overflow as well as total length INT_MAX overflow. Check
21078 explicitly for proper errno values.
21079
228c019e
TS
210802012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21081
302cadd3
TS
21082 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21083 CHAR_MAX.
21084 * string/test-strcmp.c [! WIDE]: Likewise.
21085 * time/tst-mktime2.c: Likewise for INT_MAX.
21086 * string/test-string.h: #include <sys/param.h> for MIN.
21087
228c019e
TS
21088 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21089 * sysdeps/i386/init-first.c (init): Likewise.
21090 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21091 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21092 * sysdeps/sh/init-first.c (init): Likewise.
21093
cfa633f5
UD
210942012-04-01 Ulrich Drepper <drepper@gmail.com>
21095
21096 * po/ru.po: Update from translation team.
d1635ef8 21097 * po/vi.po: Likewise.
cfa633f5 21098
6cd0a5ea
SP
210992012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21100
21101 * resolv/nss_dns/dns-host.c: Merge copyright years.
21102
4b43400f
LD
211032012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21104
21105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21106 Optimize memcpy with prefetch if
21107 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21108 src, dst pointers have unequal 16 byte alignments.
21109
48c41d04
SP
211102012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21111
21112 [BZ #13928]
21113 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21114 from a CNAME entry and return the minimum ttl for the query.
21115 (gaih_getanswer_slice): Likewise.
21116
b8dc394d
JL
211172012-03-30 Jeff Law <law@redhat.com>
21118
21119 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21120 due to long keys.
21121 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21122 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21123
2f5a5ed0
JL
21124 * resolv/nss_dns/dns-host.c: Update copyright year.
21125
1d39e359
UD
211262012-03-30 Ulrich Drepper <drepper@gmail.com>
21127
c030f70c 21128 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21129 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21130
1d39e359
UD
21131 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21132 comments for sendmmsg.
21133
211342012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21135
21136 [BZ #13691]
21137 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21138 with only 1 character between 0x0041 and 0x01b0.
21139 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21140 * wcsmbs/tst-mbsnrtowcs.c: New file.
21141
20fde227
DM
211422012-03-29 David S. Miller <davem@davemloft.net>
21143
21144 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21145 small copies by hand.
21146
984a4237
JL
211472012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21148
21149 [BZ #13761]
21150 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21151 _nss_compat_initgroups_dyn): Fall back to malloc/free
21152 for large group memberships.
21153
18c9d62b
DM
211542012-03-28 David S. Miller <davem@davemloft.net>
21155
88d85d4f
DM
21156 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21157 that branches into memcpy.
21158 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21159 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21160 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21161 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21163 bits.
21164 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21165 implementation too.
21166 * sysdeps/sparc/mempcpy.S: New file.
21167
e5aa83e1
DM
21168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21169 the IFUNC routine in the libc case.
21170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21171
88570753
DM
21172 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21173 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21174 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21175 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21176 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21177 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21178 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21179 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21180
249d7567
DM
21181 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21182 loop to 256 bytes instead of 64 bytes and fix test signedness.
21183
18c9d62b
DM
21184 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21185 * sysdeps/sparc/sparc32/Makefile: rather than here...
21186 * sysdeps/sparc/sparc64/Makefile: and here.
21187
05f3d1f6
UD
211882012-03-28 Ulrich Drepper <drepper@gmail.com>
21189
21190 * malloc/mallocbug.c: Avoid warnings about unused variables.
21191
86ae07a8
JL
211922012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21193
21194 [BZ #13760]
21195 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21196 in the right place. Discard and retry query if response is
21197 larger than input buffer size.
21198
41bf21a1
JM
211992012-03-28 Joseph Myers <joseph@codesourcery.com>
21200
d6270972
JM
21201 [BZ #369]
21202 [BZ #2678]
21203 [BZ #3866]
21204 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21205 x for large integer exponent.
21206 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21207 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21208 sign of result as needed afterwards.
21209 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21210 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21211 result for underflowing pow the same as for overflow.
21212 (__kernel_standard_l): Handle powl overflow and underflow here
21213 rather than calling __kernel_standard.
21214 * math/libm-test.inc (pow_test): Add more tests.
21215
414fca03 21216 [BZ #3868]
41bf21a1
JM
21217 [BZ #13879]
21218 [BZ #13910]
21219 [BZ #13911]
21220 [BZ #13912]
21221 [BZ #13913]
21222 [BZ #13915]
21223 [BZ #13916]
21224 [BZ #13917]
21225 [BZ #13918]
21226 [BZ #13919]
21227 [BZ #13920]
21228 [BZ #13921]
21229 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21230 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21231 (__kernel_standard_l): New function.
21232 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21233 __kernel_standard.
21234 * math/w_acosl.c (__acosl): Likewise.
21235 * math/w_asinl.c (__asinl): Likewise.
21236 * math/w_atan2l.c (__atan2l): Likewise.
21237 * math/w_atanhl.c (__atanhl): Likewise.
21238 * math/w_coshl.c (__coshl): Likewise.
21239 * math/w_exp10l.c (__exp10l): Likewise.
21240 * math/w_exp2l.c (__exp2l): Likewise.
21241 * math/w_fmodl.c (__fmodl): Likewise.
21242 * math/w_hypotl.c (__hypotl): Likewise.
21243 * math/w_j0l.c (__j0l, __y0l): Likewise.
21244 * math/w_j1l.c (__j1l, __y1l): Likewise.
21245 * math/w_jnl.c (__jnl, __ynl): Likewise.
21246 * math/w_lgammal.c (__lgammal): Likewise.
21247 * math/w_log10l.c (__log10l): Likewise.
21248 * math/w_log2l.c (__log2l): Likewise.
21249 * math/w_logl.c (__logl): Likewise.
21250 * math/w_powl.c (__powl): Likewise.
21251 * math/w_remainderl.c (__remainderl): Likewise.
21252 * math/w_scalbl.c (sysv_scalbl): Likewise.
21253 * math/w_sinhl.c (__sinhl): Likewise.
21254 * math/w_sqrtl.c (__sqrtl): Likewise.
21255 * math/w_tgammal.c (__tgammal): Likewise.
21256 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21257 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21258 * math/libm-test.inc (acos_test): Add more tests.
21259 (acosh_test): Likewise.
21260 (asin_test): Likewise.
21261 (atanh_test): Likewise.
21262 (exp_test): Likewise.
21263 (exp10_test): Likewise.
21264 (exp2_test): Likewise.
21265 (expm1_test): Likewise.
21266 (lgamma_test): Likewise.
21267 (log_test): Likewise.
21268 (log10_test): Likewise.
21269 (log1p_test): Likewise.
21270 (log2_test): Likewise.
21271 (pow_test): Do not allow some spurious overflow exceptions.
21272 (sqrt_test): Add more tests.
21273 (tgamma_test): Likewise.
21274 (y0_test): Likewise.
21275 (y1_test): Likewise.
21276 (yn_test): Likewise.
21277
dd62fda6
AB
212782012-03-27 Anton Blanchard <anton@samba.org>
21279
21280 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21281 MAP_HUGETLB.
21282 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21283 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21284 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21285
1e3cdfda
AJ
212862012-03-27 David S. Miller <davem@davemloft.net>
21287
b855ab85
DM
21288 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21289
1e3cdfda
AJ
21290 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21291 have-as-vis3 check.
21292
212932012-03-27 Andreas Jaeger <aj@suse.de>
21294
21295 * sysdeps/x86_64/elf/configure.in: Moved to ...
21296 * sysdeps/x86_64/configure.in: ... here.
21297 * sysdeps/x86_64/elf/start.S: Moved to ...
21298 * sysdeps/x86_64/start.S: ... here.
21299 * sysdeps/x86_64/elf/configure: Delete.
21300
21301 * sysdeps/x86_64/configure.in: Merge contents from
21302 sysdeps/i386/configure.in (without i686 check).
21303
21304 * sysdeps/i386/elf/Versions: Merge into ...
21305 * sysdeps/i386/Versions: ... this.
21306 * sysdeps/i386/elf/Versions: Delete file.
21307 * sysdeps/i386/elf/start.S: Moved to ...
21308 * sysdeps/i386/start.S: ...here.
21309 * sysdeps/i386/elf/configure.in: Merge into...
21310 * sysdeps/i386/configure.in: ...here.
21311 * sysdeps/i386/elf/configure.in: Delete file.
21312 * sysdeps/i386/elf/configure: Delete file.
21313
21314 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21315 * debug/backtracesyms.c: ... here.
21316 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21317 * debug/backtracesymsfd.c: ... here.
21318 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21319 * sysdeps/generic/ifunc-sel.h: ... here.
21320
21321 * sysdeps/unix/i386/start.c: Delete file.
21322 * sysdeps/unix/sparc/start.c: Delete file.
21323 * sysdeps/unix/start.c: Delete file.
21324
21325 * sysdeps/sh/elf/configure.in: Moved to ...
21326 * sysdeps/sh/configure.in: ... here.
21327 * sysdeps/sh/elf/start.S: Moved to ...
21328 * sysdeps/sh/start.S: ... here.
21329 * sysdeps/sh/elf/configure: Delete file.
21330
21331 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21332 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21333 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21334 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21335 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21336 * sysdeps/powerpc/powerpc64/start.S: here.
21337 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21338 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21339 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21340 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21341 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21342
21343 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21344 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21345 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21346 * sysdeps/powerpc/powerpc32/start.S: ... here.
21347 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21348 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21349 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21350
21351 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21352 * sysdeps/powerpc/ifunc-sel.h: ... here.
21353 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21354 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21355
21356 * sysdeps/sparc/elf/configure.in: Moved to ...
21357 * sysdeps/sparc/configure.in: ... here.
21358 * sysdeps/sparc/elf/configure: Delete file.
21359 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21360 * sysdeps/sparc/sparc32/start.S: ... here.
21361 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21362 * sysdeps/sparc/sparc64/start.S: ... here.
21363 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21364 * sysdeps/sparc/sparc32/Makefile: ... this.
21365 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21366 * sysdeps/sparc/sparc64/Makefile: ... this.
21367
21368 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21369 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21370 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21371 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21372 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21373 * sysdeps/s390/s390-32/setjmp.S: ... here.
21374 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21375 * sysdeps/s390/s390-32/configure.in: ... here.
21376 * sysdeps/s390/s390-32/elf/configure: Delete file.
21377 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21378 * sysdeps/s390/s390-32/start.S: ... here.
21379
21380 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21381 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21382 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21383 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21384 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21385 * sysdeps/s390/s390-64/setjmp.S: ... here.
21386 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21387 * sysdeps/s390/s390-64/configure.in: ... here
21388 * sysdeps/s390/s390-64/elf/configure: Delete file.
21389 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21390 * sysdeps/s390/s390-64/start.S: ... here.
21391 * sysdeps/s390/s390-64/elf/configure: Delete.
21392
21393 * configure.in: Remove support for elf directories in sysdeps.
21394
21395 * configure: Regenerated.
21396 * sysdeps/i386/configure: Regenerated.
21397 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21398 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21399 * sysdeps/s390/s390-32/configure: Regenerated.
21400 * sysdeps/s390/s390-64/configure: Regenerated.
21401 * sysdeps/sh/configure: Regenerated.
21402 * sysdeps/sparc/configure: Regenerated.
21403 * sysdeps/x86_64/configure: Regenerated.
21404
a3f61311
AS
214052012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21406
c876e002
AS
21407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21408
a3f61311
AS
21409 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21410 denormal result into account.
21411
ac4c54f0
RM
214122012-03-25 Roland McGrath <roland@hack.frob.com>
21413
21414 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21415 Reported by Allan McRae <allan@archlinux.org>.
21416
6a9b9c02
JL
214172012-03-23 Jeff Law <law@redhat.com>
21418
21419 * nss/getnssent.c (__nss_getent): Fix typo.
21420
4c42a0c1
DM
214212012-03-23 David S. Miller <davem@davemloft.net>
21422
21423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21424
1532c7ac
L
214252012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21426
21427 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21428 to pad to uint64_t for each field.
21429 (dl_tls_index): Replace unsigned long with uint64_t.
21430
3ff42526
PP
214312012-03-23 Daniel Jacobowitz <dmj@google.com>
21432 Paul Pluzhnikov <ppluzhnikov@google.com>
21433
21434 [BZ #6528]
21435 * grp/Makefile (otherlibs): Don't set it.
21436 * inet/Makefile (otherlibs): Likewise.
21437 * login/Makefile (otherlibs): Likewise.
21438 * nscd/Makefile (otherlibs): Likewise.
21439 * posix/Makefile (otherlibs): Likewise.
21440 * pwd/Makefile (otherlibs): Likewise.
21441 * rt/Makefile (otherlibs): Likewise.
21442 * sunrpc/Makefile (otherlibs): Likewise.
21443 * nss/Makefile (otherlibs): Likewise.
21444 Add libnss_files to routines and static-only-routines.
21445 ($(objpfx)getent): Remove rule.
21446 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21447 static-only-routines.
21448
7c69cd14
JM
214492012-03-22 Joseph Myers <joseph@codesourcery.com>
21450
21451 [BZ #13892]
21452 * math/s_cexp.c: Include <float.h>.
21453 (__cexp): Handle exp result overflowing not necessarily
21454 overflowing both real and imaginary parts of result.
21455 * math/s_cexpf.c: Likewise.
21456 * math/s_cexpl.c: Likewise.
21457 * math/libm-test.inc (cexp_test): Add more tests.
21458 * sysdeps/i386/fpu/libm-test-ulps: Update.
21459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21460
81b035fe
L
214612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21462
21463 * include/link.h (ELFW): New macro.
21464 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21465 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21466
1da7940c
L
214672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21468
21469 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21470 with uint64_t.
21471
b749dbb9
L
214722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21473
21474 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21475 declaration.
21476 (struct La_x32_retval): Likewise.
21477
2ff87f3f
L
214782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21479
21480 * sysdeps/x86_64/preconfigure.in: New file.
21481 * sysdeps/x86_64/preconfigure: New generated file.
21482
c0df8e69
JM
214832012-03-22 Joseph Myers <joseph@codesourcery.com>
21484
48e44791
JM
21485 [BZ #13824]
21486 * math/e_exp2l.c: Include <float.h>.
21487 (__ieee754_exp2l): Handle overflow and underflow cases
21488 separately. Only pass fractional part of argument to
21489 __ieee754_expl.
21490 * math/libm-test.inc (exp2_test): Add more tests.
21491
c0df8e69
JM
21492 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21493 negating x to take absolute value.
21494 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21495 Likewise.
21496 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21497 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21498 Likewise.
21499 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21500 computing low part if x was negated.
21501 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21502
c8e43ba7
L
215032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21506 la_x32_gnu_pltexit.
21507 (pltexit): Cast int_retval to ptrdiff_t.
21508 * elf/tst-auditmod3b.c: Likewise.
21509 * elf/tst-auditmod4b.c: Likewise.
21510 * elf/tst-auditmod5b.c: Likewise.
21511 * elf/tst-auditmod6b.c: Likewise.
21512 * elf/tst-auditmod6c.c: Likewise.
21513 * elf/tst-auditmod7b.c: Likewise.
21514
21515 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21516 and x32_gnu_pltexit.
21517
21518 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21519 __ELF_NATIVE_CLASS.
21520 (La_x32_regs): New macro.
21521 (La_x32_retval): Likewise.
21522 (la_x32_gnu_pltenter): New function prototype.
21523 (la_x32_gnu_pltexit): Likewise.
21524
7998fa78
AS
215252012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21526
dcb33988
AS
21527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21528 exponent.
21529
233fc563
AS
21530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21531
7998fa78
AS
21532 * configure.in (libc_cv_cc_nofma): Check for option to disable
21533 generation of FMA instructions.
21534 * configure: Regenerate.
21535 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21536 * sysdeps/ieee754/dbl-64/Makefile: New file.
21537 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21538 Remove brandred-fma4.
21539 (CFLAGS-brandred-fma4.c): Remove.
21540 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21541 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21542 define.
21543 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21544 define.
21545
8e95c99a
L
215462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21547
21548 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21549 LLONG_MAX != LONG_MAX.
21550 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21551 (_fitoa_word): Likewise.
21552 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21553 LLONG_MAX != LONG_MAX.
21554 * stdio-common/_itowa.h: Include <_itoa.h>.
21555 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21556 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21557 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21558 only if not defined.
21559 (_ITOA_WORD_TYPE): Likewise.
21560 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21561 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21562
6f4db457
DM
215632012-03-21 David S. Miller <davem@davemloft.net>
21564
21565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21566
7785fe5a
L
215672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21568
21569 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21570 of x86_64 when setting libc_cv_slibdir, libdir and
21571 libc_cv_localedir.
21572 * sysdeps/unix/sysv/linux/configure: Regenerated.
21573
4535cd55
JM
215742012-03-21 Joseph Myers <joseph@codesourcery.com>
21575
21576 * manual/lang.texi (Old Varargs): Remove section.
21577 (How Variadic): Update menu.
21578 (va_start): Do not mention varargs.h.
21579
17228132
TS
215802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21581 Joseph Myers <joseph@codesourcery.com>
21582
21583 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21584 link test.
21585 * configure: Regenerated.
21586
8149f976
TS
215872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21588
05f3d1f6
UD
21589 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21590 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21591 conformtest.pl
8149f976 21592
1a4ac776
JM
215932012-03-21 Joseph Myers <joseph@codesourcery.com>
21594
be22ce65
JM
21595 * NOTES: Remove.
21596 * Makefile (files-for-dist): Remove NOTES.
21597 (NOTES): Remove rule.
21598 * README: Don't refer to NOTES.
21599 * manual/creature.texi: Don't include macros.texi.
21600 * manual/intro.texi (creature.texi): Remove comment referring to
21601 NOTES.
21602
40b601fb
JM
21603 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21604 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21605 * configure: Regenerated.
21606 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21607 LIBC_TRY_CC_OPTION.
21608 (libc_cv_as_i686): Likewise.
21609 (libc_cv_cc_avx): Likewise.
21610 (libc_cv_cc_sse2avx): Likewise.
21611 (libc_cv_cc_fma4): Likewise.
21612 (libc_cv_cc_novzeroupper): Likewise.
21613 * sysdeps/i386/configure: Regenerated.
21614
1a4ac776
JM
21615 [BZ #13883]
21616 * sysdeps/i386/fpu/s_cexp.S: Remove.
21617 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21618 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21619 * math/libm-test.inc (cexp_test): Add more tests.
21620 * sysdeps/i386/fpu/libm-test-ulps: Update.
21621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21622
a458e7fe
AM
216232012-03-21 Allan McRae <allan@archlinux.org>
21624
21625 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21626
0cb7efc5
JM
216272012-03-21 Joseph Myers <joseph@codesourcery.com>
21628
21629 [BZ #13871]
21630 * math/w_exp2.c: Do not include <float.h>.
21631 (o_threshold, u_threshold): Remove.
21632 (__exp2): Calculate result before checking finiteness and calling
21633 __kernel_standard.
21634 * math/w_exp2f.c: Likewise.
21635 * math/w_exp2l.c: Likewise.
21636 * math/libm-test.inc (exp2_test): Require overflow exception for
21637 1e6 input.
2460d3aa
JM
21638
21639 [BZ #3866]
21640 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21641 range of signed 64-bit integers before using fistpll. Remove
21642 checks for whether integers fit in mantissa bits.
21643 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21644 the range of signed 32-bit integers before using fistpl. Remove
21645 checks for whether integers fit in mantissa bits.
21646 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21647 (__ieee754_powl): Test for y outside the range of signed 64-bit
21648 integers before using fistpll. Reduce 64-bit values to 63-bit
21649 ones as needed.
21650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21651 divide-by-zero is raised for zero to large negative powers.
21652 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
21657
eb96ffb0
L
216582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21659
21660 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21661 <stdio-common/_itoa.h>.
21662 * debug/segfault.c: Likewise.
21663 * elf/dl-cache.c: Likewise.
21664 * elf/dl-minimal.c: Likewise.
21665 * elf/dl-misc.c: Likewise.
21666 * elf/dl-sysdep.c: Likewise.
21667 * elf/dl-version.c: Likewise.
21668 * elf/rtld.c: Likewise.
21669 * hurd/hurdsock.c: Likewise.
21670 * hurd/lookup-retry.c: Likewise.
21671 * malloc/malloc.c: Likewise.
21672 * malloc/mtrace.c: Likewise.
21673 * nscd/nscd_getgr_r.c: Likewise.
21674 * nscd/nscd_getpw_r.c: Likewise.
21675 * nscd/nscd_getserv_r.c: Likewise.
21676 * posix/getopt_init.c: Likewise.
21677 * posix/wordexp.c: Likewise.
21678 * stdio-common/_itoa.c: Likewise.
21679 * stdio-common/printf_fphex.c: Likewise.
21680 * stdio-common/vfprintf.c: Likewise.
21681 * string/_strerror.c: Likewise.
21682 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21683 * sysdeps/i386/i686/hp-timing.h: Likewise.
21684 * sysdeps/mach/_strerror.c: Likewise.
21685 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21686 * sysdeps/mach/hurd/sethostid.c: Likewise.
21687 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21688 * sysdeps/mach/xpg-strerror.c: Likewise.
21689 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21690 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21691 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21692 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21693 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21694 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21695 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21696 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21697 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21698 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21699 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21700 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21701 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21702 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21703 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21704 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21705 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21706 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21707 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21708 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21709 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21710
21711 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21712
21713 * stdio-common/_itoa.h: Moved to ...
21714 * sysdeps/generic/_itoa.h: Here.
21715
21716 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21717
21718 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21719 instead of "_itoa.h" and "_itowa.h".
21720 * stdio-common/vfprintf.: Likewise.
21721
d1af992d
L
217222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21723
21724 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21725 <bits/wordsize.h>.
21726 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21727 (__signbit): Likwise.
21728 (llrintf): Likwise.
21729 (llrint): Likwise.
21730
114883e0
L
217312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21732
21733 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21734 __WORDSIZE != 64.
21735
c135cc1b
JM
217362012-03-20 Joseph Myers <joseph@codesourcery.com>
21737
21738 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21739 OVERFLOW_EXCEPTION_OK.
21740 * math/libm-test.inc ("Philosophy"): Update comment about
21741 exception testing.
21742 (OVERFLOW_EXCEPTION): Define.
21743 (OVERFLOW_EXCEPTION_OK): Likewise.
21744 (INVALID_EXCEPTION_OK): Renumber.
21745 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21746 (IGNORE_ZERO_INF_SIGN): Likewise.
21747 (test_exceptions): Handle FE_OVERFLOW.
21748 (exp10_test): Expect overflow exceptions.
21749 (exp2_test): Likewise.
21750 (expm1_test): Likewise.
21751 (nextafter_test): Likewise.
21752 (pow_test): Likewise.
21753 (scalbn_test): Likewise.
21754 (scalbln_test): Likewise.
21755
95443d88
L
217562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21757
21758 * sysdeps/x86_64/bits/atomic.h
21759 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21760 64bit integer.
21761 (atomic_exchange_acq): Likewise.
21762 (__arch_exchange_and_add_body): Likewise.
21763 (__arch_add_body): Likewise.
21764 (atomic_add_negative): Likewise.
21765 (atomic_add_zero): Likewise.
21766
490df6c4
L
217672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21768
c2722551 21769 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21770 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21771
5e52b189
L
217722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21773
21774 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21775 Check __x86_64__ instead of __WORDSIZE.
21776
a9879d4c
L
217772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21778
21779 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21780
5df98260
DM
217812012-03-19 David S. Miller <davem@davemloft.net>
21782
e1497744
DM
21783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21784
5df98260
DM
21785 * sysdeps/sparc/fpu/fenv_private.h: New file.
21786 * sysdeps/sparc/fpu/math_private.h: Use it.
21787 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21788 Remove.
21789 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21790 (libc_feholdexcept_setroundl): Remove.
21791 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21792 Remove.
21793 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21794 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21795
b4c35121
L
217962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21797
21798 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21799 int64_t instead of long int.
21800 (INSERT_WORDS64): Likwise.
21801
56965fd7
L
218022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21803
21804 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21805 _Unwind_GetCFA return to _Unwind_Ptr first.
21806
83d1aec8
JM
218072012-03-19 Joseph Myers <joseph@codesourcery.com>
21808
1897ad44
JM
21809 [BZ #13629]
21810 * math/s_clog.c: Include <float.h>.
21811 (__clog): Scale large or subnormal inputs.
21812 * math/s_clogf.c: Likewise.
21813 * math/s_clogl.c: Likewise.
21814 * math/s_clog10.c: Include <float.h>.
21815 (M_LOG10_2): Define.
21816 (__clog10): Scale large or subnormal inputs.
21817 * math/s_clog10f.c: Likewise.
21818 * math/s_clog10l.c: Likewise.
21819 * math/libm-test.inc (clog_test): Add more tests.
21820 (clog10_test): Likewise.
21821 * sysdeps/i386/fpu/libm-test-ulps: Update.
21822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21823
7726d6a9
JM
21824 [BZ #11451]
21825 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21826 x and y.
21827 * math/libm-test.inc (atan2_test): Add another test.
21828
83d1aec8
JM
21829 * Makerules (common-objdir-compile): Remove.
21830 * sysdeps/unix/Makefile (config-generated): Do not add
21831 $(unix-generated) to variable.
21832 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21833 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21834 Remove rule.
21835 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21836 Likewise.
21837 [generic bits/local_lim.h] (before-compile): Do not append to
21838 variable.
21839 [generic bits/local_lim.h] (common-generated): Likewise.
21840 [generic sys/param.h] (before-compile): Do not append to variable.
21841 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21842 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21843 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21844 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21845 include.
21846 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21847 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21848 [generic sys/param.h] ($(addprefix
21849 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21850 [generic sys/param.h] (common-generated): Do not append to
21851 variable.
21852 [generic sys/param.h] (sysdep_headers): Likewise.
21853 [generic bits/errno.h] (before-compile): Do not append to
21854 variable.
21855 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21856 rule.
21857 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21858 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21859 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21860 [generic bits/errno.h] (common-generated): Do not append to
21861 variable.
21862 [generic bits/ioctls.h] (before-compile): Do not append to
21863 variable.
21864 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21865 rule.
21866 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21867 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21868 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21869 rule.
21870 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21871 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21872 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21873 [generic bits/ioctls.h] (common-generated): Do not append to
21874 variable.
21875 [generic sys/syscall.h] (syscall.h): Remove variable.
21876 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21877 rule.
21878 [generic sys/syscall.h] (before-compile): Do not append to
21879 variable.
21880 [generic sys/syscall.h] (common-generated): Likewise.
21881 * sysdeps/unix/errnos-tmpl.c: Remove file.
21882 * sysdeps/unix/errnos.awk: Likewise.
21883 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21884 * sysdeps/unix/ioctls.awk: Likewise.
21885 * sysdeps/unix/mk-local_lim.c: Likewise.
21886 * sysdeps/unix/snarf-ioctls: Likewise.
21887
4851a949
RH
218882012-03-19 Richard Henderson <rth@twiddle.net>
21889
bd37f2ee
RH
21890 * sysdeps/i386/fpu/fenv_private.h: New file.
21891 * sysdeps/i386/fpu/math_private.h: Use it.
21892 (math_opt_barrier, math_force_eval): Remove.
21893 (libc_feholdexcept_setround_53bit): Remove.
21894 (libc_feupdateenv_53bit): Remove.
21895 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21896 (math_opt_barrier, math_force_eval): Remove.
21897 (libc_feholdexcept): Remove.
21898 (libc_feholdexcept_setround): Remove.
21899 (libc_fetestexcept, libc_fesetenv): Remove.
21900 (libc_feupdateenv_test): Remove.
21901 (libc_feupdateenv, libc_feholdsetround): Remove.
21902 (libc_feresetround): Remove.
21903
d0adc922
RH
21904 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21905 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21906
0fe0f1f8
RH
21907 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21908 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21909 (libc_feupdateenv_testl): New.
21910 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21911 (libc_feupdateenv_testf): New.
21912 (libc_feupdateenv): Use libc_feupdateenv_test.
21913 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21915
eb92c487
RH
21916 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21917 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21918 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21919 (libc_feresetround_noex): New.
21920 (libc_feresetround_noexf): New.
21921 (libc_feresetround_noexl): New.
21922 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21923 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21924 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21925 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21926 SET_RESTORE_ROUND.
21927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21929 (__cos): Likewise.
21930 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21931 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21932 SET_RESTORE_ROUND_NOEX.
21933 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21934 SET_RESTORE_ROUND_NOEXF.
21935 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21936 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21937 (libc_feholdsetroundf): New.
21938 (libc_feresetround, libc_feresetroundf): New.
21939
7d2e8012
RH
21940 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21941 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21942 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21943
b4dabbb4
RH
21944 * sysdeps/generic/math_private.h: Include <fenv.h>.
21945 (default_libc_feholdexcept): New.
21946 (default_libc_feholdexcept_setround): New.
21947 (default_libc_fesetenv, default_libc_feupdateenv): New.
21948 (libc_feholdexcept): Only define if undefined.
21949 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21950 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21951 (libc_feholdexcept_setroundl): Likewise.
21952 (libc_feholdexcept_setround_53bit): Likewise.
21953 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21954 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21955 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21956 (libc_feupdateenv_53bit): Likewise.
21957 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21958 (libc_feholdexcept): Convert from macro to inline function.
21959 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21960 (libc_fesetenv, libc_feupdateenv): Likewise.
21961
4851a949
RH
21962 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21963 not previously defined.
21964 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21965 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21966 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21967 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21968 * sysdeps/ieee754/flt-32/math_private.h: New file.
21969 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21970 math_private.h below SET_FLOAT_WORD.
21971 (__isnan, __isinf_ns, __finite): Remove.
21972 (__isnanf, __isinf_nsf, __finitef): Remove.
21973
e79d442e
AS
219742012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21975
21976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21977
90b80344
DM
219782012-03-17 David S. Miller <davem@davemloft.net>
21979
21980 [BZ #6471]
21981 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21982 for 2.16.
21983
edc21804
DM
219842012-03-16 David S. Miller <davem@davemloft.net>
21985
77e927af
DM
21986 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21987 warnings.
21988
374976dd
DM
21989 [BZ #6471]
21990 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21991 properly.
21992 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21993 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21994 sysdep_routines when subdir is sysvipc.
21995 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21996 __getshmlba helper.
21997
edc21804
DM
21998 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21999
473c3ef3
L
220002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22001
22002 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22003 [__LP64__].
22004
eb0f39b6
L
220052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22006
22007 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22008 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22009 (__lround): Renamed to ...
22010 (__llround): This. Replace long int with long long int.
22011 Define lround functions as aliases of llround functions.
22012 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22013
6b6cd74b
L
220142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22015
22016 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22017 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22018 adresses to uintptr_t. Replace "long int" and "unsigned long
22019 int" with "greg_t" on va_arg.
22020
f1a77b01
L
220212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22022
22023 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22024 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22025
22026 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22027 Move e_machine check before EI_CLASS check. Handle x32
22028 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22029 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22030 SKIP_EM_IA_64 and include
22031 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22032
22033 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22034 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22035 (add_system_dir): New macro.
22036
22037 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22038 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22039
11b90b9f
JM
220402012-03-16 Joseph Myers <joseph@codesourcery.com>
22041
c36e1d23
JM
22042 [BZ #2551]
22043 [BZ #2552]
22044 [BZ #2553]
22045 [BZ #2554]
22046 [BZ #2562]
22047 [BZ #2563]
22048 [BZ #2565]
22049 [BZ #2566]
22050 [BZ #2576]
22051 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22052 (y0): Likewise.
22053 * math/w_j0f.c (j0f): Likewise.
22054 (y0f): Likewise.
22055 * math/w_j0l.c (__j0l): Likewise.
22056 (__y0l): Likewise.
22057 * math/w_j1.c (j1): Likewise.
22058 (y1): Likewise.
22059 * math/w_j1f.c (j1f): Likewise.
22060 (y1f): Likewise.
22061 * math/w_j1l.c (__j1l): Likewise.
22062 (__y1l): Likewise.
22063 * math/w_jn.c (jn): Likewise.
22064 (yn): Likewise.
22065 * math/w_jnf.c (jnf): Likewise.
22066 (ynf): Likewise.
22067 * math/w_jnl.c (__jnl): Likewise.
22068 (__ynl): Likewise.
22069 * math/libm-test.inc (j0_test): Add more tests.
22070 (j1_test): Likewise.
22071 (jn_test): Likewise. Add trailing semicolon to existing test.
22072 (y0_test): Likewise.
22073 (y1_test): Likewise.
22074 * sysdeps/i386/fpu/libm-test-ulps: Update.
22075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22076
11b90b9f
JM
22077 [BZ #13851]
22078 [BZ #13854]
22079 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22080 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22081 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22082 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22083 (__tanl): Set errno for infinite argument.
22084 * sysdeps/i386/fpu/mptan.c: Remove.
22085 * sysdeps/i386/fpu/s_tan.S: Likewise.
22086 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22087 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22088 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22089 * math/libm-test.inc (tan_test): Add more tests and enable more
22090 tests for double and long double.
22091 * sysdeps/i386/fpu/libm-test-ulps: Update.
22092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22093
6a1bd2a1
JK
220942012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22095
22096 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22097 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22098
10a803e0
RM
220992012-03-16 Roland McGrath <roland@hack.frob.com>
22100
22101 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22102 * configure.in: Use it for both main tree and add-ons.
22103 * configure: Regenerated.
22104
f196c7f7
L
221052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22106
22107 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22108
8848d99d
JM
221092012-03-16 Joseph Myers <joseph@codesourcery.com>
22110
96cbe7f4
JM
22111 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22112 in comment.
22113
8848d99d
JM
22114 [BZ #13851]
22115 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22116 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22117 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22118 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22119 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22120 infinite argument.
22121 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22122 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22123 != 0 for prec == 2.
22124 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22125 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22126 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22127 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22128 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22129 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22130 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22131 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22132 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22133 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22134 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22135 * math/libm-test.inc (cos_test): Add more tests and enable more
22136 tests for long double.
22137 (sin_test): Likewise.
22138 (sincos_test): Likewise.
22139 * sysdeps/i386/fpu/libm-test-ulps: Update.
22140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22141
dd7f4703
DM
221422012-03-16 David S. Miller <davem@davemloft.net>
22143
22144 * sysdeps/sparc/fpu/math_private.h: New file.
22145
006f1daa
DM
221462012-03-15 David S. Miller <davem@davemloft.net>
22147
c0c83bc8
DM
22148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22149 file.
e6a62e18 22150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22152 file.
e6a62e18
DM
22153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22159 sysdep routines.
22160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22161
88cb87d9
DM
22162 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22163 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22164
006f1daa 22165 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22167 sparc-ifunc.h
006f1daa 22168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22170 Likewise.
22171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22172 Likewise.
006f1daa
DM
22173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22177 Likewise.
006f1daa
DM
22178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22183 Likewise.
22184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22185 Likewise.
006f1daa
DM
22186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22192 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22193 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22204 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22205 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22206 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22207 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22210
11e0098e
AS
222112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22212
22213 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22214 scaling.
22215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22216
e85b09d0
AJ
222172012-03-15 Andreas Jaeger <aj@suse.de>
22218
22219 [BZ #13852]
22220 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22221 ieee754/flt-32 implementation for sin, cos and sincos.
22222 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22223 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22224 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22225 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22226 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22227 ieee754/flt-32 implementation for tan.
22228
22229 * math/libm-test.inc (cos_test): Enable some large input tests for
22230 float as well
22231 (sin_test): Likewise.
22232 (sincos_test): Likewise.
22233 (tan_test): Add tests for large input.
22234
22235 * sysdeps/i386/fpu/libm-test-ulps: Update.
22236
81c64153
AJ
222372012-03-15 Andreas Jaeger <aj@suse.de>
22238
22239 [BZ #13658]
22240 * math/libm-test.inc (cos_test): Add more test cases.
22241 (sin_test): Likewise.
22242 (sincos_test): Likewise.
22243
7bbfa5c6
AJ
222442012-03-15 Andreas Jaeger <aj@suse.de>
22245
22246 [BZ #13837]
22247 * math/libm-test.inc (cos_test): Add a test case for large input
22248 value.
22249 (sin_test): Likewise.
22250 (sincos_test): Likewise.
22251
222522012-03-15 Andreas Jaeger <aj@suse.de>,
22253 Joseph Myers <joseph@codesourcery.com>
22254
22255 [BZ #13658]
0671f479 22256 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22257 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22258 * sysdeps/i386/fpu/branred.c: Likewise.
22259 * sysdeps/i386/fpu/dosincos.c: Likewise.
22260 * sysdeps/i386/fpu/mpa.c: Likewise.
22261 * sysdeps/i386/fpu/s_cos.S: Likewise.
22262 * sysdeps/i386/fpu/s_sin.S: Likewise.
22263 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22264 * sysdeps/i386/fpu/sincos32.c: Likewise.
22265
22266 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22267 Define.
22268 (libc_feupdateenv_53bit): Define.
22269 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22270 Define.
22271 (libc_feupdateenv_53bit): Define.
22272
22273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22274 53 bit (without extend i386 double precision).
22275
22276 * math/libm-test.inc (sincos_test): Add tests for large input.
22277 (sin): Likewise.
22278 (cos): Likewise.
22279
22280 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22281
9cad04ea
AS
222822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22283
22284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22285
f7062b9a
DM
222862012-03-15 David S. Miller <davem@davemloft.net>
22287
22288 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22289 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22290 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22291 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22304 file.
f7062b9a 22305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22307 file.
f7062b9a 22308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22310 file.
f7062b9a 22311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22313 file.
f7062b9a
DM
22314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22315 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22316 fmin/fmax sysdep routines.
22317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22318
7bd951ff
DM
223192012-03-14 David S. Miller <davem@davemloft.net>
22320
559398ab
DM
22321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22327 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22343 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22347 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22349 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22350 routines.
22351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22352 file.
559398ab 22353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22355 file.
559398ab 22356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22358 file.
559398ab 22359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22361 file.
559398ab 22362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22364 file.
559398ab 22365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22367 file.
22368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22369 file.
22370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22371 file.
22372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22373 file.
22374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22375 New file.
22376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22377 file.
22378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22379 file.
559398ab 22380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22382 file.
559398ab 22383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22385 file.
559398ab 22386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22388 file.
559398ab 22389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22391 VIS3 routines.
559398ab
DM
22392
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22394 New file.
22395
5a1c1e32
DM
22396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22397
eae47a36
DM
22398 * sysdeps/sparc/configure.in: New file.
22399 * sysdeps/sparc/configure: Generate.
22400 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22401 * configure: Regenerate.
22402 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22403 * config.make.in (have-as-vis3): New.
22404 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22405 available use -Av9d instead of -Av9a.
22406 * sysdeps/sparc/sparc64/Makefile: Likewise.
22407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22409 New file.
22410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22411 file.
22412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22413 New file.
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22415 file.
eae47a36
DM
22416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22418 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22419 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22421
c0c83bc8
DM
22422 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22423 fzeros/fnegs to load 0x80000000 into a float register instead of
22424 using the stack.
7bd951ff
DM
22425 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22426
bd951ccb
JM
224272012-03-14 Joseph Myers <joseph@codesourcery.com>
22428
22429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22430 bits/syscall.h.
22431 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22432 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22433 ($(inst_includedir)/bits/syscall.h): Remove rule.
22434 ($(objpfx)bits/syscall.d): Include instead of
22435 $(objpfx)syscall-list.d.
22436 (generated): Change syscall-list.h and syscall-list.d to
22437 bits/syscall.h and bits/syscall.d.
22438
bb4e6db2
RM
224392012-03-14 Roland McGrath <roland@hack.frob.com>
22440
22441 [BZ #13846]
22442 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22443
aa4a2ae1
JM
224442012-03-14 Joseph Myers <joseph@codesourcery.com>
22445
e456826d
JM
22446 [BZ #13841]
22447 * math/s_csqrt.c: Include <float.h>.
22448 (__csqrt): Scale large or subnormal inputs.
22449 * math/s_csqrtf.c: Likewise.
22450 * math/s_csqrtl.c: Likewise.
22451 * math/libm-test.inc (csqrt_test): Add more tests.
22452 * sysdeps/i386/fpu/libm-test-ulps: Update.
22453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22454
aa4a2ae1
JM
22455 [BZ #13840]
22456 * math/libm-test.inc (hypot_test): Add more tests.
22457
7c10fd35
DM
224582012-03-13 David S. Miller <davem@davemloft.net>
22459
22460 [BZ #13840]
22461 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22462 double-precision for the calculation instead of scaling.
22463
f453b98b
JM
224642012-03-13 Joseph Myers <joseph@codesourcery.com>
22465
22466 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22467 manipulate bits before adding and subtracting TWO52[sx].
22468 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22469 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22470 Likewise.
22471 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22472
09a3453f
DM
224732012-03-13 David S. Miller <davem@davemloft.net>
22474
8e59da90
DM
22475 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22476 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22478 rtld-global-offsets.h
22479 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22480
2a8ab7f2
DM
22481 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22482 large parameters.
22483
10f62770
DM
22484 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22485
5f0bdb18
DM
22486 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22487 'err' in the ifdef scope in which it is actually used.
22488
09a3453f
DM
22489 * nss/nss_db/db-init.c: Include string.h
22490
b4b2eb5e
DM
224912012-03-12 David S. Miller <davem@davemloft.net>
22492
98bb2f1c
DM
22493 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22494 masking out of the most significant byte of random value used.
22495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22496 Fix coding style in previous change.
22497
b4b2eb5e
DM
22498 * sysdeps/unix/sysv/linux/kernel-features.h
22499 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22500 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22501 expression.
22502 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22503 later.
22504
6e226b09
DM
225052012-03-11 David S. Miller <davem@davemloft.net>
22506
a1bcbd40
DM
22507 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22508 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22510 for 'resultvar' otherwise things get truncated on 64-bit.
22511
cb9d6174
DM
22512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22513 Fix masking out of the most significant byte of random value used.
22514
6e226b09
DM
22515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22516
058c132d
AS
225172012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22518
22519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22520
2d2cd515
DM
225212012-03-09 David S. Miller <davem@davemloft.net>
22522
22523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22524 variables with appropriate CPP guards.
22525 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22526 frame pointer, not the stack pointer. Correct layout comments. Fix test
22527 on resulting framesize and the management of the outregs buffer for pltexit.
22528 Preserve floating point return values across _dl_call_pltexit call.
22529 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22530 framesize and the management of the outregs buffer for pltexit.
22531 Preserve floating point return values across _dl_call_pltexit
22532 call.
22533 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22534 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22535 (print_exit): Fix format string for return register value.
22536
9a07f9d0
JM
225372012-03-10 Joseph Myers <joseph@codesourcery.com>
22538
22539 * sunrpc/Makefile (others): Add rpcgen.
22540 ($(objpfx)rpcgen): Remove special build rule and dependency on
22541 libc.
22542 * sunrpc/rpcgen.c: New file.
22543
547b5e30
PE
225442012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22545
c524201a
PE
22546 [BZ #13673]
22547 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22548 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22549 * sysdeps/i386/crti.S: Likewise.
22550 * sysdeps/i386/crtn.S: Likewise.
22551 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22552 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22553 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22554 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22555 * sysdeps/sh/crti.S: Likewise.
22556 * sysdeps/sh/crtn.S: Likewise.
22557 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22558
7b6235f2
PE
22559 [BZ #13673]
22560 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22561 with URL.
22562 * locale/programs/locfile-kw.gperf: Likewise.
22563 * locale/programs/charmap-kw.h: Regenerated.
22564 * locale/programs/locfile-kw.h: Likewise.
22565
547b5e30
PE
22566 [BZ #13673]
22567 * intl/plural.y: Replace FSF snail mail address with URL.
22568 * intl/plural.c: Regenerated.
22569
5f0a5dae
RH
225702012-03-09 Richard Henderson <rth@twiddle.net>
22571
22572 * include/math_private.h: Remove file.
22573 * math/math_private.h: Move file ...
22574 * sysdeps/generic/math_private.h: ... here.
22575
b8c03620
RH
22576 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22577 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22578 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22579
4e234f5d 22580 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22581 and <math_private.h>.
22582 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22583 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22584 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22585 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22586 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22614 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22669 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22670 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22671 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22672 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22673 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22674 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22675 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22676 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22677 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22678 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22679 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22680 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22681 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22682 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22683 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22684 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22685 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22687 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22688 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22689 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22690 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22692 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22693 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22694 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22695 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22696 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22697 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22698 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22699 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22700 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22701 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22702 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22703 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22704 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22705 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22706 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22707 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22709 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22710 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22711 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22712 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22713 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22715 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22716 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22717 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22718 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22719 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22720 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22721 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22722 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22723 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22724 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22725 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22726 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22727 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22728 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22730 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22731 * sysdeps/ieee754/k_standard.c: Likewise.
22732 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22737 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22766 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22768 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22771 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22835 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22836 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22837 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22841 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22842 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22847 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22851 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22854 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22858 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22859 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22860 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22862 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22863 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22864 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22865 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22866 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22867 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22868 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22869 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22870 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22871 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22872 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22873 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22874 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22875 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22876 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22877 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22878 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22881 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22882 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22883 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22884 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22885 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22886 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22887 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22888 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22889 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22890 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22891 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22892 * sysdeps/ieee754/s_lib_version.c: Likewise.
22893 * sysdeps/ieee754/s_matherr.c: Likewise.
22894 * sysdeps/ieee754/s_signgam.c: Likewise.
22895 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22896 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22897 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22898 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22899 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22900 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22901 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22902 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22903 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22904 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22905 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22906 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22907 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22908 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22909 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22910 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22911 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22912 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22913 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22915 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22916
1991fa03
JM
229172012-03-09 Joseph Myers <joseph@codesourcery.com>
22918
22919 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22920 * sunrpc/rpc_main.c: Likewise.
22921 * sunrpc/rpc_svcout.c: Likewise.
22922
60d6f5a6
DM
229232012-03-09 David S. Miller <davem@davemloft.net>
22924
22925 * include/math_private.h: New file.
22926
4962050e
JM
229272012-03-09 Joseph Myers <joseph@codesourcery.com>
22928
02a6f887
JM
22929 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22930 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22931 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22932 from <bits/socket_type.h>.
22933 (enum __socket_type): Don't define here.
22934 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22936 bits/socket_type.h.
22937
c6e013c1
JM
22938 [BZ #13566]
22939 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22940 checking __USE_GNU.
22941
4962050e
JM
22942 * Makerules ($(inst_includedir)/%.h): New rule.
22943 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22944 (install-others): Remove variable setting.
22945 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22946
38842f45
RH
229472012-03-08 Richard Henderson <rth@twiddle.net>
22948
67bb6da6
RH
22949 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22950 from macro to inline function; merge with the
22951 !__LIBC_INTERNAL_MATH_INLINES version.
22952 (__ieee754_sqrtf): Likewise.
22953
15194b4b
RH
22954 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22955 to inline function.
22956 (__rintf, __floor, __floorf): Likewise.
22957
64e21ede
RH
22958 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22959 macro to inline function.
22960 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22961
38842f45
RH
22962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22963 not <math/math_private.h>.
22964
c64bf5fe
DM
229652012-03-08 David S. Miller <davem@davemloft.net>
22966
22967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22968 copyright year.
22969 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22970
82d86f28
TS
229712012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22972
22973 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22974 normalization.
22975 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22976 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22977
aea5d727
UD
229782012-03-08 Ulrich Drepper <drepper@gmail.com>
22979
22980 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22981 be defined individually, they must be defined as a block. Define
22982 S for printing a string instead of hidint the different by using a
22983 macro for adding the 'l'.
22984 * stdio-common/tst-fphex-wide.c: Adjust.
22985
70bca0a3
MP
229862012-03-07 Marek Polacek <polacek@redhat.com>
22987
22988 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22989
65b81130
MP
229902012-03-08 Marek Polacek <polacek@redhat.com>
22991
22992 [BZ #13806]
22993 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22994 * stdio-common/tst-fphex.c: Define a few macros to make the
22995 test reusable. Use them.
22996 * stdio-common/tst-fphex-wide.c: New file.
22997
07037eeb
JM
229982012-03-08 Joseph Myers <joseph@codesourcery.com>
22999
a7a93d50
JM
23000 [BZ #6911]
23001 * manual/macros.texi (gnusystems): New macro.
23002 (nongnusystems): Likewise.
23003 (gnulinuxhurdsystems): Likewise.
23004 (gnuhurdsystems): Likewise..
23005 (gnulinuxsystems): Likewise.
23006 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23007 variants of the GNU system, not "GNU system".
23008 * manual/conf.texi: Likewise.
23009 * manual/errno.texi: Likewise. Update example of errno macro
23010 expansion.
23011 * manual/filesys.texi: Likewise.
23012 (getumask): Document as specific to GNU/Hurd.
23013 * manual/install.texi: Likewise. Reword some references to
23014 GNU/Linux.
23015 * manual/intro.texi: Likewise.
23016 * manual/io.texi: Likewise.
23017 (File Name Portability): Detail which constraints are inapplicable
23018 to all GNU systems and which are only inapplicable to GNU/Hurd.
23019 * manual/job.texi: Likewise.
23020 * manual/llio.texi: Likewise.
23021 (O_NOCTTY): Document as present on GNU/Linux.
23022 * manual/maint.texi: Likewise.
23023 * manual/memory.texi: Likewise.
23024 * manual/pattern.texi: Likewise.
23025 * manual/pipe.texi: Likewise.
23026 * manual/process.texi: Likewise.
23027 * manual/resource.texi: Likewise.
23028 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23029 child on GNU/Hurd.
23030 * manual/setjmp.texi: Likewise.
23031 * manual/signal.texi: Likewise.
23032 * manual/startup.texi: Likewise.
23033 * manual/stdio.texi: Likewise.
23034 * manual/terminal.texi: Likewise.
23035 (ONLCR): Document as POSIX.
23036 (OXTABS): Document availability on GNU/Linux as XTABS.
23037 (ONOEOT): Document availability separately from other bits.
23038 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23039 * manual/time.texi: Likewise.
23040 * manual/users.texi: Likewise.
23041 * INSTALL: Regenerated.
23042 * sysdeps/gnu/errlist.c: Regenerated.
23043
07037eeb
JM
23044 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23045 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23046 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23047 puts.
23048 * configure: Regenerated.
23049
d1d3431a
JM
230502012-03-07 Joseph Myers <joseph@codesourcery.com>
23051
af6a1e37
JM
23052 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23053 default includes instead of AC_HEADER_CHECK.
23054 * sysdeps/i386/configure: Regenerated.
23055
d1d3431a
JM
23056 [BZ #10716]
23057 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23058 * math/s_cacoshf.c (__cacoshf): Likewise.
23059 * math/s_cacoshl.c (__cacoshl): Likewise.
23060 * math/s_casinh.c (__casinh): Set signs of result from argument.
23061 * math/s_casinhf.c (__casinhf): Likewise.
23062 * math/s_casinhl.c (__casinhl): Likewise.
23063 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23064 (casinh_test): Add more tests.
23065 * sysdeps/i386/fpu/libm-test-ulps: Update.
23066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23067
482ff4da
UD
230682012-03-07 Ulrich Drepper <drepper@gmail.com>
23069
872fda05
UD
23070 * po/zh_TW.po: Update from translation team.
23071
a4300c7a
UD
23072 * login/Makefile (distribute): Remove variable.
23073 * catgets/Makefile: Likewise.
23074 * mach/Makefile: Likewise.
23075 * malloc/Makefile: Likewise.
23076 * misc/Makefile: Likewise.
23077 * iconv/Makefile: Likewise.
23078 * nscd/Makefile: Likewise.
23079 * hurd/Makefile: Likewise.
23080 * manual/Makefile: Likewise.
23081 * locale/Makefile: Likewise.
23082 * intl/Makefile: Likewise.
23083 * conform/Makefile: Likewise.
23084 * nss/Makefile: Likewise.
23085 * time/Makefile: Likewise.
23086 * soft-fp/Makefile: Likewise.
23087 * dirent/Makefile: Likewise.
23088 * gmon/Makefile: Likewise.
23089 * po/Makefile: Likewise.
23090 * rt/Makefile: Likewise.
23091 * socket/Makefile: Likewise.
23092 * math/Makefile: Likewise.
23093 * signal/Makefile: Likewise.
23094 * debug/Makefile: Likewise.
23095 * elf/Makefile: Likewise.
23096 * timezone/Makefile: Likewise.
23097 * stdlib/Makefile: Likewise.
23098 * iconvdata/Makefile: Likewise.
23099 * sunrpc/Makefile: Likewise.
23100 * io/Makefile: Likewise.
23101 * argp/Makefile: Likewise.
23102 * inet/Makefile: Likewise.
23103 * hesiod/Makefile: Likewise.
23104 * grp/Makefile: Likewise.
23105 * csu/Makefile: Likewise.
23106 * wctype/Makefile: Likewise.
23107 * crypt/Makefile: Likewise.
23108 * libio/Makefile: Likewise.
23109 * string/Makefile: Likewise.
23110 * nis/Makefile: Likewise.
23111 * resolv/Makefile: Likewise.
23112 * stdio-common/Makefile: Likewise.
23113 * wcsmbs/Makefile: Likewise.
23114 * dlfcn/Makefile: Likewise.
23115 * posix/Makefile: Likewise.
23116
3b7c4e74 23117 [BZ #6959]
482ff4da
UD
23118 * timezone/Makefile: Don't install timezone files, just the programs
23119 and scripts.
23120
f72ed77d
UD
231212012-03-06 Ulrich Drepper <drepper@gmail.com>
23122
a000466f
UD
23123 * nss/databases.def: Add missing gshadow entry.
23124
f72ed77d
UD
23125 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23126
a53b7a4e
MP
231272012-03-06 Marek Polacek <polacek@redhat.com>
23128
23129 [BZ #13726]
23130 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23131 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23132 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23133 * stdio-common/tst-long-dbl-fphex.c: New file.
23134
e9258400
DM
231352012-03-06 David S. Miller <davem@davemloft.net>
23136
23137 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23138 (set_obp_int): New function.
23139 (get_obp_int): New function.
23140 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23142 Avoid unused variable warnings on 'val' and use builtin_expect.
23143 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23144 __builtin_expect.
e9258400
DM
23145 (INLINE_CLONE_SYSCALL): Likewise.
23146
3bd2c723
DM
231472012-03-05 David S. Miller <davem@davemloft.net>
23148
23149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23150
bbb78d03
AS
231512012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23152
884c5db4
AS
23153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23154
bbb78d03
AS
23155 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23156 only for |x| >= 40.
23157 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23158
1c9f702a 231592012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23160
23161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23162 Replace gettimeofday with __vdso_gettimeofday.
23163
7be16f82
RM
23164 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23165 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23166 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23167
23168 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23169 time with __vdso_time.
23170
ed58a00f
JM
231712012-03-05 Joseph Myers <joseph@codesourcery.com>
23172
23173 * manual/lang.texi (size_t): Note types to which size_t may be
23174 equivalent with the GNU C Library, but do not describe when
23175 differences between them are significant.
23176
30ee4ced
AJ
231772012-03-05 Andreas Jaeger <aj@suse.de>
23178
23179 * sysdeps/i386/fpu/libm-test-ulps: Update.
23180
b7cd39e8
JM
231812012-03-05 Joseph Myers <joseph@codesourcery.com>
23182
23183 [BZ #3976]
23184 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23185 (__ieee754_pow): Save and restore rounding mode and use
23186 round-to-nearest for main computations.
23187 * math/libm-test.inc (pow_test_tonearest): New function.
23188 (pow_test_towardzero): Likewise.
23189 (pow_test_downward): Likewise.
23190 (pow_test_upward): Likewise.
23191 (main): Call the new functions.
23192 * sysdeps/i386/fpu/libm-test-ulps: Update.
23193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23194
23195 [BZ #3976]
23196 * math/libm-test.inc (cosh_test_tonearest): New function.
23197 (cosh_test_towardzero): Likewise.
23198 (cosh_test_downward): Likewise.
23199 (cosh_test_upward): Likewise.
23200 (sinh_test_tonearest): Likewise.
23201 (sinh_test_towardzero): Likewise.
23202 (sinh_test_downward): Likewise.
23203 (sinh_test_upward): Likewise.
23204 (main): Call the new functions.
23205 * sysdeps/i386/fpu/libm-test-ulps: Update.
23206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23207
6c6a98c9
TV
232082012-03-05 Tom de Vries <tom@codesourcery.com>
23209
23210 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23211 default stack guard is set in last bytes.
23212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23213
21bb2d2e 232142012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23215
21bb2d2e 23216 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23217
21bb2d2e
AJ
23218 [BZ #13656]
23219 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23220 possibly allocate from heap instead of stack.
23221 * stdio-common/bug-vfprintf-nargs.c: New file.
23222 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23223
c6922934
AS
232242012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23225
23226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23227
bc957d53
MP
232282012-03-03 Marek Polacek <polacek@redhat.com>
23229
23230 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23231 * math/math_private.h: Likewise.
23232 * stdlib/tst-strtod.c: Likewise.
23233 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23234 * sysdeps/x86_64/bits/atomic.h: Likewise.
23235
6358490d
DM
232362012-03-02 David S. Miller <davem@davemloft.net>
23237
23238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23242 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23243 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23244 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23245 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23246
01ae168d
RM
232472012-03-02 Roland McGrath <roland@hack.frob.com>
23248
d9a17c07
RM
23249 [BZ #13792]
23250 * manual/examples/README: New file, says the example source files
23251 can be used under GPL>=2.
23252 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23253 line containing just "*/".
23254 * manual/examples/add.c: Add copyright header (GPL>=2).
23255 * manual/examples/argp-ex1.c: Likewise.
23256 * manual/examples/argp-ex2.c: Likewise.
23257 * manual/examples/argp-ex3.c: Likewise.
23258 * manual/examples/argp-ex4.c: Likewise.
23259 * manual/examples/atexit.c: Likewise.
23260 * manual/examples/db.c: Likewise.
23261 * manual/examples/dir.c: Likewise.
23262 * manual/examples/dir2.c: Likewise.
23263 * manual/examples/execinfo.c: Likewise.
23264 * manual/examples/filecli.c: Likewise.
23265 * manual/examples/filesrv.c: Likewise.
23266 * manual/examples/fmtmsgexpl.c: Likewise.
23267 * manual/examples/genpass.c: Likewise.
23268 * manual/examples/inetcli.c: Likewise.
23269 * manual/examples/inetsrv.c: Likewise.
23270 * manual/examples/isockad.c: Likewise.
23271 * manual/examples/longopt.c: Likewise.
23272 * manual/examples/memopen.c: Likewise.
23273 * manual/examples/memstrm.c: Likewise.
23274 * manual/examples/mkfsock.c: Likewise.
23275 * manual/examples/mkisock.c: Likewise.
23276 * manual/examples/mygetpass.c: Likewise.
23277 * manual/examples/pipe.c: Likewise.
23278 * manual/examples/popen.c: Likewise.
23279 * manual/examples/rprintf.c: Likewise.
23280 * manual/examples/search.c: Likewise.
23281 * manual/examples/select.c: Likewise.
23282 * manual/examples/setjmp.c: Likewise.
23283 * manual/examples/sigh1.c: Likewise.
23284 * manual/examples/sigusr.c: Likewise.
23285 * manual/examples/stpcpy.c: Likewise.
23286 * manual/examples/strdupa.c: Likewise.
23287 * manual/examples/strftim.c: Likewise.
23288 * manual/examples/strncat.c: Likewise.
23289 * manual/examples/subopt.c: Likewise.
23290 * manual/examples/swapcontext.c: Likewise.
23291 * manual/examples/termios.c: Likewise.
23292 * manual/examples/testopt.c: Likewise.
23293 * manual/examples/testpass.c: Likewise.
23294 * manual/examples/timeval_subtract.c: Likewise.
23295
01ae168d
RM
23296 [BZ #13792]
23297 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23298 function to ...
23299 * manual/timeval_subtract.c.texi: ... here, new file.
23300
49efa33d
DM
233012012-03-02 David S. Miller <davem@davemloft.net>
23302
23303 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23304
28afd92d
JM
233052012-03-02 Joseph Myers <joseph@codesourcery.com>
23306
804360ed
JM
23307 [BZ #3976]
23308 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23309 (__sin): Save and restore rounding mode and use round-to-nearest
23310 for all computations.
23311 (__cos): Save and restore rounding mode and use round-to-nearest
23312 for all computations.
23313 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23314 <fenv.h>.
23315 (tan): Save and restore rounding mode and use round-to-nearest for
23316 all computations.
23317 * math/libm-test.inc (cos_test_tonearest): New function.
23318 (cos_test_towardzero): Likewise.
23319 (cos_test_downward): Likewise.
23320 (cos_test_upward): Likewise.
23321 (sin_test_tonearest): Likewise.
23322 (sin_test_towardzero): Likewise.
23323 (sin_test_downward): Likewise.
23324 (sin_test_upward): Likewise.
23325 (tan_test_tonearest): Likewise.
23326 (tan_test_towardzero): Likewise.
23327 (tan_test_downward): Likewise.
23328 (tan_test_upward): Likewise.
23329 (main): Call the new functions.
23330 * sysdeps/i386/fpu/libm-test-ulps: Update.
23331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23332
a6d06d7b
JM
23333 [BZ #10135]
23334 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23335 small n, then large n, before computing and testing k+n.
23336 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23338 Likewise.
23339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23340 Likewise.
23341 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23342 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23346 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23347 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23348 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23349 * math/libm-test.inc (scalbn_test): Add more tests.
23350 (scalbln_test): Likewise.
23351
07e12bb3
JM
23352 * manual/filesys.texi (mode_t): Describe constraints on size and
23353 signedness, not exact equivalence to a particular type.
23354 (ino_t): Likewise.
23355 (ino64_t): Likewise.
23356 (dev_t): Likewise.
23357 (nlink_t): Likewise.
23358 (blkcnt_t): Likewise.
23359 (blkcnt64_t): Likewise.
23360 * manual/llio.texi (off_t): Likewise.
23361
28afd92d
JM
23362 [BZ #3976]
23363 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23364 (__ieee754_exp): Save and restore rounding mode and use
23365 round-to-nearest for all computations.
23366 * math/libm-test.inc (exp_test_tonearest): New function.
23367 (exp_test_towardzero): Likewise.
23368 (exp_test_downward): Likewise.
23369 (exp_test_upward): Likewise.
23370 (main): Call the new functions.
23371 * sysdeps/i386/fpu/libm-test-ulps: Update.
23372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23373
b1eeb65d
CD
233742012-03-01 Chris Demetriou <cgd@google.com>
23375
23376 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23377 have predictable order.
23378
53362a4b
DM
233792012-03-01 David S. Miller <davem@davemloft.net>
23380
3c969083
DM
23381 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23382
759707de
DM
23383 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23384 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23385 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23386 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23387
dfdb8ff2
DM
23388 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23389 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23390 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23392 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23393 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23394 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23395 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23396 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23397
ead89f96
DM
23398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23399
7f66bd07
DM
23400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23401 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23402 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23403
53362a4b
DM
23404 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23405 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23406 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23407 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23408 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23409 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23411 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23412 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23413 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23414 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23415 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23417 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23418 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23420 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23421 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23422 * sysdeps/sparc/elf/configure: Regenerated.
23423
7b1902cb
JM
234242012-03-01 Joseph Myers <joseph@codesourcery.com>
23425
bec039bc
JM
23426 * configure.in (AS, LD): Require binutils 2.20 or later.
23427 * configure: Regenerated.
23428 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23429 as required minimum version.
23430 * INSTALL: Regenerated.
23431
7b1902cb
JM
23432 [BZ #2541]
23433 [BZ #4108]
23434 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23435 before squaring exponent.
23436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23437 bottom long double and 27 bits of top long double before squaring
23438 exponent.
23439 * math/libm-test.inc (erfc_test): Add more tests.
23440 * sysdeps/i386/fpu/libm-test-ulps: Update.
23441 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23443
f775c276
KT
234442012-03-01 Kai Tietz <ktietz@redhat.com>
23445
23446 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23447 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23448 containing bit-fields.
23449 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23450 * soft-fp/single.h (_FP_UNION_S): Likewise.
23451 * soft-fp/double.h (_FP_UNION_D): Likewise.
23452
5b8a4d4a
JM
234532012-02-29 Joseph Myers <joseph@codesourcery.com>
23454
0bab47b6
JM
23455 [BZ #13786]
23456 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23457 not include ../strcmp.S.
23458 [USE_AS_STRNCASECMP_L]: Likewise.
23459 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23460 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23461 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23462 (__strncasecmp_l_ia32): Define as alias to
23463 __strncasecmp_l_nonascii.
23464
0fcad3e2
JM
23465 [BZ #5794]
23466 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23467 * sysdeps/i386/fpu/libm-test-ulps: Update.
23468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23469
5b8a4d4a
JM
23470 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23472
8fdceb2e
JL
234732012-02-29 Jeff Law <law@redhat.com>
23474
23475 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23476 out of bounds read.
23477
1f393a11
MP
234782012-02-29 Marek Polacek <polacek@redhat.com>
23479
23480 [BZ #13706]
23481 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23482 * elf/Makefile: Add rules to run tst-unused-dep.out.
23483
8847f037
DM
234842012-02-28 David S. Miller <davem@davemloft.net>
23485
23486 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23487 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23488 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23490 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23491 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23492
169d7f11
JM
234932012-02-29 Joseph Myers <joseph@codesourcery.com>
23494
23495 * math/libm-test.inc (llround_test): Move one test from
23496 lround_test. Use TEST_f_L in moved test.
23497 (lround_test): Move misplaced test to llround_test. Add testcase
23498 from bug 2561.
23499
39adf059
UD
235002012-02-28 Ulrich Drepper <drepper@gmail.com>
23501
23502 * sysdeps/x86_64/fpu/e_expf.S: New file.
23503 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23504
71b5d1c5
SB
235052012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23506
23507 [BZ #13637]
23508 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23509 of remain_len that may cause incomplete multi-byte character and
23510 false match.
23511 * posix/bug-regex33.c: New file.
23512 * posix/Makefile (tests): Add bug-regex33.
23513
1f77f049
JM
235142012-02-28 Joseph Myers <joseph@codesourcery.com>
23515
23516 * manual/macros.texi: New file.
23517 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23518 * manual/libc.texinfo: Include macros.texi.
23519 * manual/creatute.texi: Likewise.
23520 * manual/install.texi: Likewise.
23521 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23522 @glibcadj{} in references to the GNU C Library.
23523 * manual/charset.texi: Likewise.
23524 * manual/conf.texi: Likewise.
23525 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23526 when not using those macros.
23527 * manual/creature.texi: Likewise.
23528 * manual/crypt.texi: Likewise.
23529 * manual/errno.texi: Likewise.
23530 * manual/filesys.texi: Likewise.
23531 * manual/header.texi: Likewise.
23532 * manual/install.texi: Likewise.
23533 * manual/intro.texi: Likewise.
23534 * manual/io.texi: Likewise.
23535 * manual/job.texi: Likewise.
23536 * manual/lang.texi: Likewise.
23537 * manual/libc.texiinfo: Likewise.
23538 * manual/llio.texi: Likewise.
23539 * manual/locale.texi: Likewise.
23540 * manual/maint.texi: Likewise.
23541 * manual/math.texi: Likewise.
23542 * manual/memory.texi: Likewise.
23543 * manual/message.texi: Likewise.
23544 * manual/nss.texi: Likewise.
23545 * manual/pattern.texi: Likewise.
23546 * manual/process.texi: Likewise.
23547 * manual/resource.texi: Likewise.
23548 * manual/search.texi: Likewise.
23549 * manual/setjmp.texi: Likewise.
23550 * manual/signal.texi: Likewise.
23551 * manual/socket.texi: Likewise.
23552 * manual/startup.texi: Likewise.
23553 * manual/stdio.texi: Likewise.
23554 * manual/string.texi: Likewise.
23555 * manual/sysinfo.texi: Likewise.
23556 * manual/syslog.texi: Likewise.
23557 * manual/terminal.texi: Likewise.
23558 * manual/time.texi: Likewise.
23559 * manual/users.texi: Likewise.
23560 * INSTALL: Regenerated.
23561 * NOTES: Regenerated.
d40c5d54 23562 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23563
450bf206
AS
235642012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23565
23566 * include/dirent.h: Include <dirstream.h> before
23567 <dirent/dirent.h>.
23568
741a235b
DM
235692012-02-28 David S. Miller <davem@davemloft.net>
23570
23571 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23572 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23573 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23574 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23575
d6b5aa58
DM
235762012-02-27 David S. Miller <davem@davemloft.net>
23577
1aff59a3
DM
23578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23580 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23581 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23582
d6b5aa58
DM
23583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23584 frame pointer instead of stack pointer relative arg slot.
23585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23586 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23587 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23588
433f48bf
CD
235892012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23590
23591 [BZ #3992]
23592 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23593
d674b76d
DM
235942012-02-27 David S. Miller <davem@davemloft.net>
23595
23596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23600 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23601 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23602 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23603 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23604
0e7727f7
JM
236052012-02-27 Joseph Myers <joseph@codesourcery.com>
23606
23607 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23608 later. Allow versions 5-9.
43be4ca2 23609 * configure: Regenerated.
0e7727f7
JM
23610 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23611 required minimum version and 4.6 as recommended version. Do not
23612 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23613 * INSTALL: Regenerated.
0e7727f7 23614
a78bc654
DM
236152012-02-27 David S. Miller <davem@davemloft.net>
23616
428d5830
DM
23617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23623 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23624 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23625
a78bc654
DM
23626 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23627 manipulate bits before adding and subtracting TWO112[sx].
23628 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23629
4579f81c
RM
236302012-02-27 Roland McGrath <roland@hack.frob.com>
23631
36c8acb4
RM
23632 [BZ #13775]
23633 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23634 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23635 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23636 being in POSIX, because they are in 1003.1-2008.
23637
84ad622b
RM
23638 * rt/tst-aio.c: Include <fcntl.h>.
23639 * rt/tst-aio7.c: Likewise.
23640 * rt/tst-aio64.c: Likewise.
23641
4579f81c
RM
23642 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23643
abd923db
JM
236442012-02-27 Joseph Myers <joseph@codesourcery.com>
23645
23646 * manual/install.texi (--with-headers): Describe headers as
23647 interface headers, not private headers.
23648 (Specific advice for GNU/Linux systems): Describe use of headers
23649 from "make headers_install", not private headers from older
23650 kernels.
43be4ca2 23651 * INSTALL: Regenerated.
abd923db
JM
23652 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23653 Change to 2.6.19.
23654 * sysdeps/unix/sysv/linux/configure: Regenerated.
23655
6664049b
JM
23656 * manual/llio.texi (fclean): Remove documentation.
23657
bb8b6697
JM
23658 * manual/Makefile (libc-texi-generated): New variable. Include
23659 version.texi.
23660 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23661 $(libc-texi-generated), not duplicated list of files.
23662 (version.texi, stamp-version): New rules.
23663 (realclean): Remove $(libc-texi-generated), not individual files
23664 from that list. Do not remove dir-add.texinfo.
23665 * manual/libc.texinfo: Comment out uses of edition numbers and
23666 references to printed manual. Remove last-updated dates.
23667 (EDITION): Comment out.
23668 (ISBN): Likewise.
23669 (VERSION, UPDATED): Remove.
23670 (version.texi): Include.
23671
12e5c3b9
AS
236722012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23673
23674 * sysdeps/posix/spawni.c: Include <signal.h>.
23675 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23676 * sysdeps/pthread/aio_fsync.c: Likewise.
23677
4efeffc1 236782012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23679
ba63ba08
UD
23680 * conform/Makefile (tests): Run only when not cross-compiling and
23681 when fast-check is not defined.
23682
d94a4670
UD
23683 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23684 * conform/data/limits.h-data: Fixes for POSIX2008.
23685 * conform/run-conformtest.sh: Run all tests.
23686 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23687 headers.
23688 * include/bits/dlfcn.h: Likewise.
23689 * include/langinfo.h: Likewise.
23690 * include/monetary.h: Likewise.
23691 * include/sys/poll.h: Likewise.
23692
23693 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23694 for __USE_GNU.
23695 * posix/spawn.h: Define __need_sigset_t.
23696 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23697 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23698 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23699 to get sigevent_t only.
23700 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23701 only for __USE_GNU.
23702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23703 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23704 process_vm_writev only for __USE_GNU.
23705 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23706
23707 * conform/Makefile: For now ignore errors from run-conformtest.
23708 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23709 POSIX to avoid namespace pollution. Don't prepend headers.
23710 * conform/data/aio.h-data: Fixes for POSIX testing.
23711 * conform/data/fcntl.h-data: Likewise.
23712 * conform/data/glob.h-data: Likewise.
23713 * conform/data/grp.h-data: Likewise.
23714 * conform/data/pthread.h-data: Likewise.
23715 * conform/data/pwd.h-data: Likewise.
23716 * conform/data/signal.h-data: Likewise.
23717 * conform/data/spawn.h-data: Likewise.
23718 * conform/data/stdio.h-data: Likewise.
23719 * conform/data/stdlib.h-data: Likewise.
23720 * conform/data/stropts.h-data: Likewise.
23721 * conform/data/sys/mman.h-data: Likewise.
23722 * conform/data/sys/stat.h-data: Likewise.
23723 * conform/data/sys/types.h-data: Likewise.
23724 * conform/data/sys/wait.h-data: Likewise.
23725 * conform/data/time.h-data: Likewise.
23726 * conform/data/unistd.h-data: Likewise.
23727 * conform/data/utime.h-data: Likewise.
23728
23729 * io/sys/stat.h: fchmod was always in POSIX.
23730 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23731 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23732 * rt/aio.h: Define __need_timespec before including <time.h>.
23733 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23734 struct. Add forward declaration of pthread_attr_t and use it in
23735 sigevent.
23736 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23738 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23739 always remove CLK_TCK definition.
23740
c20105c3
AS
237412012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23742
23743 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23744
7a270350
UD
237452012-02-25 Ulrich Drepper <drepper@gmail.com>
23746
31341567
UD
23747 * conform/run-conformtest.sh: New file.
23748 * conform/Makefile: Run run-conformtest for tests.
23749 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23750 support.
23751
23752 * conform/data/uchar.h-data: New file.
23753 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23754 * conform/data/arpa/inet.h-data: Likewise.
23755 * conform/data/assert.h-data: Likewise.
23756 * conform/data/complex.h-data: Likewise.
23757 * conform/data/cpio.h-data: Likewise.
23758 * conform/data/ctype.h-data: Likewise.
23759 * conform/data/dirent.h-data: Likewise.
23760 * conform/data/dlfcn.h-data: Likewise.
23761 * conform/data/errno.h-data: Likewise.
23762 * conform/data/fcntl.h-data: Likewise.
23763 * conform/data/float.h-data: Likewise.
23764 * conform/data/fmtmsg.h-data: Likewise.
23765 * conform/data/fnmatch.h-data: Likewise.
23766 * conform/data/ftw.h-data: Likewise.
23767 * conform/data/glob.h-data: Likewise.
23768 * conform/data/grp.h-data: Likewise.
23769 * conform/data/iconv.h-data: Likewise.
23770 * conform/data/inttypes.h-data: Likewise.
23771 * conform/data/langinfo.h-data: Likewise.
23772 * conform/data/libgen.h-data: Likewise.
23773 * conform/data/limits.h-data: Likewise.
23774 * conform/data/locale.h-data: Likewise.
23775 * conform/data/math.h-data: Likewise.
23776 * conform/data/monetary.h-data: Likewise.
23777 * conform/data/mqueue.h-data: Likewise.
23778 * conform/data/ndbm.h-data: Likewise.
23779 * conform/data/net/if.h-data: Likewise.
23780 * conform/data/netdb.h-data: Likewise.
23781 * conform/data/netinet/in.h-data: Likewise.
23782 * conform/data/nl_types.h-data: Likewise.
23783 * conform/data/poll.h-data: Likewise.
23784 * conform/data/pthread.h-data: Likewise.
23785 * conform/data/pwd.h-data: Likewise.
23786 * conform/data/regex.h-data: Likewise.
23787 * conform/data/sched.h-data: Likewise.
23788 * conform/data/search.h-data: Likewise.
23789 * conform/data/semaphore.h-data: Likewise.
23790 * conform/data/setjmp.h-data: Likewise.
23791 * conform/data/signal.h-data: Likewise.
23792 * conform/data/spawn.h-data: Likewise.
23793 * conform/data/stdarg.h-data: Likewise.
23794 * conform/data/stdio.h-data: Likewise.
23795 * conform/data/stdlib.h-data: Likewise.
23796 * conform/data/string.h-data: Likewise.
23797 * conform/data/strings.h-data: Likewise.
23798 * conform/data/stropts.h-data: Likewise.
23799 * conform/data/sys/ipc.h-data: Likewise.
23800 * conform/data/sys/mman.h-data: Likewise.
23801 * conform/data/sys/msg.h-data: Likewise.
23802 * conform/data/sys/resource.h-data: Likewise.
23803 * conform/data/sys/select.h-data: Likewise.
23804 * conform/data/sys/sem.h-data: Likewise.
23805 * conform/data/sys/shm.h-data: Likewise.
23806 * conform/data/sys/socket.h-data: Likewise.
23807 * conform/data/sys/stat.h-data: Likewise.
23808 * conform/data/sys/statvfs.h-data: Likewise.
23809 * conform/data/sys/time.h-data: Likewise.
23810 * conform/data/sys/timeb.h-data: Likewise.
23811 * conform/data/sys/times.h-data: Likewise.
23812 * conform/data/sys/types.h-data: Likewise.
23813 * conform/data/sys/uio.h-data: Likewise.
23814 * conform/data/sys/un.h-data: Likewise.
23815 * conform/data/sys/utsname.h-data: Likewise.
23816 * conform/data/sys/wait.h-data: Likewise.
23817 * conform/data/syslog.h-data: Likewise.
23818 * conform/data/tar.h-data: Likewise.
23819 * conform/data/termios.h-data: Likewise.
23820 * conform/data/utime.h-data: Likewise.
23821 * conform/data/utmpx.h-data: Likewise.
23822 * conform/data/varargs.h-data: Likewise.
23823 * conform/data/wchar.h-data: Likewise.
23824 * conform/data/wctype.h-data: Likewise.
23825 * conform/data/wordexp.h-data: Likewise.
23826
23827 * include/stropts.h: New file.
23828 * include/uchar.h: New file.
23829 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23830 * include/assert.h: Likewise.
23831 * include/ctype.h: Likewise.
23832 * include/dirent.h: Likewise.
23833 * include/dlfcn.h: Likewise.
23834 * include/fcntl.h: Likewise.
23835 * include/fnmatch.h: Likewise.
23836 * include/glob.h: Likewise.
23837 * include/grp.h: Likewise.
23838 * include/libio.h: Likewise.
23839 * include/locale.h: Likewise.
23840 * include/math.h: Likewise.
23841 * include/net/if.h: Likewise.
23842 * include/netdb.h: Likewise.
23843 * include/netinet/in.h: Likewise.
23844 * include/pthread.h: Likewise.
23845 * include/pwd.h: Likewise.
23846 * include/regex.h: Likewise.
23847 * include/sched.h: Likewise.
23848 * include/search.h: Likewise.
23849 * include/setjmp.h: Likewise.
23850 * include/signal.h: Likewise.
23851 * include/stdio.h: Likewise.
23852 * include/stdlib.h: Likewise.
23853 * include/string.h: Likewise.
23854 * include/sys/cdefs.h: Likewise.
23855 * include/sys/mman.h: Likewise.
23856 * include/sys/msg.h: Likewise.
23857 * include/sys/resource.h: Likewise.
23858 * include/sys/select.h: Likewise.
23859 * include/sys/socket.h: Likewise.
23860 * include/sys/stat.h: Likewise.
23861 * include/sys/statvfs.h: Likewise.
23862 * include/sys/time.h: Likewise.
23863 * include/sys/times.h: Likewise.
23864 * include/sys/uio.h: Likewise.
23865 * include/sys/utsname.h: Likewise.
23866 * include/sys/wait.h: Likewise.
23867 * include/termios.h: Likewise.
23868 * include/time.h: Likewise.
23869 * include/ulimit.h: Likewise.
23870 * include/unistd.h: Likewise.
23871 * include/utime.h: Likewise.
23872 * include/wchar.h: Likewise.
23873 * include/wctype.h: Likewise.
23874 * include/wordexp.h: Likewise.
23875
23876 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23877
7a270350
UD
23878 * time/time.h: TIME_UTC must be a macro.
23879 Make timespec_get available for ISO C11 only as well.
23880
7724defc
UD
238812012-02-24 Ulrich Drepper <drepper@gmail.com>
23882
23883 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23884 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23885
6b1d1d46
JM
238862012-02-24 Joseph Myers <joseph@codesourcery.com>
23887
23888 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23889
0f8bbd69
JM
238902012-02-24 Joseph Myers <joseph@codesourcery.com>
23891
23892 * manual/texinfo.tex: Update to version 2012-01-19.16.
23893
66ab80bc
JM
238942012-02-24 Joseph Myers <joseph@codesourcery.com>
23895
23896 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23897
74981cc5
RM
238982012-02-24 Roland McGrath <roland@hack.frob.com>
23899
ee968201
RM
23900 [BZ #13738]
23901 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23902 * manual/fdl-1.3.texi: New file.
23903 * manual/fdl-1.1.texi: File removed.
23904
74981cc5
RM
23905 [BZ #13738]
23906 * manual/libc.texinfo (FDL_VERSION): New @set.
23907 Use it for mention of FDL in cover text.
23908 (Documentation License): Use it in @include file name.
23909
7bb764bc
JM
239102012-02-22 Joseph Myers <joseph@codesourcery.com>
23911 Roland McGrath <roland@hack.frob.com>
23912
23913 [BZ #5461]
23914 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23915 not LONG_LONG_MAX and LONG_LONG_MIN.
23916 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23917 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23918 name.
23919 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23920
6cbeae47
JM
239212012-02-22 Joseph Myers <joseph@codesourcery.com>
23922
23923 [BZ #2547]
23924 [BZ #11365]
23925 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23926 manipulate bits before adding and subtracting TWO23[sx].
23927 * math/libm-test.inc (nearbyint_test): Add more tests.
23928
fe45ce09
JM
239292012-02-22 Joseph Myers <joseph@codesourcery.com>
23930
23931 [BZ #2548]
23932 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23933 bits before adding and subtracting TWO23[sx].
23934 * math/libm-test.inc (rint_test): Add more tests.
23935 (rint_test_tonearest): Likewise.
23936 (rint_test_towardzero): Likewise.
23937 (rint_test_downward): Likewise.
23938 (rint_test_upward: Likewise.
23939
ff3b3d82
JM
239402012-02-22 Joseph Myers <joseph@codesourcery.com>
23941
23942 [BZ #10110]
23943 * include/stdc-predef.h: New file. Extracted from features.h.
23944 * include/features.h: Include stdc-predef.h.
23945 * Makefile (headers): Add stdc-predef.h.
23946 * CONFORMANCE (Compiler limitations): Update.
23947
ef0aab35
JM
239482012-02-22 Joseph Myers <joseph@codesourcery.com>
23949
23950 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23951
58639409
DM
239522012-02-21 David S. Miller <davem@davemloft.net>
23953
23954 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23955 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23956
c0e70b25
DM
239572012-02-20 David S. Miller <davem@davemloft.net>
23958
23959 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23960 using a normal save/restore sequence, rather than allocating a
23961 dummy stack frame just to store a frame pointer and restore.
23962 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23963
fb06851d
JM
239642012-02-21 Joseph Myers <joseph@codesourcery.com>
23965
23966 * manual/install.texi: Fix stray word in line-wrapped comment.
23967
7a8b71c3
DM
239682012-02-20 David S. Miller <davem@davemloft.net>
23969
d510c123
DM
23970 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23971 both binutils and gcc support GOTDATA.
23972
0722d7c2
DM
23973 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23974 "rd %pc" in the PIC register setup sequences.
23975
3d2b3019
DM
23976 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23977 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23978 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23979 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23980 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23982 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23985 (SYSCALL_ERROR_HANDLER): Likewise.
23986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23989 (SYSCALL_ERROR_HANDLER): Likewise.
23990
c80098a9
DM
23991 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23992 (HAVE_GCC_GOTDATA): New.
23993 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23994 relocation support in both binutils and gcc.
23995 * sysdeps/sparc/elf/configure: Regenerate.
23996
3a2545a0
DM
23997 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23998 * sysdeps/sparc/sparc32/elf/configure: Delete.
23999 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24000 * sysdeps/sparc/sparc64/elf/configure: Delete.
24001 * sysdeps/sparc/elf/configure.in: New file.
24002 * sysdeps/sparc/elf/configure: Generate.
24003
7a8b71c3
DM
24004 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24005 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24006 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24007 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24008 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24009
f1e86fca
JM
240102012-02-21 Joseph Myers <joseph@codesourcery.com>
24011
24012 * manual/install.texi: Do not mention specific glibc version
24013 numbers.
24014 * manual/libc.texinfo (VERSION, UPDATED): Update.
24015 (@copying): Use @copyright{} and range of years.
24016
0e7dfaef
JM
240172012-02-21 Joseph Myers <joseph@codesourcery.com>
24018
24019 [BZ #13695]
24020 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24021 [crti.S not in sysdirs] (generated): Do not append.
24022 [crti.S not in sysdirs] (omit-deps): Likewise.
24023 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24024 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24025 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24026 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24027 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24028 Likewise.
24029 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24030 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24031 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24032 * csu/defs.awk: Remove file.
24033 * sysdeps/generic/initfini.c: Likewise.
24034 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24035 variable.
24036 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24037 Likewise.
24038
599af3ca
JM
240392012-02-20 Joseph Myers <joseph@codesourcery.com>
24040
24041 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24042 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24043 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24044 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24045 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24046 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24047 <bits/epoll.h>.
24048 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24049 (__EPOLL_PACKED): Define to empty if not defined by
24050 <bits/epoll.h>.
24051 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24053 bits/epoll.h.
24054
0e499750
JM
240552012-02-20 Joseph Myers <joseph@codesourcery.com>
24056
24057 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24058 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24059 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24060 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24061 <bits/timerfd.h>.
24062 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24064 bits/timerfd.h.
24065
5ad91f6e
JM
240662012-02-20 Joseph Myers <joseph@codesourcery.com>
24067
24068 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24069 in C locale.
24070 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24071 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24074
06b99b02
AJ
240752012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24076
24077 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24078 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24079
7638c0fd
AS
240802012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24081
24082 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24083 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24084 defined.
24085 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24086 Likewise.
24087 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24088 entry for 2.16.
24089
92221550
AJ
240902012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24091
24092 * math/w_acos.c: Use non-signaling floating-point comparisons.
24093 * math/w_acosf.c: Likewise.
24094 * math/w_acosh.c: Likewise.
24095 * math/w_acoshf.c: Likewise.
24096 * math/w_acoshl.c: Likewise.
24097 * math/w_acosl.c: Likewise.
24098 * math/w_asin.c: Likewise.
24099 * math/w_asinf.c: Likewise.
24100 * math/w_asinl.c: Likewise.
24101 * math/w_atanh.c: Likewise.
24102 * math/w_atanhf.c: Likewise.
24103 * math/w_atanhl.c: Likewise.
24104 * math/w_exp2.c: Likewise.
24105 * math/w_exp2f.c: Likewise.
24106 * math/w_exp2l.c: Likewise.
24107 * math/w_j0.c: Likewise.
24108 * math/w_j0f.c: Likewise.
24109 * math/w_j0l.c: Likewise.
24110 * math/w_j1.c: Likewise.
24111 * math/w_j1f.c: Likewise.
24112 * math/w_j1l.c: Likewise.
24113 * math/w_jn.c: Likewise.
24114 * math/w_jnf.c: Likewise.
24115 * math/w_log.c: Likewise.
24116 * math/w_log10.c: Likewise.
24117 * math/w_log10f.c: Likewise.
24118 * math/w_log10l.c: Likewise.
24119 * math/w_log2.c: Likewise.
24120 * math/w_log2f.c: Likewise.
24121 * math/w_log2l.c: Likewise.
24122 * math/w_logf.c: Likewise.
24123 * math/w_logl.c: Likewise.
24124 * math/w_sqrt.c: Likewise.
24125 * math/w_sqrtf.c: Likewise.
24126 * math/w_sqrtl.c: Likewise.
24127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24128 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24130 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24131 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24132
ebaf36eb
JM
241332012-02-19 Joseph Myers <joseph@codesourcery.com>
24134
24135 [BZ #9739]
24136 * manual/string.texi (strnlen): Use correct parameter name in
24137 equivalent expression.
24138
71c254a6
JM
241392012-02-19 Joseph Myers <joseph@codesourcery.com>
24140
24141 [BZ #11174]
24142 * manual/users.texi (seteuid): Consistently use neweuid for
24143 argument name.
24144
16d2c631
JM
241452012-02-19 Joseph Myers <joseph@codesourcery.com>
24146
24147 [BZ #13704]
24148 * manual/nss.texi (Services in the NSS configuration): Correct
24149 list of services in example configuration file.
24150
cd837b09
NB
241512012-02-19 Nick Bowler <nbowler@draconx.ca>
24152
24153 [BZ #11322]
24154 * manual/arith.texi: Remove statements about negative zero
24155 behaving identically to zero.
24156
02c4bbad
JM
241572012-02-18 Joseph Myers <joseph@codesourcery.com>
24158
24159 [BZ #5993]
24160 * manual/install.texi: Do not document upgrading from libc5.
24161
366842e7
JM
241622012-02-18 Joseph Myers <joseph@codesourcery.com>
24163
24164 [BZ #4596]
24165 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24166
dd54084d
DM
241672012-02-18 David S. Miller <davem@davemloft.net>
24168
24169 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24170 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24171 %o7 across the call.
24172 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24173 instead.
24174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24175 SETUP_PIC_REG_LEAF.
24176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24177 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24178 * sysdeps/sparc/crtn.S: Likewise.
24179
2bcc53a3
UD
241802012-02-17 Ulrich Drepper <drepper@gmail.com>
24181
24182 * aout/Makefile: Remove.
24183
09c093b5
RK
241842012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24185
24186 [BZ #13058]
24187 * manual/examples/argp-ex1.c (main): Format definition in GNU
24188 style.
24189 * manual/examples/argp-ex2.c (main): Likewise.
24190 * manual/examples/argp-ex3.c (main): Likewise.
24191 * manual/examples/argp-ex4.c (main): Likewise.
24192 * manual/examples/longopt.c (main): Use new-style prototype
24193 definition.
24194 * manual/examples/strncat.c (main): Specify return type and use
24195 (void) for arguments.
24196 * manual/examples/subopt.c (main): Use char **argv argument.
24197
2ee633a2
JM
241982012-02-17 Joseph Myers <joseph@codesourcery.com>
24199
24200 [BZ #5077]
24201 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24202 rounding modes.
24203
0520adde
FB
242042012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24205
24206 [BZ #6907]
24207 * manual/string.texi (strchr): Change when strchrnul is
24208 recommended.
24209
3f4081cd
DGM
242102012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24211
24212 [BZ #174]
24213 * manual/locale.texi (setlocale): Document LOCPATH.
24214
d1b10e78
JM
242152012-02-17 Joseph Myers <joseph@codesourcery.com>
24216
24217 [BZ #10210]
24218 * manual/process.texi (execle): Move @dots{} before last argument.
24219
79c6869c
PB
242202012-02-17 Paul Bolle <pebolle@tiscali.nl>
24221
24222 [BZ #12047]
24223 * manual/charset.texi (Generic Charset Conversion): Fix typo
24224 (LC_TYPE -> LC_CTYPE).
24225
cc6e48bc
NB
242262012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24227
24228 [BZ #5805]
24229 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24230 (scalbnf): Likewise.
24231 (scalbnl): Likewise.
24232 (scalbln): Likewise.
24233 (scalblnf): Likewise.
24234 (scalblnl): Likewise.
24235 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24236 (vwarnx): Likewise.
24237 (verr): Likewise.
24238 (verrx): Likewise.
24239 * manual/filesys.texi (telldir): Use braces around return type.
24240 * manual/llio.texi (mmap): Add space after comma.
24241 (mmap64): Likewise.
24242 * manual/math.texi (jn): Use @var{} on parameter names.
24243 (jnf): Likewise.
24244 (jnl): Likewise.
24245 (yn): Likewise.
24246 (ynf): Likewise.
24247 (ynl): Likewise.
24248 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24249 line.
24250 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24251 "...".
24252 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24253 (sched_get_priority_max): Likewise.
24254 * manual/signal.texi (sigvec): Add space after comma.
24255 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24256 names.
24257 (if_indextoname): Likewise.
24258 (if_freenameindex): Likewise.
24259 (sendto): Use ',' instead of '.' in prototype.
24260 * manual/startup.texi (syscall): Use @dots{} instead of literal
24261 "...".
24262 * manual/stdio.texi (__fpending): Separate initial words of
24263 paragraph from @deftypefun line.
24264 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24265 "...".
24266 (vsyslog): Use @var{} on parameter names.
24267 * manual/terminal.texi (stty): Use @var{} on parameter names.
24268 * manual/users.texi (getutmp): Use @var{} on parameter names.
24269 (getutmpx): Likewise.
24270
5b23062f
JM
242712012-02-17 Joseph Myers <joseph@codesourcery.com>
24272
24273 [BZ #6884]
24274 * manual/stdio.texi (fopen): Fix typos in description of
24275 ",ccs=STRING".
24276
8dee4833
AJ
242772012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24278
24279 [BZ #4026]
24280 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24281 get clock_id definition.
24282
9078ce93
TS
242832012-02-17 Thomas Schwinge <thomas@schwinge.name>
24284
24285 [BZ #4822]
24286 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24287 (madvise): Cast every argument to void on its own.
24288
3835c55f
JM
242892012-02-17 Joseph Myers <joseph@codesourcery.com>
24290
24291 [BZ #9902]
24292 * manual/startup.texi (Exit Status): Fix typo.
24293
35c47e37
JM
242942012-02-17 Joseph Myers <joseph@codesourcery.com>
24295
24296 [BZ #10140]
24297 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24298 * manual/examples/argp-ex2.c: Likewise.
24299 * manual/examples/argp-ex3.c: Likewise.
24300
e3b69ca7
RH
243012012-02-16 Richard Henderson <rth@redhat.com>
24302
24303 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24304 * sysdeps/s390/s390-32/initfini.c: Remove.
24305 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24306 * sysdeps/s390/s390-64/initfini.c: Remove.
24307
df83af67
KK
243082012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24309
24310 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24311 compiler output for sysdeps/generic/initfini.c.
24312 * sysdeps/sh/elf/initfini.c: Remove file.
24313
f63f3380
DM
243142012-02-16 David S. Miller <davem@davemloft.net>
24315
fb59b3a4
DM
24316 [BZ #11494]
24317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24318
f63f3380
DM
24319 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24320 * sysdeps/sparc/crti.S: New file.
24321 * sysdeps/sparc/crtn.S: New file.
24322 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24323 * sysdeps/sparc/sparc64/Makefile: Likewise.
24324
df6a4a4a
MF
243252012-02-15 Mike Frysinger <vapier@gentoo.org>
24326
6dd8f3dc 24327 [BZ #3335]
df6a4a4a
MF
24328 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24329
1cac7236
RM
243302012-02-15 Roland McGrath <roland@hack.frob.com>
24331
d2c736f8
RM
24332 [BZ #4822]
24333 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24334
1cac7236
RM
24335 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24336 (write, read, close): Likewise.
24337 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24338
8e475601
JM
243392012-02-15 Joseph Myers <joseph@codesourcery.com>
24340
24341 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24342 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24343 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24344 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24345 <bits/signalfd.h>.
24346 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24348 bits/signalfd.h.
24349
ed656b40
MP
243502012-02-14 Marek Polacek <polacek@redhat.com>
24351
24352 * sysdeps/x86_64/crti.S: New file.
24353 * sysdeps/x86_64/crtn.S: New file.
24354 * sysdeps/x86_64/elf/initfini.c: Remove file.
24355
2a979d3a
JM
243562012-02-13 Joseph Myers <joseph@codesourcery.com>
24357
24358 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24359 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24360 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24361 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24362 <bits/inotify.h>.
24363 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24365 bits/inotify.h.
24366
2a418ac3
JM
243672012-02-13 Joseph Myers <joseph@codesourcery.com>
24368
24369 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24370 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24371 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24372 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24373 <bits/eventfd.h>.
24374 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24376 bits/eventfd.h.
24377
fb779be7
TS
243782012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24379
e19e83c5
RM
24380 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24381 __feraiseexcept instead of feraiseexcept.
7c35ffed 24382
fb779be7
TS
24383 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24384 nanosleep invocations.
24385 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24386 strings, and add error checking for a nanosleep invocations.
24387
59ba27a6
PE
243882012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24389
24390 Replace FSF snail mail address with URLs, as per GNU coding standards.
24391 Most of the snail mail addresses were wrong anyway, and omitting
24392 them makes the source code easier to maintain. Almost all of the
24393 changes are to license notices and to locale LC_IDENTIFICATION
24394 addresses, except for this one:
24395 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24396 not its snail mail address.
24397
57b957eb
RH
243982012-02-09 Richard Henderson <rth@twiddle.net>
24399
af850b1c
RH
24400 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24401 of kernel-features.h.
24402
57b957eb
RH
24403 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24404
6b73181a
MP
244052012-02-08 Marek Polacek <polacek@redhat.com>
24406
24407 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24408 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24409 * sysdeps/gnu/_G_config.h: Likewise.
24410 * sysdeps/generic/_G_config.h: Likewise.
24411
26ecc33a
AS
244122012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24413
6c6dbc63
AS
24414 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24415 tests.
24416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24417
e216c012
AS
24418 * sysdeps/powerpc/powerpc32/crti.S: New file.
24419 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24420 * sysdeps/powerpc/powerpc64/crti.S: New file.
24421 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24422
26ecc33a
AS
24423 * Makeconfig (have-initfini): Don't set.
24424 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24425 * configure.in (nopic_initfini): Don't substitute.
24426 * config.h.in (HAVE_INITFINI): Don't #undef.
24427 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24428 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24429
3add8e13
JM
244302012-02-08 Joseph Myers <joseph@codesourcery.com>
24431
24432 Support crti.S and crtn.S provided directly by architectures.
24433 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24434 [crti.S in sysdirs] (omit-deps): Likewise.
24435 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24436 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24437 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24438 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24439 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24440 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24441 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24442 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24443 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24444 compiler output for sysdeps/generic/initfini.c.
24445 * sysdeps/i386/elf/Makefile: Remove file.
24446 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24447
a22f12b4
MP
244482012-02-07 Marek Polacek <polacek@redhat.com>
24449
24450 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24451 * sysdeps/gnu/_G_config.h: Likewise.
24452 * sysdeps/mach/hurd/_G_config.h: Likewise.
24453
148cf100
MP
244542012-02-07 Marek Polacek <polacek@redhat.com>
24455
24456 * math/Makefile (tests): Add tst-CMPLX2.
24457 * math/tst-CMPLX2.c: New file.
24458
cfdc0dd7
AS
244592012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24460
84ba42c4
AS
24461 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24462
cfdc0dd7
AS
24463 * math/libm-test.inc (jn_test): Add missing L suffix.
24464
622c86f4
MP
244652012-02-06 Marek Polacek <polacek@redhat.com>
24466
24467 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24468 * sysdeps/i386/fpu/e_powf.S: Likewise.
24469 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24470 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24471 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24472 * sysdeps/i386/fpu/e_pow.S: Likewise.
24473 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24474 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24475 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24476 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24477 * sysdeps/i386/fpu/e_log2.S: Likewise.
24478 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24479 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24480 * sysdeps/i386/fpu/e_powl.S: Likewise.
24481 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24482 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24483 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24484 * sysdeps/i386/fpu/e_logl.S: Likewise.
24485 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24486 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24487 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24488 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24489 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24490 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24491 * sysdeps/i386/fpu/e_log.S: Likewise.
24492 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24493 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24494 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24495 * sysdeps/i386/fpu/e_logf.S: Likewise.
24496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24498 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24499 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24500 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24501 * sysdeps/i386/fpu/e_log10.S: Likewise.
24502 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24504 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24505 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24506 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24507 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24508 * sysdeps/i386/asm-syntax.h: Likewise.
24509 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24511 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24512 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24513 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24514 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24515 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24516 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24517 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24518 * sysdeps/powerpc/sysdep.h: Likewise.
24519 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24520 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24521
d4a54ac6
JM
245222012-02-06 Joseph Myers <joseph@codesourcery.com>
24523
24524 [BZ #411]
24525 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24526
314054ea
JM
245272012-02-06 Joseph Myers <joseph@codesourcery.com>
24528
24529 * sysdeps/i386/sysdep.h: Include <features.h>.
24530 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24531 version.
24532
d8e0ca50
JM
245332012-02-05 Joseph Myers <joseph@codesourcery.com>
24534
24535 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24536 Define.
24537 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24538 LOAD_PIC_REG_STR.
24539
b1da7dd9
JM
245402012-02-03 Joseph Myers <joseph@codesourcery.com>
24541
24542 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24543 (SETUP_PIC_REG): Use GET_PC_THUNK.
24544 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24545 macro.
24546
9a1d9254
JM
245472012-02-03 Joseph Myers <joseph@codesourcery.com>
24548
24549 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24550 for non-PIC compilation.
24551 (SETUP_PIC_REG): Add .p2align directive.
24552 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24553 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24554 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24555 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24556 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24557 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24558 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24560 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24561 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24562 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24563 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24564 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24565 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24566 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24567 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24568 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24569 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24570 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24571 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24573 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24574 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24575 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24576 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24578 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24580 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24581 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24582 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24583 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24584 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24585 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24586 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24587 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24588 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24589 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24590 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24591 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24592 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24593
65dc3b75
JM
245942012-02-03 Joseph Myers <joseph@codesourcery.com>
24595
24596 * math/tst-CMPLX.c: Include <stdio.h>.
24597
d55bf177
JM
245982012-01-31 Joseph Myers <joseph@codesourcery.com>
24599
24600 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24601 float.
24602 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24603 * sysdeps/sparc/bits/mathdef.h: Likewise.
24604
69db4f8f
MP
246052012-01-31 Marek Polacek <polacek@redhat.com>
24606
24607 * libio/libio.h: Don't define _PARAMS.
24608 * locale/programs/config.h: Don't define PARAMS.
24609 * stdlib/strtol_l.c: Likewise.
24610 (__strtol_l): Remove PARAMS from the prototype.
24611
41b81892
UD
246122012-01-31 Ulrich Drepper <drepper@gmail.com>
24613
3b49edc0
UD
24614 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24615 names. Just use the correct names. Remove unnecessary wrapper
24616 functions.
24617 * malloc/arena.c: Likewise.
24618 * malloc/hooks.c: Likewise.
24619
41b81892
UD
24620 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24621 ARENA_TEST says not to. Simplify test for creation of a new arena.
24622 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24623
27a25b6e
UD
246242012-01-30 Ulrich Drepper <drepper@gmail.com>
24625
24626 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24627 into tail calls.
24628 (update_get_addr): New function.
24629 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24630 GET_ADDR_MODULE parameter.
24631
c8a89e7d
JM
246322012-01-30 Joseph Myers <joseph@codesourcery.com>
24633
24634 * crypt/cert.c: Remove __STDC__ conditionals.
24635 * crypt/crypt-entry.c: Likewise.
24636 * crypt/crypt_util.c: Likewise.
24637 * libio/filedoalloc.c: Likewise.
24638 * libio/fileops.c: Likewise.
24639 * libio/genops.c: Likewise.
24640 * libio/iofclose.c: Likewise.
24641 * libio/iofdopen.c: Likewise.
24642 * libio/iofopen.c: Likewise.
24643 * libio/iofopen64.c: Likewise.
24644 * libio/iogetdelim.c: Likewise.
24645 * libio/iopopen.c: Likewise.
24646 * libio/obprintf.c: Likewise.
24647 * libio/oldfileops.c: Likewise.
24648 * libio/oldiofclose.c: Likewise.
24649 * libio/oldiofdopen.c: Likewise.
24650 * libio/oldiofopen.c: Likewise.
24651 * libio/oldiopopen.c: Likewise.
24652 * libio/wfiledoalloc.c: Likewise.
24653 * libio/wgenops.c: Likewise.
24654 * locale/programs/xmalloc.c: Likewise.
24655 * misc/syslog.c: Likewise.
24656 * stdio-common/xbug.c: Likewise.
24657 * string/memchr.c: Likewise.
24658 * string/memcmp.c: Likewise.
24659 * string/memrchr.c: Likewise.
24660 * string/rawmemchr.c: Likewise.
24661 * sysdeps/posix/getcwd.c: Likewise.
24662 * time/strftime_l.c: Likewise.
24663
3b100462
JM
246642012-01-30 Joseph Myers <joseph@codesourcery.com>
24665
24666 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24667 * config.make.in (config-cflags-sse2avx): Define.
24668 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24669 Fix typo.
24670
607998af
CM
246712012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24672
24673 * scripts/config.guess: Update from upstream config git repository.
24674 * scripts/config.sub: Likewise.
24675
3601428f
CM
246762012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24677
3ac8b282
CM
24678 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24679 (EM_NUM): Update.
24680 (R_TILEPRO_*, R_TILEGX_*): New macros.
24681
e034841e
CM
24682 * scripts/firstversions.awk: Fix bug in version range handling.
24683
540d7568
CM
24684 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24685
3601428f
CM
24686 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24687
463de862
CM
24688 * include/sys/epoll.h: New file.
24689 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24690 libc_hidden_def.
24691
73139a76
UD
246922012-01-28 Ulrich Drepper <drepper@gmail.com>
24693
96bc5b45
UD
24694 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24695 Avoid unnecessary __WORDSIZE == 64 test.
24696 (fmaxf): Use VEX format if possible.
24697 (fmax): Likewise.
24698 (fminf): Likewise.
24699 (fmin): Likewise.
24700
56f6f6a2
UD
24701 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24702 * math/math_private.h: Remove libc_fegetround* and
24703 libc_fesetround*.
24704 * sysdeps/i386/configure.in: Check for -msse2avx.
24705 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24706 also if SSE2AVX is defined.
24707 Remove libc_fegetround* and libc_fesetround*.
24708 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24709 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24711 of HAS_YMM_USABLE.
24712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24717
73139a76
UD
24718 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24719
d73f93a4
AZ
247202012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24721
24722 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24723 size is not set.
24724 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24725
6ee65ed6
UD
247262012-01-27 Ulrich Drepper <drepper@gmail.com>
24727
24728 [BZ #13618]
24729 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24730 relocation.
24731 * Makeconfig (libm): Define.
24732 * elf/Makefile: Add rules to build and run tst-relsort1.
24733 * elf/tst-relsort1.c: New file.
24734 * elf/tst-relsort1mod1.c: New file.
24735 * elf/tst-relsort1mod2.c: New file.
24736
8db21882
JM
247372012-01-27 Joseph Myers <joseph@codesourcery.com>
24738
24739 * math/s_ldexp.c: Remove __STDC__ conditionals.
24740 * math/s_ldexpf.c: Likewise.
24741 * math/s_ldexpl.c: Likewise.
24742 * math/s_nextafter.c: Likewise.
24743 * math/s_nexttowardf.c: Likewise.
24744 * math/s_significand.c: Likewise.
24745 * math/s_significandf.c: Likewise.
24746 * math/s_significandl.c: Likewise.
24747 * math/w_jnl.c: Likewise.
24748 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24749 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24750 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24751 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24752 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24753 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24754 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24755 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24756 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24757 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24758 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24760 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24761 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24762 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24763 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24764 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24765 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24767 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24768 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24769 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24770 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24772 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24773 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24774 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24775 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24776 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24777 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24778 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24779 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24780 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24781 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24782 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24783 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24784 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24785 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24786 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24787 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24788 * sysdeps/ieee754/k_standard.c: Likewise.
24789 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24790 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24791 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24792 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24793 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24794 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24795 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24798 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24799 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24835 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24837 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24846 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24848 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24849 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24850 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24854 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24855 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24856 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24857 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24858 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24864 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24865 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24868 * sysdeps/ieee754/s_matherr.c: Likewise.
24869 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24870 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24872 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24873
965a54a4
JM
248742012-01-26 Joseph Myers <joseph@codesourcery.com>
24875
24876 * crypt/md5.h: Remove __STDC__ conditionals.
24877 * libio/libioP.h: Likewise.
24878 * locale/programs/config.h: Likewise.
24879 * sysdeps/generic/sysdep.h: Likewise.
24880 * sysdeps/i386/asm-syntax.h: Likewise.
24881 * sysdeps/s390/asm-syntax.h: Likewise.
24882 * sysdeps/unix/sysdep.h: Likewise.
24883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24885
7071ad79
JM
248862012-01-26 Joseph Myers <joseph@codesourcery.com>
24887
24888 * libio/libio.h: Remove __STDC__ conditionals.
24889 * malloc/obstack.h: Likewise.
24890 * math/complex.h: Likewise.
24891 * math/math.h: Likewise.
24892 * sysdeps/generic/_G_config.h: Likewise.
24893 * sysdeps/gnu/_G_config.h: Likewise.
24894 * sysdeps/mach/hurd/_G_config.h: Likewise.
24895 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24896 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24897 * sysdeps/sparc/bits/mathdef.h: Likewise.
24898
afc5ed09
UD
248992012-01-26 Ulrich Drepper <drepper@gmail.com>
24900
24901 [BZ #13583]
24902 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24903 Clean up HAS_* macros.
afc5ed09 24904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24905 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24906 possible.
24907 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24908 HAS_AVX.
24909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24914
bdb6de1d
JM
249152012-01-25 Joseph Myers <joseph@codesourcery.com>
24916
24917 * elf/tst-unique3.cc (gets): Remove declaration.
24918 * elf/tst-unique3lib.cc (gets): Likewise.
24919 * elf/tst-unique3lib2.cc (gets): Likewise.
24920 * elf/tst-unique4.cc (gets): Likewise.
24921
b15549e6
UD
249222012-01-24 Ulrich Drepper <drepper@gmail.com>
24923
24924 * include/stdio.h: Add C++ protection. Add gets declarations and
24925 definitions.
24926 * debug/tst-chk1.c: Don't declare gets here.
24927 * stdio-common/tst-gets.c: Likewise.
24928
a037381f
JM
249292012-01-24 Joseph Myers <joseph@codesourcery.com>
24930
24931 * posix/glob: Remove directory.
24932
f1d4aa75
JM
249332012-01-24 Joseph Myers <joseph@codesourcery.com>
24934
24935 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24936
81c0c964
PT
249372012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24938
24939 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24940 of the non-standard EPFNOSUPPORT.
24941
0ea698ae
ST
249422011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24943
24944 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24945 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24946 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24947
d220b117
UD
249482012-01-21 Ulrich Drepper <drepper@gmail.com>
24949
24950 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24951
3e1aa84e
UD
249522012-01-20 Ulrich Drepper <drepper@gmail.com>
24953
24954 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24955 transient errors.
24956 * nscd/grpcache.c (cache_addgr): Likewise.
24957 * nscd/hstcache.c (cache_addhst): Likewise.
24958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24959 * nscd/pwdcache.c (cache_addpw): Likewise.
24960 * nscd/servicescache.c (cache_addserv): Likewise.
24961
400aa020
UD
249622012-01-16 Ulrich Drepper <drepper@gmail.com>
24963
d77e7869
UD
24964 * malloc/malloc.c: Various cleanups.
24965 * malloc/hooks.c: Likewise.
24966
400aa020
UD
24967 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24968 * stdlib/bug-fmtmsg1.c: New file.
24969
24970 * stdlib/fmtmsg.c (init): Add missing unlock.
24971 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24972
e0a309cf
MP
249732012-01-12 Marek Polacek <polacek@redhat.com>
24974
24975 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24976 and _GNU_SOURCE.
24977
929d11c7
WS
249782012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24979
24980 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24981 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24982 macro to ensure uniqueness of label name.
24983 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24984 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24985
41d0e869
UD
249862012-01-11 Ulrich Drepper <drepper@gmail.com>
24987
0cc5ed3b
UD
24988 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24989
41d0e869
UD
24990 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24991 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24992 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24993 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24994
a47a831a
UD
249952012-01-10 Ulrich Drepper <drepper@gmail.com>
24996
daa891c0
UD
24997 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24998
24999 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25000 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25001 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25002
e58ef0f2
UD
25003 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25004
a47a831a 25005 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25006 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25007 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25009
25010 * math/bits/math-finite.h: Add ldexp support.
25011
a0bfc9c7
MP
250122012-01-10 Marek Polacek <polacek@redhat.com>
25013
25014 * locale/programs/localedef.h (show_archive_content): Add noreturn
25015 attribute.
25016
d6e97a1d
UD
250172012-01-09 Ulrich Drepper <drepper@gmail.com>
25018
25019 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25020
d5835c26
UD
250212012-01-08 Ulrich Drepper <drepper@gmail.com>
25022
e5f484c6
UD
25023 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25024
d5835c26
UD
25025 * io/Makefile (headers): Add bits/poll2.h.
25026
d1f741e9
WS
250272011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25028
25029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25030 typo #include statement.
25031
ec09c1c4
UD
250322012-01-08 Ulrich Drepper <drepper@gmail.com>
25033
25034 * include/sys/cdefs.h: Define __attribute_alloc_size.
25035 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25036 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25037 * elf/pldd.c: Likewise.
25038 * iconv/iconv_charmap.c: Likewise.
25039 * iconv/iconvconfig.c: Likewise.
25040 * iconv/strtab.c: Likewise.
25041 * locale/programs/locale.c: Likewise.
25042 * locale/programs/localedef.h: Likewise.
25043 * locale/programs/simple-hash.c: Likewise.
25044 * nscd/nscd.h: Likewise.
25045 * nss/makedb.c: Likewise.
25046 * sysdeps/generic/ldconfig.h: Likewise.
25047 * locale/programs/localedef.c: Remove xmalloc prototype.
25048 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25049
20b38e03
PP
250502012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25051
25052 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25053 appropriate.
25054
a0da5fe1
UD
250552012-01-08 Ulrich Drepper <drepper@gmail.com>
25056
1d5a644a 25057 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25058 * math/tst-CMPLX.c: New file.
1d5a644a 25059
8784a6db
UD
25060 * math/complex.h (CMPLXL): Fix typo.
25061
d9a216c0
UD
25062 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25063 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25064 GLIBC_2.16.
25065 * debug/tst-chk1.c: Add poll and ppoll tests.
25066 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25067 * include/sys/poll.h: Add hidden proto for ppoll.
25068 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25069 * sysdeps/mach/hurd/ppoll.c: Likewise.
25070 * io/ppoll.c: Likewise.
25071 * debug/poll_chk.c: New file.
25072 * debug/ppoll_chk.c: New file.
25073 * include/bits/poll2.h: New file.
25074 * io/bits/poll2.h: New file.
25075
ac097f5c
UD
25076 [BZ #1350]
25077 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25078
2119dcfa
UD
25079 * configure.in: static is always set to yes. Remove.
25080 * config.make.in: Don't set build-static.
25081 * Makeconfig: Remove use of build-static.
25082 * dlfcn/Makefile: Likewise.
25083 * elf/Makefile: Likewise.
25084 * math/Makefile: Likewise.
25085 * misc/Makefile: Likewise.
25086 * nptl/Makefile: Likewise.
25087 * sysdeps/mach/hurd/Makefile: Likewise.
25088
121766a9
UD
25089 * configure.in: PWD_P is not used anymore.
25090 * config.make.in: Remove PWD_P entry.
25091
51a1d39c 25092 * configure.in: Remove last remnants of RANLIB.
8720d066 25093 No need to check for signed size_t anymore.
215f4bdc
UD
25094 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25095 and IA-64.
3857022a 25096 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25097 * aclocal.m4: Likewise.
25098
d3ed7225
UD
25099 * wcsmbs/mbrtoc16.c: Implement using towc function.
25100 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25101 * wcsmbs/wcsmbsload.c: Likewise.
25102 * iconv/gconv_simple.c: Likewise.
25103 * iconv/gconv_int.h: Likewise.
25104 * iconv/gconv_builtin.h: Likewise.
25105 * iconv/iconv_prog.c: Remove CHAR16 handling.
25106
25107 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25108
25109 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25110
a0da5fe1
UD
25111 * configure.in: Remove --with-elf and --enable-bounded options.
25112 Dont set base_machine for ia64. More non-ELF conditions removed.
25113 Remove testing and setting of leading underscore information.
25114 * config.make.in (build-bounded): Set to no.
25115 * config.h.in: Remove NO_UNDERSCORES entry.
25116 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25117 them.
25118 * csu/start.c: Remove !NO_UNDERSCORE code.
25119 * locale/localeinfo.h: Likewise.
25120 * sysdeps/generic/machine-gmon.h: Likewise.
25121 * sysdeps/generic/sysdep.h: Likewise.
25122 * sysdeps/i386/sysdep.h: Likewise.
25123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25124 * sysdeps/mach/sysdep.h: Likewise.
25125 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25126 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25127 * sysdeps/sh/sysdep.h: Likewise.
25128 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25129 * sysdeps/unix/i386/sysdep.S: Likewise.
25130 * sysdeps/unix/sparc/start.c: Likewise.
25131 * sysdeps/unix/sparc/sysdep.S: Likewise.
25132 * sysdeps/unix/sparc/sysdep.h: Likewise.
25133 * sysdeps/unix/start.c: Likewise.
25134 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25135 * sysdeps/x86_64/sysdep.h: Likewise.
25136
df78418a
UD
251372012-01-07 Ulrich Drepper <drepper@gmail.com>
25138
a784e502
UD
25139 [BZ #13553]
25140 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25141 for non-gcc.
25142 * argp/argp-fmtstream.h: Use const instead __const.
25143 * argp/argp.h: Likewise.
25144 * assert/assert.h: Likewise.
25145 * bits/fenv.h: Likewise.
25146 * bits/sched.h: Likewise.
25147 * bits/sigset.h: Likewise.
25148 * bits/sigthread.h: Likewise.
25149 * catgets/nl_types.h: Likewise.
25150 * conform/data/pthread.h-data: Likewise.
25151 * crypt/crypt-private.h: Likewise.
25152 * crypt/crypt.h: Likewise.
25153 * crypt/crypt_util.c: Likewise.
25154 * ctype/ctype.h: Likewise.
25155 * debug/execinfo.h: Likewise.
25156 * debug/mbsnrtowcs_chk.c: Likewise.
25157 * debug/mbsrtowcs_chk.c: Likewise.
25158 * debug/wcsnrtombs_chk.c: Likewise.
25159 * debug/wcsrtombs_chk.c: Likewise.
25160 * debug/wcstombs_chk.c: Likewise.
25161 * dirent/dirent.h: Likewise.
25162 * dlfcn/dlfcn.h: Likewise.
25163 * elf/neededtest4.c: Likewise.
25164 * grp/grp.h: Likewise.
25165 * gshadow/gshadow.h: Likewise.
25166 * iconv/gconv.h: Likewise.
25167 * iconv/gconv_int.h: Likewise.
25168 * iconv/gconv_simple.c: Likewise.
25169 * iconv/iconv.h: Likewise.
25170 * iconv/loop.c: Likewise.
25171 * iconv/skeleton.c: Likewise.
25172 * include/aio.h: Likewise.
25173 * include/aliases.h: Likewise.
25174 * include/argz.h: Likewise.
25175 * include/arpa/inet.h: Likewise.
25176 * include/assert.h: Likewise.
25177 * include/dirent.h: Likewise.
25178 * include/dlfcn.h: Likewise.
25179 * include/execinfo.h: Likewise.
25180 * include/fcntl.h: Likewise.
25181 * include/fenv.h: Likewise.
25182 * include/glob.h: Likewise.
25183 * include/grp.h: Likewise.
25184 * include/libintl.h: Likewise.
25185 * include/mntent.h: Likewise.
25186 * include/netdb.h: Likewise.
25187 * include/pwd.h: Likewise.
25188 * include/rpc/netdb.h: Likewise.
25189 * include/sched.h: Likewise.
25190 * include/search.h: Likewise.
25191 * include/shadow.h: Likewise.
25192 * include/signal.h: Likewise.
25193 * include/stdio.h: Likewise.
25194 * include/stdlib.h: Likewise.
25195 * include/string.h: Likewise.
25196 * include/sys/socket.h: Likewise.
25197 * include/sys/stat.h: Likewise.
25198 * include/sys/statfs.h: Likewise.
25199 * include/sys/statvfs.h: Likewise.
25200 * include/sys/syslog.h: Likewise.
25201 * include/sys/time.h: Likewise.
25202 * include/sys/uio.h: Likewise.
25203 * include/time.h: Likewise.
25204 * include/unistd.h: Likewise.
25205 * include/utmp.h: Likewise.
25206 * include/wchar.h: Likewise.
25207 * include/wctype.h: Likewise.
25208 * inet/aliases.h: Likewise.
25209 * inet/arpa/inet.h: Likewise.
25210 * inet/netinet/ether.h: Likewise.
25211 * inet/netinet/in.h: Likewise.
25212 * intl/libintl.h: Likewise.
25213 * io/bits/fcntl2.h: Likewise.
25214 * io/fcntl.h: Likewise.
25215 * io/ftw.h: Likewise.
25216 * io/sys/poll.h: Likewise.
25217 * io/sys/stat.h: Likewise.
25218 * io/sys/statfs.h: Likewise.
25219 * io/sys/statvfs.h: Likewise.
25220 * io/utime.h: Likewise.
25221 * libio/bits/stdio.h: Likewise.
25222 * libio/bits/stdio2.h: Likewise.
25223 * libio/libio.h: Likewise.
25224 * libio/libioP.h: Likewise.
25225 * libio/stdio.h: Likewise.
25226 * locale/lc-ctype.c: Likewise.
25227 * locale/locale.h: Likewise.
25228 * login/utmp.h: Likewise.
25229 * malloc/arena.c: Likewise.
25230 * malloc/malloc.c: Likewise.
25231 * malloc/malloc.h: Likewise.
25232 * malloc/mcheck.c: Likewise.
25233 * malloc/mtrace.c: Likewise.
25234 * math/bits/mathcalls.h: Likewise.
25235 * math/fenv.h: Likewise.
25236 * math/math_private.h: Likewise.
25237 * misc/bits/error.h: Likewise.
25238 * misc/bits/syslog.h: Likewise.
25239 * misc/err.h: Likewise.
25240 * misc/error.h: Likewise.
25241 * misc/fstab.h: Likewise.
25242 * misc/mntent.h: Likewise.
25243 * misc/regexp.h: Likewise.
25244 * misc/search.h: Likewise.
25245 * misc/sgtty.h: Likewise.
25246 * misc/sys/mman.h: Likewise.
25247 * misc/sys/syslog.h: Likewise.
25248 * misc/sys/uio.h: Likewise.
25249 * misc/sys/xattr.h: Likewise.
25250 * misc/ttyent.h: Likewise.
25251 * nis/rpcsvc/ypclnt.h: Likewise.
25252 * nss/nss.h: Likewise.
25253 * posix/bits/unistd.h: Likewise.
25254 * posix/fnmatch.h: Likewise.
25255 * posix/glob.h: Likewise.
25256 * posix/sched.h: Likewise.
25257 * posix/spawn.h: Likewise.
25258 * posix/sys/wait.h: Likewise.
25259 * posix/unistd.h: Likewise.
25260 * posix/wordexp.h: Likewise.
25261 * pwd/pwd.h: Likewise.
25262 * resolv/netdb.h: Likewise.
25263 * resource/sys/resource.h: Likewise.
25264 * rt/aio.h: Likewise.
25265 * rt/bits/mqueue2.h: Likewise.
25266 * rt/mqueue.h: Likewise.
25267 * shadow/shadow.h: Likewise.
25268 * signal/signal.h: Likewise.
25269 * socket/send.c: Likewise.
25270 * socket/sendto.c: Likewise.
25271 * socket/sys/socket.h: Likewise.
25272 * stdio-common/printf.h: Likewise.
25273 * stdlib/bits/stdlib.h: Likewise.
25274 * stdlib/fmtmsg.h: Likewise.
25275 * stdlib/monetary.h: Likewise.
25276 * stdlib/stdlib.h: Likewise.
25277 * stdlib/ucontext.h: Likewise.
25278 * streams/stropts.h: Likewise.
25279 * string/argz.h: Likewise.
25280 * string/bits/string2.h: Likewise.
25281 * string/string.h: Likewise.
25282 * string/strings.h: Likewise.
25283 * sunrpc/rpc/auth.h: Likewise.
25284 * sunrpc/rpc/auth_des.h: Likewise.
25285 * sunrpc/rpc/clnt.h: Likewise.
25286 * sunrpc/rpc/netdb.h: Likewise.
25287 * sunrpc/rpc/pmap_clnt.h: Likewise.
25288 * sunrpc/rpc/xdr.h: Likewise.
25289 * sysdeps/generic/inttypes.h: Likewise.
25290 * sysdeps/generic/net/if.h: Likewise.
25291 * sysdeps/generic/sys/swap.h: Likewise.
25292 * sysdeps/gnu/net/if.h: Likewise.
25293 * sysdeps/gnu/utmpx.h: Likewise.
25294 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25295 * sysdeps/i386/i486/bits/string.h: Likewise.
25296 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25297 * sysdeps/s390/bits/string.h: Likewise.
25298 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25299 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25300 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25301 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25302 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25303 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25304 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25305 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25306 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25307 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25308 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25309 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25310 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25311 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25312 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25313 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25314 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25318 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25319 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25320 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25321 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25322 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25323 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25324 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25326 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25328 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25329 * sysvipc/sys/ipc.h: Likewise.
25330 * sysvipc/sys/msg.h: Likewise.
25331 * sysvipc/sys/sem.h: Likewise.
25332 * sysvipc/sys/shm.h: Likewise.
25333 * termios/termios.h: Likewise.
25334 * time/sys/time.h: Likewise.
25335 * time/time.h: Likewise.
25336 * wcsmbs/bits/wchar2.h: Likewise.
25337 * wcsmbs/uchar.h: Likewise.
25338 * wcsmbs/wchar.h: Likewise.
25339 * wctype/wctype.h: Likewise.
25340
0269750c
UD
25341 [BZ #13551]
25342 * Makeconfig: Remove all but ELF support including AIX support.
25343 * Makerules: Likewise.
25344 * config.h.in: Likewise.
25345 * config.make.in: Likewise.
25346 * configure: Likewise.
25347 * configure.in: Likewise.
25348 * csu/Makefile: Likewise.
25349 * csu/version.c: Likewise.
25350 * debug/Makefile: Likewise.
25351 * dlfcn/Makefile: Likewise.
25352 * elf/Makefile: Likewise.
25353 * extra-lib.mk: Likewise.
25354 * iconv/Makefile: Likewise.
25355 * include/libc-symbols.h: Likewise.
25356 * include/shlib-compat.h: Likewise.
25357 * resolv/Makefile: Likewise.
25358 * resolv/res_libc.c: Likewise.
25359 * rt/Makefile: Likewise.
25360 * sysdeps/i386/asm-syntax.h: Likewise.
25361 * sysdeps/i386/sysdep.h: Likewise.
25362 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25363 * sysdeps/mach/sysdep.h: Likewise.
25364 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25365 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25366 * sysdeps/s390/asm-syntax.h: Likewise.
25367 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25368 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25369 * sysdeps/sh/sysdep.h: Likewise.
25370 * sysdeps/unix/sparc/sysdep.h: Likewise.
25371 * sysdeps/wordsize-32/divdi3.c: Likewise.
25372 * sysdeps/x86_64/sysdep.h: Likewise.
25373
00bbd29b
UD
25374 * argp/Versions: Remove _argp_unlock_xxx.
25375
25376 [BZ #13559]
25377 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25378 * abilist/libBrokenLocale.abilist: Likewise.
25379 * abilist/libanl.abilist: Likewise.
25380 * abilist/libc.abilist: Likewise.
25381 * abilist/libcrypt.abilist: Likewise.
25382 * abilist/libdl.abilist: Likewise.
25383 * abilist/libm.abilist: Likewise.
25384 * abilist/libnsl.abilist: Likewise.
25385 * abilist/libpthread.abilist: Likewise.
25386 * abilist/libresolv.abilist: Likewise.
25387 * abilist/librt.abilist: Likewise.
25388 * abilist/libthread_db.abilist: Likewise.
25389 * abilist/libutil.abilist: Likewise.
25390 * abilist/libnss_db.abilist: New file.
25391
25392 * scripts/abilist.awk: Add support for indirect functions.
25393
a2693a0e
UD
25394 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25395
3f05895f
UD
25396 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25397
ecb6fb48
UD
25398 * shlib-versions: Remove entries for ports architectures.
25399
664f8cb9
UD
25400 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25401 files in ports.
25402 * elf/stackguard-macros.h: Remove support for IA-64.
25403 * elf/tst-auditmod1.c: Likewise.
25404 * sysdeps/generic/ldsodefs.h: Likewise.
25405
7ae81d88
UD
25406 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25407 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25408 configure files.
25409
bdeba135
UD
25410 [BZ #13552]
25411 * configure.in: Remove --enable-omitfp support.
25412 * FAQ.in: Adjust.
25413 * config.make.in: Likewise.
25414 * Makeconfig: Likewise.
25415 * manual/install.texi: Likewise.
25416
d75a0a62
UD
25417 In case anyone cares, the IA-64 architecture could move to ports.
25418 * sysdeps/ia64/*: Removed.
25419 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25420 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25421
dcc9756b
UD
25422 [BZ #13555]
25423 * configure.in: Remove entries for unsupported architectures.
25424
d3761ebc 25425 [BZ #13533]
9954432e
UD
25426 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25427 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25428 routines.
25429 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25430 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25431 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25432 fall back to using wcrtomb.
25433 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25434 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25435 renaming.
25436 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25437 * wcsmbs/tst-c16c32-1.c: New file.
25438
25439 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25440 local variable.
25441
c3a87236
UD
25442 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25443
28926a1b
UD
25444 * elf/tst-unique3.cc: Add explicit declaration of gets.
25445 * elf/tst-unique3lib.cc: Likewise.
25446 * elf/tst-unique3lib2.cc: Likewise.
25447 * elf/tst-unique4.cc: Likewise.
25448
df78418a
UD
25449 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25450
8ecd6b2a
JM
254512012-01-06 Joseph Myers <joseph@codesourcery.com>
25452
25453 [BZ #13566]
25454 * assert/assert.h (static_assert): Don't define for C++.
25455 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25456 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25457
9f115170
UD
254582012-01-03 Ulrich Drepper <drepper@gmail.com>
25459
5e0d0300
UD
25460 * iconv/loop.c (single loop): Fix assertion in storing of
25461 remaining bytes.
25462
9f115170
UD
25463 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25464
81fb02b0
UD
254652012-01-01 Ulrich Drepper <drepper@gmail.com>
25466
25467 * posix/getconf.c: Update copyright year.
25468 * nss/getent.c: Likewise.
a316c1f6 25469 * nss/makedb.c: Likewise.
81fb02b0
UD
25470 * iconv/iconvconfig.c: Likewise.
25471 * iconv/iconv_prog.c: Likewise.
25472 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25473 * elf/pldd.c: Likewise.
25474 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25475 * catgets/gencat.c: Likewise.
25476 * csu/version.c: Likewise.
25477 * elf/ldd.bash.in: Likewise.
25478 * elf/sprof.c (print_version): Likewise.
25479 * locale/programs/locale.c: Likewise.
25480 * locale/programs/localedef.c: Likewise.
a316c1f6 25481 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25482 * nscd/nscd.c (print_version): Likewise.
25483 * debug/xtrace.sh: Likewise.
25484 * malloc/memusage.sh: Likewise.
25485 * malloc/mtrace.pl: Likewise.
25486 * debug/catchsegv.sh: Likewise.
25487
2ba92745
JJ
254882011-12-30 Jakub Jelinek <jakub@redhat.com>
25489
25490 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25491 pure attribute.
25492
dadebdae
UD
254932011-12-24 Ulrich Drepper <drepper@gmail.com>
25494
d3761ebc 25495 [BZ #13533]
db6af3eb
UD
25496 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25497 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25498 transformations.
25499 * iconv/gconv_int.h: Likewise.
25500 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25501 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25502 from libc for GLIBC_2.16.
25503 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25504 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25505 * wcsmbs/uchar.h: Really define mbstate_t.
25506 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25507 * wcsmbs/c16rtomb.c: New file.
25508 * wcsmbs/mbrtoc16.c: New file.
25509 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25510 for C/POSIX locale.
25511 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25512 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25513
dadebdae
UD
25514 * wcsmbs/wchar.h: Add missing __restrict.
25515
67371b56
UD
255162011-12-23 Ulrich Drepper <drepper@gmail.com>
25517
74033a25
UD
25518 [BZ #13532]
25519 * time/Makefile (routines): Add timespec_get.
25520 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25521 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25522 timespec for ISO C11.
25523 * time/timespec_get.c: New file.
25524 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25525 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25526
380d7e87
UD
25527 [BZ #13531]
25528 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25529 * stdlib/stdlib.h: Declare aligned_alloc.
25530 * Versions.def: Add GLIBC_2.16 for libc.
25531 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25532
4e9e7a35
UD
25533 [BZ 13527]
25534 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25535 ISO C11.
25536
380d7e87 25537 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25538 code.
25539
03a71829
UD
25540 [BZ #13528]
25541 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25542
839e283e
UD
25543 [BZ #13529]
25544 * assert/assert.h (static_assert): Define.
25545
ce5294e2 25546 * version.h: Update for 2.16 development version.
90fa7312 25547
8d44e150 25548 [BZ #13526]
d7809905
UD
25549 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25550 _ISOC11_SOURCE.
25551
c0da14cd
UD
25552 * version.h (RELEASE): Bump for 2.15 release.
25553 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25554
530a3249
MP
25555 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25556 Patch by Marek Polacek <mpolacek@redhat.com>.
25557
67371b56
UD
25558 * bits/byteswap.h: Protect long long constants with __extension__.
25559 * sysdeps/i386/bits/byteswap.h: Likewise.
25560 * sysdeps/ia64/bits/byteswap.h: Likewise.
25561 * sysdeps/s390/bits/byteswap.h: Likewise.
25562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25563
15db4de1
LD
255642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25565
25566 [BZ #13540]
bbe315ea
LD
25567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25568 destination buffer.
15db4de1
LD
25569 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25570
2b2596b1
MP
255712011-12-23 Marek Polacek <polacek@redhat.com>
25572
25573 * elf/dl-addr.c (determine_info): Add inline keyword.
25574 * elf/tst-auditmod4b.c (check_avx): Likewise.
25575 * elf/tst-auditmod6b.c (check_avx): Likewise.
25576 * elf/tst-auditmod6c.c (check_avx): Likewise.
25577 * elf/tst-auditmod7b.c (check_avx): Likewise.
25578
70c6c246
UD
255792011-12-23 Ulrich Drepper <drepper@gmail.com>
25580
25581 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25582 !__SSE_MATH__.
25583
c044cf14
LD
255842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25585
15db4de1 25586 [BZ #13540]
c044cf14
LD
25587 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25588 processing for last bytes.
25589
6b13d9d9
BH
255902011-08-06 Bruno Haible <bruno@clisp.org>
25591
d455f537
BH
25592 [BZ #13061]
25593 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25594 U+0385, not to U+1FEE.
25595
6b13d9d9
BH
25596 [BZ #13062]
25597 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25598 entry for U+00A5 U+0301.
25599
db910efd
UD
256002011-12-22 Ulrich Drepper <drepper@gmail.com>
25601
27deeafc
UD
25602 [BZ #13166]
25603 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25604 buffer for the output is too small.
25605
aed9d171
UD
25606 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25607 optimization.
25608
db910efd
UD
25609 [BZ #13185]
25610 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25611 SSE flags if possible.
25612
2bd779ae
LD
256132011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25614
e7f9dac3 25615 [BZ #13540]
2bd779ae
LD
25616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25617 processing for last bytes.
25618
154bfc16
JM
256192011-12-22 Joseph Myers <joseph@codesourcery.com>
25620
25621 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25622 (syscall-list-default-options, syscall-list-default-condition)
25623 (syscall-list-includes): Define.
25624 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25625 list of ABIs and options and #if conditions for each ABI. Do not
25626 handle common syscalls between ABIs specially.
25627 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25628 Remove.
25629 (syscall-list-variants, syscall-list-32bit-options)
25630 (syscall-list-32bit-condition, syscall-list-64bit-options)
25631 (syscall-list-64bit-condition): Define.
25632 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25633 (syscall-list-variants, syscall-list-32bit-options)
25634 (syscall-list-32bit-condition, syscall-list-64bit-options)
25635 (syscall-list-64bit-condition): Define.
25636 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25637 Remove.
25638 (syscall-list-variants, syscall-list-32bit-options)
25639 (syscall-list-32bit-condition, syscall-list-64bit-options)
25640 (syscall-list-64bit-condition): Define.
25641 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25642 Remove.
25643 (syscall-list-variants, syscall-list-32bit-options)
25644 (syscall-list-32bit-condition, syscall-list-64bit-options)
25645 (syscall-list-64bit-condition): Define.
25646
21eaf3a5
UD
256472011-12-22 Ulrich Drepper <drepper@gmail.com>
25648
16c6f992
UD
25649 * locale/iso-639.def: Add brx entry.
25650
41043168
UD
25651 [BZ #13328]
25652 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25653 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25654
21eaf3a5
UD
25655 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25656 __feraiseexcept_renamed.
25657
e3a851a2
UD
256582011-12-21 Ulrich Drepper <drepper@gmail.com>
25659
4920765e
UD
25660 [BZ #13538]
25661 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25662 EPOLLET with unsigned values.
25663 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25664 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25665
e3a851a2
UD
25666 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25667 to large cancellation.
25668 * math/s_cacoshf.c: Likewise.
25669 * math/s_cacoshl.c: Likewise.
25670
b27e24b8
RK
256712011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25672
25673 [BZ #13305]
aebefeee 25674 [BZ #12786]
b27e24b8
RK
25675 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25676 * math/s_cacoshf.c: Likewise.
25677 * math/s_cacoshl.c: Likewise.
25678
ee190f67
UD
256792011-12-21 Ulrich Drepper <drepper@gmail.com>
25680
25681 [BZ #13439]
25682 * iconv/gconv.h: Define __GCONV_SWAP.
25683 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25684 * iconvdata/utf-16.c: Likewise.
25685 * iconvdata/utf-32.c: Likewise.
25686
707f25df
AS
256872011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25688
25689 [BZ #13524]
25690 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25691 numerator after shifting it by one limb.
25692
d2daaa1e
RÁE
256932011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25694
25695 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25696 under [__USE_EXTERN_INLINES].
25697
a4647e72
UD
256982011-12-17 Ulrich Drepper <drepper@gmail.com>
25699
25700 [BZ #13446]
25701 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25702
f0b264f1
AZ
257032011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25704
25705 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25706 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25707 optimized code.
25708 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25709 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25710 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25711 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25712 for strncasecmp/strncasecmp_l compilation.
25713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25714 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25715
8ef4f244
MP
257162011-12-08 Marek Polacek <mpolacek@redhat.com>
25717
25718 [BZ #13484]
25719 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25720 of __asm__.
25721
97ac2654
UD
257222011-12-17 Ulrich Drepper <drepper@gmail.com>
25723
25724 [BZ #13506]
25725 * time/tzfile.c (__tzfile_read): Check values from file header.
25726
91d2a845
WS
257272011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25728
25729 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25730 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25731 * powerpc/powerpc32/dl-start.S: Likewise.
25732 * powerpc/powerpc32/elf/start.S: Likewise.
25733 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25734 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25735 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25736 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25737 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25738 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25739 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25740 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25741 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25742 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25743 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25744 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25745 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25746 * powerpc/powerpc32/memset.S: Likewise.
25747 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25748 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25749 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25750 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25751 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25752 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25753 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25754 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25755 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25756 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25757 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25758 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25759 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25760
a1267ba1
AZ
257612011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25762
25763 * math/libm-test.inc: Added more nearbyint tests.
25764 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25765 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25766 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25767 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25768
ad8ac1bd
RL
257692011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25770
25771 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25772 FD_CLOEXEC.
25773
1d3e4b61
UD
257742011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25775
25776 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25777 Add wcscpy-ssse3 wcscpy-c.
25778 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25779 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25780 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25781 * sysdeps/x86_64/wcschr.S: New file.
25782 * sysdeps/x86_64/wcsrchr.S: New file.
25783 * string/test-strcmp.c: Remove checking of wcscmp function for
25784 wrong alignments.
25785 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25786 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25787 wcsrchr-sse2 wcsrchr-c.
25788 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25789 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25790 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25791 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25792 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25793 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25794 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25795 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25796 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25797 * wcsmbc/wcschr.c (WCSCHR): New macro.
25798
5b330a2d
UD
257992011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25800
25801 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25802 * wcsmbs/test-wcsrchr.c: New file.
25803 * string/test-strrchr.c: Add wcsrchr support.
25804 (WIDE): New macro.
25805 * wcsmbs/test-wcscpy.c: New file.
25806 * string/test-strcpy.c: Add wcscpy support.
25807 (WIDE): New macro.
26428b7c 25808
f039c043
UD
258092011-12-10 Ulrich Drepper <drepper@gmail.com>
25810
25811 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25812 the inner loop.
25813
850fb039
AS
258142011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25815
25816 [BZ #13472]
25817 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25818
4efbd5cb
UD
258192011-12-04 Ulrich Drepper <drepper@gmail.com>
25820
52ff5dd0 25821 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25822 Minor optimizations.
52ff5dd0 25823
4efbd5cb
UD
25824 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25825 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25826 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25827
8a426e12
UD
258282011-12-03 Ulrich Drepper <drepper@gmail.com>
25829
aff2453d
UD
25830 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25831 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25832 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25833 for gcc to avoid warnings.
25834 * inet/Makefile (tests): Add tst-checks.
25835 * inet/tst-checks.c: New file.
25836
25837 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25838 warning.
25839
25840 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25841 __wmemcmp_sse2.
25842
25843 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25844 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25845
8a426e12
UD
25846 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25847
9bea3473
UD
258482011-12-02 Ulrich Drepper <drepper@gmail.com>
25849
3a965496
UD
25850 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25851 problem.
25852
9bea3473
UD
25853 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25854
f101631b
UD
258552011-11-29 Joseph Myers <joseph@codesourcery.com>
25856
25857 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25858 conditional on GCC version.
25859 (__arch_compare_and_exchange_val_8_acq)
25860 (__arch_compare_and_exchange_val_16_acq)
25861 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25862 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25863 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25864
a98275aa
UD
258652011-12-02 Joseph Myers <joseph@codesourcery.com>
25866
25867 * sysdeps/sh/backtrace.c: New file.
25868
d4cc29a2
AS
258692011-12-02 Andreas Schwab <schwab@redhat.com>
25870
25871 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25872 parenthesis.
25873
6257af2d
AS
258742011-12-01 Andreas Schwab <schwab@redhat.com>
25875
25876 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25877 falling back to utime.
25878
b5f44c1a
AS
258792011-11-30 Andreas Schwab <schwab@redhat.com>
25880
25881 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25882 expectations for float.
25883
f3a6cc0a
AS
258842011-11-29 Andreas Schwab <schwab@redhat.com>
25885
25886 * locale/weight.h (findidx): Add parameter len.
25887 * locale/weightwc.h (findidx): Likewise.
25888 * posix/fnmatch_loop.c (FCT): Adjust caller.
25889 * posix/regcomp.c (build_equiv_class): Likewise.
25890 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25891 * posix/regexec.c (check_node_accept_bytes): Likewise.
25892 * string/strcoll_l.c (STRCOLL): Likewise.
25893 * string/strxfrm_l.c (STRXFRM): Likewise.
25894
9d65ea3a
UD
258952011-11-17 Ulrich Drepper <drepper@gmail.com>
25896
25897 * Makefile.in: Remove CVSOPT handling.
25898 * configure.in: Remove use of AC_REVISION.
25899 * iconvdata/Makefile (distribute): No need to filter out CVS.
25900 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25901 handling.
25902
5583a086
AS
259032011-11-16 Andreas Schwab <schwab@redhat.com>
25904
25905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25906 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25907 [USE_AS_STRNCASECMP_L]: Likewise.
25908 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25909 NO_TLS_DIRECT_SEG_REFS.
25910 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25911 Fix argument offsets for non-PIC.
25912 [USE_AS_STRNCASECMP_L]: Likewise.
25913 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25914 NO_TLS_DIRECT_SEG_REFS.
25915
d62a8200
UD
259162011-11-15 Ulrich Drepper <drepper@gmail.com>
25917
9d65ea3a 25918 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25919 O_CLOEXEC.
25920 * locale/loadlocale.c (_nl_load_locale): Likewise.
25921
09f93bd3
AS
259222011-11-15 Andreas Schwab <schwab@redhat.com>
25923
446514f9
AS
25924 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25925 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25926 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25927 (SYSCALL_GETTIME): Set errno on error.
25928
09f93bd3
AS
25929 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25930 count references to noai6ai_cached.
25931
312be3f9
UD
259322011-11-15 Ulrich Drepper <drepper@gmail.com>
25933
25934 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25935
25936 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25937 FD_CLOEXEC for /proc/self/maps.
25938
25939 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25940 FD_CLOEXEC for /proc/meminfo.
25941
25942 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25943 gai.conf.
25944
25945 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25946 FD_CLOEXEC for given file.
25947
25948 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25949
25950 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25951 FD_CLOEXEC for /etc/hosts.
25952 (_gethtent): Likewise.
25953
25954 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25955
25956 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25957 cancellation and set FD_CLOEXEC for /etc/netgroup.
25958
25959 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25960 reading /etc/publickey.
25961
25962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25963 allow cancellation when reading /etc/group.
25964
25965 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25966 cancellation.
25967 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25968
25969 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25970 when using data file.
25971
25972 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25973
25974 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25975 (write_nis_obj): Use "c" and "e" in fopen.
25976
25977 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25978
25979 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25980
25981 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25982
25983 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25984
25985 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25986 locale.alias.
25987
25988 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25989
25990 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25991
25992 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25993
25994 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25995 file parsing and set FD_CLOEXEC.
25996
82af0fa8
UD
259972011-11-14 Ulrich Drepper <drepper@gmail.com>
25998
25999 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26000
a5fb313c
AS
260012011-11-14 Andreas Schwab <schwab@redhat.com>
26002
26003 * malloc/arena.c (arena_get2): Don't call reused_arena when
26004 _int_new_arena failed.
26005
6abf3465
UD
260062011-11-14 Ulrich Drepper <drepper@gmail.com>
26007
26008 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26009 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26010 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26011 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26014 to compile strcasecmp and strncasecmp.
26015 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26016 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26017
26018 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26019
76e3966e
UD
260202011-11-13 Ulrich Drepper <drepper@gmail.com>
26021
26022 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26023 locale-defines.sym to gen-as-const-headers.
26024 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26025 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26027 to compile strcasecmp and strncasecmp.
26028 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26029 strcasecmp_l and strncasecmp_l.
26030 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26031 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26032 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26033 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26034 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26035 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26036 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26037 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26038 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26039 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26040 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26041
ab26144e
UD
260422011-11-12 Ulrich Drepper <drepper@gmail.com>
26043
7edb22ef
UD
26044 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26045 result of SYSDEP_GETTIME_CPU to retval.
26046 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26047 parameter list to macro. Remove trailing semicolon. Adjust users.
26048
9694fc44
UD
26049 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26050 variable.
26051
8ad89ef8
UD
26052 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26053 mantissa words.
26054 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26055
0c822ef9
UD
26056 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26057 from unused variable.
26058
874e0564
UD
26059 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26060 DWARF definitions.
26061 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26062 for assembling.
26063
3a2edc79
UD
26064 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26065 over namespaces.
26066
f3c2577f
UD
26067 * sunrpc/rpc_prot.c (rejected): Fix case value.
26068
294ce126
UD
26069 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26070 unsigned long long int to avoid warnings in shift.
26071
5e2b63c6
UD
26072 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26073 of use of trans.
26074 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26075 variable tmp.
26076
e7f4b08e
UD
26077 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26078 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26079 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26080
ab26144e
UD
26081 * nis/nis_table.c (nis_list): Use variable of correct type for
26082 result of __follow_path call.
26083
8a6d5255
AZ
260842011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26085
26086 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26087 of math functions ceil, trunc, floor, round, and sqrt, when
26088 avaliable on the platform.
26089 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26090 name clash.
26091 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26092 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26093 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26094
aaddc98c
MP
260952011-10-30 Marek Polacek <mpolacek@redhat.com>
26096
26097 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26098 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26099
95b7042b
RM
261002011-11-11 Roland McGrath <roland@hack.frob.com>
26101
26102 * include/unistd.h: Fix __readlink return type.
26103 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26104
57769839
UD
261052011-11-11 Ulrich Drepper <drepper@gmail.com>
26106
26107 * stdlib/ucontext.h: Undo last change for makecontext.
26108
edc5984d
AS
261092011-11-11 Andreas Schwab <schwab@redhat.com>
26110
98591e58
AS
26111 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26112
edc5984d
AS
26113 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26114 * setjmp/setjmp.h: Mark functions as non-leaf.
26115 * setjmp/bits/setjmp2.h: Likewise.
26116 * stdlib/ucontext.h: Likewise.
26117
77cdc054
AS
261182011-11-10 Andreas Schwab <schwab@redhat.com>
26119
26120 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26121 (reused_arena): Don't check arena limit.
26122 (arena_get2): Atomically check arena limit.
26123
fe72eebd
UD
261242011-11-08 Ulrich Drepper <drepper@gmail.com>
26125
5f078c32
UD
26126 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26127 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26128
fe72eebd
UD
26129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26130 instructions.
26131
ae1bc2fa
AS
261322011-11-07 Andreas Schwab <schwab@redhat.com>
26133
7583a88d
AS
26134 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26135 handler when locking.
26136
ae1bc2fa
AS
26137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26138 Fix size of allocated buffer.
26139
10fb0bfa
AS
261402011-11-04 Andreas Schwab <schwab@redhat.com>
26141
998832a4
AS
26142 [BZ #10103]
26143 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26144 declarations for long double functions.
26145 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26146
10fb0bfa
AS
26147 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26148
3d7ba52b
AS
261492011-11-03 Andreas Schwab <schwab@redhat.com>
26150
a9ae54a1
AS
26151 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26152 installed.
26153
3d7ba52b
AS
26154 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26155 is disabled.
26156
bc8db248
ST
261572011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26158
26159 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26160
45b96dd6
AS
261612011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26162
647776f6
AS
26163 * include/alloca.h (stackinfo_alloca_round): Define.
26164 (extend_alloca): Use it.
26165 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26166 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26167 here.
26168
d91a8b93
AS
26169 * scripts/check-local-headers.sh: Ignore libaudit.h.
26170
45b96dd6
AS
26171 * nscd/Makefile (extra-objs): Make recursively expanded.
26172
432d41ce
UD
261732011-11-01 Ulrich Drepper <drepper@gmail.com>
26174
34372fc6
UD
26175 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26176 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26177
fadb59f8
UD
26178 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26179 * posix/tst-rfc3484-2.c: Likewise.
26180 * posix/tst-rfc3484-3.c: Likewise.
26181
78239589
UD
26182 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26183 process_vm_writev.
26184 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26185 process_vm_writev.
26186 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26187 process_vm_writev from libc using GLIBC_2.15 version.
26188
432d41ce
UD
26189 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26190
02f9c6cf
PP
261912011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26192
26193 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26194 stack usage.
26195
3a2c0242
UD
261962011-10-31 Ulrich Drepper <drepper@gmail.com>
26197
f4ec4833
UD
26198 [BZ #13367]
26199 * nss/getent.c (initgroups_keys): Show error message in case no group
26200 names are given.
26201
3a2c0242
UD
26202 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26203 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26204 __bump_nl_timestamp.
26205 * nscd/connections (nscd_init): When host database is served open
26206 netlink socket and request notification about configuration changes.
26207 (main_loop_poll): Track netlink file descriptor and bump timestamp
26208 in case data becomes available.
26209 (main_loop_epoll): Likewise.
26210 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26211 (database_pers_head): Add extra_data fileds.
26212 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26213 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26214 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26215 Adjust caller.
26216 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26217 in6ai data, call __free_in6ai.
26218 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26219 Add -DHAVE_NETLINK.
26220 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26221 interface information. Reuse previous data if netlink timestamp
26222 is not changed.
26223 (__bump_nl_timestamp): New function.
26224 (__free_in6ai): New function.
26225
636064eb
UD
262262011-10-30 Ulrich Drepper <drepper@gmail.com>
26227
26228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26229 close_not_cancel_no_status here.
26230 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26231
9beb2334
UD
262322011-10-29 Ulrich Drepper <drepper@gmail.com>
26233
6ef76f3b
UD
26234 [BZ #13276]
26235 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26236 return value.
26237
0ffc4f3e 26238 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26239 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26240 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26241
cb95113e
UD
262422011-07-03 Andreas Jaeger <aj@suse.de>
26243
26244 [BZ #10709]
26245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26246 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26247 * math/libm-test.inc (sin_test): Add test case.
26248
a1b560ff
UD
262492011-10-29 Ulrich Drepper <drepper@gmail.com>
26250
c9aaface
UD
26251 [BZ #13337]
26252 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26253 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26254
d272e7f1
UD
26255 * elf/chroot_canon.c (chroot_canon): Cleanups.
26256
1bc33071
UD
26257 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26258
1760874d
TJ
26259 [BZ #13335]
26260 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26261 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26262
51d91b18
UD
26263 * string/test-strchr.c: Make usable for strchrnul testing.
26264 * string/test-strchrnul.c: New file.
26265 * string/Makefile (strop-tests): Add strchrnul.
26266
a1b560ff 26267 * po/it.po: Update from translation team.
b611fb81 26268 * po/es.po: Likewise.
a1b560ff 26269
a5b81e1f
UD
262702011-10-28 Ulrich Drepper <drepper@gmail.com>
26271
fd52bc6d
UD
26272 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26273 the three constants needed as parameters. Drop the others.
26274 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26275 __m128i_strloadu_tolower.
52e4b9eb
UD
26276 Create and initialize variable zero and use it in all the places
26277 where _mm_setzero_si128 was used.
fd52bc6d 26278
a5b81e1f
UD
26279 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26280 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26281 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26282 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26283 anymore.
26284 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26285 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26286 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26287 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26288 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26289 __mpranred, __mptan.
26290 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26291 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26292 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26293 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26294 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26295 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26296 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26297 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26298 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26299
b4343346
AS
263002011-10-28 Andreas Schwab <schwab@redhat.com>
26301
0c92d8a8
AS
26302 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26303 redefine if SHARED.
26304 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26305
b4343346
AS
26306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26307 wide char related routines to wcsmbs subdir.
26308
3871f58f
AS
263092011-10-27 Andreas Schwab <schwab@redhat.com>
26310
26311 [BZ #13344]
26312 * misc/sys/cdefs.h (__THROWNL): Define.
26313 * posix/unistd.h: Use __THREADNL instead of __THREAD
26314 for memory synchronization functions.
26315
94d44d9f
RM
263162011-10-26 Roland McGrath <roland@hack.frob.com>
26317
21b64b15 26318 [BZ #13349]
94d44d9f
RM
26319 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26320 doesn't exist.
26321 * manual/stdio.texi (Obstack Streams): Node removed.
26322
f6ce9294
AS
263232011-10-26 Andreas Schwab <schwab@redhat.com>
26324
80479147
AS
26325 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26326 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26327 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26328
f6ce9294
AS
26329 * math/math_private.h (math_force_eval): Allow non-addressable
26330 arguments.
26331 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26332
618280a1
UD
263332011-10-25 Ulrich Drepper <drepper@gmail.com>
26334
e0016b11
UD
26335 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26336 file is not needed.
26337
26338 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26339 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26340 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26341 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26343 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26344 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26345 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26346 Add AVX variants.
26347 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26348 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26349 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26350 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26351 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26352 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26353 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26354 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26355 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26356 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26357 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26358 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26360 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26361 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26362 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26363 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26364 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26365 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26366
26367 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26368 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26369
618280a1
UD
26370 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26371 place. Use VEX encoding when compiling for AVX.
26372
37822576
AS
263732011-10-25 Andreas Schwab <schwab@redhat.com>
26374
1f1e1947
AS
26375 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26376 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26377
37822576
AS
26378 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26379
31ea014d
UD
263802011-10-25 Ulrich Drepper <drepper@gmail.com>
26381
d7826aa1 26382 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26383 useless if() expression.
d7826aa1
UD
26384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26385 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26386 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26387 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26388 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26389 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26390 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26392 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26393 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26394 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26395 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26396 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26398 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26399 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26400 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26402 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26403
31ea014d
UD
26404 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26405
16437fec
AS
264062011-10-25 Andreas Schwab <schwab@redhat.com>
26407
26408 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26409 condition.
26410 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26411
31d3cc00
UD
264122011-10-25 Ulrich Drepper <drepper@gmail.com>
26413
26414 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26415 .text section. Avoid duplicate constants.
26416 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26418 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26424 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26425 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26426 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26427 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26428 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26429 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26430 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26431 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26433 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26434 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26436 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26438 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26439 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26440 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26441 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26442 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26443 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26444 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26445 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26447 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26448 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26449 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26450 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26451 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26452 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26453 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26454 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26455 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26457 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26458 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26459 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26460 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26461
58985aa9
UD
264622011-10-24 Ulrich Drepper <drepper@gmail.com>
26463
202c9deb
UD
26464 * sysdeps/x86_64/dla.h: Move to ...
26465 * sysdeps/x86_64/fpu/dla.h: ...here.
26466 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26467 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26468
af968f62
UD
26469 * config.make.in: Add have-mfma4 entry.
26470 * configure.in: Substitute libc_cv_cc_fma4.
26471 * math/Makefile (dbl-only-routines): Add sincostab.
26472 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26473 Use __sincostab not sincos.
26474 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26475 name is a macro.
26476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26480 using __copysign.
26481 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26482 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26483 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26484 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26485 and __inv.
26486 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26487 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26488 __copysign.
26489 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26490 define aliases when function name is a macro.
26491 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26492 sysdeps/ieee754/dbl-64/sincos.tbl.
26493 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26494 fma4-enabled routines.
26495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26496 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26497 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26498 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26500 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26501 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26502 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26503 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26504 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26505 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26506 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26507 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26508 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26509 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26510 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26511 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26512 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26513 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26514 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26515 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26516 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26519 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26520 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26521 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26522 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26523 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26524 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26525
58985aa9
UD
26526 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26527 rename.
26528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26536
a201fbcf
AS
265372011-10-24 Andreas Schwab <schwab@redhat.com>
26538
26539 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26540
fc2ee42a
LD
265412011-10-23 Ulrich Drepper <drepper@gmail.com>
26542
bb3129bd
UD
26543 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26544
0275fff8
UD
26545 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26546 prediction.
26547 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26548
2fa2ae85
UD
26549 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26550 Remove unused variable magic_bits.
26551 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26552
fc2ee42a
LD
26553 * string/strnlen.c: Define and use STRNLEN macro.
26554 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26555 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26556 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26557 * wcsmbs/wcslen.c: Define and use WCSLEN.
26558 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26559 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26560 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26561 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26562 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26563 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26564 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26565
ce7dd29f
LD
265662011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26567
26568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26569 strnlen-sse2-no-bsf.
26570 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26572 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26573 Add strnlen support.
26574 (USE_AS_STRNLEN): New macro.
26575 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26577 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26578 * sysdeps/x86_64/wcslen.S: New file.
26579
979c70a3
MZ
265802011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26581
26582 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26583 XMM-moves are used for copying on small sizes.
26584
2d09f82f
LD
265852011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26586
26587 * wcsmbs/Makefile (strop-tests): Add wcschr.
26588 * wcsmbs/test-wcschr.c: New file.
26589 * string/test-strchr.c: Update.
26590 Add wcschr support.
26591 (WIDE): New macro.
26592
619fccca
LD
265932011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26594
2d09f82f 26595 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26596 * wcsmbs/test-wcslen.c: New file.
26597 * string/test-strlen.c: Update.
26598 Add wcslen support.
26599 (WIDE): New macro.
26600
09f699ea
UD
266012011-10-23 Ulrich Drepper <drepper@gmail.com>
26602
26603 * po/it.po: Update from translation team.
26604
95584d3b
LD
266052011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26606
26607 * sysdeps/x86_64/wcscmp.S: Update.
26608 Fix wrong comparison semantics.
26609 wcscmp shall use signed comparison not unsigned.
26610 Don't use substraction to avoid overflow bug.
26611 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26612 * wcsmbc/wcscmp.c: Likewise.
26613 * string/test-strcmp.c: Likewise.
26614 Add new tests to check cases with negative values.
26615
c8b3296b
UD
266162011-10-23 Ulrich Drepper <drepper@gmail.com>
26617
26618 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26619 * sysdeps/x86_64/dla.h: ...here. New file.
26620 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26629
246ad57a
AS
266302011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26631
26632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26633 __ynl_finite aliases.
26634
a1a87169
UD
266352011-10-22 Ulrich Drepper <drepper@gmail.com>
26636
0d355eb7
UD
26637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26638
a1a87169
UD
26639 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26640 define DLA_FMA.
26641 [DLA_FMA] (EMULV): Use DLA_FMA.
26642 [DLA_FMA] (MUL12): Use EMULV.
26643 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26644 that are not needed.
26645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26652
ee2aafe0
AS
266532011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26654
26655 * math/s_nan.c: Undef __nan.
26656 * math/s_nanf.c: Undef __nanf.
26657 * math/s_nanl.c: Undef __nanl.
26658 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26659 "math_private.h".
26660
bc62c2fb
UD
266612011-10-22 Ulrich Drepper <drepper@gmail.com>
26662
77425c63
UD
26663 * math/s_catan.c: Add branch predictions.
26664 * math/s_catanf.c: Likewise.
26665 * math/s_catanh.c: Likewise.
26666 * math/s_catanhf.c: Likewise.
26667 * math/s_catanhl.c: Likewise.
26668 * math/s_catanl.c: Likewise.
26669 * math/s_cexp.c: Likewise.
26670 * math/s_cexpf.c: Likewise.
26671 * math/s_cexpl.c: Likewise.
26672 * math/s_clog.c: Likewise.
26673 * math/s_clog10.c: Likewise.
26674 * math/s_clog10f.c: Likewise.
26675 * math/s_clog10l.c: Likewise.
26676 * math/s_clogf.c: Likewise.
26677 * math/s_clogl.c: Likewise.
26678 * math/s_csqrt.c: Likewise.
26679 * math/s_csqrtf.c: Likewise.
26680 * math/s_csqrtl.c: Likewise.
26681 * math/s_ctanf.c: Likewise.
26682 * math/s_ctanh.c: Likewise.
26683 * math/s_ctanhf.c: Likewise.
26684 * math/s_ctanhl.c: Likewise.
26685 * math/s_ctanl.c: Likewise.
26686
bc62c2fb
UD
26687 * math/math_private.h: Define __nan, __nanf, __nanl.
26688 * math/s_cacosh.c: Include <math_private.h>.
26689 * math/s_cacoshl.c: Likewise.
26690 * math/s_casinh.c: Likewise.
26691 * math/s_casinhf.c: Likewise.
26692 * math/s_casinhl.c: Likewise.
26693 * math/s_ccos.c: Rely entire on ccosh.
26694 * math/s_ccosf.c: Rely entire on ccoshf.
26695 * math/s_ccosl.c: Rely entirely on ccoshl.
26696 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26697 Remove tests for FE_INVALID.
26698 * math/s_ccoshf.c: Likewise.
26699 * math/s_ccoshl.c: Likewise.
26700 * math/s_csin.c: Likewise.
26701 * math/s_csinf.c: Likewise.
26702 * math/s_csinh.c Likewise.
26703 * math/s_csinhf.c: Likewise.
26704 * math/s_csinhl.c: Likewise.
26705 * math/s_csinl.c: Likewise.
26706 * math/s_ctan.c: Likewise.
26707 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26708 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26709 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26710
8ec250a4
UD
267112011-10-21 Ulrich Drepper <drepper@gmail.com>
26712
c196fed8
UD
26713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26714 compilation problems.
26715
8ec250a4
UD
26716 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26717 __builtin_expect.
26718
8d4f46c6
UD
267192011-10-20 Ulrich Drepper <drepper@gmail.com>
26720
ed72b654
UD
26721 * sysdeps/i386/configure.in: Test for -mfma4 option.
26722 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26723 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26724 COMMON_CPUID_INDEX_80000001.
26725 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26726 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26727 use it if FMA3 is not supported.
26728 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26729
8d4f46c6
UD
26730 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26731 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26732
d45c60c2
AS
267332011-10-20 Andreas Schwab <schwab@redhat.com>
26734
26735 [BZ #12892]
26736 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26737 it would create a cycle with a link time dependency.
26738
d9a4d2ab
UD
267392011-10-19 Ulrich Drepper <drepper@gmail.com>
26740
855d1560
UD
26741 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26742 instruction.
26743 * string/Makefile (strop-tests): Add rawmemchr.
26744 * string/test-rawmemchr.c: New file.
26745
d9a4d2ab
UD
26746 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26747 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26748 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26749 when compiling str{,n}casecmp and when AVX is available. Hook up
26750 new optimized code in initializers.
26751
8f3b1ffe
AS
267522011-10-19 Andreas Schwab <schwab@redhat.com>
26753
26754 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26755 __feraiseexcept instead of feraiseexcept.
26756
d38f1dba
UD
267572011-10-18 Ulrich Drepper <drepper@gmail.com>
26758
d9a8d0ab
UD
26759 * math/math_private.h: Define defaults for libc_fetestexcept and
26760 libc_feupdateenv.
26761 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26762 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26763 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26764 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26765 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26766 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26767 libc_fetestexcept and libc_feupdateenv.
26768
4855e3dd
UD
26769 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26770 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26771 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26772 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26773 libc_feholdexcept_setround.
26774
581d30e3
UD
26775 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26776 Add s_nearbyint-c and s_nearbyintf-c.
26777 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26778 nearbyintf inlines.
26779 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26780 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26781 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26782 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26783
d38f1dba
UD
26784 * math/math_private.h: Define defaults for libc_fegetround,
26785 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26786 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26787 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26788 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26789 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26790 standard functions.
26791 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26792 Remove comments and hacks for old compiler versions.
26793 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26794 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26795 libc_feholdexceptl.
26796
caa6c9d8
AS
267972011-10-18 Andreas Schwab <schwab@redhat.com>
26798
26799 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26800 (__feraiseexcept_renamed): Add __NTH.
26801 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26802 namespace violations.
26803
97c066e6
UD
268042011-10-17 Ulrich Drepper <drepper@gmail.com>
26805
99ce7b04
UD
26806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26807
1004d182
UD
26808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26809
228a984d
UD
26810 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26811 recently added interfaces.
26812 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26813
c8553a6a
UD
26814 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26815 about macro parameter expansion.
26816
ed22dcf6
UD
26817 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26818 __NO_MATH_INLINES is defined. Cleanups.
26819
26820 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26821 and __floorf is target has SSE4.1.
26822 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26823 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26824 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26825 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26826
b171c137
UD
26827 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26828 name.
26829 (floorf): Likewise.
26830
97c066e6
UD
26831 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26832
629f62ef
AS
268332011-10-17 Andreas Schwab <schwab@redhat.com>
26834
49a43d80
AS
26835 * misc/sys/cdefs.h: Fix last change.
26836
629f62ef
AS
26837 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26838 database lookup.
26839
e453f6cd
UD
268402011-10-16 Ulrich Drepper <drepper@gmail.com>
26841
aa78043a
UD
26842 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26843
ad0f5cad
UD
26844 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26846 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26851 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26852 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26853 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26854 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26855 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26856 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26857 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26858 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26859 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26860 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26861 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26862 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26863 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26864 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26865 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26866
26867 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26868 ceil, ceilf, floor, floorf.
26869
26870 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26871 Perform IRELATIVE relocations last.
26872
e453f6cd
UD
26873 * elf/do-rel.h: Add another parameter nrelative, replacing the
26874 local variable with the same name. Change name of the function
26875 to end in Rel or Rela (uppercase).
26876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26877 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26878 elf_dynamic_do_##reloc function.
26879
fd5bdc09
UD
268802011-10-15 Ulrich Drepper <drepper@gmail.com>
26881
79b195b5
UD
26882 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26883 is sufficient, at least on modern CPUs.
26884
d4a28569
UD
26885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26886
b61099b5
UD
26887 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26889
bcf01e6d
UD
26890 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26891 __expl_finite.
26892 * math/bits/math-finite.h: Add entries for exp.
26893 * math/e_expl.c: Add __*_finite alias.
26894 * sysdeps/i386/fpu/e_exp.S: Likewise.
26895 * sysdeps/i386/fpu/e_expf.S: Likewise.
26896 * sysdeps/i386/fpu/e_expl.c: Likewise.
26897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26898 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26901 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26902 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26903 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26904
ba1a0d59
UD
26905 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26906 is sufficient, at least on modern CPUs.
26907
fd5bdc09
UD
26908 * ctype/ctype-info.c (__ctype_init): Define.
26909 * include/ctype.h (__ctype_init): Declare.
26910 (__ctype_b_loc): The variable is always initialized.
26911 (__ctype_toupper_loc): Likewise.
26912 (__ctype_tolower_loc): Likewise.
26913 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26914 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26915
7872cfb0
AS
269162011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26917
b468825a
AS
26918 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26919
7872cfb0
AS
26920 * configure.in: Also look in $cxxmachine/include for C++ system
26921 headers.
26922
be13f7bf
LD
269232011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26924
26925 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26926 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26927 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26928 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26929 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26930 (USE_AS_WMEMCMP): New macro.
26931 Fixing indents.
26932 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26933 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26934 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26935 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26937 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26938 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26939 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26940 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26941 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26942 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26943 (USE_AS_WMEMCMP): New macro.
26944 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26945 * sysdeps/string/test-memcmp.c: Update.
26946 Fix simple_wmemcmp.
26947 Add new tests.
26948 * wcsmbs/wmemcmp.c: Update.
26949 (WMEMCMP): New macro.
26950 Fix overflow bug.
26951
556a2007
AJ
269522011-10-12 Andreas Jaeger <aj@suse.de>
26953
26954 [BZ #13268]
26955 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26956
538faaa7
UD
269572011-10-15 Ulrich Drepper <drepper@gmail.com>
26958
ab6737ff
UD
26959 * libio/iofwide.c (do_length): Avoid warning.
26960
538faaa7
UD
26961 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26962
396a21b1
UD
269632011-10-14 Ulrich Drepper <drepper@gmail.com>
26964
cdf2901f
UD
26965 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26966
38ad40ce
UD
26967 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26968 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26969 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26970 * sysdeps/i386/i686/fpu/e_log.S: New file.
26971 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26972 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26973
396a21b1
UD
26974 * ctype/ctype.h: Add support for inlined isXXX functions when
26975 compiling C++ code.
26976
6b1f68c9
AS
269772011-10-14 Andreas Schwab <schwab@redhat.com>
26978
349290c0
AS
26979 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26980
6b1f68c9
AS
26981 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26982
f2282d42
RM
269832011-10-13 Roland McGrath <roland@hack.frob.com>
26984
26985 [BZ #13291]
26986 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26987
5298ffa8
AS
269882011-10-13 Andreas Schwab <schwab@redhat.com>
26989
714fad23
AS
26990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26991 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26992 feraiseexcept.
26993
81dcc7fb
AS
26994 * sysdeps/x86_64/memrchr.S: Check for zero size.
26995
5298ffa8
AS
26996 * string/stratcliff.c: Add memrchr tests.
26997
951fbcec
LD
269982011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26999
27000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27001 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27002 rawmemchr-sse2 rawmemchr-sse2-bsf.
27003 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27004 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27005 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27006 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27007 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27008 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27009 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27010 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27011 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27012 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27013 * string/memrchr.c (MEMRCHR): New macro.
27014
0ac5ae23
UD
270152011-10-12 Ulrich Drepper <drepper@gmail.com>
27016
27017 Add integration with gcc's -ffinite-math-only and optimize wrapper
27018 functions in libm.
27019 * Versions.def: Define GLIBC_2.15 version for libm.
27020 * math/Makefile (headers): Add bits/math-finite.h.
27021 * math/bits/math-finite.h: New file.
27022 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27023 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27024 * math/e_acoshl.c: Add __*_finite alias.
27025 * math/e_acosl.c: Likewise.
27026 * math/e_asinl.c: Likewise.
27027 * math/e_atan2l.c: Likewise.
27028 * math/e_atanhl.c: Likewise.
27029 * math/e_coshl.c: Likewise.
27030 * math/e_exp10.c: Likewise.
27031 * math/e_exp10f.c: Likewise.
27032 * math/e_exp10l.c: Likewise.
27033 * math/e_exp2l.c: Likewise.
27034 * math/e_fmodl.c: Likewise.
27035 * math/e_gammal_r.c: Likewise.
27036 * math/e_hypotl.c: Likewise.
27037 * math/e_j0l.c: Likewise.
27038 * math/e_j1l.c: Likewise.
27039 * math/e_jnl.c: Likewise.
27040 * math/e_lgammal_r.c: Likewise.
27041 * math/e_log10l.c: Likewise.
27042 * math/e_log2l.c: Likewise.
27043 * math/e_logl.c: Likewise.
27044 * math/e_powl.c: Likewise.
27045 * math/e_sinhl.c: Likewise.
27046 * math/e_sqrtl.c: Likewise.
27047 * math/e_scalb.c: Completely rewritten and optimized.
27048 * math/e_scalbf.c: Likewise.
27049 * math/e_scalbl.c: Likewise.
27050 * math/w_acos.c: Likewise.
27051 * math/w_acosf.c: Likewise.
27052 * math/w_acosl.c: Likewise.
27053 * math/w_acosh.c: Likewise.
27054 * math/w_acoshf.c: Likewise.
27055 * math/w_acoshl.c: Likewise.
27056 * math/w_asin.c: Likewise.
27057 * math/w_asinf.c: Likewise.
27058 * math/w_asinl.c: Likewise.
27059 * math/w_atan2.c: Likewise.
27060 * math/w_atan2f.c: Likewise.
27061 * math/w_atan2l.c: Likewise.
27062 * math/w_atanh.c: Likewise.
27063 * math/w_atanhf.c: Likewise.
27064 * math/w_atanhl.c: Likewise.
27065 * math/w_exp10.c: Likewise.
27066 * math/w_exp10f.c: Likewise.
27067 * math/w_exp10l.c: Likewise.
27068 * math/w_fmod.c: Likewise.
27069 * math/w_fmodf.c: Likewise.
27070 * math/w_fmodl.c: Likewise.
27071 * math/w_j0.c: Likewise.
27072 * math/w_j0f.c: Likewise.
27073 * math/w_j0l.c: Likewise.
27074 * math/w_j1.c: Likewise.
27075 * math/w_j1f.c: Likewise.
27076 * math/w_j1l.c: Likewise.
27077 * math/w_jn.c: Likewise.
27078 * math/w_jnf.c: Likewise.
27079 * math/w_log.c: Likewise.
27080 * math/w_logf.c: Likewise.
27081 * math/w_logl.c: Likewise.
27082 * math/w_log10.c: Likewise.
27083 * math/w_log10f.c: Likewise.
27084 * math/w_log10l.c: Likewise.
27085 * math/w_log2.c: Likewise.
27086 * math/w_log2f.c: Likewise.
27087 * math/w_log2l.c: Likewise.
27088 * math/w_pow.c: Likewise.
27089 * math/w_powf.c: Likewise.
27090 * math/w_powl.c: Likewise.
27091 * math/w_remainder.c: Likewise.
27092 * math/w_remainderf.c: Likewise.
27093 * math/w_remainderl.c: Likewise.
27094 * math/w_scalb.c: Likewise.
27095 * math/w_scalbf.c: Likewise.
27096 * math/w_scalbl.c: Likewise.
27097 * math/w_sqrt.c: Likewise.
27098 * math/w_sqrtf.c: Likewise.
27099 * math/w_sqrtl.c: Likewise.
27100 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27101 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27102 used.
27103 * math/math_private.h: Declare __kernel_standard_f.
27104 * math/w_cosh.c: Remove cruft and optimize a bit.
27105 * math/w_coshf.c: Likewise.
27106 * math/w_coshl.c: Likewise.
27107 * math/w_exp2.c: Likewise.
27108 * math/w_exp2f.c: Likewise.
27109 * math/w_exp2l.c: Likewise.
27110 * math/w_hypot.c: Likewise.
27111 * math/w_hypotf.c: Likewise.
27112 * math/w_hypotl.c: Likewise.
27113 * math/w_lgamma.c: Likewise.
27114 * math/w_lgamma_r.c: Likewise.
27115 * math/w_lgammaf.c: Likewise.
27116 * math/w_lgammaf_r.c: Likewise.
27117 * math/w_lgammal.c: Likewise.
27118 * math/w_lgammal_r.c: Likewise.
27119 * math/w_sinh.c: Likewise.
27120 * math/w_sinhf.c: Likewise.
27121 * math/w_sinhl.c: Likewise.
27122 * math/w_tgamma.c: Likewise.
27123 * math/w_tgammaf.c: Likewise.
27124 * math/w_tgammal.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27127 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27128 Minor optimizations. Pretty printing. Remove cruft.
27129 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27130 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27131 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27132 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27133 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27134 * sysdeps/i386/fpu/e_asin.S: Likewise.
27135 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27136 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27137 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27138 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27139 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27140 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27141 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27142 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27143 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27144 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27145 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27146 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27147 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27148 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27149 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27150 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27151 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27152 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27153 * sysdeps/i386/fpu/e_log.S: Likewise.
27154 * sysdeps/i386/fpu/e_log10.S: Likewise.
27155 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27156 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27157 * sysdeps/i386/fpu/e_log2.S: Likewise.
27158 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27159 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27160 * sysdeps/i386/fpu/e_logf.S: Likewise.
27161 * sysdeps/i386/fpu/e_logl.S: Likewise.
27162 * sysdeps/i386/fpu/e_pow.S: Likewise.
27163 * sysdeps/i386/fpu/e_powf.S: Likewise.
27164 * sysdeps/i386/fpu/e_powl.S: Likewise.
27165 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27166 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27167 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27168 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27169 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27170 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27171 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27172 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27173 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27174 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27178 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27179 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27181 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27185 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27194 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27195 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27198 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27199 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27200 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27201 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27202 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27203 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27204 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27205 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27206 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27207 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27208 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27209 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27210 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27211 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27212 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27213 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27214 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27215 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27226 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27227 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27231 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27252 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27254 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27257 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27259 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27262 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27263 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27265 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27267 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27268 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27269 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27270 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27271 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27272 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27273 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27274 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27275 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27276 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27277 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27278 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27279 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27280 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27282 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27283 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27284 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27285 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27286 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27287 (__isnanf): Likewise.
27288 (__isinf_ns): Likewise.
27289 (__isinf_nsf): Likewise.
27290 (__finite): Likewise.
27291 (__finitef): Likewise.
27292 (__ieee754_sqrt): Define as macro.
27293 (__ieee754_sqrtf): Define as macro.
27294 (__ieee754_sqrtl): Define as macro.
27295 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27296 inlined copy.
27297 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27298 __FINITE_MATH_ONLY__ consistent.
27299 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27300
12cc2fcd
AS
273012011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27302
a843a204
AS
27303 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27304 of rawmemchr.
27305
12cc2fcd
AS
27306 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27307
c853acd5
UD
273082011-10-09 Ulrich Drepper <drepper@gmail.com>
27309
27310 * po/ja.po: Update from translation team.
27311
c658d255
RM
273122011-10-08 Roland McGrath <roland@hack.frob.com>
27313
110946e4
RM
27314 * locale/programs/locarchive.c (prepare_address_space): New function.
27315 (create_archive, enlarge_archive, open_archive): Use it.
27316
50604220
RM
27317 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27318 inside [SHARED], where it is used.
27319
c658d255
RM
27320 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27321
27322 * nss/getent.c (netgroup_keys): Remove unused variable.
27323 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27324
6a621eb7
UD
273252011-10-08 Ulrich Drepper <drepper@gmail.com>
27326
7edb55ce
UD
27327 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27328 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27330 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27331 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27332 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27333 * math/Makefile (libm-calls): Add s_isinf_ns.
27334 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27335 * math/multc3.c: Likewise.
27336 * math/s_casin.c: Likewise.
27337 * math/s_casinf.c: Likewise.
27338 * math/s_casinl.c: Likewise.
27339 * math/s_ccos.c: Likewise.
27340 * math/s_ccosf.c: Likewise.
27341 * math/s_ccosl.c: Likewise.
27342 * math/s_ctan.c: Likewise.
27343 * math/s_ctanf.c: Likewise.
27344 * math/s_ctanh.c: Likewise.
27345 * math/s_ctanhf.c: Likewise.
27346 * math/s_ctanhl.c: Likewise.
27347 * math/s_ctanl.c: Likewise.
27348 * math/w_fmod.c: Likewise.
27349 * math/w_fmodf.c: Likewise.
27350 * math/w_fmodl.c: Likewise.
27351 * math/w_remainder.c: Likewise.
27352 * math/w_remainderf.c: Likewise.
27353 * math/w_remainderl.c: Likewise.
27354 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27355 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27356 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27358 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27359 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27360 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27361 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27362
187da0ae
UD
27363 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27364 of the number.
27365 * stdio-common/printf_fphex.c: Likewise.
27366 * stdio-common/printf_size.c: Likewise.
27367
9277c064
UD
27368 * math/e_exp10.c: Include math_private.h using <...> not "...".
27369 * math/e_exp10f.c: Likewise.
27370 * math/e_exp10l.c: Likewise.
27371 * math/e_exp2l.c: Likewise.
27372 * math/e_j0l.c: Likewise.
27373 * math/e_j1l.c: Likewise.
27374 * math/e_jnl.c: Likewise.
27375 * math/e_lgammal_r.c: Likewise.
27376 * math/e_rem_pio2l.c: Likewise.
27377 * math/e_scalb.c: Likewise.
27378 * math/e_scalbf.c: Likewise.
27379 * math/e_scalbl.c: Likewise.
27380 * math/k_cosl.c: Likewise.
27381 * math/k_sinl.c: Likewise.
27382 * math/k_tanl.c: Likewise.
27383 * math/s_cacoshf.c: Likewise.
27384 * math/s_catan.c: Likewise.
27385 * math/s_catanf.c: Likewise.
27386 * math/s_catanh.c: Likewise.
27387 * math/s_catanhf.c: Likewise.
27388 * math/s_catanhl.c: Likewise.
27389 * math/s_catanl.c: Likewise.
27390 * math/s_ccosh.c: Likewise.
27391 * math/s_ccoshf.c: Likewise.
27392 * math/s_ccoshl.c: Likewise.
27393 * math/s_cexp.c: Likewise.
27394 * math/s_cexpf.c: Likewise.
27395 * math/s_cexpl.c: Likewise.
27396 * math/s_clog.c: Likewise.
27397 * math/s_clog10.c: Likewise.
27398 * math/s_clog10f.c: Likewise.
27399 * math/s_clog10l.c: Likewise.
27400 * math/s_clogf.c: Likewise.
27401 * math/s_clogl.c: Likewise.
27402 * math/s_csin.c: Likewise.
27403 * math/s_csinf.c: Likewise.
27404 * math/s_csinh.c: Likewise.
27405 * math/s_csinhf.c: Likewise.
27406 * math/s_csinhl.c: Likewise.
27407 * math/s_csinl.c: Likewise.
27408 * math/s_csqrt.c: Likewise.
27409 * math/s_csqrtf.c: Likewise.
27410 * math/s_csqrtl.c: Likewise.
27411 * math/s_ctan.c: Likewise.
27412 * math/s_ctanf.c: Likewise.
27413 * math/s_ctanh.c: Likewise.
27414 * math/s_ctanhf.c: Likewise.
27415 * math/s_ctanhl.c: Likewise.
27416 * math/s_ctanl.c: Likewise.
27417 * math/s_ldexp.c: Likewise.
27418 * math/s_ldexpf.c: Likewise.
27419 * math/s_ldexpl.c: Likewise.
27420 * math/s_significand.c: Likewise.
27421 * math/s_significandf.c: Likewise.
27422 * math/s_significandl.c: Likewise.
27423 * math/w_acos.c: Likewise.
27424 * math/w_acosf.c: Likewise.
27425 * math/w_acosh.c: Likewise.
27426 * math/w_acoshf.c: Likewise.
27427 * math/w_acoshl.c: Likewise.
27428 * math/w_acosl.c: Likewise.
27429 * math/w_asin.c: Likewise.
27430 * math/w_asinf.c: Likewise.
27431 * math/w_asinl.c: Likewise.
27432 * math/w_atan2.c: Likewise.
27433 * math/w_atan2f.c: Likewise.
27434 * math/w_atan2l.c: Likewise.
27435 * math/w_atanh.c: Likewise.
27436 * math/w_atanhf.c: Likewise.
27437 * math/w_atanhl.c: Likewise.
27438 * math/w_cosh.c: Likewise.
27439 * math/w_coshf.c: Likewise.
27440 * math/w_coshl.c: Likewise.
27441 * math/w_dremf.c: Likewise.
27442 * math/w_exp10.c: Likewise.
27443 * math/w_exp10f.c: Likewise.
27444 * math/w_exp10l.c: Likewise.
27445 * math/w_exp2.c: Likewise.
27446 * math/w_exp2f.c: Likewise.
27447 * math/w_fmod.c: Likewise.
27448 * math/w_fmodf.c: Likewise.
27449 * math/w_fmodl.c: Likewise.
27450 * math/w_hypot.c: Likewise.
27451 * math/w_hypotf.c: Likewise.
27452 * math/w_hypotl.c: Likewise.
27453 * math/w_j0.c: Likewise.
27454 * math/w_j0f.c: Likewise.
27455 * math/w_j0l.c: Likewise.
27456 * math/w_j1.c: Likewise.
27457 * math/w_j1f.c: Likewise.
27458 * math/w_j1l.c: Likewise.
27459 * math/w_jn.c: Likewise.
27460 * math/w_jnf.c: Likewise.
27461 * math/w_jnl.c: Likewise.
27462 * math/w_lgamma.c: Likewise.
27463 * math/w_lgamma_r.c: Likewise.
27464 * math/w_lgammaf.c: Likewise.
27465 * math/w_lgammaf_r.c: Likewise.
27466 * math/w_lgammal.c: Likewise.
27467 * math/w_lgammal_r.c: Likewise.
27468 * math/w_log.c: Likewise.
27469 * math/w_log10.c: Likewise.
27470 * math/w_log10f.c: Likewise.
27471 * math/w_log10l.c: Likewise.
27472 * math/w_log2.c: Likewise.
27473 * math/w_log2f.c: Likewise.
27474 * math/w_log2l.c: Likewise.
27475 * math/w_logf.c: Likewise.
27476 * math/w_logl.c: Likewise.
27477 * math/w_pow.c: Likewise.
27478 * math/w_powf.c: Likewise.
27479 * math/w_powl.c: Likewise.
27480 * math/w_remainder.c: Likewise.
27481 * math/w_remainderf.c: Likewise.
27482 * math/w_remainderl.c: Likewise.
27483 * math/w_scalb.c: Likewise.
27484 * math/w_scalbf.c: Likewise.
27485 * math/w_scalbl.c: Likewise.
27486 * math/w_sinh.c: Likewise.
27487 * math/w_sinhf.c: Likewise.
27488 * math/w_sinhl.c: Likewise.
27489 * math/w_sqrt.c: Likewise.
27490 * math/w_sqrtf.c: Likewise.
27491 * math/w_sqrtl.c: Likewise.
27492 * math/w_tgamma.c: Likewise.
27493 * math/w_tgammaf.c: Likewise.
27494 * math/w_tgammal.c: Likewise.
27495
6a621eb7
UD
27496 * po/ja.po: Update from translation team.
27497
bf582445
AJ
274982011-09-29 Andreas Jaeger <aj@suse.de>
27499
f9efbf3a
AJ
27500 [BZ #13179]
27501 * sunrpc/netname.c (netname2host): Fix logic.
27502
bf582445
AJ
27503 [BZ #6779]
27504 [BZ #6783]
27505 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27506 correctly.
27507 * math/w_remainder.c (__remainder): Likewise.
27508 * math/w_remainderf.c (__remainderf): Likewise.
27509 * math/libm-test.inc (remainder_test): Add test cases.
27510
48693bea
AK
275112011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27512
27513 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27514 sdiv_qrnnd.
27515
42622229
LD
275162011-10-07 Ulrich Drepper <drepper@gmail.com>
27517
27518 * string/test-memcmp.c: Avoid unncessary #defines.
27519 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27520
093ecf92
LD
275212011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27522
27523 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27524 Use new sse2 version for core i3 - i7 as it's faster
27525 than sse42 version.
27526 (bit_Prefer_PMINUB_for_stringop): New.
27527 * sysdeps/x86_64/rawmemchr.S: Update.
27528 Replace with faster SSE2 version.
27529 * sysdeps/x86_64/memrchr.S: New file.
27530 * sysdeps/x86_64/memchr.S: Update.
27531 Replace with faster SSE2 version.
27532
fde56e5c
MP
275332011-09-12 Marek Polacek <mpolacek@redhat.com>
27534
27535 * elf/dl-load.c (lose): Add cast to avoid warning.
27536
21fd49a9
UD
275372011-10-07 Ulrich Drepper <drepper@gmail.com>
27538
5a06e643
UD
27539 * po/ca.po: Update from translation team.
27540
684ae515
UD
27541 * inet/getnetgrent_r.c: Hook up nscd.
27542 * nscd/Makefile (routines): Add nscd_netgroup.
27543 (nscd-modules): Add netgroupcache.
27544 (CFLAGS-netgroupcache.c): Define.
27545 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27546 (cache_search): Add const to second parameter.
27547 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27548 INNETGR.
27549 (dbs): Add netgrdb entry.
27550 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27551 (verify_persistent_db): Handle netgrdb.
27552 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27553 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27554 GETFDNETGR.
27555 (netgroup_response_header): Define.
27556 (innetgroup_response_header): Define.
27557 (datahead): Add netgroup_response_header and innetgroup_response_header
27558 elements.
27559 * nscd/nscd.conf: Add entries for netgroup cache.
27560 * nscd/nscd.h (dbtype): Add netgrdb.
27561 (_PATH_NSCD_NETGROUP_DB): Define.
27562 (netgroup_iov_disabled): Declare.
27563 (xmalloc, xcalloc, xrealloc): Move declarations here.
27564 (cache_search): Adjust prototype.
27565 Add netgroup-related prototypes.
27566 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27567 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27568 (__nscd_innetgr): Declare.
27569 * nscd/selinux.c (perms): Use access_vector_t as element type and
27570 add netgroup-related initializers.
27571 * nscd/netgroupcache.c: New file.
27572 * nscd/nscd_netgroup.c: New file.
27573 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27574 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27575 For four parameters use innetgr.
27576 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27577 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27578 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27579 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27580
21fd49a9
UD
27581 * nscd/connections.c (register_traced_file): Don't register file
27582 for disabled databases.
27583
054c0457
UD
275842011-10-06 Ulrich Drepper <drepper@gmail.com>
27585
32b63198
UD
27586 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27587
054c0457
UD
27588 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27589 from tree and freeing node.
27590
64031225
JO
275912011-09-25 Jiri Olsa <jolsa@redhat.com>
27592
27593 * nss/nsswitch.c (__nss_database_lookup): Handle
27594 nss_parse_service_list out of memory case.
27595
0490345c
JO
275962011-09-15 Jiri Olsa <jolsa@redhat.com>
27597
27598 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27599 out of memory case.
27600
3a62d00d
AS
276012011-10-04 Andreas Schwab <schwab@redhat.com>
27602
27603 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27604 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27605 pass it down.
27606 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27607 elf_machine_rela, elf_machine_lazy_rel.
27608 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27609 (ELF_DYNAMIC_DO_REL): Likewise.
27610 (ELF_DYNAMIC_DO_RELA): Likewise.
27611 (ELF_DYNAMIC_RELOCATE): Likewise.
27612 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27613 to ELF_DYNAMIC_DO_REL.
27614 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27615 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27616 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27617 elf_machine_rela.
27618 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27619 skip_ifunc, don't call ifunc function if non-zero.
27620 (elf_machine_rela): Likewise.
27621 (elf_machine_lazy_rel): Likewise.
27622 (elf_machine_lazy_rela): Likewise.
27623 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27624 (elf_machine_lazy_rel): Likewise.
27625 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27626 Likewise.
27627 (elf_machine_lazy_rel): Likewise.
27628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27629 Likewise.
27630 (elf_machine_lazy_rel): Likewise.
27631 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27632 (elf_machine_lazy_rel): Likewise.
27633 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27634 (elf_machine_lazy_rel): Likewise.
27635 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27636 (elf_machine_lazy_rel): Likewise.
27637 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27638 (elf_machine_lazy_rel): Likewise.
27639 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27640 (elf_machine_lazy_rel): Likewise.
27641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27642 (elf_machine_lazy_rel): Likewise.
27643
68577918
UD
276442011-09-28 Ulrich Drepper <drepper@gmail.com>
27645
27646 * nss/nss_files/files-init.c (_nss_files_init): Use static
27647 initialization for all the *_traced_file variables.
27648
68822d74
AS
276492011-09-28 Andreas Schwab <schwab@redhat.com>
27650
27651 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27652
2056100b
RM
276532011-09-27 Roland McGrath <roland@hack.frob.com>
27654
27655 [BZ #13226]
27656 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27657
32c76b63
AS
276582011-09-27 Andreas Schwab <schwab@redhat.com>
27659
27660 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27661 Reread the line before reparsing it.
27662
bf972c9d
AS
276632011-09-26 Andreas Schwab <schwab@redhat.com>
27664
27665 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27666
e057a1b5
JM
276672011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27668 Maxim Kuvyrkov <maxim@codesourcery.com>
27669 Joseph Myers <joseph@codesourcery.com>
27670
27671 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27672 if needed for __stack_chk_guard.
27673
bc7e1c36
RM
276742011-09-19 Roland McGrath <roland@hack.frob.com>
27675
ecb1482f
RM
27676 * sysdeps/posix/spawni.c (script_execute): Always define it.
27677 It will be optimized away if unused.
27678 (maybe_script_execute): New function.
27679 (__spawni): Call it.
27680
bc7e1c36
RM
27681 * Makerules: Don't include tls.make.
27682 (config-tls): Always set to thread.
27683 * tls.make.c: File removed.
27684
1c3b002b
MF
276852011-09-19 Mike Frysinger <vapier@gentoo.org>
27686
27687 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27688 * config.make.in (CPPFLAGS-config): New substituted variable.
27689
2840865d
UD
276902011-09-15 Ulrich Drepper <drepper@gmail.com>
27691
88738eb6
UD
27692 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27693
cbf645a6 27694 [BZ #13192]
2840865d
UD
27695 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27696 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27697
b402e91a
RM
276982011-09-15 Roland McGrath <roland@hack.frob.com>
27699
27700 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27701 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27703 (CALL_FAIL): Likewise.
27704 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27705 (CALL_FAIL): Macro removed.
27706 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27707
4c1a1f71
UD
277082011-09-15 Ulrich Drepper <drepper@gmail.com>
27709
27710 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27711 for __FINITE_MATH_ONLY__ == 1.
27712
edc121be
AS
277132011-09-15 Andreas Schwab <schwab@redhat.com>
27714
27715 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27716 __ieee754_sqrt instead of sqrt.
27717 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27718 __ieee754_sqrtf instead of sqrtf.
27719 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27720 __floorf instead of floorf.
27721 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27722 __floorf, __truncf instead of floorf, truncf.
27723
cd205654
UD
277242011-09-14 Ulrich Drepper <drepper@gmail.com>
27725
ee4d0315
UD
27726 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27727
cd205654
UD
27728 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27729 __extern_always_inline.
27730 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27731 32-bit.
27732
48b67d71
AS
277332011-09-14 Andreas Schwab <schwab@redhat.com>
27734
27735 * elf/rtld.c (dl_main): Also relocate in dependency order when
27736 doing symbol dependency testing.
27737
1ae12c75
AS
277382011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27739
27740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27741 Always define `refsym'.
27742
995a80df
AS
277432011-09-13 Andreas Schwab <schwab@redhat.com>
27744
e529793b
AS
27745 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27746 (__FD_ELT): Renamed from __FDELT.
27747 * misc/bits/select2.h (__FD_ELT): Likewise.
27748 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27749 __FD_MASK instead of __FDELT, __FDMASK.
27750 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27751 Likewise.
27752 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27753 Likewise.
27754
52d4fef8
AS
27755 * elf/Makefile (gen-ldd): Fix pattern.
27756
995a80df
AS
27757 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27758 (init_tls): Likewise.
27759
8682f8b0
UD
277602011-09-12 Ulrich Drepper <drepper@gmail.com>
27761
27762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27763
de82006d
AS
277642011-09-12 Andreas Schwab <schwab@redhat.com>
27765
a7c8e6a1
AS
27766 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27767 `struct cmsghdr *' instead of `void *'.
27768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27769 Likewise.
27770
0f31fe77
AS
277712011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27772
27773 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27774 if non-absolute.
27775 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27776 ldd_rewrite_script.
0f31fe77 27777
32b4c839
UD
277782011-09-11 Ulrich Drepper <drepper@gmail.com>
27779
83cd1420
UD
27780 * configure.in: Remove --with-tls option.
27781 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27782 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27783 out in case it is missing.
27784 * sysdeps/ia64/elf/configure.in: Likewise.
27785 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27786 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27787 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27788 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27789 * sysdeps/sh/elf/configure.in: Likewise.
27790 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27791 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27792 * sysdeps/x86_64/elf/configure.in: Likewise.
27793 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27794 * sysdeps/mach/hurd/tls.h: Likewise.
27795
633f745d
UD
27796 [BZ #13067]
27797 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27798
f318beb8
UD
27799 [BZ #13090]
27800 * configure.in: Fix use of AC_INIT.
27801
32b4c839
UD
27802 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27803
3ce1f295
UD
278042011-09-10 Ulrich Drepper <drepper@gmail.com>
27805
bb016596
UD
27806 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27807 __set_errno.
8e58439c
UD
27808 * malloc/hooks.c: Likewise.
27809
aebae053 27810 [BZ #11929]
02d46fc4
UD
27811 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27812 variables statically.
27813 (narenas): Initialize.
27814 (list_lock): Initialize.
bb016596
UD
27815 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27816 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27817 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27818 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27819 Add initializers to main_arena and mp_.
27820 (malloc_state): Remove pagesize member. Change all users to use
27821 GLRO(dl_pagesize).
27822
27823 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27824 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27825 is always initialized.
27826
22a89187
UD
27827 * malloc/malloc.c: Removed unused configurations and dead code.
27828 * malloc/arena.c: Likewise.
27829 * malloc/hooks.c: Likewise.
02d46fc4 27830 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27831
d063d164
UD
27832 * include/tls.h: Removed. USE___THREAD must always be defined.
27833 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27834 * elf/dl-libc.c: Likewise.
27835 * elf/dl-tsd.c: Likewise.
27836 * include/errno.h: Likewise.
27837 * include/netdb.h: Likewise.
27838 * include/resolv.h: Likewise.
27839 * inet/herrno-loc.c: Likewise.
27840 * inet/herrno.c: Likewise.
27841 * malloc/arena.c: Likewise.
27842 * malloc/hooks.c: Likewise.
27843 * malloc/malloc.c: Likewise.
27844 * resolv/res-state.c: Likewise.
27845 * resolv/res_libc.c: Likewise.
27846 * sysdeps/i386/dl-machine.h: Likewise.
27847 * sysdeps/ia64/dl-machine.h: Likewise.
27848 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27849 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27850 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27851 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27852 * sysdeps/sh/dl-machine.h: Likewise.
27853 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27854 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27855 * sysdeps/unix/i386/sysdep.S: Likewise.
27856 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27857 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27862 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27863 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27866 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27867 * sysdeps/x86_64/dl-machine.h: Likewise.
27868 * tls.make.c: Likewise.
27869
3ce1f295
UD
27870 * configure.in: Remove --with-__thread option. Make tests for
27871 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27872 tls_model attribute fail if no support is available. Remove
27873 USE_IN_LIBIO.
27874 * Makeconfig: Adjust for dropped configure option. All features are
27875 now mandatory.
27876 * Makerules: Likewise.
27877 * Versions.def: Likewise.
27878 * argp/argp-fmtstream.c: Likewise.
27879 * argp/argp-fmtstream.h: Likewise.
27880 * argp/argp-help.c: Likewise.
27881 * assert/assert.c: Likewise.
27882 * config.h.in: Likewise.
27883 * config.make.in: Likewise.
27884 * configure: Likewise.
27885 * configure.in: Likewise.
27886 * csu/Versions: Likewise.
27887 * csu/init.c: Likewise.
27888 * elf/tst-audit2.c: Likewise.
27889 * elf/tst-tls10.c: Likewise.
27890 * elf/tst-tls10.h: Likewise.
27891 * elf/tst-tls11.c: Likewise.
27892 * elf/tst-tls12.c: Likewise.
27893 * elf/tst-tls14.c: Likewise.
27894 * elf/tst-tlsmod11.c: Likewise.
27895 * elf/tst-tlsmod12.c: Likewise.
27896 * elf/tst-tlsmod13.c: Likewise.
27897 * elf/tst-tlsmod13a.c: Likewise.
27898 * elf/tst-tlsmod14a.c: Likewise.
27899 * elf/tst-tlsmod15b.c: Likewise.
27900 * elf/tst-tlsmod16a.c: Likewise.
27901 * elf/tst-tlsmod16b.c: Likewise.
27902 * elf/tst-tlsmod7.c: Likewise.
27903 * elf/tst-tlsmod8.c: Likewise.
27904 * elf/tst-tlsmod9.c: Likewise.
27905 * gmon/gmon.c: Likewise.
27906 * grp/fgetgrent_r.c: Likewise.
27907 * grp/putgrent.c: Likewise.
27908 * hurd/fopenport.c: Likewise.
27909 * include/libc-symbols.h: Likewise.
27910 * include/tls.h: Likewise.
27911 * intl/gettextP.h: Likewise.
27912 * intl/loadinfo.h: Likewise.
27913 * locale/global-locale.c: Likewise.
27914 * locale/localeinfo.h: Likewise.
27915 * mach/devstream.c: Likewise.
27916 * malloc/arena.c: Likewise.
27917 * malloc/set-freeres.c: Likewise.
27918 * misc/err.c: Likewise.
27919 * misc/getttyent.c: Likewise.
27920 * misc/mntent_r.c: Likewise.
27921 * posix/getopt.c: Likewise.
27922 * posix/wordexp.c: Likewise.
27923 * pwd/fgetpwent_r.c: Likewise.
27924 * resolv/Versions: Likewise.
27925 * resolv/res_hconf.c: Likewise.
27926 * shadow/fgetspent_r.c: Likewise.
27927 * shadow/putspent.c: Likewise.
27928 * stdio-common/printf_fphex.c: Likewise.
27929 * stdio-common/tmpfile.c: Likewise.
27930 * stdlib/abort.c: Likewise.
27931 * stdlib/fmtmsg.c: Likewise.
27932 * sunrpc/auth_unix.c: Likewise.
27933 * sunrpc/clnt_perr.c: Likewise.
27934 * sunrpc/clnt_tcp.c: Likewise.
27935 * sunrpc/clnt_udp.c: Likewise.
27936 * sunrpc/clnt_unix.c: Likewise.
27937 * sunrpc/openchild.c: Likewise.
27938 * sunrpc/svc_simple.c: Likewise.
27939 * sunrpc/svc_tcp.c: Likewise.
27940 * sunrpc/svc_udp.c: Likewise.
27941 * sunrpc/svc_unix.c: Likewise.
27942 * sunrpc/xdr.c: Likewise.
27943 * sunrpc/xdr_array.c: Likewise.
27944 * sunrpc/xdr_rec.c: Likewise.
27945 * sunrpc/xdr_ref.c: Likewise.
27946 * sunrpc/xdr_stdio.c: Likewise.
27947
1248c1c4
PB
279482011-09-09 Ulrich Drepper <drepper@gmail.com>
27949
27950 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27951
279522011-07-03 Andreas Jaeger <aj@suse.de>
27953
27954 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27955 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27956 regenerate with gen-libm-tests.pl.
27957
279582010-05-12 Petr Baudis <pasky@suse.cz>
27959
27960 [BZ #11589]
27961 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27962 around j0() zero points by switching to j1().
27963 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27967
f22e1074
UD
279682011-09-09 Ulrich Drepper <drepper@gmail.com>
27969
f19009c1
UD
27970 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27971 instead of 0.
27972 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27973 instead of 0.
f19009c1
UD
27974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27975 Patch in part by Pavel Roskin <proski@gnu.org>.
27976
3f8cc204
UD
27977 [BZ #13138]
27978 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27979 realloc.
27980 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27981 Free memory block if necessary.
27982
f22e1074
UD
27983 [BZ #12847]
27984 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27985 be NULL. Don't lock in this case.
27986
0a2349f9
RM
279872011-09-09 Roland McGrath <roland@hack.frob.com>
27988
27989 * elf/elf.h (ELFOSABI_GNU): New macro.
27990 (ELFOSABI_LINUX): Define to that.
27991
f3cdd467
DZ
279922011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27993
27994 * string/strncat.c (strncat): Undef the symbol in case it has been
27995 defined in bits/string.h.
27996
74718d13
UD
279972011-09-09 Ulrich Drepper <drepper@gmail.com>
27998
633e9e0f
UD
27999 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28000
0a2349f9 28001 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28002 link map.
28003
f9924780
AJ
280042011-08-17 Andreas Jaeger <aj@suse.de>
28005
28006 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28007
7f5517aa
PP
280082011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28009 Ian Lance Taylor <iant@google.com>
28010
28011 * math/libm-test.inc (lround_test): New testcase.
28012 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28013
762011fe
UD
280142011-09-08 Ulrich Drepper <drepper@gmail.com>
28015
92963737
UD
28016 * Makefile: Remove support for automatic cvs check-ins.
28017 * Makerules: Likewise.
28018 * config.make.in: Likewise.
28019 * configure.in: Likewise.
28020 * intl/Makefile: Likewise.
28021 * locale/Makefile: Likewise.
28022 * po/Makefile: Likewise.
28023 * posix/Makefile: Likewise.
28024 * sysdeps/gnu/Makefile: Likewise.
28025 * sysdeps/mach/hurd/Makefile: Likewise.
28026 * sysdeps/sparc/sparc32/Makefile: Likewise.
28027
b0727fd8
JS
28028 [BZ #13118]
28029 * posix/Makefile (bug-regex32-ENV): Define.
28030 Patch by John Stanley <jpsinthemix@verizon.net>.
28031
a0f33f99
UD
28032 * misc/Makefile (headers): Add bits/select2.h.
28033 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28034 * misc/bits/select2.h: New file.
28035 * include/bits/select2.h: New file.
28036 * debug/Makefile (routines): Add fdelt_chk.
28037 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28038 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28039 FD_ISSET.
28040 * debug/fdelt_chk.c: New file.
28041
762011fe
UD
28042 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28043 * wcsmbs/test-wmemcmp.c: Likewise.
28044 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28045 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28046
280472011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28048
28049 * string/Makefile (strop-tests): Add memcmp.
28050 * string/test-wmemcmp.c: New file.
28051 * string/test-memcmp.c: Add wmemcmp support.
28052
7f513ec8
RM
280532011-09-08 Roland McGrath <roland@hack.frob.com>
28054
0442afb4
RM
28055 [BZ #13153]
28056 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28057 2011-07-19 change.
28058
7f513ec8
RM
28059 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28060 garbage value in a __mach_port_mod_refs call in the cases of the
28061 task-self and thread-self ports.
28062
a12b2239
ST
280632011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28064
28065 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28066
610f9ab4
AS
280672011-09-08 Andreas Schwab <schwab@redhat.com>
28068
7f513ec8 28069 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28070
48882a1a
LD
280712011-09-07 Ulrich Drepper <drepper@gmail.com>
28072
b49865be
UD
28073 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28074
fdc86bc9
UD
28075 * elf/dl-libc.c (dlerror_run): Pass back error code from
28076 dl_catch_error.
28077
c966526a
UD
28078 [BZ #13123]
28079 * elf/dl-load.c (lose): Free l_origin if it is valid.
28080
48882a1a
LD
28081 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28082 names.
28083 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28086 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28087 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28088 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28089
77a2a8b4
AZ
280902011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28091
28092 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28093 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28094 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28095 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28096 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28097 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28098 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28099 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28100 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28101 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28102
24f579d8
AM
281032011-08-15 Alan Modra <amodra@gmail.com>
28104
28105 [BZ #13092]
28106 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28107 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28108 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28109 ppc_mcount to static-only-routines.
28110 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28111 __mcount_internal.
28112 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28113 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28114
3d4837df
UD
281152011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28116
28117 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28118 for finite and infinity parameters.
28119
22700377
WS
281202011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28121
28122 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28123 and add nop instructions for throughput optimization.
28124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28125
5025581e
WS
281262011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28127
28128 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28129 aligned copy for power7 with vector-scalar instructions.
28130 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28131
08a300c9
L
281322011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28133
28134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28135 AVX check.
28136
59178ef9
AS
281372011-09-07 Andreas Schwab <schwab@redhat.com>
28138
28139 [BZ #13144]
28140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28141 last change.
28142
e38ba7ab
UD
281432011-09-07 Ulrich Drepper <drepper@gmail.com>
28144
28145 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28146 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28147 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28148 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28149 clock_gettime.
28150
d53a73ac
UD
281512011-09-06 Ulrich Drepper <drepper@gmail.com>
28152
fc8bffcc
UD
28153 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28154 Forgot to demangle the pointer.
28155
ceaa0c5d
UD
28156 * sysdeps/i386/sysdep.h: Define atom_text_section.
28157 * sysdeps/x86_64/sysdep.h: Likewise.
28158 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28159 section with atom_text_section.
28160 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28161 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28162 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28163 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28164 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28165
a77d3c17
UD
28166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28168 already be defined. Change to take two parameters and don't assign
28169 result to variable. Adjust all users.
28170 Define INTERNAL_GETTIME if not already defined.
28171 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28172 call.
28173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28174 HAVE_CLOCK_GETTIME_VSYSCALL.
28175 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28176
d53a73ac
UD
28177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28178 gettimeofday vsyscall, just use time.
28179
a8f84144
AS
281802011-09-06 Andreas Schwab <schwab@redhat.com>
28181
28182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28183 <errno.h>.
28184
ef606249
UD
281852011-09-06 Ulrich Drepper <drepper@gmail.com>
28186
28187 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28188 syscall on x86-64.
28189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28190 syscall.
28191 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28192 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28193 syscall if possible.
28194
6585cb60
UD
281952011-09-05 Ulrich Drepper <drepper@gmail.com>
28196
28197 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28198 e_ident. Don't pass to find_mapsXX.
28199 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28200
a5f524e4
LD
282012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28202
28203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28204 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28205 * sysdeps/x86_64/multiarch/strchr.S: Update.
28206 Check bit_slow_BSF bit.
28207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28208 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28209 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28210
554881ef
UD
282112011-09-05 Ulrich Drepper <drepper@gmail.com>
28212
d96de963
UD
28213 [BZ #13134]
28214 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28215 before glibc 2.15.
28216 (tryshell): Define.
28217 (__spawni): Change last parameter to be flag. Test
28218 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28219 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28220 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28221 * posix/spawni.c: Likewise.
28222 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28223 * posix/spawnp.c: Likewise. Change normal version to use
28224 SPAWN_XFLAGS_USE_PATH.
28225 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28226 SPAWN_XFLAGS_TRY_SHELL.
28227
d48e5868
UD
28228 [BZ #13150]
28229 * posix/glob.h: Remove gcc 1.x support.
28230
554881ef
UD
28231 [BZ #13068]
28232 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28233
693fb948
LD
282342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28235
28236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28237 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28238 strrchr-sse2-bsf
28239 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28240 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28241 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28242 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28243 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28244 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28245
1b48c537
UD
282462011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28247
49d42c37
UD
28248 * sysdeps/x86_64/wcscmp.S: New file.
28249
1b48c537
UD
28250 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28251 wcscmp-c wcscmp-sse2
28252 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28253 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28254 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28255 * wcsmbs/wcscmp.c: Allow renaming.
28256
15c95c5d
DM
282572011-09-05 David S. Miller <davem@davemloft.net>
28258
28259 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28260 stack slot, rather than the struct return pointer slot.
28261 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28262 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28264 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28265
2f0ad8f3
UD
282662011-09-05 Ulrich Drepper <drepper@gmail.com>
28267
d88ae418
UD
28268 * po/ja.po: Update from translation team.
28269
2f0ad8f3
UD
28270 [BZ #13144]
28271 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28272 kernel in 64-bit binaries.
28273
5f4318d1
DM
282742011-09-01 David S. Miller <davem@davemloft.net>
28275
28276 * elf/elf.h (HWCAP_SPARC_*): Move to..
28277 * sysdeps/sparc/sysdep.h: this new file and add new values.
28278 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28279 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28280 _DL_HWCAP_COUNT to 24.
28281 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28282 entries.
28283 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28284 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28285 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28287 instead of magic constants.
28288 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28289
3ba57516
DM
282902011-08-31 David S. Miller <davem@davemloft.net>
28291
28292 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28294 Reimplement to do errno handling inline.
28295 (SYSCALL_ERROR_HANDLER): New macro.
28296 (__SYSCALL_STRING): Do not do errno handling in asm.
28297 (__CLONE_SYSCALL_STRING): Delete.
28298 (__INTERNAL_SYSCALL_STRING): Delete.
28299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28300 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28301 (PSEUDO): Reimplement to do errno handling inline.
28302 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28303 (SYSCALL_ERROR_HANDLER): New macro.
28304 (__SYSCALL_STRING): Do not do errno handling in asm.
28305 (__CLONE_SYSCALL_STRING): Delete.
28306 (__INTERNAL_SYSCALL_STRING): Delete.
28307 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28308 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28309 i386.
28310 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28311 (inline_syscall*): Add 'err' argument.
28312 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28313 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28314 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28315 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28316
28317 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28318 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28319
2bc17433
AS
283202011-08-30 Andreas Schwab <schwab@redhat.com>
28321
28322 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28323
fbeb5f4d
JO
283242011-08-29 Jiri Olsa <jolsa@redhat.com>
28325
28326 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28327 directive.
28328
ad69cc26
DM
283292011-08-24 David S. Miller <davem@davemloft.net>
28330
28331 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28332
39dd69df
AS
283332011-08-24 Andreas Schwab <schwab@redhat.com>
28334
28335 * elf/Makefile: Add rules to build and run unload8 test.
28336 * elf/unload8.c: New file.
28337 * elf/unload8mod1.c: New file.
28338 * elf/unload8mod1x.c: New file.
28339 * elf/unload8mod2.c: New file.
28340 * elf/unload8mod3.c: New file.
28341
28342 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28343 it wasn't used.
28344
2c0b250a
DM
283452011-08-23 David S. Miller <davem@davemloft.net>
28346
28347 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28348 subtract stack bias.
28349 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28350 %sp not %fp in calculations.
28351 (_JMPBUF_UNWINDS_ADJ): Likewise.
28352
22044b48
DM
28353 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28354 (aio_suspend): Call it to force an exception region around the
28355 AIO_MISC_WAIT() invocation.
28356
2cae4995
AS
283572011-08-23 Andreas Schwab <schwab@redhat.com>
28358
28359 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28360 backslash.
28361
873a772e
AJ
283622011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28363
28364 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28365 protection macro.
28366 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28367 and <dl-machine.h>.
28368 (Elf64_FuncDesc): Remove.
28369
25ad0df1
DM
283702011-08-22 David S. Miller <davem@davemloft.net>
28371
28372 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28373 sigaltstack check, add missing cfi directives.
28374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28375 missing cfi directives, and sigaltstack handling.
28376
e888bcbe
AS
283772011-08-16 Andreas Schwab <schwab@redhat.com>
28378
28379 [BZ #11724]
28380 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28381 object is seen twice.
28382 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28383
28384 * elf/Makefile (distribute): Add tst-initorder2.c.
28385 (tests): Add tst-initorder2.
28386 (modules-names): Add tst-initorder2a tst-initorder2b
28387 tst-initorder2c tst-initorder2d. Add rules to build them.
28388 ($(objpfx)tst-initorder2.out): New rule.
28389 * elf/tst-initorder2.c: New file.
28390 * elf/tst-initorder2.exp: New file.
28391
87162f46
AS
283922011-08-22 Andreas Schwab <schwab@redhat.com>
28393
70538b7f
AS
28394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28395
f55ffe58
AS
28396 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28397 dependencies back to end of function.
28398
87162f46
AS
28399 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28400 $(elfobjdir)/ld.so.
28401
91b392a4
UD
284022011-08-21 Ulrich Drepper <drepper@gmail.com>
28403
28404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28405 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28407 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28408 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28409 of __vdso_gettimeofday.
28410 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28411 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28412 attribute_hidden.
28413 (_libc_vdso_platform_setup): Remove initialization of
28414 __vdso_gettimeofday and __vdso_time.
28415
5c43483f
UD
284162011-08-20 Ulrich Drepper <drepper@gmail.com>
28417
775a77e7
UD
28418 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28419 and fgetc_unlocked.
28420 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28421 getc_unlocked.
89f447ed 28422
49c74ba9
UD
28423 * elf/dl-open.c (add_to_global): Report additions to the global scope
28424 for LD_DEBUG=scopes.
28425 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28426 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28427
5c43483f
UD
28428 [BZ #13114]
28429 * stdio-common/Makefile (tests): Add bug24.
28430 * stdio-common/bug24.c: New file.
28431
a101b025
AJ
284322011-08-19 Andreas Jaeger <aj@suse.de>
28433
28434 [BZ #13114]
28435 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28436 non-existant file when using close-on-exec mode.
28437
c88f1766
UD
284382011-08-20 Ulrich Drepper <drepper@gmail.com>
28439
0276a718
UD
28440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28441 the very first instruction.
28442
c88f1766
UD
28443 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28444 the CFI state in the end.
28445 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28446 inclusion of dl-trampoline.h.
28447 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28448
51ccffa0
AS
284492011-08-19 Andreas Schwab <schwab@redhat.com>
28450
94d7165f
AS
28451 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28452 expectations for long double.
28453
51ccffa0
AS
28454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28455 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28456
fd708658 284572011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28458
28459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28460 artificual limit depends upon the system page size.
28461
44f0a71e
UD
284622011-08-17 Ulrich Drepper <drepper@gmail.com>
28463
28464 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28465 * resolv/Makefile: Define CFLAGS-libresolv.
28466
8de79a24
AS
284672011-08-17 Andreas Schwab <schwab@redhat.com>
28468
28469 * nss/makedb.c (compute_tables): Make variables used in nested
28470 function static.
28471
27724598
UD
284722011-08-17 Ulrich Drepper <drepper@gmail.com>
28473
c5305d88
UD
28474 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28475 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28476 if buffer was too small.
28477
27724598
UD
28478 * elf/pldd.c (main): Attach to all threads in the process.
28479 Rewrite /proc handling to use *at functions.
28480
076fe015
UD
284812011-08-16 Ulrich Drepper <drepper@gmail.com>
28482
174baab3
UD
28483 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28484 specifies first scope to show.
28485 (dl_open_worker): Update callers. Move printing scope of new
28486 object to before the relocation.
44f0a71e 28487 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28488 * sysdeps/generic/ldsodefs.h: Update declaration.
28489
076fe015
UD
28490 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28491 string for the scope number.
28492
a60df2c3
UD
284932011-08-14 Ulrich Drepper <drepper@gmail.com>
28494
28495 * nscd/servicescache.c (cache_addserv): Make sure written is always
28496 initialized.
28497
5e4287d1
RM
284982011-08-14 Roland McGrath <roland@hack.frob.com>
28499
85ae0589
RM
28500 * sysdeps/i386/i486/bits/atomic.h
28501 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28502 statement expression, so as to suppress "set but not used" warning.
28503 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28504
69f63097
RM
28505 * string/strncat.c (STRNCAT): Use prototype definition.
28506
675456ef
RM
28507 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28508 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28509 -Iprograms here.
28510 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28511 (localedef-modules): Add localedef.
28512 (locale-modules): Add locale.
28513
5e4287d1
RM
28514 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28515 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28516 to avoid a warning.
28517
9c96ff23
DM
285182011-08-14 David S. Miller <davem@davemloft.net>
28519
28520 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28521 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28522
f9ddf089
UD
285232011-08-13 Ulrich Drepper <drepper@gmail.com>
28524
44f0a71e 28525 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28526 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28527 * elf/rtld.c (dl_main): Set l_name of vDSO.
28528 Call _dl_show_scope when DL_DEBUG_SCOPES.
28529 (process_dl_debug): Recognize scopes flag and also set it for all.
28530 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28531 Declare _dl_show_scope.
28532
1dc27704
UD
28533 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28534 (do_dlopen): Pass caller_dlopen to dl_open.
28535 (__libc_dlopen_mode): Initialize caller_dlopen.
28536
f9ddf089
UD
28537 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28538 of libc. Make tolower call locale-independent. Optimize a bit by
28539 using isdigit instead of isalnum.
28540 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28541
9ac533d3
UD
285422011-08-12 Ulrich Drepper <drepper@gmail.com>
28543
28544 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28545 was a dependency or dynamically loaded.
28546
89edf2e9
UD
285472011-08-11 Ulrich Drepper <drepper@gmail.com>
28548
8e999d29
UD
28549 * intl/l10nflist.c: Allow architecture-specific pop function.
28550 * sysdeps/x86_64/l10nflist.c: New file.
28551
89edf2e9
UD
28552 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28553 classification.
28554
14d96785
AS
285552011-08-10 Andreas Schwab <schwab@redhat.com>
28556
28557 * include/dirent.h: Add libc_hidden_proto for scandirat and
28558 scandirat64. Don't declare __scandirat64.
28559 * dirent/scandirat.c: Add libc_hidden_def.
28560 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28561 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28562
6761ac04
DM
285632011-08-10 David S. Miller <davem@davemloft.net>
28564
28565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28566 enum.
28567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28569 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28570
c55fbd1e
UD
285712011-08-09 Ulrich Drepper <drepper@gmail.com>
28572
28573 * Versions.def [libc]: Add GLIBC_2.15.
28574 * dirent/Makefile (routines): Add scandirat and scandirat64.
28575 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28576 GLIBC_2.15.
28577 * dirent/dirent.h: Declare scandirat and scandirat64.
28578 * dirent/scandirat.c: New file.
28579 * dirent/scandirat64.c: New file.
28580 * sysdeps/wordsize-64/scandirat.c: New file.
28581 * sysdeps/wordsize-64/scandirat64.c: New file.
28582 * dirent/opendir.c: Define opendirat.
28583 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28584 using scandirat.
28585 * dirent/scandir64.c: Adjust for scandir.c change.
28586 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28587 __scandirat64, and __scandir_cancel_handler.
28588 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28589 additional parameter and use openat instead of open (outside of ld.so).
28590 Add new __opendir as wrapper around __opendirat.
28591 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28592 here without requiring old scandirat implementation.
28593
879165f2
UD
285942011-08-08 Ulrich Drepper <drepper@gmail.com>
28595
28596 * dirent/scandir.c (cancel_handler): Renamed to
28597 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28598 defined. Adjust users.
28599 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28601
cb7e923b
UD
286022011-08-04 Ulrich Drepper <drepper@gmail.com>
28603
16292edd
UD
28604 * string/test-string.h (IMPL): Use __STRING to expand name and then
28605 stringify it.
28606
cb7e923b
UD
28607 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28608 of cleanups.
28609
cff82933
LD
286102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28611
28612 * string/Makefile: Update.
28613 (strop-tests): Append strncat.
28614 * string/test-wcscmp.c: New file.
28615 New comprehensive test for wcscmp.
28616 * string/test-strcmp.c: Update.
28617 (WIDE): New define.
28618
9be9bfcc
AS
286192011-07-22 Andreas Schwab <schwab@redhat.com>
28620
28621 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28622 line.
28623
2e96f1c7
AS
286242011-07-26 Andreas Schwab <schwab@redhat.com>
28625
28626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28627 encoding to ACE if AI_IDN.
28628
85188888
JJ
286292011-08-01 Jakub Jelinek <jakub@redhat.com>
28630
28631 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28632 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28633
5fa16e9b
LD
286342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28635
28636 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28637 Fix overflow bug in strncat.
28638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28639
28640 * string/test-strncat.c: Update.
28641 Add new tests for checking overflow bugs.
28642
286432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28644
28645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28646 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28647 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28648 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28649 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28650 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28651 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28652 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28653 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28654
28655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28656 (USE_AS_STRCAT): Define.
28657 Add strcat and strncat support.
28658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28659
8c1a459f
AS
286602011-07-25 Andreas Schwab <schwab@redhat.com>
28661
28662 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28663 __n bigger than INT_MAX+1.
28664 (__strncmp_g): Likewise.
28665
bba33c28
UD
286662011-07-23 Ulrich Drepper <drepper@gmail.com>
28667
798be72d
UD
28668 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28669 * libio/stido.h: Likewise.
28670
8accd4dc
UD
28671 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28672 (AF_NFC): Define.
28673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28674 (AF_NFC): Define.
28675
cbff0d96
UD
28676 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28678 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28679 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28680 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28681
9191c04a
UD
28682 [BZ #13021]
28683 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28684 installed.
28685
bba33c28
UD
28686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28687 typo.
28688 (_dl_x86_64_save_sse): Likewise.
28689
90f139dd
UD
286902011-07-22 Ulrich Drepper <drepper@gmail.com>
28691
1aae088a
UD
28692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28693 OSXSAVE.
28694 (_dl_x86_64_save_sse): Likewise.
28695
8e2045f5
UD
28696 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28697
90f139dd
UD
28698 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28699
1d002f25
AS
287002011-07-21 Andreas Schwab <schwab@redhat.com>
28701
28702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28703 change.
28704 (_dl_x86_64_save_sse): Use correct AVX check.
28705
21137f89
UD
287062011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28707
28708 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28709 bug in strncpy/strncat.
28710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28711
a65c0b7a
UD
287122011-07-21 Ulrich Drepper <drepper@gmail.com>
28713
28714 * string/tester.c (test_strcat): Add tests for different alignments
28715 of source and destination.
28716 (test_strncat): Likewise.
28717
6986b98a
UD
287182011-07-20 Ulrich Drepper <drepper@gmail.com>
28719
90bb2039
UD
28720 [BZ #12852]
28721 * posix/glob.c (glob): Check passed in values before using them in
28722 expressions to avoid some overflows.
28723 (glob_in_dir): Likewise.
28724
5644ef54
UD
28725 [BZ #13007]
28726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28727 check for AVX enablement so that we don't crash with old kernels and
28728 new hardware.
28729 * elf/tst-audit4.c: Add same checks here.
28730 * elf/tst-audit6.c: Likewise.
28731
28732 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28733
bfc9dc9b
AS
287342011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28735
28736 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28737
702e64bb
UD
287382011-07-20 Ulrich Drepper <drepper@gmail.com>
28739
28740 * po/cs.po: Update from translation team.
28741 * po/bg.po: Likewise.
28742
295e904f
MP
287432011-07-12 Marek Polacek <mpolacek@redhat.com>
28744
28745 * misc/sys/cdefs.h: Add support for const attribute.
28746 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28747 to gnu_dev_{major,minor,makedev} functions.
28748
3ff94596
MP
287492011-07-20 Marek Polacek <mpolacek@redhat.com>
28750
28751 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28752
28b59fca
AS
287532011-07-20 Andreas Schwab <schwab@redhat.com>
28754
28755 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28756 strlen results.
28757
19df733e
AK
287582011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28759
28760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28761 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28762 register in order to avoid conflicts with the soft frame pointer
28763 being held in r11 when necessary.
28764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28765 (INTERNAL_VSYSCALL_NCS): Likewise.
28766
c8835729
MP
287672011-07-14 Marek Polacek <mpolacek@redhat.com>
28768
28769 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28770 * elf/dl-fini.c (_dl_fini): Adjust caller.
28771 * elf/dl-close.c (_dl_close_worker): Likewise.
28772 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28773
b902330c
MP
287742011-07-15 Marek Polacek <mpolacek@redhat.com>
28775
8991e135
MP
28776 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28777 "aux_cache->nlibs < 0".
28778
b902330c
MP
28779 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28780 in the reload-count case.
28781
99710781
LD
287822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28783
28784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28785 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28786 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28787 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28788 * sysdeps/x86_64/multiarch/strcat.S: New file.
28789 * sysdeps/x86_64/multiarch/strncat.S: New file.
28790 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28791 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28792 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28793 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28795 (USE_AS_STRCAT): Define.
28796 Add strcat and strncat support.
28797 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28798 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28799 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28800 * string/strncat.c: Update.
28801 (USE_AS_STRNCAT): Define.
28802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28803 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28804 and i7.
28805 * sysdeps/x86_64/multiarch/init-arch.h
28806 (bit_Prefer_PMINUB_for_stringop): New.
28807 (index_Prefer_PMINUB_for_stringop): Likewise.
28808 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28809 bit_Prefer_PMINUB_for_stringop.
28810
7dc6bd90
UD
288112011-07-19 Ulrich Drepper <drepper@gmail.com>
28812
28813 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28814 buffer64.
28815 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28816 of casting of buffer.
28817 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28818 buffer32 and buffer64.
28819 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28820 writes instead of casting of buffer.
28821 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28822 buffer32.
28823 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28824 casting of buffer.
28825
e0e72284
AS
288262011-07-19 Andreas Schwab <schwab@redhat.com>
28827
28828 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28829
feb1eb0b
UD
288302011-07-19 Ulrich Drepper <drepper@gmail.com>
28831
28832 * nscd/nscd.c (termination_handler): Don't do anything for a database
28833 if it has not yet been initialized.
28834
298711ff
UD
288352011-07-18 Ulrich Drepper <drepper@gmail.com>
28836
28837 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28838
288392011-07-15 Marek Polacek <mpolacek@redhat.com>
28840
28841 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28842
f9d68389
UD
288432011-07-18 Ulrich Drepper <drepper@gmail.com>
28844
28845 * po/nl.po: Update from translation team.
28846 * po/sv.po: Likewise.
28847
db290cf5
RM
288482011-07-16 Roland McGrath <roland@hack.frob.com>
28849
28850 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28851 now disallowed by GCC.
5c550700 28852
fd5e21c7
RM
28853 * configure.in (use-default-link): Default to yes if a test -shared
28854 link meets our qualifications.
28855 * configure: Regenerated.
28856
5c550700
RM
28857 * config.make.in (output-format): New variable.
28858 * configure.in: Check for ld --print-output-format support.
28859 * configure: Regenerated.
28860 * Makerules ($(common-objpfx)format.lds)
28861 [$(output-format) != unknown]: Just use $(output-format),
28862 instead of the linker-script munging.
28863
9fa2c032
RM
288642011-07-14 Roland McGrath <roland@hack.frob.com>
28865
a6928d51
RM
28866 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28867 of $(common-objpfx)shlib.lds.
28868 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28869
661607b3
RM
28870 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28871 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28872
9fa2c032
RM
28873 * configure.in (-z relro check): Adjust test code to add a large
28874 writable data section after it.
28875 * configure: Regenerated.
28876
defe9061
RM
288772011-07-11 Roland McGrath <roland@hack.frob.com>
28878
28879 * configure.in (-z relro check): Fix test code to make the variable
28880 truly const.
28881 * configure: Regenerated.
28882
319b9ad4
UD
288832011-07-11 Ulrich Drepper <drepper@gmail.com>
28884
28885 * nscd/nscd.h (struct traced_file): Define.
28886 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28887 elements. Add traced_files.
28888 (inotify_fd): Declare.
28889 (register_traced_file): Declare.
28890 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28891 (inotify_fd): Export.
28892 (resolv_conf_descr): Remove.
28893 (nscd_init): Move inotify descriptor creation to main.
28894 Don't register files for notification here.
28895 (register_traced_file): New function.
28896 (invalidate_cache): Don't use reset_res to determine whether to call
28897 res_init, go through the list of registered files.
28898 (main_loop_poll): The inotify descriptors are now stored in the
28899 structures for the traced files.
28900 (main_loop_epoll): Likewise
28901 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28902 to __nss_disable_nscd.
28903 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28904 for a database anymore. Check the records for all the registered
28905 files instead.
28906 * nss/Makefile (libnss_files-routines): Add files-init.
28907 (libnss_db-routines): Add db-init.
28908 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28909 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28910 * nss/nss_db/db-init.c: New file.
28911 * nss/nss_files/files-init.c: New file.
28912 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28913 __nss_lookup_function.
28914 (__nss_lookup_function): Call nss_load_library.
28915 (nss_load_all_libraries): New function.
28916 (__nss_disable_nscd): Take parameter with callback function for files
28917 to register. Set is_nscd. Load all the DSOs for the NSS modules
28918 used for the cached services.
28919 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28920 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28921 options for features to all the files in nscd.
28922
28923 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28924
23bee3e8
RM
289252011-07-10 Roland McGrath <roland@hack.frob.com>
28926
28927 * csu/elf-init.c (__libc_csu_init): Comment typo.
28928
46a5b7f0
UD
289292011-07-09 Ulrich Drepper <drepper@gmail.com>
28930
28931 * po/pl.po: Update from translation team.
28932 * po/ja.po: Likewise.
28933 * po/ru.po: Likewise.
28934 * po/ko.po: Likewise.
28935 * po/fr.po: Likewise.
28936
d30cf5bb
RM
289372011-07-09 Roland McGrath <roland@hack.frob.com>
28938
113ddea4
RM
28939 * configure.in (.ctors/.dtors header and trailer check):
28940 Use an empirical test on a built program.
28941 * configure: Regenerated.
28942
574920b4
RM
28943 * configure.in (-z relro check): Use an empirical test on a built DSO.
28944 Detect, but do not require, on ia64.
28945 * configure: Regenerated.
28946
d30cf5bb
RM
28947 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28948 Update tests that use readelf to use $READELF instead.
28949 * configure: Regenerated.
28950
8538fdb3
UD
289512011-07-08 Ulrich Drepper <drepper@gmail.com>
28952
28953 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28954 if the result is not used.
28955
04d08991
AJ
289562011-07-05 Andreas Jaeger <aj@suse.de>
28957
28958 [BZ#9696]
28959 * stdlib/tst-strtod.c: Add testcase.
28960
de283087
AD
289612011-07-07 Ulrich Drepper <drepper@gmail.com>
28962
4e5f31c8 28963 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28964 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28965 The latter has a higher limit. Take additional parameter to pass to
28966 the new function.
28967 (__pathconf): Pass file to __statfs_link_max.
28968 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28969 __statfs_link_max.
28970 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28971 __statfs_link_max.
28972
de283087
AD
28973 [BZ #12868]
28974 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28975 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28976 Handle Lustre.
28977 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28978 (__statfs_filesize_max): Likewise.
28979 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28980
c75fa153
AJ
289812011-07-05 Andreas Jaeger <aj@suse.de>
28982
28983 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28984
1a544854
UD
289852011-07-06 Marek Polacek <mpolacek@redhat.com>
28986
28987 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28988 `status' variable.
28989 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28990 Likewise.
28991
6f0eec67
UD
289922011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28993
28994 * Makefile (strop-tests): Add strncat.
28995 * string/test-strncat.c: New file.
28996
aae30307
UD
289972011-06-30 Marek Polacek <mpolacek@redhat.com>
28998
28999 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29000
c0cfb5eb
UD
290012011-06-21 Andreas Jaeger <aj@suse.de>
29002
29003 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29004 Copy rule from iconvdata/Makefile.
29005
01636b21
UD
290062011-07-06 Ulrich Drepper <drepper@gmail.com>
29007
29008 [BZ #12922]
29009 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29010 but no long options are defined, just return 'W'.
29011
9895c8bc
UD
290122011-06-22 Marek Polacek <mpolacek@redhat.com>
29013
29014 [BZ #9696]
29015 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29016
5d4cf042
UD
290172011-07-06 Ulrich Drepper <drepper@gmail.com>
29018
29019 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29020 netgroups to read.
960e5535 29021 (innetgr): Likewise.
5d4cf042 29022
751eb97e
RM
290232011-07-05 Roland McGrath <roland@hack.frob.com>
29024
29025 * config.make.in (install_root): Default to $(DESTDIR).
29026
f15f1e45
UD
290272011-07-05 Ulrich Drepper <drepper@gmail.com>
29028
29029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29030
4e34ac6a
RM
290312011-07-02 Roland McGrath <roland@hack.frob.com>
29032
5e9b6af4
RM
29033 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29034
84f9ea0f
RM
29035 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29036 containing directory rather than embedding absolute directory names.
29037
ea5ee9f7
RM
29038 * scripts/check-local-headers.sh: Rewritten using awk.
29039 Match by word, not by line. Print error messages for matches.
29040 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29041
1b74661a
RM
29042 * Makerules [shlib-lds-flags empty]:
29043 ($(common-objpfx)libc_pic.opts): New target.
29044 ($(common-objpfx)libc_pic.os.clean): New target.
29045 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29046
29047 * config.make.in (OBJCOPY): New variable.
29048 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29049 * configure: Regenerated.
29050
f781ef40
RM
29051 * config.make.in (use-default-link): New variable.
29052 * configure.in (use_default_link): Grok --with-default-link to set it.
29053 * configure: Regenerated.
29054 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29055 (shlib-lds, shlib-lds-flags): Define to empty.
29056
2d4fa81e
RM
29057 * Makerules (shlib-lds): New variable.
29058 (shlib-lds-flags): New variable.
29059 (build-shlib, build-moduile, build-module-asneeded): Use it.
29060 ($(common-objpfx)libc.so): Use $(shlib-lds).
29061 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29062 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29063
31fffa6b
RM
29064 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29065 DT_FLAGS/DT_FLAGS_1 with zero flags.
29066
4e34ac6a
RM
29067 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29068 linker script munging.
29069
fcfc776b
UD
290702011-07-02 Ulrich Drepper <drepper@gmail.com>
29071
29072 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29073 as 128-bit value.
29074 * crypt/sha512.c (sha512_process_block): Perform total addition using
29075 128-bit if possible.
29076 (__sha512_finish_ctx): Likewise.
29077 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29078 as 64-bit value.
29079 * crypt/sha256.c (SWAP64): Define.
29080 (sha256_process_block): Perform total addition using 64-bit if
29081 possible.
29082 (__sha256_finish_ctx): Likewise.
29083
99231d9a
UD
290842011-07-01 Ulrich Drepper <drepper@gmail.com>
29085
29086 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29088 * nscd/hstcache.c (cache_addhst): Likewise.
29089 * nscd/grpcache.c (cache_addgr): Likewise.
29090 * nscd/aicache.c (addhstaiX): Likewise
29091 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29092
445b4a53
TK
290932011-07-01 Thorsten Kukuk <kukuk@suse.de>
29094
29095 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29097 * nscd/hstcache.c (cache_addhst): Likewise.
29098 * nscd/grpcache.c (cache_addgr): Likewise.
29099 * nscd/aicache.c (addhstaiX): Likewise
29100
6d4d8e8e
AS
291012011-07-01 Andreas Schwab <schwab@redhat.com>
29102
29103 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29104 domain only when needed.
29105
89f654c5
AS
291062011-06-30 Andreas Schwab <schwab@redhat.com>
29107
29108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29109 is always restored.
29110
cf3b23ff
UD
291112011-06-29 Ulrich Drepper <drepper@gmail.com>
29112
29113 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29114 are re-adding the entry.
29115 * nscd/servicescache.c (cache_addserv): Likewise.
29116
751626f9
AJ
291172011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29118
29119 * sysdeps/generic/dl-irel.h: fix protection against multiple
29120 inclusions.
29121 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29122
9113ea1f
UD
291232011-06-28 Ulrich Drepper <drepper@gmail.com>
29124
5c0b8d90
UD
29125 [BZ #12935]
29126 * malloc/memusage.sh: Fix quoting in message.
29127 * debug/xtrace.sh: Likewise.
29128
9113ea1f
UD
29129 * configure.in: Remove support for --experimental-malloc option, make
29130 it the default.
29131 * config.make.in: Likewise.
29132 * malloc/Makefile: Likewise.
29133
a4172181
AS
291342011-06-27 Andreas Schwab <schwab@redhat.com>
29135
29136 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29137 two-byte characters.
29138
78a7eee7
RM
291392011-06-27 Roland McGrath <roland@hack.frob.com>
29140
62bede13
RM
29141 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29142 AC_CACHE_CHECK invocation.
29143 * configure: Regenerated.
29144
78a7eee7
RM
29145 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29146
5ce33a62
UD
291472011-06-27 Ulrich Drepper <drepper@gmail.com>
29148
034807a9
UD
29149 [BZ #12350]
29150 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29151 bit from old_res_options.
29152
4902da17
UD
29153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29154
5ce33a62
UD
29155 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29156 value type for setfct.
29157
c2344f56
L
291582011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29159
29160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29161 __gettimeofday instead of gettimeofday.
29162
68468076
UD
291632011-06-26 Ulrich Drepper <drepper@gmail.com>
29164
29165 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29166
acb0d739
L
291672011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29168
29169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29170
29171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29172 info.
29173
8912479f
L
291742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29175
29176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29177 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29178 strcpy-sse2-unaligned strncpy-sse2-unaligned
29179 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29180 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29181 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29182 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29183 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29184 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29185 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29186 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29187 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29188 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29189 (STRCPY): Support SSE2 and SSSE3 versions.
29190
d5495a11
UD
291912011-06-24 Ulrich Drepper <drepper@gmail.com>
29192
29193 [BZ #12874]
29194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29195 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29196 kernels which artificially limit size of requests.
29197
0b1cbaae
L
291982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29199
29200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29201 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29202 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29203 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29204 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29205 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29206 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29207 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29208 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29209 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29210 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29211 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29212 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29213 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29214 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29216 Enable unaligned load optimization for Intel Core i3, i5 and i7
29217 processors.
29218 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29219 Define.
29220 (index_Fast_Unaligned_Load): Define.
29221 (HAS_FAST_UNALIGNED_LOAD): Define.
29222
07f494a0
MP
292232011-06-23 Marek Polacek <mpolacek@redhat.com>
29224
29225 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29226
fa3fc0fe
UD
292272011-06-22 Ulrich Drepper <drepper@gmail.com>
29228
29229 [BZ #12907]
29230 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29231 until it is clear that the information is realy needed.
29232 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29233
e12df166
AS
292342011-06-22 Andreas Schwab <schwab@redhat.com>
29235
29236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29237
852eb34d
UD
292382011-06-22 Ulrich Drepper <drepper@gmail.com>
29239
84e2a551
UD
29240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29241 /sys/devices/system/cpu/online if it is usable.
29242
852eb34d
UD
29243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29244 reading the information from the /proc filesystem to once a second.
29245
6e502e19
UD
292462011-06-21 Andreas Jaeger <aj@suse.de>
29247
29248 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29249 NULL after inclusion of kernel headers.
29250
75d39ff2
UD
292512011-06-21 Ulrich Drepper <drepper@gmail.com>
29252
51f9aa6a
UD
29253 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29254 calls to internal_setent.
29255
c0244a9d
UD
29256 [BZ #12885]
29257 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29258 addresses using gethostbyname4_r ignore IPv4 addresses.
29259
c5e3c2ae
UD
29260 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29261 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29262
75d39ff2
UD
29263 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29264
42675c6f
DM
292652011-06-20 David S. Miller <davem@davemloft.net>
29266
29267 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29268 inclusions.
29269 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29270
29271 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29272 (elf_irel): Use it.
29273 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29274 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29275 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29276 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29277 * sysdeps/x86_64/dl-irel.h: Likewise.
29278
29279 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29280 * elf/dl-sym.c: Likewise.
29281
57912a71
UD
292822011-06-15 Ulrich Drepper <drepper@gmail.com>
29283
29284 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29285 need to dereference resplen2.
29286
ee22793d
AS
292872011-06-14 Andreas Schwab <schwab@redhat.com>
29288
29289 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29290
a9e836b0
UD
292912011-06-15 Ulrich Drepper <drepper@gmail.com>
29292
77fb9117
UD
29293 * Makeconfig: Define vardbdir and inst_vardbdir.
29294 * nss/Makefile: Add rules to install db-Makefile.
29295
40c1b22c
UD
29296 * nss/nss_db/db-XXX.c: Cleanup.
29297
9f2da732
UD
29298 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29299 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29300 GLIBC_PRIVATE.
29301 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29302 * nss/makedb.c: Implement -g option to specify that value strings
29303 are generated and should not be added to table iterated over for
29304 get*ent calls.
29305 * nss/nss_db/db-initgroups.c: New file.
29306
82e9a1f7
UD
29307 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29308 interface.
29309
c41af17e
UD
29310 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29311 (internal_getgrouplist): Adjust to name change.
29312 Update use_initgroups_entry if this is not the first call.
29313 * nss/databases.def: Add initgroups entry.
29314
a9e836b0
UD
29315 * nss/makedb.c (compute_tables): Check result of multiple hash table
29316 sizes to minimize maximum chain length.
29317
2666d441
UD
293182011-06-14 Ulrich Drepper <drepper@gmail.com>
29319
29320 * Versions.def: Add entry for libnss_db.
29321 * shlib-versions: Likewise.
29322 * nss/Makefile: Add rules to build libnss_db.
29323 * nss/Versions: Add libnss_db information. Organize libnss_files
29324 entries better.
29325 * nss/db-Makefile: Add gshadow support. Change rules for the new
29326 makedb progra. Some minor improvements to generate smaller files.
29327 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29328 here from...
29329 * nss/makedb.c: ...here.
29330 Improve database format to be smaller and require less memory at
29331 runtime.
29332 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29333 db anymore.
29334 * nss/nss_db/db-netgrp.c: Likewise.
29335 * nss/nss_db/db-open.c: Likewise.
29336 * nss/nss_files/flies-XXX.x: Adjust comments.
29337 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29338 * nss/nss_files/files-grp.c: Likewise.
29339 * nss/nss_files/files-hosts.c: Likewise.
29340 * nss/nss_files/files-network.c: Likewise.
29341 * nss/nss_files/files-proto.c: Likewise.
29342 * nss/nss_files/files-pwd.c: Likewise.
29343 * nss/nss_files/files-rpc.c: Likewise.
29344 * nss/nss_files/files-service.c: Likewise.
29345 * nss/nss_files/files-sgrp.c: Likewise.
29346 * nss/nss_files/files-spwd.c: Likewise.
29347 * nss/nss_db/db-alias.c: Removed.
29348 * nss/nss_db/dummy-db.h: Removed.
29349
9ee76b5a
UD
293502011-06-02 Ulrich Drepper <drepper@gmail.com>
29351
29352 * nss/makedb.c: Rewritten to not use database library.
29353 * nss/Makefile: Update to build new makedb program.
29354
c71ca1f8
AJ
293552011-06-14 Andreas Jaeger <aj@suse.de>
29356
29357 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29358 memset declaration.
29359
3154bfb8
UD
293602011-06-10 Andreas Schwab <schwab@redhat.com>
29361
29362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29363 tmpbuf.
29364
b350afab
RM
293652011-06-10 Roland McGrath <roland@hack.frob.com>
29366
decd4e50
RM
29367 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29368 * elf/Makefile ($(objpfx)ld.so): Likewise.
29369
5615eaf2
RM
29370 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29371 Don't list ld.so twice in dependencies.
29372
29373 * posix/bug-regex31.c: Include <stdlib.h>.
29374
29375 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29376
29377 * nis/nss_compat/compat-spwd.c
29378 (getspent_next_nss_netgr): Remove unused variable.
29379 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29380
29381 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29382 nonmembers" output to use the right array.
29383
29384 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29385
29386 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29387
29388 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29389 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29390 * catgets/gencat.c (read_input_file): Likewise.
29391 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29392
29393 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29394 variable definition inside #if's controlling its use.
29395
29396 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29397
29398 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29399
29400 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29401
29402 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29403 unreachable code.
29404
29405 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29406
b68e08db
RM
29407 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29408 * configure: Regenerated.
29409
b350afab
RM
29410 * Makerules: Revert last change.
29411 * elf/Makefile: Likewise.
29412
28368601
RM
294132011-06-09 Roland McGrath <roland@hack.frob.com>
29414
29415 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29416 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29417 (reloc-link): Likewise.
29418
11988f8f
UD
294192011-06-09 Ulrich Drepper <drepper@gmail.com>
29420
29421 * elf/Makefile: Add rules to build pldd.
29422 * elf/pldd.c: New file.
29423 * elf/pldd-xx.c: New file.
29424
e80fab37
UD
294252011-06-07 Ulrich Drepper <drepper@gmail.com>
29426
29427 * version.h: Update for 2.15 development version.
29428
9b849836
DM
294292011-06-07 David S. Miller <davem@davemloft.net>
29430
29431 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29432 ifuncs.
29433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29434 elf_machine_lazy_rel): Likewise.
29435 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29436 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29437 elf_machine_lazy_rel): Likewise.
29438 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29439 dl_hwcap via passed in argument.
29440 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29441 Likewise.
29442
5a31b283
AK
294432011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29444
29445 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29446
069e52f8
RM
294472011-06-06 Roland McGrath <roland@hack.frob.com>
29448
29449 [BZ #12849]
29450 * manual/fdl-1.1.texi: New file, verbatim from:
29451 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29452 * manual/lgpl-2.1.texi: New file, verbatim from:
29453 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29454 * manual/Makefile (licenses): New variable, list those new file names.
29455 (texis): Use it.
29456 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29457
29458 * manual/fdl.texi: File removed.
29459 * manual/lesser.texi: File removed.
29460 * manual/libc.texinfo (Copying, Documentation License):
29461 Use new @include file names, put @appendix directive before @include.
29462
f16846a5
JJ
294632011-06-04 Jakub Jelinek <jakub@redhat.com>
29464
29465 [BZ #12841]
29466 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29467 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29468 (mq_open): Add __NTH.
29469
3d29045b
L
294702011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29471
29472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29473 Assume Intel Core i3/i5/i7 processor if AVX is available.
29474
8c297311
UD
294752011-05-31 Ulrich Drepper <drepper@gmail.com>
29476
29477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29478 typo.
29479
c8fc0c91
UD
294802011-05-31 Andreas Schwab <schwab@redhat.com>
29481
29482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29483 memory. Use alloca_account. Fix memory leak when retrying.
29484
5b27a807
UD
294852011-05-31 Ulrich Drepper <drepper@gmail.com>
29486
356f8bc6
UD
29487 * version.h (RELEASE): Bump for 2.14 release.
29488 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29489
5b27a807
UD
29490 * config.make.in (RANLIB): Remove entry.
29491
01f16ab0
UD
294922011-05-30 Ulrich Drepper <drepper@gmail.com>
29493
41fce8bd
UD
29494 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29495 (libc.pot): Work around missing support for .ksh extension in xgettext.
29496
4769ae77
UD
29497 [BZ #12684]
29498 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29499 if both request failed.
29500 (send_dg): In case of server errors clear resplen or *resplen2.
29501
6b1e7d19
UD
29502 [BZ #12454]
29503 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29504 when there are multiple maps.
29505 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29506 (_dl_fini): Remove test here.
29507
01f16ab0
UD
29508 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29509
b1ebd700
UD
295102011-05-29 Ulrich Drepper <drepper@gmail.com>
29511
7ae22829
UD
29512 [BZ #12350]
29513 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29514 bit from old_res_options.
29515 (gaih_inet): Likewise.
29516
553149f6 29517 [BZ #11099]
18a84741 29518 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29519 as signed.
29520
652ffab1
UD
29521 * resolv/res_init.c (res_setoptions): Make the code more compact.
29522
16985fd0
UD
29523 [BZ #11558]
29524 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29525 set RES_USEVC.
29526
0464f746
UD
29527 [BZ #11634]
29528 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29529
7d17596c
UD
29530 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29531
cf6bbbd7
UD
29532 [BZ #11781]
29533 * malloc/malloc.h: Declare malloc hook variables as volatile.
29534
13f1ab36
UD
29535 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29536 in last patch.
29537
b1ebd700
UD
29538 [BZ #11799]
29539 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29540 raise in the comment.
80e2212d
UD
29541 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29542 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29543 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29544
ce67228d
UD
295452011-05-28 Ulrich Drepper <drepper@gmail.com>
29546
8887a920
UD
29547 [BZ #12811]
29548 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29549 grow the buffers more if it already has to be sufficient.
29550 (build_wcs_upper_buffer): Likewise.
29551 * posix/regexec.c (check_matching): Likewise.
29552 (clean_state_log_if_needed): Likewise.
29553 (extend_buffers): Don't enlarge buffers beyond size of the input
29554 buffer.
29555 Patches mostly by Emil Wojak <emil@wojak.eu>.
29556 * posix/bug-regex32.c: New file.
29557 * posix/Makefile (tests): Add bug-regex32.
29558
4f031072
UD
29559 * locale/findlocale.c (_nl_find_locale): Return right away if
29560 _nl_explode_name failed.
29561 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29562
d0478f0c
UD
29563 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29564
de81b246
UD
29565 * debug/xtrace.sh: Unify messages.
29566 * malloc/memusage.sh: Likewise.
29567
c738465a
UD
29568 [BZ #12813]
29569 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29570 time symbol from vDSO. Substitute with vsyscall if not available.
29571 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29572 __vdso_time.
29573
f1f929d7
UD
29574 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29575 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29576 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29577 Add sendmmsg and internal_sendmmsg.
29578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29579 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29580 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29581
ce67228d
UD
29582 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29583 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29585
e57420c6
UD
295862011-05-27 Ulrich Drepper <drepper@gmail.com>
29587
a8509ca5
UD
29588 [BZ #12813]
29589 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29590 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29591 available.
29592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29593 __vdso_getcpu.
29594
e57420c6
UD
29595 [BZ #12814]
29596 * iconvdata/Makefile (tests): Add bug-iconv9.
29597 * iconvdata/bug-iconv9.c: New file.
29598
4d07db15
AS
295992011-05-27 Andreas Schwab <schwab@redhat.com>
29600
29601 [BZ #12814]
29602 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29603
ea486f69
JJ
296042011-05-25 Jakub Jelinek <jakub@redhat.com>
29605
29606 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29607 (struct user_regs_struct): Change intcs field back to cs.
29608
6f038433
UD
296092011-05-25 Ulrich Drepper <drepper@gmail.com>
29610
29611 * po/ja.po: Update from translation team.
29612
67f86a25
UD
296132011-05-23 Ulrich Drepper <drepper@gmail.com>
29614
29615 [BZ #12795]
29616 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29617 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29618
def7fbd6
AS
296192011-05-20 Andreas Schwab <schwab@redhat.com>
29620
29621 * stdlib/longlong.h: Update from GCC.
29622
f50ef8f1
AS
296232011-05-23 Andreas Schwab <schwab@redhat.com>
29624
29625 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29626 parameter name.
29627 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29628 Add parameter name.
29629 (__sysconf): Pass it down.
29630
de7ce8f1
UD
296312011-05-22 Ulrich Drepper <drepper@gmail.com>
29632
f2962a71
UD
29633 [BZ #12671]
29634 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29635 some situations.
29636 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29637 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29638 add in in __libc_use_alloca calls. Adjust callers.
29639 (glob): Use malloc in some situations.
29640
de7ce8f1
UD
29641 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29642 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29643 pltexit.
29644
aec84f53
UD
296452011-05-21 Ulrich Drepper <drepper@gmail.com>
29646
05bb4a68
UD
29647 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29648 and CLOCK_BOOTTIME_ALARM.
29649
7ea72f99
UD
29650 [BZ #12782]
29651 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29652 is returned.
29653
7e4afad5
UD
29654 * string/_strerror.c (__strerror_r): Print negative errors as signed
29655 numbers.
29656
8e211fec
UD
29657 [BZ #12777]
29658 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29659 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29660 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29661
f7d82dc9
UD
29662 * configure.in: Fix typo in redirection and correct removal of test
29663 files in two cases.
29664
cc9e536d
UD
29665 [BZ #12788]
29666 * locale/setlocale.c (new_composite_name): Fix test to check for
29667 identical name of all categories.
29668
aec84f53
UD
29669 [BZ #12792]
29670 * libio/filedoalloc.c (local_isatty): New function.
29671 (_IO_file_doallocate): Use local_isatty.
29672 * stdio-common/perror.c (perror): In case a new stream is used
29673 forward the stream error.
29674 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29675 error flag.
29676
78e64fdc
RT
296772011-05-20 Ulrich Drepper <drepper@gmail.com>
29678
34a9094f
UD
29679 [BZ #11869]
29680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29681 alloca.
29682 * include/alloca.h (extend_alloca_account): Define.
29683
78e64fdc
RT
29684 [BZ #11857]
29685 * posix/regex.h: Fix comments with documentation of user-accessible
29686 fields after compilation and describe correct free'ing of pattern
29687 after re_compile_pattern.
29688 Patch by Reuben Thomas <rrt@sc3d.org>.
29689
457bddfc
RA
296902011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29691
29692 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29693 and -mno-altivec to prevent the compiler from using Altivec and/or
29694 VSX instructions when the corresponding registers are not available.
29695
a4527b51
AS
296962011-05-19 Andreas Schwab <schwab@redhat.com>
29697
29698 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29699
ed690b2f
UD
297002011-05-19 Ulrich Drepper <drepper@gmail.com>
29701
29702 * libio/freopen.c (freopen): Use __dup2, not dup2.
29703 * libio/freopen64.c (freopen64): Likewise.
29704
8db73634
L
297052011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29706
29707 [BZ #12775]
29708 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29709 * math/Makefile (tests): Add test-powl.
29710 (CFLAGS-test-powl.c): Define.
29711 * math/test-powl.c: New file.
29712
0a197a9d
L
297132011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29714
29715 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29716
ee30c380
UD
297172011-05-17 Ulrich Drepper <drepper@gmail.com>
29718
29719 [BZ #11837]
29720 * iconvdata/gb18030.c: Update to GB18020-2005.
29721
6ce75379
UD
297222011-05-16 Ulrich Drepper <drepper@gmail.com>
29723
a4b89fd8
AR
29724 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29725 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29726 Patch by Aharon Robbins <arnold@skeeve.com>.
29727
ea389b12
UD
29728 [BZ #11892]
29729 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29730 on the stack.
29731
68a3f91f
UD
29732 [BZ #11895]
29733 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29734 through underflows.
29735
15cc7dd1
UD
29736 [BZ #12766]
29737 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29738 point to strings before performing equality test for error_one_per_line
29739 mode.
29740
f3799213
UD
29741 [BZ #11697]
29742 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29743
d79a9c94
UD
29744 [BZ #11820]
29745 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29746 (struct user_fpregs_struct): Avoid __uint*_t types.
29747
56e5eb46
UD
29748 [BZ #6420]
29749 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29750 symbol info. Use it instead of calling _dl_addr locally.
29751 (lock_and_info): New function.
29752 (tr_freehook): Call lock_and_info and pass symbol info as additional
29753 parameter to tr_where.
29754 (tr_mallochook): Likewise.
29755 (tr_reallochook): Likewise.
29756 (tr_memalignhook): Likewise.
29757
6ce75379
UD
29758 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29759 used and couldn't be at all thread-safe.
29760
f8a3b5bf
UD
297612011-05-15 Ulrich Drepper <drepper@gmail.com>
29762
94b7cc37
UD
29763 * libio/freopen.c (freopen): Don't close old file descriptor
29764 before the new one is opened. Instead dup the new file descriptor
29765 to the old one after the new stream is created.
29766 * libio/freopen64.c (freopen64): Likewise.
29767 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29768 * libio/fileops.c (_IO_new_file_close_it): Handle new
29769 _IO_FLAGS2_NOCLOSE flag.
29770 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29771 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29772 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29773 _IO_FLAGS2_NOCLOSE flag.
29774 * include/unistd.h: Add hidden_proto for dup3.
29775 Define __have_dup3.
29776 * io/dup3.c: Define hidden symbol.
29777 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29778
bd25564e
UD
29779 [BZ #7101]
29780 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29781 when an incomplete long option is used.
29782 * posix/tst-getopt_long1.c: New file.
29783 * posix/Makefile (tests): Add tst-getopt_long1.
29784
c84cfef4
UD
29785 [BZ #10138]
29786 * scripts/config.guess: Update from autoconf-2.68.
29787 * scripts/config.sub: Likewise.
29788
3b85df27
UD
29789 [BZ #10157]
29790 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29791 tests into ...
29792 (has_cpuclock): ...this. New function.
29793 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29794 macro here based on has_cpuclock code.
29795
15a856b1
UD
29796 [BZ #10149]
29797 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29798 First byte (not low byte) is now always NUL.
29799 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29800
05f399e6
UD
29801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29802 Use non-cancelable interfaces.
29803
10a52685 29804 [BZ #9809]
94ecc67d
UD
29805 * locale/iso-639.def: Add entry for Sorani.
29806
f8a3b5bf
UD
29807 [BZ #11901]
29808 * include/stdlib.h: Move include protection to the right place.
29809 Define abort_msg_s. Declare __abort_msg with it.
29810 * stdlib/abort.c (__abort_msg): Adjust type.
29811 * assert/assert.c (__assert_fail_base): New function. Majority
29812 of code from __assert_fail. Allocate memory for __abort_msg with
29813 mmap.
29814 (__assert_fail): Now call __assert_fail_base.
29815 * assert/assert-perr.c: Remove bulk of implementation. Use
29816 __assert_fail_base.
29817 * include/assert.hL Declare __assert_fail_base.
29818 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29819 mmap.
29820 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29821
1af4e298
UD
298222011-05-14 Ulrich Drepper <drepper@gmail.com>
29823
f8a3b5bf 29824 [BZ #11952]
d26dfc60
MG
29825 [BZ #12453]
29826 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29827 until all modules are registered in the DTV.
29828 * elf/Makefile: Add rules to build and run tst-tls19.
29829 * elf/tst-tls19.c: New file.
29830 * elf/tst-tls19mod1.c: New file.
29831 * elf/tst-tls19mod2.c: New file.
29832 * elf/tst-tls19mod3.c: New file.
29833 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29834
2fc54d6f
UD
29835 [BZ #12083]
29836 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29837 correctly.
29838
98d76b46
UD
29839 [BZ #12601]
29840 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29841 two-byte sequence errors.
29842 * iconvdata/Makefile (tests): Add bug-iconv8.
29843 * iconvdata/bug-iconv8.c: New file.
29844
da3c19ef
UD
29845 [BZ #12626]
29846 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29847 buf2 definition.
29848
ca408c15
UD
29849 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29850
d6f67f7d
UD
29851 [BZ #12432]
29852 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29853 (dummy_getcfa): New function.
29854 (init): Get _Unwind_GetCFA address, use dummy if not found.
29855 (backtrace_helper): In recursion check, also check whether CFA changes.
29856 (__backtrace): Completely initialize arg.
29857
1af4e298 29858 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29859 storing incomplete byte sequence in state object. Avoid testing for
29860 guaranteed too small input if we know there is enough data available.
1af4e298 29861
da62f81b
AS
298622011-05-11 Andreas Schwab <schwab@redhat.com>
29863
29864 * Makeconfig (+link-pie): Indent.
29865 * Rules (binaries-pie): Define if $(have-fpie) and
29866 $(build-shared).
29867 (binaries-shared): Also filter out $(binaries-pie).
29868 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29869 * nscd/Makefile (others-pie): Add nscd.
29870 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29871 ($(objpfx)nscd): Remove command override.
29872 * login/Makefile (others-pie): Add pt_chown.
29873 ($(objpfx)pt_chown): Remove command override.
29874 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29875 remove command overrides.
29876
fcabc0f8
UD
298772011-05-13 Ulrich Drepper <drepper@gmail.com>
29878
20030ae6
UD
29879 * libio/tst_putwc.c: Fix error messages.
29880
fcabc0f8
UD
29881 [BZ #12724]
29882 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29883 currently writing and seek to current position when not.
29884 * libio/Makefile (tests): Add bug-fclose1.
29885 * libio/bug-fclose1.c: New file.
29886
320a5dc0
PB
298872011-05-12 Ulrich Drepper <drepper@gmail.com>
29888
29889 [BZ #12511]
29890 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29891 don't set DF_1_NODELETE here.
29892 (do_lookup_x): When entering new entry test for copy relocation
29893 and if necessary set DF_1_NODELETE flag.
29894 * elf/tst-unique4.cc: New file.
29895 * elf/tst-unique4.h: New file.
29896 * elf/tst-unique4lib.cc: New file.
29897 * elf/Makefile: Add rules to build and run tst-unique4.
29898 Patch by Piotr Bury <pbury@goahead.com>.
29899
22836f52
UD
299002011-05-11 Ulrich Drepper <drepper@gmail.com>
29901
f574184a
UD
29902 [BZ #12052]
29903 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29904
e1fb097f
UD
29905 [BZ #12625]
29906 * misc/mntent_r.c (addmntent): Flush the stream after the output
29907
22836f52
UD
29908 [BZ #12393]
29909 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29910 (is_trusted_path_normalize): Skip initial colon. Append slash
29911 to empty buffer. Duplicate is_trusted_path code but allow
29912 constructed patch to be prefix.
29913 (is_dst): Allow $ORIGIN followed by /.
29914 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29915 Correct testing of result of is_trusted_path_normalize
29916 (decompose_rpath): Fix warning.
29917
7b3b0b2a
UD
299182011-05-10 Ulrich Drepper <drepper@gmail.com>
29919
29920 [BZ #11257]
29921 * grp/initgroups.c (internal_getgrouplist): When we found the service
29922 list through the initgroups entry in nsswitch.conf do not always
29923 continue on a successful lookup. Don't always use the
eac80ce2 29924 __nss_group_database value if it is set.
7b3b0b2a
UD
29925 * nss/nsswitch.conf (initgroups): Change action for successful db
29926 lookup to continue for compatibility.
29927
2a81eaa5
UD
299282011-05-09 Ulrich Drepper <drepper@gmail.com>
29929
be97a69e
UD
29930 [BZ #11532]
29931 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29932 and CP774 modules.
29933 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29934 and CP774 modules.
29935 * iconvdata/tst-tables.sh: Likewise.
29936 * iconvdata/cp770.c: New file.
29937 * iconvdata/cp771.c: New file.
29938 * iconvdata/cp772.c: New file.
29939 * iconvdata/cp773.c: New file.
29940 * iconvdata/cp774.c: New file.
29941 * iconvdata/testdata/CP770: New file.
29942 * iconvdata/testdata/CP770..UTF8: New file.
29943 * iconvdata/testdata/CP771: New file.
29944 * iconvdata/testdata/CP771..UTF8: New file.
29945 * iconvdata/testdata/CP772: New file.
29946 * iconvdata/testdata/CP772..UTF8: New file.
29947 * iconvdata/testdata/CP773: New file.
29948 * iconvdata/testdata/CP773..UTF8: New file.
29949 * iconvdata/testdata/CP774: New file.
29950 * iconvdata/testdata/CP774..UTF8: New file.
29951
29952 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29953 END CHARMAP line.
29954 * iconvdata/gen-8bit-gap.sh: Likewise.
29955 * iconvdata/gen-8bit.sh: Likewise.
29956
c1e9e399
UD
29957 * locale/iso-639.def: Add ary entry.
29958
24c55fb3 29959 [BZ #11258]
96b4b1b0
UD
29960 * locale/C-translit.h.in: Add U20A1 transliteration.
29961
bdc2f971
KB
29962 [BZ #12178]
29963 * locale/iso-639.def: Add wae entry.
29964 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29965
2952b117
UD
29966 [BZ #12545]
29967 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29968 for n.
29969
2a81eaa5
UD
29970 [BZ #12711]
29971 * locale/C-translit.h.in: Add entry for U20B9.
29972 Patch by pravin.d.s@gmail.com.
29973
28377d1b
UD
299742011-05-08 Ulrich Drepper <drepper@gmail.com>
29975
7fb90fb8
UD
29976 [BZ #12713]
29977 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29978 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29979 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29980 in rtld. Use *stat64.
7fb90fb8 29981 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29982 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29983 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29984 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29985 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29986 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29987 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29988 __fstatat64 macros.
7fb90fb8
UD
29989 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29990 * dirent/rewinddir.c: Add libc_hidden_def.
29991 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29992 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29993
28377d1b
UD
29994 * include/dirent.h (__alloc_dir): Add flags parameter.
29995 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29996 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29997 __alloc_dir.
29998 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29999 from fdopendir if O_CLOEXEC is already set.
30000
66bdbaa4
AM
300012011-03-15 Alan Modra <amodra@gmail.com>
30002
30003 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30004 l_tls_firstbyte_offset non-zero. Save padding offset in
30005 l_tls_firstbyte_offset for later use.
30006 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30007 freeing static tls block.
30008
95721191
JN
300092011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30010
30011 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30012 where #ifdef was intended. The intent is to prevent ARG_MAX from
30013 being defined by the kernel headers.
30014
f87dfb1f
UD
300152011-05-07 Ulrich Drepper <drepper@gmail.com>
30016
30017 [BZ #12734]
30018 * resolv/resolv.h: Define RES_NOTLDQUERY.
30019 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30020 no-tld-query and set RES_NOTLDQUERY.
30021 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30022 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30023 modern BIND to search name as TLD unless forbidden.
30024
47c3cd7a
UD
300252011-05-07 Petr Baudis <pasky@suse.cz>
30026 Ulrich Drepper <drepper@gmail.com>
30027
30028 [BZ #12393]
30029 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30030 (is_trusted_path): ...to here.
c1e9ea35 30031 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30032 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30033 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30034
8a35c912
PP
300352011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30036
30037 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30038 __BEGIN/__END_DECLS.
30039
acd41f47
UD
300402011-05-06 Ulrich Drepper <drepper@gmail.com>
30041
30042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30043 NSS_STATUS_NOTFOUND if no record was found.
30044
597df647
AS
300452011-05-05 Andreas Schwab <schwab@redhat.com>
30046
30047 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30048 (headers-not-in-tirpc): Remove rpc/netdb.h
30049 * resolv/netdb.h: Revert last change.
30050
b9af1301
PP
300512011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30052
30053 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30054 circular dependency between libgcc.a and libc.a.
30055
4e34d5f5
AS
300562011-05-05 Andreas Schwab <schwab@redhat.com>
30057
30058 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30059 * nis/Makefile: Don't install rpcsvc/*.
30060 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30061 instead of <rpc/types.h>.
30062 (MAXHOSTNAMELEN): Define.
30063
00ee369c
AS
300642011-05-03 Andreas Schwab <schwab@redhat.com>
30065
30066 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30067
0b592a30
MB
300682011-04-28 Maciej Babinski <mbabinski@google.com>
30069
30070 [BZ #12714]
30071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30072 gethostbyname4_r when IPv6 results are possible.
30073
6e04cbbe
UD
300742011-05-02 Ulrich Drepper <drepper@gmail.com>
30075
30076 [BZ #12723]
30077 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30078 _PC_PIPE_BUF handling.
30079
e4ecafe0
BH
300802011-04-30 Bruno Haible <bruno@clisp.org>
30081
30082 [BZ #12717]
30083 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30084 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30085 to 'int'.
30086 * inet/getnameinfo.c (getnameinfo): Likewise.
30087
125ee683
UD
300882011-04-29 Ulrich Drepper <drepper@gmail.com>
30089
30090 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30091 to groups setting in database lookup.
30092 * nss/nsswitch.conf: Add initgroups entry.
30093
b722481a
EB
300942011-04-22 Ulrich Drepper <drepper@gmail.com>
30095
30096 [BZ #12685]
30097 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30098 mode string.
30099 Patch by Eric Blake <eblake@redhat.com>.
30100
4df46dbd
L
301012011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30102
30103 * sunrpc/Makefile (need-export-routines): Add svc_run.
30104 (routines): Remove svc_run.
30105 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30106 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30107 * sunrpc/svc_run.c (svc_run): Likewise.
30108 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30109
e84142d2
UD
301102011-04-21 Ulrich Drepper <drepper@gmail.com>
30111
30112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30113 problem in reallocation in last patch.
30114
877175d8
UD
301152011-04-20 Ulrich Drepper <drepper@gmail.com>
30116
30117 * sunrpc/Makefile: Move inclusion of Rules.
30118
ab8eed78
UD
301192011-04-19 Ulrich Drepper <drepper@gmail.com>
30120
30121 * nss/nss_files/files-initgroups.c: New file.
30122 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30123 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30124 _nss_files_initgroups_dyn.
30125
e3d8f584
RS
301262011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30127
30128 * elf/elf.h (R_ARM_IRELATIVE): Define.
30129
af190f45
UD
301302011-04-19 Ulrich Drepper <drepper@gmail.com>
30131
30132 * po/ru.po: Update from translation team.
30133
53cf59ef
UD
301342011-04-17 Ulrich Drepper <drepper@gmail.com>
30135
30136 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30137 dependencies.
30138
4c559bcd
MF
301392011-02-06 Mike Frysinger <vapier@gentoo.org>
30140
30141 [BZ #12653]
30142 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30143 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30144 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30147
4420675c
AS
301482011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30149
30150 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30151 differing bytes.
30152 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30154 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30155
75ea32ab
UD
301562011-04-17 Ulrich Drepper <drepper@gmail.com>
30157
30158 [BZ #12420]
30159 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30160 storing it.
30161 * stdlib/bug-getcontext.c: New file.
30162 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30163
27390476
AK
301642011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30165
30166 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30167 instructions into .machine "z9-109".
30168 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30169 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30170
10442705
AK
301712011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30172
30173 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30174 between environment variables and auxiliary vector.
30175
7b57bfe5
UD
301762011-04-16 Ulrich Drepper <drepper@gmail.com>
30177
30178 * Makefile: Add rules to build linkobj/libc.so.
30179 * include/libc-symbols.h: Define libc_hidden_nolink.
30180 * include/rpc/auth.h: Mark functions which are to be hidden.
30181 * include/rpc/auth_des.h: Likewise.
30182 * include/rpc/auth_unix.h: Likewise.
30183 * include/rpc/clnt.h: Likewise.
30184 * include/rpc/des_crypt.h: Likewise.
30185 * include/rpc/key_prot.h: Likewise.
30186 * include/rpc/pmap_clnt.h: Likewise.
30187 * include/rpc/pmap_prot.h: Likewise.
30188 * include/rpc/pmap_rmt.h: Likewise.
30189 * include/rpc/rpc_msg.h: Likewise.
30190 * include/rpc/svc.h: Likewise.
30191 * include/rpc/svc_auth.h: Likewise.
30192 * include/rpc/xdr.h: Likewise.
30193 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30194 * nss/Makefile: Likewise.
30195 * sunrpc/Makefile: Don't install headers. Build library with normal
30196 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30197 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30198 for the compat linking library. Remove use of INTDEF/INTUSE.
30199 * sunrpc/auth_none.c: Likewise.
30200 * sunrpc/auth_unix.c: Likewise.
30201 * sunrpc/authdes_prot.c: Likewise.
30202 * sunrpc/authuxprot.c: Likewise.
30203 * sunrpc/clnt_gen.c: Likewise.
30204 * sunrpc/clnt_perr.c: Likewise.
30205 * sunrpc/clnt_raw.c: Likewise.
30206 * sunrpc/clnt_simp.c: Likewise.
30207 * sunrpc/clnt_tcp.c: Likewise.
30208 * sunrpc/clnt_udp.c: Likewise.
30209 * sunrpc/clnt_unix.c: Likewise.
30210 * sunrpc/des_crypt.c: Likewise.
30211 * sunrpc/des_soft.c: Likewise.
30212 * sunrpc/get_myaddr.c: Likewise.
30213 * sunrpc/key_call.c: Likewise.
30214 * sunrpc/key_prot.c: Likewise.
30215 * sunrpc/netname.c: Likewise.
30216 * sunrpc/pm_getmaps.c: Likewise.
30217 * sunrpc/pm_getport.c: Likewise.
30218 * sunrpc/pmap_clnt.c: Likewise.
30219 * sunrpc/pmap_prot.c: Likewise.
30220 * sunrpc/pmap_prot2.c: Likewise.
30221 * sunrpc/pmap_rmt.c: Likewise.
30222 * sunrpc/publickey.c: Likewise.
30223 * sunrpc/rpc_cmsg.c: Likewise.
30224 * sunrpc/rpc_common.c: Likewise.
30225 * sunrpc/rpc_dtable.c: Likewise.
30226 * sunrpc/rpc_prot.c: Likewise.
30227 * sunrpc/rpc_thread.c: Likewise.
30228 * sunrpc/rtime.c: Likewise.
30229 * sunrpc/svc.c: Likewise.
30230 * sunrpc/svc_auth.c: Likewise.
30231 * sunrpc/svc_authux.c: Likewise.
30232 * sunrpc/svc_raw.c: Likewise.
30233 * sunrpc/svc_run.c: Likewise.
30234 * sunrpc/svc_simple.c: Likewise.
30235 * sunrpc/svc_tcp.c: Likewise.
30236 * sunrpc/svc_udp.c: Likewise.
30237 * sunrpc/svc_unix.c: Likewise.
30238 * sunrpc/svcauth_des.c: Likewise.
30239 * sunrpc/xcrypt.c: Likewise.
30240 * sunrpc/xdr.c: Likewise.
30241 * sunrpc/xdr_array.c: Likewise.
30242 * sunrpc/xdr_float.c: Likewise.
30243 * sunrpc/xdr_intXX_t.c: Likewise.
30244 * sunrpc/xdr_mem.c: Likewise.
30245 * sunrpc/xdr_rec.c: Likewise.
30246 * sunrpc/xdr_ref.c: Likewise.
30247 * sunrpc/xdr_sizeof.c: Likewise.
30248 * sunrpc/xdr_stdio.c: Likewise.
30249
e6c61494
UD
302502011-04-10 Ulrich Drepper <drepper@gmail.com>
30251
30252 [BZ #12650]
30253 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30254 * sysdeps/ia64/dl-tls.h: Likewise.
30255 * sysdeps/powerpc/dl-tls.h: Likewise.
30256 * sysdeps/s390/dl-tls.h: Likewise.
30257 * sysdeps/sh/dl-tls.h: Likewise.
30258 * sysdeps/sparc/dl-tls.h: Likewise.
30259 * sysdeps/x86_64/dl-tls.h: Likewise.
30260 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30261
34fe483e
AS
302622011-03-14 Andreas Schwab <schwab@redhat.com>
30263
30264 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30265 rpath element also skip the following colon.
30266 (expand_dynamic_string_token): Add is_path parameter and pass
30267 down to DL_DST_REQUIRED and _dl_dst_substitute.
30268 (decompose_rpath): Call expand_dynamic_string_token with
30269 non-zero is_path. Ignore empty rpaths.
30270 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30271 with zero is_path.
30272
f12a32e6
AS
302732011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30274
30275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30276 Make cancelable.
30277
38a7d692
UD
302782011-04-09 Ulrich Drepper <drepper@gmail.com>
30279
30280 [BZ #12655]
30281 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30282 Patch by Filipe David Manana <fdmanana@apache.org>.
30283
e451d22b
AS
302842011-04-07 Andreas Schwab <schwab@redhat.com>
30285
30286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30287 Maintain aligned stack.
30288 (CHECK_RSP): Remove unused macro.
30289
dedc7c7b
UD
302902011-04-03 Ulrich Drepper <drepper@gmail.com>
30291
30292 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30294
94521213
UD
302952011-04-02 Ulrich Drepper <drepper@gmail.com>
30296
30297 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30298
8cb700c0 30299 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30300
0354e355
L
303012011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30302
30303 [BZ #12518]
30304 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30305 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30306 * sysdeps/x86_64/memmove.c: New file.
30307 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30308 (memcpy): Renamed to ...
30309 (__new_memcpy): This.
30310 (memcpy): Provide GLIBC_2_14 memcpy.
30311 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30312 (memcpy): Provide GLIBC_2_2_5 memcpy.
30313
8593482f
UD
303142011-04-01 Ulrich Drepper <drepper@gmail.com>
30315
30316 [BZ #12631]
30317 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30318
81a5726b
AS
303192011-03-30 Andreas Schwab <schwab@redhat.com>
30320
30321 * misc/syncfs.c: New file.
30322 * misc/Makefile (routines): Add syncfs.
30323 * posix/unistd.h: Declare syncfs.
30324 * sysdeps/unix/syscalls.list: Add syncfs.
30325
00e5419f
AS
303262011-04-01 Andreas Schwab <schwab@redhat.com>
30327
30328 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30329 open_by_handle_at.
30330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30331 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30333 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30335 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30337
748876bf
UD
303382011-04-01 Ulrich Drepper <drepper@gmail.com>
30339
658e451d
UD
30340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30342 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30347
748876bf
UD
30348 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30349 sync_file_range.c with -fexceptions.
30350 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30351 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30352 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30353 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30354 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30355 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30357 sync_file_range as cancellation point
30358 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30359 now a wrapper around __call_sync_file_range with cancellation handling.
30360 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30361 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30362 function name to __call_sync_file_range.
30363 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30364 Add call_sync_file_range.
748876bf 30365
6e63d5e1
AS
303662011-04-01 Andreas Schwab <schwab@redhat.com>
30367
30368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30369 bits/timex.h.
6e63d5e1 30370
46998f74
UD
303712011-04-01 Ulrich Drepper <drepper@gmail.com>
30372
4c1423ed
UD
30373 * iconv/iconv.h: Fix typo in comment.
30374 * io/fcntl.h: Likewise.
30375 * libio/stdio.h: Likewise.
30376 * posix/spawn.h: Likewise.
30377 * posix/unistd.h: Likewise.
30378 * stdlib/stdlib.h: Likewise.
30379 * time/time.h: Likewise.
30380 * wcsmbs/wchar.h: Likewise.
30381
158648c0
UD
30382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30383 open_by_handle): Add.
30384 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30385 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30386 Augment a few comments.
30387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30389 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30392 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30393 open_by_handle.
30394
46998f74
UD
30395 * io/fcntl.h (AT_EMPTY_PATH): Define.
30396
83fe108b
UD
303972011-03-30 Ulrich Drepper <drepper@gmail.com>
30398
30399 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30400 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30401 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30402 to...
30403 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30404 * Versions.def: Add GLIBC_2.14.
30405 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30406 Export.
83fe108b 30407
bb242059
UD
304082011-03-22 Ulrich Drepper <drepper@gmail.com>
30409
30410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30411 round counter.
30412 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30413
c97a1282
L
304142011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30415
30416 [BZ #12597]
30417 * string/test-strncmp.c (do_page_test): New function.
30418 (check2): Likewise.
30419 (test_main): Call check2.
30420 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30421
2a115601
UD
304222011-03-20 Ulrich Drepper <drepper@gmail.com>
30423
30424 [BZ #12587]
30425 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30426 Handle cache information in CPU leaf 4.
30427 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30428
8126d904
UD
304292011-03-18 Ulrich Drepper <drepper@gmail.com>
30430
042c49c6 30431 [BZ #12583]
8126d904
UD
30432 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30433 character representation.
30434 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30435
ccfe366e
RA
304362011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30437
30438 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30439 END(__isnan) to END(__isnanf) to match function entry point/label
30440 EALIGN(__isnanf,...).
30441
c6e13027
JJ
304422011-03-10 Jakub Jelinek <jakub@redhat.com>
30443
30444 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30445
33f85a3f
UD
304462011-03-10 Ulrich Drepper <drepper@gmail.com>
30447
028478fa
UD
30448 [BZ #12510]
30449 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30450 copy from the symbol referenced in the relocation to initialize the
30451 used variable.
30452 Patch by Piotr Bury <pbury@goahead.com>.
30453 * elf/Makefile: Add rules to build and tst-unique3.
30454 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30455 * elf/tst-unique3.cc: New file.
30456 * elf/tst-unique3.h: New file.
30457 * elf/tst-unique3lib.cc: New file.
30458 * elf/tst-unique3lib2.cc: New file.
30459
33f85a3f
UD
30460 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30461
03592fc7
MF
304622011-03-10 Mike Frysinger <vapier@gentoo.org>
30463
30464 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30465 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30466 to _start.
03592fc7 30467
6a5ee102
UD
304682011-03-06 Ulrich Drepper <drepper@gmail.com>
30469
30470 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30471 to-be-loaded object along a path to loader is ld.so.
30472
7e4ba49c
HJ
304732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30474 Ulrich Drepper <drepper@gmail.com>
30475
30476 * sysdeps/x86_64/memset.S: After aligning destination, code
30477 branches to different locations depending on the value of
30478 misalignment, when multiarch is enabled. Fix this.
30479
304802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30481
30482 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30483 Set _x86_64_preferred_memory_instruction for AMD processsors.
30484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30485 Set bit_Prefer_SSE_for_memop for AMD processors.
30486
13a804de
UD
304872011-03-04 Ulrich Drepper <drepper@gmail.com>
30488
30489 * libio/fmemopen.c (fmemopen): Optimize a bit.
30490
9d25c392
AS
304912011-03-03 Andreas Schwab <schwab@redhat.com>
30492
30493 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30494
a5543c6a
RM
304952011-03-03 Roland McGrath <roland@redhat.com>
30496
30497 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30498
012d35f7
DM
304992011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30500
7e4ba49c 30501 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30502 __bzero_ultra1 instead of __memset_ultra1.
30503
4bff6e01
AS
305042011-02-23 Andreas Schwab <schwab@redhat.com>
30505 Ulrich Drepper <drepper@gmail.com>
30506
30507 [BZ #12509]
30508 * include/link.h (struct link_map): Add l_orig_initfini.
30509 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30510 returning unsuccessfully.
30511 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30512 close of a file loaded at startup, restore the original l_initfini
30513 list.
30514 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30515 list, store the pointer.
30516 * elf/Makefile ($(objpfx)noload-mem): New rule.
30517 (noload-ENV): Define.
30518 (tests): Add $(objpfx)noload-mem.
30519 * elf/noload.c: Include <memcheck.h>.
30520 (main): Call mtrace. Close all opened handles.
30521
f2092faf
AS
305222011-02-17 Andreas Schwab <schwab@redhat.com>
30523
30524 [BZ #12454]
30525 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30526 dependencies are missing.
30527
6c8a2e88
ST
305282011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30529
f2092faf 30530 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30531 Hurd needs munmap.
30532 * sysdeps/mach/hurd/ifreq.h: New file.
30533
84a42118
PB
305342011-01-27 Petr Baudis <pasky@suse.cz>
30535 Ulrich Drepper <drepper@gmail.com>
30536
071f805e 30537 [BZ 12445]#
84a42118
PB
30538 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30539 to extend_alloca().
30540 * stdio-common/bug23.c: New file.
30541 * stdio-common/Makefile (tests): Add bug23.
30542
e23fe25b
AS
305432010-09-28 Andreas Schwab <schwab@redhat.com>
30544 Ulrich Drepper <drepper@gmail.com>
30545
30546 [BZ #12489]
30547 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30548 before performing relro protection. At old place add assertion
30549 to make sure nothing changed.
30550
d3f02e10
NS
305512011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30552 Glauber de Oliveira Costa <glommer@gmail.com>
30553
30554 * elf/elf.h: Add new ARM TLS relocs.
30555
d55fd7a5
RA
305562011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30557
30558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30559 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30560 cast from r3.
30561 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30562 'tests' variable.
30563 * sysdeps/wordsize-64/tst-writev.c: New file.
30564
2206397e
RA
305652011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30566
30567 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30568 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30569 insns in _dl_start to prevent a TOC reference before relocs are
30570 resolved.
30571
e9433893
UD
305722011-02-15 Ulrich Drepper <drepper@gmail.com>
30573
30574 [BZ #12469]
30575 * Makeconfig: Remove RANLIB definition.
30576 * Makerules: Don't use RANLIB.
30577 * aclocal.m4: Remove ranlib test.
30578 * configure.in: No need to check for ranlib.
30579 * elf/rtld-Rules: Don't use RANLIB.
30580
f75286c6
ST
305812011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30582
8e31c82d
ST
30583 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30584 protection macro.
30585 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30586 inclusion protection macro.
30587
f75286c6
ST
30588 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30589 SIGRTMIN and SIGRTMAX and print information in that case only when
30590 SIGRTMIN is defined.
30591
c1d0e639
JJ
305922011-02-11 Jakub Jelinek <jakub@redhat.com>
30593
30594 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30595 arginfo fn returning -1.
30596
30597 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30598 and thousands string is zero terminated.
30599
edf9294e
AS
306002011-02-03 Andreas Schwab <schwab@redhat.com>
30601
30602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30603 sysdeps/unix/sysv/linux/bits/socket.h.
30604
2b7e92df
ST
306052011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30606
edf9294e
AS
30607 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30608 (__CPU_COUNT): Remove old macros.
30609 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30610 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30611 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30612 (__sched_cpualloc, __sched_cpufree): Add declarations.
30613
a4c7ea7b
UD
306142011-02-05 Ulrich Drepper <drepper@gmail.com>
30615
30616 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30617 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30618 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30619 (readdhstai): Return value of addhstaiX call.
30620 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30621 (addgrbyX): Return value returned by cache_addgr.
30622 (readdgrbyname): Return value returned by addgrbyX.
30623 (readdgrbygid): Likewise.
30624 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30625 (addpwbyX): Return value returned by cache_addpw.
30626 (readdpwbyname): Return value returned by addhstbyX.
30627 (readdpwbyuid): Likewise.
30628 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30629 (addservbyX): Return value returned by cache_addserv.
30630 (readdservbyname): Return value returned by addservbyX:
30631 (readdservbyport): Likewise.
30632 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30633 (addhstbyX): Return value returned by cache_addhst.
30634 (readdhstbyname): Return value returned by addhstbyX.
30635 (readdhstbyaddr): Likewise.
30636 (readdhstbynamev6): Likewise.
30637 (readdhstbyaddrv6): Likewise.
30638 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30639 (readdinitgroups): Return value returned by addinitgroupsX.
30640 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30641 (prune_cache): Keep track of timeout value of re-added entries.
30642 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30643 * nscd/nscd.h: Adjust prototypes of readd* functions.
30644
a0bf67cc
RM
306452011-02-04 Roland McGrath <roland@redhat.com>
30646
30647 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30648 (nis_stats): Likewise.
30649 * nis/nis_modify.c (nis_modify): Likewise.
30650 * nis/nis_remove.c (nis_remove): Likewise.
30651 * nis/nis_add.c (nis_add): Likewise.
30652
30653 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30654
30655 * posix/fnmatch_loop.c: Add some consts.
30656
30657 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30658
435b95eb
L
306592011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30660
30661 [BZ #12460]
30662 * config.make.in (config-cflags-novzeroupper): Define.
30663 * configure.in: Substitute libc_cv_cc_novzeroupper.
30664 * elf/Makefile (AVX-CFLAGS): Define.
30665 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30666 (CFLAGS-tst-auditmod4a.c): Likewise.
30667 (CFLAGS-tst-auditmod4b.c): Likewise.
30668 (CFLAGS-tst-auditmod6b.c): Likewise.
30669 (CFLAGS-tst-auditmod6c.c): Likewise.
30670 (CFLAGS-tst-auditmod7b.c): Likewise.
30671 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30672
8517b15e
UD
306732011-02-02 Ulrich Drepper <drepper@gmail.com>
30674
30675 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30676 function to the callback.
30677 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30678
10a656fe
AS
306792011-02-02 Andreas Schwab <schwab@redhat.com>
30680
30681 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30682 of errno.
30683
968dad0a
UD
306842011-01-19 Ulrich Drepper <drepper@gmail.com>
30685
9f94d2ea 30686 [BZ #11724]
968dad0a
UD
30687 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30688 of constructors.
30689 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30690 of destructors.
30691 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30692
30693 [BZ #11724]
30694 * elf/Makefile: Add rules to build and run new test.
30695 * elf/tst-initorder.c: New file.
30696 * elf/tst-initorder.exp: New file.
30697 * elf/tst-initordera1.c: New file.
30698 * elf/tst-initordera2.c: New file.
30699 * elf/tst-initordera3.c: New file.
30700 * elf/tst-initordera4.c: New file.
30701 * elf/tst-initorderb1.c: New file.
30702 * elf/tst-initorderb2.c: New file.
30703 * elf/tst-order-a1.c: New file.
30704 * elf/tst-order-a2.c: New file.
30705 * elf/tst-order-a3.c: New file.
30706 * elf/tst-order-a4.c: New file.
30707 * elf/tst-order-b1.c: New file.
30708 * elf/tst-order-b2.c: New file.
30709 * elf/tst-order-main.c: New file.
30710 New test case by George Gensure <werkt0@gmail.com>.
30711
86e92359
UD
307122010-10-01 Andreas Schwab <schwab@redhat.com>
30713
30714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30715 decoding ACE if AI_CANONIDN.
30716
5d5732b0
UD
307172011-01-18 Ulrich Drepper <drepper@gmail.com>
30718
30719 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30720
a77e8cbc
UD
307212011-01-17 Ulrich Drepper <drepper@gmail.com>
30722
6392473f
UD
30723 * version.h (RELEASE): Bump for 2.13 release.
30724 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30725
620a0529
UD
30726 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30727
18ba70a5
UD
30728 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30729 MADV_NOHUGEPAGE.
32465c3e
UD
30730 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30731 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30732 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30733 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30734 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30736
c0dafcf1
UD
30737 * posix/getconf.c: Update copyright year.
30738 * catgets/gencat.c: Likewise.
30739 * csu/version.c: Likewise.
30740 * debug/catchsegv.sh: Likewise.
30741 * debug/xtrace.sh: Likewise.
30742 * elf/ldconfig.c: Likewise.
30743 * elf/ldd.bash.in: Likewise.
30744 * elf/sprof.c (print_version): Likewise.
30745 * iconv/iconv_prog.c: Likewise.
30746 * iconv/iconvconfig.c: Likewise.
30747 * locale/programs/locale.c: Likewise.
30748 * locale/programs/localedef.c: Likewise.
30749 * malloc/memusage.sh: Likewise.
30750 * malloc/mtrace.pl: Likewise.
30751 * nscd/nscd.c (print_version): Likewise.
30752 * nss/getent.c: Likewise.
30753
a77e8cbc
UD
30754 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30755 PF_CAIF, and PF_ALG.
30756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30757
77e8bddf
AS
307582011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30759
1f20b93a
AS
30760 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30761 (modules-names): Use them.
30762 (ifunc-test-modules, ifunc-pie-tests): Define.
30763 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30764 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30765 (test-extras): Likewise.
30766 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30767 $(compile-command.c).
30768 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30769 (all-built-dso): Define.
30770 (check-textrel.out, check-execstack.out): Depend on it.
30771
77e8bddf
AS
30772 * configure.in: Don't override --enable-multi-arch.
30773
bc425b33
UD
307742011-01-15 Ulrich Drepper <drepper@gmail.com>
30775
30776 [BZ #6812]
30777 * nscd/hstcache.c (tryagain): Define.
30778 (cache_addhst): Return tryagain not notfound for temporary errors.
30779 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30780 failed.
30781
794c3ad3
UD
307822011-01-14 Ulrich Drepper <drepper@gmail.com>
30783
70181fdd
UD
30784 [BZ #10563]
30785 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30786 to make the syscall.
30787 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30788
794c3ad3
UD
30789 [BZ #12378]
30790 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30791 and fall back to matching as normal character if the string ends before
30792 the matching ']' is found. This is what POSIX requires.
30793 * posix/testfnm.c: Adjust test result.
30794 * posix/globtest.sh: Adjust test result. Add new test.
30795 * posix/tst-fnmatch.input: Likewise.
30796 * posix/tst-fnmatch2.c: Add new test.
30797
68dc9497
AS
307982010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30799
30800 * elf/Makefile (check-execstack): Revert last change. Depend on
30801 check-execstack.h.
30802 (check-execstack.h): New target.
30803 (generated): Add check-execstack.h.
30804 * elf/check-execstack.c: Include "check-execstack.h".
30805 (main): Revert last change.
30806 (handle_file): Return zero if GNU_STACK is absent and
30807 DEFAULT_STACK_PERMS doesn't include PF_X.
30808
451f001b
UD
308092011-01-13 Ulrich Drepper <drepper@gmail.com>
30810
cfa28e56
UD
30811 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30812 in child fails because the descriptor is already closed.
8cf8ce17
UD
30813 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30814 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30815 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30816
1086d70d
UD
30817 [BZ #12397]
30818 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30819 syscall.
30820
451f001b
UD
30821 [BZ #10484]
30822 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30823 temporary buffer used to handle multi lookups locally.
a85b5cb4 30824 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30825
08769175
UD
308262011-01-12 Ulrich Drepper <drepper@gmail.com>
30827
30828 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30829 loader is ld.so.
30830
5e49c52e
UD
308312011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30832
30833 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30834 alignment for SSE2.
30835
60522a5f
UD
308362011-01-12 Ulrich Drepper <drepper@gmail.com>
30837
30838 [BZ #12394]
30839 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30840 characters. When rounding increased number of integer digits recompute
30841 number of groups.
30842 * stdio-common/tst-grouping.c: New file.
30843 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30844
f257bbd7
UD
308452011-01-09 Ulrich Drepper <drepper@gmail.com>
30846
30847 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30848 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30849
30850 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30851 void.
30852 * bits/select.h: Likewise.
30853
fa9c15cb
UD
308542011-01-08 Ulrich Drepper <drepper@gmail.com>
30855
30856 * po/ja.po: Update from translation team.
30857
16c2895f
DM
308582011-01-04 David S. Miller <davem@sunset.davemloft.net>
30859
30860 [BZ #11155]
30861 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30862 implementation just like for lxstat, fxstatat, et al.
30863
2543fef2
JM
308642010-12-27 Jim Meyering <meyering@redhat.com>
30865
30866 [BZ #12348]
30867 * posix/regexec.c (build_trtable): Return failure indication upon
30868 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30869
98727dbe
UD
308702010-12-25 Ulrich Drepper <drepper@gmail.com>
30871
5bd6dc5c
UD
30872 [BZ #12201]
30873 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30874 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30875 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30877
97983464
UD
30878 [BZ #12207]
30879 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30880
98727dbe
UD
30881 [BZ #12204]
30882 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30883 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30884
4a531bb0
L
308852010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30886
30887 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30888 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30889 script has SORT_BY_INIT_PRIORITY.
30890 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30891 NO_CTORS_DTORS_SECTIONS is defined.
30892 * elf/soinit.c: Likewise.
30893 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30894 NO_CTORS_DTORS_SECTIONS is defined.
30895 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30896 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30897 * sysdeps/sh/init-first.c: Likewise.
30898 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30899
07eb4b71
UD
309002010-12-24 Ulrich Drepper <drepper@gmail.com>
30901
30902 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30903 always use the slow path.
30904
30950a5f
RA
309052010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30906
30907 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30908 similar rule which adds the sysdep directories to the header search in
30909 order to pick up the correct platform stackinfo.h.
30910 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30911 perform test if it is, otherwise return successfully without testing.
30912 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30913 DEFAULT_STACK_PERMS define in stackinfo.h.
30914 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30915 defined in stackinfo.h.
30916 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30917 DEFAULT_STACK_PERMS defined in stackinfo.h.
30918 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30919 * sysdeps/ia64/stackinfo.h: Likewise.
30920 * sysdeps/s390/stackinfo.h: Likewise.
30921 * sysdeps/sh/stackinfo.h: Likewise.
30922 * sysdeps/sparc/stackinfo.h: Likewise.
30923 * sysdeps/x86_64/stackinfo.h: Likewise.
30924 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30925 PF_X for powerpc64. Retain PF_X for powerpc32.
30926
db753e2c
UD
309272010-12-19 Ulrich Drepper <drepper@gmail.com>
30928
14b697f7
UD
30929 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30930 accurately.
db753e2c
UD
30931 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30932 GETDENTS_64BIT_ALIGNED.
30933
28300719
UD
309342010-12-14 Ulrich Drepper <dreper@gmail.com>
30935
14b697f7 30936 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30937
4f197237
AS
309382010-12-10 Andreas Schwab <schwab@redhat.com>
30939
dbb0472f
AS
30940 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30941 _GNU_SOURCE.
30942
4f197237
AS
30943 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30944 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30945 Remove __restrict.
30946 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30947 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30948
fb88ac72
UD
309492010-12-09 Ulrich Drepper <drepper@gmail.com>
30950
30951 [BZ #11655]
30952 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30953 are initialized.
30954
42acbb92
JJ
309552010-12-09 Jakub Jelinek <jakub@redhat.com>
30956
30957 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30958
c038d98d
UD
309592010-12-03 Ulrich Drepper <drepper@gmail.com>
30960
30961 * po/it.po: Update from translation team.
30962
3a4a2499
L
309632010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30964
30965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30966 unused codes.
30967
1e24cf6e
UD
309682010-11-30 Ulrich Drepper <drepper@gmail.com>
30969
30970 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30971
a7690819
AS
309722010-11-24 Andreas Schwab <schwab@redhat.com>
30973
30974 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30975 specially.
30976 (gaih_getanswer_slice): Likewise.
30977
3bf8d1b1
JJ
309782010-10-20 Jakub Jelinek <jakub@redhat.com>
30979
30980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30981
6db52fbb
PB
309822010-05-31 Petr Baudis <pasky@suse.cz>
30983
30984 [BZ #11149]
30985 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30986 silently even in the chroot mode.
30987
eaca7569
UD
309882010-11-22 Ulrich Drepper <drepper@gmail.com>
30989
30990 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30991 last patch a bit. Pretty printing
30992
3056dcdb
UD
309932010-05-31 Petr Baudis <pasky@suse.cz>
30994
30995 [BZ #10085]
30996 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30997 initialization of skip_initgroups_dyn.
30998
cf7c9078
UD
309992010-11-19 Ulrich Drepper <drepper@gmail.com>
31000
31001 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31002 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31003
a1fb5e3e
UD
310042010-11-16 Ulrich Drepper <drepper@gmail.com>
31005
31006 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31007
3540d66b
AS
310082010-11-11 Andreas Schwab <schwab@redhat.com>
31009
31010 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31011 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31012 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31013 ($(objpfx)tst-fnmatch-mem): New rule.
31014 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31015 * posix/tst-fnmatch.c (main): Call mtrace.
31016
13b69574
L
310172010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31018
31019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31020 Support Intel processor model 6 and model 0x2c.
31021
da93d214
LM
310222010-11-10 Luis Machado <luisgpm@br.ibm.com>
31023
31024 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31025 signed comparison.
31026
8ca52c6e
L
310272010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31028
31029 [BZ #12205]
31030 * string/test-strncasecmp.c (check_result): New function.
31031 (do_one_test): Use it.
31032 (check1): New function.
31033 (test_main): Use it.
31034 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31035 Support strcasecmp and strncasecmp.
31036
69da074d
UD
310372010-11-08 Ulrich Drepper <drepper@gmail.com>
31038
31039 [BZ #12194]
31040 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31042
ff02d528
L
310432010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31044
31045 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31046 IFUNC support.
31047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31048 memset-x86-64.
31049 * sysdeps/x86_64/multiarch/bzero.S: New file.
31050 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31051 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31052 * sysdeps/x86_64/multiarch/memset.S: New file.
31053 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31055 Set bit_Prefer_SSE_for_memop for Intel processors.
31056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31057 Define.
31058 (index_Prefer_SSE_for_memop): Define.
31059 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31060
344d0b54
LM
310612010-11-04 Luis Machado <luisgpm@br.ibm.com>
31062
31063 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31064 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31065
c0dde15b
UD
310662010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31067
31068 [BZ #12191]
31069 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31070 (__x86_64_raw_data_cache_size_half): Likewise.
31071 (__x86_64_raw_shared_cache_size): Likewise.
31072 (__x86_64_raw_shared_cache_size_half): Likewise.
31073
31074 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31075 (__x86_64_raw_data_cache_size_half): Likewise.
31076 (__x86_64_raw_shared_cache_size): Likewise.
31077 (__x86_64_raw_shared_cache_size_half): Likewise.
31078 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31079 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31080 and __x86_64_raw_shared_cache_size_half. Round
31081 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31082 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31083 to multiple of 256 bytes.
31084
0e516e0e
MS
310852010-11-03 Ulrich Drepper <drepper@gmail.com>
31086
31087 [BZ #12167]
31088 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31089 of inacessible symlinks. Verify result of symlink before returning it.
31090 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31091 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31092
0e012e87
ER
310932010-10-28 Erich Ritz <erichritz@gmail.com>
31094
31095 * math/math.h (isinf): Fix typo in comment.
31096
de0ff7bc
UD
310972010-11-01 Ulrich Drepper <drepper@gmail.com>
31098
31099 * po/da.po: Update from translation team.
31100
fa41c84d
UD
311012010-10-26 Ulrich Drepper <drepper@gmail.com>
31102
31103 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31104 is added to the list.
31105
f0967738
AK
311062010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31107 Ulrich Drepper <drepper@gmail.com>
31108
31109 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31110 the global list here. Move code to...
31111 (_dl_add_to_namespace_list): ...here. New function.
31112 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31113 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31114 * elf/dl-load.c (lose): Don't remove the element from the list.
31115 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31116 (_dl_map_object): Likewise.
31117
311182010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31119
31120 [BZ #12159]
31121 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31122 into all bytes of SSE register.
31123 Patch by Richard Li <richardpku@gmail.com>.
31124
f0967738 311252010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31126
31127 [BZ #12140]
31128 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31129 perturbing.
31130
d0b9e94f
MB
311312010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31132
31133 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31134 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31135 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31136 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31138 submachine.
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31140
8e9f92e9
AS
311412010-10-22 Andreas Schwab <schwab@redhat.com>
31142
31143 * include/dlfcn.h (__RTLD_SECURE): Define.
31144 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31145 mode & __RTLD_SECURE instead.
31146 (open_path): Rename preloaded parameter to secure.
31147 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31148 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31149 * elf/dl-deps.c (openaux): Likewise.
31150 * elf/rtld.c (struct map_args): Remove is_preloaded.
31151 (map_doit): Don't use it.
31152 (dl_main): Likewise.
31153 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31154 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31155
bc96fbda
AS
311562010-09-09 Andreas Schwab <schwab@redhat.com>
31157
31158 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31159 (sysd-rules-targets): Remove duplicates.
31160 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31161 rtld-%.$o dependency.
31162
22cd1c9b
AS
311632010-10-18 Andreas Schwab <schwab@redhat.com>
31164
31165 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31166 _dl_map_object do it.
31167
18edac48
UD
311682010-10-19 Ulrich Drepper <drepper@gmail.com>
31169
31170 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31171 fast fma builtins, define the macros in the C99 standard.
31172 (FP_FAST_FMAF): Likewise.
31173 (FP_FAST_FMAL): Likewise.
31174 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31175
31176 * bits/mathdef.h: Update copyright year.
31177 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31178
d2050124
MM
311792010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31180
31181 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31182 builtins, define the macros in the C99 standard.
31183 (FP_FAST_FMAF): Likewise.
31184 (FP_FAST_FMAL): Likewise.
31185 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31186 multiply/add.
31187 (FP_FAST_FMAF): Likewise.
31188
475facd1
JJ
311892010-10-15 Jakub Jelinek <jakub@redhat.com>
31190
31191 [BZ #3268]
31192 * math/libm-test.inc (fma_test): Some new testcases.
31193 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31194 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31195 y and infinite z. Do multiplication by C already in long double.
31196 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31198 y and infinite z. Do bitwise or of inexact bit into u.d.
31199 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31200 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31201 * sysdeps/i386/fpu/s_fma.S: Removed.
31202 * sysdeps/i386/fpu/s_fmal.S: Removed.
31203
7c08a05c
JJ
312042010-10-16 Jakub Jelinek <jakub@redhat.com>
31205
31206 [BZ #3268]
31207 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31209 computation is not scheduled after fetestexcept. Fix value
31210 of minimum denormal long double.
31211
f3f7372d
JJ
312122010-10-14 Jakub Jelinek <jakub@redhat.com>
31213
31214 [BZ #3268]
31215 * math/libm-test.inc (fma_test): Add some more tests.
31216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31217 correctly.
31218
14d43591
AS
312192010-10-15 Andreas Schwab <schwab@redhat.com>
31220
31221 * scripts/data/localplt-s390-linux-gnu.data: New file.
31222 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31223
5e908464
JJ
312242010-10-13 Jakub Jelinek <jakub@redhat.com>
31225
31226 [BZ #3268]
31227 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31228 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31229 instead of dbl-64.
31230 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31231 inlines.
31232 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31234 if one of x and y is very large and the other is subnormal.
31235 * sysdeps/s390/fpu/s_fmaf.c: New file.
31236 * sysdeps/s390/fpu/s_fma.c: New file.
31237 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31238 * sysdeps/powerpc/fpu/s_fma.S: New file.
31239 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31240 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31241 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31242
312432010-10-12 Jakub Jelinek <jakub@redhat.com>
31244
31245 [BZ #3268]
31246 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31247 fma tests.
31248 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31249 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31250 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31251 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31252 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31253 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31254 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31255
b833d51f
UD
312562010-10-12 Ulrich Drepper <drepper@redhat.com>
31257
31258 [BZ #12078]
31259 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31260 * posix/bug-regex31.input: Add test case.
31261
1751705d
UD
312622010-10-11 Ulrich Drepper <drepper@gmail.com>
31263
e9b9cbf5
UD
31264 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31265 * posix/bug-regex31.input: New file.
31266
31267 [BZ #12078]
31268 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31269 (parse_sub_exp): Fix last change, use postorder.
31270
ef06edbe
UD
31271 * posix/bug-regex31.c: New file.
31272 * posix/Makefile: Add rules to build and run bug-regex31.
31273
a129c80d
UD
31274 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31275
31276 [BZ #12078]
31277 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31278
b76b818e
UD
31279 [BZ #12108]
31280 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31281 to have entries in sys_siglist.
31282
1751705d
UD
31283 [BZ #12093]
31284 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31285 be NULL.
31286
9ff8d36f
JJ
312872010-10-07 Jakub Jelinek <jakub@redhat.com>
31288
31289 [BZ #3268]
31290 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31291 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31292 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31293 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31294 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31295 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31296 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31297 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31298 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31299 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31300 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31301 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31302 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31303 * math/ftestexcept.c (fetestexcept): Likewise.
31304 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31305 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31306 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31307 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31308 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31309 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31310 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31311
af325969
UD
313122010-10-11 Ulrich Drepper <drepper@gmail.com>
31313
c579b202 31314 [BZ #12107]
af325969
UD
31315 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31316 newline.
31317
67a67b95
UD
313182010-10-06 Ulrich Drepper <drepper@gmail.com>
31319
31320 * string/bug-strstr1.c: New file.
31321 * string/Makefile: Add rules to build and run bug-strstr1.
31322
5fb308bc
EB
313232010-10-05 Eric Blake <eblake@redhat.com>
31324
31325 [BZ #12092]
31326 * string/str-two-way.h (two_way_long_needle): Always clear memory
31327 when skipping input due to the shift table.
31328
45db99c7
UD
313292010-10-03 Ulrich Drepper <drepper@gmail.com>
31330
3b111893
UD
31331 [BZ #12005]
31332 * malloc/mcheck.c: Handle large requests.
31333
45db99c7
UD
31334 [BZ #12077]
31335 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31336 for strncmp and strncasecmp.
31337 * string/stratcliff.c: Add tests for strcmp and strncmp.
31338 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31339
cf7a1eb8
NI
313402010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31341
31342 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31343 __set_fpscr.
31344
6484ba5e
AJ
313452010-09-30 Andreas Jaeger <aj@suse.de>
31346
31347 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31348 (CGROUP_SUPER_MAGIC): Define.
31349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31350 Handle btrfs and cgroup file systems.
31351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31352 Likewise.
31353
91c42559
LM
313542010-09-27 Luis Machado <luisgpm@br.ibm.com>
31355
31356 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31357 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31358
87a97932
AK
313592010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31360
31361 [BZ #12067]
31362 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31363 trying to locate the ELF header.
31364
c21cc9bc
AS
313652010-09-27 Andreas Schwab <schwab@redhat.com>
31366
31367 [BZ #11611]
31368 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31369 Mask out sign-bit copies when constructing f_fsid.
31370
315970f6
PB
313712010-09-24 Petr Baudis <pasky@suse.cz>
31372
31373 * debug/stack_chk_fail_local.c: Add missing licence exception.
31374 * debug/warning-nop.c: Likewise.
31375
1ac7a2c7
JM
313762010-09-15 Joseph Myers <joseph@codesourcery.com>
31377
31378 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31379 implementing getdents64 using getdents syscall, set d_type if
31380 __ASSUME_GETDENTS32_D_TYPE.
31381
56801c50
AS
313822010-09-16 Andreas Schwab <schwab@redhat.com>
31383
31384 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31385 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31386
dda51327
UD
313872010-09-21 Ulrich Drepper <drepper@redhat.com>
31388
31389 [BZ #12037]
31390 * posix/unistd.h: Undo change of feature selection for ftruncate from
31391 2010-01-11.
31392
8ffcee4a
UD
313932010-09-20 Ulrich Drepper <drepper@redhat.com>
31394
a545ecd9 31395 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31396 detection.
31397
e24f0a8b
AS
313982010-09-20 Andreas Schwab <schwab@redhat.com>
31399
31400 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31401 fanotify_mark.
31402 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31403
7291c56f
AS
314042010-09-14 Andreas Schwab <schwab@redhat.com>
31405
31406 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31407 variables after CHECK_SP call.
31408 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31409
bc5fb037
AS
314102010-09-13 Andreas Schwab <schwab@redhat.com>
31411 Ulrich Drepper <drepper@redhat.com>
31412
31413 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31414 re-relocationg ld.so.
31415 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31416 _dl_init_paths call.
31417 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31418 here anymore.
31419
e66e7419
UD
314202010-09-14 Ulrich Drepper <drepper@redhat.com>
31421
31422 * resolv/res_init.c (__res_vinit): Count the default server we added.
31423
c044aa75
CLT
314242010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31425 Ulrich Drepper <drepper@redhat.com>
31426
31427 [BZ #11968]
31428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31429 (____longjmp_chk): Use %ebx for saving value across system call.
31430 Add unwind info.
31431
32cf4069
AS
314322010-09-06 Andreas Schwab <schwab@redhat.com>
31433
31434 * manual/Makefile: Don't mix pattern rules with normal rules.
31435
817328ee
AS
314362010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31437
31438 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31439 operation.
31440 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31441 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31442 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31443 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31445 Likewise.
31446
29fddf61
UD
314472010-09-04 Ulrich Drepper <drepper@redhat.com>
31448
31449 [BZ #11979]
31450 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31451 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31452
0959ffc9
UD
314532010-09-02 Ulrich Drepper <drepper@redhat.com>
31454
31455 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31456 * sysdeps/x86_64/addmul_1.S: Likewise.
31457 * sysdeps/x86_64/lshift.S: Likewise.
31458 * sysdeps/x86_64/mul_1.S: Likewise.
31459 * sysdeps/x86_64/rshift.S: Likewise.
31460 * sysdeps/x86_64/sub_n.S: Likewise.
31461 * sysdeps/x86_64/submul_1.S: Likewise.
31462
ece29840
ST
314632010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31464
0959ffc9
UD
31465 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31466 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31467 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31468 * bits/sched.h [__need_schedparam]
ece29840 31469 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31470 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31471 (__defined_schedparam): Define to 1.
ece29840
ST
31472 (__sched_param): New structure, identical to sched_param.
31473 (__need_schedparam): Undefine.
31474
e53a31fe
MF
314752010-08-31 Mike Frysinger <vapier@gentoo.org>
31476
fdc0c10d
MF
31477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31478 (epoll_create1): Declare.
31479
e53a31fe
MF
31480 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31481
a726d796
AS
314822010-08-31 Andreas Schwab <schwab@redhat.com>
31483
31484 [BZ #7066]
31485 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31486 shifting retval into place.
31487
2f3e3dc7
UD
314882010-09-01 Ulrich Drepper <drepper@redhat.com>
31489
f2933da9
UD
31490 * nis/rpcsvc/nis.h: Update copyright notice.
31491 * nis/rpcsvc/nis.x: Likewise.
31492 * nis/rpcsvc/nis_callback.h: Likewise.
31493 * nis/rpcsvc/nis_callback.x: Likewise.
31494 * nis/rpcsvc/nis_object.x: Likewise.
31495 * nis/rpcsvc/nis_tags.h: Likewise.
31496 * nis/rpcsvc/yp.h: Likewise.
31497 * nis/rpcsvc/yp.x: Likewise.
31498 * nis/rpcsvc/ypupd.h: Likewise.
31499 * nis/yp_xdr.c: Likewise.
31500 * nis/ypupdate_xdr.c: Likewise.
31501
2f3e3dc7
UD
31502 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31503 mainly the body of pmap_getport. Add parameters to specify timeouts.
31504 (pmap_getport): Use __libc_rpc_getport.
31505 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31506 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31507 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31508
f3dcc2f9
AS
315092010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31510
31511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31512 fanotify_mark.
31513
6d34eb5b
RM
315142010-08-27 Roland McGrath <roland@redhat.com>
31515
31516 * sysdeps/i386/i686/multiarch/Makefile
31517 (CFLAGS-varshift.c): New variable.
31518
9ea3de11
UD
315192010-08-27 Ulrich Drepper <drepper@redhat.com>
31520
c96d23fc
UD
31521 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31522 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31523
9ea3de11
UD
31524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31525
31526 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31527
623aac7f
L
315282010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31529
31530 * sysdeps/x86_64/strlen.S: Unroll the loop.
31531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31532 strlen-sse2 strlen-sse2-bsf.
31533 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31534 __strlen_no_bsf if bit_Slow_BSF is set.
31535 (__strlen_sse42): Removed.
31536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31537 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31538
8b2b7715
RM
315392010-08-25 Roland McGrath <roland@redhat.com>
31540
31541 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31542 * sysdeps/x86_64/multiarch/varshift.c: New file.
31543 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31544 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31545 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31546 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31547
e73015f2
L
315482010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31549
31550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31551 strlen-sse2 strlen-sse2-bsf.
31552 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31553 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31554 (__strlen_sse2): Removed.
31555 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31556 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31558 bit_Slow_BSF for Atom.
31559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31560 (index_Slow_BSF): Define.
31561 (HAS_SLOW_BSF): Define.
31562
df24a73e
UD
315632010-08-25 Ulrich Drepper <drepper@redhat.com>
31564
31565 [BZ #10851]
31566 * resolv/res_init.c (__res_vinit): When no server address at all
31567 is given default to loopback.
31568
f2ac4868
RM
315692010-08-24 Roland McGrath <roland@redhat.com>
31570
09055553
RM
31571 * configure.in: Remove config-name.h generation.
31572 * configure: Regenerated.
31573 * config-name.in: File removed.
31574 * scripts/config-uname.sh: New file.
31575 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31576 ($(objdir)config-name.h): New target.
31577
f2ac4868
RM
31578 * sunrpc/rpc_parse.h: Avoid nested comment.
31579
73f27d5e
RH
315802010-08-24 Richard Henderson <rth@redhat.com>
31581 Ulrich Drepper <drepper@redhat.com>
31582 H.J. Lu <hongjiu.lu@intel.com>
31583
31584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31586 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31587 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31588 _mm_alignr_epi8 with _mm_loadu_si128.
31589 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31590 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31591 (__m128i_shift_right): Removed.
31592 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31593 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31594 * sysdeps/x86_64/multiarch/varshift.h: New file.
31595 * sysdeps/x86_64/multiarch/varshift.S: New file.
31596
84b9230c
MF
315972010-08-21 Mike Frysinger <vapier@gentoo.org>
31598
31599 * configure.in: Move assembler checks to before sysdep dir checking.
31600
9bbd0ddc
PB
316012010-08-20 Petr Baudis <pasky@suse.cz>
31602
31603 * LICENSES: Sync the sunrpc license.
31604
9da4bb31
UD
316052010-08-19 Ulrich Drepper <drepper@redhat.com>
31606
a7ab6ec8
UD
31607 * sunrpc/auth_des.c: Update copyright notice once again.
31608 * sunrpc/auth_none.c: Likewise.
31609 * sunrpc/auth_unix.c: Likewise.
31610 * sunrpc/authdes_prot.c: Likewise.
31611 * sunrpc/authuxprot.c: Likewise.
31612 * sunrpc/bindrsvprt.c: Likewise.
31613 * sunrpc/clnt_gen.c: Likewise.
31614 * sunrpc/clnt_perr.c: Likewise.
31615 * sunrpc/clnt_raw.c: Likewise.
31616 * sunrpc/clnt_simp.c: Likewise.
31617 * sunrpc/clnt_tcp.c: Likewise.
31618 * sunrpc/clnt_udp.c: Likewise.
31619 * sunrpc/clnt_unix.c: Likewise.
31620 * sunrpc/des_crypt.c: Likewise.
31621 * sunrpc/des_soft.c: Likewise.
31622 * sunrpc/get_myaddr.c: Likewise.
31623 * sunrpc/getrpcport.c: Likewise.
31624 * sunrpc/key_call.c: Likewise.
31625 * sunrpc/key_prot.c: Likewise.
31626 * sunrpc/openchild.c: Likewise.
31627 * sunrpc/pm_getmaps.c: Likewise.
31628 * sunrpc/pm_getport.c: Likewise.
31629 * sunrpc/pmap_clnt.c: Likewise.
31630 * sunrpc/pmap_prot.c: Likewise.
31631 * sunrpc/pmap_prot2.c: Likewise.
31632 * sunrpc/pmap_rmt.c: Likewise.
31633 * sunrpc/rpc/auth.h: Likewise.
31634 * sunrpc/rpc/auth_unix.h: Likewise.
31635 * sunrpc/rpc/clnt.h: Likewise.
31636 * sunrpc/rpc/des_crypt.h: Likewise.
31637 * sunrpc/rpc/key_prot.h: Likewise.
31638 * sunrpc/rpc/netdb.h: Likewise.
31639 * sunrpc/rpc/pmap_clnt.h: Likewise.
31640 * sunrpc/rpc/pmap_prot.h: Likewise.
31641 * sunrpc/rpc/pmap_rmt.h: Likewise.
31642 * sunrpc/rpc/rpc.h: Likewise.
31643 * sunrpc/rpc/rpc_des.h: Likewise.
31644 * sunrpc/rpc/rpc_msg.h: Likewise.
31645 * sunrpc/rpc/svc.h: Likewise.
31646 * sunrpc/rpc/svc_auth.h: Likewise.
31647 * sunrpc/rpc/types.h: Likewise.
31648 * sunrpc/rpc/xdr.h: Likewise.
31649 * sunrpc/rpc_clntout.c: Likewise.
31650 * sunrpc/rpc_cmsg.c: Likewise.
31651 * sunrpc/rpc_common.c: Likewise.
31652 * sunrpc/rpc_cout.c: Likewise.
31653 * sunrpc/rpc_dtable.c: Likewise.
31654 * sunrpc/rpc_hout.c: Likewise.
31655 * sunrpc/rpc_main.c: Likewise.
31656 * sunrpc/rpc_parse.c: Likewise.
31657 * sunrpc/rpc_parse.h: Likewise.
31658 * sunrpc/rpc_prot.c: Likewise.
31659 * sunrpc/rpc_sample.c: Likewise.
31660 * sunrpc/rpc_scan.c: Likewise.
31661 * sunrpc/rpc_scan.h: Likewise.
31662 * sunrpc/rpc_svcout.c: Likewise.
31663 * sunrpc/rpc_tblout.c: Likewise.
31664 * sunrpc/rpc_util.c: Likewise.
31665 * sunrpc/rpc_util.h: Likewise.
31666 * sunrpc/rpcinfo.c: Likewise.
31667 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31668 * sunrpc/rpcsvc/key_prot.x: Likewise.
31669 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31670 * sunrpc/rpcsvc/mount.x: Likewise.
31671 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31672 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31673 * sunrpc/rpcsvc/rex.x: Likewise.
31674 * sunrpc/rpcsvc/rstat.x: Likewise.
31675 * sunrpc/rpcsvc/rusers.x: Likewise.
31676 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31677 * sunrpc/rpcsvc/spray.x: Likewise.
31678 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31679 * sunrpc/rtime.c: Likewise.
31680 * sunrpc/svc.c: Likewise.
31681 * sunrpc/svc_auth.c: Likewise.
31682 * sunrpc/svc_authux.c: Likewise.
31683 * sunrpc/svc_raw.c: Likewise.
31684 * sunrpc/svc_run.c: Likewise.
31685 * sunrpc/svc_simple.c: Likewise.
31686 * sunrpc/svc_tcp.c: Likewise.
31687 * sunrpc/svc_udp.c: Likewise.
31688 * sunrpc/svc_unix.c: Likewise.
31689 * sunrpc/svcauth_des.c: Likewise.
31690 * sunrpc/xcrypt.c: Likewise.
31691 * sunrpc/xdr.c: Likewise.
31692 * sunrpc/xdr_array.c: Likewise.
31693 * sunrpc/xdr_float.c: Likewise.
31694 * sunrpc/xdr_mem.c: Likewise.
31695 * sunrpc/xdr_rec.c: Likewise.
31696 * sunrpc/xdr_ref.c: Likewise.
31697 * sunrpc/xdr_sizeof.c: Likewise.
31698 * sunrpc/xdr_stdio.c: Likewise.
31699
9da4bb31
UD
31700 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31701 handling.
31702
bdaa77bc
AS
317032010-08-19 Andreas Schwab <schwab@redhat.com>
31704
31705 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31706
fe2f79db
LM
317072010-08-19 Luis Machado <luisgpm@br.ibm.com>
31708
31709 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31710 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31711 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31712 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31713 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31714 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31715 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31716 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31717 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31718 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31719 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31720 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31721 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31722 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31723
b9b42ee0
AB
317242010-07-26 Anton Blanchard <anton@samba.org>
31725
31726 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31727 * malloc/arena.c (heap_trim): Likewise.
31728
1c06ba31
UD
317292010-08-16 Ulrich Drepper <drepper@redhat.com>
31730
31731 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31732 here. Not...
31733 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31734 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31735
f8392f40
L
317362010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31737
31738 * sysdeps/i386/elf/Makefile: New file.
31739
3162f12e
AS
317402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31741
31742 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31743 from fanotify_init.
31744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31746
28c90b2c
UD
317472010-08-15 Ulrich Drepper <drepper@redhat.com>
31748
31749 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31750 of strncasecmp_l.
1feccb6c 31751 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31752
ca6bb004
UD
317532010-08-14 Ulrich Drepper <drepper@redhat.com>
31754
e9f82e0d
UD
31755 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31756 strncase_l-nonascii.
31757 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31758 Add strncase_l-ssse3.
31759 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31760 * sysdeps/x86_64/strcmp.S: Likewise.
31761 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31762 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31763 * sysdeps/x86_64/strncase.S: New file.
31764 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31765 * sysdeps/x86_64/strncase_l.S: New file.
31766 * string/Makefile (strop-tests): Add strncasecmp.
31767 * string/test-strncasecmp.c: New file.
31768
31769 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31770 warning.
31771
ca6bb004
UD
31772 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31773 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31774
052fa7b3
AS
317752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31776
31777 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31778
962dba78
UD
317792010-08-12 Ulrich Drepper <drepper@redhat.com>
31780
31781 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31782 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31783 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31784
bebff237
AM
317852010-05-01 Alan Modra <amodra@gmail.com>
31786
31787 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31788 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31789 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31790 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31791 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31792 tidying. Don't tail-call __sigjmp_save for static lib.
31793 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31794 save location.
31795 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31796 (CALL_MCOUNT): Add eh info, and nop after bl.
31797 (TAIL_CALL_SYSCALL_ERROR): New macro.
31798 (PSEUDO_RET): Use it.
31799 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31800 Correct save location of integer regs and cr.
31801 (_dl_profile_resolve): Correct cr save location. Delete nops
31802 after bl when SHARED. Reduce cfi size a little by better
31803 placement of cfi directives.
31804 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31805 make a stack frame. Instead use parm save area as a temp.
31806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31807 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31809 Don't make a stack frame for parent, use parm save area.
31810 Increase child stack frame to 112 bytes. Don't save unused reg,
31811 and adjust reg usage. Set up cfi on error recovery and
31812 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31814 (__makecontext): Add dummy nop after jump to exit.
31815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31816 Use correct parm save area and cr save, reduce stack frame.
31817 Correct cfi for possible PSEUDO_RET frame setup.
31818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31819 Branch to local label emitted by PSEUDO_RET rather than
31820 __syscall_error.
31821
02637374
AS
318222010-08-12 Andreas Schwab <schwab@redhat.com>
31823
31824 [BZ #11904]
31825 * locale/programs/locale.c (print_assignment): New function.
31826 (show_locale_vars): Use it.
31827
c3e2f19b
UD
318282010-08-11 Ulrich Drepper <drepper@redhat.com>
31829
3cdaa6ad
UD
31830 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31831 field.
31832 (struct statfs64): Likewise.
31833 (_STATFS_F_FLAGS): Define.
31834 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31835 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31836 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31837 (ST_VALID): Define locally.
31838 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31839 __statvfs_getflags, use the provided value.
31840 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31841 __ASSUME_STATFS_F_FLAGS.
31842
754f7da3
UD
31843 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31844
10b3bedc
UD
31845 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31846 Add sys/fanotify.h.
31847 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31848 fanotify_mask for GLIBC_2.13.
31849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31850 fanotify_init and fanotify_mark.
31851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31852 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31853
c08fb0d7
UD
31854 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31855 Add prlimit.
31856 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31857 prlimit64 for GLIBC_2.13.
31858 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31859 prlimit64.
31860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31861 syscall.
31862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31863 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31864 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31865 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31867 add prlimit alias.
31868 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31869
15bac72b
UD
31870 [BZ #11903]
31871 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31872 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31873
c3e2f19b
UD
31874 * nss/Makefile: Add rules to build and run tst-nss-test1.
31875 * shlib-versions: Add entry for libnss_test1.
31876 * nss/nss_test1.c: New file.
31877 * nss/tst-nss-test1.c: New file.
31878
31879 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31880 (__nss_configure_lookup): Set appropriate entry in
31881 __nss_configure_lookup to true.
31882 * nss/nsswitch.h: Define enum with indeces of databases in
31883 databases and __nss_database_custom arrays. Declare
31884 __nss_database_custom.
31885 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31886 to avoid using nscd when custom rules are installed.
31887 * nss/getXXbyYY_r.c: Likewise.
31888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31889
31890 * nss/nss_files/files-parse.c: Whitespace fixes.
31891
f15ce4d8
UD
318922010-08-09 Ulrich Drepper <drepper@redhat.com>
31893
31894 [BZ #11883]
31895 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31896 * posix/fnmatch_loop.c: Likewise.
31897
d22e4cc9
AK
318982010-07-17 Andi Kleen <ak@linux.intel.com>
31899
31900 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31901 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31902 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31903 * Versions.def [GLIBC_2.13]: Add.
31904
805bc17d
UD
319052010-08-06 Ulrich Drepper <drepper@redhat.com>
31906
31907 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31908 Also fail if tpwd after pwuid call is NULL.
31909
5a42321d
ST
319102010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31911
31912 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31913 when converting to ms.
31914
fd3ebeda
ST
319152010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31916
31917 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31918 EOPNOTSUPP errors with ENOTTY.
31919 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31920 EOPNOTSUPP errors with ENOTTY.
31921
73507d3a
UD
319222010-07-31 Ulrich Drepper <drepper@redhat.com>
31923
31924 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31925 Add strcasecmp_l-ssse3.
31926 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31927 strcasecmp.
31928 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31929 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31930 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31931
fe36dd02
UD
319322010-07-30 Ulrich Drepper <drepper@redhat.com>
31933
66f6765a
UD
31934 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31935
42e08a54
UD
31936 * string/Makefile (strop-tests): Add strcasecmp.
31937 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31938 strcasecmp_l-nonascii.
31939 (gen-as-const-headers): Add locale-defines.sym.
31940 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31941 * sysdeps/x86_64/strcasecmp.S: New file.
31942 * sysdeps/x86_64/strcasecmp_l.S: New file.
31943 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31944 * sysdeps/x86_64/locale-defines.sym: New file.
31945 * string/test-strcasecmp.c: New file.
31946
fe36dd02
UD
31947 * string/test-strcasestr.c: Test both ends of the range of characters.
31948 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31949
48cbc0d6
RM
319502010-07-29 Roland McGrath <roland@redhat.com>
31951
76e6d6bc 31952 [BZ #11856]
48cbc0d6
RM
31953 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31954
880113d9
UD
319552010-07-27 Ulrich Drepper <drepper@redhat.com>
31956
31957 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31958 for ld.so.
31959
deb9cabb
AS
319602010-07-27 Andreas Schwab <schwab@redhat.com>
31961
31962 * manual/memory.texi (Malloc Tunable Parameters): Document
31963 M_PERTURB.
31964
1c7570ff
RM
319652010-07-26 Roland McGrath <roland@redhat.com>
31966
31967 [BZ #11840]
31968 * configure.in (-fgnu89-inline check): Set and substitute
31969 gnu89_inline, not libc_cv_gnu89_inline.
31970 * configure: Regenerated.
31971 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31972
24fb0f88
UD
319732010-07-26 Ulrich Drepper <drepper@redhat.com>
31974
31975 * string/test-strnlen.c: New file.
31976 * string/Makefile (strop-tests): Add strnlen.
31977 * string/tester.c (test_strnlen): Add a few more test cases.
31978 * string/tst-strlen.c: Better error reporting.
31979
31980 * sysdeps/x86_64/strnlen.S: New file.
31981
8e96b93a
UD
319822010-07-24 Ulrich Drepper <drepper@redhat.com>
31983
31984 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31985 lower-latency instructions.
31986
dbc676d4
UD
319872010-07-23 Ulrich Drepper <drepper@redhat.com>
31988
31989 * string/test-strcasestr.c: New file.
31990 * string/test-strstr.c: New file.
31991 * string/Makefile (strop-tests): Add strstr and strcasestr.
31992 * string/str-two-way.h: Don't undefine MAX.
31993 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31994
f6a31e0e
AS
319952010-07-21 Andreas Schwab <schwab@redhat.com>
31996
31997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31998 strcasestr-nonascii.
31999 (CFLAGS-strcasestr-nonascii.c): Define.
32000 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32001 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32002 Remove unused attribute.
32003
5dbc3b6c
RM
320042010-07-20 Roland McGrath <roland@redhat.com>
32005
32006 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32007 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32008 ld.so.cache was broken. With it, there is no way to disable dsocaps
32009 like LD_HWCAP_MASK can disable hwcaps.
32010
23d101d8
EPM
320112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32012
32013 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32014
cc9f2e47
UD
320152010-07-16 Ulrich Drepper <drepper@redhat.com>
32016
32017 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32018 call in strcasestr.
32019 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32020 __strcasestr_sse42_nonascii.
32021 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32022 strcasestr-nonascii.c.
32023 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32024
77c1b069
LM
320252010-06-15 Luis Machado <luisgpm@br.ibm.com>
32026
32027 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32028 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32029 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32030 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32031
440566c3
UD
320322010-07-09 Ulrich Drepper <drepper@redhat.com>
32033
32034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32035 fcntl.
32036
5be9d05d
AS
320372010-07-06 Andreas Schwab <schwab@redhat.com>
32038
c30b7ee2 32039 [BZ #11577]
5be9d05d
AS
32040 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32041 dl_signal_cerror.
32042
8a492a67
UD
320432010-07-06 Ulrich Drepper <drepper@redhat.com>
32044
32045 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32046 _PC_PIPE_BUF using F_GETPIPE_SZ.
32047
713df3d5
RM
320482010-07-05 Roland McGrath <roland@redhat.com>
32049
32050 * manual/arith.texi (Rounding Functions): Fix rint description
32051 implicit in round description.
32052
702e8f14
UD
320532010-07-02 Ulrich Drepper <drepper@redhat.com>
32054
32055 * elf/Makefile: Fix linking for a few tests to make recent linker
32056 happy.
32057
52ed8be9
AS
320582010-06-30 Andreas Schwab <schwab@redhat.com>
32059
32060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32061 $(common-objpfx)libc_nonshared.a.
32062
f47c9a11
LM
320632010-06-21 Luis Machado <luisgpm@br.ibm.com>
32064
32065 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32066 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32067 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32068 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32069 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32070 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32071 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32072 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32087 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32088 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32089 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32090 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32091 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32092 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32093 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32094 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32095 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32096 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32097 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32098 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32113
6fb8cbcb
L
321142010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32115
32116 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32117 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32118 * string/memmove.c (memmove): Renamed to ...
32119 (MEMMOVE): ...this. Default to memmove.
32120 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32121 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32122 (END_CHK): Define.
32123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32124 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32125 mempcpy-ssse3-back memmove-ssse3-back.
32126 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32129 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32130 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32131 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32132 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32133 * sysdeps/x86_64/multiarch/memmove.c: New file.
32134 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32135 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32136 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32137 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32138 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32140 Define.
32141 (index_Fast_Copy_Backward): Define.
32142 (HAS_ARCH_FEATURE): Define.
32143 (HAS_FAST_REP_STRING): Define.
32144 (HAS_FAST_COPY_BACKWARD): Define.
32145
4e733bac 321462010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32147
32148 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32149 Restore proper fallback handling.
32150
63c4ed22
UD
321512010-06-19 Ulrich Drepper <drepper@redhat.com>
32152
ac2b484c
UD
32153 [BZ #11701]
32154 * posix/group_member.c (__group_member): Correct checking loop.
32155
63c4ed22
UD
32156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32157 OOM in getpwuid_r correctly. Return error number when the caller
32158 should return, otherwise -1.
32159 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32160 call returning > 0 value.
32161 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32162
765ade4b
AS
321632010-06-07 Andreas Schwab <schwab@redhat.com>
32164
32165 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32166 libc_nonshared.a from targets in modules-names.
32167
80da2e09
KS
321682010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32169
32170 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32171 requires it.
32172
158db122
LM
321732010-06-10 Luis Machado <luisgpm@br.ibm.com>
32174
32175 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32176 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32178 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32179
caa78cf8
AS
321802010-06-02 Andreas Schwab <schwab@redhat.com>
32181
32182 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32183
b2ef2c01
UD
321842010-06-14 Ulrich Drepper <drepper@redhat.com>
32185
32186 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32187 and F_GETPIPE_SZ.
32188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32193 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32194
fbd643b6
RM
321952010-06-14 Roland McGrath <roland@redhat.com>
32196
32197 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32198
f32f2869
JJ
321992010-06-07 Jakub Jelinek <jakub@redhat.com>
32200
32201 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32202 __REDIRECT followed by __THROW.
32203 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32204 * posix/getopt.h (getopt): Likewise.
32205
2a50c078
EPM
322062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32207
32208 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32209 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32210 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32211 in AT_FLAGS.
32212 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32213 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32214
eb5ad2eb
LM
322152010-05-28 Luis Machado <luisgpm@br.ibm.com>
32216
32217 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32218
3c88fe1e
L
322192010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32220
32221 [BZ #11640]
32222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32223 Properly check family and model.
32224
d2f73151
TY
322252010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32226
32227 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32228
ebd2e13d
LM
322292010-05-24 Luis Machado <luisgpm@br.ibm.com>
32230
32231 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32232
b32b8b45
UD
322332010-05-21 Ulrich Drepper <drepper@redhat.com>
32234
32235 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32236 symbol reference.
32237
9acbe24d
AS
322382010-05-19 Andreas Schwab <schwab@redhat.com>
32239
32240 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32241 symbol reference.
32242
f0ccf6ea
AS
322432010-05-21 Andreas Schwab <schwab@redhat.com>
32244
3d04ff3a
AS
32245 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32246 and internal_recvmmsg.
32247 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32248 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32249 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32250 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32251
f0ccf6ea
AS
32252 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32253 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32254 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32255
5b08ac57
AS
322562010-05-20 Andreas Schwab <schwab@redhat.com>
32257
32258 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32259
4828935d
LM
322602010-05-17 Luis Machado <luisgpm@br.ibm.com>
32261
32262 POWER7 optimizations.
32263 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32264 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32265
373d545e
UD
322662010-05-19 Ulrich Drepper <drepper@redhat.com>
32267
32268 * version.h: Update for 2.13 development version.
32269
21a2b1ae
AS
322702010-05-12 Andrew Stubbs <ams@codesourcery.com>
32271
32272 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32273 exceptions. Return 0.
32274
3f7dcb2b
RM
322752010-05-07 Roland McGrath <roland@redhat.com>
32276
32277 * elf/ldconfig.c (main): Add a const.
32278
5f24d53a 322792010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32280
a160f8d8
UD
32281 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32282 (args_options): Add no-idn option.
32283 (ahosts_keys_int): Add idn_flags to ai_flags.
32284 (parse_option): Handle 'i' option to clear idn_flags.
32285
5f24d53a
UD
32286 * malloc/malloc.c (_int_free): Possible race in the most recently
32287 added check. Only act on the data if no current modification
32288 happened.
265bb1ce
UD
32289
32290See ChangeLog.17 for earlier changes.
This page took 4.070849 seconds and 5 git commands to generate.